/*
 Theme Name: eveline
 Template: blocksy
 
 Description:  Тема для сайта beauty-eveline.by
 Author:       eveline
 Author URI:   https://beauty-eveline.by
 Version:      1.0.0
 Text Domain:  eveline
*/

/*  */
.ct-button {
    transition: .3s !important;
}

/* лого */

.logo-hed a {
    font-size: 28px;
    font-family: "Great Vibes", serif;
    color: #111;
	font-weight: 400;
	transition: .3s;
}

.logo-hed a:hover {
    color: var(--theme-palette-color-1)!important;
}

@media (max-width: 480px) {

    .logo-hed a {
        font-size: 16px;
    }
}

/* номер телефона в меню */

.hed_phone_item {
    vertical-align: middle;
    line-height: 1;
    margin-left: 10px;
}

.hed_phone_item a {
    color: #111 !important;
    font-size: 20px;
    display: inline-block;
    text-align: right;
	transition: .3s;
}

.hed_phone_item a:hover {
    color: var(--theme-palette-color-1)!important;
}

.hed_phone_item a:before {
    content: "A1";
    font-size: 20px;
    display: inline-block;
    padding-right: 5px;
    color: var(--theme-palette-color-1);
    text-align: left;
}

.hed_phone_item a span {
    color: #545454;
    font-size: 11px;
    display: block;
    text-align: right;
    margin-top: 3px;
}

@media (max-width: 480px) {
    .hed_phone_item a {
        color: #111 !important;
        font-size: 16px;
        display: inline-block;
        text-align: right;
    }

    .hed_phone_item a:before {
        font-size: 13px;
    }

    .hed_phone_item a span {
        font-size: 10px;
    }
}

/* Главная */

/* Шапка */
.hed_content {
    text-align: center;
    padding: 0px 20px;
    position: relative;
    z-index: 2;
}

.name_hed {
    color: var(--theme-palette-color-1);
    font-size: 96px;
    font-family: "Great Vibes", serif;
    font-weight: 400;
    font-style: normal;
}

h1.hed_title {
    color: #fff;
    font-size: 48px;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: 600;
}

.subheadline {
    color: #fff;
    font-size: 20px;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto 50px;
}

.hed_buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hed_buttons a {
    text-decoration: none;
}

.hed_button {
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid var(--theme-palette-color-1);
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    transition: .5s;
}

