/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */

.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}

@media screen and (min-width: 751px){

.ui-tabs-nav{
	display: flex;
	justify-content: flex-start;
	border-left: solid 2px #278254;
	margin-bottom: 40px;
}
section.contact .ui-tabs-nav{
	display: flex;
	justify-content: flex-start;
	border-top: solid 2px #278254;
	border-left: solid 2px #278254;

	width: 58.2%;
	max-height: 640px;
	margin: 0 auto 40px;
	box-sizing: border-box;
}

.ui-tabs-nav li {
	width: 20%;
	max-width: 120px;
	border-top: solid 2px #278254;
	border-bottom: solid 2px #278254;
	border-right: solid 2px #278254;
	box-sizing: border-box;
}
section.contact .ui-tabs-nav li {
	width: 50%;
	max-width: 320px;
	border-top: none;
	border-bottom: solid 2px #278254;
	border-right: solid 2px #278254;
	box-sizing: border-box;
}
.ui-tabs-nav li a {
	color: #278254;
	line-height: 1.3;
	display: block;
	display: flex;
	font-weight: bold;
	justify-content: center;
	align-items: center;
	text-align: center;
	height: 100%;
	padding: 10px 0;
	box-sizing: border-box;

}
section.contact .ui-tabs-nav li a {
	font-size: 18px;
	padding: 25px 0;
	background-color: #FFFFFF;
}
	
.ui-tabs-nav .ui-tabs-selected a,.ui-tabs-nav a:hover {
    position: relative;
	background-color: #F0FDE5;

}
section.contact .ui-tabs-nav .ui-tabs-selected a,section.contact .ui-tabs-nav a:hover {
    position: relative;
	background-color: #F0FDE5;

}
.ui-tabs-nav .ui-tabs-selected a::after {
	content: "";
	display: block;
	position: absolute;
	bottom: -12px;
	left: 50%;
	margin-left: -9px;
	border-top: 12px solid #278254;
    border-right: 9px solid transparent;
    border-left: 9px solid transparent;

}
.ui-tabs-nav .ui-tabs-selected a::before {
	content: "";
	display: block;
	position: absolute;
	bottom: -9px;
	left: 50%;
	margin-left: -6px;
	border-top: 9px solid #F0FDE5;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
	z-index: 10;

}	
}
@media screen and (max-width: 750px){

.ui-tabs-nav{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	border-left: solid 2px #278254;
	margin-bottom: 40px;
}
section.contact .ui-tabs-nav{
	display: flex;
	justify-content: flex-start;
	border-top: solid 2px #278254;
	border-left: solid 2px #278254;
	margin-bottom: 20px;
	box-sizing: border-box;
}

.ui-tabs-nav li {
	width: 33.3%;
	border-top: solid 2px #278254;
	border-bottom: solid 2px #278254;
	border-right: solid 2px #278254;
	box-sizing: border-box;
}
section.contact .ui-tabs-nav li {
	width: 50%;
	border-top: none;
	border-bottom: solid 2px #278254;
	border-right: solid 2px #278254;
	box-sizing: border-box;
}
.ui-tabs-nav li a {
	color: #278254;
	line-height: 1.3;
	display: block;
	display: flex;
	font-weight: bold;
	justify-content: center;
	align-items: center;
	text-align: center;
	height: 100%;
	padding: 7px 0;
	box-sizing: border-box;
	font-size: 13px;
}
section.contact .ui-tabs-nav li a {
	font-size: 16px;
	padding: 15px 0;
	background-color: #FFFFFF;
}
	
.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
	background-color: #F0FDE5;

}
section.contact .ui-tabs-nav .ui-tabs-selected a {
    position: relative;
	background-color: #F0FDE5;

}

	
}	
.ui-tabs-nav a {


    text-decoration: none;
  /*  white-space: nowrap;  required in IE 6 */    
    outline: 0; /* prevent dotted border in Firefox */
}


.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position: 100% -150px;
}
.ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
    background-position: 100% -100px;
}
.ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
    background-position: 0 -50px;
}
.ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
    background-position: 0 0;
}

.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-deselectable a:hover, .ui-tabs-nav .ui-tabs-deselectable a:focus, .ui-tabs-nav .ui-tabs-deselectable a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-panel {
    padding: 0;
}
.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(loading.gif) no-repeat 0 50%;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}

