﻿html,
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.box {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: absolute;
    width: 100%;}

.innerBox {
    display: flex;
    flex-flow: row;
}

.deviceMenu {
    flex: 0 1 auto;
    /*border: 1px dotted grey;*/
    width: 200px;
    resize: horizontal;
}

.innerBoxColFill {
    flex: 1 1 auto;
    /*border: 1px dotted grey;*/
}

/*
.box .row {
    border: 1px dotted grey;
}
*/

.box .row.header {
    flex: 0 1 auto;
    background-color: #FDF9F5;
    border-bottom: 2px solid #C1C1C1;
}

.box .row.subheader {
    flex: 0 1 auto;
    background-color: white;
    border-bottom: 2px solid #C1C1C1;
    padding: 5px;
}

.topMenu {
    padding-top: 18px;
    height: 50px;
    color: black;
    padding-left: 10px;
    font-size: 1.17em;
    font-weight: 500;
    background: #FDF9F5 url('/content/skytracklogo-sm.png') no-repeat 99.5% center;
    background-size: auto 40px;
    padding-right: 10px;
    display: block;
}

.topMenuLink {
    color: black;
    text-decoration: none;
}

.topMenuLink:hover {
    color: darkgray;
}

.box .row.content {
    flex: 1 1 auto;
    display: flex;
    flex-flow: row;
}

.box .row.footer {
    flex: 0 1 auto;
    background-color: #FDF9F5;
    color: black;
    border-top: 2px solid #C1C1C1;
}

.slidecontainer {
    width: 90%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background: #d3d3d3;
    outline: none;
    opacity: 1.0;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    .slider:hover {
        opacity: 1;
    }

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        background: #4CAF50;
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        background: #4CAF50;
        cursor: pointer;
    }

.logOut {
    float: right;
}
.box1 {
    /* Allow box to grow and shrink, and ensure they are all equally sized */
    flex: 1 1 0;
    width: 95%;
}

.box2 {
    /* Use box-sizing so that element's outerwidth will match width property */
    /* Allow box to grow and shrink, and ensure they are all equally sized */
    min-width: 200px;
    width: 300px;
    overflow: scroll;
    background-color: #FFF;
    flex: 0 1 auto;
}

.handler {
    width: 4px;
    padding: 0;
    cursor: ew-resize;
    flex: 0 1 auto;
}

    .handler::before {
        content: '';
        display: block;
        width: 4px;
        height: 100%;
        background-color: darkgrey;
        margin: 0 auto;
    }

.deviceList {
    /*font-family: monospace;*/
}

th.deviceList {
    font-weight: 400;
    border-bottom: 2px solid #F4F0EC;
    text-align: left;
    cursor: pointer;
}

th.deviceListHeader {
    border-bottom: 2px solid #F4F0EC;
    text-align: left;
}

td.deviceList {
    border-bottom: 1px solid #F4F0EC;
    margin: 0px 0px 0px 0px;
    padding-left: 5px;
    line-height: 20px;
    text-align: left !important;
    vertical-align: middle;
    /*padding: .5rem .75rem;*/
}
table.deviceList {
    border-spacing: 0;
    width: inherit;
    /*display: inline;
    width: 100%;*/
}

tr.deviceList:hover {
    background-color: #FDF9F5;
    cursor: pointer;
}

    .modalDialog {

    background: rgba(0,0,0,0.8);
    z-index: 99999;
    opacity: 0;
    display: none;
    pointer-events: none;
}

    .modalDialog:target {
        opacity: 1;
        display: block;
        pointer-events: auto;
    }

    .modalDialog > div {
        /*position: relative;*/
        background: #fff;
        /*
        border-radius: 10px;
        background: -moz-linear-gradient(#fff, #999);
        background: -webkit-linear-gradient(#fff, #999);
        background: -o-linear-gradient(#fff, #999); */
    }

.historyClose {
    float: right;
    color: black;
    cursor: pointer;
    text-decoration: none;
    font-size: 32px;
    padding: 10px;
}

.historyClose:hover{
    background-color: darkgray;
}

.historyMenu {
    color: black;
    background-image: none;
    display: inline-block;
    height: 40px;
    padding-left: 10px;
    font-size: 1.17em;
    font-weight: 500;
    padding-top: 18px;
}

.reportItem {
    width: 300px; 
    text-align: center; 
    padding: 5px;
    height: 150px;
    border: 1px solid #FFF;
    font-weight: 500;
    font-size: smaller;
}

    .reportItem:hover {
        background-color: #E3E3E3;
        border: 1px solid #C3C3C3;
        cursor: pointer;
    }

.reportParam {
padding-right: 5px;
}

/*JSGrid overrides */
.jsgrid-cell {
    padding: .2em;
}

.jsgrid {
    font-size: 0.8em;
}



.settingsLink {
    text-decoration: none;
    color: darkgray;
}

    .settingsLink:hover {
        text-decoration: underline;
    }

    .settingsLink:visited {
        text-decoration: none;
        color: darkslategray;
    }

.loginBox {
    border-radius: 15px;
    display: inline-block;
    padding: 30px 50px 30px 50px;
    background-color: #FFFFFF;
    color: rgb(62, 58, 58);
    font-size: 16px;
    line-height: 17px;
    box-shadow: 0 3px 10px #EAE5DE;
}

