﻿/* Index */
.bg-ssb {
    background-color: #dc0000;
}

.navbrand {
    width: 312px;
}

.ssb-brand img {
    width: 60px;
}

.ssb-logo-nav span {
    font-size: 24px;
    color: white;
}

.ssb-logo img {
    height: 200px;
}

.ssb-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
}

/* Page Container */
.ssb-page-container {
    padding-top: 80px;
    padding-left: 330px;
}

.ssb-page-container.active {
    padding-left: 60px;
}

/* Navigtion */
.navigation {
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;
    width: 330px;
    overflow-x: hidden;
    overflow-y: hidden;
    transition: 0.5s;
    z-index: 100;
    background-color: #ececec;
    transition: 0.2s;
}

.navigation ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.navigation ul li {
    position: relative;
    width: calc(100%+30px);
    list-style: none;
    margin-left: -30px !important;
}

.navigation ul li:nth-child(1):hover {
    background-color: transparent;
}

.navigation ul li a {
    position: relative;
    display: block;
    width: 100%;
    display: flex;
    text-decoration: none;
    color: black;
}

.navigation ul li a:hover {
    background-color: #F8B732;
    color: white;
}

.navigation ul li a .icon {
    position: relative;
    min-width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.navigation ul li a .title {
    position: relative;
    display: block;
    padding: 0 10px;
    height: 60px;
    line-height: 60px;
    white-space: nowrap;
    font-weight: 500;
    font-size: 20px;
}

.navigation.active {
    width: 60px;
}

.navigation.active:hover {
    width: 330px;
}

.navbar-ssb {
    height: 70px;
}

.sb-list-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 20px;
    transition: 0.5s;
}

.sb-list-menu i {
    font-size: 20px;
}

.sb-menu-treeview {
    position: relative !important;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    transition: 0.5s;
}

.sb-menu-treeview li {
    width: 320px;
}

.sb-menu-treeview.active {
    display: flex;
}

.sb-menu-treeview.closed {
    display: none;
}

.sb-list-menu.active i {
    transform: rotate( -90deg);
}

/* SSB View Page */
.ssb-view-page {
    padding-left: 10px;
}

.ssb-view-div {
    padding-left: 10px;
    padding-right: 10px;
}

/* SSB Table */
.ssb-table-scroll {
    overflow: auto;
    height: 300px;
}

.ssb-objtable-scroll {
    overflow-x: scroll;
    overflow-y: scroll;
    height: 40vh;
}

.ssb-table {
    width: 100%;
    table-layout: fixed;
    overflow-wrap: break-word;
}

.ssb-table-theader {
    background-color: #ebebeb;
    color: black;
}

.ssb-table .ssb-table-tr:hover {
    background-color: #F8B732;
    color: white;
}

/* Box Info */
.box-info {
    padding-left: 20px;
    padding-right: 10px;
}

.box-info .box-item {
    width: 100%;
    background-color: #ebebeb;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
}

.box-info .box-item:hover {
    background-color: #fbb718!important;
}

.box-info .box-item.active {
    background-color: #fbb718!important;
}

.box-info .box-item .box-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 5px;
    font-size: 32px;
}

.box-info .box-item .box-icon span {
    font-size: 34px;
    color: black;
}

.box-info .box-item .box-text-container {
    padding-left: 10px;
    font-size: 18px;
    color: black;
    margin-left: 5px;
    display: flex;
    flex-direction: column;
}

/* SSB Menu Bar */
.ssb-menu-bar {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 20px;
}

.ssb-panel-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ssb-panel-menu span {
    width: 110px;
}

/* SSB Form Div */
.ssb-form-container {
    padding: 20px;
    background-color: #fcfcfc;
}

.ssb-form-div {
    width: 600px;
    background-color: #dbdad9;
    padding: 10px;
    margin: 0 auto;
}

.ssb-form-div table {
    width: 100%;
    font-size: 20px;
}

