#header_contacts {
    width: 100%;
    text-align: center;
    background-color: #C8AA6D;
    position: relative;
}

.telefon {
    font-size: 20px;
    color: #010101;
}

.tel {
   font-size: 40px;

}

.tel a {
    font-size: 40px;
    text-decoration: none;
    color: #010101;
}

#menu {
    color: #000000;
    display: inline-block;
    width: 100%;
}

 nav {
    margin: 0 auto;
    display: inline-block;

}

nav li a {
    font-family: 'Montserrat',sans-serif;
    color: #000000;
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 20px 10px;
    display: inline-block;
}

nav ul li{text-align: justify !important;
     overflow:hidden; /* for IE6 */}


nav li a:hover {
    color: #C8AA6D;
    padding-top: 0px;
    text-decoration: none;
    margin: 20px 10px;
}



#menu1 {
    color: #000000;
    display: inline-block;
    width: 100%;
}

#menu1 H1{
    font-size: 50px;
    color: #000000;
    text-align: center;
}

 #menu1 nav {
    margin: 0 auto;
    display: inline-block;

}

#menu1 nav li a {
    font-family: 'Montserrat',sans-serif;
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    text-transform: none;
    line-height: 1.4;
    margin: 20px 10px;
    display: inline-block;
}

#menu1 nav ul li{text-align: justify !important;
     overflow:hidden; /* for IE6 */}


#menu1 nav li a:hover {
    color: #C8AA6D;
    padding-top: 0px;
    text-decoration: none;
    margin: 20px 10px;
}

.container img{
        width: 100%;
        padding-top: 20px;
        padding-bottom: 10px;
    }

@media (max-width: 767px) {

    nav li a {

    margin: 40px 10px;

}
    nav li a:hover {
    margin: 40px 10px;
}

   #menu1 nav li a {

    margin: 40px 10px;

}
   #menu1 nav li a:hover {
    margin: 40px 10px;
}

    .container {
        max-width: none;
    }

    .container img{
        max-width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.content {
    margin-top: 10px;
    margin-bottom: 10px;
}

.content H1 {
    font-size: 50px;
    color: #000000;
    text-align: center;
}

.content p {
    font-size: 24px;
    color: #000000;
    text-indent: 20px;
}



.content li {
    font-size: 24px;
    color: #000000;
    text-indent: 20px;
}

.topp {
    padding-top: 20px;
}

.content_glavnaya {
    margin-top: auto;
}

.content_glavnaya img {
    width: 100%;
}

.content H2 {
    font-size: 40px;
    color: #000000;
    text-align: center;
}

.content H3 {
    font-size: 30px;
    color: #000000;
    text-align: center;
}

.pagelink {
    background-color: #C8AA6D;
    height: 100px;
    text-align: center;
    padding-top: 3%;
    padding-bottom: 5%;
}

.pagelink1 {
    background-color: #C8AA6D;
    height: 100px;
    text-align: center;

}
.page {
    margin: 0 auto;
    font-size: 25px;
    color: #000000;
    font-family: 'Montserrat',sans-serif;

}


.pagelink a:hover {
    color: #000000;
    padding-top: 0px;
    text-decoration: none;
    margin: 40px 10px;
}

.pagelink1 a:hover {
    color: #000000;
    padding-top: 0px;
    text-decoration: none;


}

.reviews {
    margin-top: 20px;
    margin-bottom: 10px;
}

.reviews-top {
    padding-top: 30px;
}

.reviews H2 {
    font-size: 40px;
    color: #000000;
    text-align: center;
}

.reviews  p {
    font-size: 24px;
    color: #000000;
    text-indent: 20px;
}

.family {
    font-size: 30px;
    color: #000000;
    text-indent: 22px;
    text-align: right;
}

#contactsfuter {
    background-color: #C8AA6D;
    height: 400px;
}

#contactsfuter H4 {
    padding-top: 20px;
    padding-bottom: 30px;
    color: #000000;
    text-align: center;

    font-size: 40px;
}
#contactsfuter address {
    font-size: 40px;
    color: #000000;
}
#contactsfuter p {
    font-size: 30px;
    color: #000000;
}

.tel-b {
    font-size: 35px;
    text-align: center;
    margin-bottom: 0px;
}

.tel-bb {
    font-size: 30px;
    text-align: center;

}
.tel-r {
    text-align: center;
   padding-top: 15px;
}

.tel-r a {
    margin-top: 25px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    line-height:40px;
    color:#000000;
    font-size:35px;
    font-weight: 500;
    margin-bottom: 25px; /* Отступ снизу */

}
.tel-r a:hover {
    color: #000000;
    text-decoration: none;
}
.tel-r1 {
    text-align: center;
    padding-top: 15px;
}
.tel-r1 a {
    margin-top: 25px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    line-height:40px;
    color:#000000;
    font-size:35px;
    font-weight: 500;
    margin-bottom: 15px; /* Отступ снизу */


}
.tel-r1 a:hover {
    color: #000000;
    text-decoration: none;
}

#ip {
    padding-top: 20px;
    padding-bottom: 15px;
}

#ip p {
    font-size: 18px;
}

@media (max-width: 1050px) {
#contactsfuter {
    height: 450px;
}
}

@media (max-width: 990px) {

#contactsfuter {
    height: 500px;
}
.pagelink {
    padding-top: 7%;
    padding-bottom: 10%;
    height: 100px;
    }


.pagelink1 {
    height: 100px;
    padding-top: 5%;
    padding-bottom: 10%;
    }
}




@media (max-width: 767px) {

 .content H1 {
    font-size: 40px;

}

 .content H2 {
    font-size: 38px;

}

    #menu1 H1{
    font-size: 40px;

}

    .pagelink1 {
    background-color: #C8AA6D;
    height: 100px;
    text-align: center;
}

#contactsfuter {
    height: 600px;
}


}

@media (max-width: 620px) {
#contactsfuter {
    height: 550px;
}
}

@media (max-width: 476px) {


.reviews H2 {
    font-size: 30px;
}

.reviews  p {
    font-size: 20px;
}

.family {
    font-size: 24px;
}
#contactsfuter {
    height: 600px;
}
}

@media (max-width: 390px) {

  #menu1 nav li a {

    margin: 40px 10px;

}
   #menu1 nav li a:hover {
    margin: 40px 10px;
}

.pagelink1 {
    height: 100px;
    }
}

@media (max-width: 360px) {

.pagelink1 {
    height: 100px;
    }
}

@media (max-width: 320px) {

.content H1 {
    font-size: 35px;

}

.content H2 {
    font-size: 32px;

}
.pagelink1 {
    height: 140px;
    }
.reviews H2 {
    font-size: 27px;
}

}

@media (max-width: 300px) {
 .content H3 {
    font-size: 25px;

}

.tel a {
   font-size: 35px;

}
.pagelink1 {
    height: 120px;
    }

}

@media (max-width: 290px) {
    .reviews H2 {
    font-size: 24px;
}
    .reviews  p {
    font-size: 18px;
}

.family {
    font-size: 22px;
}
#contactsfuter {
    height: 700px;
}
}
