html,
body {
    height: 100%;
    margin: 0;
    padding: 0;   
} 

.text{
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}

.boldText{
    font-weight: bold;
}

.leftFloat{
     float: left;
}

.rightFloat{
    float: right;
}

.white{
    color: white;
}
/*-------------------------------------- Map -----------------------------------------*/
#backgroundWithMap {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

#map {
    width: inherit;
    height: inherit;
}

.map-container:before, .map-container:after, .map:before, .map:after{
    position: absolute;
    display: block;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.3);
    content: '';
    z-index: 5;
}

.map-container:before {
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
}

.map-container:after {
    right: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
}

.map:before{
    bottom: -5px;
    left: 0;
    right: 0;
    height: 5px;
}

.map:after{
    left: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
}

.gm-style-cc{
    height: 18px !important;
}

#locationBtn{
    background-image: url("img/location.png") !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 2px;
    cursor: pointer;
    margin-right: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

#ShowInformationButton{
    margin-top: 10px;
}

/*---------------------------------------------- Sidebar ----------------------------------------*/
#sideBar {
    height: 100%;
    width: 400px;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    background-color: #ee7107;
    overflow-x: hidden;
    transition: 0.5s;
}

.animatedSidebar {
    width: 360px;
    position: relative;
    padding: 10px;
    margin: auto;
}

#logo {
    width: 200px;
    height: 60px;
    position: relative;
    margin-left: -15px;
}

/*---------------- close button with animation ---------------*/
#closeBtn {
    display: inline-block;
    cursor: pointer;
    position: absolute;
    right: 40px;
    z-index: 90;
}

.bar4 {
    width: 35px;
    height: 35px;
    border-bottom: 5px solid white;
    -webkit-transform: rotate(45deg);
    position: absolute;
    transition: 0.7s;
}

.bar5 {
    width: 35px;
    height: 35px;
    border-bottom: 5px solid white;
    -webkit-transform: rotate(-45deg);
    position: absolute;
    right: -10px;
    transition: 0.7s;
}

.bar6 {
    width: 35px;
    height: 35px;
    border-bottom: 5px solid white;
    position: absolute;
    top: -5px;
    left: -12px;
    visibility: hidden;
}

.transform .bar4 {
    -webkit-transform: translate(-12px, -16px);
    transform: translate(-12px, -16px);
}

.transform .bar5 {
    -webkit-transform: translate(13px, 6px);
    transform: translate(13px, 6px);
}

.transform .bar6 {
    visibility: visible;
    transition: 0.4s;
}

/*-------------- Searchbox and placeholder -----------------------------*/
#searchWindow {
    position: relative;
    height: 50px;
}

#searchBox {
    background-color: #f38e3b;
    font-size: 15px;
    padding: 0 0 0 13px;
    text-overflow: ellipsis;
    width: 345px;
    height: 2.5em;
    color: white;
    position: absolute;
    z-index: 20;
    border: 1px solid white;
}

#searchBox:focus { 
    outline: none !important;
    box-shadow: 0 5px 20px 0 #d64c04;
    border: 3px solid white;
}

#searchIcon {
    position: absolute;
    right: 5px;
    top: -5px;
    z-index: 21;
    cursor: pointer;
}
/* ---- placeholder color for different browsers --------*/
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    white;
    opacity:  0.5;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    white;
   opacity:  0.5;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    white;
   opacity:  0.5;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    white;
   opacity:  0.5;
}

/*---------------- All info about Dowser and water sources -------------*/
#mainInformation {
    position: relative;
    margin-top: 30px;
    z-index: 90;
}

#backArrowDiv {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    margin-top: -30px;
    margin-left: 20px; 
    visibility: hidden;
}

#backArrowImage{
    width: 60px;
    margin-top: -20px;
}

/* -------- Info about Dowser ----------*/
#dowserInfo {
    position: absolute;
    z-index: 1;
}

.background {
    padding: 10px;
    background-color: #f2f3f6;
    border-radius: 2px;
}

.description {
    font-size: 14px;
    line-height: 24px;
    color: black;
}

#legend {
    margin: auto;
    line-height: 14px;
}

.iconDetails {
    height: 40px;
    width: 40px;
    margin-left: -10px;
}

#legendContainer {
    width: 100%;
    height: 160px; 
    margin-top: 5px; 
}

.legendItem {
     width: 45%;
}

.wesType{
    margin-left:5px;
}

/*---------- Hyperlinks -------------*/
#linkContainer {
    margin: 10px;
    width: 100%;
    height: 50px;
}

#FAQLink {
    width: 15%;
}

#additionalInfo{
    margin: 10px;
}

#youtubeLink {
    width: 100%;
    height: 50px;
    float: left;
}

a {
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: white;
}

.background a:link, .background a:visited {
    color:#ee7107;
} 

#allLinks {
    width: 100%;
    font-size: 18px;
}

#appDownloadLinks{
    margin: 10px;
}

.appstoreLink {
    height: 40px;
}

.googleplaystorelink {
     height: 40px;
     margin-right: 20px;
}

/*----------- Info about water sources ----------*/
#WESInfo{
    position: absolute;
    width: 340px;
    padding: 10px;
}

#hydrAddr{
    margin-bottom: 10px;
}

.descriptionAndValue{
    width: 100%;
    height: 24px;
}

.wesDescription{
    width: 40%;
}

.wesValue{
    width: 60%;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis; 
}

/* --------------------------------Votes---------------------------*/
#votes{
    margin-top: 20px;
}

.voteGroup{
   height: 60px;
}

.votePicture{
    width: 9%;
    margin-top: 4px;
}

.voteAuthor{
    color: grey;
    font-size: 12px;
    text-overflow: ellipsis;
    margin-left: 25px;
}

.reasonForDownvote{
    color: black;
    font-size: 12px;
    text-overflow: ellipsis;
    margin-left: 30px;
}

/*------------ Semi transparent overlay ----------------*/
#overlay{
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 10;
    /*left: 400px;*/
    pointer-events: none; 
}

#group{
    display: table-cell;
    vertical-align: middle;
}

#panel-text {
    text-align: center;
    font-family: "Open Sans", sans-serif;
    line-height: 2em;
    font-size: 2.5em;
    width: 50%;
    margin-left: 45%;
}

#panel {
    position: absolute;
    top: 20%;
    z-index: -1;
    padding: 0px;
    background: #fff;
    width: 100%;
    height: 65%;
    color: #000;
    opacity: 0.5;
    visibility: hidden;
    border-radius: 4px;
}

@media only screen and (max-width: 680px) {
    #panel-text {
        font-size: 2em;
        line-height: 1em;
    }
    #panel {
        height: 50%;
    }
    
    #sideBar{
        width: 270px;
    }
    
    .animatedSidebar{
        width: 230px;
    }

    #legendContainer{
        width: 200px;
        height: 200px;
    }

    #searchBox{
        width: 215px;
    }

    #closeBtn {
        right: 30px;
    }

    #linkContainer {
       width: 90%;
    }

    .legendItem{
        width: 100%;
    }

    .text{
        font-size: 12px;
    }

    #WESInfo{
         width: 210px;
         font-size: 11px;
    }

    #hydrDiam{
        width:  60%;
    }

    #hydrDiamValue{
        width: 40%;
    }

    #dischargeValue{
        width: 70%;
    }

    #discharge{
        width:  30%;
    }

    #createdBy{
        width: 30%;
    }

    #createdByValue{
        width: 70%;
    }

    .voteAuthor{
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .googleplaystorelink{
        float: left;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}
