/*
Theme Name: Matculture
Author: tahomi
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

::-webkit-scrollbar {
    width: 0;
  }

html, body{
    width: 100%;
    
    position: relative;
}
#glt-translate-trigger{
    left: 75% !important;
}

body{
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    min-height:  calc(100vh - 50px)  ;
}
a{
    text-decoration: none;
}
p{
    margin: 0;
}

/*Map styles*/
#mark{
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 1;
    transition:.5s;
}
#mark img{
    width: 110px;
}

#map-container{
    width: 100%;
    height: 100%;
    position: absolute;
    transition: transform 0.3s ease 0s;
}
#map-all-container{
    position: relative;
    height: calc(100vh - 50px);
    overflow: hidden;
    background: #125b9b;
}
#zoom{
    overflow: hidden;
    height: 100%;
    position: relative;
    background: #125b9b;
}
#zoom-buttons{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    display: none;
}
#zoom-buttons i{
    display: block;
    font-size: 30px;
    color: white;
}
#zoom-container{
    position: absolute;
    height: 100%;
    width: 100%;
}

#front-category-desk{
    z-index: 1;
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-auto-rows: 40px;
    padding: 10px;
    background-image: url('companies-assets/cat-back.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    box-sizing: border-box;
    transition: .5s;
}
#front-category-desk img{
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 5px;
}
#front-category-desk p{
    margin: auto;
    margin-left: 15px;
    max-width:107px;
}

#front-photos-container{
    z-index: 1;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: grid;
    grid-template-rows: 15% 15% 10% 15% 20% 15% 10%;
    transition: .5s;
    
}
#front-photos-container img{
    
    height: 100%;
    width: auto;
    display: block;
    float: right;
    padding: 8px;
    /* box-shadow: inset 0px 0px 11px -3px #000000; */
    box-sizing: border-box;
    background: url('assets/background-mark-3.png');
    background-size: 100% 100%;
}
#front-photos-container div{
    width: 0;

}

#img-container{
    position: absolute;
    background: url(map/карта_icons.png) no-repeat;
    background-position: center;
    background-size: auto 100%;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0; 
}



#map-photo{
    width: auto;
    height: 100%;
    margin: auto;
    /* background: url(map/map-back-new.png) no-repeat;
    background-position: center;
    background-size: 100% 100%; */
    transition-property: all;
    transition: 2s;
}
#map{
    width: 100%;
    text-align: center;
    margin: auto;
    position: relative;
    height: 100%;
    background: #125b9b;
}
.dot{
    position: absolute;
    border-radius: 50%;
    background: url(map/dot.png) 100% 100% no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 4;
    color: white;
    font-weight: bold;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    /*opacity: 0.7;*/
    transition-property: all ;
    transition: .3s;
}
.dot:hover{
    opacity: 1;
}

.dot span{
    z-index: 5;
}

.dot:hover{
    z-index: 999;
}

#dot-container{
    position: relative;
    margin: auto;
}


#dot-static{
    position: relative;
    height: 100%;
    margin: auto;
    overflow: hidden;
}
#dot-static-container{
    position: absolute;
}

#card-container-wrapper{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#card-container{
    position: relative;
    height: 100%;
    width: 100%;
}

#map-photo, #map-photo * {
    transition-property: height;
    transition-duration: 1000ms;
  }


.card{
    padding: 10px;
    display: none;
    background: white;
    position: absolute;
    z-index: 5;
    opacity: 0;
    transition: all 0.4s;
    box-sizing: border-box;
    width: 217.6px;
    border-radius: 5px;
}
.card:hover{
    opacity: 1;
}
#card-categories img{
    display: block;
    float: left;
    width:30px;
    height: 30px;
    margin: 2.5px;
}
#card-title{
    margin: 3px;
    color: black;
}

.card img{
    width: 197.6px;
    border-radius: 3px;
    height: 120px;
    display: block;
}


/*Main menu styles*/

footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

#bottom-menu{
    position: absolute;
    bottom: 0;
    height: 50px;
    width: 100%;
    background: #187bbf;
}
#bottom-menu-container{
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 100px 1fr ;
}

.menu-link a{
    color: white;
    font-size: 18px;
    padding: 15px;
}

.menu-link{
    position: relative;
}

#login-link{
    display: block;
    width: 70px;
    height: 70px;
    box-sizing: border-box;
}

#login-link object{
    width: 100%;
    height: auto;
}

#left-menu-link{
    float: right;
    margin-right: 20px;
}
#right-menu-link{
    float: left;
    margin-left: 20px;
}


