* {
margin:0;
padding:0;
}

aside, footer, address, section, nav, header {
display:block;
}

img, iframe, video, embed {
max-width:100%!important;
}

/*   типографика   */


/*   ШАПКА   */

#page {
    width: 100%;
    font: 100% 'LatoLight' #400101;
}

header {
    width: 100%;
    height: 100px;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background: #f6f3f3;
    box-shadow: 0 1px 5px rgba(0,0,0,0.5);
    
}

.layout {
    width: 1170px;
    margin: 0 auto!important;
    overflow: hidden;
}

#logo {
    width: 165px;
    float: left;
    padding: 15px 0;
}

#logo, #menu {
    float: left;
}

#phone {
    float: right;
    text-align: right;
    padding-top: 23px;    
}

#phone a {
    text-decoration: none;
    color: #a6122d;
}

#phone a:hover {
    color: #dba0ab;
    transition: .5s ease-out;
}

#phone span {
    font: 1.75em 'LatoBold';
}

#phone p {
    font: 1em 'LatoLight';
    color: #400101;
}

/*   МЕНЮ   */

#menu {
    margin-left: 6em;
}

#menu ul li {
    float: left;
    list-style: none;
}

#menu ul li a {
    display: block;
    font: 1em 'LatoLight';
    text-transform: uppercase;
    text-decoration: none;
    color: #400101;
    padding: 40px 1.8em;
}

#menu ul li a:hover {
    background: #d9cdcd;
    color: #a6122d;
    transition: .5s ease-out;
}

#menu ul li.current a {
    background: #d9cdcd;
    color: #a6122d;
}

/*   ПОДМЕНЮ   */

#menu ul li > ul {
    display: none;
}

#menu ul li:hover > ul {
    display: block;
    z-index: 9999;
    position: absolute;
    background: #d9cdcd;
}

#menu ul li > ul li {
    float: none;
}

#menu ul li > ul li a {
    text-transform: none;
    font-size: 1em;
    text-transform: uppercase;
    padding: 0.6em 1.1em;
    color: #400101;
}

#menu ul li > ul li a:hover {
    color: #a6122d;
    background: #c0abab;
}

/*   КОНТЕНТ   */

#content {
    width: 100%;
    background: linear-gradient(90deg, transparent 50%, #ede8e8 50%);
    margin-top: 100px;
}

/*   СЛАЙДЕР   */

#slider {
    width: 100%;
    background: #ccbdbd;
}

#slider .layout {
    text-align: center;
    padding-bottom: 4em;
}
    
#slider .s3 {
    display: inline-block;
    float: left;
    width: 370px;
    height: 310px;
    margin-top: 2em;
    margin-right: 30px;
    background-color: #ece6e6;
    -webkit-box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    cursor: pointer;
}

#slider .s3.last {
    margin-right: 0;
}

#slider .s3 h3 {
    position: relative;
    bottom: 4.25em;
    font: 1em 'LatoLight';
    text-transform: uppercase;
    color: #400101;    
}

#slider .icons {
    position: relative;
    width: 80px;
    bottom: 4.5em;
    left: 16.5em;
}

/* HOVER ЭФФЕКТ */

#slider .s3 a {
    display: block;
    margin: 0;
    width: auto;
    padding: 143px 0;
    background: #000;
    opacity: 0;
    position: relative;
    bottom: 357px;
    text-decoration: none;
    font: 1.25em 'LatoLight';
    text-transform: uppercase;
    color: #fff;
    transition: all 0.4s linear;
}

#slider .s3 a:hover {
    opacity: 0.6;
}



/*   САЙДБАР   */

#sidebar {
    float: left;
    width: 29%;
    padding-top: 2em;

}

#sidebar ul li {
    list-style: none;
}

#sidebar ul li a {
    display: block;
    font: 1em 'LatoLight';
    text-transform: uppercase;
    text-decoration: none;
    text-align: right;
    color: #400101;
    padding: 0.7em;  
}

#sidebar ul li a:hover {
    background: #ece6e6;
    color: #a6122d;
    transition: .5s ease-out;
}

#sidebar ul li.current a {
    background: #f1eded;
    color: #a6122d;
}

/*   МЕТОДИКИ   */

#sidebar1 {
    padding: 0.7em;
    margin-top: 1em;
    font: 1em 'LatoLight';
    line-height: 1.1em;
    color: #400101;
}

#sidebar1 img {
    width: 110px;
    float: left;
    margin-right: 1em;
}

#sidebar1 h2 {
    font: 1em 'LatoRegular';
    text-transform: uppercase;
    color: #a6122d;
    margin-bottom: 0.5em;
}

#sidebar1 h4 {
    font: 0.8em 'LatoLight';
    font-style: italic;
    color: #a6122d;
    margin-bottom: 1em;
}

