/* DEPT A BST MOBILE.CSS */

.container-fluid { padding:0 0.75em; }

/* HEADER
------------------------------------------- */

.header { min-height: 0; }
.header .headeripar > .section.image { padding: 2em 0; }
.header .headeripar > .section.image a { display: block; text-align:center; }
.header .headeripar > .section.image img {
    height: auto;
    width: auto;
    max-width: 100%;
    display: none;
    transition: opacity 0.3s;
}

/* FEATURE CAROUSEL (JAN 2014)
----------------------------------------- */


.feature .webcomm-carousel .carousel-inner .carousel-image {
	position:inherit;
	display:block;
	clear:both;	
}
.feature .webcomm-carousel .carousel-inner .carousel-image img { height:auto; }

.feature .webcomm-carousel .carousel-inner .carousel-caption {
    background:#000000;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 1.0);
    position: inherit;
	clear:both;

	top:auto;
	right:auto;
	bottom:auto;
	left:auto;
}

/* transition stuff */
.feature .webcomm-carousel .next.left .carousel-image,
.feature .webcomm-carousel .next.right .carousel-image,
.feature .webcomm-carousel .next.left .carousel-caption,
.feature .webcomm-carousel .next.right .carousel-caption,
.feature .webcomm-carousel .prev.left .carousel-image,
.feature .webcomm-carousel .prev.right .carousel-image,
.feature .webcomm-carousel .prev.left .carousel-caption,
.feature .webcomm-carousel .prev.right .carousel-caption {
	top:auto;
	right:0;
	bottom:0;
	left:0;
	position:static;	
}

/* FEATURE TABS
---------------------------------------------------- */

/* tabs */

.feature_tabs ul.nav-tabs {
    background-color:#FFF;
    margin:0 0 1.5em 0;
    border: 1px solid #999;
    position:relative;
}
.feature_tabs ul.nav-tabs::after {
    content:"";
    display:table;
    clear:both;
}

.feature_tabs ul.nav-tabs li:last-child::after {
    content:"";

    width: 0; 
    height: 0; 
    border-left: 10px solid transparent; 
    border-right: 10px solid transparent; 
    border-top: 10px solid #999;
        
    position:absolute;
    top: 100%;
    left:50%;
    z-index:1;
    -webkit-transform: translateX(-50%);
    -moz-transform:translateX(-50%);
    -ms-transform:translateX(-50%);
    transform: translateX(-50%);      
}

.feature_tabs ul.nav-tabs * {
    border-radius:0 0 0 0;  
}

.feature_tabs ul.nav-tabs > li {
    width:100%;
    overflow:hidden;
    border:none;
    margin:0;
}

.feature_tabs ul.nav-tabs li a,
.feature_tabs ul.nav-tabs li.active a,
.feature_tabs ul.nav-tabs li a:hover {
    font-size:100%;
    border:none;
    border-bottom:1px solid #ddd;
    margin:0;
}
.feature_tabs ul.nav-tabs li:last-child a { border-bottom:none; }

.feature_tabs ul.nav-tabs > li.active a,
.feature_tabs ul.nav-tabs > li:hover a {
    background-color:#EDEDED;
    color:#333;
    text-shadow: 0px 1px 1px rgba(153, 153, 153, 0.75);
}

/* tab content */

.feature_tabs .tab-content .tab-pane .alltabs,
.feature_tabs .tab-content .tab-pane .thistab {
    width:auto;
}

.feature_tabs .tab-content {
    background-color:#FFF;
    padding:0;
    border: 1px solid #999;
}

.feature_tabs .tab-content .tab-pane {  
    width:auto;
    overflow:hidden;
    padding:1em;
    min-height:292px;
    background-repeat:no-repeat;
    background-size: cover;
    background-position:center;
}

.feature_tabs .tab-content .tab-pane .thistab { 
    padding: 1.5em;
    -moz-box-shadow: 0 0 5px rgba(108, 108, 108, 0.75);
    -webkit-box-shadow: 0 0 5px rgba(108, 108, 108, 0.75);
    box-shadow: 0 0 5px rgba(108, 108, 108, 0.75);
    background-color:rgba(255, 255, 255, 0.85);
    /*text-shadow: 1px 1px 1px #FFF;*/
}

