﻿/* Modals */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    /*height: 100%;*/
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/*.modal {
    display: none;*/ /* Hidden by default */
/*position: fixed;*/ /* Stay in place */
/*z-index: 1;*/ /* Sit on top */
/*left: 0;
    top: 0;
    width: 100%;*/ /* Full width */
/*height: 100%;*/
/*overflow: auto;*/ /* Enable scroll if needed */
/*background-color: rgb(0,0,0);*/ /* Fallback color */
/*background-color: rgba(0,0,0,0.4);*/ /* Black w/ opacity */
/*}*/

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 16px;
    border: 1px solid #888;
    width: 60%;
    top: -20%;
}

.modal-header {
    padding: 10px;
    padding-left:0px;
    border-bottom: none; /*1px solid #e5e5e5;*/
    margin-left: 0px;
    margin-bottom: 10px;
    font-family: var(--fnt-el);
    font-size: 3em;
    line-height: 1;
    color: var(--mc-elb);
}
/* Modal Content/Box */
/*.modal-content {
    background-color: #fefefe;
    margin: 15% auto;*/ /* 15% from the top and centered */
    /*padding: 16px;
    border: 1px solid #888;
    margin: 10vh;
    height: auto;
    width: auto;*/
    /*    width: 60%;
    top: -20%;*/
/*}*/

@media screen and (max-width: 1200px) {
    .modal-content {
        /*background-color: #fefefe;
        margin: 10% auto;*/ /* 15% from the top and centered */
        padding: 10px;
        border: 1px solid #888;
        width: 90%!important;
        top: -5%!important;
    }
}
@media screen and (max-width: 600px) {
    .modal-content {
        margin: 10vh 2vh 2vh 2vh;
    }

    .modal-header {
        font-size: 2em;
    }
}

/* The Close Button */
.close {
    color: var(--mc-elb);
    float: right;
    /*font-size: 40px;*/
    font-weight: bold;
    background-color: transparent;
    border: none;
}

    .close:hover,
    .close:focus {
        color: var(--mc-grn1);
        text-decoration: none;
        cursor: pointer;
    }


.modal-bodi{

}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: fixed; /* or absolute */
    top: 44%;
    left: 47%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.errorbox {
    /*margin-top: 4px;*/
    padding: 6px;
    text-align: center;
    color: red;
    font-size: medium;
    /*border-bottom: 1px solid red;*/
    border-radius: 2px;
    background-color: #ffeaea;
    /*-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;*/
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(255,255,255,1) 25px, rgba(255,255,255,1) 50px);
}

.close-error {
    float: right;
    font-size: 4rem;
    font-weight: bold;
    color: red;
    line-height: 1;
    text-shadow: 0 1px 0 #ff0000;
    filter: alpha(opacity=20);
    cursor: pointer;
    background: transparent;
    border: 0;
}

.errorbox {
    /*margin-top: 4px;*/
    padding: 6px;
    text-align: center;
    color: red;
    font-size: medium;
    border-bottom: 2px solid #ffeaea;
    border-radius: 4px;
    background-color: #ffeaea;
    /*-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;*/
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(255,255,255,1) 25px, rgba(255,255,255,1) 50px);
}

.close-info {
    float: right;
    font-size: 4rem;
    font-weight: bold;
    color: #428bca;
    line-height: 1;
    /*text-shadow: 0 1px 0 #428bca;*/
    filter: alpha(opacity=20);
    cursor: pointer;
    background: transparent;
    border: 0;
}

.infobox {
    /*margin-top: 4px;*/
    padding: 6px;
    text-align: center;
    /*color:lightblue; 
        border: 1px solid lightblue;
    background-color: #eefafe;
    border: 1px solid lightblue;
    */
    border-radius: 4px;
    color: #72a772;
    border: 2px solid #def3df;
    background-color: #def3df;
    font-size: medium;
    /*--moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    khtml-border-radius: 5px;*/
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(255,255,255,1) 25px, rgba(255,255,255,1) 50px);
}