﻿/*form-control Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets.
--> To reload: close all instances of the browser, and restart
*/

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.notrack {
	// Dummy class to indicate that this element should not be tracked for changes
	// Include in the class list of the element 
	// Will be checked in site.js => no trackchanges
}



.border-top {
    border-top: 1px solid #e5e5e5;
}

.navbar-border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.display-5 {
    font-size: 3.0rem;
    font-weight: 300;
    line-height: 1.2;
}

.display-6 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}


.display-7 {
    font-size: 2.0rem;
    font-weight: 300;
    line-height: 1.2;
}

.title {
    font-size: 1.8em;
    font-weight: 300;
    line-height: 1.8;
    text-align: left;
    padding-left: 0.8em;
}

.btn-light {
    background-color: #f1f7fe;
    height: 2.0em;
    border-radius: 5px;
}


/*style for full-area buttons in table cells*/
.btn-cell {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 100%;
    vertical-align: central;
    background-color: rgba(255,0,0,0);
    border: 1px #f8f8f8;
    border-radius: 0px;
    width: 100%;
    height: 100%;
}

    .btn-cell:hover,
    .btn-cell:focus {
        background-color: #e0e0e0;
        font-style: italic;
    }

/* Style for a table button containing a full-area button*/
.td-button {
    position: relative;
}


    .inline-container {
        display: flex;
        /* align-items: center; */
        /*gap: 10px; /* Optional: Space between elements */
    }

        .inline-container div,
        .inline-container select,
        .inline-container button,
        .inline-container input {
            display: inline-block;
        }


/* Sticky table headers */
/* Enclose the table in a div of this class:*/
.sticky_tbl_div {
    position: fixed;
    height: calc(100% - 195px);
    overflow-y: scroll;
    scrollbar-width: thin;
    padding-top: 0px;
    padding-right: 0px;
}

.sticky_tbl_hdr {
    position: sticky;
    top: 0px;
    z-index: 100;
}




.text-inactive {
    color: #dcdada;
    text-decoration: none;
}


    .text-inactive:hover {
        color: #d0cfcf;
        text-decoration: none;
    }


.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    /*padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    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 */
}

/* The yesno popup form - hidden by default */
.yesno-popup {
    font-size: 0.7cm;
    position: absolute;
    min-width: 400px;
    left: 50%;
    top: 40%;
    /*-ms-transform: translateX(-50%, -50%);*/
    transform: translate(-50%, -50%);
    border: 3px solid #f1f1f1;
    z-index: 9;
}


/* Add styles to the yesno form */
.yesno-container {
    max-width: 30em;
    padding: 2em;
    background-color: white;
    overflow: hidden;
    white-space: nowrap;
}

    /* Set a style for the form button*/
    .yesno-container .btn {
        background-color: #e9e9e9;
        color: Black;
        padding: 10px 10px;
        border: none;
        cursor: pointer;
        margin-left: 10%;
        width: 80%;
        margin-bottom: 0.8em;
        opacity: 0.8;
    }

    /* Add a red background color to the cancel button */
    .yesno-container .green {
        background-color: #04AA6D;
        color: white;
    }

    .yesno-container .red {
        background-color: red;
        color: white;
    }

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
    opacity: 1;
}



/* On-page alerts
-------------------------------------------------- */
.message {
    padding: 5px 0px;
    background-color: #548954;
    color: white;
    text-align: center;
}

.caution {
    padding: 5px 0px;
    background-color: #ff9c00;
    color: white;
    text-align: center;
}

.alert {
    padding: 5px 0px;
    background-color: #f44336;
    color: white;
    text-align: center;
}

.alertClosebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

    .alertClosebtn:hover {
        color: black;
    }




a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky header styles
-------------------------------------------------- */
.sticky_page_hdr {
    position: fixed;
    top: 0;
    width: 100%;
}

/* Sticky footer styles
-------------------------------------------------- */

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 40px; /* Vertically center the text there */
    background-color: white;
}


.table-basic {
    width: 800px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid silver;
}

    .table-basic th {
        /* border: 1px solid white; */
        padding: 8px 8px;
        color: #303030;
        font-weight: 600;
        background-color: #e0e0e0;
        text-align: center;
        border-right: 1px solid silver;
        border-bottom: 1px solid silver;
    }

    .table-basic tr {
        height: 30px;
    }

    .table-basic td {
        border-right: 1px solid silver;
        border-bottom: 1px solid silver;
        padding: 5px 10px;
    }




