/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : Feb 21, 2022, 9:29:25 PM
    Author     : Molalgne
*/
body {
    font-family: "Google Sans", "Noto Sans", "Lato", sans-serif;
    /*  background:#f2efec; */
}
a.small-link {
    color: #912b3b;
    font-weight:bold;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    overflow-x: scroll;
    overflow-y:scroll;
    transition: 0.5s;
    border: 0;
    box-shadow: 0 1px 2px rgb(60 64 67 / 30%), 0 2px 6px 2px rgb(60 64 67 / 15%);
    /*   opacity: 0.9; */
    height: 100vh;
    background: #FFF;
    width: 308px;
}


.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar .closebtn {
    position: absolute;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.openbtn {
    font-size: 20px;
    color: #555;
    padding-top: 8px ;
    padding-bottom: 8px ;
    padding-left: 2px ;
    padding-right: 4px ;
    margin-left:308px;
    position: absolute;
    z-index: 10;
    border: 0;
    box-shadow: 0 1px 2px rgb(60 64 67 / 30%), 0 2px 6px 2px rgb(60 64 67 / 15%);
    width: 25px;
    height: 48px;
    border-radius: 0 8px 8px 0;
    background: #fff 7px/7px 10px no-repeat;
    transition: 0.5s;
}

.openbtn:hover {
    background-color: #d4d4d4;
}

#main {
    transition: margin-left .5s;
    width:100%;
    /*
    padding-top: 16px;
    padding-left: 16px;
    */


}


#main-chart {
    transition: margin-left .5s;
    width: calc(100% - 308px);
}
#map-div{
    height: 100vh;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }
    .sidebar a {
        font-size: 12px;
    }
}

#bottom-pane {
    bottom: 0;
    right:0;
    height: 120px;
    box-shadow: 0 1px 2px rgb(60 64 67 / 30%), 0 2px 6px 2px rgb(60 64 67 / 15%);
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    background: #FFF 7px/7px 10px no-repeat;
    transition: 0.5s;
}

#bottom-pane .card{
    float:left;
}
.app-viewcard-strip {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: left .2s cubic-bezier(0,0,.2,1);
    transition: left .2s cubic-bezier(0,0,.2,1);
    width:90%;
}
#sidepane{
    z-index: 10;
}


#photo-list{
    list-style: none;
}
section {
    border: 2px solid #FFF;
    -webkit-box-shadow: 0 1px 4px #999;
    -moz-box-shadow: 0 1px 4px #999;
    box-shadow: 0 1px 4px #999;
}
section ul li, section ol li {
    float: left;
    overflow: hidden;
    height: 120px;
    margin: 0;
    padding: 0;
    list-style: none;
    border-right: 2px solid #FFF;
}
.sr-only, #modal-title{
    color:#fff;
}
.carousel-item{
    text-align: center;
    height: 83vh;
}
.carousel-item img{
    object-fit: contain;
}
.modal-dialog{
    max-width:100% !important;
    margin: 0! important;
}
.carousel-inner, .modal-header, .modal-body{
    background: #000;
}
.modal-header{
    border-bottom: 1px solid #333;
    min-height: 40px !important;
}
.modal-content{
    /*height:100%*/
}
.close{
    position: absolute !important;
    right: 8px;
    top: 8px;
}
#bottom-pane-close {
    position: absolute;
    font-size: 20px;
    color: #555;
    padding-bottom: 30px;
    padding-left: 2px;
    padding-right: 4px;
    z-index: 0;
    border: 0;
    box-shadow: 1px 2px rgb(60 64 67 / 30%), 0 2px 6px 2px rgb(60 64 67 / 15%);
    width: 48px;
    height: 25px;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    background: #fff 7px/7px 10px no-repeat;
    left: calc(50% - 24px);
    bottom: 115px;
}

/*#object-detail{
    margin-top: 15px;
}*/

#sidepane #title{
    margin:8px;
    width: 95%;
}

#sidepane #title{
    font-family: "Google Sans", "Noto Sans";
    font-size: 22px;
    fill: rgba(0, 0, 0, 0.74);
    color: #0d6efd;
}

.card p{
    font-size: 0.85rem;
    letter-spacing: .0142857143em;
}


.card h5, .card h5 a{

    line-height: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 0;
}

img {
    max-width: 100%;
    max-height: 100%;
}
#search-box{
    box-shadow: 0 2px 4px rgb(0 0 0 / 20%), 0 -1px 0px rgb(0 0 0 / 2%);

}
.labels {
    margin-top: 60px;
    background-color: white;
    font-size: 10px;
    border: 1px solid black;
    padding: 2px 4px;
}

#object-detail .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid black;
    border-radius: 0.25rem;
    margin-bottom: 10px;
    padding: 1px;
    width: 270px !important;
}

#object-detail .card  img{
    width: 268px !important;
    height: 200px;
    object-fit: cover;
}

#object-detail .card  .card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
    width: 280px !important;
    font-size: 12px;
}

