:root{
    --perspective: none;
    --cubeRotX: 0deg;
    --cubeRotY: 0deg;
    --cameraRotX: -28deg;
    --cameraRotY: -18deg;
    --cameraRotZ: -8deg;
    --cubeSize: 400px;
    --cubeHeight: 500px;
    --halfcubeHeight: calc(var(--cubeHeight) / 2);;
    --halfcubeSize: calc(var(--cubeSize) / 2);
    --scewX: -8deg;

    --main-green: rgb(117,192,67);
    --main-blue: #0090c7;

    --mousemoveX:0px;
    --mousemoveY:0px;
}
@font-face {
    font-family: MonsterratLight;
    src: url('../fonts/Montserrat-Light.ttf');
}
@font-face {
    font-family: Toothy;
    src: url('../fonts/toothy.ttf');
}
svg{
    pointer-events: none;
}
.englishchange{
    font-size: 16px;
    font-family: 'Roboto-bold';
    font-weight: bolder;

    text-decoration: none;
    color: #fff;
    display: inline-block;
    width: 100%;

    padding:12px;
}
.mainnav{
    display:flex;
}

#suggestbutton{
    --width:100px;
    --height:100px;

    background: url(../images/suggestbutton.png);
    background-size: var(--width) var(--height);
    width:var(--width);
    height:var(--height);

    position:absolute;
    left:0;
    top:calc( 50% - var(--height));
    z-index: 100;

    cursor: pointer;
}
@media screen and (max-width: 800px) {
    #suggestbutton{
        --width:60px;
        --height:60px;
    }
}

#donatebutton{
    --width:100px;
    --height:100px;

    background: url(../images/donatebutton.png);
    background-size: var(--width) var(--height);
    width:var(--width);
    height:var(--height);

    position:absolute;
    left:0;
    top:calc( 50% + 10px);
    z-index: 100;


    display:none;
    cursor: pointer;
}


.ol-popup {
    position: relative;
    font-size: 0.8em;

    bottom: 12px;
    transform: translate(-50%, -100%);
    color: white;
    padding:20px;
    border-radius: 50px;
    box-sizing: border-box;
    border: 3px dashed rgb(117,192,67);
    border-image-source: url(../images/granici.png);
    border-image-slice: 126 139 121 115;
    border-image-width: 63px;
    border-image-outset: 0px;
    border-image-repeat: repeat repeat;
    max-width: var(--cubeSize);
    min-width: 190px;
    pointer-events: none;
    /* height: var(--cubeHeight); */
    background-color: #28292D;
    text-align: justify;
}

.natural{
    color:#f6e4aa;
}
.natural2 {
    color: #bfffa1;
}
.manmade{
    color:white;
}
.living {color: rgb(252 41 41);}

.water {color: blue;}

.soil {color: #3f1515;}

.climate {color: #fff21b;}
.ol-popup p:last-child{
    margin-bottom: 0;
}
#ol-popup-content{
    line-height: normal;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: #28292D;
    border-width: 10px;
    left: 50%;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 50%;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 10px;
    background-image: url(../images/cube/popupx.png);
    background-size: 100% 100%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display:none; 
    /* look here ^ */
}
/* .ol-popup-closer:after {
    content: "✖";
} */

.cornerbutton{
    position:absolute;
    top:50px;
    z-index:100;
    user-select: none;
    cursor: pointer;
    background-color: #28292D;
    padding: 19px;
    height:35px;
    width:80px;
    display:flex;
    align-items: center;
    justify-content: center;
}

#alpimenubutton{
    left: 0;
    font-size: 3rem;
    /* font-family: Toothy; */
    font-family: 'KB Danube', Toothy;
    color:#FF0000;
    border-bottom-right-radius: 50%;
    padding-left: 10px;
    min-width: 90px;
}
#vitoshabutton{
    display:none;
    background-color: #000000;
    border-bottom-right-radius: 50%;
    left: 0;

    padding-left:10px;
    min-width:100px;
}
#sofiabutton{
    display:none;
    background-color: #000000;
    
    position:absolute;
    right: 0;
    top:50px;
    z-index:100;
    user-select: none;
    cursor: pointer;
    color:#FF0000;
    padding: 19px;
    /* background-color: #28292D; */
    border-bottom-left-radius: 50%;
}
.ol-zoom{
    top:100px;
}
.ol-control{
    background-color: #28292D
}
.ol-control button {
    color:#28292D;
    background-color: var(--main-green);
}
.ol-scale-line-inner{
    color:black;
    border: 1px solid #000;
}
.ol-scale-line {
    background: var(--main-green);
    top: 170px;
    bottom: initial;
}
#kongbutton{
    position:absolute;
    right: 0;
    top:50px;
    z-index:100;
    user-select: none;
    cursor: pointer;
    color:#FF0000;
    padding: 19px;
    background-color: #28292D;
    border-bottom-left-radius: 50%;
}
#alpimenu{
    display: none;
}
#alpisearchbox{

    cursor:move;

    box-sizing: border-box;
    perspective:  var(--perspective);
    position: absolute;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-bottom: 0;
    /* transform: 
        translateX(-50%)
        translateY(-50%)
            
            rotateX(var(--cameraRotX))
            rotateY(var(--cameraRotY))
            rotateZ(var(--cameraRotZ))
            skewX(var(--scewX))
            rotateX(90deg)
            translateZ(var(--halfcubeSize));   */
    /* transform: translateY(-237%) translateX(-53%); */
    /* height: var(--cubeSize) !important; */
    /* height: initial !important; */
    /* width: var(--cubeSize); */
    background-color: transparent !important;
    border: none !important;
    z-index: 1;



    height:var(--cubeSize) !important;
    perspective: var(--perspective);
    transform: 
        translateX(-50%)
        translateY(-50%)
            rotateX(var(--cameraRotX))
            rotateY(var(--cameraRotY))
            rotateZ(var(--cameraRotZ))
            skewX(var(--scewX))
            rotateX(var(--cubeRotX))
            /* rotateY(var(--cubeRotY)) */
            rotateX(90deg)
            translateZ(var(--halfcubeSize));  

        /* background-color: white !important; */
    
}
#topside{
    height:var(--cubeSize) !important;
    transform: 
    translateX(-50%)
    translateY(-50%)
        rotateX(var(--cameraRotX))
        rotateY(var(--cameraRotY))
        rotateZ(var(--cameraRotZ))
        skewX(var(--scewX))
        rotateX(var(--cubeRotX))
        rotateY(var(--cubeRotY))
        rotateX(90deg)
        translateZ(var(--halfcubeSize));  

}
#alpisearchbox input{
    width:80%;
    padding: 10px;
    font-size:1.5em;
    border-radius: 30px;
    box-shadow: inset 4px 4px 15px #333;
}
#alpisearchbox input{
    background-image: url("../images/magnifying-glass.svg");
    background-size: 30px 30px;
    background-position: 2% 50%;
    background-repeat: no-repeat;
    text-indent: 30px;
}

#search2{
    /* display: flex; */
    position: relative;
    justify-content: center;
    align-items: center;
    display:none;
}

#search2 input{
    background-image: url(../images/magnifying-glass.svg);
    background-size: 30px 30px;
    background-position: 2% 50%;
    background-repeat: no-repeat;
    text-indent: 30px;
    width: 80%;
    padding: 5px;
    font-size: 1.3em;
    border-radius: 30px;
    box-shadow: inset 4px 4px 15px #333;
}

#search-results2{
    position: absolute;
    top: 50px;
    width: 200px;
    background: black;
    padding: 10px;
    max-height:70vh;
    overflow-y: scroll;
    display:none;
}
.searchresult{
    cursor: pointer;
    padding:5px 0;
}
#profilepage{
    padding:30px;
    margin-left: 80px;
    text-align: center;
}
#profilepage h1{
    font-size:25px;
}
div.link{
    cursor:pointer;
}
div.link:hover{
    color:lightblue;
}
#listgps{
    margin-left: 80px;
    height:100%;
    overflow-y: scroll;
}
#listgps h2{
    margin-top: 23px;
    margin-bottom: 23px;
    text-align: center;
}
.gpsitem{
    width:100%;
    display: flex;
    gap:10px;
}
.gpsname{
    flex:3;
    overflow: hidden;
}
.gpsdate{
    flex:2;
}
.gpsitem > *{
    text-align: left;
    padding: 3px;
}
#alpicube{

    position:fixed;
    perspective: var(--perspective);
    z-index:100;
    background-color: turquoise;
    font-family: MonsterratLight;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%) translate(var(--mousemoveX),var(--mousemoveY)) scale(0.9) ;
    animation-name: popin;
    animation-duration: 0.2s;
    animation-timing-function: ease-out;

}



@keyframes popin {
    from {
        transform: translate(-50%,-50%) translate(var(--mousemoveX),var(--mousemoveY)) scale(0);
    }
    to {
        transform: translate(-50%,-50%) translate(var(--mousemoveX),var(--mousemoveY)) scale(0.9);
    }
  }

@keyframes popinmobile {
    from {
        transform: translate(-50%,-50%) translate(var(--mousemoveX),var(--mousemoveY)) scale(0);
    }
    to {
        transform: translate(-50%,-50%) translate(var(--mousemoveX),var(--mousemoveY)) scale(0.7);
    }
}
@media screen and (min-width:1400px){
    #alpicube{
        left:25%;
    }
}
@media screen and (max-width: 600px){
    #alpicube{
        animation-name: popinmobile;
        transform: translate(-50%,-50%) translate(var(--mousemoveX),var(--mousemoveY)) scale(0.5);
    }
}

#alpicube #sidebar{
    position:absolute;
    display: flex;
    flex-direction: column;
    height:70%;
    margin-top:15%;
    width:15%;
    margin-left:2.5%;
    margin-right:2.5%;
    align-items: center;
    justify-content: space-between;
    z-index:1;
}
#alpicube .circlebutton{
    width:50px;
    background-color: rgb(50,57,65);
    border: 2px solid #a5e06d;
    height: 50px;
    border-radius:50%;
    overflow:hidden;
    background-size: 40px 40px;
    background-position-x: 5px;
    background-position-y: 5px;
    background-repeat: no-repeat;
    
    box-shadow: 0px 0px 28px -2px #000000;

    display:flex;
    justify-content: center;
    align-items: center;
    font-size:19px;
    font-family: MonsterratLight;
}

#alpicube .circlebutton.selected{
    background-color:var(--main-green);
    border-color:rgb(50,57,65);
}

#alpicube .circlebutton:hover{
    filter: brightness(1.2);
}
#alpicube #menuhome{
    background-image: url('../images/house.svg');
}
#alpicube #menuhome.selected{
    background-image: url('../images/house_clicked.svg');
}
#alpicube #menuterrain{
    background-image: url('../images/terrain.svg');
}
#alpicube #menuterrain.selected{
    background-image: url('../images/terrain_clicked.svg');
}
#alpicube #menuprofile{
    background-image: url('../images/profile.svg');
}
#alpicube #menuprofile.selected{
    background-image: url('../images/profile_clicked.svg');
}
#alpicube #menuinfo{
    background-image: url('../images/info.svg');
}
#alpicube #menuinfo.selected{
    background-image: url('../images/info_clicked.svg');
}
#alpicube #menulanguage{
    width:40px;
    height:40px;
}

