﻿#modalContainer {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 10000;
    /*background-image:url(tp.png);*/ /* required by MSIE to prevent actions on lower z-index elements */
}

#alertBox {
    position: relative;
    width: 400px;
    min-height: 100px;
    margin-top: 30vh;
    border: 1px solid #666;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 20px 30px;
    border-radius: 0.25rem;
}

#modalContainer > #alertBox {
    position: fixed;
}

#alertBox h1 {
    margin: 0;
    font: bold 1rem Arial;
    font-family:"Open Sans", serif;
    background-color: var(--hover-bg);
    color: #FFF;
    border-bottom: 1px solid #000;
    padding: .375rem .75rem;
    line-height: 1.5;
    text-align: center;
}

#alertBox p {
    font: 1em arial;
    font-family:"Open Sans", serif;
    height: auto;
    padding: 20px 10px 20px 10px;
    margin: auto;
    text-align: center;
}

#alertBox #closeBtn:before {
    /*content: '\00d7';*/
    content: "\f00d";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    font-size: large;
    padding: 2px 5px;
}

#alertBox #closeBtn {
    top: -1px;
    left: 1px;
    display: block;
    position: relative;
    width: 22px;
    height: 22px;
    line-height: 22px;
    font-size: 11pt;
    text-align: center;
    color: var(--hover-bg) !important; 
    background-color: #ffffff;
    text-decoration: none;
    font-style: normal;
    float: right;
}

/* unrelated styles */

#mContainer {
    position: relative;
    width: 600px;
    margin: auto;
    padding: 5px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    font: 1em arial;
    font-family:"Open Sans", serif;
}

#alertBox h1, #alertBox h2 {
    margin: 0;
    padding: 4px;
    font: bold 1.5em arial;
    border-bottom: 1px solid #000;
}

code {
    font-size: 1.2em;
    color: #069;
}

#credits {
    position: relative;
    margin: 25px auto 0px auto;
    width: 350px;
    font: 0.7em verdana;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    height: 90px;
    padding-top: 4px;
}

    #credits img {
        float: left;
        margin: 5px 10px 5px 0px;
        border: 1px solid #000000;
        width: 80px;
        height: 79px;
    }

.important {
    background-color: #F5FCC8;
    padding: 2px;
}

@media screen and (max-width: 450px) {
    #alertBox {
        position: relative;
        width: 300px;
        min-height: 100px;
        margin-top: 30vh;
        border: 1px solid #666;
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: 20px 30px;
        border-radius: 0.25rem;
    }
}


/*Library sweetalert2*/
.swal2-popup {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}

.swal2-title {
    border-bottom: none !important;
    font-size: 15px !important;
    font-family: "Open Sans", serif;
    margin: 5px !important;
}

.swal2-icon-error {
    background: #ffd9d9 !important;
    color: #b70101 !important;
}
.swal2-popup.swal2-toast{
    padding:10px !important;
}