#sidebar1 p {
    font-size: 0.9em;

}

#sidebar1 a {
    color: #a6122d;
    font-weight: bold;
    font-style: italic;
}

#sidebar1 a:hover {
    color: #dba0ab;
}

/*   ТЕКСТ   */

#text {
    float: right;
    width: 68%;
    padding-left: 1.5em;
    background: #ede8e8;
    font: 1em 'LatoLight';
    color: #400101;
    padding-top: 2em;
}

#text p {
    margin: 0.5em 0;
}

#text p:last-child {
    padding-bottom: 1.3em;
}

#text ul {
    padding-left: 1.5em;
}

#text h1 {
    font: 1.5em 'LatoRegular';
    color: #a6122d;
    text-transform: uppercase;
    text-align: center;
    margin-top: 1em;
    background: #fff;
    padding: 0.3em;
    margin-bottom: 0.7em;
}

#text h4 {
    font: 1.2em 'LatoLight';
    color: #a6122d;
}

#text p a {
    text-decoration: none;
    color: #a6122d;
    font-weight: bold;
}

#text p a:hover {
    color: #dba0ab;
}

#text .code_box {
    margin-bottom: 4em;
    border: 3px solid #fff;
    
}

/*   Иконки на фото   */

.banner {
    position: relative;
    margin-bottom: 1.5em;
}

.photo {
    position: absolute;
}

.icons2 {
    width: 130px;
    position: absolute;
    left: 30px;
    top: 13.8em;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
    border-radius: 17px 17px 17px 17px;
}

.podderzhka {
    width: 30%;
    display: block;
    float: left;
    margin: 1em 5% 2em 0;
}

.podderzhka:last-child {
    margin: 1em 0 2em 0;
}

.podderzhka a img {
    width: 130px;
    margin: 0 0 1.4em 30px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
    border-radius: 17px 17px 17px 17px;
}

.podderzhka a:hover img {
    opacity: 0.6;
    transition: .5s ease-out;
}

.podderzhka h5 a {
    font: 1.2em 'LatoRegular';
    color: #400101;
    text-transform: uppercase;
    margin-left: 30px;
    text-decoration: none;
    display: block;
}

.podderzhka h5 a:hover {
    color: #a6122d;
    transition: .5s ease-out;
}

/*   ХЛЕБНЫЕ КРОШКИ   */

#breadcrumbs {
    background: #d9cdcd;
    overflow: hidden;
    font: .9em 'LatoLight';
    color: #400101;
    padding: 0.75em 0;
    margin-bottom: 1em;
}

#breadcrumbs ul li {
    float: left;
    list-style: none;
    padding-right: .5em;
}

#breadcrumbs ul li a {
    text-decoration: none;
    color: #a6122d;
}

#breadcrumbs ul li a:hover {
    color: #dba0ab;
}

/* ОТЗЫВЫ В ТЕКСТЕ */

#text-review {
    margin: 2em 0;
}

#text .news {
    background: #f6f3f3;
    border-radius: 120px 0 0 120px;
    padding: 1.5em;
    margin-bottom: 2em;
}

#text .news img {
    position: absolute;
    width: 170px;
    height: auto;
    border: 4px solid #fff;
    border-radius: 110px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2)
}

#text .news h2 {
    font: 1.1em 'LatoRegular';
    color: #a6122d;
    line-height: 1em;
    text-transform: uppercase;
    margin: 0 0 0.3em 220px;
}

#text .news h4 {
    font: 1em 'LatoLight';
    font-style: italic;font-style: italic;
    line-height: 1.1em;
    color: #a6122d;
    margin: 0 0 1em 220px;
}

#text .news h6 {
    font: 1em 'LatoLight';
    color: #400101;
    margin: 0 0 0 220px;
}

/*   ПОДВАЛ/ФУТЕР   */

footer {
    width: 100%;
    background: #805959;
    font: 0.875em 'LatoLight';
    color: #fff;
    position: absolute;
    overflow: hidden;
}

footer p {
    padding: 2em 0;
    float: left;
}

footer .count {
    position: relative;
    float: right;
    padding-top: 2em;
}

/*     КНОПКА НАВЕРХ   */

#toTop {
    border: 3px solid #fff;
    border-radius: 15px 15px 0 0;
    background: #805959;
    text-align: center;
    padding: 10px 1.5em;
    position: fixed;
    bottom: 30%;
    right: -64px;
    cursor: pointer;
    color: #fff;
    font: bolder 1.5em 'LatoLight';
    text-transform: uppercase;
    transform: rotate(-90deg);
    transition: background .35s ease-in-out;
    box-shadow: 0 0 10px rgba(0,0,0,.4);
}

#toTop:hover {
    background: #a6122d;
}
