:root {
    --nav-height: 56px;
    --footer-height: 51px;
    --content-height: calc(100vh - var(--footer-height));
    --bg-color: rgba(0, 0, 0, 0.5);

    --button-green: rgba(190, 232, 47, .8);
    --button-green-hover: rgba(190, 232, 47, 1);
    --button-blue: #007aff;
    --button-blue-border: #0a498d;
    --border-box-color: rgba(4, 145, 173, .5);
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background: #0a498d;
}

::-webkit-scrollbar-track {
    background: #fcfcfc;
}

body {
    scrollbar-face-color: #0a498d;
    scrollbar-track-color: #fcfcfc;
    overflow-x: hidden;
}

html {
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    font-family: 'Open Sans', serif;
    font-weight: 400;
    font-size: 18px;
    color: rgba(255, 255, 255, 1);
}

h1, h2,
h3,
h4,
h5 {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    text-transform: uppercase;
    color: #e1e2eb;
    color: rgba(255, 255, 255, .95);
}

.green-header {
    color: #BEE82F;
}

h1 {
    font-size: 70px;
    font-weight: 800;
}

h3 {
    font-size: 50px;
    font-weight: bold;
}

h5 {
    text-align: left;
}

h4 {
    font-weight: bold;
}

a {
    text-decoration: none !important;
    color: rgba(255, 255, 255, .7);
}

a {
    color: #8ccfe6;
}

a:hover {
    color: rgba(255, 255, 255, 1);
}

main {
    margin-top: calc(0px - var(--nav-height));
    margin-bottom: calc(0px - var(--footer-height));
}

/******************************************************************************/
/******************************** plugins *************************************/
#toast-container > div {
    -webkit-box-shadow: 0 0 0 black !important;
    box-shadow: 0 0 0 black !important;
    font-size: 15px;
}

/******************************************************************************/
/********************************** layout ************************************/
nav {
    position: relative;
    z-index: 10;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 15px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .5);
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li a {
    padding: 8px 20px;
    font-weight: 400;
    text-transform: uppercase;
    transition: .25s all;
}

nav a.active {
    color: #fff;
}

nav .nav-logo {
    display: flex;
    max-width: 150px;
}

nav .nav-logo img {
    height: 40px;
}

nav .nav-auth {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .nav-lang {
    flex-direction: column;
    max-height: var(--nav-height);
    width: 150px;
}

nav .nav-lang:hover {
    padding-top: 0;
}

nav .nav-lang img {
    height: 25px;
}

nav .nav-lang li.disabled {
    -webkit-filter: grayscale(100%) brightness(50%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%) brightness(50%);
    cursor: not-allowed;
}

nav .nav-lang li.disabled a {
    pointer-events: none;
}

nav .nav-lang li {
    display: none;
    padding: 15px;
    margin-right: -16px;
}

nav .nav-lang:hover li:not(:first-of-type) {
    background-color: var(--bg-color);
}

nav .nav-lang:hover li,
nav .nav-lang li.active {
    display: flex;
}

nav .nav-lang li a {
    text-transform: none;
    padding: 0;
}

ul#aside-navigation {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    z-index: 1000;
}

ul#aside-navigation li {
    font-size: 20px;
    cursor: pointer;
    background-color: #85a6b7;
    border-radius: 50%;
    list-style: none;
    width: 10px;
    height: 10px;
    margin: 30px;
    position: relative;
}

ul#aside-navigation li.active::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--button-blue-border);
    border-radius: 50%;
    list-style: none;
    width: 30px;
    height: 30px;
    z-index: -1;
    transform: translate(-50%, -50%);
}

/******************************************************************************/
/******************************** auth page ***********************************/
/******************************************************************************/
:root {
    --auth-borders: rgba(255, 255, 255, 0.25);
}

@media screen and (max-width: 768px) {
    .partners {
        display: none;
    }
}

@keyframes authBox {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    100% {
        transform: scaleY(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.auth-box--login,
.auth-box--register {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 30px;
    animation-name: fadeIn;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.auth-box--login {
    border-right: 1px solid var(--auth-borders);
}

.auth-box--register .register-header {
    height: 60px;
}

.auth-box--register h1 {
    font-size: 28px;
    transform: scaleY(1);
    color: var(--button-green-hover);
    text-shadow: none;
}

.divider--with-text {
    width: 100%;
    height: 10px;
    margin: 30px 0 40px 0;
    position: relative;
}

.divider--with-text::before,
.divider--with-text::after {
    content: '';
    position: absolute;
    width: 40%;
    top: 10px;
    height: 0;
    border-bottom: 1px solid var(--auth-borders);
}

.divider--with-text::before {
    left: 0;
}

.divider--with-text::after {
    right: 0;
}

/***** inputs *****/
.form-group .form-control {
    border: 1px solid var(--auth-borders);
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 16px;
}

.custom-control.custom-checkbox {
    height: 40px;
}

/******************************************************************************/
/******************************************************************************/
section#blog,
section#static {
    background-image: url('../images/bg-section5-min.jpg');
    display: block;
    padding: 120px 0;
    background-attachment: fixed;
}

section#blog .container,
section#static .container {
    max-width: 1024px;
}

section#blog h5,
section#static h5 {
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 800;
    font-family: 'Open Sans', serif;
    text-align: left;
    color: rgba(255, 255, 255, 1);
}

section#blog ul {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 50px;
}

