/* MAIN =======================================================================================================*/

.main {
    min-height: 1px;
}

.main .txt-header {
    color: white;
    font-size: 100px;
    text-align: center;
    font-weight: 500;
    width: 100%;
}

.main .txt-desc {
    color: white;
    font-size: 16px;
    text-align: center;
    font-weight: 300;
    width: 100%;
    padding: 0 200px;
}

.main .ads-txt-desc {
    color: white;
    font-size: 16px;
    text-align: center;
    font-weight: 300;
    width: 80%;
    padding: 50px 0 0;
    margin: auto;
}

.main .ads-bn-hero {
    text-align: center;
    margin: 20px 0 0;
}

.main .bn-hero {
    text-align: center;
    margin: 60px 0 40px;
}

.main .background-hero {
    background-image: url('/img/bg/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: top;
    background-color: #0E183A;
}

/* x3-cards-container */

.main .x3-services-container {
    position: relative;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    max-width: 80%;
    margin: -60px 0;
    height: auto;
    background: white;
    border-radius: 4px;
    box-shadow: 0 0 70px rgba(0, 0, 0, 0.09);
    -webkit-transition: 0.3s;
    transition: 0.3s;
    z-index: 3;
}

.main .x3-service-card-tiny-bottom-line {
    width: 100%;
    height: 1px;
    padding: 0 8vw;
    background: #222222;
    background-clip: content-box;
    opacity: 0.3;
}

.main .tiny-blue-line {
    width: 2px;
    height: 80px;
    background: #0172E8;
    margin: -40px auto;
    z-index: 3;
}

/* x3-card */

.main .x3-service-card-container {
    width: 100%;
    height: auto;
    padding: 8vw;
}

.main .x3-service-card-container .card {
    width: 100%;
    height: auto;
    display: -webkit-flex;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
}

.main .flex-reverse-row {
    flex-direction: row-reverse;
}

.main .flex-end {
    justify-content: flex-end;
}

.main .card .card-logo {
    width: 50%;
    display: -webkit-flex;
    display: flex;
    margin: 30px 0;
}

.main .card .card-logo img {
    width: 70%;
    height: 100%;
}

.main .card .card-txt-content {
    width: 50%;
    height: auto;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.main .card .card-txt-content .card-header {
    font-size: 40px;
    color: #0E183A;
    font-weight: 400;
}

.main .card .card-txt-content .card-descr {
    font-size: 15px;
    color: #222222;
    font-weight: 400;
    margin: 25px 0;
}

.main .card-link {
    font-size: 15px;
    color: #222222;
    font-weight: 400;
    margin: 30px 0;
    display: -webkit-flex;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.main .card-link-area:hover .card-link .hline {
    width: 60px;
}

.main .card-link .hline {
    width: 40px;
    height: 2px;
    background: #0172E8;
    margin-left: 15px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

/* Last News    ======================================================================== */

.main .last-news-container {
    width: 100%;
    display: -webkit-flex;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    background-color: #F6F6F6;
    padding: 0 20px 80px;
}

.last-news-container .news-header {
    color: #0E183A;
    font-size: 32px;
    text-align: center;
    font-weight: 500;
    width: 100%;
    margin: 100px 0 60px;
}

.bn-more-news {
    text-align: center;
    margin: auto;
}

.last-news-container .news-card-container {
    width: 60%;
    min-height: 1px;
    height: auto;
    margin: auto;
    display: -webkit-flex;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}

.last-news-container .news-card {
    position: relative;
    color: #222222;
    width: 50%;
    min-height: 1px;
    height: auto;
    padding: 20px;
    display: -webkit-flex;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    font-weight: 400;
}

.last-news-container .news-card img {
    display: block;
    width: 100%;
    min-height: 1px;
    height: auto;
    border-radius: 4px;
}

.last-news-container .news-card .img-date-label {
    color: black;
    font-size: 13px;
    margin-top: -29px;
    width: 90px;
    height: 30px;
    background-color: #B1ECFF;
    border-radius: 0 4px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.last-news-container .news-card .news-card-header {
    font-size: 16px;
    text-transform: uppercase;
    margin: 20px 0;
}

.last-news-container .news-card .news-card-descr {
    font-size: 16px;
}

/* ====================================================================================== */

@media all and (max-width: 1400px) {
    .last-news-container .news-card-container {
        width: 80%;
    }
}

@media all and (max-width: 1000px) {
    .main .txt-header {
        font-size: 80px;
    }
    .main .txt-desc {
        padding: 0 100px;
    }
}

@media all and (max-width: 900px) {
    .last-news-container .news-card {
        width: 100%;
        padding: 0 0 80px;
    }
    .main .card {
        flex-direction: column;
        align-content: center;
    }
    .main .card .card-logo {
        width: 100%;
    }
    .main .card .card-txt-content {
        width: 100%;
    }
    .main .flex-reverse-row {
        flex-direction: column;
    }
    .main .flex-end {
        justify-content: flex-start !important;
    }
    .last-news-container .news-header {
        font-size: 24px;
    }
}

@media all and (max-width: 800px) {
    .main .txt-header {
        font-size: 60px;
    }
    .main .txt-desc {
        padding: 0 60px;
    }
}

@media all and (max-width: 580px) {
    .main .background-hero {
        background-image: none;
    }
    .main .bn-hero {
        margin: 40px 0 20px;
    }
    .main .txt-header {
        font-size: 50px;
    }
    .main .txt-desc {
        padding: 0 10px;
    }

}

@media all and (max-width: 400px) {
    .main .hero-container {
        max-width: 100%;
    }
    .main .x3-services-container {
        max-width: 100%;
        border-radius: 0px;
    }
    .last-news-container .news-card-container {
        width: 100%;
    }
}