/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/

/*body {
    background-image: linear-gradient(orangered, darkslateblue)
}*/

/* Whole app */

html {
    height: 100%;
}

table {
    background-color: antiquewhite;
}

body {
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /*background-image: linear-gradient(black, darkgrey, black);*/
    background-color: rgba(60, 60, 60);
    /*margin-top: 15px;*/
}

nav {
    background-color: white;
    margin-bottom: 10px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

li {
    display: inline-block;
}

li a:hover{
    background-color: lightgray;
}

.btn-light:hover {
    background-color: darkgray;
    border-color: darkgray;
}

.search-btn {
    background-color: lightgray;
    text-align: center;
    padding: 0;
}

input[type="text"].search-input {
    background-color: lightgray;
    width: 200px;
    display: inline-block;
}

.search-box {
    display: grid;
    grid-template-columns: 200px 50px;
    grid-template-rows: 25px;
    grid-gap: 4px;
}


/* Home Page / Calendar Grid / Home/Index */

.all-calendars-grid {
    display: grid;
    grid-template-columns: 2% 96% 2%;
}

.month {
    grid-column: 2;
    border-radius: 5px;
}

.btn-style-1 {
    font-weight: bolder;
    font-size: larger;
    background-color:deepskyblue;
    color: black;
    border-color: slategray;
}

.btn-style-2 {
    font-weight: bolder;
    font-size: larger;
    background-color: rgb(60, 60, 60);
    color: deepskyblue;
    border-color: deepskyblue;
}

button:hover {
    background-color: rgb(60, 60, 60);
    color: deepskyblue;
    border-color: deepskyblue;
}

.search-btn:hover {
    background-color: lightgray;
    border-color: lightgray;
    color: black;
    font-weight: bolder;
}

h1 {
    color: white;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: 1fr;
    grid-gap: 4px;
    margin: 4px;
}

.calendar-header-box {
    text-align: center;
    border-radius: 5px;
    font-weight: bolder;
    font-size: large;
    background-color: rgb(160, 160, 160);
}

.calendar-date-box {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 5px;
    grid-template-rows: repeat(5, 1fr);
    background-color: lightgray;
}

.calendar-date-box div a i {
    text-decoration-line: none;
    font-weight: bolder;
    font-size: larger;
    color: blue;
}

.calendar-date-box div a i:hover {
    color: royalblue;
} 

.calendar-date {
    grid-row: 1;
    font-weight: bolder;
}

.name-link-button {
    background-color: lightgray;
    border: none;
    color: #0000EE;
    text-decoration-line: underline;
    margin: 0;
    padding: 0;
    color: royalblue;
    color: blue;
}

.name-link-button:hover {
    background-color: lightgray;
    border: none;
    text-decoration-line: underline;
    color: royalblue;
}



/* Details Modal */

.details-modal {
    display: grid;
    grid-template-columns: 15% 70% 15%;
    background-color: rgba(60, 60, 60);
    grid-template-rows: 1fr auto;
    pointer-events: all;
}

.details-modal-footer {
    grid-row: 2;
    grid-column: span 3;
    text-align: center;
    margin-bottom: 10px;
}

.details-modal-body {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-template-rows: auto 1fr;
    grid-gap: 4px;
    margin: 10px;
    margin-bottom: 8px;
}

.details-header {
    grid-row: 1;
    text-align: center;
    border-radius: 5px;
    font-weight: bolder;
    font-size: large;
    background-color: rgb(160, 160, 160);
}

.details-body {
    grid-row: 2;
    border-radius: 5px;
    background-color: lightgray;
    display: grid;
    /*grid-template-columns: 32% 23% 45%;*/
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.modal-label {
    grid-column: 2;
    font-weight: bolder;
    /*text-align: left;*/
    text-align: center;
}

.modal-data {
    grid-column: 3;
    /*text-align: left;*/
    text-align: center;
}



/* Search Modal */

.search-modal {
    display: grid;
    grid-template-columns: 5% 90% 5%;
    background-color: rgba(60, 60, 60);
    grid-template-rows: 1fr auto;
    pointer-events: all;
    grid-gap: 4px;
}

.search-modal-header {
    grid-row: 1;
    grid-column: 2;
    text-align: center;
    border-radius: 5px;
    font-weight: bolder;
    font-size: large;
    background-color: rgb(160, 160, 160);
    margin-top: 15px;
}

.search-modal-body {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    border-radius: 5px;
    background-color: lightgray;
    grid-gap: 4px;
    /*margin: 10px;*/
    /*margin-bottom: 8px;*/
    padding-left: 2px;
}

.search-results-header {
    font-weight: bold;
}

.search-modal-footer {
    grid-row: 3;
    grid-column: span 3;
    text-align: center;
    margin-bottom: 10px;
}

.search-modal-label {
    grid-column: 2;
    font-weight: bolder;
    /*text-align: left;*/
    text-align: center;
}

.search-modal-data {
    grid-column: 3;
    /*text-align: left;*/
    text-align: center;
}

.search-modal-no-results-found {
    grid-column: span 4;
    color: darkred;
}




/* Forms pages */

.form-page {
    display: grid;
    grid-template-columns: 15% 70% 15%;
}

.form-page-login {
    display: grid;
    grid-template-columns: 15% 70% 15%;
    grid-template-rows: auto auto;
}

.form-login-links {
    grid-column: 2;
    grid-row: 2 span 4;
    text-align: center;
}

.form-content {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-gap: 4px;
}

.form-header {
    grid-column: span 3;
    grid-row: 1;
    text-align: center;
    border-radius: 5px;
    font-weight: bolder;
    font-size: large;
    background-color: rgb(160, 160, 160);
}

.form-form {
    grid-row: 2;
    background-color: rgb(60, 60, 60);
    display: grid;
}

.form-form-login {
    grid-row: 2;
    background-color: rgb(60, 60, 60);
    display: grid;
    margin-right: -7px;
}

.form-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-radius: 5px;
    background-color: lightgray;
    text-align: center;
    margin-right: -7px;
}

.form-body-login {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-radius: 5px;
    background-color: lightgray;
    text-align: center;
    margin-right: 0px;
    margin-bottom: 4px;
}

.form-body-delete {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-radius: 5px;
    background-color: lightgray;
    text-align: center;
    margin-right: -7px;
    margin-bottom: 8px;
}

.form-label {
    grid-column: 2;
    font-weight: bold;
    grid-row: auto;
    margin: auto;
}

.form-label-login {
    grid-column: 2;
    grid-row: auto;
    margin: auto;
}

.form-data {
    grid-column: 3;
    margin: 4px;
    grid-row: auto;
}

.form-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background-color: rgb(60, 60, 60);
    grid-gap: 4px;
}

