/*
Theme Name: St. Christopher Religious Education
Theme URI: http://www.stchrisparish.com/
Author: CMT Consulting
Author URI: http://cmtconsultingltd.com
Description: 
Version: 1.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags: one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Text Domain: blankslate

BlankSlate WordPress Theme © 2011-2019 TidyThemes
BlankSlate is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

body { width: 100%; margin: 0 auto; text-align: center; }

*, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }

#wrapper { margin: 0 auto; text-align: left; }

#top-utility { background-color: #660E66; padding: 10px; }
#top-hours { margin-bottom: 10px; }

#all-header { z-index: 100; width: 100%; }
#header { text-align: center; z-index: 100; width: 100%; position: absolute; }
.header-left { width: 30%; }
.header-right { width: 30%; }
.header-mid { width: 40%; }

#site-title {
    background-color: #1A478F; border-top: 2px solid #99599B; border-bottom: 2px solid #99599B; margin-top: -10px; padding: 10px 0px;
     -webkit-box-shadow: 0px 5px 20px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 5px 20px -10px rgba(0,0,0,0.75);
    box-shadow: 0px 5px 20px -10px rgba(0,0,0,0.75);
}
#header .header-left, #header .header-right { 
    background-color: #0D2448; border-top: 2px solid #99599B; border-bottom: 2px solid #99599B;
     -webkit-box-shadow: 0px 5px 20px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 5px 20px -10px rgba(0,0,0,0.75);
    box-shadow: 0px 5px 20px -10px rgba(0,0,0,0.75);
}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky { position: fixed !important; top: 0; width: 100%; }

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content { padding-top: 30px; }

#container {  }

#content { margin-top: 74px; }

.full-width { width: 100%; display: block; }

.flt-left { float: left; }
.flt-right { float: right; }
.aligncenter { margin-left:auto; margin-right:auto; display: block; }
.clear { display: block; clear: both;}

#footer {
	margin-top: 40px;
	width: 100%;
	padding: 20px;
    border-top: 2px solid #99599B;
    background-color: #0D2448;
	color: #FFF;
}

#search-form { display: none; position: absolute; top: 10px; right: 10px; width: 200px; }

input[type="search"] {
	-webkit-appearance: textfield;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	padding: 0px !important;
	padding-left: 5px !important;
	margin-right: 20px;
}

.search-field {
	background-image: url(img/search.png);
	background-position: 98% 50%;
	background-repeat: no-repeat;
	background-size: 18px;
	border: 0;
	cursor: pointer;
	height: 24px;
    width: 100%;
	padding: 5px;
	position: relative;
    margin-top: 2%;
}
.entry-content .search-field { border: 1px solid #CCC; width: 50%; }

.search-submit {
  display: none;
}

.search-body { padding: 5%; }

.nav-links { margin-top: 40px; border-top: 2px solid #1A478F; padding-top: 20px; display: block; }

.sec-header { margin-top: -14px; background-color: #CCC; background-size: cover; background-position: center; background-repeat: no-repeat; border-bottom: 2px solid #99599B;}
.sec-page-hdr { display: none; }

#sidebar { width: 18%; float: left; margin-right: 2%; background-color: #E1E3E6; padding: 40px 20px; }
.entry-content { width: 78%; float: left; margin-top: 40px; margin-right: 2%; }
body.page-template-nosidebar-page .entry-content { float: none; margin: 0 auto; margin-right: 11%; }
body.home .entry-content { width: 100%; margin: 0 auto; float: none;  }

.group:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.group { display: inline-block; }

ul.section-excerpts li { border-bottom: 1px solid #BFC4CD; padding: 20px 0px; margin-bottom: 10px; }

.vc_separator h4 { visibility: hidden; position: relative;}
.vc_separator h4::before {
    visibility: visible;
    position: absolute;
    top: -12px;
    left: 4px;
    content: url("img/icon-cross.png");
    width: 28px;
    height: 40px;
}

input[type="text"], input[type="email"], textarea, input[type="submit"] {
	border: none;
}

blockquote { background-color: #D1DAE9; padding: 20px; }
blockquote p { font-family: 'Crimson Pro', serif !important; }
.quotation{ font-size: 2em; quotes: "\201C""\201D""\2018""\2019"; padding: 10px 20px; line-height: 1.4; }

.quotation:before {
  content: open-quote; display: inline; height: 0; line-height: 0; left: -10px; position: relative; top: 30px; color: #1A478F; font-size: 2.5em;
}
.quotation::after {
  content: close-quote; display: inline; height: 0; line-height: 0; left: 10px; position: relative; top: 25px; color: #1A478F; font-size: 2.5em;
}
.quote-footer{ margin:0; text-align: right; font-size: 1em; font-style: italic; }

.desktop-pad { padding-left: 80px; padding-right: 80px;}

.mobile-show { display: none !important; }


/* ********** NAVIGATION ********** */
.menu-header-left-container, .menu-header-right-container { text-align: center; }
.menu-header-left-container ul li, .menu-header-right-container ul li { list-style-type: none; display: inline-block; padding: 20px 10px; position: relative; top: 0; }