.infomenuoption{
    margin-right: 10px;
    /* white-space: nowrap; */
}

.menucontent{
    display:none;
}
#alpicube > div{
    color:white;
    border-radius: 50px;
    box-sizing: border-box;

    /* border: 3px dashed rgb(117,192,67);    
    border-image-source: url(../images/granici.png);
    border-image-slice:126 139 121 115;
    border-image-width:63px;
    border-image-outset:0px;
    border-image-repeat:repeat repeat; */
    
    width:var(--cubeSize);
    height:var(--cubeHeight);
    text-align: right;
    background-color: #28292D;
    position:absolute;
    overflow:hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: 500ms;
}
#alpicube > div > div{
    user-select: none;
}
#menu1container{
    /* background-color: rgb(117,192,67); */
    color: white;
    /* width:90%; */
    position:relative;
    float:right;
    border-radius: 50px;
    /* margin:20px; */
    padding:30px 0 30px 30px;
    /* padding:10px; */
    /* height: 100%; */
    /* border-right:3px dashed black;
    border-top:3px dashed black;
    border-left:0;
    border-bottom:0; */
    
    /* border-image-source: url(../images/graniciB.png);
    border-image-slice:126 139 121 115;
    border-image-width:63px;
    border-image-outset:0px;
    border-image-repeat:repeat repeat; */
    
    /* margin-right:10px; */
    position: relative;
    box-sizing: border-box;
    align-items: flex-end;
    display:flex;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
}

#languageselector{
    background-color: var(--main-green);
    position:relative;
    top:272px;
    left:140px;
    padding:10px 20px;
    border-radius: 30px;
    display:flex;
    gap:10px;
    box-shadow: 5px 5px 30px 0px #000000;
    width: fit-content;
}
#loginscreen{
    width: 60%;
    position: relative;
    left: 120px;
    top:40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#loginscreen .loginsplash{
    background-image: url('../images/profile.svg');
    background-size: 100px 100px;
    background-position: center;
    background-repeat: no-repeat;
    align-self: center;
    width: 100px;
    padding:10px;
    height: 100px;
    border: 5px solid var(--main-green);
    border-radius: 50%;
}
#loginscreen .moreoptions{
    white-space: nowrap;
    flex-direction: column;
    align-items: end;
    display:flex;
    justify-content: space-between;
    color: lightgray;
    font-size: 0.8em;
}
#loginscreen #loginbutton{
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    font-size: 1.2em;
    font-family: MonsterratLight;
    cursor: pointer;
}
.blackbutton{
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    font-size: 1.2em;
    font-family: MonsterratLight;
    cursor: pointer;
    margin:10px;
}
#uploadgpstrack{
    height: 100%;
    margin-left: 80px;
    text-align: center;
    padding: 50px;
}
#dropZone{
    width: 100%;
    border: 2px dashed white;
    height: 43%;
    color:black;
    background-color: var(--main-green);
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loginscreen .forgottenpass{
    font-style: italic;
    cursor: pointer;
}
#loginscreen input{
    background-color: black;
    color: white;
    border: none;
    font-size: 1.5em;
    padding: 10px;
}
#loginscreen #username{
    background-image: url("../images/profile.svg");
    background-size: 30px 30px;
    background-position: 2% 50%;
    background-repeat: no-repeat;
    text-indent: 30px;
}
#loginscreen #password{
    background-image: url("../images/lock.svg");
    background-size: 30px 30px;
    background-position: 2% 50%;
    background-repeat: no-repeat;
    text-indent: 30px;
}
#leftsidefront .title{
    font-size: 1.5em;
    font-family: MonsterratLight;
    color: white;
    text-align: center;
    margin-top: 30px;
}
#leftsidefront #donatesubmit{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 10px;
    gap: 10px;
}

#leftsidefront input[type=image]{
    background-color: #fff;
    padding:10px;
    flex-basis: 100%;
    width:150px;
    height: 38px;
    /* display:block; */
    /* width:150px; */
}
#leftsidefront #chooseamount input{
    width: 20%;
    height: 23px;
    font-size: 1em;
}

#leftsidefront #chooseamount{
    padding: 10px;
    font-size: 1.5em;
    text-align: center;
}
#leftsidefront .ctrl-form2 li{
    text-align: left;
}
#leftsidefront .ctrl-form2 textarea{
    width: 100%;
    height: 100px;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 1.2em;
    font-family: MonsterratLight;
    box-sizing: border-box;
}
#leftsidefront .ctrl-form2 input{
    border:none;
    padding:7px;
    font-size: 1.2em;
    font-family: MonsterratLight;
    border-radius: 5px;
    margin-bottom: 10px;
}

#menu2container{
    background-color: rgb(117,192,67);
    /* box-shadow: -5px -5px 16px 0px #000000; */
    color: white;
    width:90%;
    float:right;
    border-radius: 50px;
    height: 100%;
    display:flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;

    /* border-left: 3px dashed rgb(117,192,67);    
    border-image-source: url(../images/granici.png);
    border-image-slice:126 139 121 115;
    border-image-width:63px;
    border-image-outset:5px;
    border-image-repeat:repeat repeat; */
}
#home-alpi-menu{
    text-align: center !important;
    padding-top:67px;
}
#home-alpi-menu > *{
    margin-top:54px;
    cursor: pointer;
}
#home-alpi-menu > h2{
    margin-top:0;
    margin-bottom:56px;
    cursor: initial;
}
.greentext{
    color: var(--main-green);
}
#kong{
    background-image: url("../images/logo_KONG_3D_yellow_2.png");
    background-size: 150px 100px;
    background-position: center;
    background-repeat: no-repeat;
    width: 150px;
    height: 100px;
    padding-left:259px;
}
#sofialogo{
    background-image: url("../images/cube/sofialogo.png");
    background-size: 120px 140px;
    background-position: center;
    background-repeat: no-repeat;
    width: 120px;
    height: 140px;
    padding-left: 290px;
}
#iiilogo{
    background-image: url("../images/iii.png");
    background-size: 170px 170px;
    background-position: center;
    background-repeat: no-repeat;
    width: 170px;
    height: 170px;
    padding-left: 227px;
}
#evropalogo{
    background-image: url("https://admin.spatium.bg/upload/imgs/Sofia_layer_group/Programa_Evropa_Logo.jpg");
    background-size: 190px 85px;
    background-position: center;
    background-repeat: no-repeat;
    width: 190px;
    height: 85px;
    padding-left: 226px;
}
#alpi-worked-on-map{
    text-align: center;
    position: relative;
    top:15px;
}
#alpi-worked-on-map img{
    /* margin: 0 15%; */
    /* width:70%; */
}
.toothy{
    color:red;
    font-size: 1.5em;
    font-family: Toothy;
}
ul.alpi{
    position:relative;
    top:10px;
    text-align: justify;
}
ul.alpi ul{
    padding-left: 20px;
}
ul.alpi li::before{
    content:'';
    background-image: url('../images/point.svg');
    background-size: 10px 10px;
    width:10px;
    position:absolute;
    top:8px;
    left:-14px;
    margin-right: 5px;
    height: 10px;
    display:inline-block;
}
.alpi-block-text{
    --ptop:70px;
    --pbot:38px;
    text-align: justify;
    width:calc(100% - 20px);
    padding:0 20px;
    overflow-y: scroll;
    height:calc( 100% - var(--ptop) - var(--pbot) );
    position:absolute;
    top: var(--ptop);

}
#donatecontainer{
    position:relative;
    top:15px;  
}
#menu1container > div{
    position: relative;
    pointer-events: initial;
    right:3px;
    padding:0 10px 0 10px;
    border:1px solid transparent;
    border-radius: 20px;
    /* cursor: pointer; */
}
#menu1container > div::after{
    content:'';
    background-image: url('../images/point.svg');
    background-size: 10px 10px;
    width:10px;
    height: 10px;
    display:inline-block;
}
#menu1container > div.red::after{
    background-image: url('../images/pointRed.svg');
}
#menu1container > div::before{
    content:'';
    background-image: url('../images/magnifying-glass.svg');
    margin-right:30px;
    vertical-align: middle;
    background-size: 20px 20px;
    width:20px;
    height: 20px;
    display:inline-block;
    filter: opacity(0);
}
#menu1container.infomenucontainer > div::before{
    margin-right:10px;
}

#menu1container > div:hover:before{
    filter: brightness(0) saturate(100%);
}
#menu1container > div:hover{
    box-shadow: #000;
    cursor: pointer;
    background-color: rgb(117,192,67);
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    /* border:1px solid black; */
}
#alpisubmenu2 > div{
    background-color: rgb(117,192,67);
    border-radius: 50px;
    height: 100%;
    padding:20px;
    box-sizing: border-box;
    width: 90%;
    float: right;
}
input.invisible{
    display:none;
}
input.invisible2{
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
span.custom-checkbox{
    --sizeOfCheckbox:15px;
    width:var(--sizeOfCheckbox);
    height:var(--sizeOfCheckbox);
    border-radius:calc(var(--sizeOfCheckbox) / 2);
    position:absolute;
    background-color: white;
    top:2.5px;
    right: calc(-2px - var(--sizeOfCheckbox));
}

span.custom-checkbox::after{
    content:'';
    position:absolute;
    width:calc(var(--sizeOfCheckbox) - 5px);
    height:calc(var(--sizeOfCheckbox) - 5px);
    background-color: black;
    border-radius: 50%;
    top: 2.5px;
    left: 2.5px;
    display:none;
}
input.invisible2:checked ~ .custom-checkbox::after{
    display:block;
}

label.submenuoption{
    --sizeOfCheckbox:15px;
    position:relative;
    cursor: pointer;
    right:var(--sizeOfCheckbox);
}
.magnifing-glass-button{
    position:relative;
    top:16px;
    left:13px;
    background-image: url('../images/magnifying-glass.svg');
    background-size: 40px 40px;
    background-position: center;
    background-repeat: no-repeat;
    width:40px;
    height: 40px;
    display: inline-block;
    cursor: pointer;
    filter: brightness(0) saturate(100%);
}

#alpisubmenu2 .slider{
    --width:50px;
    display: inline-block;
    width:var(--width);
    height:calc(var(--width) / 2);
    border-radius: calc(var(--width) / 4);
    background-color: white;
    position:relative;
    border:1px solid black;
    top:5px;
    transition: 0.4s;
}
#alpisubmenu2 .slider::before{
    content:'';
    width:calc(var(--width) / 2);
    height:calc(var(--width) / 2);
    border-radius: 50%;
    position:absolute;
    left:0;
    transition: 0.4s;
    background-color: black;
}
#alpisubmenu2 input:checked + .slider{
    background-color: var(--main-green);
    
}

#alpisubmenu2 input:checked + .slider::before{
    content:'';
    width:calc(var(--width) / 2);
    height:calc(var(--width) / 2);
    border-radius: 50%;
    position:absolute;
    left:calc(100% - calc(var(--width) / 2));
    background-color: black;
}
#searchcontainer{
    --left-offset:80px;
    overflow-y: scroll;
    padding: 10px;
    height: 90%;
    top:5%;
    width: calc(100% - var(--left-offset));
    left: calc(var(--left-offset) - 28px);
    position: relative;
}

