@charset "utf-8";

:root {
}

html, body {
    height: 100%;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

body {
    height: 100%;
    overflow: hidden;
    -ms-overflow-style: none;
    background: linear-gradient(90deg, rgb(0, 58, 72) 0%, rgb(21, 21, 21) 35%, rgb(0, 56, 67) 100%);
    color: #eee;
    display: -ms-flexbox !important;
    display: flex !important;
}

.dataTables_scrollBody td i {
    font-size: 16px;
}

.flaticon-strawberry {
    color: #da0005
}

.flaticon-tomato {
    color: #da0005
}

.flaticon-cherry-tomato {
    color: #da0005
}

.flaticon-watermelon {
    color: #da0005
}

.flaticon-pepper {
    color: #da0005
}

.flaticon-apple {
    color: #da0005
}

.flaticon-grape {
    color: #913ffc
}

.flaticon-melon {
    color: #f0a818
}

.flaticon-potato {
    color: #997149
}

#preloader {
    background: linear-gradient(90deg, rgb(21, 21, 21) 0%, rgb(0, 58, 72) 50%, rgb(21, 21, 21) 100%);
    z-index: 99999;
}

/*!* 스크롤 바 *!*/
/*::-webkit-scrollbar {*/
/*width: 7px;*/
/*height: 7px;*/
/*}*/

/*::-webkit-scrollbar-button {*/
/*display: none;*/
/*}*/

/*!* Track *!*/
/*::-webkit-scrollbar-track {*/
/*-webkit-box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.5);*/
/*-webkit-border-radius: 5px;*/
/*border-radius: 5px;*/
/*}*/

/*!* Handle *!*/
/*::-webkit-scrollbar-thumb {*/
/*-webkit-border-radius: 5px;*/
/*border-radius: 5px;*/
/*background: #cbcbcb;*/
/*-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);*/
/*}*/
/*::-webkit-scrollbar-thumb:hover {*/
/*background: #ffffff;*/
/*}*/

.table td, .table th {
    vertical-align: middle;
    /*white-space: nowrap;*/
    width: auto;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .02);
}

.table.dataTable tbody > tr.selected {
    background-color: rgba(255, 255, 255, 0.7);
}
.table.dataTable tbody > tr.selected td {
    color: #000 !important;
}

.admin-area-wrap {
    position: absolute;
    top: 10px;
    right: 0px;
}

.map {
    width: 100%;
    height: 100%;
}

.card-box {
    padding: 10px;
    border-radius: 4px;
  border: solid 4px #0d1a2e;
  background-color: #1a355d;
    transition: 0.3s;
}

.btn-light {
    background-color: #bfcde1;
    border: 1px solid #bfcde1;
    margin-top: 4px !important;
}

.main {
    width: 100%;
    min-width: 800px;
    float: left;
    padding-right: 5px;
    display: flex;
    flex-flow: column;
}

.main .header .card-box {
    width: 100%;
    display: inline-block;
}

.main .header .main-title-wrap {
    font-family: 'NanumSquare';
}

.main .header .main-title-wrap .logo {
    font-family: 'NanumSquare';
    width: 310px;
    display: block;
    color: #000;
    font-size: 30px;
    padding-left: 20px;
    font-weight: 800;
    margin-top: 30px;
    float: left;
}

.main-title-wrap .logo > img {
    width: 50px;
    margin-right: 20px;
}

.main .header .main-title-wrap .datetime-wrap {
    float: left;
    margin-top: 15px;
    font-size: 20px;
    font-weight: 600;
}

.main .header .main-title-wrap .datetime-wrap .time {
    font-size: 25px;
}

.main .header .weather-wrap {
    float: left;
    min-width: 700px;
}

.main .header .nav-link {
    color: #000;
}

.main .header .nav-link.active {
    color: #495057;
}

