/* #MAIN
====================================== */
html {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    height: 100%;
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
    -webkit-text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}

*,
*::before,
*::after {
    -webkit-box-sizing: inherit !important;
    -moz-box-sizing: inherit !important;
    box-sizing: inherit !important;
}

body {
    font: 400 14px/1.5 "Roboto", sans-serif;
    /* #1em */
    color: #121212;
}

::selection {
    color: #fff;
    background: #2D9CDB;
}

::-moz-selection {
    color: #fff;
    background: #2D9CDB;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1;
}

p {
    margin: 0 0 20px;
}

ul {
    list-style-position: inside;
    padding-left: 0;
}

.owfx{overflow-x:hidden;}
.owfx-visible{overflow-x: visible;}
.owfy{overflow-y:hidden;}
.owfy-visible{overflow-y: visible;}

.text-nowrap{white-space: nowrap!important;}

.colf-0{width: 0;}

@media screen and (min-width: 576px){
    .owfx-sm{overflow-x:hidden;}
    .owfx-visible-sm{overflow-x: visible;}
    .owfy-sm{overflow-y:hidden;}
    .owfy-visible-sm{overflow-y: visible;}
    .text-sm-normal{white-space: normal!important;}
    .text-sm-nowrap{white-space: nowrap!important;}

    .colf-sm-0{width: 0;}
}

@media screen and (min-width: 768px){
    .owfx-md{overflow-x:hidden;}
    .owfx-visible-md{overflow-x: visible;}
    .owfy-md{overflow-y:hidden;}
    .owfy-visible-md{overflow-y: visible;}
    .text-md-normal{white-space: normal!important;}
    .text-md-nowrap{white-space: nowrap!important;}

    .colf-md-0{width: 0;}
}

@media screen and (min-width: 992px){
    .owfx-lg{overflow-x:hidden;}
    .owfx-visible-lg{overflow-x: visible;}
    .owfy-lg{overflow-y:hidden;}
    .owfy-visible-lg{overflow-y: visible;}
    .text-lg-normal{white-space: normal!important;}
    .text-lg-nowrap{white-space: nowrap!important;}

    .colf-lg-0{width: 0;}
}

@media screen and (min-width: 1200px){
    .owfx-xl{overflow-x:hidden;}
    .owfx-visible-xl{overflow-x: visible;}
    .owfy-xl{overflow-y:hidden;}
    .owfy-visible-xl{overflow-y: visible;}
    .text-xl-normal{white-space: normal!important;}
    .text-xl-nowrap{white-space: nowrap!important;}

    .colf-xl-0{width: 0;}
}

.flex {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
}

@media only screen and (max-width: 1280px) {
    .flex {
        flex-flow: column nowrap;
    }
}

.clear::after {
    display: block;
    content: "";
    clear: both;
}

/* #LINKS
====================================== */

a {
    color: #2D9CDB;
    text-decoration: none;
    transition: all ease-out .25s;
}

a:hover {
    color: #dc3545;
}

.link {
    display: inline-block;
    position: relative;
    background-color: transparent;
    color: #121212;
    transition: all ease-out .4s;
}

.link:hover,
.link:active {
    outline: 0;
    color: #2D9CDB;
}

.link::after {
    content: "";
    display: block;
    width: 0;
    height: 1px;
    background: #2D9CDB;
    transition: width .8s;
}

.link:hover::after {
    width: 100%;
}

.link::before {
    position: absolute;
    bottom: 0;
    right: 0;
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #2D9CDB;
    transition: width .8s;
}

.link:hover::before {
    width: 0;
}

/* #HEADER
====================================== */
body>header {
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 20px;
    color: #fff;
}

body.page-simple>header {
    position: relative;
    background: linear-gradient(to bottom, rgba(34, 34, 34, .9), rgba(34, 34, 34, .9));
    background-size: cover;
    margin-bottom: 0;
}

.header__user {
    color: #fff;
    padding-left: 23px;
    background-size: 18px 18px;
    background-position: center left;
    background-repeat: no-repeat;
}

.header__user:first-child {
    margin-left: 0;
}

