/*
Theme Name: SaCustom Theme
Description: ---
Author: Sundberg & Associates

*/

/* what we provide tweaks */
.page-id-2946 .vc_col-sm-8 h2 {
    margin-bottom: -10px;
    margin-top: 40px;
}

.page-id-2946 .vc_col-sm-8 h2:nth-of-type(1) {
    margin-top: 0;
}

.page-id-2946 .vc_col-sm-8 h3 {
    margin-top: 25px;
}

.page-id-2946 blockquote { 
	padding-bottom:0;
}

.widget_nav_menu h2.widgettitle {
    font-size: 24px;
    color: #1c2841;
    margin:0 0 3px 0;
}

.vc_row, #main-content .row { 
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.header-img .wpb_single_image figure img {
    width: 98%;
    margin: 15px 1%;
}

.header-img .wpb_single_image .vc_single_image-wrapper, .header-img .wpb_single_image .vc_figure {
	width:100% !important;
}

.dslc-module-front { 
    font-family:'Lora', serif;
}
.rev_slider img {
user-drag: none; 
user-select: none;
-moz-user-select: none;
-webkit-user-drag: none;
-webkit-user-select: none;
-ms-user-select: none;
}

.rev_slider_wrapper {
    background-color: transparent !important;
}

.dslca-activate-composer-hook, .dslca-container .dslca-close-composer-hook, .dslca-container .dslca-hide-composer-hook, .dslca-container .dslca-show-composer-hook {
  font-family:'Lora', serif;
}

.homestack { }

.right-column-img { margin-top:90px;}
.left-column-img { margin-top: 20px;}


/* hide visual composer btn anywhere except home */
.dslca-activate-composer-hook {display:none !important;}
.home.logged-in .dslca-activate-composer-hook {display:block!important;}

/* js_composer fix */
.vc_row { margin-left: 0px;  margin-right: 0px; }
.vc_column_container .vc_column-inner { padding-left:0;}

/* sticky side column */
/* layout */
/*
.news-post-thumb { width: 32%; float:left;}
.news-post-thumb img { max-width:380px; height:auto; width:100% !important; }
.news-teaser{ width:66%; float:right;padding:0; margin:0;} */

