/*
Theme Name: Stanroy
Theme URI: http://themekraft.com/tk/
Author: ThemeKraft
Author URI: http://themekraft.com/
Description: Hi, I am the ultra minimal starter theme _tk, ready for your next awesome WordPress project! I am the most seamless and minimalistic integration of Twitter Bootstrap Framework into the _s starter theme from Automattic, the guys behind WordPress.
Version: 1.1.2
License: GNU General Public License
License URI: see license.txt
Tags: coffee, nightshift

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

This theme is the most seamless and minimalistic integration of Twitter Bootstrap Framework into
the _s starter theme from Automattic, the guys behind WordPress.

_s (or Underscores) http://underscores.me/, (C) 2012-2013 Automattic, Inc.

Twitter Bootstrap


*/

/* Import the necessary TK Bootstrap WP CSS additions */
@import url( includes/css/bootstrap-wp.css );

@import url(//fonts.googleapis.com/css?family=Montserrat:400,700);
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,700);
/* My Minimal WordPress Styling comes here */

/* This is a small security for too long strings titles */
body {
	word-wrap: break-word;
    font-family: 'Open Sans', sans-serif;
    font-size:16px;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}


/* Images and wp-captions should always fit and be responsive */
img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

/* WP Gallery */
.gallery {
	margin-bottom: 1.5em;
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}


/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}


/* Content */
.main-content-inner {
	padding-bottom: 1.5em;
}
.hentry {
	margin: 0 0 1.5em;
}


/* Clearing */
.clear {
	clear: both;
}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
 .comment .children { margin-left: 1.5em; }

/*
 == Quick CSS styling tips ==

 You can start off in a rough direction with some minimal styles.
 See below for some tips. ;)


 == Want to have the whole site wrapped? ==

 Just fill the .container class with some background color to have a the whole site "wrapped".
 This works so easy because every main part is wrapped only once into a container class by bootstrap.
 Try out by decommenting the next line and go from there.

 .container { background: #f9f9f9; border-right: 1px solid #eee; border-left: 1px solid #eee; }


 == Want to wrap just the content and sidebar in Bootstrap style? ==

 That one is a great example to show that some things are much cleaner and easier to do via just adding some HTML classes.
 In this case, we will add just one CSS class "panel", look for example at the beginning in content.php!


 == Infinite Scrolling by Jetpack ==
 You can enable this cool feature by simply decommenting the lines below and make sure you use the same classes on the right place in your html..

/* Globally hidden elements when Infinite Scroll is supported and in use.
 * Older / Newer Posts Navigation (the pagination, must always be hidden), Theme Footer only when set to scrolling.. */

/*
.infinite-scroll .page-links,
.infinite-scroll.neverending .site-footer {
	display: none;
}
*/

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