/* tan feature */
body.tan-feature .feature_tabs ul.nav-tabs {
    border: 1px solid #bebb99;
}
body.tan-feature .feature_tabs .tab-content {
    border:1px solid #bebb99;
}
body.tan-feature .feature_tabs ul.nav-tabs li a,
body.tan-feature .feature_tabs ul.nav-tabs li.active a,
body.tan-feature .feature_tabs ul.nav-tabs li a:hover {
    border-bottom:1px solid #bebb99;
}
body.tan-feature .feature_tabs ul.nav-tabs li:last-child a { border-bottom:none; }
body.tan-feature .feature_tabs ul.nav-tabs > li.active a,
body.tan-feature .feature_tabs ul.nav-tabs > li:hover a {
    background-color:#f2f1eb;
}
body.tan-feature .feature_tabs ul.nav-tabs li:last-child::after {
    border-top: 10px solid #bebb99;
}

/* FEATURE TEXT IMAGE
----------------------------------------- */

.feature .feature_txtimg .text { 
    max-width:none;
}


/* NAVIGATION
----------------------------------------- */

.main .nav {
    margin-bottom:2em   
}

/* MAIN
----------------------------------------- */
 
.column-control-right-sidebar > div .textimage,
.column-control-left-sidebar > div .textimage {
    border-bottom:1px solid #ccc;
}
.column-control-right-sidebar > div .textimage .text,
.column-control-left-sidebar > div .textimage .text {
    padding:0.75em 0;
    margin:0;
}
.column-control-right-sidebar > div .textimage .text p,
.column-control-left-sidebar > div .textimage .text p {
    margin:0;
}
.column-control-right-sidebar > div .textimage:last-child,
.column-control-left-sidebar > div .textimage:last-child { border-bottom:none; }

/* youtube */
.youtubevid iframe {
    height: auto;
    width: 100%;    
}




/* COMMON BST - MOBILE.CSS */


/* GLOBAL HEADER
------------------------------------------------- */

.globalheader ul { margin:0 auto; }
a.tip { position:relative; }
a.tip span,
a.tip:hover span { display: none; }

/* FOOTER
------------------------------------------- */

.footer { padding:2em 0; }

.footerlogo,
.footeraddress,
.footerColumn {
    text-align:center;
}
.footer #footer_social_icons h1,
.footer #footer_social_icons h2,
.footer #footer_social_icons h3 {
    margin: 0.75em auto;
}
.footer #footer_social_icons ul { margin:0 auto; }
.footer #footer_social_icons { margin-bottom:2em; }
.footer #footer_social_icons .text { float:none; margin:0 auto; }

.footer .row-fluid { margin: 0 auto; }

.footer .footerColumn { margin-bottom:2em; }
.footer .footerColumn:last-child { margin-bottom:0; }

.footer .footerlogo,
.footer .footeraddress {
    display:block;
    padding:0;
    margin:0;
    width:100%;
}
.footer .footerlogo { margin-bottom:2em; }
.footer .footerBottom { text-align:center; }

.footer .footerlogo img {
    width: 45px;
    height: 62px;
}

.footer .first.column, .footer .last.column {
    float: none !important;
    width: auto !important;
}

/* FOO TABLE
------------------------------------ */

table .footable-toggle { 
	background-image:url(../../../content/dam/common/design2013/glyphicons_halflings.png);
	background-repeat: no-repeat;
	display: inline-block;
	width: 14px;
	height: 14px;
	margin: 0 8px 0 0;
	line-height: 14px;
	vertical-align: text-top;
	
	vertical-align: top;
	*display: inline;
	*zoom: 1;
	*margin-right: .3em;
	cursor:pointer;
}

/* detail view */

table tr td.expand span.footable-toggle { background-position: 0px -96px; }
table tr.footable-detail-show td.expand span.footable-toggle { background-position: -24px -96px; }

