/* 3d Modal Loader Styles */
#model_loader_header#model_loader_header {
    border-radius: 10px;
    width: 100%;
    text-align: center;
    /*margin: 25%;*/
}

#model_loader_modal#model_loader_modal {
    text-align: center;
    border-radius: 10px;
    width: 90%; 
    height: 90%; 
    background: black;
    /*overflow-x: auto;*/
    /*overflow-y: auto;*/
    margin: auto;
    
}

#header_container#header_container {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    position: fixed;
    height: 20%;
    border-top: solid rgb(118, 117, 117) 2px;
    border-right: solid rgb(107, 107, 107) 2px;
    border-left: solid rgb(101, 101, 101) 2px;
    width: 90%;
    background: rgb(57, 56, 56);
    box-shadow: none;
    /*margin: auto;  */
    
}

#close_model_modal#close_model_modal {
    position: relative; 
    z-index:999; 
    font: normal bolder 20px; 
    margin-right: 5%;
    background: rgb(173, 173, 173);
    color: rgb(85, 84, 84); 
    margin-top: 5px;
    
}

#model_modal_header#model_modal_header {
    position: relative;
    display: inline;
    font-weight: bolder;
    text-align: center;
    /*margin-left: 32.5%;*/
    font-size: 20px;
    text-shadow: 2px black;
    /*word-spacing: 1vw;*/
    /*letter-spacing: 1vw;*/
    /* margin-right: 37.5%; */
    width: 100%;
}

#button_container#button_container {
    margin-bottom: 2%;
    position: relative;
    text-align: center;
}   

#para1_container {
    border: solid rgb(103, 103, 103) 2px;
    margin-top: 1vw;
}

#files {
    border: 2px;
    border-radius: 10px;
    border-color: transparent;
}

#para1 {
    color: black;
    background: linear-gradient(rgb(92, 90, 90), rgb(161, 158, 158), rgb(110, 106, 106));
    padding: 5px; 
    text-indent: 35px;
    font: 1vw bold; 
    margin: 5px; 
  
}

#prev#prev {
    position: relative;
    display: inline;
    z-index: 999;
    margin-right: 10%;
    color: lightgrey;
    /*margin-top: 2%;*/
    /* float: left; */
}

#next#next {
    position: relative;
    display: inline;
    z-index: 999;
    margin-left: 10%;
    background-color: lightgrey;
    /*margin-top: 1%;*/
    /* float: right; */
}

.btn {
    color: lightgrey; 
    border: solid 5px black;
}

#filename {
    color: Black;
    font-size: 20px;
}

#button_container#button_container {
    position: relative;
    margin-top: 10px;
}

canvas { 
    outline: none; 
    border: solid rgb(89, 89, 89) 2px; 
}

/* ------------------------------------------------- */


@media only screen and (max-width: 800) {
    
    #header_container#header_container {
        height: 40%;
    }
    
    #model_modal_header#model_modal_header {
        position: relative;
        display: inline;
        font-weight: bolder;
        text-align: center;
        font-size: 12px;
        text-shadow: 2px black;
        width: 100%;
    }
    
    #next#next {
        position: relative;
        display: inline;
        z-index: 999;
    }
    
    #prev#prev {
        position: relative;
        display: inline;
        z-index: 999;
    }
    
    #filename {
        font-size: 12px;

    }
    
    #files {
        background: white;
        color: white;
        border: solid 2px black;
        padding: 2px;
        /*margin: 30px;*/
        font-size: 15px;
        /*margin-top: 1%;*/
    }
 
}

/* ------------------------------------------------- */


@media only screen and (max-width: 600px) {
    
    #header_container#header_container {
        height: 15%;
    }
    
    #model_modal_header#model_modal_header {
        position: relative;
        display: inline;
        font-weight: bolder;
        text-align: center;
        font-size: 12px;
        text-shadow: 2px black;
        width: 100%;
    }
    
    #next#next {
        position: relative;
        display: inline;
        z-index: 999;
    }
    
    #prev#prev {
        position: relative;
        display: inline;
        z-index: 999;
    }
    
    #filename {
        font-size: 12px;

    }
    
    #files {
        border: solid 2px black;
        /*padding: 2px;*/
        /*margin: 30px;*/
        font-size: 8px;
        margin-top: 1%;
    }
 
}

/* ------------------------------------------------- */


@media only screen and (max-height: 600px) {
    
    #header_container#header_container {
        /*display: none;*/
        /*border-top-right-radius: 10px;*/
        /*border-top-left-radius: 10px;*/
        position: fixed;
        height: 30%;
        /*border-top: solid black 10px;*/
        /*border-right: solid black 10px;*/
        /*border-left: solid black 10px;*/
        /*width: 90%;*/
        /*background: red;*/
        /*box-shadow: none;*/
        /*margin: auto;  */
    
    }

    
    #model_modal_header#model_modal_header {
        /*position: relative;*/
        display: none;
        /*font-weight: bolder;*/
        /*text-align: center;*/
        /*font-size: 12px;*/
        /*text-shadow: 2px black;*/
        /*width: 100%;*/
    }
    
    #button_container#button_container {
        position: relative;
        margin-bottom: 10%;
        top: 0px;
        text-align: center;
    }   
    
    #next#next {
        position: relative;
        font-size: 8px;
        display: inline;
        z-index: 999;
    }
    
    #prev#prev {
        position: relative;
        font-size: 8px;
        display: inline;
        z-index: 999;
    }
    
    #filename {
        display: none;
        font-size: 12px;

    }
    
    #files {
        border: solid 2px black;
        height: 10px;
        /*padding: 2px;*/
        /*margin: 30px;*/
        font-size: 8px;
        margin-top: 1%;
    }
 
}