/*
	Theme Name: Тема алмазное бурение
	Description: Тема алмазное бурение c доп. функционалом
	Author: Vladislav
	Version: 1.0
*/
*{
	margin:0;
	padding:0;
}
@font-face {
	font-family:"PT_Sans";
	src:url(fonts/pt_sans.woff);
}
@font-face {
	font-family:"Palatino-Linotype";
	src:url(fonts/Palatino-Linotype.woff);
}
@font-face {
	font-family:"palab_bold";
	src:url(fonts/palab_bold.woff);
}
@font-face {
	font-family:"palabi_bold_italik";
	src:url(fonts/palabi_bold_italik.woff);
}
@font-face {
	font-family:"palai_italik";
	src:url(fonts/palai_italik.woff);
}
@font-face {
	font-family:"palai";
	src:url(fonts/palai.woff);
}
@font-face {
	font-family:"palabi";
	src:url(fonts/palabi.woff);
}
body{
	font-family:"palab_bold";
	font-size:16px;
	line-height:22px;
	color:#222;
}
.center{
	max-width:1100px;
	margin:auto;
}
header{
	padding-bottom:35px;
}
div.header-wraper{
	background:url(images/header-bg.jpg) no-repeat center top;
	background-size:cover;
}
div.header-top:after{
	content:"";
	display:block;
	clear:both;
	
}
div.logo{
	float:left;
	width:15%;
	margin-right:3%;
}
div.logo img{
	margin-top:15px;
	width:95%;
	height:auto;
}
div.header-right{
	float:right;
	width:82%;
}
div.header-contacts{
	margin:25px 0 15px 0;
	display:flex;
	justify-content:center;
}
div.header-contacts div{
	width:32%;
	margin-right:2%;
}
div.header-contacts div.header-order{
	text-align:center;
}
div.header-contacts div.header-order a{
	display:inline-block;
	font-size:18px;
	padding:7px 20px;
    color: #fff;
    font-weight:600;
	background:#2e2e2e;
	border-radius:5px;
	text-shadow: 0px 0px 3px rgba(247,113,30,0.3), 0px 3px 8px rgba(0,0,0,0.33);
	border:2px solid #dc671a;
	transition:all 0.4s;
}
div.header-contacts div:last-child{
	margin-right:0;
}
div.header-contacts div a{
	font-size:25px;
	font-weight:bold;
	color:#212529;
	text-decoration:none;
	text-shadow:1px 1px 3px #ccc;
}
div.header-phone p{
	margin-bottom:10px;
}
div.header-phone span{
	display:inline-block;
	width:15px;
	height:20px;
	background:url(images/phone-black.png) no-repeat center bottom;
	margin-right:10px;
}
div.header-email span{
	display:inline-block;
	width:28px;
	height:20px;
	background:url(images/email-black.png) no-repeat center bottom;
	margin-right:10px;
}
nav>ul{
	list-style:none;
	text-align:center;	
}
nav>ul>li{
	display:inline-block;
	margin-right:60px;
	margin-bottom:15px;
	position:relative;
}
nav>ul>li>a,nav>ul>li>span{
	display:block;
    padding: 10px 30px;
    color: #fff;
	text-decoration:none;
    font-weight: 600;
	background:#2e2e2e;
	border-radius:5px;
	border:2px solid #dc671a;
	transition:all 0.4s;
}
nav>ul>li>a:hover,div.header-contacts div.header-order a:hover{
	background:#dc671a;
	border:2px solid #f6f6f6;
}
nav>ul>li>a.current-link{
	background:#dc671a;
	border:2px solid #f6f6f6;
	cursor:default;
}
nav>ul>li>ul{
	display:none;
	list-style:none;
	text-align:left;
	position:absolute;
	top:45px;
	left:0;
	background:#2e2e2e;
	border-radius:5px;
	border:2px solid #dc671a;
	width:180px;
	padding:15px 10px;
	z-index:5;
}
nav>ul>li>ul a{
	display:block;
	color:#fff;
	font-weight:600;
	text-decoration:none;
	transition:all 0.4s;
	margin-bottom:7px;
	padding-bottom:7px;
	border-bottom:1px solid #dc671a;
}
nav>ul>li>ul>li:last-child a{
	margin-bottom:0;
	padding-bottom:0;
	border-bottom:none;
}
nav>ul>li>ul a:hover{
	color:#dc671a;
}
#link-menu{
	display:none;
	background:url(images/menu-icon.png) no-repeat 98% center;
	font-size:16px;
	text-transform:uppercase;
	text-decoration:none;
	color:#f6f6f6;
	padding:5px 10px;
}
div.header-img{
	margin:50px 0;
	text-align:center;
}
div.header-firma{
	margin-bottom:50px;
	display:flex;
	justify-content:center;
}
div.header-firma>p{
	width:20%;
	margin-right:5%;
	text-align:center;
}
div.header-firma>p:nth-child(2){
	width:50%;
}
div.header-firma>p:last-child{
	margin-right:0;
}
div.header-firma>p.header-firma-txt{
	margin-top:10px;
    color: #333;
	font-size:40px;
    font-weight:600;
	text-shadow: 0px 0px 3px rgba(247,113,30,0.3), 0px 3px 3px rgba(0,0,0,0.33);
}
div.header-description{
	margin:0 100px 20px 100px;
	font-size:25px;
	line-height:30px;
	font-weight:bold;
	color:#212529;
}
div.header-description ul{
	margin:20px;
}
div.header-description p{
	margin:20px 0;
}
div.header-description ul li{
	margin-bottom:10px;
}
div.footer-map h2{
	text-align:center;
	font-size:20px;
	font-weight:bold;
	color:#fff;
	text-shadow:0px 0px 3px rgba(247,113,30,0.3), 0px 3px 8px rgba(0,0,0,0.33);
	margin-bottom:35px;
}
h2.sale-main-page{
	padding-top:20px;
}
div.footer-map h2 span{
	display:inline-block;
	background:#2e2e2e;
	padding:12px 120px;
	border-radius:5px;
	border:2px solid #dc671a;	
}
div.ceny-main{
	text-align:center;
	padding:10px 0 35px 0;
}
h2.cat-ceny-h{
	text-align:center;
	padding-top:10px;
	margin-bottom:60px;
	font-size:30px;
	color:#000;
	text-shadow:0px 0px 3px rgba(247,113,30,0.3), 0px 3px 8px rgba(0,0,0,0.33);
}
div.ceny-main-out{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-evenly;
}
div.ceny-main-in{
	margin-bottom:15px;
}
div.ceny-main-in:last-child{
	margin-right:0;
}
div.ceny-main-in>h3 span{
	display:inline-block;
	background:#2e2e2e;
	padding:12px 40px;
	border-radius:5px;
	border:2px solid #dc671a;
	color:#fff;
	cursor:pointer;
}
div.ceny-main-txt{
	display:none;
}
div.contact-wraper-out{
	padding:20px 0 30px 0;
	/*text-shadow:0px 0px 1px rgba(247,113,30,0.3), 0px 1px 1px rgba(0,0,0,0.33);*/
	font-weight:bold;
}
div.contact-wraper-out a{
	text-shadow:none;
}
div.footer-map{
	text-align:center;
	padding:30px 0;
}
div.footer-map img{
	max-width:100%;
	height:auto;
}
div.footer-wraper{
	background:#222;
	color:#f6f6f6;
	font-size:16px;
}


