* {
    box-sizing: border-box;
    outline: none;
}

a {
    text-decoration: none;
    display: inline-block;
}

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

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

body {
    font-family: "PT Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #5e5e5e;
}

header {
    font-family: "Roboto", sans-serif;
}

.header__top {
    background-color: #303030;
}

.header__btn {
    float: right;
    line-height: 36px;
    font-size: 16px;
    color: #1b1b1b;
    background-color: #ffc222;
    padding: 5px 20px 4px 50px;
    position: relative;
}

.header__btn::before {
    font-family: "icomoon";
    content: "\f0b1";
    position: absolute;
    left: 22px;
    color: #1b1b1b;
}

.header__contacts::after {
    content: "";
    clear: both;
    display: block;
}

.header__phone,
.header__email {
    color: #cbcacb;
    letter-spacing: 0.25px;
    line-height: 45px;
    position: relative;
}

.header__phone {
    padding-left: 20px;
    padding-right: 30px;
}

.header__phone::before {
    font-family: "icomoon";
    content: "\f095";
    position: absolute;
    left: 0;
    color: #ffc222;
}

.header__email {
    padding-left: 24px;
}

.header__email::before {
    font-family: "icomoon";
    content: "\f003";
    position: absolute;
    left: 0;
    color: #ffc222;
}

.header__content {
    padding: 34px 0px 23px;
}

.header__content-inner {
    display: flex;
    justify-content: space-between;
}

.menu li {
    display: inline-block;
}

.menu a {
    color: #323232;
    font-size: 16px;
    line-height: 36px;
    border: 1px transparent solid;
    padding: 0px 16px;
    transition: all 0.3s;
}

.menu a:hover {
    border-color: #ffc222;
}

.menu li + li {
    padding-left: 10px;
}

.slider {
    background-image: url(../img/slider-back.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.slider__item-content {
    text-align: center;
    padding-top: 110px;
    max-width: 660px;
    margin: 0px auto;
    font-family: "Roboto", sans-serif;
}

.slider__title {
    text-transform: uppercase;
    color: #fff;
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    letter-spacing: 1.4px;
    margin-bottom: 22px;
    font-family: "Roboto", sans-serif;
}

.slider__text {
    color: #d3d2d2;
    line-height: 24px;
    font-size: 18px;
    margin-bottom: 50px;
}

.default-btn {
    font-size: 14px;
    line-height: 24px;
    color: #fff;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    padding: 8px 30px 8px 24px;
    border: 1px solid #ffc222;
    border-right-width: 20px;
    position: relative;
}

.default-btn::after {
    font-family: "icomoon";
    content: "\f105";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -13px;
}

.slider__inner {
    position: relative;
}

.slick-btn {
    position: absolute;
    top: 70%;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    background-color: #ffc222;
    color: #fff;
    cursor: pointer;
    outline: none;
}

.slick-btn.slick-disabled {
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    cursor: default;
}

.slick-btn::before {
    position: absolute;
    transform: translate(-50%, -50%);
    font-family: "icomoon";
}

.slick-next {
    right: 0;
}

.slick-next::before {
    content: "\f105";
}

.slick-prev {
    left: 0;
}

.slick-prev::before {
    content: "\f104";
}

.services,
.form,
.news {
    padding: 50px 0px 30px;
}

.services__top,
.news__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.services__title-box,
.form__title-box,
.news__title-box {
    max-width: 520px;
    padding-left: 140px;
    position: relative;
}

.services__title-box::before,
.form__title-box::before,
.news__title-box::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 2px;
    border: 1px solid #ffc222;
    background-color: #ffc222;
    left: 0;
    top: 11px;
}

.services__title,
.form__title,
.news__title {
    font-size: 24px;
    line-height: 24px;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    color: #212020;
    margin-bottom: 10px;
}

.services__text,
.form__text,
.news__text {
    letter-spacing: 0.1px;
    color: #5e5e5e;
    font-family: 'PT Serif', sans-serif;
}

.services__btn a,
.news__btn a {
    color: #373636;
    line-height: 24px;
    letter-spacing: 0.25px;
    padding: 5px 38px;
    border: 3px solid #e6e6e6;
}

.services__items {
    display: flex;
    justify-content: space-between;
}

.services__item {
    max-width: 360px;
    min-height: 363px;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0px 3px 12px 1.3px rgba(91, 89, 89, 0.05);
    padding: 30px 0 80px;
    position: relative;
}

.services__item:hover {
    box-shadow: 0px 7px 24px 2.7px rgba(91, 89, 89, 0.14);
    transition: all 0.5s;
}

.services__item-title {
    font-size: 18px;
    line-height: 24px;
    padding: 24px 0;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    color: #212020;
}

.services__item-text {
    letter-spacing: 0.1px;
    padding: 0 30px;
    font-family: 'PT Serif', sans-serif;
}

.services__item-btn {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
}

.services__item .default-btn {
    color: #373636;
}

.services__item .default-btn::after {
    color: #fff;
}

.services__item-link {
    color: #050505;
    border-bottom: 1px solid #050505;
    left: 0;
    margin-right: 60px;
}

.about {
    background-image: url(../img/about-back.jpg);
    background-size: cover;
    background-position: center;
    min-height: 300px;
    padding: 38px 0 48px;
}

.about__inner {
    max-width: 545px;
}

.about__title-box {
    position: relative;
}

.about__title-box::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 2px;
    border: 1px solid #ffc222;
    background-color: #ffc222;
    top: 10px;
}