.sidebulge{
    --size:100px;
    width:var(--size);
    height:var(--size);

    position:absolute;
    top:calc(50% - calc(var(--size) / 2));
    left:5%;
    transform: rotate(45deg);
    border-radius: 25%;
    background-color: rgb(117,192,67);
}

#alpisubmenu2 .menutitle::before{
    content:'';
    position:absolute;
    top:50%;
    left:-25px;
    transform: translateY(-50%);

    background-image: url(../images/magnifying-glass.svg);

    background-size: 20px 20px;
    width: 20px;
    height: 20px;

    filter: brightness(0) saturate(100%);
}

#alpicube .closemenuX{
    background-image: url(../images/closemenu.png);
    width: 100%;
    height: 20px;
    background-repeat: no-repeat;
    cursor: pointer;
    background-size: 20px 20px;
    background-position: right;
    margin-bottom: 20px;
}
#alpicube .closemenu.blackleft{
    --size:40px;
    background-image: url(../images/white-arrow.png);
    width: 100%;
    height: var(--size);
    background-repeat: no-repeat;
    cursor: pointer;
    background-size: var(--size) var(--size);
    background-position: left;
    margin-bottom: 20px;
    transform: rotateY(180deg);
}
#alpicube .closemenu.blackright{
    --size:40px;
    background-image: url(../images/white-arrow.png);
    width: 100%;
    height: var(--size);
    background-repeat: no-repeat;
    cursor: pointer;
    background-size: var(--size) var(--size);
    background-position: right;
    margin-bottom: 20px;

    filter: invert(61%) sepia(39%) saturate(614%) hue-rotate(53deg) brightness(100%) contrast(96%);
}
a.white{
    color:white;
}
li.elipsis{
    overflow-x:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#alpisubmenu2 .menutitle{
    position:absolute;
    top:50%;
    color:white;
    left:10%;
    transform: translateY(-50%);
}

#alpisubmenu1 input[type="radio"]{
    visibility: hidden;
}
#alpisubmenu1{
    position:relative;
    perspective: var(--perspective);
    transform: 
        translateY(-50%)
        translateX(-50%) 
        rotateX(var(--cameraRotX))
        rotateY(var(--cameraRotY))
        rotateZ(var(--cameraRotZ))
        skewX(var(--scewX))
            rotateX(var(--cubeRotX))
            rotateY(var(--cubeRotY)) 
        translateY(calc(var(--halfcubeSize) * -1)) 
        translateY(50%) 
        translateZ(var(--halfcubeSize))  
        
        
}
#alpisubmenu2{
    perspective: var(--perspective);
    /* background-color: rgb(117,192,67) !important; */
    transform: 
        translateY(-50%)
        translateX(-50%)
            rotateX(var(--cameraRotX))
            rotateY(var(--cameraRotY)) 
            rotateZ(var(--cameraRotZ)) 
            skewX(var(--scewX))
            rotateX(var(--cubeRotX))
            rotateY(calc( var(--cubeRotY) + 90deg )) 
    translateY(calc(var(--halfcubeSize) * -1)) 
    translateY(50%) 
    translateZ(var(--halfcubeSize))  
    
} 

.backside{
    z-index:0;
    background-color: black !important;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}
#backside1{
    perspective: var(--perspective);
    transform: 
        translateY(-50%)
        translateX(-50%) 
        rotateX(var(--cameraRotX))
        rotateY(var(--cameraRotY))
        rotateZ(var(--cameraRotZ))
        skewX(var(--scewX))
            rotateX(var(--cubeRotX))
            rotateY(var(--cubeRotY)) 
        translateY(calc(var(--halfcubeSize) * -1)) 
        translateY(50%) 
        translateZ(var(--halfcubeSize))  
        
        rotateY(180deg);
    
}
#bottomside{
    z-index: -1;

    height:var(--cubeSize) !important;
    perspective: var(--perspective);

    transform: 
    translateX(-50%)
    translateY(-50%)
        rotateX(var(--cameraRotX))
        rotateY(var(--cameraRotY))
        rotateZ(var(--cameraRotZ))
        skewX(var(--scewX))
        rotateX(var(--cubeRotX))
        rotateY(var(--cubeRotY))
        translateY(var(--cubeHeight))
        rotateX(90deg)
        translateZ(var(--halfcubeSize))
        ;  

}
#rightside{
    perspective: var(--perspective);
    
    transform: 
        translateY(-50%)
        translateX(-50%) 
        rotateX(var(--cameraRotX))
        rotateY(var(--cameraRotY))
        rotateZ(var(--cameraRotZ))
        skewX(var(--scewX))
            rotateX(var(--cubeRotX))
            rotateY(calc( var(--cubeRotY) + 90deg ))
        translateY(calc(var(--halfcubeSize) * -1)) 
        translateY(50%) 
        translateZ(var(--halfcubeSize))   
        
        rotateY(180deg);
        z-index: -1;
}
#frontside{
    perspective: var(--perspective);
    transform: 
    translateY(-50%)
    translateX(-50%) 
    rotateX(var(--cameraRotX))
    rotateY(var(--cameraRotY))
    rotateZ(var(--cameraRotZ))
    skewX(var(--scewX))
        rotateX(var(--cubeRotX))
        rotateY(calc( var(--cubeRotY)))
    translateY(calc(var(--halfcubeSize) * -1)) 
    translateY(50%) 
    translateZ(var(--halfcubeSize))
    rotateY(180deg);
    z-index:-1;
        /* background-color: ghostwhite !important; */
}

#leftside{
    height:var(--cubeHeight) !important;
    perspective: var(--perspective);
    transform: 
        translateY(-50%)
        translateX(-50%) 
        rotateX(var(--cameraRotX))
        rotateY(var(--cameraRotY))
        rotateZ(var(--cameraRotZ))
        skewX(var(--scewX))
            rotateX(var(--cubeRotX))
            rotateY(calc( var(--cubeRotY) + 270deg ))
        translateY(calc(var(--halfcubeSize) * -1)) 
        translateY(50%) 
        translateZ(var(--halfcubeSize))
        rotateY(180deg)
        ;
    z-index:-1;
}
#leftsidefront{
    height:var(--cubeHeight) !important;
    perspective: var(--perspective);
    transform: 
        translateY(-50%)
        translateX(-50%) 
        rotateX(var(--cameraRotX))
        rotateY(var(--cameraRotY))
        rotateZ(var(--cameraRotZ))
        skewX(var(--scewX))
            rotateX(var(--cubeRotX))
            rotateY(calc( var(--cubeRotY) + 270deg ))
        translateY(calc(var(--halfcubeSize) * -1)) 
        translateY(50%) 
        translateZ(var(--halfcubeSize))
        ;
    z-index:1;
}
#backside{
    background-color: rgb(117,192,67) !important;
    perspective: var(--perspective);
    transform: 
        translateY(-50%)
        translateX(-50%) 
        rotateX(var(--cameraRotX))
        rotateY(var(--cameraRotY))
        rotateZ(var(--cameraRotZ))
        skewX(var(--scewX))
            rotateX(var(--cubeRotX))
            rotateY(calc( var(--cubeRotY) + 180deg ))
        translateY(calc(var(--halfcubeSize) * -1)) 
        translateY(50%) 
        translateZ(var(--halfcubeSize))     
            rotateY(180deg);

        z-index:-1;
}
#backside3{
    perspective: var(--perspective);
    transform: 
        translateY(-50%)
        translateX(-50%) 
        rotateX(var(--cameraRotX))
        rotateY(var(--cameraRotY))
        rotateZ(var(--cameraRotZ))
        skewX(var(--scewX))
            rotateX(var(--cubeRotX))
            rotateY(calc( var(--cubeRotY) + 180deg ))
        translateY(calc(var(--halfcubeSize) * -1)) 
        translateY(50%) 
        translateZ(var(--halfcubeSize)) ;   
            /* rotateY(180deg); */

        z-index:1;
}
#backside4{
    perspective: var(--perspective);
    transform: 
    translateY(-50%)
    translateX(-50%) 
    rotateX(var(--cameraRotX))
    rotateY(var(--cameraRotY))
    rotateZ(var(--cameraRotZ))
    skewX(var(--scewX))
        rotateX(var(--cubeRotX))
        rotateY(calc( var(--cubeRotY) + 270deg ))
    translateY(calc(var(--halfcubeSize) * -1)) 
    translateY(50%) 
    translateZ(var(--halfcubeSize))  
        
        rotateY(180deg);
}

.leaflet-popup{

    min-width: 220px;
}

section{
    clear:both;
}
section.accord-section h1{
    clear:both;
}

.spinner{
    z-index: 7482;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%) scale(0.1);
    pointer-events: none;
}

.piechart{
    position: absolute;
    z-index:100;
    top:0;
    left:0;
    pointer-events: none;
    background-color: transparent;
}

table.popuppresidentscontainer{
    text-align: center;
    min-width:260px;
    width:100%;
    height:100%;
}
table.popuppresidentscontainer td{
    white-space: nowrap;
    height:26px;
}
/* Handle */
::-webkit-scrollbar {
    width: 15px;
  }
  
  /* Track */
::-webkit-scrollbar-track {
/* box-shadow: inset 0 0 5px grey;  */
/* border-radius: 10px; */
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #8dc63f; 
/* border-radius: 10px; */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: darken(#8dc63f); 
}

#searchresults{
    max-height:47vh;
    overflow-y: auto;

}
#lastupload{
    max-height:47vh;
    overflow-y: auto;
}
#searches{
    position:relative;
    height: 100vh;
    /* padding: 80px 0; */
    /* background: #ecffd2; */
}
#knigi,#karti{
    position: absolute;
    /* display: inline-block; */
    width:100vw;
    padding:0;
    height: 100vh;
    /* left:-23px; */
}
#knigi > .wrapper {
    margin: 80px auto 80px auto; 
}
#karti > .wrapper {
    margin: 80px auto 80px auto; 
}
#knigi{
    overflow: hidden;
    border: #ecffd2 solid 3px;
}
.draghandle{
    display:flex;
    align-items: center;
    justify-content: space-between;
    position:absolute;
    width:120px;
    height: 200px;
    z-index: 2;
    top: 50% !important;
    transform: translateY(-50%);
    left:0px;
    cursor: grab;
    /* background-color: blueviolet; */
}
.startanimdrag{
    animation-name: deviderhandleanim;
    animation-duration: 4s;
    animation-iteration-count:1;
    animation-delay: 1s;
}

@keyframes deviderhandleanim{
    0% {
        left:0;
    }
    50%{
        left:calc(100% - 123px);
    }
    100%{
        left:0;
    }
}
@keyframes devideranim{
    0% {
        width:62px ;
    }
    50%{
        width:calc(100% - 62px);
    }
    100%{
        width:62px;
    }
}
@keyframes deviderhandleanimmobile{
    0% {
        left:-62px;
    }
    50%{
        left:calc(100% - 62px);
    }
    100%{
        left:-62px;
    }
}
@keyframes devideranimmobile{
    0% {
        width:0;
    }
    50%{
        width:100%;
    }
    100%{
        width:0;
    }
}

