/*
Theme Name: devdmbootstrap3-child
Theme URI: http://devdm.com/DevDmBootstrap3
Author: Danny Machal
Author URI: http://devdm.com/
Description: A devdmbootstrap3 v1.71 child theme.
Version: 1.71
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, rtl-language-support, theme-options, translation-ready
Text Domain: devdmbootstrap3
Template: devdmbootstrap3
*/

@import "css/bootstrap.css";

/* YOU SHOULD BE MAKING A CHILD THEME. Don't let me be a bad guy and erase all your hard work with a theme update. I just want to bring you new amazing features. I don't want to destroy your world. I've include a child theme to use. Need help? http://devdm.com/DevDmBootstrap3/child-themes/ */

/****************** Special Blank CSS classes for child themes to use without disturbing core bootstrap rules ****************/
@import url('https://fonts.googleapis.com/css?family=Raleway:500,500i,700,700i,800,800i');

html,body
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

a img:hover {
	opacity: 0.7;
}
body {
	font-size: 18px;
	line-height: 26px;
	font-family: 'Raleway', sans-serif;
	color: #353535;
	padding-bottom: 0;
	font-weight: 500;
	
}
body {
	background: transparent;
	padding: 0;
	margin: 0;
}
.container {
    width: 95%;
	max-width: 1050px;
	margin: 0 auto; 
}

.center {
	text-align: center;
}
.home-cta {
	max-width: 32%;
	text-align: center;
}
@media all and (max-width:650px) {
	.home-cta {
		max-width: 100%;
		margin-bottom: 24px;
	}
}
img {
	max-width: 100%;
}
.navbar {
	margin-bottom: 0px;
}

.dmbs-header {
	width: 100%;
	background: url(/images/bkgd-accent4.jpg) repeat;
}

#menu-main-menu-top {
	float: right;
}
.menu-portfolio-container {
	margin: 24px 0;
}

.sub-menu ul li  {
	display: inline-block;
	background-color: #C96021;
	padding: 6px 12px;
	margin: 3px 0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 4px solid #fff;
}
.sub-menu ul li a {
	color: #fff;
	display: block;
}

.sub-menu ul li.current-menu-item {
	background-color: #8e4115;
	color: #000;
	border: 4px solid #8e4115;
}
.sub-menu ul li.current-menu-item a {
	color: #fff;
}
.sub-menu ul li:hover {
	background-color: #8e4115;
	border: 4px solid #8e4115;
}
.sub-menu ul li a:hover {
	text-decoration: none;
}

.sub-menu h3 {
	margin-top: 48px;
	text-align: center;
	font-size: 24px;
}
.sub-menu h4 {
	text-align: center;
	font-style: italic;
}
span.wpcf7-list-item {
  display: block;
}
h1, h2, h3, h4, h5 {
	font-family: 'Raleway', sans-serif;
	font-weight: 800;
}
h1, h2 {

}
h1 {
	font-size: 38px;
	line-height: 44px;
	padding: 12px 0 12px;
}
h2 {
	font-size: 38px;
	line-height: 45px;
	padding: 24px 0 12px;
}
h3 {
	line-height: 28px;
	font-size: 24px;
	padding: 18px 0 9px;

}
.list {
	margin: 24px 0;
}
.list .glyphicon {
	color: #64a2bc;
	padding-right: 6px;
}
.teal {
		color: #195975;
}
.orange {
	color: #c96021;
}
.box {

}
p {
	padding: 0 0 20px;
}
h3 a.btn {
	color: #fff;
	font-family: 'Open Sans', sans-serif;
		font-weight: 900;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	font-size:20px;
	background: #f07d31
}
.bkgd-accent {
	background: url("/images/bkgd-accent3.jpg") repeat;
	padding: 2%;
-webkit-box-shadow: inset 0px 0px 12px 0px rgba(0,0,0,0.35);
-moz-box-shadow: inset 0px 0px 12px 0px rgba(0,0,0,0.35);
box-shadow: inset 0px 0px 12px 0px rgba(0,0,0,0.35);
}
.bkgd-accent2 {
	background: url("/images/bkgd-accent.jpg") repeat;
	padding: 2%;
-webkit-box-shadow: inset 0px 0px 12px 0px rgba(0,0,0,0.35);
-moz-box-shadow: inset 0px 0px 12px 0px rgba(0,0,0,0.35);
box-shadow: inset 0px 0px 12px 0px rgba(0,0,0,0.35);
margin-top: -2px;
}
.bkgd-accent3 {
	background: url("/images/bkgd-accent2.jpg") repeat;
	padding: 0 0 24px;
	
}

