* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 16px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: 400;
}

/* -------------------------------------------------------------- */

p {
    padding: 20px 0;
}

h1 {
    text-align: center;
    margin-top: 30px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

body {
    line-height: 1.8;
    font-size: 18px;
}

.nowrap {
    white-space: nowrap;
}

.container {
    max-width: 1368px;
    min-height: 70px;
    margin: 0 auto;
}

.flex-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

header {
    display: block;
    position: relative;
}

.top {
    min-height: 70px;
    font-size: 16px;
    box-shadow: inset 0px -9px 25px -21px rgba(0, 0, 0, 1);
}

.logo {
    width: 70px;
    height: 60px;
    margin: 0 10px 10px 10px;
    background: url('img/logo.jpg') no-repeat center/contain;
}

.address {
    margin: 5px;
}

.phone-top {
    margin: 5px;
    /* display: none; */
}

.menu-icon {
    flex: 0;
    cursor: pointer;
    margin: 0 20px;
}

.b1,
.b2,
.b3 {
    width: 36px;
    height: 5px;
    background-color: #000;
    margin: 5px 0;
    transition: 0.3s;
}

.change .b1 {
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .b3 {
    transform: rotate(45deg) translate(-8px, -8px);
}

.change .b2 {
    opacity: 0;
}

.slider {
    margin-top: 30px;
    position: relative;
    width: 100%;
    flex-direction: column;
}

.slider__items-box {
    width: 100%;
    flex: 1;
}

.slider__item {
    width: 100%;
    height: 350px;
    flex: 0;

    transition: all 500ms ease-in-out;
}

.slider__item.active {
    flex: 100;
    background-size: auto;
}

.slider-aside {
    flex: 1;
    padding: 20px;
}

.slider-aside h2 {
    font-size: 28px;
    font-weight: 700;
}

.slider-aside li {
    background: url(img/svg/check_mark.svg) no-repeat 0 3px;
    padding-left: 24px;
    padding-top: 10px;
    line-height: 1.2;
}

main {
    padding: 10px;
}




footer div.container {
    display: flex;
    flex-direction: column;
}

footer div.footer-item {
    padding: 25px;
    color: blanchedalmond;
    background-color: #444;
    border-bottom: 1px solid #777;
}

footer div.footer-item a {
    color: blanchedalmond;
}




@media screen and (min-width: 668px) {
    .top {
        font-size: 22px;
    }

    .phone-top {
        display: block;
    }

    .slider {
        height: 400px;
        flex-direction: row;
        flex-flow: row-reverse;
    }

    .slider__item {
        height: 500px;
    }


    footer {
        background-color: #444;
    }

    footer div.container {
        flex-direction: row;
        justify-content: space-between;
        align-items: top;
        margin-top: 100px;
    }


    /* footer div.footer-item:last-child {
        flex: 1;
    } */
}

@media screen and (min-width: 845px) {
    .slider {
        height: 500px;
    }
}