body {
    background-color: #f8f8f8;
    color: #000;
    cursor: auto;
    font-family: "Arial",serif;
    font-style: normal;
    font-weight: normal;
    line-height: 1.4;
    letter-spacing: .03rem;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

img {
    border: 0;
}

form {
    margin: 0;
    padding: 0;
}

input {
    font-family: "Arial",serif;
    font-style: normal;
    font-weight: normal;
    line-height: 1.4;
    letter-spacing: .03rem;
}

input[type="text"], input[type="password"] {
    font-size: 1rem;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none !important;
}

input[type="submit"] {
    background-color: #ccc;
    border: 1px solid #ccc;
    padding: 5px 20px;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: .2s all ease;
}

input[type="submit"]:hover {
    background-color: #bbb;
}




/* PAGE DEF */
.row {
    width: 100%;
    max-width: 1200px;
    min-width: 640px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    -webkit-box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.2); 
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.2);
    box-sizing: border-box;
    padding: 20px;
}



/* ALERTS */
.error {
    background-color: #cc0000;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 30px;
    color: #fff;    
}




/* GLOBAL MARGIN PADDING*/
.mr-20 {
    margin-right: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-100 {
    margin-top: 100px;
}

.pl-10 {
    padding-left: 10px;
}

.pl-20 {
    padding-left: 20px;
}

.pr-20 {
    padding-right: 20px;
}

.pt-100 {
    padding-top: 100px;
}

.pt-120 {
    padding-top: 120px;
}

.pt-150 {
    padding-top: 150px;
}



/* GLOBAL TEXT */
.ta-center {
    text-align: center;
}

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

.blur {
  filter: blur(0.2rem);
}


/* FLEX */
.flex {
    display: flex;
}

.jc-center {
    justify-content: center;
}

.jc-around {
    justify-content: space-around;
}

.jc-between {
    justify-content: space-between;
}



/* BORDER */
.border-r {
    border-right: 1px solid #ccc;
}



/* +++++++++++++++++++++++++ */

.login {
    width: 100%;
    max-width: 500px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin: 50px auto 0 auto;
    padding: 30px 0;
}





.dashboard-logout {
    background: url('../img/logout.svg') top left no-repeat;
    width: 40px;
    display: inline-block;
    background-size: contain;
    overflow: hidden;
    text-indent: -999px;
    height: 40px;
    transform: rotate(180deg);
    opacity: 0.4;
    margin-top: 5px;
}

.dashboard .dashboard-header {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;    
}


.dashboard .dashboard-status {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
    margin-bottom: 5px;
    text-align: center; 
    background-color: #e8e8e8; 
    display: flex;     
}


.dashboard .dashboard-status-left {
    width: 66%;
    border-right: 1px solid #ccc;
    box-sizing: border-box;
    padding: 0 30px;
}

.dashboard .dashboard-status-left div span {
    display: block;
    padding-top: 10px;
    font-size: 0.75rem;
}

.dashboard .dashboard-status-right {        
    box-sizing: border-box;
    padding: 0 20px 0 30px;
    width: 33%;
    text-align: left;
}


@media screen and (max-width: 1000px) {
    .dashboard .dashboard-status {
        display: block;
    }

    .dashboard .dashboard-status-left {
        width: 100%;
    }

    .dashboard .dashboard-status-right {        
        width: 100%;
        margin-top: 50px;
        margin-bottom: 30px;
    }
}


.dashboard .dashboard-status-circle {
    width: 150px;
    height: 100px;    
    border-radius: 20px;
    font-size: 2.9rem;
    color: #fff;
    text-align: center;
    overflow: hidden;
    line-height: 5.7rem;
    font-weight: bold;
    margin: 0 auto;
    box-sizing: border-box;
    border: 5px solid #fff;
}

.dashboard .dashboard-status-status {    
    background-color: #ccc;    
}

.dashboard .dashboard-status-up {    
    background-color: #93a9d4;    
}

.dashboard .dashboard-status-down {    
    background-color: #cc0000;    
}

.dashboard-status-down-opacity {
    /*opacity: 0.3;*/
}



.dashboard-content .website {
    display: block;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 20px;    
    margin-bottom: 30px;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease-in-out;
}

.dashboard-content .website:hover {
   -webkit-box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.2); 
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.2);    
    border: 2px solid #aaa;
}

