/*
Theme Name: Custom
Author: Thrive web design
Author URI: http://thriveweb.com.au/
*/

/*---------------------------- normalize ----------------------------*/

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #f9ff51; color: black; text-shadow: none; }
::selection { background: #f9ff51; color: black; text-shadow: none; }

a { color: #00e; }
a:visited {  }
a:hover { color: #06e; }
a:focus { outline: none; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }




/*---------------------------- typography ----------------------------*/

h1, h2, h3, h4, h5, h6				{ position: relative; font-weight: 900;  margin-bottom: 10px; margin-top: 20px; line-height: 125%; }


h1									{ font-size: 41px; text-transform: uppercase; }
h2									{ font-size: 40px; text-transform: uppercase; }
h3									{ font-size: 32px; text-transform: uppercase; }
h4									{ font-size: 18px; text-transform: uppercase;}
h5									{ font-size: 15px; text-transform: uppercase;}
h6									{ font-size: 13px; text-transform: uppercase;}
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
p:first-child						{ margin-top: 0; }

p{
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0;
}

body, textarea, input{
	font-family: 'proxima-nova', arial, sans-serif;

	font-size: 16px;
	line-height: 140%;

	color: black;
	font-weight: normal;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6{
	color: #53A4DA;
	font-family: 'proxima-nova', arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a{
	color: #53A4DA;

	cursor: pointer;
	text-decoration: none;
	outline: none;

	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

a:hover{
	text-decoration: none;
	color: #9DD3F7;
}

blockquote{
	font-style: italic;
	font-size: 20px;
	line-height: 24px;
	color: gray;
	margin-left: 0;
	padding-left: 40px;
	border-left: dotted 2px silver;
}

/*-- Edit  --*/
.edit_link{
	position: fixed;
	top: 150px;
	z-index: 99999;

	background-color: white;
	color: #125a68;

	border: solid 1px black;

	padding: 5px;
	padding-left: 20px;
	padding-right: 15px;

	display: inline-block;
	font-size: 11px;
}

.edit_link span{
	padding-left: 5px;
	margin-right: 5px;
	border-right: dotted 1px #eaede3;
}

.edit_link a{
	color: black;
	background-color: transparent !important;
}

/*---------------------------- helpers ----------------------------*/

.center{
	max-width:1160px;
	margin: 0 auto;
	text-align:left;
	position:relative;
}

header{
}

.clear{
	clear:both;
}


.taright{
	text-align:right;
}

.tacenter{
	text-align: center;
}

.fleft{
	float:left;
}

.fright{
	float:right;
}

.alignright{
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}

.alignleft{
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

/*--- Images ---*/

.content_style img,
.wp-caption,
.wp-post-image,
a#logo img,
.colimg_wrap img{
	width: 100%;
}

img[class*="align"],
img[class*="wp-image-"],
img[class*="wp-post-image"],
.wp-post-image,
a#logo img,
.colimg_wrap img{
	height: auto;
}

img.size-full{
	max-width: 100%;
	width: auto;
}

/*---------------------------- header and body ----------------------------*/

body{
	background-color: white;
}

header{
	padding-top: 0px;
	padding-bottom: 0px;
}

a#logo{
	display: block;
	text-align: center;
	margin: 15px 0px 15px 10px;
	float: left;
	width: 200px;
}

#head_cont{
	z-index: 600;
	position: relative;
	margin: 0 auto;
	max-width: 1160px;
}

a#logo:hover{
	opacity: 0.8;
}

#main{
	margin-top: 70px;
	margin-bottom: 70px;
}

/*---- Side Cart ----*/

#side_cart{
	float: right;
	margin-top: 30px;
}

#side_cart a{
	background-color: #04E8C2;
	color: black;
	border: solid 1px black;

	padding: 9px;
	padding-left: 20px;
	padding-right: 20px;
}

#side_cart a:hover{
	color: #04E8C2;
	background-color: black;
}

#side_cart a i{
	margin-right: 10px;
}

/* ----- Full Size Nav -----*/

#header_wrap {

}

#menu-btn {
	display: none;
}

#nav_wrap {
	background-color: #f2f2f2;
    width: 100%;
    height: 61px;
}



nav{
	position:relative;

	z-index:600;
	margin: 0 auto;	
	max-width: 1165px;
    
}


nav ul{
	line-height:45px;

	z-index:400;

	margin:0;
	padding:0;

	text-align: center;
}