.about__title {
    font-size: 24px;
    line-height: 24px;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    color: #212020;
    margin-bottom: 20px;
    margin-left: 140px;
    color: #fff;
}

.about__text {
    font-family: "PT Serif", sans-serif;
    color: #d3d2d2;
    line-height: 24px;
    letter-spacing: 0.1px;
    margin-bottom: 36px;
}

.about__btn.default-btn::after {
    color: #000;
}

.form__inner {
    background-image: url(../img/form-back.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    min-height: 460px;
}

.form__box {
    max-width: 850px;
    padding-top: 45px;
}

.form__box-inner {
    display: flex;
    justify-content: space-between;
}

.form__box-left {
    max-width: 260px;
    width: 100%;
}

.form__box-right {
    max-width: 555px;
    width: 100%;
}

.form__box-inner label,
.form__box-inner input,
.form__box-inner textarea {
    display: block;
    width: 100%;
}

.form__box-inner label {
    line-height: 36px;
    color: #282828;
    font-family: "Roboto", sans-serif;
}

.form__box-inner input {
    margin-bottom: 8px;
    outline: none;
    height: 40px;
    border: 1px solid #e6e6e6;
    padding: 0 10px;
}

.form__box-inner select {
    outline: none;
    padding-left: 17px;
}

.form__box-inner textarea {
    outline: none;
    border: 1px solid #e6e6e6;
    padding: 10px;
    height: 208px;
    margin-bottom: 42px;
    resize: none;
}

.form__box-inner button {
    background-color: transparent;
    color: #282828;
    float: right;
}

.form__box-inner .jq-selectbox.jqselect {
    display: block;
    width: 100%;
}

.form__box-inner .jq-selectbox__select {
    height: 40px;
    border: 1px solid #e6e6e6;
    margin-left: 17px;
    width: 100%;
    padding-left: 17px;
    right: 17px;
    top: 0;
    transform: rotate(deg);
    position: relative;
}

.form__box-inner .jq-selectbox__trigger-arrow::before {
    content: "\f105";
    font-family: 'icomoon';
    position: absolute;
    right: 12px;
    top: 0;
    transform: rotate(90deg)
}

.form__box-inner .jq-selectbox__dropdown {
    width: 100%;
    margin: 2px 0 0;
    padding: 0;
    border: 1px solid #e6e6e6;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.form__box-inner {}



.form__box-inner .jq-selectbox li {
    min-height: 18px;
    padding: 5px 17px 6px;
    color: #231f20;
}

.form__box-inner .jq-selectbox li.selected {
    background-color: #A3ABB1;
    color: #FFF;
}

.form__box-inner .jq-selectbox li:hover {
    background-color: #08C;
    color: #FFF;
}

.form__box-inner .jq-selectbox li.disabled {
    color: #AAA;
}

.form__box-inner .jq-selectbox li.disabled:hover {
    background: none;
}

.form__box-inner .jq-selectbox li.optgroup {
    font-weight: bold;
}

.form__box-inner .jq-selectbox li.optgroup:hover {
    background: none;
    color: #231F20;
    cursor: default;
}

.form__box-inner .jq-selectbox li.option {
    padding-left: 25px;
}


.advantages {
    min-height: 285px;
    background-image: url(../img/advantages-back.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 55px 0 40px;
}

.advantages__inner {
    color: #fff;
    display: flex;
    justify-content: space-between;
    text-align: center;
}


.advantages__item {
    max-width: 330px;
    padding: 0 20px;
}

.advantages__title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    padding: 60px 0 25px;
    position: relative;
}

.advantages__title::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #ffc222;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.advantages__title::after {
    content: "\f00c";
    position: absolute;
    font-family: 'icomoon';
    font-size: 14px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);


}