#logo-container{
    position: relative;
}
#logo-container a{
    display: block;
    position: absolute;
    bottom: 0px;
    border-radius: 50%;
    background: #187bbf;
    box-sizing: border-box;
    width: 100px;
    /* height: 100px; */
    padding: 10px;
    padding-bottom: 0;
}
#logo-container img{
    width: 100%;
    height: auto;
}
.events-container a{
    display: none;
    opacity: 0;
    transition: 1s;
    transition: all;
    font-size: 15px;
}
.events-container{
    position: absolute;
    bottom: 50px;
    display: grid;
    grid-auto-rows: 50px;
    grid-template-columns: 1fr 1fr;
    transition: .4s;
    transition-property: all;
    height: 0;
    width: 0;
    background:  #187bbf;
    z-index: 6;
}


/* company template styles */ 
#companies-template{
    width: 100%;
    min-height: calc(100vh - 50px);
   
    color: white;
}
#sortForCategories span, #sortForCategories select, #form-container label{
    margin-left:10px;
    float:left;
    margin-top:10px;
}
#form-container{
    width: fit-content;
    margin: auto;
    padding: 10px;
    font-size: 20px;
    margin-top:50px;
    color: #007bc0;
}
#sortForCategories select{
    border: solid 1px;
    width: 250px;
    height: 30px;
    border-radius: 5px;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
   color: #007bc0;
   text-align:center;
}
#form-container label{
    border: solid 1px;
    height: 30px;
    display: block;
    width: 100px;
    text-align: center;
    line-height: 30px;
    box-shadow: 0 0 2px 1px #007bc0;
    float: left;
    background: #007bc0;
    color: white;
}
#sortForCategories select option{
    text-align:right;
}
select:focus{
    outline: none;
}
#responsive-container{
    width:90%;
    margin:auto;
    margin-top:30px;
    padding-bottom:100px;
}
#response{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
}
.company-container{
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    border: 4px solid white;
    margin:10px;
   
}
.company-container  p{
      position: absolute;
    bottom: 4px;
    text-align: center;
    padding: 8px;
    height: 25%;
    width: 100%;
    margin: 0;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    box-sizing: border-box;
    transition: .3s;
    transition-property: height;
    font-size:1vw;
    text-align:left;
}
.company-slogan{
    font-size: 1.5vw;
}
.company-container:hover p{

}
.company-container img{
    width: 100%;
    height: auto;
    
}

/* single company styles */

.logo-for-company{
    height: 200px;
    position: absolute;
    top: 30px;
    right: 30px;
}

.company-inner{
    max-width: 1400px;
    margin: auto;
}
.company-main-img-container{
    width:100%;
    height:auto;
}

.company-big-container{
    min-height: calc(100vh - 50px);
    max-width: 900px;
    margin: auto;
    
}

.company-info-container{
    position: relative;
}
.company-header{
    border-bottom: 1px solid #8080802e;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.company-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    clear: both;
}
.company-main-img{
    background-size: 100% auto;
    background-repeat:no-repeat;
    background-position:center;
    height: 400px;
    width: 100%;
    display: block;   
}

.company-content-wrapper{

}
.link-header{
    font-weight: bold;
}

#company-map-container{
    margin: auto;
    box-sizing:border-box;
    padding: 5px;
    border: solid 2px;
    border-radius: 8px;
    width:40%;
    float:left;
    margin-top:50px;
    height:280px;
  
}

#company-map-container iframe {
    height: 100%;
    width: 100%;
}
.company-name{
text-align: center;
    font-size: 30px;
    padding-bottom: 40px;
    padding-top: 40px;
}
}
#company-category-container{
    display: grid;
    grid-template-columns:  max-content 1fr;
    /* position: absolute; */
    width: 600px;
    margin:auto;
    /* bottom: 0; */
}

#company-links{
    box-sizing:border-box;
    margin: auto;
    padding: 5px;
    letter-spacing: 1.2px;
    margin-top: 50px;
    width:30%;
    float:right;
      padding-bottom:200px;
}

.link-text{
    margin-left: 5px;
}
a.link-text span{
    
    text-decoration: underline;
}