nav ul li {
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
    text-align: center;
    float: left;
	padding: 8px 0px; 
    border-right: 1px solid white;
    width: 16.66%;
    box-sizing: border-box;
}

nav ul li:first-of-type {
    border-left: 1px solid white;
}


nav ul li a{
	color:#8f8f8f;

	text-decoration:none;

	font-size: 15px;
	font-weight: bold;
	display:inline-block;
	line-height:17px;

	text-transform:uppercase;
}

nav ul li.current_page_item {
    background-color: #23438e;
}

nav ul li.current_page_item a,
.current_page_parent a{
	color:#fff;
}

nav ul li a:hover,
nav ul li.sfHover a{
	text-decoration: none;
	color:#53a4da;
}

nav ul li.sfHover a{

}

nav ul li.current-menu-parent ul a{
	color:#53A4DA;
}

nav ul li.current_page_item ul a,
nav ul li.current_page_parent ul a{
	color:#04E8C2;
}

#headright {
	float: right;
}

#social_head {
	background: #24438E;
	float: right;
	padding: 62px 20px;
}

#call {
    float: left;
    text-align: right;
    font-size: 22px;
    line-height: 25px;
    font-weight: 900;
    margin-right: 20px;
    margin-top: 56px;
    color: #52A2D9;
}
#call a{
    color: #23438e;
}

/* Submenu */

nav ul li ul li {
    list-style: none;
    margin: 0;
    text-align: center;
    float: left;
    padding: 8px 0px;
    border: 0px!important;
    width: 100%;
    /* box-sizing: border-box; */
    background-color: #53a4da;
    border-bottom: 1px solid #8ACEFB !important;
    /* margin-top: 8px; */
}

ul.sub-menu {
	position: absolute;
}

ul.sub-menu {
	display: none;
}

.current-menu-ancestor {
	background-color: #23438e;
}

.current_page_parent {
	background-color: #23438e;
}


li.current-menu-ancestor a {
	color: white;
}

nav ul li ul li.current_page_item {
    background-color: #53a4da;
}

ul.sub-menu li a {
    color: white!important;
}

ul.sub-menu li a:hover, ul.sub-menu li.sfHover a {
    color: white;
}

nav ul li ul li.current-menu-item ul a {
    color: white;
}



/*--------- Submenu Indicator Arrow ---------*/

.menu li > a:after {
    color: #52A2D9;
    content: ' ▾';
}

.menu li > a:only-child:after {
    content: '';
}



/*-- Content --*/

.content_style{

}

.content_style ul{
	margin: 0;
	padding: 0;
}

.content_style,
.content_style p,
.content_style li{
	font-size: 16px;
	line-height: 22px;
	list-style: none;
}

.content_style li{
	margin-left: 0;
	padding-left: 15px;
}

.content_style li:before{
	content: "\f192";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;

	color: #53A4DA;
	font-size: 14px;
	margin-left: -14px;
	padding-right: 10px;
}

.content_style ol li:before{
	content: "\f10c";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;

	color: #04E8C2;
	font-size: 12px;
	margin-left: -14px;
	padding-right: 10px;
}

.content_style ul,
.content_style ol{
	margin-left: 20px;
}


/*-- Content --*/

.fcol{
	margin: auto;
	width: 100%;
}

.scol{
	width: 80%;
	margin: auto;
}

.lcol{
	float: left;
	width: 45%;
}

.rcol{
	float: right;
	width: 45%;
}

.contact .lcol{
	float: left;
	width: 45%;
}

.contact .rcol{
	float: right;
	width: 45%;
}

.wcol.image{
	margin-bottom: 80px;
}


/*--- Owl ---*/

#owls {
	 max-height: 600px;
	 overflow: hidden;
	 min-height: 100px;
}

.owl-carousel .owl-item{
	-webkit-backface-visibility: visible !important;
}
.owl-carousel .owl-item img{
	height: auto;
}
.owl_wrap{
	display: none;

}

.owl_wrap.owl-loaded{
	display: block;
}

.owl-nav {
	display: none;
}
#quote_form {
	margin: 0 auto;
	margin-bottom: 65px;
    background-color: #24438E;
    height: auto;
    max-width: 1160px;
    width: 100%;

}

.single #quote_form {
    margin: 0 auto;
    margin-bottom: 65px;
    margin-top: 30px;
}

