/**
 * Theme Name: AM Default
 * Theme URI: https://advicemedia.com
 * Author: Advice Media
 * Author URI: https://advicemedia.com
 * Description:  Default: Default Programming and Design Themes Using thmpltfrmwrk
 * Template: thmpltfrmwrk 
 * Version: 1
 */

/*hides gears from theme switcher */
#themeswitchwrap {display:none;}


/* = Global color palleting 
-------------------------------------------------------------------------------------------------------------------- 
Global Styling For All Elements throughout the site  */

/* -- PCOLOR 1 = Light -- */
.pcolor1 {background:#FFF; color:#144358;} 
	.pcolor1 .htag {color:#144358}
		.pcolor1 .htag a {color:#144358}
		.pcolor1 .htag a:hover {color:#f7941e}
	.pcolor1 a {color:#f7941e}
	.pcolor1 a:hover {color:#144358}	
	.pcolor1 .btn.btnc {background:#144358; color:#FFF; border:2px solid #144358;}
	.pcolor1 .btn.btnc:hover {background:#f7941e; color:#FFF; border:2px solid #f7941e;}
	.pcolor2 .linetop::before{border-top:2px solid #f7941e}	
	.pcolor2 .linebottom::after{border-top:2px solid #f7941e}
	.pcolor1 .callout {color:#f7941e;}
	

/* -- PCOLOR 2 = Dark -- */
.pcolor2 {background:#144358; color:#fff}
	.pcolor2 .htag {color:#fff}
		.pcolor2 .htag a {color:#fff}
		.pcolor2 .htag a:hover {color:#f7941e}
	.pcolor2 a {color:#f7941e}
	.pcolor2 a:hover {color:#fff;}
	.pcolor2 .btn.btnc {background:#144358; color:#fff; border:2px solid #fff; border-radius:0;}
	.pcolor2 .btn.btnc:hover {background:#f7941e; color:#fff; border:2px solid #f7941e;}
	.pcolor2 .linetop::before{border-top:2px solid #FFF}	
	.pcolor2 .linebottom::after{border-top:2px solid #FFF}
	.pcolor2 .callout {color:#eef0f2;}
	

/* -- PCOLOR 3 = Light V2 -- */
.pcolor3 {background:#eef0f2; color:#144358} 
	.pcolor3 .htag {color:#144358}
		.pcolor3 .htag a {color:#818285}
		.pcolor3 .htag a:hover {color:#f7941e}
	.pcolor3 a {color:#f7941e}
	.pcolor3 a:hover {color:#144358}
	.pcolor3 .btn.btnc {background:#eef0f2; color:#818285; border:2px solid #818285;}
	.pcolor3 .btn.btnc:hover {background:#f7941e; color:#fff; border:2px solid #f7941e;}
	.pcolor2 .linetop::before{border-top:2px solid #f7941e}	
	.pcolor2 .linebottom::after{border-top:2px solid #f7941e}
	.pcolor3 .callout {color:#f7941e;}
	

/* -- PCOLOR 4 = Extra -- */	
.pcolor4 {background:#f7941e; color:#144358} 
	.pcolor4 .btn.btnc {background:#144358; color:#FFF; border:2px solid #144358;}
	.pcolor4 .btn.btnc:hover {background:#fff; color:#144358; border:2px solid #fff;}


/* = General Formatting
-------------------------------------------------------------------------------------------------------------------- 
Global Styling For All Elements throughout the site  */

html {background:#ffffff;}

body {color:#555; font-size:17px; font-weight:normal; line-height:30px;}

.boxin .pagewrapper{box-shadow: 1px 1px 42px #000; margin: 0 auto; max-width: 1488px; overflow: hidden;}
	
.largewidth .container {width:85%; max-width: 1920px}
.xlargewidth .container {width:95%; max-width: 2560px}

.wrapper {float:left;width:100%;padding:60px 0}
#header, #footer, #graphic, #mobile_header, .nopadding, 
#am-sticky-toprow, #am-sticky-mainrow {padding:0;}
@media screen and (min-width: 992px) {
	.mopadding {padding:120px 0;}
}

h1, h2, h3, h4, h5, h6 {margin:40px 0 20px; padding:0; color:#144358; font-weight:400; text-transform:capitalize}

	H1{font-size:46px;line-height:56px}
	H2{font-size:30px;line-height:30px}
	H3{font-size:30px;line-height:40px}
	H4{font-size:26px;line-height:36px}
	H5{font-size:24px;line-height:34px}
	H6{font-size:22px;line-height:32px}
	
	.topheader {margin:0 0 40px;}
	.home h2.topheader {font-size:46px; line-height:56px;}
	
	.home h2.headerlarge {font-size:59px; line-height:64px;}
	.home h2.headersmall {font-size:32px; line-height:38px; text-transform:uppercase; letter-spacing:5px;}
	
	@media screen and (max-width: 767px) {		
		H1,H2,H3,H4,H5,H6{margin:40px 0 10px;}
		H1{font-size:30px;line-height:34px}
		H2{font-size:24px;line-height:30px}
		H3{font-size:22px;line-height:28px}
		H4{font-size:20px;line-height:26px}
		H5{font-size:18px;line-height:24px}
		H6{font-size:16px;line-height:22px}
		.topheader {margin:0px 0 30px 0;}		
		.home h2.topheader {font-size:30px; line-height:34px;}	
		.home h2.headersmall {font-size:24px; line-height:28px;}	
	}
	
.row [class*="col-"] .htag:first-child {margin-top:0}

ul, ol{ padding:0 0 0 40px; margin:0 0 40px; list-style:outside;}
	ul.indent, ol.indent { padding-left:30px}

	/* Fontawesome Icon Support */
	ul.faul, ol.faul { list-style:none;}
	.faul li {font-family:FontAwesome;position:relative}
	.faul li:before { left:-18px;font-size:11px;position: absolute; color:#f7941e}	

a {color:#f7941e; text-decoration:none;transition: all 0.3s ease-in-out;}
	a:hover {color:#818285; text-decoration:none}

	/* take off the dotted outline on this elements */
	a:hover, a:active, a:focus, object, embed {
	  outline: 0; text-decoration:none;
	}

hr {text-align: center;border:0;clear:both;margin:40px auto;border-top:1px solid #eef0f2;color:#eef0f2}
	hr.clear { border: 0 none;height: 1px;margin: 0; clear:both}
	hr.spacer {border: 0 none;height: 40px;margin: 0}
	hr.spacer.short {height: 20px}	
	hr.centered {max-width:400px}
	hr.left {max-width:150px; margin-left:0}

	/* all headers followed by an HR get their margins redone */ 
	hr + .htag {margin-top: 40px; }

	hr.colored_hr{border-top: 1px solid #f7941e; margin: 0;}

	hr[class*="fa-"]::before {
    display: inline-block;font-family:FontAwesome;position:relative;padding:0 10px;top:-14px;background:#FFF;font-size:18px}

/* Header Line before/after */
.linetop::before{border-top:4px solid #f7941e; content:' ';display:block;margin:0 0 20px;max-width:75px;}	
.linebottom::after{border-top:4px solid #f7941e; content:' ';display:block;max-width:75px;margin-top: 20px}
.linebottom[style*='center']::after {margin-left:auto; margin-right: auto;} 
.longline_bottom {border-color:#f7941e; position:relative; z-index:0; margin:-40px 0 60px;}
@media screen and (max-width: 767px) {
	.longline_bottom {display:none}
}


p, .rowlikep {margin:0 0 40px}

/* Block Quote styling */
blockquote {border-left:10px solid #449082;padding:0 32px; margin:0 0 40px}

	blockquote cite {display:block; margin:20px 0 0; color:#818285; font-style:normal}

	blockquote.large {font-size:60px; line-height:60px}
	blockquote.large cite {font-size:18px; line-height:18px}

	/* enable styled quote */	
	blockquote.quoted {border:0;position:relative; padding:0 0 0 70px} 
	blockquote.quoted::before {color:#818285;display:block;content:open-quote;position:absolute;font-size:160px;left:0;top:30px;}

/* Buttons  */
.btn.btnc {background:#fff;transition: all 0.3s ease-in-out;}
.btn.btnc, .btn.btnc::before {color:#818285; padding:15px 50px; text-decoration:none; border:2px solid #818285; border-radius:5px; cursor:pointer; text-transform:uppercase; font-size:17px;}
.btn.btnc:hover {background:#818285; color:#FFF; text-decoration:none}
.btn.btnc.btn-block {margin-top:15px;}

.btn.btn2 {background:#144358; color:#fff;transition: all 0.3s ease-in-out;}
.btn.btn2, .btn.btn2::before {color:#fff; padding:15px 40px; text-decoration:none; border:0; border-radius:0; cursor:pointer; text-transform:uppercase; font-size:17px;}
.btn.btn2:hover {background:#f7941e; color:#FFF;}


/* Social */
.am-social-svg .svg-icon {fill:#fff;} /*icon color*/
.am-social-svg .svg-square, .am-social-svg .svg-cirlcle, .am-social-svg .svg-rounded-square  {fill:#818285;} /*default-inherit*/
.am-social-svg:hover .svg-icon{fill:#fff;} /*hover icon color*/
.am-social-svg:hover .svg-square, .am-social-svg:hover .svg-cirlcle, .am-social-svg:hover .svg-rounded-square {fill:#f7941e;} /*hover other shapes*/	
	
/* Text Sizer Styles */
.textsizer {display:inline-block;margin-left:20px;}
	.textsizer span {margin-right: 10px; font-weight:600;}
	.textsizer a {display: inline;padding:2px 3px;}
	.textsizer .small{font-size:18px;line-height:24px;}
	.textsizer .medium{font-size:20px;line-height:26px;}
	.textsizer .large{font-size:22px;line-height:28px;}

/* Bootstrap Carousel Indicators */
.carousel-indicators {position:relative; bottom:0;}
	.carousel-indicators li {border:1px solid #818285; background:#818285;}
	.carousel-indicators li.active {border:1px solid #eef0f2; background:#eef0f2} 

/* -- Formatting classes -- */
.row.flushcolumns > * {padding:0}	
.img-thumbnail {background-color:#f7f7f7; border:2px solid #333; border-radius:1px}
	
/* Misc accents */
.left-border {border-left: 1px solid #d2d2d2;}

/* Call Out Box */
.emphasisbox {background:#f7941e; padding:50px;}
	.emphasisbox-alt {background:#144358;}
.emphasisbox .htag {color:#fff; margin-bottom:10px;}
.emphasisbox blockquote .htag:first-child {margin-top:0}
.emphasisbox.transparent{background: rgba(47, 47, 47, .8); padding: 50px;}
@media screen and (max-width: 767px) {
	.emphasisbox {padding:25px;}
}


/* Accordion Styling */
.tpf-ac-trigger {cursor:pointer; position:relative; padding-left:25px; margin:0 0 20px}
.tpf-ac-trigger::before {   
    position: absolute;
    top:35%;left:0;
    content: "";display: block;
    width: 0.4em; height: 0.4em;
    transform: rotate(45deg);	
    border-right: 0.2em solid #144358;
    border-top: 0.2em solid #144358;
	}
	
.tpf-ac-trigger.tpf-active::before {transform: rotate(135deg)}

/* Tabs Styling */
.nav-tabs.tabsc {border-bottom:2px solid #f7941e}
.nav-tabs.tabsc a { padding: 10px 20px;border-radius:0; background:#818285; color:#FFF }
.nav-tabs.tabsc .dropdown-menu {background:#818285}
.nav-tabs.tabsc .dropdown-menu .divider {background:#f7941e;}
.nav-tabs.tabsc >.active >a,
.nav-tabs.tabsc >li >a:focus,
.nav-tabs.tabsc >li >a:hover {background:#f7941e; color:#FFF}
.tab-content.tabsc {	background:#EFEFEF; padding:20px}

/* Table Styling */	
.table.tablec tr th  {background:#01a88a; color:#FFF}
.table.tablec tr th:nth-of-type(even) {background:#144358}
.table.tablec tr:nth-of-type(odd) {background-color: #efefef}
.table.tablec tr:nth-of-type(odd) td:nth-of-type(even) {background-color: #e7e7e7}
.table.tablec tr:nth-of-type(even) {background-color: #f9f9f9}
.table.tablec tr:nth-of-type(even) td:nth-of-type(even) {background-color: #f0f0f0}
	
.tpf-caption.tpfstyle {background:#818285; color:#fff; border:none; padding:0;}
.tpf-caption.tpfstyle .tpf-caption-title {padding:0 10px;}
.tpf-caption.tpfstyle .tpf-caption-text {padding:0 10px;}
.tpf-caption-img img {display:block; margin:0 auto;}

.tpf-latest-post .wp-post-image {float:none; margin:0}
.nomargin {margin:0}

.list-inline .last{padding-right:0}
.list-border li {border-right:1px solid #dadada;}
.list-border li.last {border:none;}
.list-inline>li {padding-left:10px; padding-right:10px;}

.widthbox {max-width:1024px; margin:0 auto}

/* bstrap pull ins */
.d-inline {display:inline}
.d-block {display:block}

/* Background color box to right or left */
.background-offset {position: relative;}
.background-offset::before {background:#144358; content: " "; position: absolute; top: 0; bottom: 0; right: 0; left: 69%; display: block;}
	.background-offset-alt::before {background:#eef0f2;}
	.background-offset-left::before {left:0; right:75%;}
@media screen and (max-width: 991px) {
	.background-offset::before {display:none;}
}

.nopwrap p {margin-bottom:0;}

img.caption-middle {margin:32% auto -29%;transform:translateY(-50%)}

	@media screen and (max-width: 991px) {
		img.caption-middle{margin:15% auto -20%}
	}
	@media screen and (max-width: 767px) {
		img.caption-middle{margin:initial;transform:none}
	}


/* = Sticky Nav ---------------------------------------------------------------------------------------------------------------  */
.am-sticky-toprow{background:#eef0f2;color:#144358; font-size:15px}
	.am-sticky-toprow a {color:#144358;}
	.am-sticky-toprow a:hover {color:#f7941e;}

.am-sticky-mainrow {background:#fff; color:#144358;}
	.am-sticky-mainmenu > li > a {color:#144358 }
	.am-sticky-mainmenu >li:hover>a{color:#f7941e; text-decoration:none}
	.am-sticky-mainmenu >li.current_page_item>a {color:#f7941e;}
	.am-sticky-mainmenu .sub-menu {border-bottom:4px solid #818285; background:#fff;}
		.am-sticky-mainmenu li li a{color:#30235f; background:#eef0f2; font-size:14px;}
		.am-sticky-mainmenu li ul a:hover{color:#fff; background:#818285;}
		.am-sticky-mainmenu li.li-has-content-menu ul a:hover{color:#144358;background:0;}

/* Sticky condensed menu */
.am-sticky-side-panel {background:#fff;}
.am-sticky-nav-condenced a {color:#144358;}
	.am-sticky-nav-condenced a:hover {color:#f7941e;}
.am-sticky-accordion > li > a {color:#144358;}
	.am-sticky-accordion > li > a:hover {color:#f7941e;}
	.am-sticky-accordion > li li a {background:#144358; color:#fff;}
	.am-sticky-accordion > li li a:hover {background:#f7941e; color:#144358;}
	
	

#logo_sticky {margin:20px 0 0;}
#logo_sticky h1, #logo_sticky h1 a{font-size:16px; font-weight:bold; margin:30px 0 5px 0; line-height:18px}
#logo_sticky h2, #logo_sticky h2 a{display:none;}


/* = Highlight Effects  --------------------------------------------------------------------------------------------------------  */
/* shift elements */
.shift-up {margin-top:-10%}
.shift-bottom {margin-bottom:-10%}

/* ELEMENTS */
.ih-item.circle .tpf-fig-caption-img-wrap::before {box-shadow: 0 0 0 16px rgba(138, 172, 163, 0.3) inset, 0 1px 2px rgba(0, 0, 0, 0.3)}

figure {float:none!important; }
figure + ul {clear:both; margin-top:20px}

figure[class*='effect-'] {background:#144358;}
figure[class*='effect-'] figcaption {color:#fff;}
figure[class*='effect-'] .tpf-fig-caption-verb a {color:#fff;}
figure[class*='effect-'] .tpf-fig-caption-verb a:hover {color:#f7941e;}


/* = Topbar ------------------------------------------------------------------------------------------------------------- */
#header_topbar {background:#fff; color:#000; padding:8px; font-size:15px;}


/* = Header ------------------------------------------------------------------------------------------------------------- */
#header {background:#fff; padding:20px 0}

#header #logo img {max-width:100%}
	#header #logo {margin:0}
	
#header #logo h1, #header #logo h1 a{font-size:30px;font-weight:bold;margin:5px 0; line-height:30px}
#header #logo h2, #header #logo h2 a{font-size:14px;line-height:14px; margin:0;}

#header .call {text-transform:uppercase; font-size:22px;}
#header .tel {color:#f7941e; font-size:24px; line-height:28px; font-weight:600;}
#header .adr {color:#144358; font-size:16px; line-height:18px;}
#header .adr:hover {color:#f7941e; font-size:16px; line-height:18px;}
#header hr {margin:20px 0;}

@media screen and (max-width: 1200px) {
	#header .tel {font-size:20px;}
}

/* = Mobile Header ------------------------------------------------------------------------------------------------------------- */
#mobile_header {padding:10px 0;}

#mobile_header .mobile_holder {position:relative;}
	#mobile_header .mobile_holder h1{margin:0; font-size:25px; line-height:35px;}

#mobile_header #mobile_logo {position:absolute; font-weight:700; margin-top:10px;}
	#mobile_header #mobile_logo img {width:100%; max-width:240px;}
	
	#mobile_header h2.thmplt_logo {display:none;}
 	#mobile_header hr {margin:10px 0;}
	@media screen and (max-width: 400px) {
		#mobile_header .mobile_holder h1{font-size:18px; line-height:25px;}
	}


/* = Main Navigation ------------------------------------------------------------------------------------------------------------- */

/* Navigation Bar */
#navigation {background:#30235f; overflow: visible; padding:0px}

	/* Dropdown Style */
	#mainmenu{margin:0; float:left; padding:0;}	
	#header #mainmenu{float:right;}		
		
	#mainmenu>li>a{color:#144358; font-size:16px; line-height:16px;padding:15px 20px; font-weight:normal; text-transform:uppercase;} 
 	#mainmenu>li:hover>a{color:#f7941e; text-decoration:none}	
	#mainmenu>li.current_page_item>a {color:#f7941e}
	
	/* Navigation with alternative colors */
	nav.nav_alt #mainmenu>li>a{color:#eef0f2;}
	nav.nav_alt #mainmenu>li>a:hover{color:#f7941e;}
	nav.nav_alt #mainmenu>li.current_page_item>a {color:#f7941e}	
	
	/* Sub menu */
	#mainmenu .sub-menu {background:#eef0f2; border-bottom:4px solid #818285; width:200px; margin-top:0;}
	#mainmenu .sub-menu>li>a{color:#144358; font-size:14px; padding:4px 16px; margin:0;}
	#mainmenu .sub-menu>li>a:hover{color:#fff; background:#818285;}

	#mainmenu>li.first>a, #mainmenu>li:first-child>a{padding-left:0}
	#mainmenu>li.last>a, #mainmenu>li:last-child>a{background:0; padding-right:0}	

		
	/* Accordion Style */
	#mainmenu_accordion, #mainmenu_accordion ul {list-style:none outside; margin:0; padding:0; overflow:hidden;}
	#mainnav_accordion {text-align:right;}
	#mainnav_accordion .sub-menu {text-align:left;}

	#mainmenu_accordion>li>a {color:#144358; background:0; font-size:18px; line-height:60px; margin:0; cursor:pointer; height:60px; display:block; padding:0; border:0;}
	#mainmenu_accordion>li>ul {padding: 0; margin:0 0 40px; /*border-top:1px solid #54583A;*/}
	
	#mainmenu_accordion ul li a{border-bottom:1px solid #eef0f2; display:block; text-decoration:none; font-weight:normal; 
								/*height:40px; line-height:40px;*/ height:auto; line-height:16px; padding-top:10px!important; padding-bottom:10px!important;}
	#mainmenu_accordion ul li a:hover {text-decoration:none;}	
	
		/* Mobile Submenu */
		#mainmenu_accordion>li>ul>li a {color:#144358; background:0; padding-left:20px; text-align:left;}		
		#mainmenu_accordion>li>ul>li a:hover {color:#fff; background:#818285;}
		
		#mainmenu_accordion>li>ul>li li a { background:#fff; padding:0 0 0 40px;}		
		#mainmenu_accordion>li>ul>li li li a {background:#fff; padding:0 0 0 50px;}
		#mainmenu_accordion>li>ul>li li li li a {background:#fff; padding:0 0 0 60px;}		

		/* If a menu item has an dropdown */
		#mainmenu_accordion .menu-item-has-children>a:after{content:"\e252";  font-family:"Glyphicons Halflings"; margin:0 10px 0 0; display:inline-block; 
				float:right; font-size:10px;}

		#mainmenu_accordion  .li-has-content-menu .sub-menu {display:block}
		#mainmenu_accordion  .li-has-content-menu .sub-menu li ul {display:block!important}

	@media screen and (max-width: 1550px) {
		#mainmenu>li>a{font-size:14px; line-height:14px; padding:15px 10px;	}	
	}
	@media screen and (max-width: 1400px) {
		#mainmenu>li>a{font-size:14px; line-height:13px; padding:15px 6px;	}	
	}
	@media screen and (max-width: 1279px) {
		#mainmenu>li>a{font-size:14px;padding:15px 6px;	}	
	}
 

/* = Main Section ------------------------------------------------------------------------------------------------------------- */
#main {background:#fff;}
#main .container {max-width:1280px}

/* Hide the breadcrumbs on the homepage */
.home #main #breadcrumbs {display:none;}
#main #breadcrumbs {color:#000}
	#main #breadcrumbs a {color:#01a88a}
	
.nosidebar #main .main_section {width:100%;}

.main_aside .first {margin-top:0}
/*.main_aside .first .htag {margin:0 0 60px}*/

/* Adjust addthis tool box when after the H1 header */
/*h1.topheader + .addthis_toolbox {margin:-45px 0 60px}*/


/* = Sidebar Section --------------------------------------------------------------------------------------------------------- */
/* Sidebar Quick Contact Form Box*/
.qcwrap {background:#144358; padding:20px; color:#FFF}
.qcwrap  .form-control {background:#FFF}
.qcwrap .htag {color:#FFF; font-size:30px; text-align: center; margin:0 0 20px}
.qcwrap textarea.large{height:150px!important}


/* = Banner/Graphic - Carousel ------------------------------------------------------------------------------------------------------------- */

/* Graphic title styles */
#graphic .caption-title {color:#f7941e; font-size: 100px; line-height:100px; font-weight:400; margin:20px 0; padding:0; text-transform:capitalize; display:block;}
#graphic .caption-title-alt {color:#144358; font-size:25px; line-height:30px; margin-bottom:0; text-transform:uppercase; letter-spacing:5px;}
@media screen and (max-width: 1279px) {
	#graphic .caption-title {font-size:60px; line-height:65px; margin:10px 0;}
	#graphic .caption-title-alt {font-size:18px; line-height:18px;}
}
@media screen and (max-width: 991px) {
	#graphic .caption-title-alt {text-transform:uppercase; letter-spacing:0;}
}
@media screen and (max-width: 767px) {
	#graphic .caption-title {font-size:20px; line-height:25px; margin:0;}
	#graphic .caption-title-alt {font-size:16px; line-height:18px; margin:0}
}

.caption-box-dark .caption-wrapper .caption-box {background:rgba(0, 0, 0, 0.3)}
.caption-wrapper .caption-box hr {margin:20px 0;}
.caption-wrapper .caption-box p {color:#000}

/*.carousel-inner {background:#000}*/

@media screen and (max-width: 991px) {
	#graphic .caption-box p {margin-bottom:20px;}

	/* Caption Break Styles */
	#graphic .caption-break .caption-wrapper {background:#eef0f2;} /* Caption break background color */
	#graphic .caption-break .caption-wrapper .caption-title {color:#144358;}	

	#graphic .item_fullwidth .carousel-caption .caption-box {max-width:100%; background:0;}
	#graphic .item_fullwidth .carousel-caption {margin:0 auto; position:relative;}	
	#graphic .carousel-inner > .item > .constrained {height:500px;} /* Setting: constrains image to height */	
}
@media screen and (max-width: 767px) {		
	#graphic .carousel-inner > .item > .constrained {height:300px;} /* Setting: constrains image to height */
	#graphic .carousel-inner>.item>img {max-width:135%;}
}

/* -- Graphic Indicators / Arrows -- */
#graphic  ol.carousel-indicators {position:absolute; bottom:0; margin-bottom:0;}
#graphic .carousel-indicators li {border:1px solid #144358; background:#144358}
#graphic .carousel-indicators li.active {border:1px solid #f7941e; background:#f7941e} 

/* -- Global Indicators / Arrows -- */
.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {left:10%;}
.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {right:10%;}
@media screen and (max-width: 767px) {
	.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {left:30%;}
	.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {right:30%;}	
}


/* -- ADD TO THMPLT -- */	
@media screen and (min-width: 1200px) {
	.caption-topmid .caption-wrapper {top:22%;}
}
@media screen and (max-width: 991px) {	
	.caption-break .caption-wrapper {position:relative;}
	.caption-break .caption-wrapper .caption-box-wrapper {position:relative;}
	.caption-break .caption-wrapper .caption-box-wrapper .caption-box {float:none; width:100%;}
	
	.caption-text-right .caption-wrapper .caption-box {text-align:left;}
	.caption-middle .caption-wrapper {top:0;}
	.caption-right .caption-wrapper .caption-box, 
	.caption-left .caption-wrapper .caption-box {width:100%;}
}
/* -- ADD TO THMPLT -- */





/* == HOME ============================================================================= */

.home #main {
	background-color: #476a7b;
	color: #ffffff;
	text-align: center;
}
.home #main h1 {
	color: #ffffff;
	font-size: 55px;
	line-height: 60px;
	position: relative;
	margin: 0 0 60px;
}
.home #main h1:after {
	content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    width: 60px;
    height: 2px;
    background-color: #d2b437;
    margin: 0 auto;
}
@media screen and (max-width: 991px) {
	.home #main h1 {
		font-size: 45px;
		line-height: 55px;
	}
}
.home #main h1 small {
	color: #ffffff;
	font-size: 25px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-family: 'Playfair Display', serif;
}
.home #main .btn.btnc {
	background-color: #476a7b;
	border-color: #ffffff;
	color: #ffffff;
}
.home #main .btn.btnc:hover {
	background-color: #d2b437;
	border-color: #d2b437;
	color: #144358;
}
.home #main p {
	margin: 0 0 20px;
}

#our-services {
	padding:0;
}
.home #our-services figure.effect-apollo img {
	opacity: 0.75;
}
.home #our-services figure.effect-apollo:hover img {
	opacity: 0.5;
}

.home #practice {
	padding: 100px 0;
	text-align: center;
	color: #ffffff;
}
.home #practice h2 {
	color: #ffffff;
	margin: 0 0 60px;
	position: relative;
}
.home #practice h2:after {
	content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    width: 60px;
    height: 2px;
    background-color: #d2b437;
    margin: 0 auto;
}
.home #practice ul {
	list-style: none;
	padding: 0;
}
.home #practice ul li a {
	color: #d2b437;
	font-size: 30px;
	line-height: 40px;
	font-family: 'Playfair Display', serif;
}
.home #practice ul li a:hover {
	color: #ffffff;
}
.home #practice .btn.btnc {
	background: 0;
	border: 2px solid #ffffff;
	color: #ffffff;
}
.home #practice .btn.btnc:hover {
	background: #d2b437;
	border: 2px solid #d2b437;
	color: #144358;
}


/* = tpf latest shortcode global styles  ----------------------------------------------------------------------------------------------------------- */
.tpf-latest-post .title {font-size:24px; padding-bottom:10px; margin-bottom:10px; /*border-bottom:1px solid #f7941e*/}


/* = Testimonials ----------------------------------------------------------------------------------------------------------- */
#testimonials .carousel-control {display:none;}
#testimonials .fa-quote-left {font-size:40px;}
.testimonials .tpf-excerpt {font-style: italic}


/* = Blog / Latest News ----------------------------------------------------------------------------------------------------- */
.latest-news .post_image {float:left;margin:5px 25px 0 0}


/* = Bottom Section ------------------------------------------------------------------------------------------------------------- */
#bottom ul {margin-bottom:0}
#bottom .tel {display:block; margin-top:10px;}
#bottom .mapcanvas {height:200px; color:#000;}


/* = Quick Contact ------------------------------------------------------------------------------------------------------------- */
#bottom_contact .gfield.disclaimer span {font-size:15px;}


/* = Quick Links ------------------------------------------------------------------------------------------------------------- */
#bottom_links address {line-height:28px;}
#bottom_links h3 {font-size:24px; margin:0 0 20px; text-transform:uppercase;}	
#bottom_links ul {list-style:none outside; margin:0; padding:0;}



#quick-contact-2 {
	background-color: #647f8c;
	color: #ffffff;
}
#quick-contact-2 h2 {
	color: #ffffff;
	position: relative;
	margin: 0 0 60px;
}
#quick-contact-2 h2.headersmaller {
	margin: 0;
	font-size: 20px;
	line-height: 20px;
}
#quick-contact-2 h2.headersmaller::after {
	content: none;
}
#quick-contact-2 h2::after {
	content:'';
	background-color: #d2b437;
	width: 55px;
	height: 2px;
	position: absolute; 
	bottom: -20px;
	left: 0;
}

#quick-contact-2 .gform_wrapper #gform_2 .gform_footer {
	text-align: right;
}
#quick-contact-2 .gform_wrapper #gform_2 .gform_footer input[type='submit'] {
	background-color: transparent;
	border: 2px solid #d2b437;
	color: #d2b437;
}
#quick-contact-2 .gform_wrapper #gform_2 .gform_footer input[type='submit']:hover {
	background-color: #d2b437;
	border: 2px solid #d2b437;
	color: #144358;
}






/* = Footer ------------------------------------------------------------------------------------------------------------- */
#footer {background:#144358; color:#fff;padding: 40px 0 60px;}

#footer a {color:#fff;}
#footer a:hover {color:#f7941e;}

#footer ul.thmplt_wp_nav {margin-bottom:10px;margin-right: 20px;}
#footer ul.thmplt_wp_nav li {
	padding: 0 15px;
}
@media screen and (max-width: 991px) {
	#footer ul.thmplt_wp_nav li {
		display: block;
		padding: 0 10px;
	}
}
#footer ul.thmplt_wp_nav a {
	text-transform: uppercase;
	font-size: 18px;
}

#footer .footer-links-container {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
}
@media screen and (max-width: 991px) {
	#footer .footer-links-container {
		display: block;
	}
}
#footer .am-social-svg {
	width: 32px;
	height: 32px;
}
#footer .am_social_follow_pack  a .am-social-svg .svg-icon {
	fill: #d2b437;
}
#footer .am_social_follow_pack  a:hover .am-social-svg .svg-icon {
	fill: #fff;
}
#footer .am-social-svg .svg-square, #footer .am-social-svg .svg-cirlcle, #footer .am-social-svg .svg-rounded-square {
	fill: #144358;
}

/* = Back to top ------------------------------------------------------------------------------------------------------------- */
/*.backtotop.styled {	
	position:fixed;bottom:20px;right:20px;width:55px;height:55px; 
	color:#fff;font-weight:bold; font-size:30px;line-height:50px;
	display:none; text-align:center;background-color:#f7941e; border:1px solid #f7941e;
	-webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius: 15px;
}*/

.backtotop.styled {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #d2b437;
	width: 52px;
	height: 52px;
	text-decoration: none;
	border-radius: 35px;
	border: 2px solid #d2b437;
	display: none;
	z-index: 100000;
}
.backtotop.styled:hover {
	background-color: #144358;
	border: 2px solid #d2b437;
}
@media screen and (max-width: 767px) {
	.backtotop.styled {
		right: -1px;
		width: 40px;
		height: 40px;
		border-radius: 0;
	}
}
.backtotop.styled .fa {
	color: #144358;
	margin: 0;
	position: relative;
	left: 15px;
	top: 8px;
	font-size: 18px;
}
.backtotop.styled:hover .fa {
	color: #d2b437;
}
@media screen and (max-width: 767px) {
	.backtotop.styled .fa {
		left: 11px;
		top: 7px;
		font-size: 16px;
	}
}


/* = Gravity Forms ------------------------------------------------------------------------------------------------------------- */
/* input styles */
.form-control {background:#eef0f2; color:#144358; border:1px solid #eef0f2; border-radius:0; height:45px; padding:20px!important; line-height:1.42857143!important;}

/* Gravity Forms placeholder color */
.gform_wrapper  input::-webkit-input-placeholder, .gform_wrapper  textarea::-webkit-input-placeholder {color: #818285;}
.gform_wrapper  input:-moz-placeholder, .gform_wrapper  textarea:-moz-placeholder {color: #818285;}
.gform_wrapper  input::-moz-placeholder, .gform_wrapper  textarea::-moz-placeholder {color: #818285;}
.gform_wrapper  input:-ms-input-placeholder, .gform_wrapper  textarea:-ms-input-placeholder {color: #818285;}
select.form-control {color:#818285;}

.gform_wrapper .gform_footer {text-align:center;}

@media screen and (min-width: 768px) {
	/* Double column layout for short contact */
	.gform2col .gform_wrapper .gfield {width:49.5%}
	.gform2col .gform_wrapper .textarea_wrapper {float:right; margin-top:-170px} 
	.gform2col .gform_wrapper .textarea_wrapper textarea {height:169px;}
	.gform2col .ginput_container_textarea {margin-top:0!important;}
	.gform2col .gfield.disclaimer {width:100%;}	
	.gform2col .gform_wrapper .top_label .gfield_error {width:47.5%;}	
}

/*-- Subscribe Form ID 3 --*/
@media screen and (min-width: 500px) {
	#gform_3 .gform_footer {padding:0!important; text-align:right; margin-top:-45px; width:124px; float:right;}	
}
#gform_3 .gform_footer .btn {padding:10px 20px; line-height:1.5}



/* = Blog Section ------------------------------------------------------------------------------------------------------------- */
.blog.home #main article,
.category #main article,
.archive  #main article {background:#FFF; border-radius:3px; border:1px solid #ccc; padding:30px}

.topheader.resultheader  {margin:0 0 10px; font-size:18px;}
.result_data { display:block; list-style: none outside; padding:0 ; clear:both;}
.title + .result_data {margin:-36px 0 20px}
.result_data li { display: inline; padding:0 10px 0 0;}

.result_data .author, .result_data .comments-link  { display:none}

.wp-post-image {float:left; margin:0 25px 0 0}

.pagination {display:block; float:left; width:100%; padding:10px 0;  margin-top:10px;text-align:left; line-height:45px}
.pagination>*{ padding:8px; border:1px solid #eef0f2;}
.pagination .current {background:#eef0f2}
.pagination a[rel=prev] {float:left}	
.pagination a[rel=next] {float:right}


.blog .main_aside .widget {
	margin-bottom: 20px;
}


/* = Testimonials Archive/Single ------------------------------------------------------------------------------------------------------------- */
.archive.post-type-archive-amtestimonials #main article {border:0}
.archive.post-type-archive-amtestimonials #main article .fa{font-size:40px; color:#f7941e}


/* = Maps Google Map API & InfoWindow Styles */
.mapcanvas {float:left; width:99%; height:500px; margin: 0 0 20px; border:0 double #ccc}
.tpf-fwbleed .mapcanvas {width:100%; margin:0}

.iwindow {line-height:18px;width:250px}
.iwindow hr { border:0;margin:10px 0; background:0; border-top:1px solid #ddd; width:100%; clear:both }
.iwindow a {font-size:12px}
.iwindow.hasimg {width:350px}
.iwindow.hasimg hr {float:left;}
.hasimg.hasimg .infoimg {float:left;max-width:100px;margin:0 10px 0 0}

.mapimg {display:block; height:100px; width:auto;}

/* -- Directions form - active only on single locations -- */
.directions_form {float:left;display:block;border:1px solid #ddd; width:100%}
.directions_form>div {display:block;padding:10px; overflow:hidden}
.directions_form .saddr{float:left; width:75%; padding:10px}
.directions_form strong {display:block}
.directions_form .dbtn {float:right; width:18%; border:0; padding:10px;}
@media screen and (max-width: 991px) {
	.directions_form .dbtn {display: block; float: none; clear: both; margin-top: 10px; width:auto;}
	.directions_form .saddr{float:none; clear:both; width:100%;}
}


/* -- map_info styles/ Bubble -- */
.map_info {clear:none!important;overflow:hidden; line-height:18px; float:left; cursor:pointer}
.map_info {width:32%;margin:0 1% 10px 0}
.map_info .org, .map_info .line1, .map_info .line2, .map_info .csz, .map_info .tel, .map_info .fax, .map_info .extra {display:block;}
.map_info .full_address {display:block;padding-bottom:10px} 

/* = Lazy Loading  -------------------------------------------------------------------------------------------------------- */
.amlazy-up, .amlazy-down, .amlazy-left, .amlazy-right,
.amlazy-children-up *, .amlazy-children-down *, .amlazy-children-left *, .amlazy-children-right *{
	transition: -webkit-transform 1200ms ease-in-out, opacity 800ms ease-in-out; 
	transition: transform 1200ms ease-in-out, opacity 800ms ease-in-out; 
	visibility: hidden; 
	opacity: 0;
}

/** LOAD UP **/
.amlazy-up,
.amlazy-children-up *{
	-webkit-transform: translateY(100%); 
	-ms-transform: translateY(100%); 
	transform: translateY(100%);
}

/** LOAD DOWM **/
.amlazy-down,
.amlazy-children-down *{
	-webkit-transform: translateY(-100%); 
	-ms-transform: translateY(-100%); 
	transform: translateY(-100%);
}

/** LOAD LEFT **/
.amlazy-left,
.amlazy-children-left *{
	-webkit-transform: translateX(-100%); 
	-ms-transform: translateX(-100%); 
	transform: translateX(-100%);
}

/** LOAD RIGHT **/
.amlazy-right,
.amlazy-children-right *{
	-webkit-transform: translateX(100%); 
	-ms-transform: translateX(100%); 
	transform: translateX(100%);
}

/* WHEN VISIBLE */
/* load up */
.isvisible.amlazy-up,
.isvisible .amlazy-up,
.isvisible.amlazy-children-up *,
.isvisible .amlazy-children-up *,
/* load down */
.isvisible.amlazy-down,
.isvisible .amlazy-down,
.isvisible.amlazy-children-down *,
.isvisible .amlazy-children-down *,
/* load left */
.isvisible.amlazy-left,
.isvisible .amlazy-left,
.isvisible.amlazy-children-left *,
.isvisible .amlazy-children-left *,
/* load right */
.isvisible.amlazy-right,
.isvisible .amlazy-right,
.isvisible.amlazy-children-right *,
.isvisible .amlazy-children-right *{
	visibility: visible; 
	opacity: 1; 
	-webkit-transform: translateY(0px) translateX(0)!important; 
	-ms-transform: translateY(0px) translateX(0)!important; 
	transform: translateY(0px) translateX(0)!important;
}


/* = Bootstrap overwrites ------------------------------------------------------------------------------------------------------------- */
/* change the gutter widths to 25px. Essentially making them 50px in between columns  */ 
/*.row {
    margin-left: -1;
    margin-right: -25px;
}
.col-xs-25, .col-md-25, .col-lg-25,
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 25px;
    padding-right: 25px;
}*/

.container, .fwpadded  { padding-left:15px; padding-right:15px}

/* Change the width of the container for med screens
@media (min-width: 1280px) {
  .container {
    width: 1280px;
  }
}*/

/* = Framework overwrites ------------------------------------------------------------------------------------------------------------- */
[class*="qcol-"] { 
    -webkit-column-gap: 30px; /* Chrome, Safari, Opera */
    -moz-column-gap: 30px; /* Firefox */
    column-gap: 30px;	
}



.tpf-fig-caption a {color:#ffff !important;}
.caption-text-right .caption-wrapper .caption-box {
    text-align: left;
    margin: 0 0 0 60%;
}
#graphic .caption-title {
    color: #144358;
}
#graphic .caption-title-alt {
	color: #d2b437;
}
.btn.btnc, .btn.btnc::before {
    color: #144358;
    border: 2px solid #144358;
    margin: 30px 0 0 0;
}
.btn.btnc:hover {
    background: #d2b437;
    color: #144358;
    border: 2px solid #d2b437;
}
h1, h2, h3, h4, h5, h6 {
    color: #144358;
}
#header .tel {
    color: #144358;
}
.btn.btn2:hover {
    background: #d2b437;
    color: #144358;
}
#mainmenu>li>a {
    color: #144358;
}
#mainmenu>li>a:hover{
	 color: #d2b437;
}
#mainmenu>li.current_page_item>a {
    color: #d2b437;
}
#mainmenu .sub-menu {
    background: #ffffff;
    border-bottom: 4px solid #d2b437;
}
#mainmenu .sub-menu>li>a:hover {
    color: #144358;
    background: #d2b437;
}
#mainmenu>li:hover>a {
    color: #d2b437;
}
.pcolor1 .btn.btnc {
    background: #144358;
    color: #FFF;
    border: 2px solid #144358;
}
.pcolor1 .btn.btnc:hover {
    background: #d2b437;
    color: #144358;
    border: 2px solid #d2b437;
}
.linebottom::after {
    border-top: 4px solid #d2b437;

}
.longline_bottom {
    border-color: #d2b437;

}
#header .adr {
    color: #144358;

}
#header .adr:hover {
    color: #d2b437;
}
a {
    color: #d2b437;
}
.am-social-svg:hover .svg-square, .am-social-svg:hover .svg-cirlcle, .am-social-svg:hover .svg-rounded-square {
    fill: #d2b437;
}
#graphic .carousel-indicators li.active {
    border: 1px solid #d2b437;
    background: #d2b437;
}
#graphic .carousel-indicators li {
    border: 1px solid #144358;
    background: #144358;
}


.pcolor4 {
    background: #e4d287;
    color: #144358;
}
.emphasisbox-alt {
    background: #144358;
}
.pcolor4 .btn.btnc:hover {
    background: #e4d287;
    color: #144358;
    border: 2px solid #144358;
}
.pcolor4 .btn.btnc {
    background: #144358;
    color: #FFF;
    border: 2px solid #144358;
}
#footer
{
	 background: #1f4353;
}
.pcolor2 {
    background: #1f4353;
    color: #fff;
}
.pcolor2 a {
    color: #d2b437;
}
hr.colored_hr {
    border-top: 1px solid #d2b437;
    margin: 0;
}
#footer a:hover {
    color: #d2b437;
}
.pcolor1 a {
    color: #1f4353;
}
.pcolor1 a:hover {
    color: #162830;
}
.am-sticky-toprow a {
    color: #1f4353;
}
.am-sticky-toprow a:hover {
    color: #e0de04;
}
.am-sticky-mainmenu > li > a {
    color: #1f4353;
}
.am-sticky-mainmenu li li a {
    color: #144358;
    background: #ffffdf;
    font-size: 14px;
}
.am-sticky-mainmenu li ul a:hover {
    color: #144358;
    background: #d2b437;
}
.am-sticky-mainmenu .sub-menu {
    border-bottom: 4px solid #d2b437;
    background: #fff;
}
.am-sticky-mainmenu > li > a:hover {
    color: #d2b437;
}
.am-sticky-mainmenu >li:hover>a {
    color: #d2b437;
    text-decoration: none;
}
.am-sticky-mainmenu >li.current_page_item>a {
    color: #d2b437;
}
figure[class*='effect-'] {
    background: #a88f26;
}
.tpf-fig-caption a {
    color: #fff !important;

}
.sin-tec
{
	color:#d2b437;
}












