#name-container{
    
}
#company-categories-icons{
    position: relative;
}
#company-categories-icons-container{
border-radius: 10px;
    padding: 3px;
    /* width: max-content; */
    /* position: absolute; */
    /* bottom: 20px; */
    /* right: 20px; */
    margin: auto;
}
#company-links i{
    font-size: 25px;
        margin-top: 1px;
}
#company-categories-icons-container img{
    height: 40px;
    margin-right: 5px;
    margin-left: 5px;
}
.company-name span{
    display: block;
    float: left;
}
.company-name img{
    height: 30px;
    margin-top: 0px;
    margin-left: 5px;
}
#company-text{
    padding: 5px;
    border-radius: 20px;
    background: white;
    color: black;
    box-sizing: border-box;
    margin:auto;
    margin-top: 30px;
}


/*event styles*/

#event-cat-title{
    text-align: center;
    font-size: 30px;
    padding: 10px;
   
    float: none;
    margin:auto;
     margin-top: 125px;
    color:white;
}
#event-template{
    background: #187bbf1c;
    min-height: calc(100vh - 50px);
    box-sizing: border-box;
    width: 100%;
}

#event-container{
    max-width: 1200px;
    padding: 10px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.event-post-demo{
    position:relative;
    padding: 0px;
    margin: 10px;
    width: calc(100% - 20px);
    border-radius: 2px;
    box-sizing: border-box;
    box-shadow: 0 0 6px 2px rgba(0,0,0,0.5);
    background: white;
    padding-bottom: 30px;
}
.demo-img{
    width: 100%;
    height: 200px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center center;
    
}
.demo-title{
    margin-top: 15px;
    font-size: 20px;
    margin-left: 10px;
}
.demo-content{
    margin-top: 15px;
    margin-left: 10px;
}
.read-more{
 float: right;
    padding: 8px;
    border-radius: 3px;
    background: #187bbf;
    cursor: pointer;
    color: white;
    margin-right: 15px;
    margin-top: 15px;
    background: none;
    color: black;
    border: solid 1px;
    font-weight: 500;
}
#overlay{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: none;
    overflow: scroll;
    grid-template-columns: 1fr 45% 1fr;
}
.hider:hover{
    background: rgba(0, 0, 0, 0.5);
}
.event-info-wrapper{
    width: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    padding-bottom: 70px;
    box-sizing: border-box;
    position: relative;
    margin:auto;
}
.event-info{
    width: 100%;
    font-size:14px;
}
#event-top-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.event-all-data a{
    color:black;
}
#event-info-img{
    width: 100%;
    height: auto;
    display: block;
}
#event-all-container{
    padding: 10px;
    color:#000;
    letter-spacing: 1.2px;
}
#event-info-title{
    font-size: 23px;
    color:black;
        padding-bottom: 30px;
}
.event-all-data{
    margin: 5px;
}
#event-info-content{
    margin: 10px;
    padding: 10px;
    border-radius: 20px;
    background: white;
    color: black;
   
}
#overlay-hide-button{
    position: absolute;
    bottom: 30px;
    right: 10px;
    display: inline-block;
    padding: 5px;
    border-radius: 4px;
    background: white;
    color: #187bbf;
    cursor:pointer;
    float: right;
    padding: 8px;
    border-radius: 3px;
    background: #187bbf;
    cursor: pointer;
    color: white;
    margin-right: 15px;
    margin-top: 15px;
    background: none;
    color: black;
    border: solid 1px;
    font-weight: 500;

}
/*Mobile version*/

@media screen and (max-aspect-ratio: 1/1){
    /* #response{
        
        grid-template-columns: repeat(3, 1fr);
        
    }
    .company-container  p{
        padding: 2px;
        font-size: 13px;
    }
    #overlay{
        grid-template-columns: 30px 1fr 30px;
    }
    #event-top-container{
        grid-template-columns: 1fr;
    }
    #event-container{
        grid-template-columns: 1fr;
    }
    #hide-card{
        display: block !important;
        color: white;
        z-index: 1;
        position: absolute;
        bottom: 10px;
        right: 10px;
        padding: 5px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 4px;
    }
    .menu-link a{
        font-size: 15px;
        margin: 0 !important;
    }
    .events-container{
        left: 0;
    }
    .menu-link{
        position: unset;
    }
    #bottom-menu-container{
        position: relative;
    }
    #logo-container a{
        z-index: 7;
    }
    #login-link{
        width: 58px;
        height: 58px;
    }
    .company-big-container{
        grid-template-columns: 1fr;
    }
    #mark img{
        
        width: 80px;
    }
    #mark{
        left: 0;
    }
    #zoom-container{
        width: 100%;
    bottom: 0;
    height: unset;
    position: unset;
    }
    #front-category-desk{
        font-size: 10px;
        position: unset;
    bottom: unset;
    left: unset;
    display: grid;
    grid-template-columns: 30px 1fr 30px 1fr;
    grid-auto-rows: 30px;
    padding: 10px;
    background: #eee3cd;
    width: 100%;
    padding-top: 50px;
    }
    #front-category-desk p{
        margin-left: 5px;
    }
    #map-all-container{
        background: #125b9b;
    }
    #filler{
        background: #eee3cd;
    } */



}




