/******* custom extras ***********************/

.main_wrapper a {
  color: #23a1c6;
  text-decoration: none;
  background-color: transparent;
}

.main_wrapper a:hover {
  color: #000;
  text-decoration: none;
  background-color: transparent;
}

/******* if not megamenu *******/
.megamenu > li:hover > .sub-menu {
	display: block;
	background: #000;
  position: absolute;
  list-style: none;
  top: 49px;
  padding: 0 20px;
}

.megamenu .col-sm-4:first-child {
	width: 66%;
}

.nav ul li .megamenu {
	top: 37px;
}

.menu-item ul:first-child, .menu-item ul:last-child {
	float: left !important;
}

body, html {
	font-weight: 100;
}

.main_wrapper {
	background: #fff;
}

.title-area {
	margin-top: 30px;
}


#s {
	color: #fff;
}

.home-slider .bx-wrapper {
	margin-bottom:0;
}

#sliderHome li {
	/*background: #5FBBD6;*/
	background: #539AB6;
}

.slide-caption {
	padding: 30px;
	color: #fff;
	font-weight: 400;
}

@media (min-width: 992px) {
	.slide-img {
		float: right;
		padding: 0;
	}
}

h1 small {
	width: 100%;
    display: block;
    font-size: 21px;
    font-weight: 300;
}

.slide-caption h3 {
	color: #FFF;
	margin: 10px 0px 10px 0;
	font-weight: 300;
	font-size: 27px;
	text-transform: uppercase;
}

@media (min-width: 992px) and (max-width: 1200px) {
	.slide-caption h3 {
		margin-top: 0;
	}
}

.slide-caption h4 {
	color: #fff;
	/*background: #0890B8;*/
	/*background: #539AB6;*/
	background: #B6B153;
	margin: 0 -30px 15px -15px;
	padding: 15px;
	font-size: 40px;
	font-weight: 100;
}

.bx-wrapper .bx-pager {
	background: none ;
	left: 0 !important;
	bottom: 0 !important;
	padding: 12px 0 7px;
}

@media ( max-width: 991px){
	.bx-wrapper .bx-pager {
		background: none;
	}
	
	.slide-caption {
		clear: both;
		text-align: center;
	}
	
	.slide-caption h4 {
		margin: 0px 0px 15px -15px;
		font-size: 36px;
	}
	
}

.bx-wrapper .bx-pager.bx-default-pager a {
	width: 14px !important;
	height: 14px !important;
	border-radius: 7px !important;
	background: #000 !important;
	color: #000 !important;
	opacity: .3 !important;
}

.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #539ab6 !important;
	color: #539ab6 !important;
	opacity: 1 !important;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover {
	background: #000 !important;
	color: #000 !important;
	opacity: 1 !important;
}

.actions-wrapper {
	margin-top: 30px;
	margin-bottom: 30px;
}

.actions-wrapper .action:nth-child(4) {
	clear: left;
}

.actions-wrapper .action {
	margin-bottom: 20px;
}

.actions-wrapper .action h3 {
	background: #539AB6;
	color: #fff;
	font-weight: 100;
	padding: 5px 10px;
	margin: 0;
}


.actions-wrapper .action > a {
	position: relative;
	overflow: hidden;
	display:block;
}

.actions-wrapper .action .action-cap {
	background: url(../images/trans-blue-action.png);
	color: #fff;
	font-weight: 100;
	padding: 5px 10px;
	display:block;
	position:absolute;
	bottom:0;
	left:0;
	width: 100%;
}

.actions-wrapper .action:hover a, .actions-wrapper .action:hover h3, .actions-wrapper .action:hover .action-cap {
	background: #0083AA;
}

.actions-wrapper .action:hover img {
	opacity: .7;
}

h1 {
	font-size: 26px !important;
	font-weight: 300;
}

.h1-heading {
	font-size: 26px;
	font-weight: 100;
}

.home-intro {
	font-size: 18px;
}

.home-sub {
	font-size: 14px;
	font-weight: 300;
}

.latest-eve {
	list-style: none;
	margin: 0;
	padding: 0;
}

.latest-eve li {
	background: #fff;
	display: block;
	padding: 10px 10px 5px;
	margin-bottom: 8px;
}

.latest-eve li h5 a {
	color: #000;
	font-weight: 400;
}

.latest-eve li h5 {
	margin-bottom: 0;
	display: list-item;
	list-style: disc;
	margin-left: 15px;
}

.testimonial-con {
	position: relative;
	padding: 0 20px;
	font-size: 18px;
	margin: auto;
	float: none;
}

.q-wrapper {
	position: relative;
}

.q-start {
	position:absolute;
	top: 7px;
	left: -20px;
	background: url(../images/q-start.png);
	width: 11px;
	height: 10px;
}