.news-post-thumb { width: 15%; float:left;  }
.news-post-thumb img { height:auto; width:100% !important; border: 1px solid #e3e3e3; margin-top: 18px; }
.news-teaser { width:83%; float:right; padding:0; margin:0;}

.news-post { padding-bottom:15px; margin-bottom:20px; border-bottom: 0px solid #ccc;
display: block;
width: 100%;
float: left;
 }
.single-news .news-post { border-bottom: 0px;padding-top: 15px;}
.single-news h2 {
  font-size: 1.5em;
  font-weight: 700;
}
.fig_caption {
    caption-side: bottom;
    font-style: italic;
    color:#666;
    font-size:1.1em;
    padding:5px 0;
}

/* single img embed fix */
.wpb_single_image figure img {  margin-top:0px; }

/* home slider styles */
.tp-caption {
    width: 497px !important;
}
.tp-caption .slideshow-highlight {
    background-color:rgba(28,40,65,0.9);
}
.tp-caption .slideshow-highlight h1 { /* main callout that stays */
    font-size:58px;
    padding:45px 35px;
    color:rgba(255,255,255,0.5);
    line-height: 1.15 !important;
}
.tp-caption h1, .tp-caption h2 { color:#fff; font-family:'Lora', serif !important;  white-space: pre-wrap;}
.mobile-vloop-txt, .mobile-vloop-txt h1, .mobile-vloop-txt h2, .mobile-vloop-txt h3 {color:#fff; font-family:'Lora', serif !important; }

.tp-caption h2 { font-size: 60px; color:#b2953a; line-height: 1.15 !important; }
.tp-caption h4 { font-size: 28px; width: 95%; color:#b2953a; line-height: 1.15 !important; margin: 0 !important; }

.tp-caption sup {
    font-size: 8px !important;
    position: relative;
    top: -1.7em;
}
sup {
    font-size: 8px !important;
    position: relative;
    top: -0.25em;
}
.tp-static-layers {

z-index:10000 !important;
}

.mobile-vloop-txt h1 { font-size: 45px; }
.mobile-vloop-txt h2 { font-size: 20px; }

.tp-caption a, a.txt-btn { font-size:11px; text-transform:uppercase;font-weight: 700; }
a.txt-btn-lg { font-size:18px; font-weight:700;}

.mobile-vloop-txt a:before, .tp-caption a:before, a.txt-btn:before, a.txt-btn-lg:before {
    content: "\f061";
    font-weight:300 !important;
    color: inherit;
    display: inline-block;
    font-family: FontAwesome;
    font-size: inherit;
    font-weight: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    /* testing out the thickness */
    -webkit-text-stroke: 0px white;
    padding:0 3px;
    margin:0;
}
a.txt-btn-gray { font-size:11px; text-transform:uppercase; color:#7e7e7e; font-weight: 700; }
a.txt-btn-gray:hover { color:#1c2841; }
a.txt-btn-gray:before {
    content: "\f060";
    font-weight:300 !important;
    color: inherit;
    display: inline-block;
    font-family: FontAwesome;
    font-size: inherit;
    font-weight: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    /* testing out the thickness */
    -webkit-text-stroke: 0px white;
    padding:0 3px;
    margin:0;
}
.tp-caption a {
    font-family:'Lora', serif !important;
    font-size:11px;
    line-height:130%;
    color:#ffffff !important;
    text-shadow:none;
    -webkit-transition:all 0.2s ease-out;
    -moz-transition:all 0.2s ease-out;
    -o-transition:all 0.2s ease-out;
    -ms-transition:all 0.2s ease-out;
    letter-spacing: 0.1em !important;
}

.tp-caption a:hover {
    color:#b2953a !important;
}

.mobile-vloop-txt {
    color: #000;
}

.section-vloop .dslc-col, .section-vloop-caption .dslc-col { margin-bottom: 0px !important; }

.mobile-vloop-txt a {
    font-family:'Lora', serif;
    line-height:1.3;
    font-size:14px;
    text-shadow:none;
    -webkit-transition:all 0.2s ease-out;
    -moz-transition:all 0.2s ease-out;
    -o-transition:all 0.2s ease-out;
    -ms-transition:all 0.2s ease-out;
}

.mobile-vloop-txt a:hover {
color:#b2953a !important;
}

.section-partners img {
    padding: 15px 0;
}

/* VIDEO EMBED STYLE FIX*/
.wpb_video_wrapper { padding-top: 0 !important; }

#swipebox-bottom-bar, #swipebox-top-bar { display: none !important;}

.wc-responsive-video.wc-rv-ratio-16-9 {
    padding-bottom: 49% !important;
}

/* right-justified column modification */
.col-right { }
.wpb_single_image .vc_figure-caption { text-align:left !important; }

.col-align-right .wpb_single_image .vc_figure-caption {
    text-align: left !important;
    width: 75%;
    float: right;
}

/* 404 pg */
.error404 #content {
    padding-top: 200px;
}

/* NEWS pg tweaks */

.page-id-1696 .wpb_wrapper p span img {
    padding-bottom: 65px !important;
    margin-top: 8px;
}

.footer-main .execphpwidget {
    font-size: 11px;
}

/* ------------- adjust size of a.anchor -------------*/
	
.top-anchor, a.top-anchor { width:0px; height:0px; display:inline;}
.anchor{
  display: inline;
  /*visibility: hidden;*/
    float: left;
    width:1px; height:1px; 
}


/* -------------------------------- //// REPONSIVE STYLES //// ------------------------------- */

/* md - Landscape tablets and medium desktops */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
	
}

/* tablets - portraits */

@media only screen and (min-width: 768px) and (max-width: 991px) {

 .dslc-modules-section.section-vloop-caption { padding: 5px 15px 20px 15px !important; }

}


/* xs - Landscape phones and portrait tablets */
@media only screen and (max-width: 767px) {


    #content .container { width: 100%;}
    
    /* overall text style adjustment for mobiles */
    .home-blurb { padding-right: 20px;}

    .home blockquote { margin-left: 0px; padding: 0 20px; }

    h2 { font-size: 22px; }
    .signup {  padding-bottom: 30px;}

    .wpb_video_widget { margin-bottom: 0 !important;}

    .wpb_single_image.vc_align_right { text-align: left !important; }

    /* make all single img to full-width on mobiles */

    .wpb_single_image .vc_single_image-wrapper, .wpb_single_image .vc_figure, .wpb_single_image .vc_figure { width: 100% !important;}

    .vc_custom_1524243226058 .wpb_single_image .vc_single_image-wrapper {
        padding-right: 0px;
        padding-left: 0px;
        margin-left: -15px;
        width:98%;
    }

    /*home page detailed tweaks */
    .slideshow-highlight { display: none;}

    .tp-caption h2 { display:none !important; }
    .tp-caption a {display:none;}
    
    .home h1 sup {
		font-size: 0.2em !important;
        position: relative;
        top: -0.4em;
	}


    .dslc-modules-section.section-vloop-caption {
        padding: 10px 30px !important;
    }
    
    .mobile-vloop-txt h1 { font-size: 28px;width: 95%; margin: 15px 0; }

	.section-about .dslc-text-module-content { margin-top: 15px !important;}

}


@media only screen and (max-width: 580px) { /* for extreme small size */

    .vc_row, #main-content .row { 
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
    
    
    .wpb_wrapper img { width:100%; padding-bottom:0px;}
    
    .mobile-vloop-txt { padding: 0 15px;}

    .news-post-thumb, .news-teaser { width: 100%;}
    
    .home .dslc-col, .dslc-no-columns-spacing .dslc-col {
		margin-bottom: 0px !important;
	}
	.home .dslc-image-container .dslc-image img, .home .dslc-image-container .dslc-image { width: 100% !important;}

	.home .section-about .dslc-text-module-content { margin-top:0px !important; }
    .home blockquote { padding: 0 10px;}
    
    .right-column-img, .left-column-img  { margin-top:0px; }
    .wpb_single_image figure img {
        margin-top: 0px;
    }
    
    #rev_slider_10_2 .tp-caption a, #rev_slider_9_2 .tp-caption a, #rev_slider_11_2 .tp-caption a {display:block !important;}
    
    /* leadership column swaps */
    
    .container:nth-child(odd) > .leadership-list .leadership-column-right { margin-top: -15px;}
    .container:nth-child(even) > .leadership-list .leadership-column-left {
    	margin-top: -15px;
	}

    .leadership-column-right { margin-bottom: 30px;}
    
    .wpb_single_image .vc_figure-caption {
		display: none;
	}
	
    .page-id-1696 .wpb_wrapper p span img { padding-bottom: 40px !important;}
    
    /* hide breadcrumbs in Leadership */
    .parent-pageid-2948 h5 { display: none !important;}

    .leadership-grid .wpb_single_image.wpb_content_element.vc_align_center {
        margin-bottom: 20px;
        border:1px dotted #ff0000;
    }
    /* news pg thumbnails */
    .page-id-1696 .wpb_wrapper img { width: auto; }
    .page-id-1696 .container:nth-of-type(2) .wpb_text_column p, .page-id-1696 .container:nth-of-type(3) .wpb_text_column p {
		font-size: 16px;
		line-height: 1.4;
	}
	
	blockquote {
    font-size: 1.2em;
    }
    
	/* ------------- adjust vertical scroll on a.anchor -------------*/
	:target:before {
		content:"";
		display:block;
		height:100px; /* fixed header height*/
		margin:-100px 0 0; /* negative fixed header height */
		}
		
		@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
		/* IE10+ specific styles go here */  
			.anchorlink {
				display: block;
				height: 100px; /*same height as header*/
				margin-top: -100px; /*same height as header*/
				visibility: hidden;
			 }
		}
	
		/* Microsoft Edge Browser 12+ (All) - @supports method */
		@supports (-ms-ime-align:auto) {
			  
			  .anchorlink {
				display: block;
				height: 100px; /*same height as header*/
				margin-top: -100px; /*same height as header*/
				visibility: hidden;
			 }
			 
		}


} /* ----- // max width 580px */

/* ---------------------------------------------------------------
   REPONSIVE STYLES : MOBILES
 --------------------------------------------------------------- */

 /* =================================== MOBILE PORTRAITS =================================== */

/* iPad Pro/retina display | portrait */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {


} /* ----------------------------------------------- // iPad Pro/retina | portrait */

/* iPad  | landscape */
@media only screen and (min-device-width : 768px) and (max-device-width: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait) {
    


} /* ----------------------------------------------- // iPad  | landscape */

/* iPhone X | portrait  */
@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {


} /* ----------------------------------------------- // iPhone X | portrait */

/* iPhone 6+ | portrait ------- catchall for most recent devices ------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {



}  /* ----------------------------------------------- // iPhone 6+/7+/8+ | portrait | catchall --  */

/* iPhone 6, 6s, 7, 8 | portrait */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait) {



} /* ----------------------------------------------- // iPhone 6/7/8 | portrait  */


/* iPhone 5- | Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
	
	.mobile-vloop-txt h3, .mobile-vloop-txt h3 a, .tp-caption h3 a { font-size: 12px; }
    .dslc-modules-section.section-vloop-caption { padding: 0px 5px !important; }
	
}

/* =================================== MOBILE LANDSCAPES =================================== */
/* iPad Pro/retina display  | landscape */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape)  {

}
/* iPad  | landscape */
@media only screen and (min-device-width : 768px) and (max-device-width: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape) {



} /* ----------------------------------------------- // iPad  | landscape */

/* iPhone X | landscape  */
@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
	 
	 /* news pg thumbnails */
    .page-id-1696 .wpb_wrapper img { width: auto; }
    .page-id-1696 .container:nth-of-type(2) .wpb_text_column p, .page-id-1696 .container:nth-of-type(3) .wpb_text_column p {
		font-size: 16px;
		line-height: 1.4;
	}
	
	blockquote { font-size: 1.2em;}
	
	.tp-caption.white, .white {
		margin-left: 0 !important;
	}
	
    
}

/* iPhone 6+/7+/8+ | landscape */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: landscape) { 

    #rev_slider_11_2 .tp-caption.white { margin-left:-155px !important; }
    #rev_slider_10_2 .tp-caption a, #rev_slider_9_2 .tp-caption a, #rev_slider_11_2 .tp-caption a {display:block !important;}

    .wpb_single_image .vc_figure-caption { display: none; }
    .right-column-img { margin-top: 0px;}
}

/* iPhone 6  | landscape */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
	#rev_slider_11_2 .tp-caption.white { margin-left:-123px !important; }
	 #rev_slider_10_2 .tp-caption a, #rev_slider_9_2 .tp-caption a, #rev_slider_11_2 .tp-caption a {display:block !important;}
	
	.wpb_single_image .vc_figure-caption { display: none; }
	.right-column-img { margin-top: 0px;}
}


/* iPhone 5- | Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
	.tp-caption.white, .white { margin-left:-74px !important; }
	 #rev_slider_10_2 .tp-caption a, #rev_slider_9_2 .tp-caption a {display:block !important;}
	 
	 .mobile-vloop-txt h1 { margin-left:-15px; }
	 .wpb_single_image .vc_figure-caption { display: none; }
	 .right-column-img { margin-top: 0px;}

}