table.footable-detail-show,
table.footable-row-detail {
	background-color: #ebf4fa;	
}
table td.footable-row-detail-cell .footable-row-detail-inner .footable-row-detail-row {
	border-bottom:1px solid #d3e3ed;
	border-top:1px solid #FFFFFF;

    margin:0 0.25em;
    padding: 0.5em 0;
}
table td.footable-row-detail-cell .footable-row-detail-inner .footable-row-detail-name { 
    color: #555;
    font-style: italic;
    margin-bottom: 0.5em;
    padding: 0;
    text-shadow: 0 1px 1px #FFFFFF;
}
table td.footable-row-detail-cell .footable-row-detail-inner .footable-row-detail-row:first-child { border-top:none; }
table td.footable-row-detail-cell .footable-row-detail-inner .footable-row-detail-row:last-child { border-bottom:none; }


/* FOO TABLE - SOCIAL MEDIA
------------------------------------ */

/* table body */
table.socialmedia_ou > tbody > tr > td { 
	display:block; 
	text-align:center; 
	width:auto!important;
	border:none;
}
table.socialmedia_ou > tbody > tr > td a {
	margin:0;
	display:inline-block;
	float:none;	
}
table.socialmedia_ou > tbody > tr > td { overflow:auto; }


/* SPACING
----------------------------------------- */

.main .nav { margin-bottom:2em	}

.main .relatedpar > .parsys_column,
.main .relatedpar > .parsys_column > .parsys_column { margin-bottom:2em; }
.main .relatedpar > .parsys_column > .parsys_column:last-child { margin-bottom:0; }

.main .contentpar > .parsys_column, 
.main .contentpar > .parsys_column > .parsys_column { margin-bottom:2em; }
.main .contentpar > .parsys_column > .parsys_column:last-child { margin-bottom:0; }

.main .relatedpar > .parsys_column > .parsys_column:last-child .textimage { margin-bottom:0; }

.main .nav { margin-bottom:2em; }
/* GODDARD MOBILE.CSS */

/* FEATURE PAR
------------------------------------------------- */

.feature .featurepar p { margin-bottom:0; }

.feature .featurepar > div {
    padding:0;
    margin:0;
}
.health_services .feature .featurepar .imgContainer,
.counseling_services .feature .featurepar .imgContainer {
    height:290px;
    overflow:auto;
	background-color:#FFF;
    background-repeat:no-repeat;
	background-size:cover;
	border:1px solid #999;
}
.health_services .feature .featurepar .imgContainer { background-image:url(../../../content/dam/goddard/feature/hpFeature_healthservies.jpg); }
.counseling_services .feature .featurepar .imgContainer { background-image:url(../../../content/dam/goddard/feature/hpFeature_councelingservies.jpg); }

.feature .imgContainer .text {
    border:1px solid #ccc;
    border-radius: 0.5em 0.5em 0.5em 0.5em;  
    float:none;
	background: rgb(244, 244, 244); /* The Fallback */
    background: rgba(244, 244, 244, 0.9); 
    width:auto;
    padding: 0.5em;
    margin:1em;
    font-family: Georgia Helvetica;
    font-style: italic;
    color:#666; 
    font-size:110%;   

    -webkit-box-shadow: 0px 0px 5px #999;
    -moz-box-shadow: 0px 0px 5px #999;
    box-shadow: 0px 0px 5px #999;
}

.feature .imgContainer .text p {
    padding:0;
    margin:0;
}

.feature .imgContainer .text ul {
    padding:0;
    margin:0;
}

.feature .imgContainer .text ul li {
    list-style-type:none;
    padding:0.5em 0;
    border-top:1px solid #e8e8e8;
    border-bottom:1px solid #FFF;
}

