/*
Theme Name:     YMCA Camp Mason
Author:         Burlington Press Web Services
Author URI:     http://www.burlingtonpresswebservices.com
Template:       thestory
*/

@import url("../thestory/style.css");


/************* CHROME & FIREFOX BOLDING OVERRIDE *************/
body { -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale;  }



/************* FONT OVERRIDES *************/
.content-box, .sidebar, .post-content { line-height: 140% !important; letter-spacing: -0.03em !important; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.05em !important; }
h3 { color: #555555 !important; }
.content-box h1 { font-size: 58px !important; color: #01a490 !important; line-height: 100% !important; }
.content-box p, .content-box ul, .context-box ol { padding-bottom: 15px !important; }
@media screen and (max-width: 480px) { .content-box h1 { font-size: 38px !important; } }
#menu a { letter-spacing: -0.02em !important; }



/************* HEADER COLOR OVERRIDE *************/
/****** LOOK IN STORY OPTIONS ** TYPOGRAPHY & STYLES ** ADDITIONAL CSS ******/





/************* LOGO OVERRIDE *************/
#mobilename { display: none; }
#logo-left { float: left; }
#logo-right { display: block; float: right; text-align: right; color: #fff; font-size: 34px; font-family:cachetymediumregular; text-transform: uppercase; }
.nav-menu { clear: both; }

.fixed-header-scroll #logo-container img {
  max-height: 100px !important;
  width: 255px !important;
}


@media screen and (max-width: 1000px) {
 #mobilename { display: block; font-family:cachetymediumregular; text-transform: uppercase; color: #fff; font-size: 30px; margin-left: 12px; }

 #logo-container img {
    max-width: 229px !important;
    max-height: 90px !important;
    width: 229px !important;
    height: 90px !important;
    margin-top: -10px !important;
    margin-bottom: 10px !important;
  }
}

@media screen and (max-width: 780px) {
 #mobilename { display: block; color: #fff; font-size: 24px; margin-left: 9px; }
 #logo-container a img {
    max-width: 191px !important;
    max-height: 75px !important;
    width: 191px !important;
    height: 75px !important;
    margin-top: -15px !important;
    margin-bottom: 10px !important;
  }
}

@media screen and (max-width: 480px) {
 #mobilename { display: block; color: #fff; font-size: 21px; margin-left: 9px; }
 #logo-container a img {
    max-width: 168px !important;
    max-height: 66px !important;
    width: 168px !important;
    height: 66px !important;
    margin-top: -15px !important;
    margin-bottom: 5px !important;
  }
}


#logo-container img {
    /*this fixes display problems in IE8*/
    height: auto !important;
    width: auto !important;
}

/************* LOGO OVERRIDE *************/