#owls .owl-controls {
   display: none;
}

/*---------- Page Style ----------*/

/*--- Listing ---*/

.list_item{
	margin-bottom: 30px;
}

.list_item img{
	float: left;
	margin-right: 20px;
}

.list_info{

}

/* --------- Home ---------- */

#quote_wrap {
    margin-bottom: 65px;
    background-color: #24438E;
    height: 51px;
    z-index: 14;
    margin-top: -45px;
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    max-width: 1160px;
    width: 100%;
    
}

#request {
    margin: 0 auto;
    font-size: 26px;
    font-weight: 900;
    text-align: center;
    padding: 10px 0px;
    max-width: 100%;
    color: #fff;
}

.lightblue {
	color: #53a4db;
}
.navy {
	color: #24438E;
}
.white {
	color: #fff;
}

#form {
    margin: 0 auto;
    height: 131px;
    background: #F2F2F2;
    /* max-width: 1200px; */
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.formthirty {
    float: left;
    width: 34%;
    margin-right: 1%;
}

.formtwenty {
	float: left;
	width: 15%;
	margin-right: 1%;
}

.formten {
	float: left;
	width: 10%;
}

.wpcf7 .formthirty p, .wpcf7 .formtwenty p  {
    font-size: 18px;
    font-weight: bold;
    color: #53A4DA;
}



#form input, #form textarea, #form select {
    -webkit-transition-property: -webkit-box-shadow, background;
    -webkit-transition-duration: 0.25s;
    padding: 6px;
    padding-left: 10px;
    padding-right: 8px;
    border-radius: 0 !important;
    box-sizing: border-box;
    border: solid 3px #24438E;
    border-radius: 5px!important;
    margin-bottom: 10px;
    color: #9A9A9A;
    height: 45px;
    background: #fff;
    width: 100%;
}

#form .wpcf7-submit {
	background-color: #53a4db;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    border: none;
    margin-top: 20px;
    font-size: 20px;
    min-width: 75px;
}

#midgrey {
	background: #F2F2F2;
	padding: 50px 0px;
	border-top: 95px solid #24438E;
}

#midgrey .lcol, #midgrey .rcol  {
	background: #fff;
}

#midgrey .center {
	max-width: 1160px;
}

#midgrey .lcol{
	float: left;
	width: 65%;
    box-sizing: border-box;
    padding: 20px;
}

.leftservice {
	float: left;
	width: 50%;
}

.rightservice {
    float: right;
    width: 50%;
}

#midgrey .rcol{
	float: right;
	width: 30%;
    box-sizing: border-box;
    padding: 20px;
}

#midgrey h1 {
	line-height: 100%;
	font-size: 28px;
}


#testi {
    font-size: 18px;
    line-height: 140%;
    color: #53A4DA;
    text-align: center;
}

.testis {
	margin-bottom: 10px;
}

#testiname {
	color: #53A4DA;
    text-align: center;
    font-weight: bold;
}


.ba_wrap {
    width: 100%;
    margin: 0 auto;
    padding: 35px 0px;
    max-width: 1160px;
}

.twentytwenty-overlay {
	display: none!important;
}

.twentytwenty-overlay:hover {
    background: rgb(35, 67, 142);
    height: 40px;
    text-transform: uppercase;
}

.twentytwenty-wrapper {

}

.twentytwenty-before-label:before, .twentytwenty-after-label:before {
	background: none !important;
	}

.tagline {
	width: 100%;
	margin: 0 auto;
	height: 100px;
}

.tagline img {
	width: 600px;
	height: auto;
	margin: 0 auto;
	display: block;
	max-width: 90%;
}

.before-wrap {
	background: rgba(36,67,142,1);
    height: 35px;
    width: 100%;
    padding: 5px 20px;
    box-sizing: border-box;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
}


#map_wrap {
    width: 100%;
    height: 350px;
    border-top: 35px solid #F2F2F2;
    border-bottom: 35px solid #F2F2F2;
    
    background: rgba(36,67,142,1);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(36,67,142,1)), color-stop(51%, rgba(36,67,142,1)), color-stop(51%, rgba(174,209,255,1)), color-stop(100%, rgba(174,209,255,1)));
	background: -webkit-linear-gradient(left, rgba(36,67,142,1) 0%, rgba(36,67,142,1) 51%, rgba(174,209,255,1) 51%, rgba(174,209,255,1) 100%);
	background: linear-gradient(to right, rgba(36,67,142,1) 0%, rgba(36,67,142,1) 51%, rgba(174,209,255,1) 51%, rgba(174,209,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#24438e', endColorstr='#aed1ff', GradientType=1 );

}

#maptext {
	float: left;
	width:25%;
	margin-top: 115px;
    margin-left: 20px;
}

