﻿
/* assume a 'mobile first' responsive design ( saves the mobile browsers from having to load additional CSS styles.) */
/* ========================================================== */

.hidden {
    visibility: hidden;
    display: none;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    -webkit-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    -moz-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}
.visible {
    visibility: visible;
    display: inline-block;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    -webkit-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    -moz-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

.mobile-only {
    visibility: visible;
    display: inline-block;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    -webkit-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    -moz-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

.desktop-only {
    visibility: hidden;
    display: none;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    -webkit-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    -moz-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

/*not on mobile == wider than 768*/
/*@media screen and (min-width: 768px) {
    
}*/

@media (min-width: 1025px) {
    .mobile-only {
        visibility: hidden;
        display: none;
    }

    .desktop-only {
        visibility: visible;
        display: inline-block;
    }
}

/* Legacy code fixes - new approach - mobile first responsive */
/* ========================================================== */

/* form padding on mobile devices */
.desktop .form-wrapper.form-wrapper__login__size {
    padding: 10px 10px 10px 10px;
}

.deactivated-account-ul {
    margin-left: 2%;
}

.footer {
    margin-left: -10px;
    margin-right: -10px;
}

/* DESKTOP ONLY */
@media screen and (min-width: 768px) {

    /* form padding on desktop */
    .desktop .form-wrapper.form-wrapper__login__size {
        padding: 25px 50px 50px 50px;
    }

    .deactivated-account-ul {
        margin-left: 10%;
    }

    .footer {
        margin: 3em -50px -50px;
    }

}

/* ERROR PAGES (404, 500) - DESKTOP ONLY */
@media screen and (min-width: 1067px) {
    .error-container {   
        padding: 80px;
    }
    .error-container-float-left {
        display: inline-block;
        max-width: 40%;
        min-width: 30%;
        padding-right: 20px;
        float: left;
    }
    .error-container-float-right {
        display: inline-block;
        max-width: 60%;
        min-width: 20%;
    }

    .error_page__title {
        margin-bottom: .2em;
        margin-top: 0px;
        font-size: 80px;
    }
    .error_page__subtitle {
        margin-bottom: .5em;
        font-size: 36px;
    }
    .error_page__copy {
        margin-top: 2em;
        font-size: 22px;
    }

    .img-error-fluid {
        max-width: 100%;
        height: auto;
    }
    .error_footer__live-chat {
        padding-top: 2em;
        padding-bottom: 2em;
    }
}

/* HACKS TO FIX responsive issues */
.login-logo-mobile {
    width: 160px;
    margin-bottom: 40px;
}