.main .header .input-group-text {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.main .header .input-group {
    min-width: 150px;
}

/* .main .header select {
    min-width: 100px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
} */

.main .header select option {
    margin: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.main .header .weather-content-wrap {
    padding-top: 20px;
    line-height: 30px;
}

.main .header .weather-content-wrap .weather {
    display: inline-block;
}

.main .header .weather-content-wrap .weather div {
    float: left;
}

.main .header .weather-content-wrap .weather > .title {
    padding-left: 10px;
    font-size: 20px;
    font-weight: 900;
}

.main .header .weather-content-wrap .weather > .icon {
    margin-left: 10px;
    margin-top: -5px;
}

.main .header .weather-content-wrap .weather > .icon > i {
    font-size: 40px;
}

.main .header .weather-content-wrap .weather > .content {
    margin-left: 10px;
}

.main .header .weather-content-wrap .weather > .content > .title {
    font-size: 16px;
}

.main .header .weather-content-wrap .weather > .content > .value {
    margin-left: 5px;
    font-size: 18px;
    font-weight: 900;
}

.main .body {
    height: calc(100% - 300px);
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.main .body > .sidebar.left-sidebar {
    padding: 20px 10px;
    width: 230px;
    /* height: 40%; */
    position: absolute;
    z-index: 100;
    /*border: 1px solid red;*/
}

.main .body .farm-crop-wrap {
    /*border: 1px solid red;*/
    height: calc(100% - 200px);
    -ms-overflow-style: none;
    overflow-y: scroll;
}

.main .body .farm-crop-wrap .btn-group-vertical {
    width: 100%;
    /* border: 1px solid #b9b9b9; */
}

.main .body .farm-crop-wrap .btn {
    text-align: left;
}

.main .body .farm-crop-wrap img {
    width: 13px;
}

.main .body .chart-wrap {
    display: inline-block;
    height: 190px;
    padding-top: 10px;
}

.main .body .chart-wrap canvas {
    width: 100%;
}

.main .body .chart-wrap .farm-hd-level-type-wrap > div {
    margin-top: 5px;
    width: 50%;
}

.main .body .chart-wrap .farm-hd-level-type-wrap .farm-hd-level-type {
    padding: 3px 0;
    margin-bottom: 3px;
    border-radius: 4px;
    white-space: nowrap;
}

.main .body .chart-wrap .farm-hd-level-type-wrap .farm-hd-level-type {
    cursor: pointer;
}

.main .body .chart-wrap .farm-hd-level-type-wrap .farm-hd-level-type:hover {
    opacity: 0.8;
}

.main .body .chart-wrap .farm-hd-level-type-wrap .farm-hd-level-type.active span:first-child {
    text-shadow: 1px 1px #818181, -1px -1px #818181, 1px -1px #818181, -1px 1px #818181;
}

.main .body .chart-wrap .farm-hd-level-type-wrap .farm-hd-level-type span:first-child {
    text-shadow: 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
    color: #fff;
    text-align: center;
    display: inline-block;
    width: 50%;
    padding-left: 2px;
    font-size: 11px;
}

.main .body .chart-wrap .farm-hd-level-type-wrap .farm-hd-level-type span:last-child {
    display: inline-block;
    background: #fff;
    width: 40%;
    border-radius: 4px;
    padding: 2px;
    text-align: center;
    color: #000;
    font-size: 11px;
    font-weight: 800;
}

.main .body > .map-wrap {
    /* padding: 5px 0 5px 0; */
    /*border: 1px solid blue;*/
    width: 100%;
    height: 100%;
}

.main .body > .map-wrap .map {
    background: #959595;
}

.ol-attribution {
    top: 0 !important;
    right: 0 !important;
    bottom: initial;
}

.ol-attribution:not(.ol-collapsed) {
    background: rgba(255, 255, 255, 0.7);
}

.main .footer {
    height: 200px;
    padding: 0;
    display: inline-block;
}

.main .footer .farm-alarm-history-wrap {
    width: 450px;
    padding: 10px;
    height: 100%;
}

.main .footer .mentor-msg-history-wrap {
    width: calc(100% - 455px);
    margin-left: 5px;
    padding: 10px;
    height: 100%;
}

.main .footer table {
    margin-top: 10px;
}

.main .footer table {
    margin-top: 0;
}

.main .footer table thead > tr > th {
    border-top: none;
    border-bottom: 1px solid rgba(222, 226, 230, 0.4);
    font-weight: 500;
}

.main .footer table tbody > tr > td {
    border-top: 1px solid rgba(193, 193, 193, 0.18);
}

.main .footer table tbody > tr > td.t_Button {
    padding: 0;
}


/* right-sidebar */
div.sidebar.right-sidebar {
    position: relative;
    float: left;
    width: 500px;
    min-width: 500px;
    padding: 0;
}

.right-sidebar > .card-box > .title {
    font-weight: 900;
    font-size: 16px;
}

.right-sidebar .row label {
    font-weight: 700;
    font-size: 110%;
}

.right-sidebar .farm-sensor-box .sensor-info-box {
    color: #000;
    background: #fff;
    border-radius: 5px;
    width: 100%;
    padding: 10px 5px 10px 5px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    font-weight: 600;
    /*flex-wrap: wrap;*/
}

.right-sidebar .farm-sensor-box .sensor-info {
    font-weight: 800;
    text-align: center;
}

.right-sidebar .farm-sensor-box.farm-sensor-in div[class^="col-"] {
    padding: 0 5px 5px 0;
}

.right-sidebar .farm-sensor-box.farm-sensor-in .sensor-info {
    display: inline-flex;
}

.right-sidebar .farm-sensor-box.farm-sensor-in .sensor-info > .title {
    color: #2e9db6;
    padding-right: 5px;
    font-weight: 600;
}

.right-sidebar .farm-sensor-box.farm-sensor-in .sensor-info > .value {
    text-align: right;
    color: #000;
    /*font-size: 16px;*/
    line-height: 20px;
}

.right-sidebar .farm-sensor-box .sensor-info > .value {
    font-size: 16px;
}

.right-sidebar .farm-sensor-box.farm-sensor-in .sensor-multi-info-box {
    display: flex;
    flex-wrap: wrap;
}

.right-sidebar .farm-sensor-box.farm-sensor-in .sensor-multi-info-box > .title {
    width: 50%;
    font-size: 110%;
    font-weight: 900;
    color: #236f85;
}

.right-sidebar .farm-sensor-box.farm-sensor-in .sensor-multi-info-box > .avg-wrap {
    width: 50%;
}

.right-sidebar .farm-sensor-box.farm-sensor-in .sensor-multi-info-box > .max-wrap {
    width: 50%;
}

.right-sidebar .farm-sensor-box.farm-sensor-in .sensor-multi-info-box > .min-wrap {
    width: 50%;
}

.right-sidebar .farm-chart-box {
    position: relative;
}

.right-sidebar .farm-chart-box .farm-chart-empty {
    position: absolute;
    height: initial !important;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.right-sidebar .farm-chart-box .farm-chart {
    height: 280px;
}

.right-sidebar .farm-chart-box .farm-chart-wrap {
}

.right-sidebar .farm-dong-deviation-box {
    position: flex;
    display: block;
    height: 205px;
    overflow: hidden;
    padding: 10px 0 10px 10px;
}

.farm-dong-deviation-box {
    background-color: #bfcde1;
}

.farm-dong-deviation-title {
    /* width: 306px; */
    padding: 8px;
    background-color: #bfcde1;
    color: black;
    font-size: 18px;
    font-weight: 900;
}

.farm-dong-deviation-info {
    /* min-width: 306px; */
    display: flex;
    color: black;
}

.right-sidebar .farm-dong-deviation-box .farm-dong-deviation-info {
    display: flex;
}

.farm-dong-deviation-info .title-wrap {
    width: 70px;
}

.farm-dong-deviation-info .title-wrap > .title {
    text-align: center;
    font-size: 15px;
    font-weight: 900;
}

.farm-dong-deviation-info .title-wrap > .value {
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    margin-top: 15px;
}

.farm-dong-deviation-info .house-wrap {
    padding-left: 10px;
    /* width: calc(100% - 100px); */
    position: relative;
}

.farm-dong-deviation-info .house-wrap > .title {
    font-size: 15px;
    font-weight: 900;
    width: 50px;
    float: left;
}

.farm-dong-deviation-info .house-wrap > .house {
    width: 60px;
    height: 55px;
    font-size: 15px;
    font-weight: 900;
    float: left;
    /* margin-left: -15px; */
    margin-top: 5px;
    margin-right: 15px;
    margin-bottom: 5px;
}

.farm-dong-deviation-info .sub-house-wrap {
    position: relative;
    float: left;
    height: 60px;
    width: calc(100% - 95px);
    margin-top: 15px;
}

.farm-dong-deviation-info .sub-house-wrap .house.sub-house {
    margin-top: 5px;
}

.house {
    width: 60px;
    height: 60px;
    font-size: 13px;
    border: 2px solid #fff;
    border-radius: 50% 50% 0 0;
    position: relative;
    font-weight: 900;
}

.house .house-top {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.house .house-center {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.sub-house {
    font-size: 12px;
    width: 50px;
    height: 50px;
    float: left;
}

.sub-house:not(first-child) {
    margin-left: 5px;
}

.sub-house .house-top {
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);
}

.sub-house .house-center {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}


@media all and (max-width: 1870px) {
    .main .header .weather-wrap {
        min-width: 700px;
    }

    @media all and (-ms-high-contrast: active), (-ms-high-contrast: none) {
        .main .header .weather-wrap {
            min-width: 200px;
        }
    }
}

@media all and (max-width: 1800px) {
    .main .header .weather-wrap {
        min-width: 700px;
    }

    .main .header .main-title-wrap .datetime-wrap {
        margin-top: 25px;
        font-size: 15px;
    }

    .main .header .main-title-wrap .datetime-wrap .time {
        font-size: 20px;
    }
}

@media all and (max-width: 1740px) {
    .main .header .weather-wrap {
        min-width: 700px;
    }

    .main .header .main-title-wrap {
        margin-top: 0;
    }

    .main .header .main-title-wrap .logo {
        margin-top: 0;
    }

    .main .header .main-title-wrap .datetime-wrap {
        margin-top: 0;
        padding-left: 20px;
        font-size: 15px;
    }

    .main .header .main-title-wrap .datetime-wrap .time {
        font-size: 20px;
    }
}

@media all and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .main .header .weather-wrap {
        min-width: 200px;
    }
}

.farm-admin-btn:hover {
  visibility:initial;

}