#maptext h2{
	font-weight: bold;
	font-size: 24px;
	color: white;
}

#mapimage {
	float: left;
	width:50%;
}

#map {
	max-width: 1160px;
    width: 100%;
    margin: 0 auto;
}



/*---------------------------- about ----------------------------*/
#abouts {

}

.aboutl {
	float: left;
	width: 60%;
}

.aboutr {
	float: right;
	width: 35%;
	overflow: hidden
}

.aboutr img {
    border: 7px solid #24438E;
    width: 100%;
    margin-top: 61px;
	box-sizing: border-box;
}

#meet {
/* 	background-color: #F2F2F2; */
	padding: 25px;
	margin-top: 25px;
}

#meet h3{
	color: #24438E;
	margin-bottom: 25px;

}


.contact_btn {
	background-color: #53a4db;
    color: white;
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 25px;
}

.team_wrap {
	margin-bottom: 25px;
}

.team_wrap img {
	width: 100%;
	height: auto;
}

.teaml {
	float: left;
	width: 30%;
}

.teaml img {
	border: 7px solid #24438E;
    border-radius: 200px;
}

.teamr {
	float: left;
	width: 60%;
}

.teamr h4 {
    border-bottom: 7px solid #24438E;
    display: inline-block;
    font-weight: bold;
    font-size: 25px;
    color: #53a4db;
}


.blueback {
	background-color: #24438E;
}


/*---------------------------- services ----------------------------*/

#service_wrap {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	color: #fff;
	padding: 80px 10px 55px;
	box-sizing: border-box;
}

#service_wrap .aboutr {
	background: white;
	padding: 20px;
	height: auto;
	position: relative;
	box-sizing: border-box;

}

.serv_img {
    width: 32.33%;
    margin: 10px .5%;
    float: left;
    position: relative;
    overflow: hidden;
}

.serv_tag {
	position: absolute;
	top: 15px;
	left: 15px;
}
.serv_tag h4{
	color: white;
	text-shadow: 1px 1px 4px #080808;
}

.embed-container { 
	position: relative; 
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.vids {
	max-width: 500px;
	margin: 0 auto;
	padding: 20px;
}

/*---------------------------- faqs ----------------------------*/
.answer {
	margin-bottom: 30px;
}

.question {
	font-weight: bold;
	color: #53a4db;
	font-size: 22px;
}

.faqwrap {
	margin-top: 30px;
}


/*---------------------------- sub pages ----------------------------*/

.attachment-subpage_thumbnail {
    float: left;
	margin-right:20px;
	margin-bottom:20px;
    padding: 5px;
    background:#FFF;
    background-image: url(images/diag.png);
    padding: 10px;
}
.description {
	overflow: hidden;
	margin-bottom:10px;
}

.description a{
	color: black;
	text-decoration: none;
	font-weight: bold;
}

.description  h3 a{
	padding-top:0;
}

.border{
	border-top:1px #E9E9E9 solid;
	margin-bottom: 20px;
}


/*------------------------- blog header ------------------------*/

#blog_head{
	text-align: right;
	padding-bottom: 70px;
	line-height: 45px;
}

.sres{
	font-style: italic;
}

#searchbox{
	display: inline-block;
	position: relative;
	margin-right:20px;
}

#searchbox form{
	width:100%;
	box-sizing: border-box;
}

.is_webkit select {
	/* Tweaks for Safari + Chrome. */
}

select{
	-webkit-appearance: none;
	border-radius: 0;
	box-sizing: border-box;
	background-color: #fff;
	border: 1px solid;
	border: none;
	color: #000;
	outline: 0;
	padding: 6px;
	font-size: 12px;

	/* IE7 */
	*padding-top: 2px;
	*padding-bottom: 1px;
	*height: auto;
}

h2.btitle{
	font-size: 22px;
	text-transform: uppercase;
	width: 45%;
	float: left;
	background-color: white;
	color: #125a68;
	text-align: center;
}


/*---------------------------- blog format ----------------------------*/

.blog_feature{
	margin-bottom: 30px;
}