.feature .imgContainer .text ul li i {
    height:16px;
    width:16px;
    display:inline-block;
    vertical-align: middle;
    margin-right:0.75em;
	padding:0;
	background-image:url(../../../content/dam/goddard/design/glyphicon_sprite.png); 
	background-repeat:no-repeat;
}
.feature .imgContainer .text ul li i.talk { background-position:0 0; }
.feature .imgContainer .text ul li i.heart { background-position:-16px 0; }
.feature .imgContainer .text ul li i.life { background-position:-32px 0; }
.feature .imgContainer .text ul li i.hospital { background-position:-48px 0; }
.feature .imgContainer .text ul li i.building { background-position:-64px 0; }
.feature .imgContainer .text ul li i.smoke { background-position:-80px 0; }
.feature .imgContainer .text ul li i.calendar { background-position:-96px 0; }
.feature .imgContainer .text ul li i.briefcase { background-position:-112px 0; }
.feature .imgContainer .text ul li i.link { background-position:-128px 0; }
.feature .imgContainer .text ul li i.phone { background-position:-144px 0; }
.feature .imgContainer .text ul li i.check { background-position:-160px 0; }
.feature .imgContainer .text ul li i.medicine { background-position:-176px 0; }
.feature .imgContainer .text ul li i.email { background-position:-192px 0; }
.feature .imgContainer .text ul li i.clock { background-position:-208px 0; }
.feature .imgContainer .text ul li i.info { background-position:-224px 0; }

.feature .imgContainer .text ul li.social a { text-indent:-999em; margin:0; }
.feature .imgContainer .text ul li.social a:first-child { margin-left:1em; }
.feature .imgContainer .text ul li:first-child { border-top:none; }
.feature .imgContainer .text ul li:last-child { border-bottom:none; }
.feature .imgContainer .text ul li i.facebook { background-image:url(../../../content/dam/goddard/design/goddardFacebook.png); }
.feature .imgContainer .text ul li i.twitter { background-image:url(../../../content/dam/goddard/design/goddardTwitter.png); }
.feature .imgContainer .text ul li i.youtube { background-image:url(../../../content/dam/goddard/design/goddardYoutube.png); }

.feature .caption {
    padding:1.5em;
	background-repeat:repeat;
}
.counseling_services .feature .caption { background-image:url(../../../content/dam/goddard/design/bg_green.jpg); }
.health_services .feature .caption { background-image:url(../../../content/dam/goddard/design/bg_blue.jpg); }

.feature .caption h1,
.feature .caption h2,
.feature .caption h3 {
    padding:0;
    margin:0 0 0.5em 0;
    color:#FFF;
    text-transform:uppercase;
    font-size:120%;
    font-weight:bold; 
}
.feature .caption .text {
    font-style:normal;
    color:#fff;
}

/* HEALTH SERVICES HOMEPAGE RELATED PAR
----------------------------------------- */


.health_services .main .relatedpar .textimage { border-top:1px solid #ccc; }
.health_services .main .relatedpar .textimage:first-child { border-top:none; }
 
.health_services .main .relatedpar .textimage .image {
    margin:0 0 1.5em 0;
    padding:0;
	border:1px solid #CCC;
	text-align:center;
	overflow:hidden;
	height:auto;
	width:100%;
	float:none!important;
}
.health_services .main .relatedpar .textimage .image img {
	max-width:inherit;
	width:100%;
	height:auto;
}

.health_services .main .relatedpar .textimage .text { 
	clear:both; 
	width:auto; 
}

.health_services .main .relatedpar .textimage .specialone {
    font-size:110%;
    color:#444;
    font-weight:bold;
    margin:0 0 1em 0;
    padding:0;
    width: 80%;
    text-transform:none;  
}

/* COUNSELING SERVICES HOMEPAGE RELATED PAR
----------------------------------------- */

.counseling_services .main .relatedpar .textimage { border-top:1px solid #ccc; }
.counseling_services .main .relatedpar .textimage:first-child { border-top:none; }
 
.counseling_services .main .relatedpar .textimage .image {
    margin:0 1.5em 1.5em 0;
    padding:0;
	text-align:center;
	overflow:hidden;
	height:auto;
	width:100%;
	float:left!important;
	border:1px solid #CCC;	
}
.counseling_services .main .relatedpar .textimage .image img { 
	max-width:inherit;
	width:100%;
	height:auto;
}

.counseling_services .main .relatedpar .textimage .text { width:auto; }

.counseling_services .main .relatedpar .textimage h1,
.counseling_services .main .relatedpar .textimage h2,
.counseling_services .main .relatedpar .textimage h3 {
    text-transform:uppercase;
    color:#A08E7C;
    font-size:100%;
    font-weight:normal;
    display:inline-block;
    margin:0 0 1.25em 0;
    padding:0;
	display:inline-block;
}