.header__user_location {
    background-image: url(../img/map-pin.svg);
    background-size: 16px 18px;
    padding-left: 21px;
}

.header__user_cabinet {
    background-image: url(../img/lock.svg);
}

.header__user span {
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.header__user:hover span {
    border-color: rgba(255, 255, 255, 0)
}

@media only screen and (max-width: 575px) {

    .header__user:first-child,
    .header__user {
        margin: 0 10px 20px;
    }
}


/* #SOCIALS
====================================== */
.socials {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}

.social .item {
    opacity: .6;
    padding: 0 9px;
}

.social .item:hover {
    opacity: 1;
}

.social .item:last-child {
    padding-right: 0;
}

/* font-family: 'Montserrat', sans-serif;
font-family: 'Roboto', sans-serif; */

a.logo {
    text-decoration: none;
}

/* #MENU
====================================== */
.menu {
    transition: background ease-out .4s;
}

.menu .content-list .nav-item {
    position: relative;
}

.menu .dropdown-menu {
    position: absolute;
    visibility: hidden;
    top: 1.5em;
    left: 0;
    min-width: 250px;
    opacity: 0;
    background-color: #fff;
    transform: translateY(-10px);
    transition: all ease .3s;
    white-space: nowrap;
    border-radius: 4px;
}

.menu .content-list .nav-item.parent:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(10px);
}

.menu .dropdown-menu> .content-list .nav-item {
    margin: 0;
    border-bottom: 1px solid #cfcfcf;
    padding: 0;
}

.menu .dropdown-menu> .content-list .nav-item:last-child {
    border-bottom: none;
}

.menu .dropdown-menu .nav-link {
    display: block;
    font-weight: 400;
    border: none;
    text-transform: initial;
    color: rgba(18, 18, 18, .8);
    border-radius: 4px;
}

.menu .dropdown-menu .nav-link:hover {
    color: #112834;
    background-color: #f5f5f5;
}

.menu .content-list .nav-item div.nav-link {
    cursor: default;
}

.menu .content-list .nav-item>.nav-link {
    font-weight: 400;
    font-size: 1.2em;
    text-transform: uppercase;
    transition: all ease-out .25s;
    color: #fff;
}

.menu .content-list .nav-item>.nav-link:hover {
    color: rgba(255, 255, 255, .8);
}

.menu .content-list .nav-item.active>.nav-link {
    color: #fede57 !important;
    border: none;
}

@media screen and (max-width: 575px){
    header .menu {
        display: block;
        margin: 0;
        background-color: #fff;
        position: fixed;
        z-index: 30;
        top: 0;
        right: -100%;
        width: 100%;
        bottom: 0;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
        overflow: auto;
        padding: 10px 20px;
    }

    header .menu.active {
        right: 0;
    }

    .menu .menu-btn .line{
        background-color: #000;
    }

    .menu .content-list .nav-item>.nav-link {
        font-size: 1.2em;
    }

    .menu .content-list .nav-item>.nav-link {
        color: #000;
    }

    .menu .content-list .nav-item>.nav-link:hover {
        color: rgba(255, 255, 255, .8);
    }
}

/* menu-btn
====================================== */
.menu-btn {
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}

.menu-btn .line {
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
}

.menu-btn:hover .line {
    background-color: #fede57;
}

.menu-btn .line:nth-child(2) {
    background-color: #56ccf2;
}

.menu-btn.active {
    -webkit-transition: -webkit-transform .3s ease-out .6s;
    -moz-transition: transform .3s ease-out .6s;
    -o-transition: transform .3s ease-out .6s;
    transition: transform .3s ease-out .6s;
    transform: rotate(45deg);
}

.menu-btn.active .line:nth-child(2) {
    width: 0px;
}

.menu-btn.active .line:nth-child(1),
.menu-btn.active .line:nth-child(3) {
    -webkit-transition: -webkit-transform .3s ease-out .3s;
    -moz-transition: transform .3s ease-out .3s;
    -o-transition: transform .3s ease-out .3s;
    transition: transform .3s ease-out .3s;
}

.menu-btn.active .line:nth-child(1) {
    transform: translateY(8px);
}