#tab-button {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
#tab-button li {
    display: table-cell;
    width: 20%;
}
#tab-button li a {
    display: block;
    padding: .5em;
    background: #c8c8c8;
    border: 1px solid #ddd;
    text-align: center;
    color: #000;
    text-decoration: none;
    font-size: 13px;
}
#tab-button li:not(:first-child) a {
    border-left: none;
}
#tab-button li a:hover,
#tab-button .is-active a {
    border-bottom-color: transparent;
    background: #fff;
}
.tab-contents {
    border: 1px solid #ddd;
}



.tab-button-outer {

}
.tab-contents {
    margin-top: 20px;
    padding:8px;
}
@media screen and (min-width: 768px) {
    .tab-button-outer {
        position: relative;
        z-index: 2;
        display: block;
    }
    .tab-select-outer {
        display: none;
    }
    .tab-contents {
        position: relative;
        top: -1px;
        margin-top: 0;
    }
}


#logo-container {
    width: 100%;
    background-color: #FFF;
    padding:5px;
}

#logo-container div h2 {
    color: #0075c2;
}
#logo-container div h4 {
    color: #0e948c;
}
#logo-container div p {
    color: #719146;
    font-size: 12px;
    margin: 0;
}
#logo{
    padding-left:40px;
}
#logo,#company-name{
    float:left;
    width:400px
}
#company-name{
    margin-left: 20px;
}
#content{
    margin-left: 308px;
    transition: 0.5s;
}


.tab-content{
    height: calc(100vh );
}

a.navbar-brand{
    line-height:1.0;
}

.nav-tabs .nav-link {
    background: rgb(240, 240, 240);
}
.nav-link {
    color: rgba(0,0,0,.55);
}


#layer-selector{
    margin-left: 10px;
    margin-top: 10px;
}
#au-selector{
    padding-left: 10px;
}


.ui-dialog .ui-dialog-titlebar{
    background: rgba(200, 200, 200, 0.66) !important;
    color: black  !important;
}

.ui-dialog-content, .ui-dialog {
    background: rgba(237, 237, 237, 0.66) !important;

}

.ui-dialog{
    z-index:1000;
}

#dialog-details{
    overflow-y: scroll;
}
#content_overlay{
    height:100vh;
    position: absolute;
    width:100%;
    top: 0;
    display: table;
    left:0;
    z-index: 1000;
    vertical-align: middle;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    color:white;
    line-height: calc(100vh);
}
#content_overlay > #error_message{
    display: table-cell;
    vertical-align: middle;
}
#error_message{
    background-color:#EEE;
    width:50px;
}

@font-face {
    font-family: "demo";
    src: url('fonts/icons.woff') format("woff"), url('fonts/icons.ttf') format("truetype");
}

@keyframes loadingStart {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.loading {
    position: relative;
    pointer-events: none;
    z-index: 10;
}

.loading .loading-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-animation: loadingStart 3s 300ms linear 1 both;
    -moz-animation: loadingStart 3s 300ms linear 1 both;
    -o-animation: loadingStart 3s 300ms linear 1 both;
    animation: loadingStart 3s 300ms linear 1 both;
    background: rgba(255, 255, 255, 0.5);
    text-align: center;
}
.loading .loading-text {
    font-size: 0.875rem;
    line-height: 1.3125rem;
    text-shadow: white 0 0 1em, white 0 0 0.5em, white 0 0 0.25em;
    position: relative;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
}
.loading .loading-text:after {
    content: "...";
}
.loading .loading-spinner {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: -3.9375rem auto 0;
    color: #1a1d1d;
    text-align: center;
}
.loading .loading-icon {
    font-size: 4.8125rem;
    line-height: 5.25rem;
    text-shadow: rgba(255, 255, 255, 0.75) 0 0 0.5em;
    -webkit-animation: loading 1s steps(4) infinite;
    -moz-animation: loading 1s steps(4) infinite;
    -o-animation: loading 1s steps(4) infinite;
    animation: loading 1s steps(4) infinite;
    display: block;
    vertical-align: middle;
}
.loading .loading-icon:before {
    vertical-align: middle;
    content: "\e000";
    font-family: "demo";
}

.sub-detail{
    font-size:11px;
    font-style: italic;
    margin-left:5px;
    margin-right: 10px;
    padding: 5px;
    display:none;
    border: 2px solid #FFF;
    background:#f2efec;
    /*   box-shadow: 0 1px 2px rgb(60 64 67 / 30%), 0 2px 6px 2px rgb(60 64 67 / 15%);
       -webkit-box-shadow: 0 1px 2px rgb(60 64 67 / 30%), 0 2px 6px 2px rgb(60 64 67 / 15%);
       -moz-box-shadow: 0 1px 2px rgb(60 64 67 / 30%), 0 2px 6px 2px rgb(60 64 67 / 15%);
    */

}

#sub-detail-toggle{
    font-size:12px;
    font-style: italic;
    margin-top:-5px;
}


.card-title a {
    text-decoration: none;
}

/*.card-title{
    margin-bottom: 0;
    padding: 0.25rem;
    background: #198754;
}*/
.card-text{
    padding: 0.25rem;
}
.card p{
    font-size: 12px;
    line-height: 18px;
}


