/*
Theme Name: Fraser Shading Theme
Theme URI: 
Author: Allison Inouye
Author URI: 
Version: 1.90
*/

body {
    background-color: #fff !important;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 16px;
    text-transform: uppercase;
    font-weight: 300;
}

ul.page_list {
    list-style-type: none;
    float: right;
}
ul.page_list li {
    display: inline-block;
    margin-left: 10px;
}

ul.page_list li.active {
    font-weight:bold;
    font-size: 150%;
}

#fs-logo {
    max-width: 200px;
    width: 100%;
}

#sidebar {
    margin-top: 20px;
}

.page h1, .single h1 {
    font-weight: bold;
    color: #8dc53e;
    font-size: 35px;
    margin-top: 20px;
}

h2 {
    font-weight: bold;
    color: #8dc53e;
    font-size: 25px;
}

h1 span, h2 span, h3 span, h4 span {
    color: #8dc53e;
}


#sidebar h4 {
    margin-top: 30px;
}

#sidebar ul li.menu-item {
    margin: 0 5px 12px 0;
}

#sidebar li.current-menu-item a {
    color: #000;
}

.alignnone {
    margin: 5px auto 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.gallery-item img {
    border-width: 1px;
    margin-bottom: 0;
}

.wp-post-image {
	margin-bottom: 20px;
}

.sticky {
}

.bypostauthor {
}

.entry {
	margin-bottom: 20px;
}

.widget {
	text-align: initial;
}

.widget ul {
    list-style: none;
    padding: 0;
}

#searchsubmit {
	margin: 4px 0;
}

.comment-list {
	padding: 0;
}

.comment-list, 
.children:nth-child(n+1) {
	list-style: none;
}

@media (max-width: 767px) {
	.comment-list, 
	.children:nth-child(n+1) {
		padding: 0;
  	} 
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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-size: 0.875rem;
	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. */
}

.main-navigation {
  background-color: #428bca;
  -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
          box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
}

.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #428bca;
}

.nav-menu li {
    float: left;
}

.nav-menu > li > a {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb;
}

.nav-menu > li > a:hover {
  color: #fff;
  text-decoration: none;
}

/* Active state gets a caret at the bottom */
.current-menu-item > a {
  color: #fff;
}

.nav-menu .menu-toggle {
    display: none;
}

@media screen and (max-width:768px) {
    .nav-menu li:not(:first-child) {
	display: none;
    }
    
    .nav-menu li.menu-toggle {
	float: right;
	display: block;
    }
}

@media screen and (max-width:768px) {
    #primary-container {
        overflow: hidden !important;
    }

    .nav-menu.responsive {
	position: relative;
    }

    .nav-menu.responsive .menu-toggle {
    	position: absolute;
    	right: 0;
    	top: 0;
    }

    .nav-menu.responsive li {
    	float: none;
    	display: inline;
    }

    .nav-menu.responsive li a {
  	display: block;
    	text-align: left;
    }
}

.sub-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    list-style: none;
    padding: 0;
}

.sub-menu ul, 
.children ul {
    display: none;
    box-shadow: 8px 8px 16px 0px rgba(0,0,0,0.2);
    left: 100%;
    top: 0;
}

.sub-menu > li {
    position: relative;
}

.sub-menu > li > a {
    color: black;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    width: 160px;
}

.sub-menu > li > a:hover {
    background-color: #f1f1f1;
}

.menu-item-has-children:hover > .sub-menu {
    display: block;
}

@media screen and (max-width:768px) {
    .sub-menu {
    	position: relative;
    	width: 100%;
    }
    .sub-menu > li > a {
        width: 100%;
    }

    .sub-menu ul, 
    .children ul {
    	display: none;
    	left: 0;
    	top: 0;
    }
}

.custom-logo {
    float: left;
    margin: 30px 30px 0 0;
}

.container {
    background-color: #fff;
}

.no-gutter {
    padding: 0 !important;
}

.no-gutter .row {
    margin: 0 !important;
}

#menu-primary {
    margin-top: 38px;
    font-weight: bold;
}

/* Caption styles
.nivo-caption {
    position: absolute;
    font-size: 4vw;
    max-width: 450px;
    top: 20%;
    left: 50px;
    font-family: 'Raleway', Arial !important;
    font-weight: 800;
    line-height: 1.0em;
    color: #FFF;
    overflow: hidden;
    opacity: 1.0 !important;
    display: none;
    background: none !important;
}

.nivo-controlNav a {
    background: url('/wp-content/themes/fraser-custom/images/bullets.png') no-repeat !important;
}

.nivo-controlNav a.active {
    background-position: 0 -20px !important;
}

.nivo-controlNav {
    padding: 15px 0;
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
}
 */

.home-image {
    height: 250px;
    background-size: cover;
}

.page_content {
    padding: 20px 30px;
}

.blog-sidebar {
    margin-top: 20px;
}

.navbar {
    padding: 5px 15px;
}

.footer {
    margin-top: 30px;
    background-color: #231f20;
    color: #fff;
    padding: 20px 30px;
}

.footer h4 {
    color: #fff;
    font-weight: 500;
}

.footer a {
    color: #067ab8;
}

.copyright {
    margin-top: 20px;
}

.quick-facts .row div {
    padding-bottom: 30px;
    font-size: 12px;
}

.quick-facts .glyphicon {
    font-size: 3em;
    color: #8dc53e;
}

select.form-control {
   -webkit-appearance: button;
   -webkit-border-radius: 2px;
   -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
   -webkit-padding-end: 20px;
   -webkit-padding-start: 2px;
   -webkit-user-select: none;
   background-image: url('/wp-content/themes/fraser-custom/images/downarrow.png'), -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
   background-position: 97% center;
   background-repeat: no-repeat;
   border: 1px solid #AAA;
   color: #555;
   font-size: inherit;
   overflow: hidden;
   padding: 5px 10px;
   text-overflow: ellipsis;
   white-space: nowrap;
   width: 100%;
   margin-bottom: 10px;
}

.project-image {
    height: 300px;
    background-size: cover;
    cursor: pointer;
    margin-bottom: 30px;
}

.project-image:hover .caption{
    opacity: 1;
}

.project-image h5 {
    color: #fff;
    font-weight: bold;
}

.project-image span.caption {
    background-color: rgba(0,0,0,0.8);
    position: absolute;
    color: #fff;
    z-index: 100;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    left: 15px;
    opacity: 0;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    text-align: left;
    padding: 15px;
}

.pad-bot {
    margin-bottom: 20px;
}

.modal-backdrop {
    z-index: 0 !important;
}

h3.dealer{
    line-height: 1.0em;
    margin-bottom: 5px;
}

h3.dealer + .row {
    padding-top: 20px;
}

h3.dealer + i {
    padding-bottom: 20px;
}

i {
    font-size: 18px;
    margin-top: 0;
    font-weight: bold;
    font-style: none;
}

.glyphicon {
    top: 3px;
}

@media (max-width: 768px) {
    .navbar {
        padding:0;
        height: auto;
    }

    .project-image span.caption, .project-image h5 {
        font-size: 16px;
    }
}
