/*
Theme Name: MDW Theme
Theme URI:
Description: A theme built on the Bootstrap framework. Designed to be a start theme ontop of which other themes can be built.
Author: Erik Mitchell
Author URI: http://millerdesignworks.com
Version: 1.6.3
Tags: white, light, responsive-layout, featured-images, custom-menu, theme-options, translation-ready
Text Domain: mdw-theme
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Bootstrap
2.0 Navigation
3.0 WordPress
4.0 Site
5.0 Slider
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 Bootstrap
--------------------------------------------------------------*/
/** enqueued in functions properly */

/*--------------------------------------------------------------
2.0 Navigation
--------------------------------------------------------------*/
/**
 * modify the default "panel" styling for our mobile menu
 */
.mdw-wp-theme-mobile-menu {
	padding-right: 15px;
	padding-left: 15px;
	overflow-x: visible;
	-webkit-overflow-scrolling: touch;
	border-top: 1px solid transparent;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.mdw-wp-theme-mobile-menu ul {
  margin: 0; }

.mdw-wp-theme-mobile-menu .panel {
  border: none;
  box-shadow: none;
  overflow: hidden; }

.mdw-wp-theme-mobile-menu .panel-default .panel-heading.menu-item-has-children > :first-child {
  border-top: none; }

.mdw-wp-theme-mobile-menu .panel-default > .panel-heading {
  background-image: none;
  color: #777;
  border-bottom: 1px solid #fff; }

.mdw-wp-theme-mobile-menu .panel-default .panel-heading {
  padding: 0; }

.mdw-wp-theme-mobile-menu .panel-default .panel-heading .panel-title a {
  display: block;
  padding: 10px 15px; }

.mdw-wp-theme-mobile-menu .panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top: none; }

.mdw-wp-theme-mobile-menu .panel-default .panel-heading.menu-item-has-children .panel-title a,
.mdw-wp-theme-mobile-menu .panel-default .panel-collapse .panel-title a {
  color: #777; }

.mdw-wp-theme-mobile-menu .panel-default .panel-heading.menu-item-has-children {
  overflow: hidden; }

.mdw-wp-theme-mobile-menu .panel-default .panel-heading.menu-item-has-children .panel-title .item-title {
  float: left;
  width: 85.8%; }

.mdw-wp-theme-mobile-menu .panel-default .panel-collapse .panel-title .item-title {
  float: left;
  width: 84.8%; }

.mdw-wp-theme-mobile-menu .panel-default .panel-heading.menu-item-has-children .panel-title .item-icon,
.mdw-wp-theme-mobile-menu .panel-default .panel-collapse .panel-title .item-icon {
  float: right;
  border-left: 1px solid #fff; }

.mdw-wp-theme-mobile-menu .panel-default > .panel-heading + .panel-collapse > .panel-body {
  padding: 15px; }

.mdw-wp-theme-mobile-menu .panel-group .panel + .panel {
  margin-top: 0; }

.mdw-wp-theme-mobile-menu .panel-group {
  margin-top: 0;
  margin-bottom: 0;
  border: 1px solid #ccc;
  border-width: 1px 0; }

.mdw-wp-theme-mobile-menu .panel-group.navbar-nav {
  border-width: 0; }

.mdw-wp-theme-mobile-menu .panel-group .panel-body {
  padding: 0; }

.mdw-wp-theme-mobile-menu .panel-title {
  font-size: 14px; }

.mdw-wp-theme-mobile-menu .panel-title a:hover {
  color: #333;
  text-decoration: none; }

.mdw-wp-theme-mobile-menu .panel-title a:focus {
  text-decoration: none; }

.mdw-wp-theme-mobile-menu .panel-group ul.panel-body {
  list-style-type: none;
  margin: 0;
  padding: 0 0 0 15px; }

@media screen and (min-width: 768px) {
  .navbar-collapse.collapse.mdw-wp-theme-mobile-menu {
    display: none !important; } }

/*--------------------------------------------------------------
3.0 WordPress
--------------------------------------------------------------*/
.alignnone {
    margin: 5px 20px 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
}

.gallery-caption {}

.sticky {}
.entry-content {
	overflow: hidden;
}
img {
	max-width: 100%;
	height: 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 {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* 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. */
}

/*--------------------------------------------------------------
4.0 Site
--------------------------------------------------------------*/
/**
 * navbar
 */
.navbar {
  margin: 36px 0;
  background-color: transparent;
  background-image: none;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none; }

.navbar-brand.logo {
  text-indent: -9999px;
  width: 163px;
  height: 100px;
  padding: 0; }

.navbar .navbar-nav.logo {
  margin: 50px 0 0 0; }

/**/
.row.content {
  padding: 10px 0; }

/**
 * dropdown menus
 */
.dropdown-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size: 14px;
  list-style: none;
  background-color: #fff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box; }

.dropdown-submenu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.428571429;
  color: #333333;
  white-space: nowrap; }

.dropdown-submenu > li > a:hover,
.dropdown-submenu > li > a:focus {
  color: #262626;
  text-decoration: none;
  background-color: #f5f5f5; }

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background-color: #e8e8e8;
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#e8e8e8));
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
  background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); }

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.dropdown-menu .sub-level.active > a,
.dropdown-menu > .current-menu-ancestor > a,
.dropdown-menu > .current-menu-ancestor > a:hover {
  background-color: #357ebd;
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd));
  background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
  background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
  background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); }