.blog_contwrap{
	margin-bottom: 30px;
}

article{
	margin-bottom:40px;
}

article h2{
	word-wrap: break-word;
	overflow:hidden;
}

article h2 a,
article h2 a:visited{
	text-decoration: none;
	color: black;
	opacity: 0.99;
}

article h2 a:hover{
	opacity: 0.6;
}

.date_box p{
	margin: 0;
	padding: 0;
	text-shadow: none;
	position: relative;
	top:2px;
}

.date_box{
	background-color: #E9E9E9;

	padding:10px;
	height:18px;

	margin-bottom:20px;
	margin-top: 10px;
}

.date_box a{

	font-style:italic;
}

.search .date_box .stats{
	font-size: 20px;
}

.date_box .stats{
	float:left;
}

.date_box .date{
	float:right;
	text-align:right;
}

#info_box{
	background-color: #8c1016;
	border-radius:10px;
	margin-bottom:20px;
	padding: 10px;
}

#info_box h2,
#info_box h5{
	color: white;
	text-shadow: none;
	margin: 5px;
}

.single h1 {
	font-size: 32px;
}

.single h2 {
	font-size: 27px;
}

.single h4 {
	margin-top: 5px;
	font-weight: bold;
	color: grey;
}
 .caps {
	 text-transform: uppercase;
 }
 
 .blog .lcol {
	 width: 27%;
	 margin: 2.5%;
	 float: left;
 }
 
 .blog .post:nth-of-type(even) .lcol {
	 float: right;
 }
 
  .blog a .lcol {
	 color: #505050;
	 padding-right: 5%;
 }
 
  .blog .rcol {
	width: 63%;
	height: 320px;
	
 }
 
 .blog .post:nth-of-type(even) .rcol {
	 float: left;
 }
 

 
 .greywrap {
	background-color: #efefef;

    width: 100%;
    overflow: hidden;
    position: relative;
    display: block;
 }
 
  .greywrap:first-of-type {
	margin-top: 35px;
 }
 
 .readmore {
	position: absolute;
    top: 0;
    right: 0;
    background-size: contain;
    background-image: url(images/splash.svg);
    background-repeat: no-repeat;
    background-position: top right;
    
    width: 114px;
    height: 107px;
    
    text-align: right;
    font-weight: 900;
    text-transform: uppercase;
    color: white;

 }
.morepad {
	margin: 11px;
    line-height: 100%;
}

/*---------------------------- Blog Dets ----------------------------*/

.dets_wrap{
	float: none;
	width: 100%;
	text-overflow:clip;
}

.dets{

}

.dets h2{
	text-align: center;
}

.dets ul #perm a{
	background:none;
}

.dets ul a:hover.
.dets .edit_link a:hover{
	text-decoration: underline;
}

.dets ul i{
	font-size: 18px;
}

.dets ul i:hover{
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	-moz-transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
}

.dets ul{
	padding-left: 0;
}

.dets li{

}

.dets li,
.dets .edit_link{
	line-height: 22px;
	list-style: none;
	text-align: center;
}

.dets li.perm a{
	background: none;
}

.dets li a:hover{
	text-decoration: underline;
}

.dets li.perm a:hover{
	background: none;
}

/*---------------------------- paging ----------------------------*/

.navigation {
	display: block;
	text-align: left;
	margin-bottom: 20px;
	font-size:80%;
	padding-top:20px;
	margin-top:20px;
	width: 100%;
}

.nav-previous,
#pn_next{
	float: left;
	text-align: left;
	width: 50%;
}

.nav-next,
#pn_next{
	width: 50%;
	float: right;
	text-align: right;
}

.navigation .nav-previous a,
.navigation .nav-next a,
#pn_next a,
#pn_prev a{
	display: inline-block !important;
	width: auto !important;
}

/*---------------------------- comments ----------------------------*/

div#comments{
	position:relative;
}

#comments textarea{
	width:600px;
}

#comments .author{
	float:left;
	font-weight:bold;
	line-height: 30px;
}

#comments .time{
	color:#a5a5a5;
	float:right;
}

#comments em{
	padding-bottom:15px;
	display:block;
}

#comments #comments_num{
	position:absolute;
	left:-260px;
	top:0;
	margin:0;
}

article #comments #comments_num{
	display:none;
}

#comments .commentlist{
	margin:0;
	padding:0;
}