.loginButton {
    height: 50px;
    width: 300px;
    text-align: center;
    border-radius: 5px;
    background-color: #da574d;
    font-size: 14pt;
    border: none;
    cursor: pointer;
    color: white;
}

.loginInput {
    height: 30px;
    width: 296px;
    border-radius: 3px;
    border: 1px solid #C1C1C1;
    background-color: white;
    font-family: 'Poppins';
}

.settingsLabel {
    text-align:right; 
    min-width: 160px; 
    display: inline-block;
    padding: 3px;
}


input[type=button] {
    text-align: center;
    border-radius: 3px;
    padding: 5px;
    background-color: #da574d;
    border: none;
    cursor: pointer;
    color: white;
    font-family: 'Poppins';
    min-width: 140px;
}


input[type=submit] {
    text-align: center;
    border-radius: 3px;
    padding: 5px;
    background-color: #da574d;
    border: none;
    cursor: pointer;
    color: white;
    font-family: 'Poppins';
    min-width: 140px;
}

.settingsRHS {
    width: 300px;
    min-width: 300px;
    background-color: #FFF3E5;
    padding: 10px;
}


/*ALAN START*/

body {
    color: #3E3A3A;
}

a,
a:visited {
    color: #000;
}

hr {
    border: 0;
    border-top: 1px solid #ccc;
    height: 0;
    margin: 2rem 0;
}

input,
select,
textarea {
    font-family: "Poppins";
    /*font-size: 16px;*/
}

.form-note,
.form-note i {
    color: #999;
    display: inline-block;
    font-size: 16px;
    font-style: normal;
    margin-bottom: .5rem;
}

    .form-note i {
        margin: 0;
    }

.break {
    flex-basis: 100%;
    height: 0;
}

.box .row.content {
    border: none !important;
}

.box .row.subheader {
    border-bottom: 1px solid #C1C1C1;
}

.topMenu {
    padding-left: 145px;
    background: #FDF9F5 url("/Images/logo-skytrack.svg") no-repeat;
    background-position: 20px center;
    background-size: auto 24px;
}

.topMenu a,
.topMenu span,
.historyMenu a {
    font-size: 18px;
    margin: 0 .25rem;
    padding: .25rem 1rem;
    text-decoration: none;
}

    .topMenu a:hover {
        color: #DA574D;
    }

a.navRight {
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    display: inline-block;
    float: right;
    padding-right: 1.6rem !important;
    margin-right: 1.6rem;
}

a.logout {
    background-image: url("/images/icon-logout.svg");
}

a.modalClose {
    background-image: url("/images/icon-close.svg");
}

a.active,
a.active:hover,
a.active:visited {
    background: #3E3A3A;
    margin: 0;
    padding: .25rem .75rem;
    color: #fff !important;
    border-radius: 5px;
}

.historyMenu {
    display: block;
    height: 50px;
}


#deviceSearchTerm {
    border: 0;
    box-sizing: border-box;
    font-family: "Poppins";
    font-size: 16px;
    padding-left: 30px;
    width: 100%;
    background-image: url("/images/icon-search.svg");
    background-position: 0.5rem center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

    #deviceSearchTerm:focus {
        outline: none;
    }

.row.footer {
    background: #3E3A3A !important;
    color: #FDF9F5 !important;
    font-weight: 400;
    padding: 1rem 1.5rem;
}

    .row.footer b {
        font-weight: 500;
    }

    .row.footer span {
        padding-left: .2rem;
        padding-right: .2rem;
    }

#summaryText ul,
#summaryText li {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#summaryText li {
    padding-right: 2rem;
}


/*Reports */
#reportsView .row:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 1rem;
    max-width: 100%;
    align-items: stretch;
    margin: 3rem;
}

.reportItem {
    border: 1px solid #C1C1C1;
    border-radius: 5px;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease;
}


    .reportItem:hover {
        background: #fff;
        box-shadow: 0 .25rem .25rem rgba(0,0,0,.1);
        margin-top: -3px;
    }

    .reportItem img {
        height: 60px;
        width: 60px;
        margin: 1rem 1rem 0 0;
    }

.reportItemInner {
    box-sizing: border-box;
    padding: .5rem 1rem;
    display: flex;
    align-items: top;
    width: 100%;
    height: 100%;
}

.reportItem p {
}

.reportItem b {
    font-size: 16px;
    font-weight: 600;
}

/*Report Results */
#reportView .subheader {
    /*padding: .5rem 3rem 0 3rem;*/
    border-bottom: 0;
    align-items: center;
    display: flex;
    flex-wrap: wrap
}

    #reportView .subheader h2,
    #reportView .subheader input {
        display: inline-block;
        margin-right: 1rem;
    }

    #reportView .subheader input {
        margin-bottom: 0;
    }

    #reportView .subheader h2 a,
    #reportView .subheader h2 .seperator {
        color: #666;
        font-weight: 400;
        text-decoration: none;
    }

    #reportView .subheader h2 span {
        display: inline-block;
        font-weight: 600;
        margin-bottom: -4px;
    }

    #reportView .subheader h2 .seperator {
        font-weight: 400;
        margin: 0 1rem;
    }

    #reportView .subheader p {
        color: #999;
        margin-top: 0;
    }

#btnRunReport {
    background-image: url("/Images/icon-play.svg");
    background-position: 0.2rem center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    min-width: 100px;
}

#btnExport {
    background-image: url("/Images/icon-export.svg");
    background-position: 0.2rem center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    min-width: 100px;
}