@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root{
    --primary-bg:   #f7f7f8;   /* Body Colour         */
    --secondary-bg: #1b1b25;   /* Header Colour       */
    --tertiary-bg:  #ffffff;   /* Cards Colour        */
    --quaternary-bg: #000000;  /* Cards Border Colour */

    --top-nav-height: 85px;
}



*{
    padding: 0;
    margin: 0;
}


body{
    width: 100%;
    height: 100%;
    background-color: var(--primary-bg);
}

.mt-4 {
    margin-top: 1.5rem!important;
}

.mt-3 {
    margin-top: 1rem!important;
}

.mt-5 {
    margin-top: 3rem!important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.top-nav{
    width: 100%;
    height: var(--top-nav-height);
    background-color: var(--secondary-bg);
    box-shadow: 0 1px 2px rgba(0,0,0,.9), 0 2px 5px rgba(0,0,0,.9) !important;
}

.logo-link{
    margin-left: -12px;
    padding: 15px 15px;
    position: absolute;
    color: #fff !important;
    text-decoration: none;
}

.logo-link img {
    height: auto;
    max-width: 250px;
    display: block;
}

.nav-links{
    width: calc(100% - 250px);
    margin-top: 20px;
    color: #fff;
    float: right;   
}

.nav-links li {
    display: inline;
}

.main-content{
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.card-border{
    border: 1px solid var(--quaternary-bg);
    overflow: hidden;
    border-radius: 4px;
}

.card-body{
    background-color: var(--tertiary-bg);
    padding: 0px
}

.card-body-2{
    background-color: var(--tertiary-bg);
    padding: 1rem 1rem;
}

.card-break{
    width: 100%;
    left: 0px;
    position: absolute;
    margin:0px;
}

/* Accordions */
.accordion {
    background-color: #fff;
    color: #444;
    cursor: pointer;
    padding: 9px;
    width: 100%;
    text-align: left;
    font-weight: bold;
    border: none;
    outline: none;
    transition: 0.4s;
}
  

.active, .accordion:hover {
    background-color: #ccc;
}



.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 0px;
    border: none;
    border-radius: none;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
  }
/* End Accordions */

/* Accordion Tables     */

td {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;

    font-weight: 500;
}

table{
    width: 100%;
}

.table-left{
    text-align: left;
}

.table-right{
    text-align: right;
}

.status-operational{
    color: #46a46c !important;
}

.status-scheduled{
    color: #2c7cb0 !important;
}

.status-problems{
    color: #fbae40 !important;
}

.status-down{
    color: #da304c !important;
}


/* End Accordion Tables */

/* Maintenance */
.maintenance-group{
    padding: 0px 20px 35px 20px;
}

.maintenance-group-hr{
    margin: 0px;
    margin-top: -10px;
    margin-bottom: 10px;
}

.title-offset{
    padding-left: 20px;
}

.maintenance-group-title{
    float:left;
    font-weight: 600;
    color: #2c7cb0;
    font-size: 18px;
}

.maintenance-group-message{
    margin-bottom: 2px;
}

.maintenance-group-date{
    color: grey;
}

/* End Maintenance */


/* Incidents */
.incident-block{
    margin-bottom: 20px;
}

.incident-group-container{
    padding: 0px 20px 35px 20px;
}

.incident-group{
    margin-top: 20px;
}

.incident-group-hr{
    margin: 0px;
    margin-top: 10px;
}

.incident-group-title{
    font-weight: 600;
    font-size: 20px;
    margin-bottom: -10px;
}
.incident-group-title::after{
    content: "\a";
    white-space: pre;
}


.incident-sub-title{
    font-weight: 600;
}

.incident-group-message::after{
    content: "\a";
    white-space: pre;
}

.incident-group-date{
    color: grey;
    margin-bottom: 20px;
}

.incident-message-group{
    margin-top: 10px;
}


/* End Incidents */



/* Nav Bar */



/* End Nav Bar */


/* Buttons */
.delete-button{
    margin-right: calc(0px); 
}
.update-button{
    margin-left: 5px; 
    margin-right: calc(5px);
}

.create-button{
    float: right;
    margin-right: 5px;
}

.outter-create{
    float: right;
    margin: 5px;
}

.form-select{
    width: min-content !important;
    display: initial !important;
    color: none !important;
}

/* End Buttons */