.map {
    /* min-height: 690px; */
    /* max-height: 790px; */
    /* width: calc(100% - 230px); */
    /* position: fixed; */
    /* height: -o-calc(100vh); /* opera */
    /* height: -webkit-calc(100vh); /* google, safari */
    /* height: -moz-calc(100vh); /* firefox */
    padding: 0px 0px 0px 0px;
}

.ol-zoom {
    top: 4.5em;
    font-size: 1em;
    right: auto;
    left: 0.5em;
}

.ol-zoom-extent {
    top: 8em;
    font-size: 1em;
    right: auto;
    left: 0.5em;
}

.refresh_map {
    top: 9.85em;
    font-size: 1em;
    right: auto;
    left: 0.5em;
}

.add_mappatura {
    top: 1em;
    /*top: 8.3em;*/
    font-size: 1em;
    right: auto;
    left: 0.5em;
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,.4);
    border-radius: 4px;
    padding: 2px;
}

#add_mappatura {
    display: block;
    margin: 1px;
    padding: 0;
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    height: 1.375em;
    width: 1.375em;
    line-height: .4em;
    background-color: rgba(0,60,136,.5);
    border: none;
    border-radius: 2px;
    height: 45px;
    width: 45px;
}

.modale-mappatura {
    height: 670px;
    overflow-y: auto;
}

@media only screen and (max-width: 495px) {
    .ol-zoom-extent {
        top: 9em !important;
    }

    .refresh_map {
        top: 11.4em;
    }

    .modale-mappatura {
        height: 450px;
        overflow-y: auto;
    }
}

.toggler_sidebar_right {
    bottom: auto;
    left: auto;
    right: 10px;
    top: 10px;
    width: 50px;
    height: 50px;
    position: absolute;
    background-color: rgba(255,255,255,.4);
    border-radius: 4px;
    padding: 2px;
}

#show_right_panel {
    display: block;
    margin: 1px;
    padding: 0;
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    height: 1.375em;
    width: 1.375em;
    line-height: .4em;
    background-color: rgba(0,60,136,.5);
    border: none;
    border-radius: 2px;
    height: 45px;
    width: 45px;
}

.ol-overviewmap, .ol-overviewmap, .ol-uncollapsible {
    bottom: 40px;
    top: auto;
}

.ol-mouse-position {
    font-size: 15px;
    left: 170px;
    top: auto;
    bottom: 8px;
    width: 150px;
}

.layer-switcher {
    /* display: inline-block;
    background: #cdf;
    padding: 0.5em; */
    position: initial;
}

.ol-layerswitcher .panel li label {
    max-width: 25em;
}

/*.col-sm-12.ol-custom-overviewmap, .ol-custom-overviewmap .ol-uncollapsible {
    bottom: auto;
    left: auto;
    right: 0;
    top: 0; 
}*/

.ol-custom-overviewmap:not(.ol-collapsed)  {
    border: 2px solid #605CA8;
}

.ol-custom-overviewmap .ol-overviewmap-map {
    border: none;
    width: 250px;
}

.ol-custom-overviewmap .ol-overviewmap-box {
    border: 2px solid red;
}

.ol-custom-overviewmap:not(.ol-collapsed) button{
    /* bottom: auto;
    left: auto;
    right: 1px;
    top: 1px; */
}

.control-sidebar {
    height: calc(100vh - 52px);
    overflow-y: auto;
    overflow-x: hidden;
}

.control-sidebar-bg, .control-sidebar {
    width: calc(350px);
    right: calc(-350px);
}

.btn.btn-info.btn-block {
    color: #494949;
    font-weight: bold;
    background-color: #AACAEF;
    border-color: #AACAEF;
}

.btn.btn-info.btn-block:hover {
    color: #494949;
    font-weight: bold;
    background-color: #BFE299;
    background-image: linear-gradient(to bottom, #BFE299 0%, #AACAEF 74%);
    border-color: #BFE299;
}

.skin-black .main-header>.navbar .navbar-custom-menu .navbar-nav>li>a, .skin-black .main-header>.navbar .navbar-right>li>a {
    border-left: none;
}

#mappatura-form .col-md-12 {
    padding: 10px 10px 0px 10px;
}

#mappatura-form .col-sm-12 {
    padding: 10px 10px 0px 10px;
}

.content {
    padding: 0 15px 0 15px;
}

.button-mappatura {
    display: inline-block;
    border-radius: 4px;
    background-color: #0B3C73;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 14px;
    padding: 10px;
    width: 60%;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
}

.button-mappatura span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.button-mappatura span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.button-mappatura:hover span {
    padding-right: 25px;
}

.button-mappatura:hover span:after {
    opacity: 1;
    right: 0;
}

#comments-container .content {
    min-height: 0px !important;
}

#comments-container .wrapper {
    background-color: #ECF0F5;
}