/*
Theme Name: Академия автомасел
Version: 1.0
Description: Тема для сайта Академия автомасел
Author: IVIatilda
Author URI: http://www.iviatilda.ru/
*/

* {
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto;
    font-size: 16px;
    color: #000;
}

img {
    max-width: 100%;
    height: auto;
}

input, select, textarea {
    background: #fff;
    border: 1px solid #C4C4C4;
    border-radius: 20px;
    padding: 8px 15px;
    outline: none;
}

input[type=radio] {
    position: relative;
    width: 18px;
    height: 18px;
    padding: 0;
}

input[type=radio]:before {
    content: '';
    background: #fff;
    position: absolute;
    top: -1px;
    left: -1px;
    display: block;
    z-index: 5;
    width: 18px;
    height: 18px;
    border: 1px solid #c4c4c4;
    border-radius: 50%;
}

input[type=radio]:checked:after {
    content: '';
    display: block;
    background: #ea813f;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 10;
}

input[type=checkbox] {
    width: 16px;
    height: 16px;
    padding: 0;
}

input[type=checkbox]:before {
    content: '';
    display: block;
    background: #fff;
    position: absolute;
    top: -2px;
    left: -2px;
    width: 16px;
    height: 16px;
    border: 1px solid #C4C4C4;
}

input[type=checkbox]:checked:after {
    content: '✔';
    display: block;
    position: absolute;
    color: #ea813f;
    font-size: 15px;
    left: 2px;
    bottom: 0px;
}

h1, h2, h3, h4, h5, h6 {
    color: #EA813F;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
}

h1 {
    font-size: 35px;
    margin-bottom: 30px;
}

h2 {
    font-size: 30px;
    margin-bottom: 20px;
    margin-top: 30px;
}

h3 {
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 30px;
}

p {
    margin-bottom: 25px;
    line-height: 1.7;
}

ul {
    margin: 0 0 25px 20px;
}

ul li {
    padding-bottom: 10px;
}

table {
    border-collapse: collapse;
}

main {
    background: #fbfbfb;
    padding-bottom: 100px;
    min-height: calc(100vh - 571px);
}

.container {
    max-width: 1160px;
    padding: 0 15px;
    margin: 0 auto;
}

.button, input[type=submit] {
    background: #EA813F;
    color: #FFFFFF;
    /* text-shadow: 0px 0px 6px rgba(0,0,0,0.50); */
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    border: none;
    border: 2px solid #EA813F;
    outline: none;
    cursor: pointer;
}

.button-white {
    color: #EA813F;
    background: #FFFFFF;
    text-shadow: none;
    border: 2px solid #EA813F;
}

.top-block {
    background: #F5F5F5;
    padding: 15px 0;
}

.top-block-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.top-menu ul li {
    margin: 0 18px 0 0;
    padding: 0;
}

.top-menu ul li a {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    text-decoration: none;
}

.top-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-social a {
    display: block;
    margin: 0 8px;
    padding: 0;
}

.woocommerce-page .top-social img, .top-social img {
    display: block;
    height: 26px;
}

.top-search input {
    background: #FFFFFF;
    border: 1px solid #8E8E8E;
    box-sizing: border-box;
    border-radius: 10px;
    height: 28px;
    padding: 14px;
    font-size: 14px;
    min-width: 200px;
}

.top-search button {
    background: none;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 7px;
    border-left: 1px solid #8e8e8e;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    flex-wrap: wrap;
}

.header-time b {
    display: block;
    margin-bottom: 8px;
}

.header-time .callme {
    color: #e25d26;
    border-bottom: 1px dashed #e25d26;
    line-height: 16px;
    width: fit-content;
    margin-top: 10px;
    cursor: pointer;
}

.header-contacts a {
    display: block;
    color: #000;
}

a.header-phone {
    font-weight: bold;
    line-height: 1.7;
    text-decoration: none;
}

a.header-phone:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 15px;
    background: url(img/phone.png);
    background-repeat: no-repeat;
}

a.header-email {
    font-size: 16px;
    line-height: 1.7;
    text-decoration: none;
}

a.header-email:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 13px;
    background-image: url(img/envelope.png);
    background-repeat: no-repeat;
}