/* Exam styles
------------------------------------------------------ */

    .tbl-exam th {
        font-size: 1.4rem;
        font-weight: 400;
        background-color: #f0f0f4;
        padding: 15px;
    }

    .tbl-exam td {
        padding: 20px 8px;
        text-align: left;
        /* border: 1px solid red; */
    }

    .tbl-exam .td0 {
        width: 110px;
        vertical-align: top;
    }

    .tbl-exam .td1 {
        width: 30px;
        padding: 0px;
        padding-top: 21px;
        vertical-align: top;
    }

    .tbl-exam .td2 {
        padding-left: 0px;
        vertical-align: top;
        text-align: left;
        width: 700px;
    }
    .tbl-exam .div-question {
        min-height: 100px;
        max-width: 730px;
        /*border: 1px solid red;*/
    }

    .tbl-exam .div-answer {
        margin-left: 10px;
        min-height: 50px;
        max-width: 700px;
        /*border: 1px solid red;*/
    }

    .tbl-exam .checkb {
        width: 22px;
        height: 30px;
        padding: 0px;
        margin: 0;
        margin-right: 0px;
        margin-bottom: 0px;
        /*transform: translateY(6px);*/
    }

    .tbl-exam .tdbtn {
        width: 25%;
		padding-left: 0px;
		padding-right: 0px;
        padding-bottom: 10px;
		text-align: center;
    }

    .tbl-exam .btne {
        width: 90%;
        height: 50px;
        border-radius: 8px;
    }

    .tbl-exam .timeremaining {
        width: 90%;
		padding-left: 5px;
		padding-right: 5px;
        border: 1px solid silver;
        border-radius: 8px;
        line-height: 50px;
        text-align: center;
		display: inline-block;
		background-color: #F4FAFF;
//		background-color: #f1f7fe;
    }


/* Exam sets assembly styles
------------------------------------------------------ */

.tablesets button {
    width: 110px;
}

.tablesets .divinline {
    /*border: 1px solid red;*/
    display: inline-block;
}

.tablesets .divspace10 {
    /*border: 1px solid red;*/
    display: inline-block;
    width: 10px;
}

.tablesets select {
    width: 100px;
    padding: 2px 5px;
    margin: 0px;
    line-height: 1em;
    font-size: 1em;
}

.tablesets input {
    width: 100px;
    padding: 2px 5px;
    margin: 0px;
    line-height: 1em;
    font-size: 1em;
}

.tablesets .checkb {
    height: 14px;
    width: 14px;
    border: 1px solid red;
}

.tablesets .setstable {
    padding: 0px;
}

.setstablediv {
    position: fixed;
    height: 100%;
    overflow-y: scroll;
    scrollbar-width: thin;
}

.tablesets1 {
    width: 100%;
}

.tablesets1 td {
    padding-left: 15px;
    padding-right: 0px;
    font-size: 0.8em;
}

.tablesets2 {
    padding: 0px;
    border: 1px solid silver;
}

.tablesets2 thead {
    position: sticky;
    inset-block-start: 0;
}

    .tablesets2 th {
        padding: 9px 12px;
        color: #303030;
        font-weight: 600;
        background-color: #e0e0e0;
        /*background-color: #d8d8d8;*/
        margin: 0px;
        font-size: 0.8em;
        text-align: center;
        border-right: 1px solid silver;
        border-bottom: 1px solid silver;
        /*border: 1px solid red;*/
    }

.tablesets2 td {
    border-right: 1px solid silver;
    border-bottom: 1px solid silver;
    text-align: center;
    padding: 2px 3px;
    font-size: 0.80em;
}


.tablesets3 {
    width: 100%;
    text-align: left;
    font-size: 1em;
    border: 0px;
}

    .tablesets3 td {
        width: 100%;
        text-align: left;
        border: 0px solid silver;
        padding: 0px 5px;
    }

.tablesets2 .divider {
    /*border: 1px solid red;*/
    background-color: #e0e0e0;
}

