/*
Theme name: Blue Mountain Montessori
Description: Custom Theme
*/

/******* Blue Mountain Montessori WordPress CSS *******/

/* Common elements styling */
.post .entry h1 { font-size: 20px; line-height: 30px}
.post .entry h2 { font-size: 18px; line-height: 27px}
.post .entry h3 { font-size: 16px; line-height: 24px}
.post .entry h4 { font-size: 14px; line-height: 21px}
.post .entry h5 { font-size: 12px; line-height: 18px}
.post .entry h6 { font-size: 10px; line-height: 15px}

.post .entry ul { margin-left: 25px; }
.post .entry ol { margin-left: 25px; }
.post .entry a img { border: 0 }

p img { padding: 0 0 20px 0;	max-width: 100%; }
img.centered { display: block; margin-left: auto; margin-right: auto; }
img.alignright { margin: 2px 0 2px 7px; display: inline; }
img.alignleft { margin: 2px 7px 2px 0; display: inline; }
.alignright { float: right; display: inline; }
.alignleft { float: left; display: inline; }
.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Calendar widget */
#wp-calendar { empty-cells: show; margin: 10px auto 0; }
#wp-calendar #next a { padding-right: 10px; text-align: right; }
#wp-calendar #prev a { padding-left: 10px; text-align: left; }
#wp-calendar a { display: block; }
#wp-calendar caption { text-align: center; width: 100%; }
#wp-calendar td { padding: 3px 0; text-align: center; }
.wp-caption { border: 1px solid #ddd; text-align: center; padding-top: 4px; margin: 10px; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0;}

/* Big images in rich text editor should not break page layout */
.post .entry { overflow: hidden; } 

/******* /Blue Mountain Montessori WordPress CSS *******/

@font-face {
    font-family: 'steinemroman';
    src: url('css/fonts/steinem_-webfont.eot');
    src: url('css/fonts/steinem_-webfont.eot#iefix') format('embedded-opentype'),
         url('css/fonts/steinem_-webfont.woff') format('woff'),
         url('css/fonts/steinem_-webfont.ttf') format('truetype'),
         url('css/fonts/steinem_-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;}

@font-face {
    font-family: 'steinembold';
    src: url('css/fonts/steinemb-webfont.eot');
    src: url('css/fonts/steinemb-webfont.eot#iefix') format('embedded-opentype'),
         url('css/fonts/steinemb-webfont.woff') format('woff'),
         url('css/fonts/steinemb-webfont.ttf') format('truetype'),
         url('css/fonts/steinemb-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;}

@font-face {
    font-family: 'montserratregular';
    src: url('css/fonts/montserrat-regular-webfont.eot');
    src: url('css/fonts/montserrat-regular-webfont.eot#iefix') format('embedded-opentype'),
         url('css/fonts/montserrat-regular-webfont.woff') format('woff'),
         url('css/fonts/montserrat-regular-webfont.ttf') format('truetype'),
         url('css/fonts/montserrat-regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;}

@font-face {
    font-family: 'proxima_nova_rgregular';
    src: url('css/fonts/proxima_nova_reg-webfont.eot');
    src: url('css/fonts/proxima_nova_reg-webfont.eot#iefix') format('embedded-opentype'),
         url('css/fonts/proxima_nova_reg-webfont.woff') format('woff'),
         url('css/fonts/proxima_nova_reg-webfont.ttf') format('truetype'),
         url('css/fonts/proxima_nova_reg-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;}

* {padding: 0; margin: 0; }

html,body { height: 100%; } 
body { min-width: 1250px; font: 16px/26px 'Open Sans', Arial, Helvetica, sans-serif; color: #58595b; letter-spacing: 0; -webkit-font-smoothing:antialiased; -webkit-text-size-adjust: none;  background: #f7f5ef url(images/bg.jpg) repeat 0 0; background-attachment: fixed; }

a img { border: 0; } 
a { color: #b35456; text-decoration: none; cursor: pointer; } 
a:hover { text-decoration: underline; } 

input, textarea, select { font-size: 12px; font-family: Arial, Helvetica, sans-serif; } 
textarea { overflow: auto; } 
input[type="submit"] { cursor: pointer; border: 0; -webkit-appearance: none; } 

.cl { display: block; height: 0; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; } 
.clearfix { *zoom: 1; } 
.clearfix:after { width: 100%; content: ''; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; display: block; } 

.notext { font-size: 0; line-height: 0; text-indent: -4000px; } 
.left, .alignleft { float: left; display: inline; } 
.right, .alignright { float: right; display: inline; } 

.shell { width: 1180px; margin:0 auto; }

.steinemroman { font-family: 'steinemroman'; }
.steinembold { font-family: 'steinembold'; }
.montserratregular { font-family: 'montserratregular'; }
.proxima_nova_rgregular { font-family: 'proxima_nova_rgregular'; }
.open-sans { font-family: 'Open Sans', sans-serif; }

h1,h2,h3,h4,h5,h6 { font-weight: normal; }
h1,h2,h4 { font-family: 'steinemroman'; color: #6ca4ba; }
h3,h5,h6 { font-family: 'montserratregular'; color: #6d6e71; text-transform: uppercase; }

h1 { font-size: 44px; line-height: 50px; }
h2 { margin-bottom: 25px; font-size: 28px; line-height: 32px; }
h4 { font-size: 20px; line-height: 24px; }
h5 { font-size: 18px; line-height: 22px; }
h3, h6 { font-size: 16px; line-height: 20px; }

p { padding-bottom: 20px; }
p:last-child { padding-bottom: 0; }

ul,ol { list-style-position: outside; margin: 0 0 20px 20px; } 
ul ul { margin-bottom: 0; }
nav ul { list-style-type: none; margin: 0; }
nav li { display: inline-block; vertical-align: middle; }

ol li { margin-bottom: 20px; }
ol ol,
ol ol li { margin-bottom: 0; }
ol ol { margin-top: 20px; }

th, td { padding: 0; vertical-align: top; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }

blockquote { padding-left: 50px; margin-bottom: 30px; font-style: italic; border-left: 1px solid #6ca4ba; }

.social-icons { list-style-type: none; margin: 0; }
.social-icons li { display: inline-block; vertical-align: middle; margin-right: 5px; }
.social-icons a:hover img { opacity: 0.5; }

.btn { display: inline-block; padding: 9px 50px; font: 16px/20px 'montserratregular'; color: #fff; text-transform: uppercase; background: #b35456; }
.btn:hover { text-decoration: none; background: #6ca4ba; }

.entry .alignleft,
.entry .alignright { margin-bottom: 20px; }
.entry .alignleft { margin-right: 40px; }
.entry .alignright { margin-left: 40px; }

.post-head h2 a { color: #6ca4ba; }
.post-head h2:hover a { text-decoration: none; cursor: pointer; }
/* ==========================================================================
	# Transition
========================================================================== */

a img,
.feat-box .box-img span,
.popup-wrapper .popup-close,
.popup-wrapper .popup-content { 
-webkit-transition: opacity 400ms;
     -o-transition: opacity 400ms;
        transition: opacity 400ms;
}
a,
input[type="submit"] {
-webkit-transition: background-color 400ms, color 400ms;
     -o-transition: background-color 400ms, color 400ms;
        transition: background-color 400ms, color 400ms;
}

.menu-trigger span,
.intro .banner img,
.feat-box .box-img img,
.popup-wrapper .overlay,
.feat-box .box-img:after {
-webkit-transition: all 400ms ease-out;
     -o-transition: all 400ms ease-out;
        transition: all 400ms ease-out;
}

.notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  -ms-transition: none !important;
  transition: none !important;
}

/* ==========================================================================
	# Container
========================================================================== */

.container { box-shadow: 0 -5px 20px rgba(0,0,0,0.1); }

.main { padding: 80px 0 50px; background: #f6f5f0; }

.section { padding: 65px 0; border-bottom: 1px solid #d5cfc1; }
.section:last-child { border-bottom: 0; }
.page-title + .section { padding-top: 0; }

.section-about { padding: 80px 0; background: url(images/sun-main.png) no-repeat 8% center; background-attachment: fixed; box-shadow: inset 0 5px 10px -5px rgba(0,0,0,0.5), inset 0 -5px 10px -5px rgba(0,0,0,0.5); }
.section-atmm { padding: 70px 0; background: url(images/bg-women-1.png) no-repeat 10% top; }
.section-atmm .shell { padding-left: 400px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.section-bg { background: #f6f5f0; }

.content { float: left; width: 73%; min-height: 350px; margin-bottom: 65px; padding-right: 2.9%; border-right: 1px solid #d2ccbd; }
.sidebar { float: right; width: 20%; }

.col { float: left; width: 48%; }
.col + .col { margin-left: 4%; }

.col.full_width { width: 100%; }


.fsr-container { overflow: hidden; background-repeat: no-repeat; background-size: cover; }
.fsr-image { position: absolute; }
.fsr-hidden { display: none; }

/* ==========================================================================
	# Header
========================================================================== */

.header-bar { padding: 7px 0; font-size: 13px; line-height: 17px; color: #cac2b1; text-align: right; text-transform: uppercase; background: #585652; }
.header-bar p { padding-bottom: 0; }
.header-bar a { color: #cac2b1; padding: 0 0 0 8px; }
.header-bar a:before { content: '/'; margin-right: 5px; }
.header-bar a:first-child:before { content: none; }

.header { background: url(images/sun.png) no-repeat 82% bottom; }
.header .shell { position: relative; }

h1.logo { position: absolute; top: -31px; left: -17px; width: 188px; }
h1.logo a { display: block; height: 221px; background: url(images/logo.png); }

.nav { padding: 88px 0 30px 217px; }
.nav li { margin-right: 25px; }
.nav a { font-family: 'steinembold'; font-size: 20px; line-height: 24px; color: #58595b; }
.nav a:hover,
.nav .current-menu-item a { color: #b35456; text-decoration: none; }

.alert-msg { position: absolute; top: 0; right: 0; padding: 10px 18px; font-size: 16px; line-height: 20px; font-family: 'steinemroman'; color: #fff; background: #b35355; border-radius: 0 0 5px 5px; }
.alert-msg p { padding-bottom: 0; }
.alert-msg strong { font-family: 'steinembold'; font-weight: normal; }

.menu-trigger { position: absolute; right: 9px; bottom: 0; padding: 12.5px 10px; display: none; }

.menu-trigger i { position: relative; display: block; vertical-align: middle; width: 25px; height: 18px; background: transparent; font-size: 0; line-height: 0; }
.menu-trigger i span { display: block; width: 25px; height: 3px; background: #706c65; position: absolute; left: 0; }
.menu-trigger i .line-1 { top: 0px; }
.menu-trigger i .line-2 { top: 7px; }
.menu-trigger i .line-3 { top: 14px; }
.show-menu .menu-trigger,
.menu-trigger:hover { text-decoration: none; background: #f6f5f0 ; }

.show-menu .menu-trigger i .line-1 { top: 5px; opacity: 0; }
.show-menu .menu-trigger i .line-2 { -ms-transform: rotate(45deg); -webkit-transform: rotate(45deg); transform: rotate(45deg); }
.show-menu .menu-trigger i .line-3 { top: 7px; -ms-transform: rotate(-45deg); -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }

/* ==========================================================================
	# Footer
========================================================================== */

.footer { padding: 100px 0 160px; background: #585752 url(images/doors.png) no-repeat 80% bottom; }

.footer-widgets,
.footer-widgets a { color: #cac2b1; }
.footer-widgets .widget { display: inline-block; vertical-align: top; width: 280px; padding-right: 20px; }
.footer-widgets .widgettitle { font-size: 16px; line-height: 20px; font-family: 'montserratregular'; color: #cac2b1; }
.footer-widgets .social-icons { padding-top: 10px; }

/* ==========================================================================
	# Sidebar
========================================================================== */

.sidebar .widget { margin-bottom: 45px; }
.sidebar .widgettitle { margin-bottom: 10px; font: 16px/20px 'montserratregular'; color: #595752; text-transform: uppercase; }
.sidebar ul { list-style-type: none; margin: 0; }
.sidebar li { margin-bottom: 10px; line-height: 20px; }
.sidebar li a { color: #595752; }

.widget_search .searchsubmit { display: none;}

/* ==========================================================================
    # Modules
========================================================================== */

.intro { padding: 100px 0; background: #f7f5ef; }
.intro .banner { position: relative; overflow: hidden; margin-bottom: 20px; }

.popup-video { position: relative; display: block; }
.popup-video span { position: absolute; top: 50%; left: 0; width: 100%; padding-top: 100px; font: 46px/50px 'steinembold'; letter-spacing: 7px; color: #fff; text-align: center; text-transform: uppercase; transform: translateY(-50%); -webkit-transform: translateY(-50%); background: url(images/arrow-play.png) no-repeat center 0; }
.popup-video:hover img { opacity: 0.5; }

.page-title { padding-bottom: 24px; margin-bottom: 65px; background: url(images/title-bg.png) repeat-x 0 bottom; }

.section-quote { text-align: center; font-weight: 300; font-size: 30px; line-height: 45px; }
.section-quote p { display: inline-block; }
.section-quote p.author { margin-bottom: 5px; font-size: 22px; text-transform: uppercase; }
.section-quote p:before,
.section-quote p:after { display: inline-block; }
.section-quote p:before { content: '“'; }
.section-quote p:after { content: '”'; } 
.section-quote p.author:before,
.section-quote p.author:after { content: none; } 

.banner { margin-bottom: 55px; border: 10px solid #fff; }
.banner img { display: block; width: 100%; height: auto; }

.banner-caption { display: block; text-align: right; font-size: 10px; line-height: 14px; color: #b0a78f; text-transform: uppercase; }
.banner-caption a { color: #b0a78f; }

.slider-wrapper,
.slide { position: relative; overflow: hidden; height: 365px; }
.slider-wrapper { border: 10px solid #fff; }
.slide { float: left; }

.slider-actions { position: absolute; z-index: 99; bottom: 20px; right: 20px; }
.slider-actions a { display: inline-block; vertical-align: middle; width: 36px; height: 36px; margin-left: 5px; background-repeat: no-repeat; background-position: 0 0; font-size: 0; line-height: 0; text-indent: -4000px; }
.slider-actions .prev { background-image: url(images/arrow-circle-prev.png); }
.slider-actions .next { background-image: url(images/arrow-circle-next.png); }

.about-article,
.widget_events { display: inline-block; vertical-align: top;  -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.about-article { width: 70%; padding-right: 80px; font-size: 30px; line-height: 45px; color: #58595b; font-weight: 300; background: url(images/line-v.png) repeat-y right 0; }
.about-article h2 { font-size: 44px; line-height: 54px; }
.widget_events { width: 26%; padding-left: 30px; }
.widget_events ul { list-style-type: none; margin: 0; }
.widget_events li { margin-bottom: 15px; }
.widget_events a { font-family: 'montserratregular'; text-transform: uppercase; }
.widget_events li a { display: block; color: #6d6e71; }

.feat-box h2 { color: #b35456; }
.feat-box .box-img { position: relative; overflow: hidden; display: block; border: 10px solid #fff; }
.feat-box .box-img:after { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 100%; content: ''; background: rgba(255,255,255,0.8); }
.feat-box .box-img img { display: block; width: 100%; height: auto; }
.feat-box .box-img span { position: absolute; top: 50%; left: 0; z-index: 2; transform: translateY(-50%); -webkit-transform: translateY(-50%); width: 100%; text-align: center; font-size: 14px; line-height: 18px; font-family: 'montserratregular'; text-transform: uppercase; }
.feat-box .box-img span,
.feat-box .box-img:after { opacity: 0; visibility: hidden; }
.feat-box .box-img:hover span,
.feat-box .box-img:hover:after { opacity: 1; visibility: visible; }
.intro .banner:hover img,
.feat-box .box-img:hover img  { -ms-transform: scale(1.05); -webkit-transform: scale(1.05); transform: scale(1.05); }

.section-staff { }
.staff-box { position: relative; padding-top: 400px; display: inline-block; vertical-align: top; width: 370px; margin: 0 0 60px 30px; }
.staff-box:nth-child(3n+1) { margin-left: 0; }
.staff-box h2 { margin-bottom: 4px; }
.staff-img { position: absolute; top: 0; left: 0; width: 350px; height: 350px; border: 10px solid #fff; }
.staff-img img { display: block; width: 100%; height: 100%; }

.calendar-table { text-transform: uppercase; color: #6d6e71; }
.calendar-table td { padding: 0; }
.calendar-table td:first-child { font-family: 'montserratregular'; }
.calendar-table .highlighted td { color: #b35456; }

.school-form { display: inline-block; vertical-align: top; width: 48%; margin-left: 3.5%; margin-bottom: 40px; }
.school-form:nth-child(2n+1) { margin-left: 0; }
.school-form p { padding-bottom: 10px; }
.school-form a { font-size: 14px; line-height: 18px; font-family: 'montserratregular'; text-transform: uppercase; }

.list-three-cols { list-style-type: none; margin: 0; font-size: 14px; line-height: 18px; font-family: 'montserratregular'; text-transform: uppercase; }
.list-three-cols li { display: inline-block; vertical-align: top; width: 30%; padding-right: 3%; margin-bottom: 5px; }
.list-three-cols li { }

.post { padding-bottom: 65px; margin-bottom: 65px; border-bottom: 1px solid #d5cfc1; }
.post p { padding-bottom: 30px; }
.post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

.pager { padding: 30px 0; text-align: center; font-family: 'montserratregular'; text-transform: uppercase; border-top: 1px solid #cdc5b5; border-bottom: 1px solid #cdc5b5; }
.pager .pager-container { display: inline-block; }
.pager .pager-container .prev { float:right; margin-left: 20px; }
.pager .pager-container .next { float:left; margin-right: 20px; }

.pager a,
.pager li,
.pager ul { display: inline-block; vertical-align: middle; color: #595752; }
.pager ul { list-style-type: none; margin: 0 20px; }

.pager a:hover { text-decoration: none; color: #b35456; }

.video-holder { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }
.video-holder iframe,
.video-holder object,
.video-holder embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ==========================================================================
    # Forms Style
========================================================================== */

.gform_wrapper { font-family: 'proxima_nova_rgregular'; }
.gform_wrapper .gform_title { display: none; }
.gform_wrapper ul { list-style-type: none; margin: 0; }
.gform_wrapper .gfield { float: left; width: 48%; margin: 0 0 13px 4%; }
.gform_wrapper .gfield:nth-child(2n+1) { margin-left: 0; }
.gform_wrapper .gfield-textarea { width: 100%; margin-left: 0; }
.gform_wrapper .gfield_required { display: none; }
.gform_wrapper .validation_message { position: absolute; top: 0; right: 0; z-index: 1; height: 100%; width: 100%; padding: 10px; text-align: right; font-size: 12px; line-height: 19px; color: #b35456; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.gform_wrapper .gform_body > ul { margin-left: 0;  }
.gform_wrapper .validation_error { display:none; }
.gfield,
.field-wrap { position: relative; }
.gfield label,
.field-wrap label,
.gfield input,
.field-wrap input,
.gfield textarea,
.field-wrap textarea,
.comments #commentform textarea,
.comments #commentform input[type="text"] { display: block; width: 100%; height: 39px; padding: 10px 13px; font: 12px/19px 'proxima_nova_rgregular'; color: #a39b89; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }


.gfield label,
.field-wrap label { position: absolute; z-index: 2; top: 1px; left: 1px; bottom: 1px; right: 1px; cursor: text; }

.gfield input,
.field-wrap input,
.gfield textarea,
.field-wrap textarea,
.comments #commentform textarea,
.comments #commentform input[type="text"] { background: #fff; border: 1px solid #d8d2c4; }

.gfield textarea,
.field-wrap textarea,
.comments #commentform textarea { height: 220px; resize: none; }
.gform_validation_container { display:none; }


/* Comments CSS */
.comments { margin-top: 40px; border-top: 1px dashed #d5cfc1; padding: 40px 0; /* Global font's styles here */ }
.comments a { /* Global anchor's styles */ }
.comments > h3 { padding-bottom: 20px;  }
.comments .commentlist { list-style: none; list-style-position: outside; }
.comments .commentlist li + li { padding-top: 15px; margin-top: 15px; border-top: 1px solid #d5cfc1; }
.comments .commentlist li .comment-author { padding-bottom: 5px; }
.comments .commentlist li .comment-author img.avatar { margin-right: 5px; }
.comments .commentlist li .comment-meta { padding-bottom: 5px; }
.comments .commentlist li .comment-text { padding-bottom: 10px; }
.comments .commentlist li .children { list-style: none; list-style-position: outside; padding: 20px 0 0 40px; }
.comments .commentlist li .children li { border-top: 1px solid #d5cfc1; padding-top: 20px; background: transparent; }
.comments em.moderation-notice { font-style: italic; color: #ff0000; }
.comments .comment-meta { font-size: 12px; }
.comments #respond { padding-top: 20px; border-top: 1px dashed #d5cfc1; margin-top: 20px; }
.comments #respond h3#reply-title { padding-bottom: 20px; }
.comments #commentform p { padding-bottom: 10px; }
.comments #commentform p.comment-notes { padding-right: 0; padding-left: 0; }
.comments #commentform p.form-submit { padding: 10px 0 0 0; }
.comments #commentform label { display: block; }
 
.comments #commentform input[type="text"],
.comments #commentform textarea { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
 
.comments #commentform textarea { resize: none; }
.gform_button,
.comments #commentform #submit { display: inline-block; padding: 9px 50px; margin-bottom: 30px; font: 16px/20px 'montserratregular'; color: #fff; text-transform: uppercase; background: #b35456; }
.gform_button:hover,
.comments #commentform #submit:hover { background: #6ca4ba; }

.gform_button { margin-right: 20px; }

/* ==========================================================================
    # Custom Popup Style
========================================================================== */

.popup-wrapper {}
.popup-wrapper .overlay { position: fixed; top: 0; left: 0; z-index: 2; width: 100%; height: 100%; background: rgba(0,0,0,0.8); }
.popup-wrapper .popup-content { position: fixed; z-index: 9; top: 50%; left: 50%; width: 800px; max-width: 90%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); }
.popup-wrapper .popup-close { position: fixed; z-index: 9; top: 30px; right: 30px; display: block; width: 58px; height: 58px; background: url(images/cross.png) no-repeat 0 0;  font-size: 0; line-height: 0; text-indent: -4000px; }
.popup-wrapper .video-holder { position: relative; }
.popup-wrapper .video-holder .loader { position: absolute; top: 0; left: 0; content: ''; display: block; z-index: 100; width: 100%; height: 100%; background: #fff url(images/sun-main.png) no-repeat center center; -webkit-background-size: 77px 75px; background-size: 77px 75px; 
-webkit-animation: sun 1s ease-out infinite;
    animation: sun 1s ease-out infinite; }

/* Chrome, Safari, Opera */
@-webkit-keyframes sun {
    0%   { -webkit-background-size: 0 0; background-size: 0 0; }
    100% { -webkit-background-size: 77px 75px; background-size: 77px 75px; }
}

/* Standard syntax */
@keyframes sun {
    0%   { -webkit-background-size: 0 0; background-size: 0 0; }
    100% { -webkit-background-size: 77px 75px; background-size: 77px 75px; }
}

.popup-wrapper .popup-close { -webkit-transition-delay: 0.5s; transition-delay: 0.5s; }

.popup-wrapper .overlay { -ms-transform: scale(0.9); -webkit-transform: scale(0.9); transform: scale(0.9); }
.popup-wrapper .overlay,
.popup-wrapper .popup-close,
.popup-wrapper .popup-content { opacity: 0; visibility: hidden; }

.popup-wrapper.show .overlay { -ms-transform: scale(1); -webkit-transform: scale(1); transform: scale(1);  }
.popup-wrapper.show .overlay,
.popup-wrapper.show .popup-close,
.popup-wrapper.show .popup-content { opacity: 1; visibility: visible; }

/* ==========================================================================
    # Responsive
========================================================================== */

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

    h1 { font-size: 28px; line-height: 32px; }
    h2 { margin-bottom: 15px; font-size: 22px; line-height: 26px; }
    h4 { font-size: 18px; line-height: 22px; }
    h5 { font-size: 17px; line-height: 21px; }
    h3, h6 { font-size: 14px; line-height: 18px; }

    .col { float: none; width: auto; margin-bottom: 25px; }
    .col:last-child { margin-bottom: 0; }
    .col + .col { margin-left: 0; }
    
    body { min-width: 100%; font-size: 14px; line-height: 24px; }
    .shell { width: auto; }
    .container .shell,
    .footer .shell { margin: 0 22px; }
    .intro .shell { margin: 0; }

    .content { float: none; width: auto; padding-right: 0; margin-bottom: 20px; border: 0; min-height: 10px; }

    .sidebar { float: none; width: auto; display: none; }

    .main { padding: 35px 0; }

    .header-bar { display: none; }

    .header { padding-bottom: 6px; border-top: 14px solid #595752; background: url(images/bg.jpg) repeat 0 0; }
    .header .shell { border-bottom: 1px dashed #94886b; }

    .alert-msg { position: static; display: block; padding: 10px 35px; text-align: center; border-radius: 0; }
    
    h1.logo { position: static; width: 215px; padding: 13px 0 0 7px; }
    h1.logo a { background-image: url(images/mobile-logo.png); height: 68px; }

    .nav { position: absolute; top: 100%; left: 0; width: 100%; z-index: 9; padding: 25px 20px; background: #f6f5f0; box-shadow: 0 5px 5px rgba(0,0,0,0.5); -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
    .nav li { display: block; margin: 0; border-top: 1px solid #d8d2c5; }
    .nav li:first-child { border-top: 0; }
    .nav a { display: block; padding: 15px 0; }

    .nav { 
    -webkit-transition: all 400ms ease-out;
         -o-transition: all 400ms ease-out;
            transition: all 400ms ease-out; 
    opacity:0; visibility: hidden; -webkit-transform: translateY(-30px); -moz-transform: translateY(-30px); -ms-transform: translateY(-30px); -o-transform: translateY(-30px); transform: translateY(-30px); }
    .show-menu .nav { opacity:1; visibility: visible; -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); -o-transform: translateY(0); transform: translateY(0); }

    .menu-trigger { display: block; }

    .intro { padding: 0; }
    .intro .banner { border: 0; margin-bottom: 0; }
    .banner-caption { display: none; }
    .popup-video span { padding-top: 50px; font-size: 34px; line-height: 38px; letter-spacing: 1px; -webkit-background-size: 40px 40px; background-size: 40px 40px; }

    .section-about { padding: 30px 0; background: url(images/bg.jpg) repeat 0 0; }
    .about-article { width: auto; padding: 0 0 30px; margin-bottom: 30px; font-size: 18px; line-height: 28px; color: #58595b; background: url(images/title-bg.png) repeat-x 0 bottom; }
    .about-article h2 { font-size: 28px; line-height: 32px; }

    .widget_events { width: auto; padding-left: 0; font-size: 12px; line-height: 16px; }

    .section-atmm { padding: 30px 0; background: url(images/bg.jpg) repeat 0 0; }
    .section-atmm .shell { padding: 0; }

    .footer { padding: 25px 0; background: #585752; }
    .footer-widgets .widget { display: block; margin-bottom: 25px; padding: 0; }
    .footer-widgets .widget:last-child { margin-bottom: 0; }

    .page-title { padding-bottom: 25px; margin-bottom: 15px; font-size: 28px; line-height: 32px; background: 0; border-bottom: 1px solid #dbd5c9; }

    .slider-wrapper,
    .slide { height: 175px; }

    .section { padding: 15px 0; }
    .home .section { padding: 30px 0; }

	.accordion-body,
	.section-quote { display: none; }
	.accordion-expanded .accordion-body { display: block; }
	.accordion-head { position: relative; padding-right: 20px; }
	.accordion-head h2,
	.accordion-head .section-title { margin-bottom: 0; }
	.accordion-head:after { position: absolute; top: 50%; right: 0; content: ''; display: block; width: 14px; height: 14px; margin-top: -7px; background: url(images/plus-icon.png) no-repeat center center; }
	.accordion-expanded .accordion-head:after { background-image: url(images/minus-icon.png); }
	.accordion-body { padding-top: 15px;}

	.calendar-table { font-size: 12px; line-height: 17px; }
	.calendar-table td { display: block; text-transform: none; padding: 0; }
	/*.calendar-table td:first-child { padding-top: 10px; }*/
	.calendar-table td:last-child { padding-bottom: 10px; }

	.section .banner { display: none; }
	.school-form { float: none; width: auto; margin: 0 0 20px; font-size: 12px; line-height: 16px; }

	.list-three-cols li { width: auto; display: block; padding: 0; }

	.staff-box { display: block; width: auto; padding-top: 0; margin: 0 0 20px; }
	.staff-box { padding-bottom: 15px; border-bottom: 1px solid #d0c8b9; }
	.staff-box .staff-img { position: static; width: 160px; height: auto; margin-bottom: 20px; border-width: 5px; }
	.staff-box .staff-img img { height: auto; }

	.section-staff { border: 0; padding-bottom: 0; }
	
	.entry,
	.post img { max-width: 100%; height: auto; }
	.post { padding-bottom: 30px; margin-bottom: 30px; }
    

	.pager { padding: 20px 0 0; border-bottom: 0; }
	.pager ul { display: none; }
	.pager .prev,
	.pager .next { color: #b35456; }
    .pager .pager-container .prev { float:right; margin-left: 5px; }
    .pager .pager-container .next { float:left; margin-right: 5px; }

	.pager .prev.disabled,
	.pager .next.disabled { opacity: 0.5; }


	.comments { padding-bottom: 0; }
	.comments .commentlist,
	.comments .commentlist li .children  { margin-left: 0; }

	.gform_button, .comments #commentform #submit {  display: block; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

	.gform_wrapper .gfield { float: none; display: block; width: 100%; margin: 0 0 20px; }
	.gform_validation_container { display:none !important; }
	

	.popup-wrapper .popup-close { top: 20px; right: 20px; width: 35px; height: 35px; -webkit-background-size: 35px 35px; background-size: 35px 35px;}
	.popup-wrapper .popup-content { max-width: 95%;}
}

/* ==========================================================================
    # Retina
========================================================================== */


@media 
only screen and (-webkit-min-device-pixel-ratio: 2)      and (max-width: 767px),
only screen and (   min--moz-device-pixel-ratio: 2)      and (max-width: 767px),
only screen and (     -o-min-device-pixel-ratio: 2/1)    and (max-width: 767px),
only screen and (        min-device-pixel-ratio: 2)      and (max-width: 767px),
only screen and (                min-resolution: 192dpi) and (max-width: 767px),
only screen and (                min-resolution: 2dppx)  and (max-width: 767px){ 

    h1.logo a  { background-image: url(images/mobile-logo-2x.png); -webkit-background-size: 215px 68px; background-size: 215px 68px; }

    .accordion-head:after { background-image: url(images/plus-icon-2x.png); -webkit-background-size: 14px 14px; background-size: 14px 14px; }
    .accordion-expanded .accordion-head:after { background-image: url(images/minus-icon-2x.png); -webkit-background-size: 14px 4px; background-size: 14px 4px }

    .slider-actions .prev { background-image: url(images/arrow-circle-prev-2x.png);-webkit-background-size: 36px 36px; background-size: 36px 36px; }
    .slider-actions .next,
    .popup-video span { background-image: url(images/arrow-circle-next-2x.png); -webkit-background-size: 36px 36px; background-size: 36px 36px; }

}