/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html,
body {
    font-family: 'Poppins', sans-serif;
    background: #f3f3fd;
}

button {
    cursor: pointer;
}

/* IMPORTANT!!!!!
    CREATED BY MOBIL FIRST METHOD
*/

.voice {
    display: none;
}

.page-wrapper {
    min-height: 100vh;
    position: relative;
    padding-bottom: 30px;
}

.w5host-logo{
    position: relative;
    display: block;
    width: 110px;
    height: auto;
    z-index: 1;
    margin: 35px auto 0;
}

@media (min-width: 760px) {
    .page-wrapper{
        min-height: 96vh;
        padding-bottom: 0;
    }
    .w5host-logo{
        margin: 56px auto 0;
    }
}
@media (min-width: 1024px) {
    .page-wrapper{
        min-height: 100vh;
        padding-bottom: 110px;
    }
    .w5host-logo{
        position: absolute;
        top: 57px;
        left: 38px;
        width: 127px;
        margin: 0;
    }
}
@media (min-width: 1280px) {
    .w5host-logo{
        left: 58px;
    }
}

.login-content {
    position: relative;
    overflow: visible;
    margin-top: 87px;
}

@media (min-width: 568px){
    .login-content{
        margin-top: 124px;
    }
}
@media (min-width: 1024px){
    .login-content{
        margin-top: 0;
    }
}

/* CLOSE btn */

.login-close-btn {
    position: absolute;
    right: 10px;
    background: none;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    top: 10px;
    border: 1px solid #dadaef;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.login-close-btn .icon {
    display: block;
    background: url("../../images/icons/close.png") no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
}


@media (min-width: 1024px) {
    .login-close-btn {
        width: 50px;
        height: 50px;
        right: 22px;
        top: 22px;
    }
}

@media (min-width: 1400px) {
    .login-close-btn {
        width: 60px;
        height: 60px;
        right: 50px;
        top: 50px;
    }
}

/* login content */

.login-wrapper {
    padding: 35px 29px 0 29px;
    width: 100%;
    position: relative;
    z-index: 1;
}

@media (min-width: 568px) {
    .login-wrapper {
        max-width: 322px;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 700px) {
    .login-wrapper {
        max-width: 422px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .login-wrapper {
        max-width: 389px;
        padding-top: 154px;
    }
}

@media (min-width: 1280px) {
    .login-wrapper {
        padding-top: 118px;
    }
}

@media (min-width: 2000px) {
    .login-wrapper {
        padding-top: 7.813vw;
    }
}

/* LOGIN BOX */

.login__logo {
    position: relative;
    margin: 0 auto 35px auto;
}

.login .type {
    display: block;
    position: relative;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    width: 72%;
    margin: 0 auto;
}

.login .type h1{
    font-family: 'Poppins', sans-serif;;
    font-weight: 700;
    font-size: 21px;
    color: #ffcc00;
    margin: 0 0 18px;
}
.login .type .details{
    font-family: 'Poppins', sans-serif;;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    margin: 0;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.login__box {
    background: #fff;
    padding: 45px 25px 19px;
    border-radius: 3px;
    position: relative;
    width: 100%;
    z-index: 10;
    box-shadow: 0 0 120px 20px rgba(0,0,0,0.1);
}

.login .message #topMessage{
    width: 100%;
}

.login .message #topMessage .warning,
.login .message #topMessage .loading,
.login .message #topMessage .notice,
.login .message #topMessage .error,
.login .message #topMessage .confirmation{
    /*position: absolute;*/
    top:0;
    left:0;
    width: 100%;
    padding: 20px 20px 20px 65px;
    border: 1px solid #dadaef;
    background-color: transparent;
    color: #14171A;
}
.login .message #topMessage .warning:before,
.login .message #topMessage .loading:before,
.login .message #topMessage .notice:before,
.login .message #topMessage .error:before,
.login .message #topMessage .confirmation:before{
    content: "";
    display: inline-block;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    top: 50%;
    left: 14px;
    width: 52px;
    height: 49px;
}
.login .message #topMessage .warning:before,
.login .message #topMessage .notice:before,
.login .message #topMessage .error:before,
.login .message #topMessage .confirmation:before{
    transform: translateY(-50%);
}
.login .message #topMessage .notice:before,
.login .message #topMessage .error:before,
.login .message #topMessage .confirmation:before{
    width: 35px;
    height: 40px;
}
.login .message #topMessage .warning:before{
    background-image: url("../../images/icons/warning-icon.png");
    left: 6px;
}
.login .message #topMessage .loading:before{
    background-image: url("../../images/icons/svg/loading.svg");
    top: 20%;
    width: 36px;
    height: 36px;
    animation: spin 1.3s infinite linear;
}
.login .message #topMessage .notice:before{
    background-image: url("../../images/icons/svg/notice.svg");
}
.login .message #topMessage .error:before{
    background-image: url("../../images/icons/svg/error.svg");
}
.login .message #topMessage .confirmation:before{
    background-image: url("../../images/icons/svg/confirmation.svg");
}