.ssb-form-div input[type=text] {
    font-size: 20px;
}

.ssb-form-div select {
    font-size: 20px;
}

.ssb-form-div table tr {
    height: 50px;
}

.ssb-form-header {
    text-align: center;
    padding: 10px;
    background-color: #d20000;
    margin-bottom: 10px;
}

.ssb-form-header span {
    font-size : 20px;
    font-weight: 600;
    color: white;
}

.ssb-form-button {
    color: white;
    background-color: #f78b00;
    height: 40px;
    width: 110px;
    margin-left: 5px;
}

.ssb-form-footer {
    text-align: center;
    padding: 10px;
    background-color: #d0d1d1;
    margin-top: 10px;
}

.ssb-form-footer button {
    width: 150px;
    background-color: #c90000;
    font-size: 20px;
    color: white !important;
}

/* SSB Modal Object List */
.ssb-modal-header {
    background-color: #132b54;
    color: white;
}

.ssb-modal-selected {
    padding: 20px;
    background-color: #f78b00;
    color: white;
}

.page-container {
    margin-top: 10px;
    padding: 20px;
}

.page-header-text {
    font-size: 24px;
    font-weight: 600;
}

.scb-page-container {
    background-color: #0d2b53;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.scb-checking-menu {
    width: 100%;
    background-color: #F8B732;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.checking-header span {
    font-size: 28px;
    font-weight: 600;
}

.scb-menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.scb-menu-card {
    position: relative;
    width: 300px;
    height: 350px;
    background-color: #F8B732;
    top: 100px;
    border-radius: 10px;
    margin: 50px;
    overflow: hidden;
    cursor:pointer;
}