#frr ul li.menu-item-has-children { background-color: white; border-radius: 4px; display: inline; padding: 5px 10px; }
#frr ul li.menu-item-has-children i { margin-left: 10px; }

.menu-header-left-container ul ul, #frr ul ul {
    position: absolute;
    top: -99999px;
    left: 0;
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    z-index: 497;
    background-color: #FFF;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(50, 50, 50, .6);
    -moz-box-shadow: 0px 5px 10px 0px rgba(50, 50, 50, .6);
    box-shadow: 0px 5px 10px 0px rgba(50, 50, 50, .6);
    text-align: left !important;
    border-top: none;
    border-bottom: none;
    margin-top: 40px;
    padding: 10px 0px;    
}
#frr ul ul { margin-left: 20px; }

.menu-header-left-container ul ul li, #frr ul ul li {
    padding: 5px 15px !important;
    margin: 0 !important;
    text-align: left !important;
    margin-right: 0;
    -webkit-transition: all .5s; transition: all .5s;
}
.menu-header-left-container ul ul li a, #frr ul ul li a {
    display: block !important;
    min-width: 120px;
}
#frr ul ul li a { min-width: 180px; }

.menu-header-left-container ul li:hover>ul, #frr ul li:hover>ul {
    opacity: 1;
    position: absolute;
    top: 17px;
    left: 0px;
}
.menu-header-left-container ul ul li:hover>ul, #frr ul ul li:hover>ul {
    position: absolute;
    top: -10px;
    left: 135px;
    opacity: 1;
    z-index: 497;
    background: #333;
}
.menu-header-left-container ul ul li a, .menu-header-left-container ul ul li a:link, .menu-header-left-container ul ul li a:visited {
    color: #FFF;
}
.menu-header-left-container ul ul li a:hover {
    color: #cba020;
}

#top-utility-nav { margin-top:5px; }
#top-utility-nav ul, #top-utility-nav ul li { list-style-type: none; display: inline-block; padding: 0px 20px; }

#sidebar ul.sub-side-nav { border-top: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF; padding: 20px 0px; }
#sidebar ul.sub-side-nav li { margin-bottom: 10px; }
#sidebar ul.sub-side-nav ul.children { display: none; }

#menu-footer li { line-height: 1.4em; }

/* ********** TYPOGRAPHY ********** */

body, html, p {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
    color: #0D2448;
}

h1 { font-family: 'Crimson Pro', serif; font-weight: 300; font-size: 3em; }
h2 { font-family: 'Crimson Pro', serif; font-weight: 300; font-size: 2em; margin-bottom: 20px; }
h3, .footer-title p { font-family: 'Crimson Pro', serif; font-weight: 300; text-transform: uppercase; letter-spacing: 2px; font-size: 1.4em; margin-bottom: 10px; }
.footer-title p { font-size: 2em; line-height: .8em; }
.footer-title .small { font-size: .6em; }
h4 { font-family: 'Crimson Pro', serif; font-weight: 600; font-size: 1.8em; margin-bottom: 10px; }
p { margin-bottom: 20px; line-height: 1.4em; }