/*#messagestack .loading,*/
/*#messagestack .warning,*/
/*#messagestack .notice,*/
/*#messagestack .error,*/
/*#messagestack .confirmation {*/
    /*background-color: #fff;*/
    /*border-color: #fff;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*color: #000 !important;*/
    /*box-shadow: 0 0 10px rgba(0,0,0,0.05);*/
/*}*/

/*#messagestack .icon {*/
    /*display: inline-block;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
    /*background-size: 100%;*/
    /*width: 52px;*/
    /*height: 49px;*/
    /*margin-right: 15px;*/
/*}*/

/*#messagestack .warning .icon {*/
    /*background-image: url("../../images/icons/warning-icon.png");*/
/*}*/

/*#messagestack .loading .icon {*/
    /*background-image: url("../../images/icons/svg/loading.svg");*/
    /*width: 36px;*/
    /*height: 36px;*/
    /*animation: spin 1.3s infinite linear;*/
/*}*/

/*#messagestack .notice .icon{*/
    /*background-image: url("../../images/icons/svg/notice.svg");*/
/*}*/
/*#messagestack .error .icon{*/
    /*background-image: url("../../images/icons/svg/error.svg");*/
/*}*/
/*#messagestack .confirmation .icon{*/
    /*background-image: url("../../images/icons/svg/confirmation.svg");*/
/*}*/

@media (min-width: 370px){
    .login__box{
        padding: 45px 25px 25px;
    }
}

@media (min-width: 700px) {
    .login__logo {
        margin-bottom: 40px;
    }
    .login .type h1{
        font-size: 23px;
        margin: 0 0 18px;
    }
    .login .type .details{
        height: 56px;
        font-size: 16px;
    }
    .login__box {
        padding: 60px 70px 33px;
    }
}

@media (min-width: 1024px) {
    .login__logo {
        margin-bottom: 15px;
    }
    .login__box {
        padding:40px 60px 29px;
    }
    .login .type h1{
        display: block;
    }
}

@media (min-width: 1280px){
    .login .type h1{
        margin: 0 0 20px;
    }
    .login__box{
        padding: 40px 60px 32px;
    }
}

@media (min-width: 1400px) {

    .login__box {
        padding: 54px 70px 35px;
    }
}

@media (min-width: 1920px){
    .login__box{
        padding: 54px 70px 37px;
    }
}

/* - FORM */
.form-group {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}
form input {
    background: transparent !important;
    border: none !important;
    font-size: 15px !important;
    /* reszpo */
    font-weight: 700 !important;
    width: 100% !important;
    height: 38px !important;
    /* reszpo */
    font-size: 14px !important;
    letter-spacing: 0.01em !important;
    font-family: 'Poppins', sans-serif!important;
    border-bottom: 2px solid #dadaef !important;
    padding: 1px 2px !important;
    filter: none !important;
    border-radius: 0 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    flex: 1 !important;
}
form input:focus {
    outline: none !important;
    box-shadow: none !important;
}
form input::placeholder {
    color: transparent !important;
}
form input#rcmloginuser{
    margin-bottom: 29px;
}

form label {
    font-weight: 400 !important;
    font-size: 14px !important;
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 0.01em !important;
    display: block !important;
    margin: 0 !important;
    transition: all .35s ease-in-out !important;
    transform-origin: 0 0 !important;
    transform: scale(0.75);
    position: absolute;
    top: -8px;
    left: 0;
    z-index: 1;
    white-space: nowrap;
}
.input-group-prepend {
    display: none;
}
form td.title{
    position: relative;
    display: block !important;
}
form label.has-focus {
    transform: scale(0.75);
    position: absolute;
    top: -8px;
    left: 0;
}
form table{
    width: 100%;
}
form  table tbody tr td{
    line-height: 0;
}
form table tbody tr td.input{
    width: 100%;
}
form .formbuttons{
    margin-top: 31px;
    margin-bottom: 0;
    outline: none;
}

form input:focus {
    outline: none !important;
}

@media (min-width: 1200px) {
    form input{
        height: 55px !important;
    }
    form  table tbody tr td{
        line-height: initial;
    }

    form table tbody tr {
        margin-bottom: 23px;
    }

    form label {
        font-size: 14px !important;
        margin-top: -5px !important;
        top: 0 !important;
    }

    form label.has-focus {
        top: 0;
    }

    form .formbuttons {
        margin-top: 47px;
    }

    form input#rcmloginuser{
        margin-bottom: 32px;
    }
}

.formbuttons {
    position: relative;
    border-radius: 5px;
    background: #fac800;
    border: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
    height: 40px;
    padding: 0 28px;
    letter-spacing: 0.1em;
    box-shadow: 0 0 20px 2px rgba(203, 148, 38, 0.4);
    transition: all .55s ease-in-out;
    text-align: right;
}

.formbuttons span,
.formbuttons .icon {
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all .55s ease-in-out;
}