.header-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-links a {
    text-decoration: none;
    margin: 0 15px;
}

.header-links a:last-child {
    margin-right: 0;
}

.header-links a > span {
    color: #000;
}

.heder-link-img {
    background: #000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.button-menu {
    display: none;
}

.woocommerce-page .button-menu img {
    max-width: 20px;
}

.heder-link-img span {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    color: #000;
    font-size: 13px;
    width: 18px;
    height: 18px;
    border: 1px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-menu {
    background: #F5F5F5;
    box-shadow: 0 3px 5px #d2d2d2;
    z-index: 1000;
}

body.home .header-menu {
    box-shadow: none;
}

.header-menu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}
.header-menu ul li {
    margin: 0;
    padding: 0;
}
.header-menu ul li a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    padding: 20px 15px;
    display: block;
}

.header-menu ul li.current_page_item a {
    background: #e25d27;
    color: #fff;
}

.index-background {
    background: url(img/index-bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    padding-bottom: 100px;
    margin-bottom: 100px;
}

.index-background:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 0.7);
}

.slider-box {
    width: 100%;
    height: 585px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 78px;
    overflow: hidden;
}

.slider {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
}

.slide {
    height: 100%;
    background-position: center center;
    display: flex;
    background-size: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 1s;
    opacity: 0;
}

a.slide.active {
    z-index: 10;
    opacity: 1;
    position: relative;
}

a.slide img {
    width: 100%;
}

p.slider-text {
    background: #E25D24;
    position: absolute;
    bottom: 25px;
    left: 23px;
    z-index: 10;
    color: #FFFFFF;
    text-shadow: 0px 0px 6px rgba(0,0,0,0.50);
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 10px;
}

.arrow {
    z-index: 15;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    background-image: url(img/arrow.png);
    background-size: 100px;
}

.arrow.right {
    background-position: right top;
    right: -65px;
}

.arrow.right:hover {
    background-position: right bottom;
    right: -65px;
}

.arrow.left {
    background-position: left top;
    left: -65px;
}

.arrow.left:hover {
    background-position: left bottom;
    right: -65px;
}

.advantages {
    padding: 55px 0 85px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 0;
    max-width: 1000px;
    flex-wrap: wrap;
}

.advantages-item {
    width: 26%;
    background: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 25px;
}

.advantages-img img {
    height: 80px;
    margin-bottom: 10px;
}

.banner {
    text-align: center;
    margin: 0 0 60px 0;
}

.about-block {
    max-width: 1000px;
    background: #fff;
    border-radius: 10px;
    margin: 0 auto;
    padding: 35px 35px 60px;
    background: linear-gradient(180deg, #EA813F 0%, rgba(242, 174, 132, 0.639053) 25%, rgba(242, 175, 134, 0.631373) 45.31%, rgba(243, 180, 141, 0.593754) 78.64%, rgba(95, 88, 83, 0.593754) 78.64%, rgba(243, 180, 141, 0.593754) 78.65%, rgba(251, 229, 216, 0.202708) 99.99%, rgba(255, 255, 255, 0) 100%);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.about-block h1, .about-block h2 {
    color: #000;
}

.about-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.about-block p {
    margin-bottom: 15px;
}

.about-block ul {
    margin: 0 0 0 18px;
}

.about-block ul li {
    margin-bottom: 5px;
}

.about-block a.button {
    float: right;
}

.title {
    font-family: 'Open Sans', sans-serif;
    font-size: 35px;
    text-align: center;
    margin-bottom: 30px;
}

.availability-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.availability-form img {
    width: 50%;
}

.availability-form form {
    width: 45%;
}

.availability-form input, .availability-form select {
    display: block;
    width: 100%;
    background: #fff;
}

.availability-form label {
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
}

.availability-form .form-block {
    margin-bottom: 25px;
}

.availability-form button.button {
    width: 200px;
    border-radius: 20px;
    float: right;
    margin-top: 15px;
}

.availability-form p#mess {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    background: #fbfbfb;
    color: green;
    font-weight: bold;
    padding: 13px 0;
}

footer {
    background: #4D4D4D;
    padding: 50px 0 0;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    max-width: 300px;
}