.devider{
    overflow: hidden;
    /* height: calc( 100%  + 160px ); */
    height: 100%;
    width:63px;
    box-sizing: border-box;
    border-image-slice:2 2 2 2;
    border-style: solid;
    border-image-width:3px 3px 3px 3px;
    border-image-outset:0px 0px 0px 0px;
    border-image-repeat:repeat repeat;
    border-image-source:url("../images/onlyrighttrans.png");
    position: relative;
}
.startanimdevider{
    animation-name: devideranim;
    animation-duration: 4s;
    animation-iteration-count:1;
    animation-delay: 1s;
}
@media screen and (max-width: 1000px){
    .startanimdrag{
        animation-name: deviderhandleanimmobile;
    }
    .startanimdevider{
        animation-name: devideranimmobile;
    }
    .devider{
        width:6px;
    }
    .draghandle{
        left: -62px;
    }
}
.whitedevider{
    border-image-source: url("../images/onlyrighttranswhite.png");
}
.query{
    border: 2px solid black;
    border-radius: 5px;
    width:50vw;
    height: 40px;
    padding:10px;
    font-size:2em;
}

#media,#media2{
    background-image: url(../images/medii.jpg) !important;
    overflow-y: hidden;
}
.leaflet-popup-content {
    /* width: auto !important; */
    /* display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0px !important;
    margin-bottom: 0 !important;
    padding: 10px; */
}
#searchresults > li > span:nth-child(1){
    width: 100%;
    overflow: hidden;
}
.search-result{
    /* margin:5px; */
    text-align: left;
    display: flex;
    justify-content: space-between;   
    white-space: nowrap; 
    width:100%;  
}
.search-result .text{
    overflow: hidden;
    width: calc( 100% - 31px );
    text-overflow: ellipsis;
    white-space: nowrap;  
    display:inline-block;

}
/* #lastupload > li > span:nth-child(1) > span.text{
    max-width:100%;
    overflow:hidden;
    display:inline-block;
    text-overflow: ellipsis;
} */

#searchresults .search-result a{
    margin-right:5px;
    white-space: nowrap;
}
#lastupload{
    clear:both;
}


/*Todor*/
.lf-text-icon-inverted7 {
    margin-left: 0px !important;
    width: 260px !important;
    font-family: 'IrinaCTT';
    font-size: 1.2em;
    text-transform: uppercase;
    color: wheat;
    text-align: center;
}

.lf-text-icon-inverted6 {
    margin-left: 0px !important;
    width: 160px !important;
    font-family: 'IrinaCTT';
    font-size: 0.8em;
    text-transform: uppercase;
    color: wheat;
    text-align: center;
}

.lf-text-icon {
    margin-left: 0px !important;
    width: 200px !important;
    font-family: 'Oranienbaum';
    /* font-family: Arial; */
}
.lf-text-iconjp {
    margin-left: 0px !important;
    width: 200px !important;
    /* font-family: 'Oranienbaum'; */
    font-family: Arial, sans-serif;
}

.lf-text-icon-city {
    margin-top: -17px !important;
    font-size: 1.1em;
}
.lf-text-icon-levskicity9 {
    margin-top: -21px !important;
    font-size: 19.6px;
}
.lf-text-icon-levskivillage9 {
    margin-top: -15.5px !important;
    margin-left: 0.3px !important;
    font-size: 16.5px;
}
.lf-text-icon-levskicity8 {
    margin-top: -17px !important;
    font-size: 16px;
}
.lf-text-icon-levskivillage8 {
    margin-top: -20px !important;
    /* margin-left: 0px !important; */
    font-size: 17px;
}
.lf-text-icon-levskinational_capital8 {
    font-size: 1.4em;
    margin-left: 3px !important;
    margin-top: -20px !important;
    text-decoration: underline;
    font-weight: bold;
}
.lf-text-icon-levskinational_capital9 {
    font-size: 2.7em;
    margin-left: 0px !important;
    margin-top: -38px !important;
    text-decoration: underline;
    font-weight: bold;
}
.lf-text-icon-levskicity7 {
    margin-top: -17px !important;
    font-size: 14px;
}
.lf-text-icon-levskinational_capital7 {
    font-size: 1.3em;
    margin-left: 0px !important;
    margin-top: -18px !important;
    text-decoration: underline;
    font-weight: bold;
}




.lf-text-icon-jpnational_capital8 {
    font-size: 1.25em;
    margin-left: 0px !important;
    margin-top: -17px !important;
    text-decoration: underline;
    font-weight: bold;
}
.lf-text-icon-jpcity8 {
    margin-top: -13px !important;
    margin-left: 1px !important;

    font-size: 11px;
}
.lf-text-icon-jpbig_city8 {
    margin-top: -17px !important;
    margin-left: 1px !important;

    font-size: 14.0px;
}
.lf-text-icon-jpbig_city7 {
    margin-top: -16px !important;
    margin-left: 1px !important;

    font-size: 12px;
}
.lf-text-icon-jpcity7 {
    margin-top: -17px !important;
    margin-left: 1px !important;

    font-size: 0;
}
.lf-text-icon-jpnational_capital7 {
    font-size: 1.2em;
    margin-left: 1px !important;
    margin-top: -20px !important;
    text-decoration: underline;
    font-weight: bold;
}







.lf-text-icon-national_capital {
    font-size: 1.3em;
    margin-top: -20px !important;
    text-decoration: underline;
    font-weight: bold;
}


.demo-lf-text-icon-city {
    margin-top: -13px !important;
    margin-left: 8px !important;
    font-size: 1.1em;
}

.demo-lf-text-icon-national_capital {
    font-size: 1.3em;
    margin-top: -38px !important;
    margin-left: 17px !important;
    text-decoration: underline;
    font-weight: bold;
}

.demo-areas-lf-text-icon-city {
    margin-top: -20px !important;
    margin-left: 15px !important;
    font-size: 1.4em;
}

.demo-areas-lf-text-icon-national_capital {
    font-size: 1.8em;
    margin-top: -22px !important;
    margin-left: 10px !important;
    text-decoration: underline;
    font-weight: bold;
}

.lf-text-icon-city7 {
    margin-top: -17px !important;
    font-size: 1.1em;
}

.lf-text-icon-national_capital7 {
    font-size: 1.3em;
    margin-top: -20px !important;
    text-decoration: underline;
    font-weight: bold;
}

.lf-text-icon-city8 {
    margin-top: -21px !important;
    font-size: 1.4em;
}

.lf-text-icon-national_capital8 {
    font-size: 1.6em;
    margin-top: -26px !important;
    text-decoration: underline;
    font-weight: bold;
}

.leaflet-popup-content table {
    border-collapse: collapse;
}

    .leaflet-popup-content table tr td {
        border: 1px solid black;
        padding: 5px;
    }

h3 a {
    text-decoration: none;
}
/*End Todor*/

#top2,#media2{
    width:100vw;
    position: relative;
    left: -0.5px;
}
/*/* --- Fonts --- */
@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fa-solid-900.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IrinaCTT';
    font-style: normal;
    font-weight: 400;
    src: local('IrinaCTT'), local('IrinaCTT-Normal'), url(https://allfont.ru/cache/fonts/irinactt_2ba6af4165a8062e1196a062baa748fe.woff) format('woff'), url(https://allfont.ru/cache/fonts/irinactt_2ba6af4165a8062e1196a062baa748fe.ttf) format('truetype');
}

/* oranienbaum-regular - cyrillic-ext_latin_cyrillic */
@font-face {
    font-family: 'Oranienbaum';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/oranienbaum-v7-cyrillic-ext_latin_cyrillic-regular.eot'); /* IE9 Compat Modes */
    src: local('Oranienbaum'), local('Oranienbaum-Regular'), url('../fonts/oranienbaum-v7-cyrillic-ext_latin_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/oranienbaum-v7-cyrillic-ext_latin_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/oranienbaum-v7-cyrillic-ext_latin_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/oranienbaum-v7-cyrillic-ext_latin_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/oranienbaum-v7-cyrillic-ext_latin_cyrillic-regular.svg#Oranienbaum') format('svg'); /* Legacy iOS */
}