.menu-btn.active .line:nth-child(3) {
    transform: translateY(-12px) rotate(90deg);
}


/* #BUTTONS
====================================== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #fff;
    }
}

.btn:not(.btn-sm){
    padding: .532rem 1rem;
    font-weight: 500;
    font-size: unset;
}

.button {
    position: relative;
    display: inline-block;
    height: 40px;
    cursor: pointer;
    background: #2d9cdb;
    border: none;
    color: #fff;
    font-weight: 500;
    padding: 10px 20px 12px;
    transition: all ease-out .25s;
    text-align: center;
    text-decoration: none !important;
    border-radius: 20px;
}

@media only screen and (max-width: 575px) {
    .button {
        margin: 0 auto;
    }
}

.button_second {
    color: #444;
    background: #f2f2f2;
}

.button + .button_second {
    margin-left: 20px;
}

.button_with-icon {
    padding-left: 44px;
    background-position: 20px center;
    background-size: 14px 14px;
    background-repeat: no-repeat;
}

.button_trailer {
    background-image: url(../img/play.svg);
}

.button_more {
    background-image: url(../img/arrow-right_small.svg);
}

.btn-animate:hover,
.btn-animate:focus {
    outline: none;
    animation: pulse 1s;
    box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
}

.button_second:hover {
    color: #000;
}

.arrow-left,
.arrow-right {
    cursor: pointer;
    opacity: .5;
    display: block;
    width: 30px;
    height: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all .25s ease-out;
}

.arrow-left {
    margin-right: 20px;
    background-image: url(../img/arrow-left.svg);
}

.arrow-left_white {
    background-image: url(../img/arrow-left_white.svg);
}

.arrow-right {
    background-image: url(../img/arrow-right.svg);
}

.arrow-right_white {
    background-image: url(../img/arrow-right_white.svg);
}

.arrow-left:hover,
.arrow-right:hover {
    opacity: 1;
}


/* #FOOTER
====================================== */
footer {
    padding: 40px 0;
    color: #bdbdbd;
    background: linear-gradient(to bottom, rgba(34, 34, 34, .9), rgba(34, 34, 34, .9));
    background-size: cover;
}

@media only screen and (max-width: 575px) {
    footer {
        padding: 20px 0;
    }
}

footer * {
    transition: all .25s ease-out;
}