.footer-logo {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.footer-name {
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.7px;
}

.footer-adress {
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
    letter-spacing: 0.2px;
}

.footer-col-title {
    font-weight: bold;
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    margin: 0;
    padding: 0 0 10px;
}

footer ul li a {
    text-decoration: none;
    color: #fff;
}

.footer-phone {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.footer-social a {
    text-decoration: none;
}

.footer-social a img {
    max-height: 30px;
}

.iviatilda {
    text-align: center;
    color: #fff;
    font-size: 14px;
    padding: 35px 0;
}

.iviatilda a {
    font-size: 14px;
    color: #fff;
}

.cs-callback-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.cs-callback {
    background: #fff;
    min-width: 280px;
    max-width: 400px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 2px 2px 12px rgb(0 0 0 / 0.7);
}

.cs-callback-close {
    position: absolute;
    top: 3px;
    right: 10px;
    font-size: 30px;
    line-height: 30px;
    cursor: pointer;
}

.cs-callback-modal input {
    width: 100%;
}

p.cs-h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    text-align: center;
}

.cs-callback-modal input {
    width: 100%;
    margin: 15px 0;
}

.cs-callback-modal input.button {
    margin-bottom: 0;
    border-radius: 20px;
}

.added-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

table.wishlist_table tr {
    background: #fff;
}

img.attachment-post-thumbnail {
    float: left;
    margin: 0 30px 30px 0;
}

.post-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 40px;
}

.post {
    background: #fff;
    box-shadow: 1px 1px 10px rgb(0 0 0 / 0.3);
    border-radius: 10px;
}

.post-img {
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.post-img a {
    display: block;
    width: 100%;
}

.post-img img {
    width: 100%;
}

.post-content {
    padding: 10px 10px 60px 10px;
}

.post-title a {
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 20px;
    display: block;
    font-weight: bold;
}

.post-text p {
    line-height: 1.2;
    color: #404040;
    margin: 0;
}

.post-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    border-top: 1px solid #C4C4C4;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-link a {
    color: #e25d26;
    line-height: 16px;
    width: fit-content;
    margin-top: 10px;
    text-decoration: none;
}

.post-social {
    display: flex;
    justify-content: flex-end;
}

.comment-form {
    display: grid;
    grid-template-areas:
        "a1 a1"
        "a2 a4"
        "a3 a4"
        "a5 a5";
    grid-gap: 0 35px;
}

p.comment-notes {
    grid-area: a1;
}

p.comment-form-author {
    grid-area: a2;
}

p.comment-form-email {
    grid-area: a3;
}

p.comment-form-comment {
    grid-area: a4;
}

p.comment-form-comment textarea {
    height: 130px;
}

p.form-submit {
    grid-area: a5;
}

p.form-submit input {
    width: fit-content;
    float: right;
}

.comment-form label {
    display: block;
}

.comment-form input, .comment-form textarea {
    display: block;
    width: 100%;
}

.more-post .button.button-white {
    margin: 30px auto 0;
    display: block;
    width: fit-content;
}

.sidebar-blog {
    margin-bottom: 50px;
}

.woof_container_inner h4 {
    color: #000;
    font-size: 20px;
    text-transform: none;
    font-weight: normal;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.woof_container_inner h4:before {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 18px;
    height: 18px;
    color: #e25d27;
    border: 2px solid #e25d27;
    margin-right: 10px;
    font-weight: bold;
}

ul.woof_list {
    margin: 0 0 20px 15px;
}

.woof_list li {
    display: flex;
    align-items: center;
    margin: 0 0 10px;
    padding: 0;
}

.woof_list li.hidden {
    display: none;
}

.woof_list li input {
    margin-right: 10px;
}

span.woof_checkbox_count {
    display: none;
}

.woof_container_inner .woof_block_html_items {
    display: none;
}

.woof_container_inner.active .woof_block_html_items {
    display: block;
}

.woof_container_inner.active h4:before {
    content: '-';
}

.woof_products_top_panel li span {
    display: flex;
    align-items: center;
    font-size: 14px;
    background: #ccc;
    padding: 0px 10px;
    border-radius: 20px;
    line-height: 26px;
}

.woof_products_top_panel li span:after {
    content: '×';
    background: #b83e38;
    color: #fff;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 3px;
}

.woof_products_top_panel {
    margin: 0 0 20px 0;
}

.woof_products_top_panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.woof_products_top_panel ul li {
    margin-right: 15px;
}

.woof_products_top_panel ul li a {
    text-decoration: none;
}

.mobile-menu-block {
    display: none;
}

.cs-callback p#mess {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    margin: 0;
    text-align: center;
    color: green;
    font-weight: bold;
    padding: 26px 0;
}

