/** 1. SCROLLBAR
*******************************************************************/

::-webkit-scrollbar {
    width: 15px;
    z-index: 50;
}

::-webkit-scrollbar-track {
    background-color: #525252;
    z-index: 50;
}

::-webkit-scrollbar-thumb {
    background-color: #c4c4c4;
    border-radius: 8px;
    border: 2px solid #525252;
    z-index: 50;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #d4d4d4;
    z-index: 50;
}

/** 2. MODAL
*******************************************************************/

.career__modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    z-index: 40;

    opacity: 1;
    overflow-y: auto;
    
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal__close {
    position: absolute;
    right: 25px;
    top: 25px;
    fill: #ffffff;
    cursor: pointer;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal__close:hover,
.modal__close:focus {
    fill: #694BFF;
}

.modal__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 20px;

}

.modal__info {
    width: 40%;
    margin-right: 90px;
}

.modal__info h2 {
    margin-top: 0;
}

.modal__info li {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

.modal__title {
    text-align: center;
}

.modal__txt {
    text-align: center;
    font-size: 13px;
}

.modal__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 400px;
}

.modal__form label {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: normal;
    width: 100%;
    margin-bottom: 5px;
    text-align: left;
    text-transform: uppercase;
    color: #b1b1b1;
}

.modal__form input, 
.modal__form textarea {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 300;
    overflow: hidden;
    width: 400px;
    height: 35px;
    margin-bottom: 15px;
    padding: 0 10px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    letter-spacing: 1px;
    color: #d6d6d6;
    border: none;
    border: 1px solid #d6d6d6;
    border-radius: 0;
    outline: none;
    background: rgba(255,255,255,0);
    box-shadow: none;
}

.modal__form input::placeholder {
    color: #d6d6d6;
}

.modal__form textarea {
    height: 110px;
    padding-top: 10px;
    resize: none !important;
}

.modal__form textarea::placeholder {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
}

.terms__google {
    margin-top: 10px;
    text-align: center;
    font-size: 10px;
    color: #b1b1b1;
    max-width: 78%;
}

.terms__google a {
    text-decoration: underline;
    color: inherit;
}

.file__upload {
    position: relative;
    width: 100%;
}

input[type=file] {
    display: none;
}

.form__file--label {
    height: 35px;
    border: 1px solid #d6d6d6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 15px;
    text-transform: none !important;
}

.file__label {
    position: absolute;
    left: 10px;
    bottom: 9px;
    text-transform: none !important;
    z-index: -1;
}

.form__btn {
    margin-top: 10px;

    background-color: #694BFF;
    cursor: pointer;
    padding: 10px 50px;
    border: 1px solid #694BFF;
    border-radius: 9px;

    font-weight: 600;
    font-size: 16px;
    line-height: 1.34;

    color: #FFFFFF;

    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form__btn:hover,
.form__btn:focus {
    background-color: transparent;
}

/** 3. visually-hidden
*******************************************************************/

.visually-hidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0!important;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px!important;
  opacity: 0!important;
}

/** 4. GLOBAL
*****************************************************************/

._uk, ._us {
    opacity: 1;
    transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.grecaptcha-badge {visibility: hidden;}

/** 5. MEDIA QUERIES
*****************************************************************/

@media screen and (max-width: 1400px), screen and (max-height: 720px){
    .modal__title {
        font-size: 28px;
    }

    .career__modal p {
        font-size: 10px;
    }

    .modal__info li {
        font-size: 10px;
    }

    .modal__info {
        max-width: 750px;        
        margin-right: 20px;
    }

    .modal__form {
        max-width: 300px;
    }

    .modal__form label {
        font-size: 11px;
        margin-bottom: 2px;
    }

    .modal__form input, 
    .modal__form textarea {
        font-size: 10px;
        max-width: 100%;
        height: 25px;
        margin-bottom: 10px;
    }

    .modal__form textarea {
        height: 70px;
    }

    .form__btn { 
        padding: 5px 30px;
        font-size: 14px;
    }

    .terms__google {
        font-size: 8px !important;
    }
}

@media screen and (max-width: 800px) { 
    .modal__thumb {
        flex-direction: column;
    }

    .modal__info {
        margin-right: 0;
        margin-bottom: 20px;
        width: 60%;
    }

    .modal__close {
        position: fixed;
    }

    .modal__form {
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 600px) { 

    .modal__info {
        width: 80%;
    }

    .modal__close {
        background-color: #000000;
    }
}

@media screen and (max-height: 560px), screen and (max-width: 800px) { 
    .career__modal {
        display: block;
    }
    
}

@media screen and (max-width: 400px) { 
    .modal__thumb {
        padding-top: 70px;
    }

    .modal__info {
        width: 90%;
    }

    .modal__form {
        width: 90%;
    }

    .modal__form input, 
    .modal__form textarea {
        width: 100%;
    }
}