@font-face {
    font-family: 'FontAwesomeBrands';
    src: url('../fonts/fa-brands-400.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FontAwesomeRegular';
    src: url('../fonts/fa-regular-400.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.fa, .fab, .far {
    display: inline-block;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa {
    font: normal normal normal 14px/1 FontAwesome;
}

.fab {
    font: normal normal normal 14px/1 FontAwesomeBrands;
}

.far {
    font: normal normal normal 14px/1 FontAwesomeRegular;
}

@font-face {
    font-family: 'Roboto-regular';
    src: url('../fonts/Roboto-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-bold';
    src: url('../fonts/Roboto-Bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-light';
    src: url('../fonts/Roboto-Light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-thin';
    src: url('../fonts/Roboto-Thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-Medium';
    src: url('../fonts/Roboto-Medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-Italic';
    src: url('../fonts/Roboto-LightItalic-webfont.woff') format('woff');
}

@font-face {
    font-family: 'Framework7-Icons';
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Framework7Icons-Regular.woff") format("woff");
}

.ui-icon {
    font-family: 'Framework7-Icons';
    font-size: 28px;
}
/* --- Browser reset --- */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, html, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

fieldset, img {
    border: 0;
}

address, caption, cite, code, dfn, em, th, var {
    font-style: normal;
    font-weight: normal;
}

ol, ul {
    list-style: none;
}

caption, th {
    text-align: left;
}

article, aside, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
    margin: 0;
    padding: 0;
}

.text-bold {
    font-weight: bold;
}

.text-left {
    text-align: left;
}

/* --- Flexbox --- */

.vbox, .hbox, .cbox, .endbox {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    /*-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;*/
}

.hbox {
    -webkit-box-orient: inline-axis;
    -ms-flex-direction: row;
    flex-direction: row;
    width: 100%;
    white-space: nowrap;
}

.vbox {
    -webkit-box-orient: block-axis;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
}

.cbox {
    -webkit-align-items: center;
    -webkit-justify-content: center;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
#media .border-right,#media2 .border-right{
    text-align: center;
}
#media .btn,#media2 .btn{
    display: block;
    width:100px;
    white-space: nowrap;
    line-height: normal;
    text-align: center;
}
.endbox {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 100%;
}

.topbox {
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.startbox {
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.vcbox {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-item {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1px;
}

.flex-wrap {
    -webkit-align-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}


a {
    color: #000;
}

h1 {
    font-size: 43px;
}

p {
    margin-bottom: 20px;
}

:focus {
    outline: none;
}

.text-bold {
    font-family: "Roboto-bold";
}

.hidden {
    display: none !important;
}

.lit {
    font-family: "Roboto-Italic";
    font-style: italic;
}



html, body {
    /*height: 100%;*/
    overflow-x: hidden;
}

body {
    font: 18px Roboto-light, sans-serif;
    line-height: 26px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: block-axis;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
    /*height: 100vh;
    height: calc(var(--vh, 1vh) * 100);*/
}

.wrapper {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
#knigi .wrapper{
    max-width:90%;
}

header.site-header {
    padding: 10px 15px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    box-sizing: border-box;
    text-transform: uppercase;
    font-family: 'Roboto-bold';
    position: fixed;
    width: 100%;
    color: #fff;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
}

.home-page header.site-header {
    background: none;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
}

.home-page.scroll header.site-header {
    background: rgba(0,0,0,0.9);
}

.page-title {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    font-size: 26px;
    white-space: nowrap;
}

.main-nav {
    font-size: 16px;
    font-family: 'Roboto-bold';
    
    font-weight: bolder;
    height: 100%;
    
    display: flex;
    align-items: center;
    justify-content: center;
}


    .main-nav li {
        padding: /*0 25px*/ 0 12px;
    }

    .main-nav a {
        text-decoration: none;
        color: #fff;
        display: inline-block;
        width: 100%;
    }

        .main-nav a:hover /*,
            .main-nav .current a*/ {
            color: #8dc63f;
        }


.home-parallax {
    background: url("../images/parallax-img.jpg") fixed center center / cover;
    color: #fff;
    background-position-x: 0px;
}

    .home-parallax .title h1 {
        color: #8dc63f;
        text-transform: uppercase;
        font-family: 'Roboto-bold';
        margin-bottom: 20px;
    }

    .home-parallax .text-content {
        text-transform: uppercase;
        font-size: 23px;
    }

    .home-parallax .title {
        margin-bottom: 35px;
        text-transform: uppercase;
    }

    .search-panel {
        width: 100%;
        max-width: 750px;
        margin-top: 70px;
        position: relative;
    }

    .search-panel input {
        padding: 15px 12px 15px 30px;
        width: 100%;
        border: none;
        box-sizing: border-box;
        font-size: 1.2rem;
        border-radius: 0;
        -webkit-border-radius: 0;
    }

.search-btn {
    font-size: 20px;
    padding: 15px;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
}

    .search-btn:hover {
        background: #8dc63f;
        color: #fff;
    }

.search-hint {
    text-align: left;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    display: none;
    font-size: 14px;
    line-height: 16px;
}

    .search-hint .fa {
        display: inline-block;
        float: left;
        color: #ff0000;
        margin-right: 10px;
        text-align: center;
    }

        .search-hint .fa.circle {
            width: 20px;
            height: 20px;
            line-height: 20px;
            font-size: 14px;
        }

.fa.circle {
    background: #ffffff;
    border-radius: 30px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    box-sizing: border-box;
}

.home-page section {
    padding: 80px 0;
}

    .home-page section .text-content, #searchresults {
        max-width: 90%;
        margin: 0 auto;
        word-wrap: break-word;
    }

    .home-page section.green {
        background: #ecffd2;
    }

    .home-page section h1 {
        text-transform: uppercase;
        margin-bottom: 45px;
    }


.contact-list {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-top: 70px;
}

    .contact-list li {
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        width: 100px;
    }

    .contact-list .circle {
        border-radius: 50px;
        font-size: 28px;
        height: 65px;
        line-height: 65px;
        padding: 0;
        width: 65px;
        color: #649a1b;
        border: 1px solid #649a1b;
    }

    .contact-list .fa {
        margin-bottom: 20px;
    }


    .contact-list h4 {
        font-size: 24px;
        text-transform: uppercase;
        margin-bottom: 50px;
        font-family: "Roboto-bold";
        font-weight: normal;
    }

.contanct-info a {
    text-decoration: none;
    word-wrap: break-word;
}

    .contanct-info a:hover {
        text-decoration: underline;
    }

.home-page .bx-wrapper {
    padding-top: 20px;
}

.bxslider {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    margin-top: 45px;
}


.bxslider li {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 360px;
    min-width: 360px;
    max-width: 360px;
    margin-right: 30px;
    border-bottom: 4px solid #8dc63f;
}

.bxslider img {
    max-height: 100%;
    max-width: 100%;
}

.bxslider .overlay .fa {
    margin-left: 10px;
}

.bxslider .pers-info {
    background: #edecec;
    padding-bottom: 15px;
}

.bxslider .img-wrap {
    line-height: 0;
    margin-bottom: 15px;
    max-height: 305px;
    overflow: hidden;
}

.bxslider .pers-desc {
    color: #636363;
    padding: 20px 0;
    font-family: 'Roboto-light';
}

.home-parallax, .home-donate, .home-foundation{
    text-shadow: 0px 0px 20px #000000;
}

.pers-info .name {
    font-size: 18px;
}
section.home-parallax{
    overflow-x: hidden;
    overflow-y: hidden;
}
#homecontainer{
    position: relative;
}
#homecontainer > div{
    position:absolute;
    top:-3px;
    /* left: -10px; */
}


/* Image */

.img-wrap {
    position: relative;
    cursor: pointer;
    clear:both;
}

.overlay {
    background: rgba(131, 176, 72, 0.78) none repeat scroll 0 0;
    left: 0;
    min-height: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
}

    .overlay .fa {
        margin-top: -25px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -25px;
        color: #b2b2b2;
        text-decoration: none;
        font-family: "FontAwesome";
        text-align: center;
    }

    .overlay .fab {
        font-family: "FontAwesomeBrands";
    }


    .overlay .fa:hover {
        color: #8dc63f;
    }

    .overlay .fa-facebook {
        left: 30%;
    }

.img-wrap:hover .overlay {
    opacity: 1;
    min-height: 100%;
    /*transition: all 0.3s ease 0s;*/
}


.sidebar {
    min-width: 500px;
    max-width: 500px;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 995;
    background: #dfdfdf;
    padding: 10px;
    /* padding: 10px 10px 10px 0; */
    transform: translate(110%, 0);
    -webkit-transform: translate(110%, 0);
    transition: all 0.25s ease 0s;
    -webkit-transition: -webkit-transform 0.25s ease 0s;
    -ms-transition: -ms-transform 0.25s ease 0s;
    max-height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
}

    .sidebar.opened {
        transform: translate(0px, 0px);
        -webkit-transform: translate(0px, 0px);
        -ms-transform: translate(0px, 0px);
    }

    .sidebar section {
        margin-bottom: 5px;
    }

        .sidebar section:last-child {
            margin-bottom: 0;
        }

    .sidebar header {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        background: #ffffff;
        color: #5e5454;
        cursor: pointer;
    }

    .sidebar .title {
        box-sizing: border-box;
        font-family: Roboto-medium;
        padding: 15px;
        text-transform: uppercase;
        width: 100%;
    }

.title .fa {
    padding-right: 10px;
    color: #8dc63f;
}

.sidebar .expand-icon {
    padding: 15px;
}

.sidebar .circle {
    background: #b2b2b2 none repeat scroll 0 0;
    color: #ffffff;
    font-size: 14px;
    height: 25px;
    line-height: 26px;
    text-align: center;
    width: 25px;
}

section .content {
    display: none;
    background: #fff;
    padding: 15px;
    font-size: 14px;
    line-height: 22px;
    text-align: justify;
}

.content h4 {
    border-bottom: 1px solid #b2b2b2;
    margin-bottom: 15px;
    font-size: 16px;
}

.content p {
    margin: 10px 0;
}

.content a {
    color: #343434;
    text-decoration: underline;
    cursor: pointer;
    font-family: "Roboto-regular";
}

.content .nav-link {
    color: #8dc63f;
    font-family: Roboto-Medium;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    margin: 20px 0 10px;
}

.nav-link .fa {
    font-weight: bold;
    margin-right: 10px;
}

section:hover > header {
    background: #8dc63f;
    color: #fff;
}

    section:hover > header .fa {
        color: #fff;
    }

    section:hover > header .circle {
        background: #fff;
        color: #8dc63f;
    }

section.toggle header {
    background: #b2b2b2;
    color: #fff;
}

.toggle .title .fa {
    color: #fff;
}

section.toggle .content {
    display: block;
    margin-top: 2px;
}

.toggle .fa-plus:before {
    content: "\f068";
}

.toggle .circle {
    background: #fff;
    color: #b2b2b2;
}

.list li {
    margin-bottom: 15px;
}

.content .list a {
    text-decoration: none;
    font-family: Roboto-light;
}

.content .list .fa {
    margin-top: 5px;
    margin-right: 15px;
    float: left;
}

.content .list .group {
    padding-left: 25px;
}

    .content .list .group .fa {
        margin-top: 0px;
        margin-right: 5px;
        margin-left: 7px;
        float: none;
    }

.content .list .text {
    display: block;
    overflow: hidden;
}

.sub-header {
    border-bottom: 1px solid #b2b2b2;
}

    .sub-header h4 {
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        border-bottom: none;
        margin-bottom: 0;
        align-self: flex-end;
    }

    .sub-header .fa-child {
        border: 1px solid #b2b2b2;
        border-radius: 2px;
        padding: 8px 10px;
        color: #b2b2b2;
        display: block;
        margin-bottom: 5px;
        margin-left: 10px;
        align-self: flex-start;
    }

        .sub-header .fa-child:hover,
        .sub-header .fa-child.toggle {
            border-color: #171717;
            background: #171717;
            color: #fff;
            cursor: pointer;
        }

/* --- Map ---*/
.map {
    height: 1px;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.map-content {
    background: #edecec;
    /*padding-left: 7px;*/
    padding-left: 0;
    padding-right: 7px;
    padding-top: 54px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 28px;
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-box-orient: block-axis;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
    min-height: 100vh; /* IE11 hack */
    /*height: calc(var(--vh, 1vh) * 100);*/
}


.map-wrapper {
    /*max-width: 75%;*/
    position: relative;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: block-axis;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 1px;
    z-index: 99;
}

    .map-wrapper img {
        max-width: 100%;
        /*max-height: 100%;*/
    }

.map-header {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    position: relative;
}

    .map-header > .title {
        /* padding: 10px 15px; */
        background: #fff;
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }

    .map-header .btn {
        padding: 9px 20px 9px 20px;
        text-decoration: none;
        background: #b2b2b2;
        font-family: Roboto-Medium;
    }

    .map-header .btn-icon {
        margin-left: 10px;
        font-weight: bold;
    }

    .map-header .btn.toggle,
    .map-header .btn:hover {
        background: #171717;
    }

        .map-header .btn.toggle .btn-icon,
        .map-header .btn.toggle .btn-icon:hover {
            transform: rotate(180deg);
        }


    .map-header .fa-info {
        display: none;
    }


.map {
    position: relative;
    line-height: 0;
    /* cursor: pointer !important; */
}

.map-icon {
    position: absolute;
    background: url("../images/sprite.png") no-repeat;
    background-size: 70%;
    width: 20px;
    height: 13px;
}

.icon-segment {
    background-position: 0 0;
}

header.site-header,
.icon-stronghold {
    background-position: 0 -15px;
}

.icon-curved-segment {
    background-position: 0 -28px;
    height: 15px;
}

.icon-big-stronghold {
    background-position: 0 -42px;
}

.icon-multi-curved-segments {
    background-position: 0 -80px;
    background-size: 100%;
    height: 40px;
}

.icon-multi-segments {
    background: url("../images/multi-segments.png") no-repeat;
    background-size: 60%;
    width: 100px;
}


.icon-stronghold-bg {
    background-position: 0 -217px;
    background-size: 60% auto;
    height: 14px;
}


.ctrl-checkbox {
    color: #808080;
    font-size: 20px;
}

    .ctrl-checkbox a {
        color: #565656;
    }

        .ctrl-checkbox a:hover {
            color: #8dc63f;
        }

.map-icon-large {
    position: absolute;
    background: url("../images/sprite2.png") no-repeat;
    width: 30px;
    height: 35px;
}

.icon-army1 {
    background-position: 0 0;
}

.icon-army2 {
    background-position: 0 -35px;
}

.icon-army3 {
    background-position: 0 -70px;
}

.icon-army1A {
    background-position: 0 -105px;
}

.icon-army2A {
    background-position: 0 -140px;
}

.icon-army3A {
    background-position: 0 -175px;
}

.icon-army3A-1 {
    background-position: 0 -420px;
}

.icon-battle {
    background-position: 0 -132px;
    background-size: 40% auto;
}

.small-icon {
    background-size: 80%;
    height: 28px;
}

.icon-horseman {
    background-position: 0 -210px;
}

.icon-horseman1 {
    background-position: 0 -385px;
}

.icon-turkey-army {
    background-position: 0 -245px;
}

    .icon-turkey-army.small-icon {
        background-position: 0 -193px;
    }

.icon-turkey-army1 {
    background-position: 0 -280px;
}

    .icon-turkey-army1.small-icon {
        background-position: 0 -224px;
    }

.icon-arrow-left {
    background-position: 0 -350px;
}

.icon-arrow-right {
    background-position: 0 -315px;
}

.icon-arrow-up {
    background-position: 0 -84px;
    height: 53px;
}

.icon-arrow-up2 {
    background-position: 0 -136px;
    height: 95px;
}

.bg-gerb {
    background: url("../images/bg-gerb.png") no-repeat;
}

.tr-gerb {
    background: url("../images/tr-gerb.png") no-repeat;
}

.bg-gerb, .tr-gerb {
    height: 40px;
    width: 32px;
    position: absolute;
    display: block;
    background-size: 100% 100%;
}

.icon-army2A.small {
    background-position: 0 -97px;
    background-size: 70% auto;
    height: 25px;
}



/* --- Slider ---*/

.ui-slider.ui-widget.ui-widget-content {
    margin: 10px 20px 10px 7px;
    border: 1px solid #ccc;
    height: 15px;
    position: relative;
    background: #edecec;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}
.ui-slider.ui-slider-horizontal.ui-widget-content .ui-slider-handle.ui-state-default {
    background: #fa7500;
    border: 1px solid #d6d6d6;
    border-radius: 20px;
    cursor: default;
    height: 24px;
    margin-left: -0.6em;
    margin-top: -12px;
    position: absolute;
    top: 50%;
    width: 24px;
    z-index: 2;
}

.slider-wrap {
    white-space: nowrap;
    background: #fff;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 5px 20px 5px 0;
    border: 2px solid rgba(23,23,23,0.21);
    border-radius: 5px;
    font-family: Roboto-regular;
    font-weight: bold;
    font-size: 16px;
    max-width: 730px;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    /* left: 0; */
    bottom: 0;
    /* right: 10px; */
    z-index: 997;
}

    .slider-wrap .ctrl-checkbox a {
        border-right: 1px solid rgba(23,23,23,0.21);
        padding: 0 20px;
    }

        .slider-wrap .ctrl-checkbox a:last-child {
            border-right: none;
        }


.slider-text {
    color: #878787;
    display: block;
    font-family: roboto-regular;
    font-size: 14px;
    max-width: 150px;
    min-width: 150px;
    text-transform: uppercase;
}

.ui-slider-range {
    background: #8dc63f;
    height: 100%;
}

.slider-wrap select {
    display: block;
    margin: 5px;
    padding: 5px;
    min-width: 120px;
}

.slider-wrap input {
    display: block;
    margin: 5px;
    padding: 5px;
    min-width: 20px;
}

.slider-wrap select#ddlDates {
    display: none;
}

.slider-wrap-lower {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

    .slider-wrap-lower input {
        transform: scale(1.2);
        min-width: inherit;
    }


/* --- Tabs --- */
.ui-tabs-nav li {
    background: #b2b2b2;
    margin-right: 2px;
    font-size: 14px;
    text-transform: uppercase;
    font-family: "Roboto-Medium";
}

    .ui-tabs-nav li:hover {
        background: #8dc63f;
    }

.ui-tabs-nav a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    padding: 10px 15px;
}


.ui-tabs-nav .fa {
    padding-right: 6px;
}

.ui-tabs-nav li.ui-state-active {
    background: #fff;
    box-shadow: 0 -8px 0 0 #ffffff;
}

.ui-tabs-nav .ui-state-active a {
    color: #878787;
}

.ui-state-active .fa {
    color: #8dc63f;
}


.ui-tabs-panel {
    background: #fff;
    padding: 15px;
    font-size: 14px;
    line-height: 22px;
    text-align: justify;
}

    .ui-tabs-panel h4 {
        border-bottom: 1px solid #b2b2b2;
        margin-bottom: 15px;
        font-size: 16px;
    }

    .ui-tabs-panel p {
        margin: 10px 0;
    }

    .ui-tabs-panel a {
        color: #343434;
        text-decoration: underline;
        font-family: "Roboto-regular";
    }

.gallery {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

    /*.gallery:after { 
        content: ''; 
        display: block; 
        clear: both;
         }*/


    .gallery li {
        /*float: left;*/
        /*margin-right: 30px;*/
        padding-right: 15px;
        margin-bottom: 15px;
        /*max-width: 265px;*/
        width: 50%;
        box-sizing: border-box;
    }

    /*.gallery li:nth-child(2n) {
        margin-right: 0;
    }*/

    .gallery a {
        display: block;
        line-height: 0;
    }

    .gallery img {
        max-width: 100%;
    }

    .gallery .img-wrap {
        line-height: 0;
        max-width: 264px;
    }

    .gallery .overlay {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

        .gallery .overlay .fa {
            position: static;
            margin: 0;
        }

.pic-desc {
    margin-top: 10px;
    max-width: 264px;
}

/* Popup */

.ui-widget-overlay.ui-front {
    background: rgba(0,0,0,0.9);
}

.ui-dialog.ui-widget.ui-widget-content {
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 0;
}

.ui-dialog .ui-corner-all {
    border-radius: 0;
    border: none;
    background: none;
}

.ui-dialog .ui-dialog-content {
    color: #000;
    font-size: 14px;
    text-align: justify;
}

.ui-dialog .ui-dialog-titlebar {
    background: #8dc63f;
    color: #fff;
    border: none;
}

.ui-dialog input.ui-widget-content {
    font-size: 16px;
    border: 1px solid #d3d3d3;
    padding: 15px 10px;
    box-sizing: border-box;
    background: #fff;
    display: block;
    margin-bottom: 15px;
    width: 100%;
}

.ui-dialog .ui-dialog-buttonpane {
    background: #fff;
    border: none;
}

    .ui-dialog .ui-dialog-buttonpane button {
        background: #777;
        color: #fff;
    }
    /* Vertical list */
    .ver-list li {
        margin-top: 15px;
        clear: both;
    }

.ver-list li:first-child {
    margin-top: 0;
}

.ver-list .img-wrap {
    float: left;
    max-width: 150px;
    padding-right: 10px;
}

.ver-list img {
    display: block;
}


.ver-list .pic-desc {
    max-width: inherit;
    margin-top: 0;
}
/* Form */
.ctrl-form {
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

    .ctrl-form .row {
        margin-bottom: 15px;
    }

        .ctrl-form .row:last-child {
            margin-bottom: 0;
        }

    .ctrl-form label {
        font-family: roboto-regular;
        margin-bottom: 5px;
    }


    .ctrl-form input, .ctrl-form label, .ctrl-form textarea {
        display: block;
        width: 100%;
    }

    .ctrl-form input, .ctrl-form textarea {
        font-size: 16px;
        border: 1px solid #d3d3d3;
        padding: 15px 10px;
        box-sizing: border-box;
    }


    .ctrl-form textarea {
        min-height: 150px;
    }

    .ctrl-form .btn {
        width: 150px;
        background: #282828;
        color: #fff;
        cursor: pointer;
    }

.btn {
    background: #282828;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

.required-msg {
    color: #ff0000;
    padding: 15px 0 15px 15px;
    font-family: Roboto-regular;
}

/* Tooltips */

.ui-tooltip {
    max-width: 440px;
    background: #fff;
    font-size: 14px;
    line-height: 18px;
    font-family: Roboto-light;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #d3d3d3;
    box-shadow: 0 0 10px 0 rgba(2, 2, 2, 0.1);
    position: absolute;
    z-index: 1001;
}

    .ui-tooltip:before {
        content: "";
        width: 0;
        height: 0;
        border-left: 11px solid transparent;
        border-right: 11px solid transparent;
        border-bottom: 12px solid #d3d3d3;
        position: absolute;
        top: -13px;
        right: 47px;
        z-index: 1;
    }

    .ui-tooltip:after {
        content: "";
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 12px solid #fff;
        position: absolute;
        top: -12px;
        right: 48px;
        z-index: 2;
    }

.ui-tooltip-content {
    text-align: justify;
}

.ui-helper-hidden-accessible {
    display: none;
}

/* Donate */

.home-donate {
    background: url("../images/donate-img.jpg") center center / cover;
    background-size: cover;
    color: #fff;
}

/* Foundation */

.home-foundation {
    background: url("../images/fondation-img.jpg") center center / 100% 100%;
    color: #fff;
}

.text-content ol {
    list-style-type: decimal;
    text-align: left;
}

    .text-content ol li {
        margin-bottom: 10px;
    }

        .text-content ol li:last-child {
            margin-bottom: 0;
        }



.box-list {
    text-align: left;
    margin-top: 45px;
    overflow: hidden;
}

.box-list li {
    box-sizing: border-box;
    /* margin-right: 20px; */
    /* max-width: 380px; */
    padding: 10px;
    margin: 10px;
    /* margin-bottom: 20px; */
    width: 100%;
    /* float: left; */
}


.box-list li:nth-child(2n) {
    margin-right: 0;
}


.box-list.grey li {
    background: #edecec;
}


.box-list .img-wraper {
    line-height: 0;
    max-width: 100%;
    margin-right: 20px;
}

.box-list h3 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 10px;
}

.box-content {
    /* height:112px; */
    white-space: normal;
    line-height: 24px;
}



/* Payment */


.payment .header {
    display:flex;
    justify-content: center;
    background: #ffffff;
    text-align: center;
    color: #4f4d4d;
    height: 60px;
    line-height: 60px;
    box-sizing: border-box;
    font-family: Roboto-Medium;
    font-size: 24px;
    text-transform: uppercase;
}

.payment img {
    max-height: 50px;
}


.payment .box-content {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 0;
}

.payment .row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 15px;
}

    .payment .row:first-child {
        font-size: 20px;
    }

    .payment .row:last-child {
        margin-bottom: 0;
    }




.formDiv input {
    font-size: 16px;
    margin-left: 5px;
    margin-right: 5px;
    padding: 6px;
}

.payment .radio-list,
.payment .desc {
    font-size: 14px;
}

    .payment .desc a {
        color: #fff;
        padding-left: 5px;
    }


.radio-btn {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 10px;
    white-space: nowrap;
}

.payment .radio-list input {
    margin: 0 5px 0 0;
}



.pay-button {
    background: #ffffff none repeat scroll 0 0;
    border: medium none;
    border-radius: 5px;
    box-shadow: none;
    cursor: pointer;
    font-family: Roboto-Medium;
    font-size: 18px;
    max-width: 200px;
    padding: 5px;
    width: 100%;
    color: #818181;
    text-transform: uppercase;
}


.box-list li.f-width {
    box-sizing: border-box;
    max-width: 100%;
}

.f-width .box-content {
    text-align: center;
    font-family: Roboto-Medium;
    padding-top: 40px;
}

footer {
    background: #8dc63f;
    padding: 0 30px 0 15px;
    font-size: 16px;
    color: #fff;
    box-sizing: border-box;
    height: 56px;
    line-height: 56px;
}

    footer .anchor {
        cursor: pointer;
        line-height: 56px;
        text-align: center;
        width: 56px;
        color: #fff;
        text-decoration: none;
    }

        footer .anchor:hover {
            background: #649a1b;
        }

.foot-wrap {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.foot-nav {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-left: 20px;
}

    .foot-nav li {
        padding: 0 10px;
        font-family: "Roboto-Medium";
    }

    .foot-nav a {
        text-decoration: none;
        text-transform: uppercase;
        color: #fff;
    }

        .foot-nav a:hover {
            text-decoration: underline;
        }


.tbl-caption {
    max-width: 930px;
}


/* Grid */

.ctrl-table {
    width: 100%;
    max-width: 930px;
    text-align: left;
    text-transform: uppercase;
    font-family: Roboto-regular;
    margin-top: 10px;
}

.t-row {
    display: flex;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.4);
}

@media screen and (max-width:600px) {
    .t-row {
        display: flex;
        padding: 4px 0;
        font-size:0.8em;
        border-top: 1px solid rgba(255,255,255,0.4);
    }
}

.t-row:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.t-row:hover {
    background: #fff;
    color: #000;
    cursor: pointer;
}

.t-row:hover .btn{
    background: #000;
}

.t-row:hover .border-right {
    border-right-color: #000;
}

.t-cell {
    flex: 1 1 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.col-small {
    min-width: 110px;
    max-width: 110px;
}

.col-middle {
    min-width: 135px;
    max-width: 135px;
}

.border-right {
    border-right: 1px solid rgba(255,255,255,0.4);
}

.ctrl-table .btn {
    background: #8dc63f;
    padding:8px;
    font-family: Roboto-Medium;
    font-size: 14px;
    text-decoration: none;
}
#top2 .ctrl-table .btn,#media .ctrl-table .btn {
    background: var(--main-blue);
    font-family: Roboto-Medium;
    font-size: 14px;
    text-decoration: none;
}

.parallax{
	background: url("../images/parallax.jpg") fixed center center / cover;
    color: #fff;
	flex: 1 1 auto;
}

.parallax .text-content {
    text-align: left;
}


/* Dark Theme */
.dark-theme .map-content {
    background: #4c4c4c;
}

.dark-theme .map-header > .title {
    background: #171717;
    color: #fff;
}

.dark-theme .slider-wrap {
    background: #717171;
    color: #171717;
}

.dark-theme .slider-wrap .ctrl-checkbox a {
    color: #383838;
    border-right-color: #585858;
}
.dark-theme .slider-wrap .ctrl-checkbox a:hover {
    color: #8dc63f;
}

.dark-theme .ui-slider.ui-widget.ui-widget-content {
    background: #888;
    border-color: #5b5b5b;
}

.dark-theme .ui-slider.ui-slider-horizontal.ui-widget-content .ui-slider-handle.ui-state-default {
    border-color: #5b5b5b;
}

/* Blue Theme */



.blue-theme .home-parallax .title h1,
.blue-theme .main-nav a:hover,
.blue-theme .content .nav-link {
    color: #00bff3;
}

.blue-theme .search-btn:hover,
.blue-theme section:hover > header,
.blue-theme .ui-slider-range,
.blue-theme ui-tabs-nav li:hover,
.blue-theme .ui-dialog .ui-dialog-titlebar,
.blue-theme footer,
.blue-theme .ctrl-table .btn {
    background: #00bff3;
}

.blue-theme .bxslider li {
    border-bottom: 4px solid #00bff3;
}

.blue-theme .overlay .fa:hover,
.blue-theme .title .fa,
.blue-theme .content .nav-link,
.blue-theme section:hover > header .circle,
.blue-theme .ctrl-checkbox a:hover,
.blue-theme .ui-state-active .fa {
    color: #00bff3;
}

.home-page.blue-theme section.green{
    background: #dcf8ff;
}

.blue-theme .overlay {
    background: rgba(0, 191, 243, 0.78);
}

.blue-theme .contact-list .circle {
    color: #00bff3;
    border-color: #00bff3;
}



/* Icon set */
.fa-search:before {
    content: "\f002";
}

.fa-exclamation:before {
    content: "\f12a";
}

.fa-exclamation-tr:before {
    content: "\f071";
}

.fa-envelope:before {
    content: "\f0e0";
}

.fa-phone:before {
    content: "\f095";
}

.fa-facebook:before {
    content: "\f39e";
}

.fa-chevron-up:before {
    content: "\f077";
}

.fa-chevron-down:before {
    content: "\f078";
}

.fa-chevron-left:before {
    content: "\f053";
}

.fa-chevron-right:before {
    content: "\f054";
}

.fa-file-text:before {
    content: "\f15c";
}

.fa-file-photo-o:before,
.fa-file-picture-o:before,
.fa-file-image-o:before {
    content: "\f03e";
}

.fa-book:before {
    content: "\f02d";
}

.fa-plus:before {
    content: "\f067";
}

.fa-search-plus:before {
    content: "\f00e";
}

.fa-minus:before {
    content: "\f068";
}

.fa-bars:before {
    content: "\f0c9";
}

.fa-video:before {
    content: "\f03d";
}

.fa-info:before {
    content: "\f05a";
}

.fa-doc:before {
    content: "\f15c";
}

.fa-people:before {
    content: "\f0c0";
}

.fa-arrow-up:before {
   /* content: "\f107"; */
}

.fa-arrow-down:before {
    content: "\f107";
}

.fa-arrow-left:before {
    content: "\f104";
}

.fa-arrow-right2:before {
    content: "\f101";
}

.fa-arrow-left2:before {
    content: "\f100";
}

.fa-flag:before {
    content: "\f02e";
}

.fa-file-download:before {
    content: "\f56d";
}

.fa-book:before {
    content: "\f02d";
}

.fa-video-list:before {
    content: "\f1c8";
}

.fa-audio:before {
    content: "\f1c7";
}

.fa-caret-square-down:before {
    content: "\e974";
}

.fa-child:before {
    content: "\f1ae";
}
.arrow{
    display:none;
}
#media .t-cell,#media2 .t-cell{
    display: flex;
    height: 28px;
    align-items: center;
}
#media .t-cell.border-right,#media2 .t-cell.border-right{
    justify-content: center;
}

@media screen and (max-width: 1366px) {

    .col-small {
        min-width: 75px;
        white-space: nowrap;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #top .btn, #top2 .btn ,#media .btn{
        padding:0 !important;
        background: transparent !important;
    }
    #top .btn-text, #top2 .btn-text,#media .btn-text,#media2 .btn-text{
        display:none;
    }
    #top .t-cell.text-bold,#top2 .t-cell.text-bold,#media .t-cell.text-bold,#media2 .t-cell.text-bold{
        flex:3;
    }
    #top .t-cell.col-small.border-right,#top2 .t-cell.col-small.border-right, #media .t-cell.col-small.border-right,#media2 .t-cell.col-small.border-right{
        flex:1
    }
    #top .col-middle, #top2 .col-middle, #media .col-middle,#media2 .col-middle{
        display: flex;
        justify-content: flex-end;
        flex: 1;
        min-width: initial;
        max-width: initial;
    }
    #top .arrow, #top2 .arrow,#media .arrow,#media2 .arrow{
        display:block;
        width:25px;
        height:25px;
        background-image: url('/images/arrow-right-blue.png');
        background-size: 25px 25px;
        /* display:none; */
    }
    #top .arrow, #media2 .arrow{
        background-image: url('/images/arrow-right.png');
    }
    #media .btn,#media2 .btn{
        background: transparent !important;
        padding:0;
        width:initial;
    }
    .sidebar {
        /* min-width: 400px; */
        /* max-width: 400px; */
    }

    .gallery.video li {
        width: 100%;
    }

    .gallery.video .img-wrap {
        max-width: inherit;
    }
}
.devidecontainer{
    position:relative;
}
.devidecontainer > div {
    position: absolute;
    top: -3px;
    left: -10px;
}
.devider > section{
    width: 100vw;
    position: relative;
    left: -0.5px;
}
#donate > div > ul{
    display: grid;
    grid-template-columns: 33% 33% 33%;
}
#donate > div > ul > li.f-width{
    grid-column: span 3;
}

