/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

.wavy::after {
color: #cebd88;
content: '\FE4F';
font-size: 54px;
line-height:5px;
margin:0;
padding:0;
display: block;
text-align:center;
}

.wavy2::after {
position:absolute;
top:64px;
left:65px;
color: #cebd88;
content: '\FE4F';
font: 58px/20px Arial, Helvetica, sans-serif;
display: block;
}

.mpad {
	position:absolute;
	left:0;
	right:0;
	margin:auto;
	background:#FFF;
	border-bottom:5px solid #8295ae !important;
	padding-top:5px !important;
}

.logoh {
	position:absolute;
	left:0;
	right:0;
	margin:1% auto 0;
	max-width:1300px;
	box-sizing:border-box;
}

@media screen and (min-width:1280px) {
.mpad {
	margin-top:15%;
 }

.logoh {
	max-width:1020px !important;
}  
}

@media screen and (min-width:1280px) {
.mpad {
	margin-top:13.5%;
 }

.logoh {
	/*max-width:1130px !important;*/
}  
}

@media screen and (min-width:1600px) {
.mpad {
	margin-top:12%;
 }

.logoh {
	max-width:1260px !important;
} 
}

@media screen and (min-width:1900px) {
.mpad {
	margin-top:10.5%;
 }

.logoh {
	max-width:1520px !important;
} 
}

.rope {
	background:url(/wp-content/themes/Newspaper-child/rope.png) repeat-x;
	height:20px;
}

.comm_form {
	display:flex;
	flex-wrap:wrap;
	background:#f1f0e8;
	padding:10px 20px 10px 20px;
}

.bg {
	background:#28364b !important;
}

.si {
	position:relative;
	font:16px Arial, Helvetica, sans-serif;
	cursor:pointer;
}

.si div {
	line-height:40px;
}

.dp .wpcf7-not-valid-tip {
	display:none !important;
}

.main-form .wpcf7-validation-errors {
	margin:0 auto 10px !important;
}

.main-form .wpcf7-mail-sent-ok {
	margin:0 auto 10px !important;
	border:none !important;
	color:#FFF !important;
}

.dp {
	text-align:left;
	float:left;
    flex: 1 0 200px;
	margin:5px 5px 5px 0;
	box-sizing:border-box;
}

@media (max-width:600px)
{
.dp:nth-child(4) input {
   width:310px !important;
   box-sizing:border-box;
   display:inline !important;
}
.dp:nth-child(4) {
	width:305px !important;
	flex:none !important;
}
}

.dp2 {
	margin:5px 0 0 0;
	width:43px;
	height:40px;
}

.dsi {
	padding:0 10px;	
	height:40px;
	background:#FFF;
}

#hid {
	display:none;
}

.hide-2 {
	display:none;
	position:absolute;	
	left:-1px;
	width:calc(100% + 1px);
	border:1px solid #CCC;
	background:#FFF;
	z-index:10001;
}

.hide-2 div {
	font-size: 14px;
	padding:5px 0 5px 10px;
}

.sid {
	height:40px;
	width:43px;
	position:absolute;
	right:0;
	top:0;
	border-left:1px solid #ccc;
	text-align:center;
	line-height:40px;
	background:#cebd88;
	color:#FFF;
	cursor:pointer;		
}

.dsi span {
	width:33.3%;
}

.hide-2 span {
    width:calc(33.3% - 14px);
}

.dsi span, .hide-2 span {
	display:inline-block;
	line-height:40px;
	text-align:center;
}

.new-pos {
	text-align:left !important;
}

.hide-2 div:hover, .hide-2 a:hover {
	background:#1f2f46;
	color:#FFF;
	cursor:pointer;
}

.comment-text p, .text-page p {
	margin-bottom: 10px !important;
}

.text-page ul li {
	margin-bottom:3px !important;
}

.comm_form input[type="text"], .comm_form input[type="date"], .comm_form textarea {
	width:100%;
	margin-bottom:5px;
	border:1px solid #CCC;
	padding:5px 10px;
	font:16px Arial, Helvetica, sans-serif;
	height:40px;
}

.rtbs > .rtbs_content {
	background:none !important;
}

.butt {
	text-align:center;
	border-radius:3px;
	background:#FC0;
	color:#FFF;
	padding:5px 0;
	border:none;
	cursor:pointer;
}

.butt:hover {
	transition: all 0.5s;
	background:#F60;
}

.roll {
	text-align: center; 
	padding-bottom: 10px;
}

.roll h3 {
	font:30px "Playfair Display";
}

.shad {
	text-shadow: 1px 1px 2px black;
}

p {
	margin:14px 0 !important;
}

.tagdiv-type ul li:not(.blocks-gallery-item) {
	margin-bottom:0 !important;
}

.price-order input[type="text"], .price-order input[type="date"], .price-order input[type="tel"] {
	width:100%;
	margin-bottom:5px;
	border:1px solid #CCC;
	padding:5px 10px;
	font:16px Arial, Helvetica, sans-serif;
	height:40px;
}

.wpcf7-submit {
	width:100%;
	padding:15px 0 !important;
	background:#cebd88 !important;
	font-size:20px !important;
}

.tdi_52 {
	z-index:10001;
}

@media screen and (max-width:767px) {
.td-pb-row [class*="td-pb-span"] {

}
.chars {
	float:left !important;
	width:50% !important;
}
}
@media screen and (max-width:400px) {
.dp:nth-child(4) {
  width: calc(100% - 53px) !important;
}
}