strong, b { font-weight: bold; }
em { font-style: italic; }

#site-title h1 {
    font-family: 'Crimson Pro', serif;
    padding: 5px 10px;
    text-transform: uppercase;
    font-size: 2.5em;
    line-height: .5em;
    margin: 0;
}
#site-title .small { font-size: .4em; letter-spacing: 10px; }

.sec-header h1 {
    font-family: 'Crimson Pro', serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 3em;
    padding: 120px 0px;
    color: white;
    text-shadow: 0px 0px 5px rgba(26, 71, 173, 0.95);
}

#top-utility { font-family: 'Crimson Pro', serif; font-weight: 600; font-size: .85em; text-transform: uppercase; text-align: center; }

.white, .white p { color: #FFFFFF; }
.med-blue { color: #1A478F; }
.dark-blue { color: #0D2448; }
.yellow, .purple { color: #660E66; }
.gold, .light-purple { color: #99599B; }

a, a:link, a:visited { color: #0D2448; webkit-transition: all .5s; transition: all .5s; }
a:hover { color: #1A478F; }

.white a { color: #FFF; }
.white a:hover { color: #99599B; }

#site-title h1 a, #site-title h1 a:link, #site-title h1 a:visited { font-weight: 300; color: white; text-decoration: none; }
#site-title h1 a:hover { color: #99599B; }

.menu a, .menu a:link, .menu a:visited { font-size: .9em; color: white; font-family: 'Roboto', serif; text-decoration: none;  -webkit-transition: all .5s; transition: all .5s;}
#frr ul li { list-style-type: none; line-height:1.4em; margin-bottom: 0; }

.wpb_text_column ul li { list-style-type: disc; margin-left: 20px; line-height: 1.4em; margin-bottom: 20px; }
.wpb_text_column ol li { list-style-type: decimal; margin-left: 20px; line-height: 1.4em; margin-bottom: 20px; }

.menu a:hover { color: #99599B; }
.menu ul.sub-menu a, .menu ul.sub-menu a:link, .menu ul.sub-menu a:visited { color: #0D2448 !important; }
.menu ul.sub-menu a:hover { color: #1A478F !important; }
#top-utility-nav a { color: white; text-decoration: none; }

a.button, a.buton:link, a.button:visited, input.gform_button, .nav-links a,  .nav-links a:link, .nav-links a:visited {
    background-color: #99599B;
    border-bottom: 2px solid #660E66 !important;
    font-family: 'Crimson Pro', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 20px;
	color: white;
}

#sidebar h2 { text-align: center; }
#sidebar a, #sidebar a:link, #sidebar a:visited { font-size: .85em; color: #0D2448; text-decoration: none; }
#sidebar a:hover { color: #1A478F; }

#footer, #footer p, #footer a, #footer a:link,  #footer a:visited  { color: white !important; }
#footer a:hover { color: #660E66 !important; }
#copyright { font-size: .75em; }

@media screen and (max-width:1255px) { .menu-header-left-container ul li, .menu-header-right-container ul li { padding: 20px 5px; }
}
@media screen and (max-width:1197px) { #site-title h1 { font-size: 2.5em; } }
@media screen and (max-width:1086px) { #site-title h1 { font-size: 2em; } }

@media screen and (max-width:1024px) {
	#site-title, #top-hours { width: 100%; margin: 0 auto; }
	#site-title h1 { font-size: 2.75em; }
	.desktop-pad { padding-left: 0px; padding-right: 0px;}
}

@media screen and (max-width:768px) {
    .mobile-show { display: block; }
    .desktop-show { display: none; }
	#top-utility { font-size: .75em; text-align: left; }
}


@media screen and (max-width:468px) {
	 .mobile-show { display: block; }
    .mobile-hide { display: none; }
	#sidebar { display: none; width: 0; }
	.entry-content { width: 100%; float: none; padding-left: 20px; padding-right: 20px; }
	#site-title h1 { font-size: 2em !important; padding: 20px 10px; }
	.footer-title p { font-size: 1.4em; }
}