#comments .comment {
	padding-bottom:5px;
	border-top:solid 1px #cfcfcf;
	list-style:none;
	padding-bottom: 5px;
}

#comments #respond{
	margin-top:20px;
}

#comments input{
	padding:5px;
}

#comments .avatar{
	margin-right: 10px;
	float:left;
}

#comments .children{
	padding-left: 0;

}

#comments .children li{
	margin-left:60px;
}

p.author, p.time{
	margin-bottom: 0;
}

.commentlist li{

}

.commentlist li:before{
	content: ' ';
	padding: 0;
}

/*----- Genral Button Styles -----*/

.button, 
.navigation a, 
.post-next, 
.post-prev {
    padding: 0;
    margin: 0;
    border: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    background-color: #24438E;
    /* border: black solid 1px; */
    color: white;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 40px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    height: 40px;
    text-align: center;
    display: block;
    box-sizing: border-box;
}

.button:hover,
.navigation a:hover,
.navigation a.current,
.post-next:hover,
.post-prev:hover,
.post-next:active,
.post-prev:active{
	color: #53A4DB;
    background: #1B3779!important;
}

/*----- Genral Input Styles -----*/

input:hover,
input:focus,
input:active,
textarea:hover,
textarea:focus,
textarea:active{
	outline: none;
}

#Searchform,
#cat{

	display: inline-block;
	position: relative;

	width:120px;

	padding-left:5px;
	padding-right: 25px;
	padding-top: 3px;
	padding-bottom: 3px;

	background-image:url(images/search.png);
	background-position:125px 5px;
	background-repeat:no-repeat;

	font-size: 12px;
}

#cat{
	padding-top: 6px;
	padding-bottom: 4px;
	background-image: url(images/drop.png);
	background-repeat: no-repeat;
	background-position: right 11px;

	width: 140px;

	font-size: 12px;
}


/*---------------------------- footer ----------------------------*/

ul#social{
	margin: 0;
	padding: 0;

	float: right;
}

ul#social li {
    margin: 0;
    padding: 5px;
    list-style: none;
    text-align: center;
    display: inline-block;
    margin-left: 4px;
    margin-right: 4px;
    background-color: #53a4da;
    width: 20px;
    border-radius: 15px;
}

#social a {
    color: #fff;
}

#foot_wrap{
    background-color: #24438e;
}

footer{
	padding: 40px 20px;
	overflow: hidden;
	padding-bottom: 40px;
	font-size: 13px;
}

footer p{
	margin: 0;
}

footer li a{
	text-decoration: none;
	color: #231F20;
	font-family: nimbus-sans;
}

footer .social a{
	font-weight: bold;
	color: #231F20;
}

footer p{
	color: #FFFFFF;
}

footer .fright p {
	text-align: right;
}

footer a:hover{

}

#copy{
	float: left;
	margin-left: 20px;
	text-align: right;
}

#thrive_link{
	width: 45%;
	float: right;
	text-align: right;
	margin-right: 20px;
}

#thrive_link .logo{
	position: relative;
	top: -1px;
	margin-left: 5px;
}

/*------------------ Forms ---------------------*/

span.wpcf7-form-control-wrap{
	width: 100%;
}

input,
textarea,
select{
  	-webkit-transition-property: -webkit-box-shadow, background;
  	-webkit-transition-duration: 0.25s;

  	padding: 6px;
  	padding-left: 10px;
  	padding-right: 8px;

	border: none;
	border-radius: 0 !important;

	box-sizing: border-box;

	margin-bottom: 10px;
	background: #F2F2F2;
	
	color: black;
}

input:hover{

}

.wpcf7 input,
.wpcf7 textarea{
	font-size: 15px;
	line-height: 21px;
}

.wpcf7 p{
	font-size: 26px;
	color: #7f7f7f;
}

.wpcf7 .watermark {
	color: #c3c3c3 !important;
}

.wpcf7 textarea,
.wpcf7-text{
	width: 100%;
}

.wpcf7-checkbox label{
	border-radius: 4px;
	border: 1px solid #DBDBDB;

	padding: 10px;
	display: inline-block;
	margin-bottom: 10px;
	margin-right: 10px;
	padding-top: 15px;
}

span.wpcf7-list-item {
	margin: 0 !important;
}

input.checkout-button{
	border-radius: 5px;
}

/*--- Placeholder ---*/