#object-detail-chart .card h5, #object-detail-chart .card h5 a{
    font-size: 1.0rem;
    letter-spacing: 0;
    font-weight: 600;
    color: white;
    padding-top: 5px;
    border-radius: 0.25rem 0.25rem 0 0;
    margin-top: -1px;
    margin-left: -1px;
}

.card_federal .card-body{
    background: #FFF;
    border: 1px solid #353;
}
.card_federal .card-body .card-title{
    background: #353;
    background-clip: border-box;
    border: 1px solid black;
    border-radius: 0.25rem 0.25rem 0 0;
    margin-top: -1px;
}

.card_region .card-body{
    /*   background: #EAF9FD; */
    border: 1px solid #000;
    padding: 0 !important;
    background-clip: border-box;
    border: 1px solid black;
    border-radius: 0.25rem;
}
.card_region .card-body .card-title{
    background: #888;
    padding-left:10px;
}

.card_zone .card-body{
    /*   background: #F5E9E9; */
    border: 1px solid #000;
    padding: 0 !important;
    background-clip: border-box;
    border: 1px solid black;
    border-radius: 0.25rem;
}
.card_zone .card-body .card-title{
    background: #888;
    padding-left:10px;
}

.card_woreda .card-body{
    background: #FFF;
    border: 1px solid #000;
    padding: 0 !important;
    background-clip: border-box;
    border: 1px solid black;
    border-radius: 0.25rem;
}
.card_woreda .card-body .card-title{
    background: #888;
    padding-left:10px;
}
.card_cws .card-body{
    background: #CCC;
    border: 1px solid #644;
}
.map-title .card-body .card-title {
    background: #888;
    padding-left: 10px;
    margin-left: -17px;
    margin-right: -4px;
    margin-top: -18px;
    color: white;
    background-clip: border-box;
    border-radius: 0.25rem 0.25rem 0 0;
}

.card_mws .card-body{
    background: #FFF;
    border: 1px solid #446;
}
.card_mws .card-body .card-title{
    background: #446;
}

.card_no_result, .card_federal{
    margin-left: 10px;
    width: 270px;
}

.card_region{
    margin-left: 0px;
    width: 270px;
}

.card_zone{
    margin-left: 10px;
    width: 260px;
}


.card_woreda{
    margin-left: 20px;
    width: 250px;
}
.card_cws{
    margin-left: 50px;
    width: 230px;
}

.card_mws{
    margin-left: 60px;
    width: 220px;
}
.small_links{
    font-size: 13px;
}

.detail-total{
    font-size: 13px;
}

.chart-sub-detail{
    font-size: 11px;

}
.detail-view{
    display:none;
}

.small-link{
    font-size: 12px !important;
}
.card-text, .card-text a {
    padding-bottom:0 !important;
    padding-top:0 !important;
    padding-left: 10px;
    line-height: 1;
}


.card-text, .card-text a {
    padding:0 !important;
    line-height: 1;
}
p{
    padding: 0 !important;
    margin-bottom:0.3rem !important;
}

.detail-total{
    margin-left: 10px;
}
#legend {
    background: #fff;
    padding: 10px;
    margin: 10px;
    border: 1px solid #000;
    display:none;
}

#videoModal{
    position: fixed;
    bottom: 0;
    right: 0px !important;
    z-index: 1060;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}
#modal-video-dialog{
    position: fixed;
    bottom: 0;
    right: 20px !important;

}
.modal-video-title{
    color: white;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 0;
    background-color: #000;
}

.card-body .sub-detail-zone{
    margin-left: -17px;
    padding-left: 10px;
    background: #FE7c00;
    margin-right: -4px;
    margin-top: -10px;
    color: white;
    font-size: 11px;
    line-height: 1.7em;
    margin-bottom:10px;
}


.card-body .sub-detail-dashboard{
    padding-left: 10px;
    margin-top: -8px;
    font-size: 11px;
    color: white;
    line-height: 1.7em;
    margin-bottom:10px;
    margin-left: -1px;
}

.card-body .sub-detail-map{
    margin-left: -17px;
    padding-left: 10px;
    margin-right: -4px;
    margin-top: -10px;
    color: white;
    font-size: 11px;
    line-height: 1.7em;
    margin-bottom:10px;
}


.card-body .sub-detail-dashboard-woreda, .card-body .sub-detail-map-woreda{
    ;
    background:#ffa500;
}


.card-body .sub-detail-dashboard-zone, .card-body .sub-detail-map-zone{
    ;
    background: #FA9000;
}

ul.info_body_list li{
    list-style: none;
    margin-left: -20px;

}

/* width */
::-webkit-scrollbar {
    width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #fff;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#au-info{
    background-color: #fff5e6;
    border-bottom: 3px solid #FA9000;    
    color: #005e8d;
    position:absolute;
    width: 240px;
    font-size: 14px;
    padding-top: 8px ;
    padding-bottom: 8px ;
    padding-left: 2px ;
    padding-right: 4px ;
    position: absolute;
    z-index: 10;
    top: 80px;
    left: 348px;
    display: none;
}