body:not(.home-page) .site-header nav {
    position: relative;
    cursor: pointer;
    padding: 10px;
    margin-right: 40px;
}
body:not(.home-page) .site-header .main-nav {
    -webkit-box-orient: block-axis;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 320px;
    height: 260px;
    background: #0E1306;
    position: absolute;
    top: 50px;
    right: 0;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 250ms ease 0s;
    -moz-transition: max-height 250ms ease 0s;
    transition: max-height 250ms ease 0s;
}
body:not(.home-page) .site-header nav:after {
    font-family: "FontAwesome";
    content: "\f0c9";
    display: block;
    font-size: 25px;
}
body:not(.home-page) .site-header .toggle .main-nav {
    max-height: 300px;
}
body:not(.home-page) .site-header .page-title {
    visibility: hidden;
    font-size: 0;
    padding-top: 10px;
}

.map-header > .title {
    background: transparent;
    color: #fff;
    display:flex;
    justify-content: space-between;
    padding-top: 0;
    padding-left: 10px;
    padding-right: 10px;
}
header.site-header {
    -webkit-box-orient: block-axis;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    padding: 5px 10px;
}
.page-title {
    font-size: 22px;
    margin-bottom: 10px;
}
.map-content {
    -webkit-box-orient: block-axis;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 85px;
}
@media screen and (max-width: 1200px) {

    .site-header .main-nav {
        -webkit-box-orient: block-axis;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 320px;
        background: #0E1306;
        position: absolute;
        top: 35px;
        right: 0;
        max-height: 0;
        overflow: hidden;
        -webkit-transition: max-height 250ms ease 0s;
        -moz-transition: max-height 250ms ease 0s;
        transition: max-height 250ms ease 0s;
    }
    .aside, aside {
        flex: none;
        width: 100%;
    }


    .gallery li {
        width: 33.3%;
    }

    /*.gallery.video li {
        width: 50%;
    }*/

  



    .site-header .main-nav {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }




    .wrapper {
        padding: 0 10px;
        box-sizing: border-box;
    }

    .home-page section h1 {
        line-height: 50px;
    }

    .home-parallax .title h1 {
        line-height: 20px;
    }

    /* .box-list li {
        max-width: 492px;
    } */
}