.wpcf7 .watermark {
    color: black !important;
}
::-webkit-input-placeholder {
    color: black !important;
}
:-moz-placeholder {
    color: black !important;
}
::-moz-placeholder {
    color: black !important;
}
:-ms-input-placeholder{
    color: black !important;
}

/*---------------------------- CF7 Notices ----------------------------*/

.wpcf7-form{

}

.wpcf7-form .wpcf7-validation-errors{
    border: none;
    background-color: #24438E;
    margin: 0;
    padding: 11px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-shadow: none;
    color: #FFC107;
    font-size: 16px;
    clear: both;
}
.wpcf7-form .wpcf7-mail-sent-ok {
    border: none;
    background-color: #24438E;
    margin: 0;
    padding: 11px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-shadow: none;
    color: #FFC107;
    font-size: 16px;
    clear: both;
}
.wpcf7-form .wpcf7-mail-sent-ng{
    border: none;
    background-color: #24438E;
    margin: 0;
    padding: 11px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-shadow: none;
    color: #FFC107;
    font-size: 16px;
    clear: both;

}
.wpcf7-form span.wpcf7-not-valid-tip {
    border: none;
    background-color: transparent !important;
    color: #FF9800 !important;
    width: auto !important;
    right: 15px;
    left: auto !important;
    font-size: 17px;
    top: 22% !important;
    position: absolute;
}

.ajax-loader{
	display: block;
	max-width: 15px;
	max-height: 15px;
}

.wpcf7-form-control-wrap.event{
	margin-right:5px;
}

.wpcf7-submit {
    background-color: #53a4da;
    border-radius: 10px!important;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    width: 120px;
}

/*------------------- Responsive Syling ------------------*/

@media screen and (max-width: 1150px) {

	#main{
		margin-left: 10px;
		margin-right: 10px;
	}

}

@media screen and (max-width: 1024px) {

	.wpcf7 .formthirty p, .wpcf7 .formtwenty p {
	    font-size: 16px;
	}

}

@media screen and (max-width: 950px) {
	.wpcf7 .formthirty p, .wpcf7 .formtwenty p {
	    font-size: 14px;
	}
	
	
	#maptext {
	    margin-top: 80px;
	}
	
}

@media screen and (max-width: 800px) {


	#social_head {
	    display: none;
	}

	/*-- Nav --*/

	#nav_wrap {
    background-color: #f2f2f2;
    width: 100%;
    height: auto;
}
	
	
	#menu-btn {
		display: block;
	    position: absolute;
	    right: 10px;
	    top: 10px;
	    z-index: 1000;
	    background-color: #24438E;
	    width: 40px;
	    height: 40px;
	    text-align: center;
	    border-radius: 20px;
	    color: white;
	    padding-top: 8px;
	    box-sizing: border-box;
	    font-size: 23px;
	}
	
	nav ul li {
    	width: 100%;
	}
	
	ul.sub-menu {
	    position: relative;
	}
	

	#full_nav {
		height: 0;
		opacity: 0;
		overflow: hidden;
		-webkit-transition: all .6s ease;
		transition: all .6s ease;
	}
	
	#full_nav.open {
		height: auto;
		opacity: 1;
		overflow: auto;
	}
	
	
	#full_nav ul li {
	    display: block;
	    text-align: center;

	    padding-top: 6px;
		padding-bottom: 6px;
		border-bottom: 1px solid #2087BF;
		-webkit-transform: translateY(-50%);
		        transform: translateY(-50%);
		-webkit-transition: .3s ease;
		transition: .3s ease;
		box-sizing: border-box;
	}
	nav#full_nav.open ul li {
		-webkit-transform: translateY(0%);
		        transform: translateY(0%);
	}	
	

	/*-- Page Layout --*/

	#main{
		margin-top: 30px;
		margin-bottom: 20px;
	}
	
	#form {
	    height: auto;
		overflow: hidden;
	}
	
	.formtwenty {
	    float: left;
	    width: 30%;
	    margin-right: 0%;
	}
	
	.formten {
	    float: none;
	    width: 15%;
	    clear: both;
	    margin: 0 auto;
	}
	
	#form .wpcf7-submit {
	    margin-top: 0px;
	}


	.lcol{
		width: 100%;
		margin-bottom: 20px;
		margin-top: 30px;
	}
	
	#midgrey .rcol {
    	width: 100%;
	}
	
	#midgrey .lcol {
    	width: 100%;
	}

	.rcol{
		width: 100%;
	}

	.scol{
		margin: 0;
		width: 100%
	}
	
	#map_wrap {
	    height: auto;
    }
	
	#maptext {
	    margin-top: 52px;
	}
	
	#mapimage {
		width: 70%;
		height: auto;
	}
	
	#mapimage img{
		width: 80%;
		height: auto;
	}
	
	#maptext h2 {
	    font-size: 16px;
	}
	
