
*{
    font-family:sans-serif;
    touch-action: pan-y;
}

a{
    color:#ff7b00;
}



/* Content Area */
#content{
    flex:1;
    background-color:#ebedef;
    display: flex;
    flex-direction: column;
    transition:0.5s;

    overflow-x:none;
    overflow-y:auto;
}
.topbar{
    flex:1;
    max-height:70px;
    background-color: #fff;
    color:rgba(44, 56, 74, 0.682);
    line-height:70px;
    border-bottom:1px solid #d8dbe0;
    font-size:20px;
    box-shadow: 0px 2px 2px 0px rgba(60, 75, 100, 0.14);
}
.subbar{
    background-color: #fff;

    box-shadow: 0px 2px 2px 0px rgba(60, 75, 100, 0.14);
    margin-bottom:8px;
    color:rgba(44, 56, 74, 0.682);
}

.fade-in{
    visibility: hidden;
    opacity:0;
    transition: all 1s;
}

.show{
    opacity: 1!important;
    visibility:visible!important;
}

/* Styling for the modal overlay */
.midnight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: fadein 0.5s;
}
.model-container{
    background-color: #ffff;
    border-radius: 10px;
    padding-bottom:10px;
}
/* Styling for the modal content */
.modal {
    overflow-y: auto;
    max-height: 90%;
    min-width:50vw;
}

/* The Close Button */
.close {
    color: #aaa;
    margin-right:16px;
    font-size: 34px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.alert{
    position: absolute;
    border-radius: 5px;
    background-color:#f9b115;
    bottom:150px;
    margin-left:50%;
    transform: translateX(-50%);
    padding: 20px;
    border: 1px solid rgb(214, 214, 214);
    z-index:3;
    text-align:center;
    box-shadow: 1px 1px 9px 2px rgba(0,0,0,0.1);
}
.alert,.alert *{
    color:#fff;
}

/* Sortable */
.sortable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px;
    margin-bottom:10px;
    box-shadow: rgba(60, 75, 100, 0.14) 0px 1px 1px 0px, rgba(60, 75, 100, 0.12) 0px 2px 1px -1px, rgba(60, 75, 100, 0.2) 0px 1px 3px 0px;
}
.sortable thead{
    background-color:#f7f7f7;
    border-bottom: 1px solid #cbcbd0;
}
.sortable th{
    user-select: none;
    text-align: left;
    color:rgba(44, 56, 74, 0.95);
    font-weight:normal;
    box-sizing: border-box;
    padding:10px;
    line-height:20px;
    border-bottom:1px solid #e2e8f0;
    
}
.sortable th:hover{
    cursor: pointer;
    background-color: #fff;
}
.sortable thead th:last-child{
    border-top-right-radius: 5px;
}
.sortable thead th:first-child{
    border-top-left-radius: 5px;
}
.sortable tbody tr:last-child td{
    border: 0;
}
.sortable tbody tr{
    background-color:#ebedef;
}
.sortable tbody tr:nth-child(even) {
    background-color: #ffffff;
}
.sortable tbody tr td:first-child {
    /* font-weight: bold; */
}
.sortable tbody tr td:last-child {
    white-space: nowrap;
    text-align:right;
}
.sortable td{
    color:rgb(59, 59, 59);
    border-bottom:1px solid #e2e8f0;
    box-sizing: border-box;
    padding:10px;
}