.metaslider-57 {
	
}
.dmbs-footer {
	background: url(/images/bkgd-accent4.jpg) repeat;
	padding: 36px 0;
}
.float-left {
	float:left;
}
.float-right {
	float: right;
	text-align: right;
}
input[type="submit"], #searchform #searchsubmit, .btn {
    color: #000;
	padding: 12px 24px;
    background-color: #fcc616;
    border-radius: 0;
    border: 3px solid #fff;
    -webkit-box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.2);
}
input[type="submit"]:hover, #searchform #searchsubmit:hover, .btn:hover {
        color: #fff;
		background-color: #f07d31;
		border: 3px solid #f07d31;
		font-weight: 900;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
 
}
.dmbs-content .dmbs-main h2 {
	color: #195975;
	font-size: 24px;
	letter-spacing: 2px;
}
.dmbs-main ul li {
	margin: 12px 0 0;
}
.dmbs-main ul {
	margin-bottom: 24px;
}
.dmbs-main p a {
	text-decoration: underline;
	font-weight: bold;
}
.list-image img {
	float: right;
	max-width: 30%;
	height: auto;
}

 /* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
transform: rotateY(180deg);
       -ms-transform: rotateY(180deg);
       -webkit-transform: rotateY(180deg);
}
.flip-container, .front, .back {
width: 100%;
height: 380px;
}
/* flip speed goes here */
.flipper {
transition: 0.9s;
transform-style: preserve-3d;
   -webkit-transform-style: preserve-3d;
   -ms-transform-style:preserve-3d;
position: relative;
}
/* hide back of pane during swap */
.front, .back {
backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
}
/* front pane, placed above back */
.front {
z-index: 2;
/* for firefox 31 */
	transform: rotateY(0deg);
   /*background-color:rgb(120,120,120);*/
   border-radius:3px;
}
.flipper img {
	border: 2px solid #000;
}
/* back, initially hidden pane */
.back {
	transform: rotateY(180deg);
   -ms-transform: rotateY(180deg);
   -webkit-transform: rotateY(180deg);
   /*background-color:#25ae4e;*/
   border-radius:3px;
}
.flip-container:hover .flipper, .flip-container.hover .flipper, .flip-container.flip .flipper {
   transform: rotateY(180deg);
   -ms-transform: rotateY(180deg);
   -webkit-transform: rotateY(180deg);
}
/*Service flippers end*/
.sidebar {
	margin-top:48px;
}
/*.banner-wrapper {
	position: relative;
	min-height: 224px;
}

@media all and (max-width:800px) {
	.top-banner {
	min-width: 800px;
	position: absolute;
  left: 50%;
  transform: translate(-50%, -0%);
	}
}

@media all and (max-width:450px) {
	.top-banner {
	min-width: 700px;	
	}
	.banner-wrapper {
		min-height: 186px;
	}
}
*/
.check {
    /*color: #f9cb56;*/
    padding-right: 8px;
    font-size: 180%;
}
.dmbs-footer a, .dmbs-footer p {
	color: #D1E3E5;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	font-size: 14px;
}
.dmbs-footer a:hover {
	color: #00a9c3;
}
.white-border img {
	 border: 4px solid #000;
}
em > small {
	color: red;
	font-size: 75%;
}
.intro {
	margin-bottom: 36px;
}
.intro a {
	color: #353535;
	text-decoration: underline;
	font-weight: 800;
}
.intro a:hover {
	color: #22518c;
}
.call {
	float:right;
}
.call p {
	color: #fff;
	text-align: right;
	padding-top: 54px;
}
.phone, .phone a {
	font-size: 24px;
	color: #fff;
}
@media all and (max-width: 1020px) {
	body {
		font-size: 16px;
	}
	h1, h2 {
		font-size: 32px;
		line-height: 38px;
	}
	.flip-container, .front, .back {
	height: 320px;
	}
}
@media all and (max-width: 767px) {

	h1, h2 {
		font-size: 24px;
		line-height: 28px;
	}
	.flip-container, .front, .back {
	height: 384px;
		margin-bottom: 36px;
	}
}
@media all and (max-width: 630px) {
	.call p {
		color: #fff;
		text-align: right;
		padding-top: 54px;
		font-size: 14px;
	}
	.phone {
		font-size: 18px;
	}
}
@media all and (max-width: 558px) {
	.call p {
		text-align: center;
		padding-top: 24px;
	}
	.logo {
		margin-top: -36px;
	}
	body {
		font-size: 14px;
		line-height: 20px;
	}
		.flip-container, .front, .back {
	height: 320px;
	}
	h3 {
		font-size: 18px;
		line-height: 24px;
	}
}
body.blog .footer, body.single .footer {
	display: none;
}
body.blog .dmbs-footer, body.single .dmbs-footer{
	margin-top: 46px;
}
.sidebar {
	padding-right: 48px;
}
.sidebar ul {
	padding-left: 18px;
}
.sidebar li {
	font-size: 16px;
	line-height: 22px;
	margin: 9px 0;
	text-transform: capitalize;
}
.page-header {
	text-transform: capitalize;
}
.list-image {
    width: 150px;
    height: 150px;
    overflow: hidden; 
    position: relative;
	float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}
.list-image img {
    position: absolute;
    margin: auto; 
    min-height: 100%;
    min-width: 100%;

    /* For the following settings we set 100%, but it can be higher if needed 
    See the answer's update */
    left: -100%;
    right: -100%;
    top: -100%;
    bottom: -100%;
}