footer{
	padding:15px 0;
	text-align:center;
		
}

div12 { 
		display:inline-block;
}

div.content-main{
	padding:30px 0;
}
article{
	margin-bottom:30px;
	font-size:17px;
	line-height:22px;
}
article ul,article ol{
	margin:20px 30px;
	list-style:none;
}
article ul li:before,article ol li:before{
	content:"\2022";
	margin-right:7px;
}
article p{
	margin:10px 0;
}
article>h1{
	font-size:50px;
	line-height:55px;
	margin-bottom:30px;
	text-align:center;
	color:#000;
}
article>h1:after{
	content:"";
	display:block;
	width:100px;
	margin:15px auto;
	border-bottom:3px solid #dc671a;
}
div.content-in{
	overflow:hidden;
}
div.content-in img.img-mini{
	float:left;
	margin:0 30px 15px 0;
	border:5px solid #dc671a;
	border-radius:5px;
}
a.order-link{
	display:block;
	margin:20px auto;
	font-size:20px;
	width:200px;
	padding:10px 10px;
	text-align:center;
	color:#fff;
	text-decoration:none;
	background:#d31f26;
	border-radius:5px;
	border: 1px solid #fff;
    border-radius:7px;
    transition: all 0.4s;	
}
div.gallery-main{
	padding:25px 0;
}
div.gallery-main>h2,div.adv-main>h2{
	font-size:40px;
	line-height:45px;
	margin-bottom:30px;
	text-align:center;
	color:#000;
}
div.gallery-in{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}
div.gallery-in a{
	width:23%;
	margin-right:2.5%;
	margin-bottom:30px;
	border: 5px solid #dc671a;
    border-radius: 5px;
	box-sizing:border-box;
}
div.gallery-in a:nth-child(4n){
	margin-right:0;
}
div.gallery-in a img{
	display:block;
	width:100%;
	height:auto;
}
div.video-single{
	text-align:center;
}
div.adv-main{
	margin:30px 0 0 0;
}
div.adv-in{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}
div.adv-in>div{
	width:22%;
	margin-right:4%;
	margin-bottom:30px;
	text-align:center;
	font-size:18px;
	line-height:24px;
}
div.adv-in>div:nth-child(4n){
	margin-right:0;
}
div.adv-in>div h3{
	margin-bottom:20px;
	font-size:23px;
	line-height:27px;
	color:#dc671a;
}
div.contact-wraper{
	overflow:hidden;
}
div.contact-left{
	float:left;
	width:40%;
	margin-right:2%;
}
div.contact-left a{
	font-weight:bold;
	color:#dc671a;
	text-decoration:none;
}
div.contact-left p{
	font-size:22px;
	line-height:30px;
	margin-bottom:15px;
}
div.contact-right{
	float:right;
	width:58%;
}
h3.error-page{
	padding:10px 0 200px 0;
}
article table{
	width:100%;
	border:1px solid #333;
	border-collapse:collapse;
	font-size:17px;
	margin-bottom:20px;
}
article table td,article table th{
	border:1px solid #333;
	padding:7px;
	text-align:center;
}
article table tbody tr{
	background:rgba(232,182,0,0.3);
}
article table tbody tr:nth-child(2n){
	background:#f6f6f6;
}
article table thead tr{
	background:#fff;
	color:#000;
	font-size:18px;
}
article h2,article h3,article h4,article h5,article h6{
	margin:20px 0;
	font-size:25px;
	line-height:30px;
}
article.block-cheny h2{
	-moz-user-select: none;
	-khtml-user-select: none;
	user-select: none; 
}
.disp-none{
	display:none;
}
.ceny-h2{
	background:#f6f6f6 url(images/plus.png) no-repeat 99% center;
	padding:10px 25px 10px 15px;
	border:2px solid #dc671a;
	cursor:pointer;
}
div.modal-wraper{
	display:none;
	position:fixed;
	top:0;
	left:0;
	right:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.5);
	z-index:500;
}
div.modal-main{
	background:#fff;
	border-radius:5px;
    margin: 50px auto;
    width: 350px;
}
div.modal-main .close-img{
	text-align:right;
	display:block;
	width:96.5%;
	margin-top:6px;
}
.img-modal-w{
	width:98.5% !important;
}
div.modal-main .close-img img{
	padding:2px;
	cursor:pointer;
	position:fixed;
}
div.modal-form h2{
	text-align:center;
	padding:5px 0;
	margin:0 0 5px 0;
	font-size:22px;
	color:#363636;
	text-transform:uppercase;
}
div.modal-form h2 span{
	display:block;
}
div.modal-form form{
	padding:5px 0;
}
div.modal-form form input[type=text],div.modal-form form select{
	background:#fff;
	padding:10px 0 10px 5%;
	border:1px solid #333;
	border-radius:5px;
	color:#000;
	font-size:17px;
	width:75%;
	display:block;
	margin:0 auto 15px auto;
	outline:none;
}
div.modal-form form select{
	width:80%;
}
div.modal-form form input[type=submit]{
	background:#dc671a;
	width:80%;
	display:block;
	padding:15px 0;
	margin:auto;
	color:#fff;
	cursor:pointer;
	border:none;
	text-align:center;
	text-transform:uppercase;
	font-size:20px;
	font-weight:bold;
	outline:none;
	transition:all 0.5s;
	border-radius:5px;
}
div.modal-form form input[type=submit]:hover{
	background:#ffba40;
}
p.modal-dop-info{
	margin-top:10px;
	font-size:14px;
	text-align:center;
	padding:0 10px 5px 10px;
}
p.modal-dop-info span{
	display:block;
	text-align:center;
	color:#f00;
	font-size:16px;
}
@media all and (max-width:1101px){
	.center{
		width:98%;
		margin:0 1%;
	}
	div.header-img{
		margin:20px 0;
	}
	div.header-img img{
		width:100%;
		height:auto;
	}
	div.logo {
		float:none;
		width:100%;
		margin-right:0;
		text-align:center;
	}
	div.logo img {
		width:130px;
		height:auto;
		margin-top:5px;
	}
	div.header-contacts{
		margin:5px 0 20px 0;
	}
	div.header-right {
		float:none;
		width:100%;
	}
	div.header-firma{
		margin-bottom:20px;
	}
	div.header-description {
		margin: 0 50px 20px 50px;
		font-size: 25px;
		line-height: 30px;
	}
	div.content-in img.img-mini {
		width:400px;
		height:auto;
		margin: 0 20px 15px 0;
	}
	div.footer-map img {
		max-width:90%;
		height: auto;
	}
}
@media all and (max-width:801px){
	div.header-description {
		margin: 0 0 20px 0;
		font-size: 23px;
		line-height: 28px;
	}
	div.header-contacts{
		flex-wrap:wrap;
	}
	div.header-contacts div {
		width:47.5%;
		margin-right:5%;
		margin-bottom:15px;
	}	
	div.header-contacts div:nth-child(2n){
		margin-right:0;
	}
	div.header-contacts div.header-email,div.header-contacts div.header-phone{
		text-align:center;
	}
	div.header-contacts div.header-email{
		width:100%;
	}
	div.header-contacts div.header-order a{
		padding:7px 30px;
	}
	div.header-contacts div.header-order{
		margin-top:-10px;
	}
	nav{
		margin:0 -1%;
		background:#333;
		padding:7px 0;
	}
	#link-menu{
		display:block;
	}
	nav ul li span{
		display:none;
	}
	nav>ul{
		display:none;
	}
	nav>ul{
		list-style:none;
		text-align:center;	
	}
	nav>ul>li{
		display:block;
		margin-right:0;
		margin-bottom:5px;
		text-align:left;
		position:static;
	}
	nav>ul>li>a{
		display:block;
		padding:0 15px;
		color: #fff;
		background:none;
		border-radius:0;
		border:none;
		font-size:17px;
		margin-bottom:8px;
		padding-bottom:8px;
		border-bottom:1px solid #dc671a;
	}
	nav>ul>li>a:hover{
		color:#dc671a;
		background:none;
		border:none;
		border-bottom:1px solid #dc671a;
	}
	nav>ul>li>a.current-link{
		color:#dc671a;
		background:none;
		cursor:default;
		border:none;
		border-bottom:1px solid #dc671a;
	}
	nav>ul>li>ul{
		display:block;
		list-style:none;
		text-align:left;
		position:static;
		background:none;
		border-radius:0;
		border:none;
		width:auto;
		padding:0;
		margin:0;
	}	
	nav>ul>li>ul>li{
		margin-bottom:5px;
	}
	nav>ul>li>ul a{
		display:block;
		color:#fff;
		margin-bottom:0;
		padding-bottom:0;
		border-bottom:none;
		padding:0 15px;
		font-size:17px;
		margin-bottom:8px;
		padding-bottom:8px;
		border-bottom:1px solid #dc671a;
	}	
	nav>ul>li>ul li:last-child a{
		border-bottom:1px solid #dc671a;
		margin-bottom:8px;
		padding-bottom:8px;
	}
	nav>ul>li:last-child a{
		border-bottom:none;
	}
	nav>ul>li:first-child{
		margin-top:15px;
	}
	div.header-contacts {
		margin: 5px 0;
	}
	div.header-firma>p.header-firma-txt {
		margin-top:0;
		height:auto;
		line-height:30px;
		font-size: 25px;
		padding-top:7px;
	}
	header {
		padding-bottom:0;
	}
	div.header-description{
		padding-bottom:10px;
		margin:0;
	}
	article>h1 {
		font-size:40px;
		line-height:45px;
		margin-bottom:20px;
		text-align: center;
		color: #000;
	}
	div.content-in img.img-mini {
		width:300px;
		height:auto;
		margin: 0 15px 15px 0;
	}
	div.gallery-main>h2, div.adv-main>h2 {
		font-size:35px;
		line-height:40px;
		margin-bottom:25px;
	}
	div.adv-in>div,div.adv-in>div:nth-child(4n) {
		width:32%;
		margin-right:2%;
		margin-bottom:25px;
		font-size: 17px;
		line-height: 22px;
	}	
	div.adv-in>div:nth-child(3n) {
		margin-right:0;
	}
	div.adv-in>div h3 {
		margin-bottom:10px;
		font-size:20px;
		line-height: 25px;
	}
	div.gallery-in a,div.gallery-in a:nth-child(4n){
		width:32%;
		margin-right:2%;
		margin-bottom:25px;
	}	
	div.gallery-in a:nth-child(3n){
		margin-right:0;
	}	
	div.gallery-in a:last-child{
		margin-right:0;
	}
	.ceny-h2 {
		background: #f6f6f6 url(images/plus.png) no-repeat 99% center;
		padding: 10px 30px 10px 15px;
		border: 2px solid #dc671a;
	}
	article h2, article h3, article h4, article h5, article h6 {
		margin:15px 0;
		font-size:23px;
		line-height:27px;
	}
	p.header-description-town span {
		padding:10px 30px;
	}
}
@media all and (max-width:701px){
	div.contact-left,div.contact-right{
		float:none;
		width:100%;
		margin-right:0;
	}	
	div.content-main {
		padding: 30px 0 0 0;
	}
	div.header-description ul {
		margin:20px 25px;
	}
	div.ceny-main-in,div.ceny-main-in:nth-child(3n){
		width:47.5%;
		margin-right:5%;
		margin-bottom:25px;
	}	
	div.ceny-main-in:nth-child(2n){
		margin-right:0;
	}
	div.ceny-main {
		text-align: center;
		padding: 10px 0;
	}
	h2.cat-ceny-h {
		margin-bottom:40px;
	}
}
@media all and (max-width:601px){
	div.header-firma>p {
		width:47.5%;
		margin-right: 5%;
		text-align: center;
	}	
	div.header-firma>p:nth-child(2n) {
		margin-right:0;
	}	
	div.header-firma{
		flex-wrap:wrap;
	}
	div.header-firma>p.header-firma-txt {
		margin-top:20px;
		font-size: 30px;
		line-height:35px;
		padding-top:0;
	}
	div.header-firma>p:nth-child(2){
		width:100%;
	}
	div.header-description {
		font-size:21px;
		line-height: 25px;
	}
	div.sale-main h2 span, div.footer-map h2 span{
		padding:15px 40px;
	}
	div.video-single{
		padding-bottom:20px;
	}
	div.adv-in>div,div.adv-in>div:nth-child(3n),div.adv-in>div:nth-child(4n) {
		width:48%;
		margin-right:4%;
	}	
	div.adv-in>div:nth-child(2n) {
		margin-right:0;
	}
	div.gallery-in a,div.gallery-in a:nth-child(4n),div.gallery-in a:nth-child(3n) {
		width:48%;
		margin-right:4%;
		margin-bottom: 20px;
	}	
	div.gallery-in a:nth-child(2n) {
		margin-right:0;
	}
	article h2, article h3, article h4, article h5, article h6 {
		margin:15px 0;
		font-size:20px;
		line-height:25px;
	}
}
@media all and (max-width:501px){
	article table {
		font-size: 16px;
	}
	div.header-contacts div {
		width:100%;
		margin-right:0;
		margin-bottom: 10px;
		text-align:center;
	}
	div.header-contacts div.header-order {
		margin-top:0;
	}
	div.header-email span {
		display: inline-block;
		width: 28px;
		height: 20px;
		background: url(images/email-black.png) no-repeat center bottom;
		margin-right:5px;
	}	
	div.header-phone span {
		display: inline-block;
		width: 15px;
		height: 20px;
		background: url(images/phone-black.png) no-repeat center bottom;
		margin-right:5px;
	}
	div.header-firma>p {
		width:100%;
		margin-right:0;
		text-align: center;
		margin-bottom:15px;
	}
	div.header-firma>p.header-firma-txt{
		margin-top:0;
	}
	div.header-img {
		margin:15px 0 10px 0;
	}
	div.content-in img.img-mini {
		float:none;
		max-width:90%;
		height: auto;
		display:block;
		margin:0 auto;
	}
	article ul, article ol {
		margin:20px;
		list-style: none;
	}
	a.order-link {
		margin:10px auto 20px auto;
	}
	p.header-description-town span {
		padding: 10px;
	}
	p.upper-p{
	    font-size:20px;
	    line-height:33px;
	}
}
@media all and (max-width:451px){
	div.modal-main {
		margin:30px auto auto;
		width:90%;
	}
	p.modal-dop-info {
		margin-top:5px;
		font-size: 13px;
		line-height:17px;
		text-align: center;
		padding: 0 10px 5px 10px;
	}
	article table td,article table th{
		padding:3px;
		font-size:15px;
	}
	article table thead tr{
		font-size:16px;
	}
}
@media all and (max-width:401px){
	div.modal-main {
		margin:30px auto auto;
		width:95%;
	}
	div.ceny-main-in,div.ceny-main-in:nth-child(3n){
		width:100%;
		margin-right:0;
	}	
}