/*
.infinity-end.neverending .site-footer {
	display: block;
}
*/
a {color:#e7be66;}
a:hover {color:#f1b533; text-decoration:none;}
.main-menu li a:hover {color:#e7be66; text-decoration:none;}
.container {
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    padding:0 0 10px 0;
    background-color:#2e1010;
}

.navbar {
    margin-bottom:0;
}
.navbar-default .navbar-nav > li > a {
color: #ffffff;
font-family:"Montserrat", Arial, Helvetica, sans-serif !important;
font-weight:400;
letter-spacing: 0;
font-size:18px;
}
.navbar-default .navbar-nav > li > a:hover {
color: #e7be66;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
color: #ffffff;
background-color: transparent;
}
.nav > li > a {
position: relative;
display: block;
padding: 10px 8px;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
border-color: #e7be66;
}
.navbar-collapse {
    padding-left:8px;
    border:2px solid #e7be66;
    border-left:0;
    border-right:0;
    margin-top:3px;
    margin-bottom:3px;
}
.nav-pad {
    padding:2px 0;
}

.social-house, .social-house .textwidget{float:right; display:inline-block; height:47px;}
.social {
    display:inline-block;
    height:100%;
    width:42px;
    background-position: center center;
    background-repeat:no-repeat;
    
}
.twitter {
    background-image:url('/wp-content/themes/stanroy/img/tweet.png');
}
.facebook {
    background-image:url('/wp-content/themes/stanroy/img/facebook.png');
}
.youtube {
    background-image:url('/wp-content/themes/stanroy/img/youtube.png');
}
.twitter:hover {
    background-image:url('/wp-content/themes/stanroy/img/tweet-hover.png');
}
.facebook:hover {
    background-image:url('/wp-content/themes/stanroy/img/facebook-hover.png');
}
.youtube:hover {
    background-image:url('/wp-content/themes/stanroy/img/youtube-hover.png');
}

.side-top, .side-mid, .side-bottom {width:250px; margin:0 auto; vertical-align: top;}
.side-top { height:51px; background:url('/wp-content/themes/stanroy/img/top-sidebar.png') center top no-repeat; text-align:center;}
.side-mid { height:100%; min-height:300px; background:url('/wp-content/themes/stanroy/img/mid-sidebar.png') center top repeat-y;}
.side-bottom { height:57px; background:url('/wp-content/themes/stanroy/img/bottom-sidebar.png') center top no-repeat;}

input[type="search"] {
    width:170px;
    height:25px;
    margin-top:15px;
    border-radius:0;
}
input[type="submit"] {
    display:none;
}
.address {width:216px; margin:0 auto; color:#ffffff; font-size: 16px; font-family:"Montserrat", Arial, Helvetica, sans-serif !important;
font-weight:400;}
.address a {font-style:italic; text-decoration:underline;}
.stanroy-hours {width:216px; margin:5px auto; color:#e7be66; text-align:right; border-top:1px solid #e7be66; border-bottom:1px solid #e7be66;}
.hours-row {width:100%;}
.hours-row span {
    font-size: .85em;
}
.hours-row > img {margin: 5px 15px 5px 0;}
.hours-row > div {border-bottom:1px solid #e7be66; display:inline-block; width:183px; text-align:left; height:36px;}
.hours-row > div > span:nth-of-type(2) {float:right; line-height:36px;}
.hours-row > div > span:first-of-type {line-height:36px;}
.hours-row.last div {border:0;}
.side-widgets {width:216px; margin:0 auto;}
.fb_iframe_widget {margin:0 auto; background-color:#333333;}
#easy_racebook_likebox-2, #easy_facebook_page_plugin-2 {text-align:center; margin-top:15px; margin-bottom:1em;}
.sidebar-div { height:3px; padding: 0.5em 0; margin:5px auto; clear:both; background:url('/wp-content/themes/stanroy/img/div-sidebar.png') center center no-repeat;}
.sidebar-padder {margin-bottom:2em;}
.sidebar-widget-title {color:#fff; width:216px; margin:10px auto;}
#content {
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing: border-box;
    padding:0 15px 0 30px;
}
.sidebar {
    padding:0 15px 0 0;
}
.page-header {
padding-bottom: 9px;
margin: 0px 0px 5px;
border-bottom: 1px solid #eee;
}
header.page-header {
    border:none;
}
h1, .page-title {
    color:#E6BE63;
    text-transform: uppercase;
    font-size:32px;
font-family:"Montserrat", Arial, Helvetica, sans-serif !important; font-weight:400;
margin-top:10px;
}
h2, h3 {
    color:#E6BE63;
    text-transform: uppercase;
font-family:"Montserrat", Arial, Helvetica, sans-serif !important; font-weight:400;
}
h4 {
        color:#fff;
    text-transform: uppercase;
font-family:"Montserrat", Arial, Helvetica, sans-serif !important; font-weight:400;
}
h4.stanroy-sub-title {
    padding-left: .2em;
}
div.entry-content {
    color:#ffffff;
}
#bgmp_map-canvas {
    border:2px solid #000000;
}
.map-thumb {
    display:block;
    width:218px;
    height:163px;
    margin:10px auto;
    background:transparent url('/wp-content/themes/stanroy/img/map2.png') center center no-repeat;
}
.home-feature {
    margin-right:15px;
    float:left;
    box-sizing:border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border:1px solid #000000;
}
.section-div {
    width:100%;
    height:2px;
    margin:15px auto;
    background:transparent url('/wp-content/themes/stanroy/img/site-div.png') center center repeat-x;
}
.feature-banner {
    width:757px;
    height:140px;
    background:transparent;
    box-sizing:border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border:1px solid #000000;
}
.stanroy-1half {
    width:49.7%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:0 15px 0 0;
    display:inline-block;
vertical-align:top;
}
.stanroy-2half {
    width:49.7%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:0 0 0 15px;
    display:inline-block;
vertical-align:top;
}
.stanroy-1fourth {
    width:24.5%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:0 5px 0 0;
    display:inline-block;
vertical-align:top;
}
.stanroy-2-3-fourth {
    width:24.5%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:0 5px;
    display:inline-block;
vertical-align:top;
}
.stanroy-4fourth {
    width:24.5%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:0 0 0 5px;
    display:inline-block;
vertical-align:top;
}
.wp-caption {border:none;}

/* map styles */
.bgmp_placemark
{
    width: 250px;
    height: 130px;
}
.site-footer .container {
    background-color:#000000;
    color:#e7be66;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:0;
    height:64px;
}

.foot-links a {
    font-size:12px;
    margin-bottom:2px;
    display:block;
    font-weight:700;
}
.foot-links-col {
    display:inline-block;
    height:34px;
    margin:15px 30px 15px 15px;
}
.site-info a {
    float:right; display:block;
}
.blk_border {border:1px solid #000000; }
.dropdown-menu {border:2px solid #000;box-shadow: 0 6px 12px rgba(0, 0, 0, .3);}
.dropdown-menu li a {background-color:#ffffff; background-image:none; color:#000000; font-family:"Montserrat", Arial, Helvetica, sans-serif !important; font-weight:400;}
.dropdown-menu li a:hover, .dropdown-menu li a:focus { background-color:#6B1011 !important; background-image:none; color:#ffffff; font-family:"Montserrat", Arial, Helvetica, sans-serif !important; font-weight:400;}

/*make the menu sub-menu items drop down on mouse hover */
ul.nav li.dropdown:hover > ul.dropdown-menu{
display: block;
margin: 0;
}
.teachImg {width:280px;}
.cat-inst-block {
    width:33%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:0 15px 15px 0;
    display:inline-block;
    vertical-align:top;
}
.cat-inst {color:#fff; font-size:16px; font-family:"Montserrat", Arial, Helvetica, sans-serif !important; font-weight:700;}
.cat-inst-link {display:block;}
.cat-teach-block {
    width:33%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:0 15px 15px 0;
    display:inline-block;
    vertical-align:top;
}
.thumbImg {width:50px; float:left; margin:0 5px 5px 0;}
.pager li > a {
    background-color:#801417;
    border-radius: 10px;
    border-color:#000;
}
.pager li > a:hover, .pager li > a:focus {
    background-color:#6d1214;
    
}
.stanroy-button {
    position:relative;
    display:inline-block;
    background-color:#801417;
    font-family:"Montserrat", Arial, Helvetica, sans-serif !important;
    font-weight:400;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:7px 18px;
    border:2px solid black;
    color:#e7be66;
    text-transform: uppercase;
    cursor: pointer;
    text-align:center;
    vertical-align: middle;
    box-shadow:2px 2px 3px rgba(0,0,0,0.6);
    min-width:120px;
    border-radius:4px;
}
.stanroy-button:hover {
    background-color:#6d1214;
    color:#e7be76;
}
.stanroy-button:active {
    display:inline-block;
    top:1px;
    left:1px;
    box-shadow:1px 1px 2px rgba(0,0,0,0.6);
}
.stanroy-button.ref {
    padding:7px 46px;
    font-size:30px;
}
.form-field {
   color:#e7be66; 
   font-family:"Montserrat", Arial, Helvetica, sans-serif !important;
    font-weight:400;
    width:100%;
    margin:0 0 15px;
}
.form-field label {
    width:28%;
    vertical-align:top;
}
.form-field option, .form-field input, .form-field select {
    color:#000;
    font-family: 'Open Sans', sans-serif;
    min-width:160px;
    background-color:#fafafa;
}
.form-field textarea {
    color:#000;
    font-family: 'Open Sans', sans-serif;
    background-color:#fafafa;
    min-width:300px;
}
.hide {
    display:none;
}

.widget_newsletterwidget {
    box-sizing:border-box;
    padding:0 17px;
    color:#fff;
}
.widget_newsletterwidget p{
    margin:8px 0 10px;
}
.newsletter-email {
    width:100%;
    color:#222;
}
.newsletter-submit {
    display:block !important;
    outline:none;
    position:relative;
    background-color:#6B1011;
    font-family:"Montserrat", Arial, Helvetica, sans-serif !important;
    font-weight:400;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:7px 18px;
    border:2px solid black;
    color:#e7be66;
    text-transform: uppercase;
    cursor: pointer;
    text-align:center;
    vertical-align: middle;
    box-shadow:2px 2px 3px rgba(0,0,0,0.6);
    min-width:120px;
}
.newsletter-submit:hover {
    background-color:#6d1214;
    color:#f1b533;
}
.newsletter-submit:active {
    display:inline-block;
    top:1px;
    left:1px;
    box-shadow:1px 1px 2px rgba(0,0,0,0.6);
}

.entry-summary {
    color:#fff;
}

.stanroyImg {
    overflow:hidden;
    display:table;
    height:172px;
    width:175px;
    background-color:#333;
    background-position:center center;
    background-repeat: no-repeat;
    background-size:cover;
    margin-top: 10px;
    margin-bottom: 10px;
}
a.stanroyImg .stanroyImgText, .stanroyImgText {
    display:table-cell;
    color:#fff;
    line-height:100%;
    font-family: 'Open Sans', sans-serif;
    font-size:25px;
    letter-spacing:0;
    font-weight:bold;
    text-shadow:3px 3px 8px rgba(0,0,0,0.8);
    padding: 0 .5em;
    text-align: center;
    vertical-align:middle;
    text-transform: uppercase ;
    text-decoration:none;
}
.stanroyImg:hover .stanroyImgText, .stanroyImg:focus .stanroyImgText {
    text-shadow:3px 3px 8px rgba(0,0,0,1);
    color:#f1b533;
    text-decoration:none;
}
.stanroy-fc {
    display:flex;
    flex-wrap: wrap;
}
.stanroy-fc-img {
    display:flex;
}
.stanroy-fc a {
    flex: 1 1 auto;
    text-align:center;
    padding:5px;
}
.stanroy-fc-img img {
    flex: 1 1 50%;
    text-align:center;
    padding:0;
}
.content-img {
    max-width:60%;
}
.ref-arrow {
    margin-right:30px;
    display:initial;
}
.stanroy-button.ref {
    margin:0;
}
@media all and (max-width:767px) {
    #content {

        padding: 0 15px;
    }

    .sidebar {
        margin: 0 auto;
    }
    .main-content-inner {
        width:100%;
    }
    .site-footer .container {
        width:100%;
        height:auto;
        min-height:64px;
    }
    .site-info a {
        text-align: center;
        float:none;
    }
    .site-footer-inner {
        display:flex;
        flex-wrap: wrap;
    }
    .site-footer-inner .site-info {
        order:2;
        flex:1 1 100%;
    }
    .site-footer-inner .foot-links {
        order:1;
        flex:1 1 auto;
        display:flex;
        background: #212121;
    }
    .site-footer-inner .foot-links .foot-links-col {
        flex:1 1 auto;
    }
    .stanroy-1fourth, .stanroy-2-3-fourth, .stanroy-4fourth {
        width:50%;
        text-align:center;
    }
    .social-house, .social-house .textwidget {
        margin: 0 auto;
        text-align: center;
        display: block;
        float:none;
        background:#2e1010;
    }
    .navbar-default {
        border-bottom-color: #2e1010;
    }

    .teacher-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .teacher-list .cat-inst-block, .teacher-list .cat-teach-block {
        flex: 1 0 50%;
    }
    .ref-arrow {
        display:none;
    }
    .stanroy-button.ref {
        margin:0 auto 1em;
        display:block;
    }

/* mod bootstrap defaults */
    .row {
        margin:0;
    }
    .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
        position: relative;
        min-height: 1px;
         padding-right: 0;
         padding-left: 0;
    }
    .nav > li {
        padding-left: 1em;
    }
}