footer .module.menu {
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

footer .module.menu .content-list .nav-item>.nav-link {color: #bdbdbd;}

footer .agency {
    color: inherit;
}

footer .agency:hover {
    color: #fff;
}


/* #PAGE
====================================== */
.page-simple {
    display: flex;
    flex-flow: column nowrap;
    height: 100%;
}

.page-simple .page{
    padding-top: 20px;
}

.page-simple .page p>img {
    max-width: 100%;
}

.page-cover {
    margin-top: 0 !important;
}

.page-cover>.container {
    margin-top: -150px;
}

.page-cover>.media {
    position: relative;
    height: 350px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

.page-cover>.media:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(at center, rgba(255, 255, 255, 0), rgba(0, 0, 0, .6));
    content: "";
}

.page__head {
    position: relative;
    margin-bottom: 20px;
}

.page__title {
    font-size: 36px;
    font-weight: 500;
    font-family: 'Montserrat';
    color: #000;
    line-height: 1;
}

.page__image {
    display: block;
    float: left;
    max-width: 50%;
    margin: 20px 40px 20px 0;
}

.page__image_right {
    display: block;
    float: right;
    margin: 20px 0 20px 40px;
}

.page__image:first-child {
    margin-top: 0 !important;
}

.page__image:last-child {
    margin-bottom: 0 !important;
}


/* #BLOCK
====================================== */
.block {
    margin: 0 auto 50px;
}

@media only screen and (max-width: 575px) {
    .page,
    .block {
        margin: 0 auto 25px;
    }
}

.page>.head,
.block>.head {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page>.head .title,
.block>.head .title {
    font-size: 36px;
    font-weight: 500;
    font-family: 'Montserrat';
    color: #000;
    line-height: 1;
    margin: 0;
}

.block .head>.navigation {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-end;
}

@media only screen and (max-width: 575px) {
    .block .head>.navigation {
        width: 100%;
        justify-content: space-between;
    }
}

@media only screen and (max-width: 767px) {
    .block>.head .title {
        text-align: center;
        margin: 0 auto 20px;
    }
}

/* #NEWS
====================================== */
@media only screen and (max-width: 767px) {
    .module.news .item {
        margin: 0 auto 20px;
    }
}

.module.news .item .media {
    display: block;
    max-width: 100%;
    margin-bottom: 10px;
    transition: all ease-out .25s;
}

.module.news .item .media img {
    border-radius: 4px;
}

.module.news .item .media:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    transition: inherit;
    opacity: 0;
    box-shadow: 0 1rem 2rem -1rem rgba(0,0,0,.75);
}

.module.news .item:hover .media {
    transform: translateY(-.25rem);
}

.module.news .item:hover .media:before {
    opacity: 1;
}

.module.news .item .title {
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

/* #news
====================================== */

.page.category .news {margin-bottom: 40px;}

.page.category .news .media {
    position: relative;
    align-self: flex-start;
    transition: all ease-out .25s;
}

.page.category .news .media:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    transition: inherit;
    opacity: 0;
    box-shadow: 0 1rem 2rem -1rem rgba(0,0,0,.75);
}

.page.category .news .media:hover {
    transform: translateY(-.25rem);
}

.page.category .news .media:hover:before {
    opacity: 1;
}

.page.category .news .media img {
    display: block;
    width: 350px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
    object-fit: cover;
}

.page.category .news .content {
    display: flex;
    flex-flow: column nowrap;
    justify-news: start;
    padding: 0 20px;
    max-height: 300px;
    position: relative;
    overflow: hidden;
}

.page.category .news .content:after {
    position: absolute;
    left: 0;
    bottom:0;
    width: 100%;
    height: 30px;
    news: "";
    background: linear-gradient(to top, #fff, rgba(255,255,255,.25));
    z-index: 999;
    padding-right: 40px;
}

@media only screen and (max-width: 767px) {
    .page.category .news .media {
        align-self: center;
        margin-bottom: 20px;
    }
}

.page.category .news .info .title {
    font-weight: 700;
    font-size: 18px;
    color: #000;
    transition: all ease-out .25s;
}

.page.category .news .info .title:hover {
    color: rgba(0, 0, 0, .5);
}

/* #ENTRY
====================================== */
.entry {
    width: 100%;
    margin-bottom: 50px;
    align-items: flex-start;
}

.entry:hover {
    text-decoration: none;
}

.entry__media {
    display: block;
    width: 60%;
}

.entry__content {
    width: 40%;
    align-self: stretch;
    padding: 0 50px;
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    justify-content: center;
}

.entry__category {
    text-transform: uppercase;
    color: #2D9CDB;
    margin-bottom: 10px;
    font-size: .875em;
}

.entry__title {
    position: relative;
    font-size: 1.5em;
    line-height: 1.2;
    font-weight: 700;
    color: #2d2c2b;
}

.entry__title::after {
    display: block;
    content: "";
    background-color: #2D9CDB;
    width: 56px;
    height: 2px;
    margin: 15px 0 20px;
}

.entry__text {
    color: #2d2c2b;
    /* line-height: 1.25; */
    margin-bottom: 30px;
}

@media only screen and (max-width: 1280px) {
    .entry {
        align-items: center;
    }

    .entry__media {
        width: 100%;
    }

    .entry__content {
        width: 100%;
        align-self: center;
        padding: 0;
        margin-top: 20px;
    }
}


/* #BLOCK_POPUP
====================================== */
.popup {
    position: relative;
    background: #fff;
    padding: 20px;
    width: auto;
    max-width: 550px;
    margin: 20px auto;
    line-height: 1.45;
    border-radius: 8px;
}

.popup__title {
    font-weight: 700;
    text-align: center;
    margin: 0 20px 30px;
    font-size: 1.875em;
    line-height: 1.2;
    color: #2D9CDB;
}

.popup__description {
    font-size: .875em;
    text-align: center;
}

.popup__description * {
    transition: all .25s ease-out;
}