/* Forms */
label{
    font-weight: 600;
    font-style: italic;
    display: block;
    width:100%;
    margin-bottom:0px;
    margin-top:10px;
    color:rgba(44, 56, 74, 0.95);
}
label.inline{
    display: inline;
    margin-right:8px;
}
input[type=text],
input[type=search],
input[type=number],
input[type=email],
input[type=password],
input[type=datetime-local],
input[type=date],
textarea,
select{
    font-size:16px;
    width:100%;
    border:1px solid #b1b7c1;
    border-radius: 5px;
    padding:5px;
    margin-top:5px;
    margin-bottom:5px;
    box-sizing: border-box;
    height:38px;
    background-color: #fff;
}
textarea{
    height:100px;
}
input[type=checkbox],input[type=radio]{
    width: 25px;
    transform: scale(2);
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
button{
    border:0;
    padding:10px;
    margin:5px 0px 5px 0px;
    color:#fff;
    font-size:16px;
    border-radius:5px;
    background-color: rgba(79,93,115,1.0);
    user-select: none;
}
button:hover, .button:hover{
    opacity: 0.8;
}
button:active:hover, .button:active:hover{
    opacity:0.6;
}
.button{
    display: inline-block;
    text-decoration: none;
    border:0;
    padding:10px;
    line-height:18px;
    margin:5px 0px 5px 0px;
    color:#fff;
    font-size:16px;
    border-radius:5px;
    background-color: rgba(79,93,115,1.0);
    user-select: none;   
}

/*  */
.left{
    float:left;
}
.right{
    right:0px;
}
.red{
    background-color:#e55353;
}
.green{
    background: #2eb85c;
}
.blue{
    background: #3399ff;
}
.smalltext{
    font-size:12px;

}
.smallonly{
    display:none;
}
#map {
    height: 400px;
  }
  .dot{
    background-color:green;width:10px;height:10px;border-radius:45px;margin-left:5px;
}
@media (max-width: 940px) {
    row {
        flex-direction: column;
    }
    .hamburger{
        float:left;
        margin-top:14px;
        margin-right:10px;
    }
    .hamburger div{
        width: 35px;
        height: 5px;
        background-color: rgba(79,93,115,1.0);
        margin: 6px 0;
    }
    #menu{
        z-index: 2;
        overflow:hidden;
        margin-left:-256px;
    }
    #menu.show{
        position: absolute;
        margin-left:0px;
        width:256px;
    }
    .modal{
        min-width:95vw;
    }
    .bigonly{
        display:none;
    }
    .smallonly{
        display: block;
    }
}


/* Menu */
#menu{
    flex:1;
    background-color:#303c54;
    min-width:256px;
    max-width:256px;
    height:100%;
    transition: all 0.5s;
    overflow-y: auto;
    user-select: none;
}
#menu .brand{
    color:#fff;
    font-size:20px;
    text-align: center;
    line-height: 70px;
}
#menu nav ul{
    list-style: none;
    padding:0;
    margin:0;
}
#menu nav ul li.heading{
    color:rgba(255, 255, 255, 0.6);
    line-height:30px;
    font-size:14px;
    font-weight: 600;
    padding-left:20px;
    padding-top:20px;
    background-color:#303c54;
}
#menu nav ul li{
    background:#3c4b64;
    transition: all 0.5s;
}
#menu nav ul li a{
    color:rgba(255, 255, 255, 0.6);
    text-decoration:none;
    padding-left:64px;
    line-height:40px;
    display: block;
}
#menu nav ul li:not(.heading):hover{
    background: #46546c;

}
#menu nav ul li.active{
    background-color:#46546c;
}
#menu nav ul li.active a{
    color:rgba(255, 255, 255, 0.87);
}

/* Flex */
html{
    height:100%;
    overscroll-behavior-y: none;
}

body{
    margin:0px;
    height:100%;
    width:100%;
    position: fixed;
    overflow: hidden;
}
body > #app{
    height:100%;

    display: flex;
    overflow:hidden;
}

main{
    flex:1 1 auto;
    display: flex;
    flex-direction: column;
    overflow-x:none;
    overflow-y:auto;
    height:0;
    color:rgba(44, 56, 74, 0.682);
}

wrap{
    display: block;
    max-width:1300px;
    margin:0px auto;
}

row {
    display: flex;
    flex-wrap: wrap;
}

row wrap{
    flex:1;
    display: flex;
}

column {
    flex:1;

    overflow-wrap: break-word;
}

quarter{
    flex-basis:25%;
}

third{
    flex-basis:33.333%;
}

half{
    flex-basis:50%;
}

twothirds{
    flex-basis:66.666%;
}

threequarters{
    flex-basis:75%;
}

minimal{
    flex: 0 0 auto; 
}

column,quarter,third,half,twothirds,threequarters,minimal{
    padding:0px 10px 0px 10px;
    box-sizing: border-box;
}

row row column,
row row quarter,
row row third,
row row half,
row row twothirds,
row row threequarters,
row row minimal{
    padding:8px 0px 8px 0px;
}

row row column:not(:first-child):not(:last-child){
    padding:8px 8px 8px 8px;
}