.advantages__text {
    line-height: 24px;
    font-family: #d3d2d2;
    letter-spacing: 0.1px;
}


.news {
    background-color: #f9f9f9;
}

.news__inner {
    display: flex;
    justify-content: space-between;
}

.news__slider {
    max-width: 555px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 5px 15.36px 0.64px rgba(128, 127, 127, 0.13);
    padding: 60px 35px 55px 70px;
    position: relative
}

.news__slider::before {
    content: "\f10e";
    font-family: 'icomoon';
    position: absolute;
    top: 0;
    left: 70px;
    width: 65px;
    height: 30px;
    color: #fff;
    background-color: #ffc222;
    text-align: center;
    line-height: 30px;
}

.news__blog {
    max-width: 260px;
    width: 100%;
}

.news__img {
    position: relative;
}

.news__date {
    position: absolute;
    background-color: #ffc222;
    width: 50px;
    height: 55px;
    text-align: center;
    padding-top: 30px;
    font-weight: 700;
    top: 0;
    left: 10px;
    color: #fff;
}

.news__blog-title {
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0.5px;
    color: #242424;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    margin: 20px 0 18px;
}

.news__blog-text {
    color: #5e5e5e;
    font-weight: 500;
}

.news__slider-title {
    font-size: 18px;
    line-height: 24px;
    color: #242424;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.news__slider-text {
    margin-bottom: 30px;
}

.news__slider-author {
    letter-spacing: 0.5px;
    color: #242424;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.news__slider-inner .slick-btn {
    top: auto;
    bottom: -55px;
}

.news__slider-inner .slick-next {
    right: -35px;
}

.news__slider-inner .slick-prev {
    left: auto;
    right: 25px;
}

.news__slider-inner .slick-disabled {
    color: #e6e6e6;
    border-color: #e6e6e6;
}

.footer__content {
    background-color: #595959;
    padding: 22px 0 30px;
    color: #fff;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
}

.footer__info {
    width: 345px;
    /*    position: relative;*/
}

.footer__title {
    font-size: 16px;
    line-height: 36px;
    letter-spacing: 0.5px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.footer__text {
    color: #d3d2d2;
    font-family: 'Roboto', sans-serif;
}

.footer__info .header__btn {
    float: left;
    margin: 28px 0 10px;
    float: none;
}

.footer__list li {
    margin-top: 10px;
}

.footer__list a {
    padding-left: 40px;
    font-size: 16px;
    line-height: 15px;
    letter-spacing: 0.25px;
    color: #fff;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    position: relative;
}

.footer__list a::before {
    position: absolute;
    left: 0;
    color: #ffc222;
    position: absolute;
    font-family: "icomoon";
    padding: 0;
    margin: 0;
}

.footer__phone::before {
    content: "\f095";
}

.footer__email::before {
    content: "\f003";
}

.footer__map::before {
    content: "\f041";
}

.footer__map-content {
    padding: 10px 0;
}

.footer__copy {
    background-color: #303030;
    color: #fff;
    font-size: 12px;
    line-height: 24px;
    padding: 8px 0;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.modal__form form {
    display: flex;
    flex-direction: column;
}

.modal__form form input {
    width: 270px;
    margin-bottom: 8px;
    outline: none;
    height: 40px;
    border: 1px solid #e6e6e6;
    padding: 0 10px;
}

.modal__form form input[type=submit] {
    margin-top: 25px;
    background-color: #ffc222;
    border: none;
    /*        color: #fff;*/
}

.header__btn-menu {
    display: none;
    font-size: 28px;
}

















/* fancybox modal */
#animatedModal {
    display: none;
}

.animated-modal {
    max-width: 700px;
    border-radius: 4px;
    overflow: hidden;
    transform: translateY(-50px);
    transition: all 0.3s;
}

.animated-modal h2,
.animated-modal p {
    transform: translateY(-50px);
    opacity: 0;

    transition-property: transform, opacity;
    transition-duration: 0.2s;
}

/* Final state */
.fancybox-slide--current .animated-modal,
.fancybox-slide--current .animated-modal h2,
.fancybox-slide--current .animated-modal p {
    transform: translateY(0);
    opacity: 1;
}

/* Reveal content with different delays */
.fancybox-slide--current .animated-modal h2 {
    transition-delay: 0.1s;
}

.fancybox-slide--current .animated-modal p {
    transition-delay: 0.2s;
}