.dropdown-menu .sub-level.active > a {
  color: #fff; }

.dropdown-menu > .current-menu-ancestor > a,
.dropdown-menu > .current-menu-ancestor > a:hover {
  color: #fff; }

.dropdown.sub-level:hover > .dropdown-submenu {
  display: block; }

/* allows the dropdown to activate on hover, not click */
.dropdown-menu .sub-menu {
  left: 100%;
  position: absolute;
  top: 0;
  visibility: hidden;
  margin-top: -1px; }

.dropdown-menu li:hover .sub-menu {
  visibility: visible; }

.dropdown:hover .dropdown-menu {
  display: block; }

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
  margin-top: 0; }

.navbar .sub-menu:before {
  border-bottom: 7px solid transparent;
  border-left: none;
  border-right: 7px solid rgba(0, 0, 0, 0.2);
  border-top: 7px solid transparent;
  left: -7px;
  top: 10px; }

.navbar .sub-menu:after {
  border-top: 6px solid transparent;
  border-left: none;
  border-right: 6px solid #fff;
  border-bottom: 6px solid transparent;
  left: 10px;
  top: 11px;
  left: -6px; }

.right-caret {
  border-bottom: 4px solid transparent;
  border-top: 4px solid transparent;
  border-left: 4px solid #000000;
  height: 0;
  width: 0;
  position: absolute;
  right: 10px;
  top: 9px; }

.navbar-default .navbar-nav .dropdown > a .right-caret {
  border-left-color: #333;
  border-right-color: #333; }

.navbar-default .navbar-nav .dropdown > a:hover .right-caret,
.navbar-default .navbar-nav .dropdown > a:focus .right-caret {
  border-left-color: #333333;
  border-right-color: #333333; }

.left-caret {
  border-bottom: 4px solid transparent;
  border-top: 4px solid transparent;
  border-right: 4px solid #000000;
  height: 0;
  width: 0;
  position: absolute;
  left: 10px;
  top: 9px; }

.navbar-default .navbar-nav .dropdown > a .left-caret {
  border-left-color: #333;
  border-right-color: #333; }

.navbar-default .navbar-nav .dropdown > a:hover .left-caret,
.navbar-default .navbar-nav .dropdown > a:focus .left-caret {
  border-left-color: #333333;
  border-right-color: #333333; }

.dropdown-submenu.flip-left {
  right: 100%;
  left: auto; }

/**
 * wp comment list
 */
.commentlist .bypostauthor {
  background: #f8f8f8; }

.commentlist li ul.children li.bypostauthor {
  background: #f8f8f8; }

/**
 * footer
 */
footer {
  border-top: none; }

footer .footer-widgets {
  padding: 10px 0 20px 0; }

footer .footer-widgets ul {
  list-style-type: none;
  padding: 0;
  margin: 0; }

footer .copyright {
  padding: 10px 0;
  text-align: center; }

/**
 * back to top button
 */
.mdw-back-to-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #048dfd url(images/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s; }

.mdw-back-to-top.btt-is-visible,
.mdw-back-to-top.btt-fade-out,
.no-touch .mdw-back-to-top:hover {
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s; }

.mdw-back-to-top.btt-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1; }

.mdw-back-to-top.btt-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5; }

.no-touch .mdw-back-to-top:hover {
  background-color: #e86256;
  opacity: 1; }

@media only screen and (min-width: 768px) {
  .mdw-back-to-top {
    right: 20px;
    bottom: 20px; } }

@media only screen and (min-width: 1024px) {
  .mdw-back-to-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px; } }

/**
 * hides our dropdown on hover on smaller screens
 */
@media only screen and (max-width: 767px) {
  .dropdown:hover > .dropdown-menu {
    display: none; }
  .dropdown.open > .dropdown-menu {
    display: block; } }

/*--------------------------------------------------------------
5.0 Slider
--------------------------------------------------------------*/
/**
 * general slider formatting
 */
.mdw-wp-slider .carousel-indicators {
  bottom: 5px; }

.mdw-wp-slider .carousel-inner > .item {
  height: 100%; }

.mdw-wp-slider .carousel-caption {
  font-size: 18px; }

.carousel-inner > .item > a > img,
.carousel-inner > .item > img {
  margin: 0 auto; }
