/*
    Theme Name: Deserve Child
    Author: Fabio Di Benedetto
    Template: deserve
*/

@import url("../deserve/style.css");

a, h2 { color: #ee4b3a;}
a:hover, a:focus { color: #084d54; text-decoration: underline; }

.header-menu ul li ul { width: 250px; }
.site-breadcumb ol { float: none; }
.site-breadcumb h1 { text-transform: none; }

.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

.btn-blue {
  color: #d7d7d7;
  background-color: #1c7b8a;
  border: 1px solid rgb(204, 204, 204, 0);
}
.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active,
.btn-blue.active,
.open > .dropdown-toggle.btn-blue {
  	background-color: #FFF;
    transition: all 0.5s ease-in-out 0s;
    -webkit-transition: all 0.5s ease-in-out 0s;
    color:#ee4b3a;
    text-decoration: none;
    border: 1px solid rgb(204, 204, 204);
}
.btn-blue:active,
.btn-blue.active,
.open > .dropdown-toggle.btn-blue {
  background-image: none;
}
.btn-blue.disabled,
.btn-blue[disabled],
fieldset[disabled] .btn-blue,
.btn-blue.disabled:hover,
.btn-blue[disabled]:hover,
fieldset[disabled] .btn-blue:hover,
.btn-blue.disabled:focus,
.btn-blue[disabled]:focus,
fieldset[disabled] .btn-blue:focus,
.btn-blue.disabled:active,
.btn-blue[disabled]:active,
fieldset[disabled] .btn-blue:active,
.btn-blue.disabled.active,
.btn-blue[disabled].active,
fieldset[disabled] .btn-blue.active {
  background-color: #1c7b8a;
  border-color: #ccc;
}

.site-breadcumb ol li,
.breadcrumb-menubar li a { font-size: 13px; text-transform: none; }
.site-logo { margin-top: 0; }
.h1-style { font-size: 14px; }
.header-menu ul li a { padding-top: 30px; padding-bottom: 31px; }
.submit-wrap { text-align: right; }
.process p, .information p { text-align: left; }

/** Header **/
@media (max-width: 767px) {
	.h1-style { font-size: 13px; }
	.deserve-contacts { display: none; }
	.res-nav-header { position: absolute; top: 0; right: 0; }
	.navbar-toggle { margin-right: 0; margin-top: 15px;}
	.navbar-toggle .icon-bar { width: 27px; height: 3px;}

	.header-menu ul li a { padding: 7px 5px; }
	.header-menu ul li ul { margin-left: 20px; }
}
/** End header **/

/** Home **/
	/** slider rules **/
	.caption-text { position: absolute; bottom: 0; background: rgba(51, 51, 51, 0.7); padding: 10px 20px; box-shadow: 0px 0px 10px #444; }
	.caption-text h2 { position: relative; color: #fff; top: initial; right: initial; text-align: left; border: none; text-transform: none; font-size: 24px; }
	.caption-text p { color: #fff; }
	.caption-text p a { color: #ddd; text-decoration: underline; }
	@media (max-width: 767px) { 
		.caption-text { width: 100%; padding: 7px; }
		.caption-text h2 { font-size: 19px; line-height: 20px; margin: 0; padding: 0; display: block; }
		.caption-text p { display: none; }
	}
	/** End home slider rules **/

	.process-detail:hover .process-title { color: #fff; }
	.process-title { display: block; margin-bottom: 10px; font-size: 18px; color: #084d54; }

	/** Portfolio rules **/
	.deserve_potfolio > .portfolio_item { transition: all 0.5s ease-in-out 0s; -webkit-transition: all 0.5s ease-in-out 0s; }
	.deserve_potfolio > .portfolio_item:hover{ padding: 0; }
	.deserve_potfolio > .portfolio_item .blog-data { text-align: center; margin-bottom: 0; }
	.portfolio-all { margin-top: 20px; }
	/** End portfolio rules **/

	/** Home technologies rules **/
	.technologies { background: #ddd; margin-top: 30px; padding-top: 50px; padding-bottom: 50px; }
	.technologies > div { text-align: center; height: 150px; line-height: 150px; }
	/** End home technologies rules **/
/** End Home **/

/** Page rules **/
.blog-box h2 { padding: 20px 20px 0; font-size: 24px; line-height: 26px; }
.blog-box .post-data h2 { padding: 20px 0 0; }
.blog-box h3 { font-size: 20px; padding: 20px 0 10px; }
.blog-box .post-img-cont { float: left; width: 300px; padding: 20px 0 0 20px; margin: 0 20px 15px 0; }
.blog-box p { text-align: left; line-height: 1.4; color: #444; }
.blog-box ul { margin-bottom: 10px; }
.blog-box ul li { text-transform: none; font-size: 14px; line-height: 1.4; color: #444; }

.blog-box .well { margin: 20px 0; }
.blog-box .well .media { margin: 0 0 25px; }
.blog-box .well .media.odd { padding-left: 0; }
.blog-box .well .media.even { padding-right: 0; }
.blog-box .well .media-heading { display: block; font-size: 20px; }
/** End page rules **/

/** Contact page rules **/
.page-id-11 .ninja-forms-required-items { margin-bottom: 20px; text-align: right; font-size: 13px; color: #444; }
.page-id-11 .half-col-wrap { float: left; width: 50%; }
.page-id-11 label { font-size: 16px; line-height: 33px; color: #444; font-weight: normal!important; }
.page-id-11 .half-col-wrap label { display: block!important; float: left; width: 28%; padding-right: 2%; text-align: right;  }
.page-id-11 .half-col-wrap input { display: block!important; float: left; width: 70%; margin-left: 0; }
.page-id-11 .half-col-wrap select { display: block!important; float: left; width: 70%; margin-left: 0; padding: 6px 10px }

@media (max-width: 767px) {
	.page-id-11 .half-col-wrap { width: 100%; }
    .page-id-11 .half-col-wrap label { width: 100%; text-align: left; }
	.page-id-11 .half-col-wrap input { width: 100%; }
	.page-id-11 .half-col-wrap select { width: 100%; }
}
/** End contact page rules **/

/** Form rules **/
.page-heading {
  font-size: 18px;
  font-weight: 600;
  color: #555454;
  text-transform: uppercase;
  overflow: hidden;
  display: block; }

.submit-wrap { text-align: center; }
.submit-wrap input[type="submit"] { background: #ffee00; color: #000; transition: all 0.4s ease-in-out 0s; }
.submit-wrap input[type="submit"]:hover { background: #ffcc00; }

.ninja-forms-error-msg { 
	padding:8px 35px 8px 14px; 
	margin-bottom:20px; 
	color: #b94a48;
	background-color: #f2dede;
	border: 1px solid #eed3d7; 
	-webkit-border-radius:4px;
	-moz-border-radius:4px;border-radius:4px
}

.ninja-forms-error label { color: #b94a48; }
.ninja-forms-error input,
.ninja-forms-error textarea { border-color: #b94a48; }
.half-col-wrap .ninja-forms-field-error { padding-left: 30%; }
.ninja-forms-field-error p { color: #b94a48; font-weight: bold; }

/*.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}*/
/** End form rules **/

/** Footer **/
.main_footer { margin-top: 0; }
.logo-footer { background: #f8f8f8; padding: 10px; }
.bottom-footer p { float: none; text-align: center; text-transform: none; font-size: 11px; }
/** End footer **/