.clear {
    clear: both;
    content: "";
}
body {
    overflow-x: hidden;
    background-color: white;
    background-attachment: fixed;
    font-family: Verdana, sans-serif;
    font-size: 16px;
}
.wrap {
    overflow-x: hidden;
}
.blocks {
    padding: 10px;
}
a {
    color: #31507e;
    text-decoration: underline;
}
a:hover {
    color: blue;
}
a:visited {
    color: #31507e;
}
a:active {
    color: blue;
}
a>img:hover {
    border: 2px solid blue;
    padding: 2px;
}
a>img {
    border: 2px solid rgba(0,0,0,0);
    padding: 2px;
}
h2 {
    margin: auto;
    margin-bottom: 20px;
    margin-top: 30px;
    font-size: 2.2em;
    color: #000;
    text-align: center;
    border-bottom: 2px solid #000;
    width: 80%;
}
h3 {
    text-align: center;
    font-size: 1.6em;
    color: #31507e;
}
h4 {
    text-align: center;
    font-size: 1em;
    color: #75bc3f;
    font-weight: bold;
}
h5, h6, h7 {
    text-align: center;
}
.center {text-align: center;}
.right {text-align: right;}
.block {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
}
nav {
    background-color: #31507e;
    width: 100%;
    padding-top:10px;
    padding-bottom:10px;
}
#menu {
	list-style-type: none;
    position:relative;
    margin: auto;
    z-index: 1000;
}
#menu li{
	float:left;
	padding:4px;
	margin-left:6%;
    position:relative;
    z-index: 1000;
}
#menu li a{
	color: white;
    text-align: center;
	text-decoration:none;
	display:block;
	z-index: 1000;
}
#menu li a:hover{
	background-color:#75bc3f;
	z-index: 1000;
}
#menu li ul{
    display:none;
    position:absolute;
    background-color:#31507e;
    list-style:none;
    padding: 2px;
    z-index: 1000;
}
#menu li ul li{
    float:none;
    margin-left:0;
    width:200px;
    z-index: 1000;
}
#menu li ul li a{

}
#menu li:hover ul{
    display:block;
}




.stone_gall a, .stone_gall a:hover {
    text-decoration: none;
}
@media screen and (max-width: 570px){
        nav ul li a {
            font-size: 0.8em;
            padding: 6px;
        }

        nav ul li {
            padding: 6px;
        } 
    }
.hover-img {
    box-shadow: 0 0 10px rgba(0,0,0,0.0);
}
.hover-img:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.modal-content {
    background-color: rgba(255,255,255,0.8);
}
.borders {
    border: 1px solid #31507e;
    box-sizing: border-box;
}
/*Блок header*/
    header {
        font-size: 0.8em;
        max-width: 1000px;
        margin: auto;
    }
    .header {
        padding: 10px;
    }
    header h1 {
        font-size: 1.4em;
        font-weight: bold;
    }
    header img {
        max-width: 90%;
        height: auto;
    }
    .header-contacts {
        background-color: rgba(100,170,100,0.3);
        padding-top: 4px;
        padding-bottom: 4px;
    }
    header .tel {
        font-size: 1.4em;
        font-weight: bold;
    }
    @media screen and (min-width: 900px){
        header {
            font-size: 1em;
        }
        header img {
            max-width: 100px;
            height: auto;
        }  
    }
    @media screen and (min-width: 570px){
        .header-contacts {
            background-color: rgba(100,100,100,0);
            padding-top: 0px;
            padding-bottom: 0px;
        }
        header .tel {
            font-size: 1.2em;
        }
    }
    
/*Блок header конец*/
.lead {
    background-color: rgba(0,0,0,0.7);
    color: white;
    font-weight: bold;
    text-align: center;
    width: 450px;
    padding: 10px;
    position: absolute;
    top: 250px;
    margin-left: 50%;
    left: -225px;
    }
@media screen and (min-width: 1200px){
    .lead {
        font-size: 1.6em;
        width: 660px;
        left: -330px;
        top: 340px;
    } 
}
@media screen and (max-width: 570px){
    .lead {
        font-size: 0.6em;
        width: 280px;
        left: -140px;
        top: 300px;
    } 
}
.about {
    padding: 4px;
    font-size: 0.9em;
}
.production {

}
.production h3 {
    background-color: #31507e;
    color: white;
    padding: 16px 0;

}
.production h3:hover {
    background-color: blue;
    color: gold;
    cursor: pointer;
}
.production_text {
    font-size: 0.9em;
}
.production_gall {
    width: 100%;
}
#advantages {
    height: 62px;
    width: 100%;
    background-color: #75bc3f;
}
#advantages:hover {
    background-color: green;
}
.advantages_item p {
    margin: 4px;
    color: green;
}
@media screen and (min-width: 1921px){
    body {
        max-width: 1920px;
        margin:auto;
    }
}
@media screen and (max-width: 1000px){
    .production_screen {
        display: none;
    }
}
@media screen and (min-width: 1001px){
    .production_mobile {
        display: none;
    }
}
.zakaz a {
    text-decoration: none;
    padding: 16px;
}
@media screen and (max-width: 570px){
    .zakaz a {
        font-size: 0.7em;
    }
}
.carousel_foto {
    
} 
footer {

}
.footer-contact {
    background-color: #31507e;
    color: white;
    padding: 40px;
}
/*------------Фотогалерея ----------------*/
    .fotorama__nav-wrap {
        bottom: -6px;
        position: absolute;
        padding: 0 8px;
        width: 100%;
    }
    .fotorama__thumb {
        border: 4px #31507e solid;
    }
    .fotorama__thumb-border{
        border-color: black;
    }
    .fotorama__thumb:hover {
        border-color: black;
        opacity: 0.8;
    }
/*-----------Фотогалерея конец-------------*/
/* Карусель ----------------------------------------------------------------------*/

    /*Точки*/
    .owl-theme .owl-dots .owl-dot span {
        width: 10px;
        height: 10px;
        background-color: rgba(0,0,0,0.0);
        border: 1px solid black;
    }
    .owl-theme .owl-dots .owl-dot.active span{
        width: 12px;
        height: 12px;
        background-color: white;
    }
    /*Стрелки*/

/* Карусель конец------------------------------------------------*/
