/*-----------------------------------------------------------------------------------*/
/* Modal window CSS */
/*-----------------------------------------------------------------------------------*/

.fade {
    opacity: 0;
}

.fade.ml-in {
    opacity: 1;
}

.modal-login-open {
    overflow: hidden;
}

.ml-modal {
    display: none;
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10005;
}

.modal-login-dialog {
    right: 134px;
    float: right;
    position: relative;
    z-index: 9999;
}

.ml-content {
    position: relative;
    outline: none;
    background-color: #fff;
    width: 305px;
    border: 1px solid #ddd;
    right: 0;
    padding: 15px;
}

.logged-in .ml-content {
    font-size: 16px;
    color: #333;
    text-align: center;
    line-height: 32px;
    width: 100%;
}

.modal-dialog {
    margin: 150px auto;
    width: 40%;
}

#modal-embed .ml-content {
    text-align: left;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 0;
}

div#global-zeroclipboard-html-bridge {
    margin-top: -32px;
}

#modal-embed .modal-dialog h2 {
    position: relative;
    background-color: #47CAB3;
    vertical-align: middle;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #f7f7f7 !important;
    padding: 20px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 20px;
    margin-bottom: 0;
    font-weight: 100;
}

#modal-embed h2 a {
    float: right;
    color: #f7f7f7 !important;
}

#modal-embed p {
    font-size: 12px;
    line-height: 14px;
}

.modal-login-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1080;
    background-color: #000000;
}

.modal-login-backdrop.fade {
    opacity: 0;
    filter: alpha(opacity=0);
}

.page-template-page-add .modal-login-backdrop.ml-in, .modal-login-backdrop.ml-in.visible {
    opacity: 0.6;
}

.modal-login-header .close {
    margin-top: -2px;
}

.ml-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    padding: 0 5px;
    color: #000000;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.2;
    filter: alpha(opacity=20);
}


/*-----------------------------------------------------------------------------------*/
/* Deafult Login Styles */
/*-----------------------------------------------------------------------------------*/

#modal-login {
    line-height: 1em;
    font-size: 16px;
    font-weight: 500;
}

#modal-login input[type="checkbox"] {
    margin: 0;
    font-size: 16px;
    margin-right: 5px;
}

.group:after {
    content: "";
    display: table;
    clear: both
}

#modal-login .hide-login {
    display: none;
}

#modal-login .inline {
    display: inline;
}

#modal-login .input {
    width: 100%;
    margin: 0;
    outline: 0;
    background-color: #ebebeb;
    color: #000;
}

#modal-login h2 {
    margin: 0 0 30px;
    font-size: 30px;
    line-height: 1.2em;
}

#modal-login form {
    margin: 0;
}

#modal-login .field-titles {
    line-height: 2em;
    margin: 0;
}

#modal-login #forgetmenot {
    float: left;
}

#modal-login #forgetmenot label {
    font-size: 12px;
    line-height: 28px;
    cursor: pointer;
    color: #777;
}

.modal-login-nav {
    font-size: 12px;
    color: #777;
}

.modal-login-nav a {
    color: #777;
}

#additional-settings {
    display: none;
}

#additional-settings a:hover {
    text-decoration: underline;
    color: #333;
}

#modal-login .submit .button:hover {
    opacity: 0.8;
}

#modal-login #register .submit .button, #modal-login #forgotten .submit .button {
    margin-bottom: 0;
    margin-top: -10px;
}

#modal-login p {
    margin: 0;
}

.mluser {
    padding-bottom: 0;
}

.mlpsw {
    padding-bottom: 5px
}

.mlregpswconf {
    padding-bottom: 10px
}
span.terms-error {
    display: none;
    color: #f00;
}
.mlforgt {
    padding-bottom: 37px
}
p.mlacceptterms {
    font-size: 11px;
    line-height: 20px;
    cursor: pointer;
    color: #777;
    font-weight: 100;
    padding-bottom: 10px;
}
p.mlacceptterms.parent-allowance{
    padding-bottom: 20px;
}
#modal-login .mlbirthyear {
    padding-bottom: 10px;
}
#modal-login .mlbirthyear label,
#modal-login .mlbirthyear select,
#modal-login .age-error,
#modal-login .parent-consent-notice {
    display: block;
}
#modal-login [hidden] {
    display: none !important;
}
#modal-login .mlbirthyear select {
    width: 100%;
    height: 44px !important;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 10px 44px 10px 10px !important;
    border: 0 !important;
    border-radius: 3px;
    outline: 0;
    box-shadow: none;
    background-color: #ebebeb !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px 8px !important;
    color: #555;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 22px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#modal-login .mlbirthyear select:required:invalid {
    color: #aaa;
}
#modal-login .mlbirthyear select option {
    color: #555;
    background: #fff;
}
#modal-login .mlbirthyear select::-ms-expand {
    display: none;
}
#modal-login .age-error {
    color: #f00;
    margin-top: 6px;
}
#modal-login .parent-consent-notice {
    color: #777;
    font-size: 11px;
    line-height: 20px;
    padding-bottom: 20px;
}
#modal-login #register .submit .button:disabled,
#modal-login #register .submit .button:disabled:hover {
    background: #b7b7b7 !important;
    cursor: not-allowed;
    opacity: 0.65;
}
#registerform2 p.mlacceptterms{
    padding-bottom: 0;
}
p.mlacceptterms a {
    color: #333;
    text-decoration: underline;
}
#modal-login .field-titles {
    line-height: 22px;
    margin-top: 10px;
    font-size: 12px;
    color: #777;
    display: inline-block;
}

#modal-login .message {
    color: #fff;
    padding: 14px 14px;
    margin-bottom: 15px;
}

#modal-login .error {
    background-color: rgb(219, 64, 64);
}

#modal-login .success {
    background-color: rgb(104, 202, 79);
}

#modal-login input[type="text"], #modal-login input[type="password"] {
    height: 44px;
    font-size: 16px;
    line-height: 2em;
    margin-top: 10px;
    margin-bottom: 5px;
    border-radius: 0;
}

#modal-login .submit .button {
    border: none;
    padding: 13px 20px;
    color: #fff;
    font-size: 16px;
    background: #47CAB3;
    margin-bottom: 15px;
    border-radius: 0;
}

@media screen and (max-width: 767px) {
    #modal-login h2 {
        font-size: 26px;
    }
}

#modal-login .ml-content:after {
    content: "";
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 5px 6px 5px;
    border-color: #b7babd transparent;
    position: absolute;
    top: -7px;
    right: 38px;
    z-index: -31
}

#modal-login .ml-content:before {
    content: "";
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 5px 6px 5px;
    border-color: #FFF transparent;
    position: absolute;
    top: -6px;
    right: 38px
}

@media screen and (min-width: 768px) {
    .modal-login-dialog {
        width: 305px;
        top: 62px;
    }

    .ml-content {
    }

    button.ml-close {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .ml-close {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 18px;
        font-weight: bold;
        line-height: 1;
        color: #000;
        background: #fff;
        border: 0;
        opacity: 1;
        filter: alpha(opacity=100);
    }

    #modal-login .ml-content:after, #modal-login .ml-content:before {
        content: none!important;
    }
    .ml-content{
        padding-top: 25px;
    }
}