/****************** MENU OVERRIDES **********************/
.nav-menu .menu-ul .menu-item { margin-left: -3px !important; }
.mob-nav-btn { color:#fff !important; }
.mob-nav-menu { background-color: #0060af !important; }





/************* HEADER IMAGE AREA RESIZING FOR SMALLER DEVICES *************/
.page-title-wrapper{margin-bottom: -30px !important; }
.page-id-11229 .page-title-wrapper { display: none !important; } /*** EVENT CALENDAR PAGE ***/

@media screen and (max-width: 1000px) {
 .page-title-wrapper { min-height:310px !important; height:310px !important; margin-bottom: -30px !important; }
}
@media screen and (max-width: 780px) {
 .page-title-wrapper { min-height:275px !important; height:275px !important; margin-bottom: 0px !important; }
}
@media screen and (max-width: 480px) {
 .page-title-wrapper { min-height:200px !important; height:200px !important; }
}
/************* HEADER IMAGE AREA RESIZING FOR SMALLER DEVICES *************/

.home .full-bg-image { background: none !important; }
.single .full-bg-image, .page-id-11229 .full-bg-image { background: none !important; background-color: #0060af !important; }





/************* HOME PAGE SLIDER & COUNTDOWN OVERRIDES *************/

.home .section-content h2.section-title {
   font-size: 74px !important;
   line-height: 110% !important;
   text-shadow: 2px 2px 7px rgba(0,0,0,0.5) !important;
   margin-bottom: -5px !important;
}
.home .section-content p {
   font-size: 24px !important;
   line-height: 110% !important;
   text-shadow: 1px 1px 4px rgba(0,0,0,0.4) !important;
   margin-top: 10px !important;
}

.home .section-content a.button {
   font-family:cachetymediumregular !important;
   font-size: 24px !important;
   letter-spacing: -0.03em !important;
   box-shadow: 2px 2px 7px rgba(0,0,0,0.5) !important;
}


.home .section-content #countdowntimer-2 { margin-bottom: 20px; }
.home .section-content #countdowntimer-2 .hoth-weeks_dash { margin-right: 5px; }
.home .section-content #countdowntimer-2 .hoth-days_trip_dash { padding-bottom: 10px; }
.home .section-content #countdowntimer-2 .hoth-dash { height: 62px !important; 
    -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; }
.home .section-content #countdowntimer-2 .hoth-dash_title { padding-top: 10px; font-size: 15px !important; }
.home .section-content #countdowntimer-2 .hoth-digit { font-size: 36px !important; }

.home .hoth-minutes_dash, .home .hoth-seconds_dash { display: none !important; }


@media screen and (max-width: 1000px) {
 .home .section-content h2.section-title { font-size: 58px !important; line-height: 110% !important; }
 .home .section-content p { font-size: 20px !important; }
}

@media screen and (max-width: 780px) {
 .home .section-content h2.section-title { font-size: 42px !important; line-height: 110% !important; }
 .home .section-content p { font-size: 18px !important; }
}

@media screen and (max-width: 480px) {
 .home .section-content h2.section-title { font-size: 32px !important; line-height: 110% !important; }
 .home .section-content p { font-size: 16px !important; }
 .home .section-content a.button { font-size: 18px !important; }

.home .section-content #countdowntimer-2 .hoth-days_trip_dash { width: 50px !important; }
.home .section-content #countdowntimer-2 .hoth-dash { width: 50px !important; height: 50px !important; }
.home .section-content #countdowntimer-2 .hoth-dash_title { width: 50px !important; padding-top: 0px; font-size: 12px !important;  }
.home .section-content #countdowntimer-2 .hoth-digit { font-size: 24px !important; }

}

/************* HOME PAGE SLIDER & COUNTDOWN OVERRIDES *************/







/************* PAGE TITLE OVERRIDES *************/
.page-title-wrapper .content-boxed h1 { display: none; }
#pagetitle h1 { color: #555555; margin-top: -20px !important; font-size: 32px !important; }
@media screen and (max-width: 480px) { #pagetitle h1 { font-size: 24px !important; } }

.page-template-template-full-custom #pagetitle h1 { margin: 50px 0px -50px 0px !important; text-align: center !important; }
@media screen and (max-width: 480px) { .page-template-template-full-custom #pagetitle h1 { margin: 0px !important; } }
.page-template-template-portfolio-gallery #pagetitle { display: none; }
/************* PAGE TITLE OVERRIDES *************/




/************* CONTENT AREA OVERRIDES *************/
@media screen and (max-width: 780px) { .content-box { width: 90% !important; } }
@media screen and (max-width: 480px) { .content-box { width: 86% !important; } }
/*.content a, .content a:visited { color: #0089d0 !important; }
.content a:hover { color: #00aeef !important; }*/
/************* CONTENT AREA OVERRIDES *************/




/************* CONTENT AREA SUBPAGE LIST OVERRIDES *************/
.list-pages-shortcode li { border-bottom: 1px solid #cccccc; list-style-type: none; padding: 20px 0px 20px 0px; }
.list-pages-shortcode li a { font-size: 24px; font-family: 'cachetymediumregular', Verdana, sans-serif; }
.list-pages-shortcode .excerpt {  }
/************* CONTENT AREA SUBPAGE LIST OVERRIDES *************/






/************* SIDEBAR OVERRIDES *************************/
.sidebar { margin-top: -10px !important; }
@media screen and (max-width: 780px) { .sidebar { margin-top: 20px !important; } }
.sidebar h4 { margin-bottom: 0px !important; }
.sidebar ul a { font-family: 'cachetybookregular', Verdana, sans-serif; line-height: 115%; }
.sidebar ul a:hover { color: #3f3f3f; font-family: 'cachetymediumregular', Verdana, sans-serif; line-height: 95%; } 
/************* SIDEBAR OVERRIDES *************************/





/************* BUTTON OVERRIDES *************************/
.mb-text, .mb-text2 { text-transform: uppercase !important; font-family: 'cachetyboldregular', Verdana, sans-serif !important; }
.sidebar div.maxbutton-1-container { margin-top: -40px !important; }

a.button {
 font-size: 16px !important; 
 font-family: 'cachetymediumregular', Verdana, sans-serif !important;
 letter-spacing: -0.02em !important;
}






/************* SIDEBAR SUBPAGE MENU OVERRIDES *************/
.sidebar .simple-section-nav .children { margin-left: 20px; }










/************* EVENT CALENDAR PAGE OVERRIDES *************/
.ai1ec-month-view .ai1ec-date, .ai1ec-month-view .ai1ec-event-time { font-size: 14px !important; }
.ai1ec-month-view .ai1ec-event-title { font-size: 16px !important; }
.ai1ec-month-view td.ai1ec-empty { background: none repeat scroll 0 0 #EEEEEE !important; }

.ai1ec-date.ai1ec-today { background: none !important; }
.ai1ec-agenda-view .ai1ec-event-title { font-size: 24px !important; font-family: 'cachetymediumregular', Verdana, sans-serif !important; font-weight: normal !important; line-height: 115% !important; }
.ai1ec-agenda-view .ai1ec-event-time { font-size: 16px !important; }
.ai1ec-agenda-view .ai1ec-event-description { font-size: 16px !important; line-height: 115% !important; }
.ai1ec-agenda-view .ai1ec-category, .ai1ec-agenda-view .ai1ec-field-label { font-size: 14px !important; }

.ai1ec-event-description a.button { color: #fff !important; }

/************* EVENT CALENDAR PAGE OVERRIDES *************/




/************* SINGLE EVENT PAGE OVERRIDES *************/
.single-ai1ec_event .content { background-color: #fff !important; }
.single-ai1ec_event .content .post-info { display: none !important; }
.single-ai1ec_event .content .social-share { display: none !important; }

/************* SINGLE EVENT PAGE OVERRIDES *************/





/************* EVENT WIDGET OVERRIDES *************/
.ai1ec-agenda-widget-view .ai1ec-calendar-link { float: left !important; }




/************* COUNTDOWN TIME OVERRIDES *****************/
.sidebar .textwidget #countdowntimer-2 { margin: -20px 0px 5px -35px !important; }
.sidebar .textwidget #countdowntimer-2 .hoth-weeks_dash { margin-right: 5px; }
.sidebar .textwidget #countdowntimer-2 .hoth-days_trip_dash { padding-bottom: 10px; }
.sidebar .textwidget #countdowntimer-2 .hoth-dash { background: none !important; margin: 0px -8px 0px -8px !important; }
.sidebar .textwidget #countdowntimer-2 .hoth-dash_title { padding-top: 2px; font-size: 13px !important; }
.sidebar .textwidget #countdowntimer-2 .hoth-digit { font-size: 26px !important; }




/************* CONTACT US BUTTON ************************/
body:not(.page-id-11245) .sticky-popup { display: none !important; }

.sticky-popup { max-width: 300px !important; margin-right: -5px !important; }
@media screen and (max-width: 480px) { .sticky-popup { margin-top: -30px !important; } }
.popup-title { margin-top: 5px !important; margin-right: 5px !important; letter-spacing: 0 !important; font-weight: normal !important; }
.popup-header { height: 110px !important; }
.sticky-popup-right .popup-header, .popup-content { border-radius: 10px 0 0 10px !important; }

.popup-content { box-shadow: 5px 5px 10px rgba(0,0,0,0.5); }

.sticky-popup { line-height: 125% !important; letter-spacing: -0.03em !important; }
.sticky-popup p { padding-bottom: 15px !important; }



@media screen and (min-width: 781px) {
.sticky-popup-right .popup-title
{
-webkit-transform: rotate(0deg) !important;	
-moz-transform: rotate(0deg) !important;
-ms-transform: rotate(0deg) !important;
-o-transform: rotate(0deg) !important;
transform: rotate(0deg) !important;
}
}


@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) { @media
{
.sticky-popup-right .popup-title
{
-webkit-transform: rotate(90deg) !important;	
-moz-transform: rotate(90deg) !important;
-ms-transform: rotate(90deg) !important;
-o-transform: rotate(90deg) !important;
transform: rotate(90deg) !important;
}
}}

/************* CONTACT US BUTTON ************************/



/************* NEW CONTACT US BUTTON ***************/
/***body:not(.page-id-11245) #wpbs_slider { display: none !important; }***/

#wpbs_slider { z-index: 999999 !important; }

body.home #wpbs_slider { top: 155px !important; }
.wpbs_handle { width: 30px !important; height: 120px !important; padding: 0px !important; line-height: 5px !important; background-color: none !important; }
.wpbs_handle:after {
    display: inline-block;
    width: 24px;
    height: 96px;
    margin-right: 10px;
    content: "";
    background: url("http://campmason.org/wp-content/uploads/2016/02/contact-button-retina.png") no-repeat 0 0;
    background-size: 100%;
}

#wpbs__cont { cursor: initial !important; }
#wpbs__cont * { font-size: 16px !important; line-height: 110% !important;  }

/************* NEW CONTACT US BUTTON ***************/






/************* ADDS FOOTER TO HOME PAGE *****************/
.page-template-template-fullscreen-slider-php:after {
content: "\00a9\00a0 Copyright YMCA Camp Mason";
position: fixed;
bottom: 0;
width: 100%;
color: #fff;
background: #006b6b;
padding: 10px;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 10px;
}
/************* ADDS FOOTER TO HOME PAGE *****************/





/*************************** TEAM PAGE OVERRIDES *************************************/

.stacked#sc_our_team .sc_team_member .sc_team_member_name{
    margin: 0px 0 !important;  padding-bottom: 0px !important;  border-bottom: none !important; }

.stacked#sc_our_team .sc_team_member{
    padding-bottom: 25px !important;  border-bottom: 1px solid #555 !important;  clear: both; }

.stacked#sc_our_team .sc_team_member .icons { padding-bottom: 10px !important; }

.stacked#sc_our_team .sc_team_member_right { margin-top: -20px !important; }

.stacked#sc_our_team .sc_team_member_right h5 { margin-top: -10px !important; }


@media screen and (max-width: 480px) {
  .stacked#sc_our_team .sc_team_member_left { width: 100% !important; }
  .stacked#sc_our_team .sc_team_member_left img.attachment-post-thumbnail { width: 200px !important; }
  .stacked#sc_our_team .sc_team_member_right { clear: both !important; margin-top: 0px !important; }
  .stacked#sc_our_team .sc_team_member_right .right_control { margin-left: -75px !important; }
}


/************************* CONTACT FORM OVERRIDES *******************************/
span.wpcf7-list-item { display: block !important; }
.wpcf7-submit { font-size: 18px !important; font-family:cachetymediumregular !important; }





/************************* SEARCH PAGE OVERRIDES ********************************/
.search-results .post-info { display: none !important; }






/************************* FOOTER WIDGET OVERRIDES ******************************/
.footer-widgets { font-size: 15px !important; line-height: 130% !important; }
.footer-widgets a { font-family:cachetymediumregular !important; }
.footer-widgets a:hover { color: #fff !important; text-decoration: underline !important; }
.footer-widgets h4 { margin-bottom: -15px !important; margin-left: -3px !important; }

.footer-box { padding-bottom: 25px !important; }

.fb-like-box { background-color: #fff !important; }






/************************* FOOTER OVERRIDES *************************************/
.footer-bottom { margin-top: -60px !important; }
.footer-bottom a { color: #cfcfcf !important; }
.footer-bottom a:hover { text-decoration: underline !important; }

.scroll-to-top { bottom: 40px !important; }