section#blog ul li {
    background-image: none;
    margin: 0 10px;
    border: 1px solid var(--border-box-color);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    overflow: hidden;
    padding: 0;
}

section#blog ul li a {
    width: 100%;
    height: 100%;
    padding: 13px;
}

section#blog ul li.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.news__box {
    height: 150px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: 100%;
    border: 1px solid var(--border-box-color);
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color .3s;
}


.news__box:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.news__image {
    height: 100%;
    background-size: cover;
    background-position: center;
}

.news__context {
    display: flex;
    align-items: center;
    padding: 0 30px;
}



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

    .news__image {
        background-size: contain;
        background-repeat: no-repeat;
        width: 100%;
        height: 0;
        padding-top: 52.33%;
    }

    .news__context {
        padding: 15px;
    }

}

.news__context div h3,
.blog-preview--header h3 {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Open Sans', serif;
    text-align: left;
    color: rgba(255, 255, 255, 1);
}

.news__context div h3:last-child,
.blog-preview--header h3:last-child {
    opacity: .5;
}

.blog-preview--box {
    border: 1px solid var(--border-box-color);
    background: rgba(0, 0, 0, 0.5);
}

.blog-preview--header {
    padding: 30px;
}

.blog-preview--image img {
    width: 100%;
}

.blog-preview--context {
    padding: 30px;
    font-size: 13px;
}

/* maintenance */

.maintenance-bg {
    background-image: url('../images/bg-maintenance.jpg');
    background-size: cover;
    background-position: center;
}

.maintenance__box {
    width: 100%;
    border: 1px solid var(--border-box-color);
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color .3s;
}

.maintenance__logo {
    max-width: 300px !important;
}

/******************************************************************************/
/******************************************************************************/
/******************************************************************************/

footer {
    position: relative;
    height: var(--footer-height);
    color: rgb(255, 255, 255);
    font-size: 13px;
}

footer .left,
footer .right {
    padding: 16px;
}

footer .left {
    float: left;
}

footer .right {
    float: right;
    text-transform: uppercase;
}

footer .right a {
    margin-left: 15px !important;
    color: white;
    transition: color .3s;
    font-weight: 700;
}

footer .right a:hover {
    color: var(--button-blue);
}

/******************************************************************************/
/****************************** main content **********************************/
.container {
    max-width: 80%;
}

main section {
    background-color: var(--bg-color);
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    padding: 30px 0;
}

main section img {
    max-width: 100%;
    width: 80%;
    display: block;
    margin: 0 auto;
}

main section:not(#static) ul {
    list-style-image: url('../images/icon-ball.png');
    padding-left: 0;
}

main section:not(#static) ul li {
    margin-bottom: 10px;
    display: block;
    background-image: url('../images/icon-ball.png');
    background-repeat: no-repeat;
    padding-left: 40px;
    overflow: overlay;
}

main section#main {
    background-image: url('../images/bg-slider-min.jpg');
}

main section#main .container {
    margin-top: var(--nav-height);
}

main section#main div.row div#video-container {
    height: 500px;
}

main section#main div.row div#video-container img {
    cursor: pointer;
    width: auto;
}

div#modal-video {
    z-index: 1000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
}

div#modal-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 820px;
    height: 480px;
    padding: 20px;
}

main section#main div.buttons {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(2, 18, 31, 0.7), rgba(0, 0, 0, 0));
    margin-bottom: 30px;
    padding: 20px;
    transition: top 2s ease;
    text-align: center;
}

main section#main div.buttons.sticky {
    position: fixed;
    top: 0;
    left: 50%;
    transition: top 2s ease;
    width: 80%;
    transform: translate(-50%, 0);
    margin: 0;
    z-index: 200;
}

main section#main div.buttons button,
.openLoginModal {
    width: 275px;
    text-transform: uppercase;
    background-color: var(--button-green);
    margin: 0 10px;
}

.openLoginModal {
    width: unset;
}