.form-footer-login {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background-color: rgb(60, 60, 60);
    grid-gap: 4px;
}

.form-submit {
    grid-column: 2;
    text-align: center;
}

.form-back {
    grid-column: 3;
    text-align: center;
}

.form-submit-cancel {
    width: 100%;
    height: 100%;
}

.form-submit-login {
    grid-column: span 4;
    width: 100%;
}

.form-label-recover-account-alert {
    grid-column: span 4;
    font-weight: normal;
    grid-row: auto;
    margin: auto;
}

.admin-background {
    background-color: antiquewhite;
}

.calendar-day-of-week {
    display: none;
}





/*MEDIA QUERY START*/

@media screen and (max-width: 600px){
    .container-fluid {
        margin-left: 0;
        margin-right: 0;
        margin-top: 2px;
        padding-left: 0;
        padding-right: 0;
        font-size: small;
    }

    .form-page-login {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        margin: 2px;
    }

    .form-page {
        display: grid;
        grid-template-columns: 10% 80% 10%;
    }

    .form-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-radius: 5px;
        background-color: lightgray;
        text-align: center;
        margin-right: -7px;
    }

    .calendar-date-box div button {
        font-size: large;
    }

    .calendar-header-box {
        visibility: hidden;
        display: none;
    }

    .calendar-date-box-hide {
        display: none;
    }

    .calendar-grid {
        display: grid;
        grid-template-columns: 15px 1fr;
        grid-template-rows: auto;
        grid-auto-rows: 1fr;
        grid-gap: 4px;
        margin: 4px;
    }

    .calendar-date-box {
        grid-column: 2;
    }

    .calendar-day-of-week {
        display: unset;
        background-color: deepskyblue;
        font-weight: bolder;
        text-align: center;
        vertical-align: central;
        grid-column: 1;
    }

    .search-box {
        display: grid;
        grid-template-columns: 200px 50px;
        grid-template-rows: 25px;
        grid-gap: 4px;
        margin-left: 7px;
    }
    
}