/* ------- Blog ---------- */	
	.blog .rcol, .blog .lcol {
    	width: 100%
    }
	.blog .rcol {    
        margin-top: 10px;
    }
    .blog a .lcol {
	    color: #505050;
	    padding-right: 25%;
	    box-sizing: border-box;
	}
	
	 .blog .lcol {
		 margin: 0px;
	 }
	 
	 .greywrap {
	    padding: 10px;
	    box-sizing: border-box;
	}
	
	.morepad {
	    margin: 7px;
	}
	
	.readmore {
    	width: 100px;
	}
	
/* ------- About Page ---------- */
	
	.aboutl {
	    width: 100%;
	}
	.aboutr {
	    width: 100%;
	    margin-top: 35px;
	}
	.aboutr img {
	    width: 100%;

	}

/* ------- Services Page ---------- */

	.serv_img {
    width: 49%;
    }
    
    #service_wrap {
	    padding: 10px 10px 20px;
	}

}

@media screen and (max-width: 650px) {

	/*--Home--*/
	
	#request {
    margin: 0 auto;
    font-size: 21px;
    }
	
	/*--Contact--*/

	.contact .lcol{
	float: left;
	width: 100%;
	}

	.contact .rcol{
		float: right;
		width: 100%;
	}
	


	/*--Blog--*/

	.dets_wrap{
		width: 100%;
		float: none;
		border-bottom: solid 1px #ECECEC;
		margin-bottom: 20px;
	}

	.dets{
		border-right: none;
		padding: 0;
	}

	article .content_wrap{
		width: 100%;
		float: none;
	}

	#blog_head{
		text-align: center;
	}

	/*--- Footer ---*/

	#copy{
		width: 100%;
		float: none;
		margin: 0;
		text-align: center;
	}

	ul#social{
		width: 100%;
		float: none;
		text-align: center;
		margin-top: 20px;
	}

}

@media screen and (max-width: 550px) {
	
	#call {
	    display: none;
	}
	a#logo {
	    margin: 15px auto 5px;
	    float: none;
	    width: 180px;
	}
	
	#request {
	    font-size: 18px;
	}
	
		#map_wrap {
	    width: 100%;
	    height: auto;
	}
	
	#maptext {
	    float: left;
	    width: 100%;
	    margin-top: 0px;
	    margin-left: 0px;
	    background: #23438E;
	    padding-top: 10px;
	}
	
	#maptext h2 {
	    font-weight: bold;
	    font-size: 17px;
	    text-align: center;
	    color: white;
	}
	
	#mapimage {
		width: 100%;
		height: auto;
	}
	
	#mapimage img{
		width: 80%;
		height: auto;
	}
	
	footer .fright p {
	    text-align: center;
	}
	
	footer .fleft, footer .fright {
	    width: 100%;
	}
	
}

@media screen and (max-width: 450px) {

	#owls {
	    height: 185px;
	}
	.owl-carousel .owl-item img {
	    height: auto;
	    min-height: 190px;
	}
	

	
	.formthirty, .formtwenty, .formten {
	    float: left;
	    width: 100%;
	    margin-right: 0%;
	}
	
	.wpcf7 .formthirty p, .wpcf7 .formtwenty p {
	    font-size: 14px;
	    text-align: center;
	}
	
	#quote_wrap {
    	margin-top: 0px;
	    margin-bottom: 0px;
	    background-color: #24438E;
	    height: 100%;
	    z-index: 14;
	    position: relative;
	    left: 0%;
	    -webkit-transform: translate(0%, 0%);
	    transform: translate(0%, 0%);
	    max-width: 1160px;
	    width: 100%;
	}
    #midgrey {
	    background: #F2F2F2;
	    padding: 0px;
	    border-top: 0px solid #24438E;
	}
	
	.leftservice, .rightservice {
	    width: 100%;
	}
	

	/* ------- Services Page ---------- */

	.serv_img {
    width: 99%;
    }

}