main section#main div.partners {
    display: inline-block;
    text-align: center;
}

main section#main div.partners a {
    display: inline-block;
    text-align: center;
    margin: 0;
    width: 12%;
}

main section#main div.buttons button.btn-facebook {
    color: #ffffff;
    background: #4267B2;
    border: 1px solid #4267B2;
    font-weight: 500;
}

main section#section1 video,
main section#section2 video {
    max-width: 100%;
}

main section#section1 {
    background-image: url('../images/bg-section1-min.jpg');
}

main section#section2 {
    background-image: url('../images/bg-section2-min.jpg');
}

main section#section3 {
    background-image: url('../images/bg-section3-min.jpg');
}

main section#section4 {
    background-image: url('../images/bg-section4-min.jpg');
}

main section#section5 {
    background-image: url('../images/bg-section5-min.jpg');
}

main section#section5 h2 {
    font-size: 50px;
    font-weight: bold;
}

main section#section5 h3 {
    font-size: 24px;
    font-weight: bold;
}

/************************************************/
/***************** hamburger ********************/
.hamburger {
    height: 64px;
    width: 64px;
    justify-content: center;
    align-items: center;
    display: none;
}

.hamburger #navigation__button {
    position: absolute;
    right: 15px;
    top: 50%;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    padding: 5px;
    transform: translate(0, -50%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.hamburger #navigation__button:hover,
.hamburger #navigation__button:focus {
    outline-color: #98bd2e;
    cursor: pointer;
}

.hamburger #navigation__button .navigation__button__bar {
    display: block;
    width: 100%;
    margin-bottom: 4px;
    height: 2px;
    background: white;
    border-radius: 40px;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    transform-origin: 0 0;
}

.hamburger #navigation__button .navigation__button__bar:last-child {
    margin-bottom: 0;
}

.hamburger #navigation__button.navigation__button--is-active .navigation__button__bar:nth-child(1) {
    transform: translate(4px, 0) rotate(45deg);
}

.hamburger #navigation__button.navigation__button--is-active .navigation__button__bar:nth-child(2) {
    transform: translate(10px, 0);
    opacity: 0;
}

.hamburger #navigation__button.navigation__button--is-active .navigation__button__bar:nth-child(3) {
    transform: translate(2px, 2px) rotate(-45deg);
}

.hamburger #navigation__button.navigation__button--is-active .navigation__button__bar {
    transform: translate3d(0, 80px, 0) scale(1, 1);
    transition: transform 0.8s ease, opacity 0.3s;
}

.hamburger #navigation__button.navigation__button--is-active .navigation__button__bar:hover:after {
    opacity: 1;
    transform: translate3d(0, 16px, 0);
}

.hamburger #mobile-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100vw;
    background: rgba(11, 15, 24, 0.91);
    text-align: center;
    padding: 15px 0;
}

.hamburger #mobile-menu li {
    margin: 6px 0;
}

.hamburger #mobile-menu li.lang {
    margin-bottom: 10px;
}

.hamburger #mobile-menu li.lang a {
    padding: 5px;
}

.hamburger #mobile-menu li.lang a.disabled {
    -webkit-filter: grayscale(100%) brightness(50%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%) brightness(50%);
    cursor: not-allowed;
    pointer-events: none;
}

.hamburger #mobile-menu li.lang img {
    width: 30px;
}


/******************************************************************************/
/************************** responsive - desktop ******************************/
/******************************************************************************/
@media screen and (max-width: 1600px) {
    body {
        font-size: 17px;
    }

    h1 {
        font-size: 60px;
    }

    h3,
    main section#section5 h2 {
        font-size: 45px;
    }
}

/******************************************************************************/
/************************** responsive - tablet ******************************/
/******************************************************************************/
@media (max-width: 992px) {
    body {
        font-size: 16px;
    }

    h3,
    main section#section5 h2 {
        font-size: 40px;
    }

    .container {
        max-width: 80%;
    }

    main section#main div.row div#video-container {
        min-height: 340px;
        height: unset;
    }

    main section#main div.buttons {
        padding: 15px 0;
    }

    main section#main div.buttons button,
    main section#main div.partners a {
        margin: 0 4px;
    }

    div#modal-video iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 644px;
        height: 360px;
        padding: 20px;
    }
}