.scb-menu-image {
    background-color: #E4E8EE;
    width: 100%;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scb-menu-image img {
    height: 220px;
}

.scb-menu-text {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.scb-devices-list {
    height: 60vh;
    padding: 20px;
}

.scb-table-container {
    height: 600px;
    overflow-y: scroll;
}

.scb-table-tr {
    cursor: pointer;
    font-size: 18px;
    color: white;
}

.scb-table-tr:hover {
    background-color: #f78b00;
}

.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.scb-login-img img{

}

.scb-logo-img {
    text-align: center;
    margin-bottom: 20px;
}

.scb-logo-img img {
    height: 150px;
    border-radius: 50%;
}

.login-form {
    width: 100%;
    background-color: #c1c9d4;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.login-welcome-txt {
    font-size: 30px;
}

.scb-logo img {
    width:100px;
}

.gps-container {
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: aliceblue;
    margin: 20px auto;
    padding: 6px;
    border-radius: 5px;
}

.gps-header {
    height: 50px;
    background-color: #0d2b53;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: white;
}

.gps-detail-container {
    width: 100%;
    padding: 15px;
}

.gps-detail-item {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 20px;
}

.gps-footer {
    background-color: #dedfe2;
    width: 100%;
    text-align: center;
    padding: 10px;
}

.static-map-sm {
    display: none;
}

.gps-parameter{
    font-size:16px;
}

/* GPS Info */
.gps-info-container {
    width: 100%;
    margin-top: 50px;
}

.gps-info-header {
    margin: 0 auto;
    width: 650px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 10px 20px 10px 20px;
    background-color: #132b54;
    color: white;
}

.gps-info-item {
    margin: 0 auto;
    width: 650px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding: 10px 20px 10px 20px;
    background-color: aliceblue;
}

.gps-info-btn {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.gps-info-btn button {
    background-color: #f78b00;
    color: white;
    width: 200px;
    margin: 0 10px 0 10px;
}

.report-warning-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    background-color: lightcoral;
    margin: 10px;
    border-radius: 5px;
    padding: 20px;
}

.report-warning-text {
    font-size: 26px;
    font-weight: 600;
}

.report-button-container {
    margin-top: 50px;
}

.report-button-container button {
    background-color: whitesmoke;
    color: black;
    width: 200px;
    font-size: 20px;
}


.image-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.image-item {
    border-radius: 5px;
    border: 1px solid lightslategrey;
    flex: 1;
    padding: 10px;
    display: flex;
    justify-content: center;
    margin: 10px;
    height: 450px;
    width: 450px;
}

.image-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.school-list-container {
    flex: 1;
    border: 1px solid #ebebeb;
    padding: 10px;
    margin: 0px 10px 0px 0px;
}

.school-header {
    text-align: center;
    font-size: 20px;
    background-color: lightgrey;
    padding: 5px;
}

.school-item {
    padding: 5px;
    font-size: 20px;
    cursor: pointer;
}

.school-item:hover {
    background-color: #f9c000;
}

.school-search {
    margin-top: 10px;
    margin-bottom: 10px;
}

.school-search input {
    width: 100%;
    padding: 5px;
    font-size: 20px;
}

.driver-list-container {
    flex: 4;
    border: 1px solid #ebebeb;
    padding: 10px;
}

.compare-img-container {
    display: flex;
    justify-content: center;
}

.compare-img-container img {
    height: 150px;
}

.selected-img img {
    height: 558px;
    max-width: 650px;
}

.selected-img-2 img {
    height: 400px;
}

.order-img-info {
    height: 600px;
    border: 1px solid lightgray;
    padding: 10px;
    border-radius: 5px;
    flex: 1;
    overflow-y: scroll;
}

.order-img-item {
    border: 1px solid #f2f2f2;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

.order-img-item.active {
    background-color: #fbb718 !important;
}

.item-check {
    background-color: darkgreen;
    color: white;
    font-size: 35px;
    padding: 8px;
}

.item-notcheck {
    background-color: gray;
    color: white;
    font-size: 35px;
    padding: 8px;
}

.case-wrapper {
    display: flex;
    justify-content: flex-start;
    padding: 5px 20px 20px 20px;
    flex-direction: column;
    height: 700px;
    overflow-y: auto;
}

.case-container {
    width: 100%;
    display: flex;
    padding: 10px;
    border: 1px solid #f1f1f1;
    border-radius: 5px;
    background-color: #e4e4e4;
    margin-bottom: 5px;
}

.case-image img {
    height: 250px;
}

.case-info-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
}

.case-info-container {
    display: flex;
    background-color: #ededed;
}

.case-info-1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0px 10px;
}

.case-info-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0px 10px;
}

.case-info-txt2 {
    color: #970b0b; 
}

.case-info-value {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0px;
}

.case-btn-container {
    padding: 8px 5px 0px 5px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.case-btn-container button {
    width: 100px;
    height: 35px;
    margin: 0px 10px;
}

@media (min-width: 796px) {
}

@media (max-width: 450px) {
    .scb-login-img{
        display: none;
    }

    .login-form {
        width: 100%;
        margin: 0 auto;
        padding: 30px;
        background-color: #0d2b53;
        color: white;
    }

    .login-welcome-txt {
        font-size: 22px;
    }

    .scb-logo-img {
        text-align: center;
        margin-bottom: 20px;
    }

    .scb-logo-img img {
        height: 60px;
    }

    .checking-header span {
        font-size: 18px;
    }

    .scb-menu-container{
        flex-direction: column;
    }

    .scb-menu-card {
        width: 120px;
        height: 150px;
        top: 20px;
        margin: 15px;
    }

    .scb-menu-image {
        height: 120px;
    }

    .scb-menu-image img {
        height: 100px!important;
    }

    .scb-menu-text {
        font-size: 14px!important;
        height: 30px;
    }

    .scb-table-container {
        height: 200px!important;
    }

    .scb-table-tr {
        font-size: 14px!important;
    }

    .gps-container{
        width:330px;
    }

    .static-map {
        display: none;
    }

    .static-map-sm{
        display:block;
    }

    .gps-parameter {
        font-size: 14px;
    }
}