/*Console styles*/
#event-console{
    max-width: 1200px;
    margin: auto;
}

#event-console-header{
    border-bottom: 1px solid silver;
    padding: 10px;
}
#user-login{
    float: left;
    padding: 3px;
    border:solid 2px;
    border-radius: 3px;
}
#console-heading{
    padding: 5px;
    float: left;
}

#posts-info{
    display: grid;
    grid-template-columns: auto 1fr auto;
    padding: 20px;
    border-bottom: 1px solid silver;
}

.console-button{
    padding: 5px;
    border: 2px solid violet;
    color: white;
    background: blueviolet;
    border-radius: 4px;
}
#event-posts-container{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    grid-auto-rows: 300px;
}
#event-form-editor input{
    width: 80%;
    margin:auto;
    
}
#event-form-editor textarea{
    width: 80%;
    margin:auto;
}
#event-form-editor input[type=radio]{
    width: unset;
}
.console-event-card{
    margin: auto;
    width: 200px;
    min-height: 280px;
    text-align: center;
    border: 1px solid black;
    border-radius: 3px;
    box-shadow: 0px 0px 5px 0px black;
}
.console-event-card img{
    margin: auto !important;
}
.console-event-card-header{
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 5px;
}
.console-event-card-img{
    width: 100%;
    
}
#delete{
    display: inline-block;
    padding: 5px;
    border-radius: 4px;
    background: red;
}
#log-in-form{
    width:300px;
    margin-top:-50px;
}
#log-in-form label{
    border: none;
    height: 30px;
    display: block;
    width: 100%;
    text-align: center;
    line-height: 30px;
    box-shadow: none;
    float: none;
    background: none;
    color: white;
}
#log-in-form input{
    border: solid 1px;
    height: 30px;
    display: block;
    width: 100%;
    text-align: center;
    line-height: 30px;
    box-shadow: none;
    float: none;
    background: white;
    color: white;
    border-radius:7px;
    
}
.form-companies-t{
    width: 520px;
    /* height: 150px; */
    padding: 50px;
    overflow: hidden;
    margin: auto;
 
    border: solid 3px #fff;
    border-radius: 41px;
    background:none;
float:right;
margin-top:80px;
margin-right:50px;
}
.form-companies-t span{
    height:30px;
    line-height:30px;
}
.form-companies-t label{
        border: solid 2px white;
    /* padding: 4px; */
    height: 26px;
    line-height: 30px;
    display: block;
    float: left;
    padding: 0 15px;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 0 2px;
    margin-left: 10px;
}
.baner-page{
    width:100%;
    height:300px;
    overflow:hidden;
    background: url(assets/baner-page.jpg);
    background-size: cover;
    background-position: center;
    
}
.baner-page-before{
    width:100%;
    height:300px;
    overflow:hidden;
   background: rgba(0,0,0,0.6);
   position:relative;
}
.baner-page-before h1{
        margin-top: 150px;
    float: left;
    margin-left: 10%;
}
#log-in-form #submit-label{
       height: 40px;
    display: block;
    width: 40%;
    margin: auto;
    text-align: center;
    line-height: 40px;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
    float: none;
    background: white;
    color: #007bc0;
    border-radius: 7px;

}
#log-in-form input:focus{
     box-shadow: 0 0 3px white;
      border: solid 1px white;
      outline:none;
} 
#log-in-form input:active{
    outline:none;
     box-shadow: 0 0 3px white;
      border: solid 1px white;
} 
#login-content{
    color: white;
}
#login-content img{
    display:block;
    width:150px;
    margin:auto;
    margin-top:20px;
}
#login-page-cont{
    width:400px;
    margin:auto;
    
    border-radius:5px;
}

.navigation{
    width:600px;
    margin:auto;
    margin-top:40px;
    
}
.nav-box{
    width:300px;
    float:left;
    
}
.nav-box img{
    width:17px;
    height:auto;
  }
.previous p, .previous img{
    float:left;
    
    
}
.previous p{
    margin-left:5px;

    color:white;
}
.next img, .next p{
    float:right;
}
.next p{
    margin-right:5px;
    color:white;
}
.event-banner{
   height:200px;
}
.event-banner #event-cat-title{
   margin-top:75px;
}








