.formbuttons .icon {
    background: url("../../images/icons/svg/next-arrow.svg") no-repeat;
    background-size: 100% 100%;
    background-position: center;
    width: 13px;
    height: 13px;
    left: 30px;
}

.formbuttons span{
    right: 30px;
}

.formbuttons:hover{
    background: #fac800;
}

.formbuttons:hover .icon {
    transform: translate(100%, -50%);
}

.formbuttons:hover span {
    transform: translate(-10%, -50%);
}

@media (min-width: 700px) {
    button[type="submit"] {
        font-size: 14px;
        height: 52px;
        padding: 0 30px;
    }

    .formbuttons .icon {
        width: 15px;
        height: 15px;
    }

    .formbuttons:hover .icon {
        transform: translate(200%, -50%);
    }

    .formbuttons:hover span {
        transform: translate(-28%, -50%);
    }
}

@media (min-width: 1024px){
    .formbuttons:hover .icon {
        transform: translate(176%, -50%);
    }

    .formbuttons:hover span {
        transform: translate(-23%, -50%);
    }
}
@media (min-width: 1440px){
    .formbuttons:hover .icon {
        transform: translate(132%, -50%);
    }
    .formbuttons:hover span {
        transform: translate(-15%, -50%);
    }
}

/* MESSAGE BOX */

#messagestack .loading {
    color: #fff;

}

.message {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position:relative;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    letter-spacing: 0.02em;
    min-height: 76px;
}

.message a {
    color: #ffcc00;
    font-weight: 700;
}

.message p {
    width: 74%;
    color: #191a1a;
    margin: 0;
    font-size: 12px;
    line-height: 18px;
}

@media (min-width: 700px) {
    .message {
        display: flex;
        align-items: center;
        padding: 0;
    }
    .message .warning{
        display: flex;
        align-items: center;
    }
    .message p{
        width: unset;
    }
}

@media (min-width: 1024px) {
    .message {
        margin: 10px 0;
    }
}

/* message versions */
.message--general {
    border: none;
}

.message--system {
    border: 1px solid #dadaef;
}

@media (min-width: 700px) {
    .message--general {
        font-size: 13px;
        padding: 24px;
    }
}

/* FOOTER */

.login-footer {
    color: #babacf;
    position: relative;
    width: 100%;
    text-align: center;
    height: auto;
    padding: 70px 0 20px;
}

.login-footer p {
    font-size: 12px;
    margin-top: 0;
}

.login-footer p:first-child {
    margin-bottom: 20px;
}

.support-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
}
.support-container a{
    position:relative;
    color: #b0b1b8;
    font-size: 12px;
    font-weight: 500;
    transition: color .2s ease-in-out;
    text-decoration: none;
}
.support-container a:hover{
    color: #ffcc00;
}
.support-container a:not(:last-of-type){
    margin-right: 12px;
}

.support-container a:not(:last-of-type):after{
    content:"";
    display: block;
    position: absolute;
    background-color: #ffcc00;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    height: 100%;
    width: 2px;
    opacity: 0.7;
}

@media (min-width: 768px){

    .support-container{
        margin-top: 24px;
    }
    .support-container a:not(:last-of-type){
        margin-right: 20px;
    }
    .support-container a:not(:last-of-type):after{
        right: -10px;
    }
}

@media (min-width: 1200px){

    .support-container{
        margin-top: 27px;
    }
}

@media (min-width: 1920px){

    .support-container{
        margin-top: 29px;
    }
}

.login-footer__brand {
    text-transform: uppercase;
}

.login-footer__brand > span {
    display: inline-block;
    line-height: 1;
    letter-spacing: 0.1em;
    font-size: 9px;
    font-weight: 700;
    position: relative;
    top: 2px;
    margin-right: 5px;
}
.login-footer__brand .w5labs-link .w5labs-logo{
    content: "";
    display: inline-block;
    background-image: url("../../images/icons/svg/w5labs-logo.svg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 67px;
    height: 15px;
    margin: 0 auto;
    vertical-align: middle;
    transition: background-image .2s ease-in-out;
}
.login-footer__brand .w5labs-link .w5labs-logo:hover{
    background-image: url("../../images/icons/svg/w5labs-logo-hover.svg");
}

@media (min-width: 768px) {
    .login-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: absolute;
        bottom: 0;
        padding: 40px 50px 20px;
    }
    .login-footer__brand{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
    }
    .login-footer p:first-child {
        margin-bottom: 0;
    }
    .support-container{
        margin-bottom: 0;
    }
}

@media (min-width: 1024px){
    .login-footer{
        padding: 40px 50px 23px;
    }
}

@media (min-width: 1200px) {
    .login-footer{
        padding: 40px 50px 45px;
    }
    .login-footer__brand > span {
        margin-right: 17px;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
    /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
    visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    transition: background-color 5000s ease-in-out 0s;
}

.login-loader-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.login-loader-wrapper img {
    height: 30px;
    width: 30px;
}