@media only screen and (max-width: 1030px) {

}


@media screen and (max-width: 960px) {
    .mobile-menu-block {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        z-index: 1000;
        background: rgb(0 0 0 / 0.5);
        right: -115%;
        left: 115%;
        box-shadow: 0 0 50px #000;
        transition: 1s;
    }
    .button-menu img {
        max-width: 20px!important;
    }
    .mobile-menu-block.active {
        left: 0;
        right: 0;
    }
    .close-mobile-menu {
        position: absolute;
        left: 10px;
        color: #fff;
        font-size: 40px;
        top: 0;
        cursor: pointer;
    }
    .mobile-menu-wrap {
        width: 350px;
        background: #fff;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        padding: 20px;
        overflow: auto;
        max-width: 90%;
    }
    .mobile-search .search-field {
        background: #FFFFFF;
        border: 1px solid #8E8E8E;
        box-sizing: border-box;
        border-radius: 10px;
        height: 28px;
        padding: 14px;
        font-size: 14px;
        width: 100%;
    }
    .mobile-search button {
        background: none;
        border: none;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        padding: 7px;
        border-left: 1px solid #8e8e8e;
    }
    .mobile-menu {
        margin: 20px 0;
    }
    .mobile-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mobile-menu ul li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #ccc;
    }
    .mobile-menu ul li a {
        text-decoration: none;
        display: block;
        padding: 10px;
    }
    .mobile-contacts {
        margin: 20px auto;
        width: fit-content;
    }
    .mobile-contacts a {
        display: block;
    }
    .mobile-social {
        margin: 20px auto;
        width: fit-content;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-social a {
        display: block;
        margin: 0 8px;
    }
    .mobile-social img {
        max-height: 24px;
    }
    .top-block, .slider-box, .header-contacts, .header-time, .header-links a > span,
    .header-menu, .sidebar {
        display: none;
    }
    .button-menu {
        display: block;
        margin: 0 15px;
    }
    .mobile-hide {
        display: none;
    }
    .post-container {
        grid-template-columns: 1fr 1fr;
        grid-gap: 30px 15px;
    }
}


@media screen and (max-width: 720px) {
    .availability-form img {
        display: none;
    }
    .availability-form form {
        width: 100%;
    }
    .advantages-item {
        width: 32%;
    }
    .comment-form {
        grid-template-areas:
            "a1 a1"
            "a2 a2"
            "a3 a3"
            "a4 a4"
            "a5 a5";
    }
    img.attachment-post-thumbnail {
        float: none;
        display: block;
        margin: 0 auto 20px;
    }
}


@media screen and (max-width: 540px) {
    h1 {
        font-size: 22px;
    }
    h2 {
        font-size: 21px;
    }
    h3 {
        font-size: 20px;
    }
    header {
        box-shadow: 0 0 10px rgb(0 0 0 / 0.2);
        z-index: 100;
    }
    .header-content {
        padding: 10px 0 0;
    }
    .header-links {
        width: 100%;
    }
    .header-logo {
        margin: 0 auto 25px;
    }
    .title {
        font-size: 24px;
    }
    .advantages-item {
        width: 100%;
        margin-bottom: 25px;
    }
    .availability-form label {
        font-size: 16px;
    }
    footer {
        padding-bottom: 0;
    }
    .footer-col {
        max-width: 100%;
        margin: 0 0 15px 0px;
    }
    .footer-logo {
        max-width: 200px;
        margin: 0 auto 0;
    }
    .widget_text.footer-col {
        margin: 19px 0;
        text-align: center;
    }
    .footer-col.contacts {
        width: 100%;
        text-align: center;
    }
    .footer-social {
        max-width: 160px;
        margin: 20px auto;
    }
    .post-container {
        grid-template-columns: 1fr;
    }
    .button, input[type=submit] {
        font-size: 12px;
    }
}










