.section-wrap.block-maps {
    -ms-grid-column: 1;
    -ms-grid-column-span: 13;
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-column-start: 1;
    grid-column-end: 14;
    height: 100%;
}

.section-wrap.block-maps .block-map {
    padding: 0;
    height: 640px;
    position: relative;
}

.section-wrap.block-maps .block-legend {
    margin-top: 3rem;
}

.section-wrap.block-maps #map {
    width: 100%;
    height: 100%;
    border: none;
    z-index: 8;
}

.section-wrap.block-maps .mapFunction {
    position: absolute;
    z-index: 9;
    top: 0.2rem;
    right: 0.2rem;
    padding: 0px;
}

.section-wrap.block-maps .mapFunction .btnTitle {
    position: relative;
    width: 165px;
    background: #fff;
    padding: 0.2rem 1rem;
    color: #000;
    border-color: #23A9A2;
    outline: none !important;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0.3rem;
    margin: 3px;
    border-style: solid;
  }
  
.section-wrap.block-maps .mapFunction .btnTitle.up::after {
    content: "\025b2";
    position: absolute;
    right: 0.5rem;
    color: #23A9A2;
}
  
.section-wrap.block-maps .mapFunction .btnTitle.down::after {
    content: "\025bc";
    position: absolute;
    right: 0.5rem;
    color: #2073B8;
}
  
.section-wrap.block-maps .mapFunction .block-content {
    padding: 0.2rem 0 0 0;
}

  
  
.section-wrap.block-maps .mapFunction button {
    display: block;
    width: 165px;
    background: #fff;
    padding: 0.2rem 1rem;
    color: #000;
    border-color: #23A9A2;
    outline: none !important;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0.3rem;
    margin: 3px;
    border-style: solid;
}

.section-wrap.block-maps .mapFunction button.active {
    display: block;
    width: 165px;
    background: #23A9A2;
    padding: 0.2rem 1rem;
    color: #fff;
    border-color: #23A9A2;
    border-style: inset;
    outline: none !important;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0.3rem;
    margin: 3px;
    border-style: solid;
}

@media (hover:hover){
    .section-wrap.block-maps .mapFunction button:hover {
        display: block;
        width: 165px;
        background: #23A9A2;
        padding: 0.2rem 1rem;
        color: #fff;
        border-color: #23A9A2;
        outline: none !important;
        cursor: pointer;
        font-weight: bold;
        border-radius: 0.3rem;
        margin: 3px;
        border-style: solid;
    }
}

.section-wrap.block-maps .mapsize {
    display: block;
	float: right;
    width: 65px;
    background-color: #fff;
    padding: 0.2rem 1rem;
    color: #000;
    border-color: #958993;
    outline: none !important;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0.3rem;
    margin: 3px;
    border-style: solid;
}

/* popup map */
table.showPopUp {
    border-collapse: collapse;
    width: 100%;
}

table.showPopUp tr td{
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

table.showPopUp tr:nth-child(even) {
    background-color: #eeeeee;
}

table.liveCameraPopUp tr td:first-child{
    width: 50px;
}

@media (max-width: 800px) {
    .section-wrap.block-maps {
        -ms-grid-column: 1;
        -ms-grid-column-span: 25;
        -ms-grid-row: 7;
        grid-column-start: 1;
        grid-column-end: 26;
    }
}

@media (max-width: 550px) {
    .section-wrap.block-maps {
        -ms-grid-column: 1;
        -ms-grid-column-span: 25;
        -ms-grid-row-span: 1;
        grid-column-start: 1;
        grid-column-end: 26;
    }
}
   
@media only print {

    .section-wrap.block-maps .legend-content#legend-size-middle {
        margin-bottom: 30px;
    }

    .section-wrap.block-maps .legend-content#legend-size-middle.show-legends {
        margin-top: 150px;
        margin-bottom: 0;
    }

    .section-wrap.block-maps .legend-content#legend-size-small {
        margin-bottom: 80px;
    }

    .section-wrap.block-maps .legend-content#legend-size-small.show-legends {
        margin-top: 320px;
        margin-bottom: 0;
    }
}

@media only print and (max-width: 800px) {

    .section-wrap.block-maps .legend-content#legend-size-large {
        margin-top: 1rem;
        margin-bottom: 250px;
    }

    .section-wrap.block-maps .legend-content#legend-size-large.show-legends {
        margin-top: 400px;
        margin-bottom: 0;
    }

    .section-wrap.block-maps .legend-content#legend-size-middle {
        margin-bottom: 0;
    }

    .section-wrap.block-maps .legend-content#legend-size-middle.show-legends {
        min-height: 270px;
        margin-top: 1rem;
        margin-bottom: 250px;
    }

    .section-wrap.block-maps .legend-content#legend-size-small {
        margin-bottom: 0;
    }

    .section-wrap.block-maps .legend-content#legend-size-small.show-legends {
        margin-top: 0;
    }
}
.mapFunction {
  max-height: 610px;
  overflow-y: auto;
}