@media screen and (max-width: 1023px) {

    footer {
        font-size: 16px;
        padding: 10px 0 10px 15px;
        height: 100%;
        line-height: inherit;
    }

    .foot-wrap {
        -webkit-box-orient: block-axis;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .foot-nav {
        margin-left: 0;
        margin-top: 10px;
    }

        .foot-nav li:first-child {
            padding-left: 0;
        }
}


@media screen and (max-width: 768px) {

    .site-header .main-nav {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .main-nav li:first-child {
        padding-left: 0;
    }

    .box-list li {
        max-width: inherit;
        margin-right: 0;
    }

    .text-content ol {
        margin-left: 20px;
    }
}

@media screen and (max-width: 767px) {

    body {
        font-size: 14px;
        line-height: 22px;
    }


    h1 {
        font-size: 35px;
    }

    p {
        margin-bottom: 15px;
    }

    .home-page section {
        padding: 20px 0;
    }

        .home-page section.home-parallax,
		.home-page section.parallax		{
            padding-top: 80px;
        }

        .home-page section h1 {
            margin-bottom: 20px;
        }

    .search-panel {
        margin-top: 15px;
    }

    .payment .header {
        font-size: 18px;
    }

    .pay-button {
        font-size: 16px;
    }

    .f-width .box-content {
        padding-top: 20px;
    }

    .text-content ol li {
        margin-bottom: 5px;
    }

    .box-list {
        margin-top: 40px;
    }

    .contact-list {
        margin-top: 20px;
    }

        .contact-list h4 {
            margin-bottom: 20px;
        }



    footer {
        font-size: 14px;
    }
}
.map-header .btn {
    padding: 0;
    background: #171717;
}

@media screen and (max-width: 767px) and (orientation:landscape) {

    .home-page section h1 {
        line-height: 40px;
    }

    .home-page section.home-parallax,
	.home-page section.parallax	{
        padding-top: 50px;
    }

    .home-parallax .text-content {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 0;
    }

    .search-panel {
        margin-top: 10px;
    }
}

header.site-header {
    -webkit-box-orient: inline-axis;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 0 0 0 10px;
}
.site-header .page-title {
    visibility: hidden;
    font-size: 0;
    padding-top: 10px;
}
.map-header > .title > *{
    white-space: nowrap;
    align-self: center;

    /* margin-right:50px; */
    /* font-size:0.8em; */
}
.map-header{
    position: static;
    width: calc(100% - 100px);
    /* position: relative;
    top:-38px;*/
    /* width: 0; */
    height: 50px;
    z-index:1001; 
}

.map-content {
    padding: 0 0 0 0;
}
.site-header{
    height:50px;
}
div.map-header > a.btn.btn-sidebar[data-sidebar="info"]{
    display:block;
    position: absolute;
    background: url(../images/arrow-right.png);
    background-size: 50px 50px;
    z-index: 1000;
    right: 5px;
    top:50%;
    width:50px;
    height:50px;
    transform: rotate(180deg);
    transition: 0.25s ease 0s;
}
div.map-header > a.btn.btn-sidebar[data-sidebar="help"]{
    width:50px;
    height:50px;
    padding: 0;
    position:relative;
}
div.map-header > a.btn.btn-sidebar[data-sidebar="help"]:after{
    content:'?';
    top:10px;
    left:10px;
    position: absolute;
    /* background: url(../images/help_icon.png); */
    color:white;
    border-radius: 50%;
    background-color: black;
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* line-height: 50px; */
    font-size:27px;
    /* background-size: 30px 30px; */
    z-index: 1000;
    width:30px;
    height:30px;
}
div.map-header > a.btn.btn-sidebar.toggle[data-sidebar="info"]{
        
    /* right: calc( 100% - 9px ) ; */
    right: 550px;
    transform: translateX(100%);
}
.btn-sidebar .btn-text {
    display: none;
}

@media screen and (max-width: 1200px){
    .title > span {
        /* visibility: hidden; */
        display:none;
        font-size: 0;
        padding-top: 10px;
    }
}

@media screen and (max-width: 1200px) {

    div.map-header > a.btn.btn-sidebar.toggle[data-sidebar="info"]{
        
        /* right: calc( 100% - 9px ) ; */
        right: 80% !important;
        transform: translateX(100%);
    }
    /* body > section > div.map-header > div > span{
        display: none;
    } */


    .home-page.scroll header.site-header {
        background: transparent;
    }
    

    .site-header nav {
        position: relative;
        cursor: pointer;
        padding: 10px;
        margin-right: 40px;
    }
    .englishchange{
        padding: 0 12px;
    }

    .home-page .site-header nav {
        margin-right: inherit;
    }

    .site-header nav:after {
        font-family: "FontAwesome";
        content: "\f0c9";
        display: block;
        font-size: 25px;
    }

    .site-header .main-nav {
        -webkit-box-orient: block-axis;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 320px;
        background: #0E1306;
        position: absolute;
        top: 35px;
        right: 0;
        max-height: 0;
        overflow: hidden;
        -webkit-transition: max-height 250ms ease 0s;
        -moz-transition: max-height 250ms ease 0s;
        transition: max-height 250ms ease 0s;
    }

    .site-header .toggle .main-nav {
        max-height: 290px;
        height: 290px;
        line-height: 22px;
    }

    .main-nav li {
        padding: 5px 0 5px 12px;
    }

    .main-nav li:first-child {
        padding-left: 12px;
    }



    div.map-header > a.btn.btn-sidebar[data-sidebar="help"]{
        /* display: none; */
    }

    div.map-header > a.btn.btn-sidebar ::before{
        display:none;
    }


    /* Map Content */


@media screen and (max-width:800px){
    .coordlabel{
        display:none;
    }
}





    .map-header .btn.toggle .btn-icon, .map-header .btn.toggle .btn-icon:hover {
        transform: none;
        -webkit-transform: none;
        -ms-transform: none;
    }

    .map-header .fa-info {
        display: block;
    }

    .btn-sidebar {
        /* position: absolute;
        top: -42px;
        right: 0;
        z-index: 1000; */
    }


    .btn-sidebar .btn-icon.fa-arrow-up,

    .btn-sidebar .btn-icon {
        font-size: 26px;
        margin-left: 0;
        padding: 8px;
    }

    .btn-sidebar .fa-info::before {
        content: "";
        background: url('../images/icons/icon_info.png') no-repeat;
        display: block;
        width: 25px;
        height: 25px;
    }

    .btn-sidebar {
        /* text-indent: -9999px; */
    }

    .slider-wrap {
        height:25px;
        bottom:3px;
        position: fixed;
        padding: 0;
        right: 0;
        left: inherit;
    }

    .slider-wrap select {
        display: block;
        padding: 5px;
        min-width: 120px;
    }
    .slider-wrap .ctrl-checkbox a {
        padding: 0 12px;
    }
    .slider-wrap .ctrl-checkbox a:last-child {
        padding: 0 4px;
    }

    .slider-date{
        padding-right: 5px;
    }
    .slider-date *{
        font-size:16px;
        vertical-align: middle;
    }
    .ui-slider {
        /* display: none; */
        /* position: fixed !important; */
        left:10px;
        height:100%;
        /* bottom:-10px; */
        width: calc( 100% - 210px );
    }

    .text-hidden {
        display: none;
    }

    .leaflet-popup-content {
        min-width: 270px;
    }
    .leaflet-popup{
        transform: scale(0.8);
    }
    .leaflet-popup-content-wrapper{
        transform: scale(0.9);
    }


    .sidebar {
        min-width: calc( 100% - 70px );
        max-width: calc( 100% - 70px );
        transform-origin: top right;
        transform: translate(110%, 0) scale(0.8);
        max-height: 120%;
    }
    .sidebar.opened{
        transform-origin: top right;

        transform: scale(0.8);
    }
}


@media screen and (max-width: 480px) {

    h1 {
        font-size: 26px;
    }

    .payment .header {
        font-size: 16px;
    }

    footer {
        font-size: 14px;
        line-height: inherit;
    }


    .copyright {
        padding-top: 6px;
    }

    .gallery li {
        width: 50%;
    }
}

@media screen and (max-width: 479px) {

    .map-content {
        padding: 0 0 0 0;
    }
    .btn-sidebar {
        /* top: -64px; */
    }
    .map-header div.text-bold :first-child{
        /* visibility: hidden; */
    }


    .sidebar {
        min-width: calc( 100% - 70px );;
        max-width: calc( 100% - 70px );;
    }
    
    .site-header nav{
        margin-right: 0;
    }

    /* .map-wrapper::after{
        content: '<b>asdf</b>';
        display:block;
        position: absolute;
        background: tomato;
        z-index: 1000;
        right:0;
        top:50%;
        width:50px;
        height:50px;
    } */
}

@media screen and (max-width: 360px) {

    .page-title {
        font-size: 14px;
    }


    .home-page section h1 {
        line-height: 40px;
    }

    .box-list h3 {
        font-size: 16px;
        line-height: 22px;
    }

    .payment .header {
        line-height: inherit;
    }

    .payment .checkbox-list input {
        margin: 0 5px;
    }

    .contact-list {
        -webkit-box-orient: block-axis;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

        .contact-list li {
            width: auto;
            margin-bottom: 10px;
        }

        .map-content {
            padding: 0 0 0 0;
        }

    /* .btn-sidebar {
        top: -42px;
    } */

    .sidebar {
        min-width: inherit;
        /* max-width: 100%; */
    }
    div.map-header > a.btn.btn-sidebar.toggle {
        width: 25px;    
        height: 25px;
        background-size: 25px 25px;
    }
    .sidebar {
        min-width: calc( 100% - 40px );;
        max-width: calc( 100% - 40px );;
    }
    .col-small {
        min-width: 90px;
        max-width: 90px;
    }

    /* .slider-wrap {
        flex-direction: column;
        align-items: flex-start;
        position:fixed;

    } */

        .slider-wrap .ctrl-checkbox {
            align-self: center;
            /* margin-bottom: 10px; */
        }

        footer {
            font-size: 12px;
        }
}

@media screen and (max-width: 320px) {


    .home-page section h1 {
        line-height: 30px;
    }

    .home-parallax .text-content {
        font-size: 14px;
    }

    .bxslider li {
        min-width: 300px;
        max-width: 300px;
    }

    .payment .radio-list {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: start;
        -ms-flex-align: start;
        align-items: start;
        padding-left: 14px;
    }

    .site-header .main-nav {
        right: -40px;
    }

    .home-parallax .title h1 {
        line-height: 32px;
    }
	
	section.parallax {
		padding: 60px 0;
	} 
}

#sec > div > ul{

    display: grid;
    grid-template-columns: 1fr 1fr;
}



@media screen and (max-width: 1090px) {

    #donate > div > ul {
        
        grid-template-columns: 100%;
        grid-template-rows: 25% 25% 25% 25%;
    }
    #donate > div > ul > li.f-width{
        grid-column: span 1;
    }
    #donate > div > ul > li {
        justify-self: center;
    }
    #sec > div > ul{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width:  780px) {
    #sec > div > ul{
        grid-template-columns: 1fr;
    }
    #knigi > div > h3:nth-child(6){
        display: none;
    }
    #lastupload,#searchresults {
        max-height: 50vh;
    }
    #karti > .wrapper,#knigi > .wrapper{
        margin: 10px auto 10px auto;
    }
    #lastuploadcon{
        margin-top: 10px !important;
    }
    #lastupload > li > span:nth-child(1) > span.text {
        max-width: 46vw;
    }
}
.layer-switcher .panel{
    line-height: normal;
}
.layer-switcher {
    top: 1.5em;
    left: 0.5em;
    right:initial;
}