/******************************************************************************/
/************************* responsive mobile version **************************/
/******************************************************************************/
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav .nav-auth {
        display: none;
    }

    body {
        font-size: 13px;
    }

    h1 {
        font-size: 25px;
    }

    h3,
    main section#section5 h2 {
        font-size: 20px;
    }

    h4,
    main section#section5 h3 {
        font-size: 16px;
    }

    .container {
        max-width: 100%;
    }

    ul#aside-navigation {
        display: none;
    }

    ul.nav-lang {
        width: auto;
    }

    main section#main div.row:first-of-type {
        margin-top: 80px;
    }

    main section#main div.row div#video-container {
        min-height: 250px;
        height: unset;
        padding: 0;
    }

    main section#main div.buttons button {
        margin: 4px 0;
    }

    main section#main div.buttons.sticky {
        width: 100%;
        padding: 7px 0;
    }

    main section#main div.buttons.sticky button {
        width: unset;
        padding: 4px 8px;
        font-size: 18px;
    }

    main section#main div.buttons.sticky button span {
        display: none;
    }

    main section#main div.partners {
        display: none;
    }

    main section#section3 img,
    main section#section4 img {
        width: 100%;
        margin: 50px 0;
    }

    .auth-box--login,
    .auth-box--register {
        height: 100%;
        padding: 10px 30px;
        animation-name: fadeIn;
        animation-duration: 1s;
        animation-fill-mode: forwards;
        opacity: 0;
    }

    #modal-login .auth-box--login,
    #modal-login .auth-box--register {
        padding: 0;
    }

    #modal-login .register-header {
        height: auto;
    }

    .modal.fade .modal-dialog {
        transform: translate(0, 0);
    }

    footer .left,
    footer .right {
        padding: 8px;
        width: 100%;
        text-align: center;
        background: rgb(3, 20, 38);
    }

    .news__box {
        height: unset;
        grid-template-columns: 1fr;
        grid-template-rows: unset;
    }

    div#modal-video iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vw;
        height: calc(100vw / 1.67);
        padding: 20px;
    }

    .owl-carousel img {
        transform: scale(1.4);
        margin: 40px 6px;
    }
}

/******************************************************************************/

#modal-login.modal.fade .modal-dialog {
    transform: none !important;
}

#modal-login .modal-content {
    background: transparent;
    border: none;
}

#modal-login .modal-body {
    background: #141414;
}

#modal-login .modal-header {
    justify-content: space-around;
    background: transparent;
    padding: 0;
    border: none;
}

#modal-login .modal-header-tab {
    justify-content: space-around;
    background: transparent;
    cursor: pointer;
    flex: 1;
    padding: 1rem;
}

#modal-login .modal-header-tab.active {
    background: rgba(125, 125, 125, 0.3);
}

#modal-login button.close {
    position: absolute;
    top: 62px;
    right: 5px;
    z-index: 1000;
    color: #fff;
}

#modal-login .modal-title {
    text-align: center;
}

#modal-login .modal-header-tab.active .modal-title {
    color: var(--button-green);
}

#modal-login .modal-body {
    border: 1px solid rgba(4, 145, 173, 0.5);
    min-height: 460px;
    background-image: url('../images/login-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.2);
}

#modal-login .modal-body.modal-body-login {
    display: none;
    align-items: center;
}

#modal-login button#btn-register {
    border: none;
    background-color: var(--button-green);
    color: #000000;
}

#modal-login .forgot-password {
    display: none;
}

#modal-login a {
    cursor: pointer;
    font-weight: bold;
}

#modal-login button {
    text-transform: uppercase;
}

#modal-login input {
    background: #000000;
    border-radius: 5px;
    border-width: 2px;
}

#modal-login .auth-box--login {
    border: none;
}

#modal-login .divider--with-text {
    text-align: center;
}

#modal-login .btn-facebook {
    color: #fff;
    background: #4267B2;
    border: 1px solid #4267B2;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#modal-login .btn-facebook:hover {
    background: #3b5998;
}

#modal-login .btn-facebook i {
    font-size: 32px;
    padding-right: 10px;
}

#modal-login .custom-control {
    font-size: 12px;
}

#modal-login .auth-box--login .custom-control-label::before,
#modal-login .auth-box--login .custom-control-label::after {
    top: 0;
}

#modal-login #btn-reset-password {
    margin-bottom: 1rem;
}

#modal-login .form-group .help-block {
    display: none;
}

#modal-login .form-group.has-error .help-block {
    display: block;
    color: #FF0000;
    font-size: 10px;
}

#modal-login .auth-box--login h1 {
    font-size: 28px;
    color: var(--button-green-hover);
}

.img-fluid {
    width: auto;
}

/******************************************************/

.modal {
    background: rgba(0, 0, 0, .8);
}

.modal-content {
    background: #141414;
    color: hsla(0, 0%, 100%, .8);
}

.modal-header {
    border-bottom: 1px solid #222;
}

.close {
    color: #fff;
    opacity: .5;
    transition: .15s ease-in-out;
}

.close:hover {
    color: #fff !important;
    opacity: 1 !important;
}
