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

#header {
    background: #313333c9;
    width: 100%;
    height: 40px;
    position: absolute;
    z-index: 9999;
}
#wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#map {
    position: absolute;
    /*top: 40px;*/
    width: 100%;
    height: 100%;
}

.fa-external-link {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 22px;
  color: white;
  cursor: pointer;
  display:none;
}

svg {
  position: absolute;
}

.demo {
  width: 50vw;
  height: 50vh;
  background: linear-gradient(45deg, darken(#CC9EC6, 30%), darken(#CC9EC6, 50%));
}

.demo__buttons {
    position: absolute;
    top: 127px;
    left: 87px;
    width: 150px;
    height: 150px;
    transform: translate(-100px, -100px);
    filter: url("#goo");
    z-index:600;
}

.demo__buttons.step-0 .demo__social-btn-1, .demo__buttons.step-0 .demo__social-btn-2,
.demo__buttons.step-0 .demo__social-btn-3, .demo__buttons.step-0 .demo__social-btn-4 {
        transform: translate3d(-35px, -35px, 0);
      }

.demo__buttons.step-1 .demo__social-btn-1 {
        transform: translate3d(-35px, -35px, 0);
      }

.demo__buttons.step-1 .demo__social-btn-2, .demo__buttons.step-1 .demo__social-btn-3,
.demo__buttons.step-1 .demo__social-btn-4 {
    transform: translate3d(-35px, 35px, 0);
}

.demo__buttons.step-2 .demo__social-btn-1 {
    transform: translate3d(-35px, -35px, 0);
}

.demo__buttons.step-2 .demo__social-btn-2 {
    transform: translate3d(-35px, 35px, 0);
}

.demo__buttons.step-2 .demo__social-btn-3, .demo__buttons.step-2 .demo__social-btn-4 {
    transform: translate3d(35px, 35px, 0);
}

.demo__buttons.step-3 .demo__social-btn-1 {
    transform: translate3d(-35px, -35px, 0);
}
.demo__buttons.step-3 .demo__social-btn-2 {
    transform: translate3d(-35px, 35px, 0);
}
.demo__buttons.step-3 .demo__social-btn-3 {
    transform: translate3d(35px, 35px, 0);
}
.demo__buttons.step-3 .demo__social-btn-4 {
    transform: translate3d(35px, -35px, 0);
}

.demo__social-btn {
    position: absolute;
    left: 65px;
    top: 65px;

    width: 50px;
    height: 50px;

    text-align: center;
    line-height: 50px;
    font-size: 23px;

    background: #777777;
    color: #131313;

    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
  }
.demo__social-btn:hover {
      color: white;
      box-shadow: 0 0 15px white;
}
.demo__open-btn {
    position: absolute;
    left: 65px;
    top: 65px;
    width: 50px;
    height: 50px;

    text-align: center;
    line-height: 50px;
    font-weight: 700;
    font-size: 26px;
    font-family: sans-serif;

    background: #777777;
    color: #131313;

    border-radius: 50%;
    cursor: pointer;

    transition: all 0.2s ease;
}
.demo__open-btn:hover, .demo__open-btn.hovered {
      color: white;
      box-shadow: 0 0 15px white;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1101;
    width: 100%;
    height: 100%;
    display: none
}
.modal.is-active {
    display: block
}
.modal.is-active .modal-backdrop {
    opacity: 1;
    visibility: visible
}
.modal.is-active .modal-window {
    opacity: 1;
    visibility: visible
}
@media (min-width: 850px) {
    .modal.is-active .modal-window {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%)
    }
}
.modal.is-huge .modal-window {
    width: 820px;
    height: 80%
}
.modal.is-huge .modal-window .modal-wrapper {
    padding: 0;
    max-height: none
}
.modal.is-mini .modal-window {
    max-width: 300px
}
.modal .is-italic {
    font-style: italic
}
.modal .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition: all 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95)
}
.modal .modal-window {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition: all 0s cubic-bezier(0.445, 0.05, 0.55, 0.95)
}
@media (min-width: 850px) {
    .modal .modal-window {
        left: 50%;
        top: 35%;
        width: 550px;
        height: auto;
        min-height: 100px;
        -webkit-transform: translate(-50%, -60%);
        transform: translate(-50%, -60%)
    }
}
.modal .modal-window .modal-close {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 20px;
    height: 20px;
    z-index: 20;
}
.modal .modal-window .modal-close svg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin: auto
}
.modal-backdrop {
    background: rgba(0, 0, 0, 0.75)
}
.modal-window {
    background: #333333;
    /*border: white solid 1px;*/
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25)
}
.modal-window:before,
.modal-window:after {
    content: "";
    position: absolute;
    height: 20px;
    width: 100%;
    left: 0
}
/*
.modal-window:after {
    bottom: 0;
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #fff);
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #fff);
    background-image: linear-gradient(top, rgba(255, 255, 255, 0), #ffffff)
}*/
.modal-window .modal-close {
    color: #fff;
}
.modal-window .modal-close:hover {
    color: #f0f0f0;
}
.modal-window .modal-wrapper {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    max-height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px
}
@media (min-width: 850px) {
    .modal-window .modal-wrapper {
        max-height: 450px;
        overflow-x: auto
    }
}
@media (min-width: 850px) {
    .modal-window .modal-wrapper.-no-scroll {
        overflow-x: visible;
        overflow-y: visible;
        max-height: none
    }
}
.modal-window .modal-wrapper.has-footer {
    border-bottom: 66px solid transparent
}
.modal-window .modal-wrapper .modal-content {
    height: 200px;
    width: 100%;
    outline: none;
    font-size: 15px;
    color: #fff;
    background-color: #333;
    border:none;
    padding: 10px;
}
.modal-window .modal-wrapper .modal-content.-compact {
    padding: 15px 6px 15px 6px
}
.modal-window .modal-wrapper .modal-content header {
    text-align: center;
    margin: 0 0 20px
}
.modal-window .modal-wrapper .modal-content header h2 {
    font-size: 24px;
    max-width: 300px;
    margin: 0 auto;
    color: #555555
}
.modal-window .modal-wrapper .modal-content p {
    font-weight: 300
}
.modal-window .modal-wrapper .modal-content .successful {
    width: 64px;
    height: 64px;
    margin: 10px auto;
    background: url(/assets/svg-icons/success-744d87ad4f3d7511de64836f706a3666.svg)
}
.modal-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 2;
    padding: 20px
}
.modal-header:before,
.modal-header:after {
    content: " ";
    display: table;
    visibility: hidden;
    font-size: 0;
    height: 0
}
.modal-header:after {
    clear: both
}
.modal-header .gradient {
    content: "";
    position: absolute;
    height: 15px;
    width: 100%;
    left: 0;
    top: 100%;
    background-image: -webkit-linear-gradient(top, #fff, rgba(255, 255, 255, 0));
    background-image: -webkit-linear-gradient(top, #fff, rgba(255, 255, 255, 0));
    background-image: linear-gradient(top, #ffffff, rgba(255, 255, 255, 0))
}
.modal-header ul {
    margin: 15px 0;
    position: relative;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    float: left;
    padding: 4px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: 1px solid #97bd3d;
    border-radius: 45px
}
.modal-header ul li {
    font-size: 19px;
    padding: 10px 20px 7px;
    color: #555555;
    cursor: pointer;
    font-weight: 500;
    border-radius: 40px
}
.modal-header ul li:hover {
    background: #fcfcfc;
    text-decoration: underline
}
.modal-header ul li.is-active {
    color: white;
    background: #97bd3d
}
.modal-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #333333;
    z-index: 2;
    padding: 15px 0;
    border-top: 1px solid #e5e5df
}
.modal-footer:before,
.modal-footer:after {
    content: " ";
    display: table;
    visibility: hidden;
    font-size: 0;
    height: 0
}
.modal-footer:after {
    clear: both
}
.modal-footer .gradient {
    content: "";
    position: absolute;
    height: 15px;
    width: calc(100% - 10px);
    left: 0;
    bottom: 100%;
    border-bottom: 1px solid #e5e5df;
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #fff);
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #fff);
    background-image: linear-gradient(top, rgba(255, 255, 255, 0), #ffffff)
}
.modal-content {
    font-size: 13px
}
.modal-content br {
    display: none
}
.modal-content strong {
    font-weight: 500
}
.selectDiv{
    margin: 10px 0px;
}
select {
    background-color: #333;
}

#basemaps-wrapper {
    position: absolute;
    top: 58px;
    right: 15px;
    z-index: 600;
    opacity: 0.8;
    background: white;
    padding-right: 5px;
    padding-top: 3px;
    width: auto;
    cursor: pointer;
 }

#basemaps {
      background-color: #083F6F;
      color: white;
      margin-bottom: 5px;
      margin-left: 5px;
}

#basemaps-scrollbar {
    height: 266px;
    width: 112px;
    background: #FFFFFF;
    overflow-y: scroll;
    margin-bottom: 25px;
    display: none;
    position: absolute;
    right: 52px;
    top: 57px;
    padding: 10px;
    z-index: 600;
    opacity: 0.8;
    text-align: center;
    margin: auto;
    direction: rtl;
}