.dashboard-content .website a {
    color: #444;
    text-decoration: none;
}

.dashboard-content .website-uptime {
    display: inline-block;
    background-color: #aaa;
    color: #fff;
    font-size: 0.75rem;
    line-height: 0.75rem;
    box-sizing: border-box;
    padding: 5px 10px;
    border-radius: 10px;
}



.dashboard-content .website-dates {
    display: flex;
}

.dashboard-content .website-dates div {
    background-color: #93a9d4;
    height: 20px;
    width: 3.3%;
    margin-right: 3px;
    box-sizing: border-box;
    position: relative;
    cursor: help;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.3rem;
    color: #fff;
}

.dashboard-content .website-dates div span {
    visibility: hidden;
    width: 300px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
    line-height: 1.1rem;
    border: 3px solid #fff;
}

.dashboard-content .website-dates div.website-dates-down span {
    border: 3px solid #cc0000;
}


.dashboard-content .website-dates div span h3 {
    margin: 0 0 10px 0;
    border-bottom: 1px dashed #fff;
    padding-bottom: 10px;
}

.dashboard-content .website-dates div span::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border-width: 15px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.dashboard-content .website-dates div:hover span {
    visibility: visible;
    opacity: 1;
}



.dashboard-content .website-dates .website-dates-weekend {
    background-color: #4e6083;
}

.dashboard-content .websites-dates-panel {
    font-size: 0.875rem;
    margin: 10px 0 5px 0;
}

.dashboard-content .website-dates .website-dates-down {
    background-color: #cc0000;    
}

.dashboard-content .website-dates .website-dates-down-light {
    background-color: #de9e14;    
}

.dashboard-content .website-dates .website-dates-weekend.website-dates-down {
    background-color: #9d0000;
}

.dashboard-content .website-dates .website-dates-weekend.website-dates-down-light {
    background-color: #b48520;
}

@media screen and (max-width: 830px) {
    .dashboard-content .website-dates .website-dates-weekend {
        color: #4e6083;
        font-size: 0.001rem;
    }

    .dashboard-content .website-dates .website-dates-weekend.website-dates-down { 
        color: #9d0000;
        font-size: 0.001rem;
    }
}




.dashboard-panel {
    background-color: #aaa;
    margin-bottom: 30px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 0.875rem;
    line-height: 1rem;
    color: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.dashboard-panel a:first-child {
    margin-left: 10px;
}

.dashboard-panel a {
    color: #fff;
    border-bottom: 1px solid #fff;
    text-decoration: none;    
    transition: border 0.3s ease;
    padding-bottom: 2px;
}

.dashboard-panel a:hover {
    color: #fff;
    border-bottom: 1px dotted #fff;
}

.dashboard-panel a.dashboard-intervall-active {
    background-color: #fff;
    color: #404040;
    padding: 4px 8px;
    border-radius: 5px;
}

@media screen and (max-width: 830px) {
    .dashboard-panel {
        display: block;
    }

    .dashboard-reload {
        margin-top: 15px;
    }
}





.dashboard-last-downtime {
    background-color: #fff;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 10px;
}

.dashboard-last-downtime-time {
    background: #fff url('../img/downtime.webp');
    background-size: 27px;
    background-repeat: no-repeat;
    background-position: 16px center;
    padding: 10px 20px 10px 53px;
    box-sizing: border-box;
    border-radius: 10px;
    margin-top: 10px;
}

.dashboard-currently-status {
    background-color: #fff;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #93a9d4;
    box-sizing: border-box;
}

.dashboard-currently-status.dashboard-currently-status-down {
    border: 2px solid #cc0000;
}



.footer {    
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    text-align: center;    
    background-color: #f0f0f0;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 10px;
    margin-top: 30px;
}

.footer a {
    font-size: 0.75rem;
    line-height: 1rem;
    text-decoration: none;
    color: #444;
}