/** Variables **/

body {
    font-family: Calibri, Helvetica, Arial, Verdana, Tahoma, sans-serif;
}

* {
    box-sizing: border-box;
}

.toast, #sc-confirm, #sc-backdrop {
    transition: ease 0.25s;
}

    .toast a, .toast button, .toast input, .toast textarea, .toast select, .toast div, #sc-confirm a, #sc-confirm button, #sc-confirm input, #sc-confirm textarea, #sc-confirm select, #sc-confirm div, #sc-backdrop a, #sc-backdrop button, #sc-backdrop input, #sc-backdrop textarea, #sc-backdrop select, #sc-backdrop div {
        transition: ease 0.25s;
    }

/** Toast styles **/

.toast {
    display: inline;
    position: fixed;
    top: 0.25em;
    left: 0;
    right: 0;
    max-width: 400px;
    transform: scale(0);
    margin-right: auto;
    margin-left: auto;
    padding: 1em;
    color: #FFF;
    border-radius: 2px;
    text-align: center;
    z-index: 9999;
}

    .toast.success {
        background: #4591bf;
        border-bottom: 4px solid #366988;
    }

    .toast.error {
        background: #da4242;
        border-bottom: 4px solid #af3535;
    }

    .toast.info {
        color: #252525;
        background: #EEE;
        border-bottom: 4px solid #CCC;
    }

    .toast.show {
        transform: scale(1);
    }

    .toast.gone {
        transform: scale(0);
    }

#sc-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    opacity: 0;
    background: rgba(0, 0, 0, 0.8);
}

    #sc-backdrop.show {
        opacity: 1;
    }

#sc-confirm {
    display: inline;
    position: fixed;
    top: 35%;
    left: 0;
    right: 0;
    transform: scale(0);
    margin-top: -50px;
    margin-right: auto;
    margin-left: auto;
    padding: 1em;
    border-radius: 0px;
    background: #000;
    /* border-bottom: 4px solid #CCC; */
    /* box-shadow: white 0px 1px 5px 0px; */
    height: auto;
    width: 360px !important;
}

#sc-comment {
    display: inline;
    position: fixed;
    top: 35%;
    left: 0;
    right: 0;
    transform: scale(0);
    margin-top: -50px;
    margin-right: auto;
    margin-left: auto;
    padding: 1em;
    border-radius: 2px;
    background: #000;
    /* border-bottom: 4px solid #CCC; */
    z-index: 9999;
    height: auto;
    box-shadow: white 0px 0px 1px 1px;
}

#sc-confirm p {
    font-size: 16px !important;
    margin: 0 0 0.75em;
    color: #FFF;
    font-family: Calibri, Helvetica, Arial, Verdana, Tahoma, sans-serif;
}

#sc-comment p {
    font-size: 1.05em;
    margin: 0 0 0.75em;
    color: black;
}

#sc-confirm input {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    font-size: 1em;
    border-radius: 2px;
    /* pointer-events: none; */
}

#sc-comment input {
    width: 85%;
    padding: 0.5em;
    margin-bottom: 1em;
    font-size: 1em;
    border-radius: 2px;
    pointer-events: none;
}

#sc-confirm input:focus, #sc-confirm input:active {
    outline: none;
    border-color: #CCC;
}

#sc-comment input:focus, #sc-confirm input:active {
    outline: none;
    border-color: #CCC;
}

#sc-confirm button {
    display: inline-block;
    background: #da4242;
    border-radius: 0px;
    border: 1px solid #4591bf;
    padding: 0.5em 1em;
    color: white !important;
    font-size: 1em;
    outline: none;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
}

#sc-comment button {
    display: inline-block;
    background: #da4242;
    border-radius: 0px;
    border: 0px solid #4591bf;
    padding: 0.5em 1em;
    color: #FFF;
    font-size: 1em;
    outline: none;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
}

#sc-confirm image {
    float: right;
}

#sc-confirm button:last-of-type {
    float: left;
    color: #da4242;
    border: none;
    border-bottom: 2px solid #da4242;
    font-family: Calibri, Helvetica, Arial, Verdana, Tahoma, sans-serif;
}

#sc-confirm button:first-of-type {
    float: right;
    color: #da4242;
    border: none;
    border-bottom: 2px solid #da4242;
}


#sc-comment button:first-of-type {
    float: right;
    color: #FFF;
    border: none;
}

    #sc-comment button:first-of-type:hover, #sc-confirm button:first-of-type.active {
        background: #da4242;
        color: #FFF;
    }

#sc-confirm.show {
    transform: scale(1);
}

#sc-comment.show {
    transform: scale(1);
}

#sc-confirm pre {
    background-color: #da4242 !important;
    color: #FFF;
    border-radius: 0px !important;
}

#sc-comment pre {
    background-color: #da4242 !important;
    color: #FFF;
    /*border-radius: 0px !important;*/
}

#sc-comment ul * {
    color: #FFF;
}

#sc_confirm_edit, #sc-confirm-no {
    width: 100px;
}

.mainpsw input[name=mainpsw] {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (max-width: 599px) {
    #sc-confirm {
        max-width: 100% !important;
        width: 100% !important;
    }
}
