body, .w3-modal{
    max-width: 1200px;
}

.open-sans{
    font-family:'Open Sans', 'OpenSans', 'open-sans'!important;
    font-weight: 600;
    color: #333
}

b{
    font-weight: 800!important;
}

.st1, .st3{
    font-family:'Open Sans', 'OpenSans', 'open-sans'!important;
    font-size: 38px
}

.separator {
    min-height: 0px; 
    background-color: white;
    margin: 0px 0px 16px 0;   
}


.fa, .leaflet-control-zoomhome-out, .leaflet-control-zoomhome-in{
    color: #222!important;
}


#box section .separator{
    background-color: #eee;
}

#box{
    margin: 0;
    margin: 0;
    background-color: #fff;
    opacity: 0.7;
    margin: 0 0 24px;
    padding: 12px;
    height:100%;
    display:flex;
    flex-direction: column;
}

/* Set button side by side */

.toolbox {
    bottom: 0px;
    left: 0px;
    top: auto;
    width: 30%;
    height:100%;
/* min-width: 250px;  */
    max-width: 500px;
    background-color: red;
}
        

/* full width map */
 #map{
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 0;
    cursor: pointer;
} 

/* 1/2 width map 1 */
/* #map1{
    height: 100%;
    width: 50%;
    z-index: 0;
    cursor: pointer;
    /* position: relative;  */
/* } */

/* 1/2 width map 1 */
/* #map2{ */
    /* height: 100%; */
    /* width: 50%; */
    /* z-index: 0;
    cursor: pointer; */
    /* position: absolute;
    top: 0;
    right: 0; */
/* } */ 

/*** Toggle ***/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 1px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
/*  background-color: #2196F3;*/
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(10px);
    -ms-transform: translateX(10px);
    transform: translateX(10px);
}

#pauseButton{
    padding: 3px 8px;
}
        
.button {
    border: 1px solid dimgrey; 
    color: dimgrey; 
    background: rgb(250,250,250); 
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
} 
    /*** End toggle ***/
.legendbox{
    display: inline-block;
    width:20px;
    height:20px;
    background-color: purple;
    margin: 30px 0px 10px 0px;
}

/* flex  (for main layout) */
.flex-container {
    display: flex;
    height: 100vh;
}

.flex-child {
    flex: 2;
    border: 2px solid white;
    background-color: rgb(219,221,224);
    height: 100%;
    overflow: hidden;
}  

.flex-child:first-child {
/*  margin-right: 20px;*/
    flex: 1;
    max-height: 100%;
    max-width: 32%;
}

.flex-child:second-child{
/*    background-color: red;*/
    display: flex;
    flex-direction: row;
}
/* end flex */
        
/* .inline{
    display:inline-block
}

.displayOnMobile .show{
        display:inline-block;
    }

.displayOnMobile .none{
        display:none;
    } */


#text{
    margin: auto;
}

    /*** New window button style ***/
    .newWindow {
         position: relative;
         display: inline-block;
         border: 1px solid;
         width: 9px;
         height: 9px;
    }

    .newWindow:after {
         position: absolute;
         top: -8px;
         right: -3px;
         content: "\1f855";
         /*      content:"\2197"; */
         /*       content:"\2b67";*/
         font-size: 0.95em;
    }
    .newWindow:before {
         position: absolute;
         top: -3px;
         right: -3px;
         content: " ";
         border: 4px solid rgb(219,221,224);
    }

    #infoPanel > a{
        text-decoration: none;
        border-bottom: 2.5px solid black;
        padding-bottom:2px;
    }
    /*** end new window style ***/


        /* #cableInfoPanel is for Cable History and #emailBody is for Connectivity Type */
        #emailBody, #cableInfoPanel{
            clear: both;
            background-color: whitesmoke;
            padding: 5px;
            height: 98%;
            max-height: inherit;
            overflow: scroll;
        }


        /***  ! email style ***/
        #modalImage{
            width: 100%;
            height: 100%;
        }


        #mapTitle{
            font-size: 30px;
        }

        /* hide the hr tag between the divs */
        hr {
           visibility: hidden;
        }

@media only screen and (max-width: 850px) {
    #parent{
        flex-direction: column;
    }
    
    #box{
        flex-direction: row;
        padding: 6px;
    }
    .toolbox, .flex-child:first-child{
        max-width: 100%;
/*        min-height: 300px;*/
         min-height:45vh;
    }
    
    .flex-child:second-child{
     max-height: 60vh;
    }
    
    .displayOnMobile .show{
        display:inline-block;
    }

    .displayOnMobile .none{
        display:none;
    }
    
    
    .hiddenOnMobile .show{
        display:none;
    }
    .hiddenOnMobile .none{
        display:none;
    }
    
    #clearButton {
        padding-top: 0px!important;
    }

    .switch{
        transform: rotate(90deg);
        margin: 10px auto;
    }
    .description{
        display: grid;
        text-align: center;    
    }
        /* info modal */
    .main_div{
      flex-wrap: wrap!important;
      width: 100%!important;
    }
    .first-div {
        border-right: none!important;
    }
    .second-div{
        width: 100% !important;
    }
    
    .modal_steps_half{
        padding: 5px 0px!important;
    }
    
}
    
@media only screen and (max-width: 600px) {
    .w3-container{
        padding: 10px;
    }
    .w3-modal-content{
        margin: auto 0px;
        width: 100% !important;
    }
    .modal_steps_half{
    width: 100% !important;
    }

     .modal_steps_half:nth-child(even) {
        border-bottom:none;
         
    }
    .first-div {
        border-bottom: 1px solid #eee!important;
    }


}
