.page-template-page-fullscreen-map .header {
    > .container {
        padding-left: 30px;
        padding-right: 30px;
        width: 100%;
    }
}

.page-template-page-fullscreen-map .main {
    margin: 0;

    > .container {
        display: table;
        height: 100%;
        padding: 0;
        width: 100%;
    }

    .fullscreen-map-wrapper {
        display: table-row;
        height: 100%;
    }

    .fullscreen-map-sidebar, .fullscreen-map-content {
        display: table-cell;
        position: relative;
        vertical-align: top;
    }

    .fullscreen-map-sidebar {
        background-color: map-get($grey, 50);
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
        overflow: scroll;
        padding: 30px;
        width: 800px;
        z-index: 2;

        @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
            width: 450px;

            .form-group {
                width: 100%;
            }
        }
    }

    .fullscreen-map-sidebar-inner {
        bottom: 30px;
        left: 30px;
        position: absolute;
        right: 30px;
        top: 30px;

        .widget_horizontal_filter_widget {
            background-color: #fff;
            box-shadow: none;
            margin: -30px -30px 40px -30px;
            padding: 30px;
        }
    }

    .fullscreen-map-content {
        z-index: 1;
    }
}

#fullscreen-map {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

@media all and (min-width:768px) and (-ms-high-contrast: none), (-ms-high-contrast: active)  {
    .page-template-page-fullscreen-map {
        .gm-style {
            width: 48vw !important;
            height: 100vh !important;
            position: static !important;
        }
    }

    #fullscreen-map {
        position: static !important;
    }
}

@media all and (max-width:1460px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .page-template-page-fullscreen-map {
        .gm-style {
            width: 30vw !important;
        }
    }
}