.mapPanel {
    position: absolute;
    top: 0px;
    bottom: 0px;
    margin: 0px;
    padding: 0px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 1.00);
    line-height: 1.4em;
    /** TRANSITION **/
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

/*******************************************************
    MAP [RIGHT-PANEL]
*******************************************************/
#rightPanel {
    z-index: 99999;
    top: 40px;
    right: 0px;
    width: 340px;
    background-color: rgba(0, 0, 0, 0.70);
}
#rightPanel .panelSelect {
    position: absolute;
    margin: 0px;
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1.00);
    line-height: 1.4em;
    height: 100%;
}
#rightPanel .panelSelect .topicTitle {
    position: relative;
    /* ADD-MOD */
    margin-top: 10px;
    margin-bottom: 15px;
    padding-right: 54px;
    padding-bottom: 15px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.30);
    cursor: pointer;
}
#rightPanel .panelSelect .topicTitle:hover {
    border-bottom: 1px solid rgba(255, 255, 255, 0.80);
}
#rightPanel .panelSelect .topics {
    /* ADD-MOD */
    position: relative;
    margin: 0px -8px 0px 0px !important;
    padding: 0px 18px 0px 0px !important;
    overflow-x: hidden;
    overflow-y: auto;
    height: 79%;
}

#rightPanel .panelSelect .topics .legend {
    position: relative;
    margin: 10px 0px 20px 0px;
    padding: 0px;
    /*margin-bottom: 10px;*/
}
#rightPanel .panelSelect .topics .legend span.layer-name {
    display: block;
    position: relative;
    margin: 8px 0px;
    padding: 0px 0px 0px 24px;
}
#rightPanel .panelSelect .topics .legend span.layer-name .checkbox {
    display: block;
    position: absolute;
    top: -2px;
    left: 0px;
    margin: 0px;
    padding: 0px;
    font-size: 16px;
    line-height: 1.4em;
    cursor: pointer;
}
#rightPanel .panelSelect .l-title {
    line-height: 15px;
}
.hidden {
    display: none !important;
    visibility: hidden;
}
#rightPanel.hiddenPanel {
    right: -340px;
}
.scroll-thin-dark::-webkit-scrollbar {
    width: 8px;
}
.scroll-thin-dark::-webkit-scrollbar-thumb {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: rgba(102, 102, 102, 1.00);
}
.scroll-thin-dark::-webkit-scrollbar-track {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.10);
}