.q-end {
	position:absolute;
	bottom: 7px;
	right: -20px;
	background: url(../images/q-end.png);
	width: 11px;
	height: 10px;
}

.test-att {
	font-size: 18px !important;
}

.testimonial-item {
	border-bottom: solid 1px #ccc;
	padding-bottom: 25px;
}
	

.test-foot {
	text-align: center;
	margin-bottom: 30px;
}

.logolist img {
	max-height: 100px;
	display: inline-block;
}


.footer {
	background: #027ea2;
	color: #fff;
}

.footer p, .footer a, .footer p a {
	color: #fff;
}

.social-icon a {
	float: left;
	margin-right: 10px;
}

.logolist-wrapper {
	padding-top: 20px;
}

.logolist-inner { 
	background: #fff;
	border-top:solid 14px #014c60;
}

.logolist {
	border: none;
}

.footer h4 {
	text-align: left;
	font-size: 16px;
	font-weight: 200;
}

.footer p {
	text-align: left;
	font-size: 12px;
}

#gform_fields_1 input {
	background: #006B8A;
    border: none;
    color: #fff;
}

#gform_fields_1 .gfield_required {
    color: #fff;
}

#gform_fields_1 ::-webkit-input-placeholder {  
   color: #fff !important;  
}

#gform_fields_1 :-moz-placeholder {  
   color: #fff !important;  
}

#gform_fields_1 :-ms-input-placeholder {  
   color: #fff !important;  
}

#gform_wrapper_1 .gform_button {
	float: left;
	font-weight: 100;
    padding: 5px 20px;
}

.btn-footer {
	color: #fff;
	background: #206273;
	display: inline-block;
    padding: 5px 20px;
    margin-top: 10px;
}

.btn-footer:hover {
	color: #fff;
	background: #135262;
}

.training-item h1 a {
	color: #539AB6;
	font-size: 30px;
}

.entry-sub-title {
	font-size: 18px;
	font-weight: 400;
}

.training-item {
	padding-bottom: 20px;
	border-bottom: 6px solid #0185AB;
	margin-bottom: 20px;
}

.middle-title {
	text-align: center;
	padding: 30px;
	clear: both;
}

.middle-title h1 {
	font-size: 40px !important;
	font-weight: 400;
	color: #027EA2;
}

.side h3 {
	color: #539AB6;
	border-bottom: 4px solid #539AB6;
}

.side #nav_menu-2 ul {
	padding: 0;
	margin: -15px 0 30px;
	list-style: none;
}

.side #nav_menu-2 li a {
	padding: 15px 0;
	color: #027EA2;
	border-bottom: solid 2px #027EA2;
	display: block;
}

.side #nav_menu-2 li a:hover {
	color: #222;
	border-bottom: solid 2px #222;
	text-decoration: none;
	background: #F3F3F3;
}

.wp-post-image {
	margin-bottom: 30px;
	height: auto;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.training-title {
	font-size: 40px;
	color: #FFF;
	background: #539AB6;
	padding: 7px;
	text-align: center;
	border-radius: 5px 5px 0 0;
	margin: 20px 0;
}

.white-bk {
	background: #fff;
}

.facts-wrapper {
	background: #fff;
	padding: 20px 20px 10px;
	border-radius: 10px;
}

.main .facts-wrapper p {
	margin-bottom: 10px;
}

#menu-service-types-all {
	margin-bottom: 15px;
	text-align: center;
	width: 100%;
}


#menu-service-types-all li {
	width: 31%;
    background-color: #539AB6;
    margin: 0px 5px 10px;
    display: inline-block;
    float: none;
}

@media (min-width:768px) and (max-width:991px){
	#menu-service-types-all li {
		width:47%;
		margin: 0 5px 10px;
	}
}

@media (max-width:767px){
	#menu-service-types-all li {
		width:100%;
		margin: 0 0 10px;
	}
}

#menu-service-types-all li a {
	width: 100%;
}

#menu-service-types-all li a:hover {
	background: #000;
	text-decoration: none;
}

.alignright, .alignleft {
	max-width: 40%;
	height: auto;
}

@media (max-width: 767px){
	.alignright, .alignleft {
		max-width: 100%;
		margin: 20px auto;
		clear: both !important;
		float: none !important;
	}
	
	.logolist {
		clear: both;
	}
}

.btn {
	color: #FFF;
    background: #539AB6 none repeat scroll 0% 0%;
    padding: 5px 20px;
    text-align: center;
    border-radius: 5px;
}

.btn:hover {
	color: #FFF;
    background: #000000;
}

#wpforms-submit-5991 {
    background: #23a1c6;
    padding: 10px 30px;
    border-radius: 10px;
}

#wpforms-submit-5991:hover {
    background: #000;
}

.wpforms-submit-container {
    padding-top: 0 !important;
    margin-bottom: 40px !important;
}