/**-------------------------------------------------
    MODAL STYLES
--------------------------------------------------- **/

.modal {
    display: none;
    background-color: rgba(0, 0, 0, .7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1000;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;    
}

.modal.active {
    opacity: 1;
}

.modal__cont {
    background-color: #f8f8f8;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 35px 10px 10px 10px;
    max-width: 96%;
}

#login .modal__cont {
    padding: 35px;
}

@media (max-width: 480px) {
    .modal__cont {
        max-width: 290px;
        padding: 35px 10px;
    }
}

.modal__close {
    height: 15px;
    width: 15px;
    display: block;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    background: url('../images/close.png') no-repeat;
    background-size: cover;    
}

.modal__close:hover {
    background: url('../images/close_active.png') no-repeat;
    background-size: cover;
}

.login,
#login .modal__cont {
    width: 320px;
    max-width: 100%;
}

#login .modal__cont {
    min-height: 175px;
}

.login--return {
    margin-top: 1rem;
}

#login p {
    color: #343434;
}

#login .login-logo {
    display: block;
    margin: 0 auto 30px auto;
}

#login input {
    width: 100%;
}

#login button {
    opacity: .9;
    padding: 0 40px;
    height: 42px;
}

#login button:hover {
    color: #fff;
    opacity: 1;
}

#login a {
    color: #798590;
    text-decoration: none;
    font-size: 1.3rem;
}

#login a:hover {
    color: #1aa5d1;
}

#login form {
    margin: 0;
}

.login-reset,
.login-options,
.login-errors {
    width: 320px;
    text-align: center;
}

.login-reset--form__message {
    margin-bottom: 3rem;
}


.login-errors.button {
    cursor: default !important;
    height: auto;
    transition: opacity .5s ease-in-out
}

.login-errors .login-error__message {
    font-size: 1rem;
    line-height: inherit;
    padding: 1rem 0;
    vertical-align: middle;
}

.login-options .login-option {
    display: block;
    width: 100%;
}

.login-options .login-option a {
    display: block;
}

.login-options .login-message {
    color: #343434;
    margin-top: 2rem;
}

#login .login-options a {
    color: #fff;
    text-decoration: none;
}

#login .login-options a:hover {
    color: #343434;
}

.login-errors {
    line-height: 2rem;
    white-space: normal;
    transition: height 1s ease-in-out;
}

.login .error {
  color: #e24141;
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-family: 'gotham-book';
  display: none;
}

.login .app {
  font-size: 1.4rem;
  margin-bottom: 25px;
  font-family: 'gotham-book';
  display: none;
}

.login .app a {
    margin: 0;
    color: #1aa5d1;
}

/* Unsupported browser dialog styles */

.browser-support__dialog {
    position: fixed;
    top: 50%;
    margin-top: -162px;
    left: 50%;
    margin-left: -400px;
    background-color: #fff;
    z-index: 2;
    text-align: center;
    display: none;
}

.browser-support__dialog.browser-support--opened {
    display: block;
}

.browser-support__header {
    color: #fff;
    background-color: #e53935;
    position: relative;
}

.browser-support__dialog .browser-support__header span.browser-support__header-text {
    font-size: 25px;
    padding: 20px 0;
    line-height: 1;
    display: inline-block;
}

.browser-support__close-button {
    position: absolute;
    top: 20px;
    right: 15px;
    cursor: pointer;
}

.browser-support__content {
    max-width: 100%;
    width: 800px;
    box-sizing: border-box;
    padding: 10px 80px;
}

.browser-support__browser-links {
    margin-top: 15px;
    margin-bottom: 50px;
}

.browser-support__browser-links a {
    display: inline-block;
    padding: 5px 50px;
    border: 1px solid #ccc;
}

.browser-support__browser-links a:first-child {
    margin-right: 20px;
}

.browser-support__dialog .browser-support__content div.browser-support__lower-text {
    line-height: 1.2;
    font-style: italic;
}

.browser-support__continue-text {
    color: #19a4d0;
    cursor: pointer;
    display: none;
}

.browser-support--continue-enabled .browser-support__continue-text {
    display: inline;
}