.hed_button:nth-child(1) {
    background: linear-gradient(45deg, #9b7438, var(--theme-palette-color-1));
    border: none;
    transition: .5s;
    position: relative;
    overflow: hidden;
}

.hed_button:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.hed_button:nth-child(1):hover::before {
    left: 100%;
}

.hed_button:hover {
    border-color: #fff;
    color: #fff;
}

@media (max-width: 768px) {
    .name_hed {
        font-size: 56px;
    }

    h1.hed_title {
        font-size: 32px;
    }

    .subheadline {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .name_hed {
        font-size: 46px;
    }

    h1.hed_title {
        font-size: 26px;
    }
}

/* услуги */

.services_container {
    overflow: hidden;
    box-sizing: border-box;
}

.services_title {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 10px;
}

.services_title span {
    font-size: 13px;
    color: #555;
    max-width: 260px;
}

.services_warr_item {
    display: flex;
    flex-wrap: wrap;
}

.service-card {
    color: #fff;
    width: 33.333%;
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.service-bg,
.service-bg-dop {
    background: #111;
    overflow: hidden;
    line-height: 0;
}

.service-card img,
.service-card-dop img {
    opacity: 0.6;
    transition: .4s;
    transform: scale(1)
}

.service-card:hover img,
.service-card-dop:hover img {
    transform: scale(1.01);
    opacity: 0.3;
}

.service-card-content {
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

.service-card-content h3 {
    color: var(--theme-palette-color-1);
    font-size: 32px;
    font-family: "Great Vibes", serif;
    font-weight: 400;
    font-style: normal;
}

.service-card-content p {
    max-width: 300px;
    margin: 0px 0 20px;
    font-size: 14px;
	line-height: 1.4;
}

.service_button {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 23px;
    font-size: 14px;
    display: inline-block;
    line-height: 1.4;
    overflow: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service_button:hover {
    color: #fff;
    border-color: var(--theme-palette-color-1);
}

.service_button::before,
.service_button::after {
    content: "";
    background: linear-gradient(45deg, #9b7438, var(--theme-palette-color-1));
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.service_button:hover:after {
    width: 100%;
}

.services_warr_dop {
    display: flex;
    flex-wrap: wrap;
}

.service-card-dop {
    width: 25%;
    padding: 10px;
    position: relative;
    text-align: center;
}

.service-card-content-dop {
    position: absolute;
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.service-card-content-dop h3 {
    color: var(--theme-palette-color-1);
    font-size: 28px;
    font-family: "Great Vibes", serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 8px;
}

@media (max-width: 1000px) {
    .service-card-content {
        padding: 20px;
        position: relative;
        top: 0%;
        left: 0px;
        transform: translateY(0%);
    }

    .service-card-content h3 {
        font-size: 28px;
    }
}

@media (max-width: 769px) {
    .services_title {
        margin-bottom: 20px;
        gap: 10px;
    }

    .service-card {
        width: 100%;
    }

    .service-card-dop {
        width: 50%;
    }

    .service-card-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    .service-card-content p {
        max-width: 300px;
        margin: 0px auto 20px;
        font-size: 14px;
    }

    .service-card {
        text-align: center;
    }
}

@media (max-width: 520px) {
	.services_title h2 {
		margin-bottom: 0;
	}
	
    .service-card-content p {
        margin: 0px auto 15px;
    }

    .service-card-content-dop h3 {
        font-size: 28px;
    }

}

/* портфолио */
.portfolio_button {
    display: inline-flex;
}

.portfolio_button a {
    padding: 10px 40px;
    font-size: 16px;
    border: 1px solid var(--theme-palette-color-1);
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    transition: .5s;
}

.portfolio_button a:hover {
    color: #fff;
}

.portfolio_button a {
    background: linear-gradient(45deg, #9b7438, var(--theme-palette-color-1));
    border: none;
    transition: .5s;
    position: relative;
    overflow: hidden;
}

.portfolio_button a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.portfolio_button a:hover::before {
    left: 100%;
}

/* Профессиональная косметика */
.brand_content_logo {
    background: var(--theme-palette-color-1);
    padding: 15px 25px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    max-width: 490px;
    left: -136px;
    bottom: -25px;
}

.brand_content_logo span {
    width: 25%;
    text-align: center;
    padding: 0 6px;
    position: relative;
}

.brand_content_logo span:nth-child(1):before,
.brand_content_logo span:nth-child(2):before {
    content: "";
    width: 5px;
    height: 5px;
    background: #fff;
    position: absolute;
    border-radius: 50px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.brand_content_logo span:nth-child(4):before {
    content: "";
    width: 5px;
    height: 5px;
    background: #fff;
    position: absolute;
    border-radius: 50px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

@media (max-width: 830px) {
    .brand_content_logo {
        background: var(--theme-palette-color-1);
        padding: 15px 5px;
        position: relative;
        width: 100%;
        left: 0;
        bottom: 0;
    }

    .brand_content_logo span {
        font-size: 14px;
    }
}

/* Шапка услуг*/
.hed-bg-services {
    background-repeat: no-repeat;
    overflow: hidden;
    box-sizing: border-box;
	will-change: transform;
}

@media only screen and (max-width: 768px),
only screen and (max-device-width: 2300px) and (-webkit-min-device-pixel-ratio: 2) {
    .hed-bg-services {
        background-attachment: scroll !important;
        background-position: center center !important;
    }
}

/* цвет рамки иконок на страницах услуг */
.border-icon-dop span.elementor-icon {
    border-color: #e9b759 !important;
}

/*  инфо блоки на страницы услуг*/

.info-services-block {
    text-align: center;
}

.info-services-block a {
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    display: inline-block;
    background: linear-gradient(45deg, #9b7438, var(--theme-palette-color-1));
    z-index: 1;
    transition: .4s;
    position: relative;
}

.info-services-block a::before,
.info-services-block a::after {
    content: "";
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.info-services-block a:hover:after {
    width: 100%;
}

/* modal*/

.wrap_evelin_contakt {
    display: flex;
    flex-wrap: wrap;
    position: relative;
	 background: #111;
    z-index: 2;
}

.wrap_evelin_contakt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .6;
    z-index: -1;
    background-image: url("img/bg-modal.jpg");
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: border-box;
    background-size: cover;
}

.contak_form_content {
    width: 90%;
    padding: 30px;
    margin: 0 auto;
}

.title_mod_ord span {
    font-size: 22px;
    font-weight: 600;
    color: #eee;
}

.title_mod_ord {
    margin-bottom: 20px;
}

.title_mod_ord p {
    font-size: 14px;
    color: #dbdbdb;
}

@media (max-width:768px) {
    .contak_form_content {
        width: 100%;
        padding: 30px;
    }
}

/* form */

.contact_modal_form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.contact_modal_form span {
    display: block;
}

.contact_modal_form form label {
    display: block;
    color: #fff;
    font-size: 12px !important;
    margin-bottom: 5px;
	font-weight: 400 !important;
}

.contact_modal_form form p {
    margin: 0;
}

.contact_modal_form form .full_type_form {
    grid-column: 1 / 3;
}

.contact_modal_form form button {
    width: 100%;
    padding: 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    color: var(--theme-palette-color-1);

}

.contact_modal_form form input {
    width: 100%;
    padding: 20px;
    border: solid 1px #fff;
    font-size: 14px;
    color: #fff;
    background: none;
    min-height: 58px;
}

.contact_modal_form .wpcf7 input[type="text"] {
    margin: 0;
}

.contact_modal_form form button:focus,
.contact_modal_form form input:focus,
.contact_modal_form form textarea:focus {
    border: solid 1px var(--theme-palette-color-1);
    color: #fff;
    outline: none;
}

.contact_modal_form form textarea {
    resize: none;
    max-height: 130px;
}

.contact_modal_form form input[type="submit"] {
    background: var(--theme-palette-color-1);
    border: 0;
	padding: 0;
    color: #fff;
    text-transform: none;
    font-size: 16px;
    font-weight: 400;
    transition: all .2s ease-in-out;
}

.contact_modal_form form input[type="submit"]:hover,
.contact_modal_form form input[type="submit"]:focus {
    background: transparent;
    color: #fff;
    outline: 0;
}

.contact_modal_form form .full_type_form input[type="submit"]:hover,
.contact_modal_form form .full_type_form input[type="submit"]:focus {
    background: var(--theme-palette-color-2);
}


.contact_modal_form form .wpcf7-response-output {
    color: #999;
    font-size: 13px;
    grid-column: 1 / 3;
    margin: -32px 0 0 0;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    color: rgba(0, 0, 0, 0);
    opacity: 1;
    display: block;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 24 24"><path fill="%23bbbbbb" d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"/></svg>');
    width: 20px;
    height: 20px;
    border-width: thin;
}

@media all and (max-width: 568px) {

    .title_mod_ord span {
        font-size: 18px;
    }

    .contact_modal_form form p {
        grid-column: 1 / 3;
    }

}

/* виджеты подвал */

/* 1 */
div[data-column="widget-area-1"] .foo_logo {
    color: var(--theme-palette-color-1);
    font-size: 36px;
    font-family: "Great Vibes", serif;
    font-weight: 400;
    font-style: normal;
}

.custom-footer-widget-1 p {
    color: #666;
    font-size: 14px;
}

.ip_registration {
    color: #9E9E9E;
    margin-top: 15px;
    font-size: 14px;
}

/* 3 */
div[data-column="widget-area-3"] span {
    color: #9E9E9E;
    display: block;
}

div[data-column="widget-area-3"] a.foo_phone {
    font-size: 24px;
    margin-top: 10px;
    display: inline-block;
    color: var(--color-main);
}

div[data-column="widget-area-3"] a.foo_phone:hover {
    color: var(--theme-palette-color-1);
}

div[data-column="widget-area-3"] a.foo_phone::before {
    content: url('img/icon-phone.svg');
    margin-right: 7px;
}
