@import "all_pre.css"



.flex{
    display: flex;
}

i{
    min-width: 1em;
}
body {
  position: relative;
  background-color: #fcfcfc;
  color: #636b6f;
  font-family: "SF Pro Display" !important;
  font-weight: 400;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 1.2em;
}

button{
    font-family: "SF Pro Display" !important;
}
#post-content p{
    text-indent: 1.5em;
}
@media screen and (min-width: 1500px)
{
    body{
        font-size: 1.6em;

    }   

}

.advantages-block
{
    background-color: rgba(240, 241, 242, 0.5);
    display: flex;
    flex-direction: column;
    margin: 8px;
    width: 15%;
    text-align: center;

    justify-content: center;
    align-items: center;
}
.advantages-block:nth-child(2n+1){
    background-color: rgba(254, 254, 254, 0.8);
}

#header-back-img{
    position: fixed;
    opacity: 0.2;
    height: 100vh;
    width: 100%;
    z-index: -5;
    background-image: url(/public/storage/settings/фон.jpg);
    background-size: cover;
    background-position: center;
}


@media (max-width:900px){
  .advantages-block{
    flex-direction: 
  } 
}



.downheader
{
    display: flex;
    width: 100%;
    height: 30vh;
}


.btn
{
    margin-right: 3%;

    border: 2px solid #fff;
    border-radius: 20px;
}
.h2
{
    font-size: 20px;

    margin-top: 35px;

    text-align: center;
}
.bt1
{
    text-shadow: 3px 3px 20px #0000007a, 3px 3px 12em black;
    box-shadow: 5px 4px 7px 1px black, 8px 2px 3em black;
    margin: auto; 
    width: -webkit-max-content; 
    width: -moz-max-content; 
    width: max-content;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    color: #0074b8;
    font-size: 30px;
    padding: 20px 40px;
    font-weight: 400;
    
    border: 3px solid rgb(163, 205, 140);
    border-radius: 0.8em;
    border-color:  #a7d58b;
}
.bt2
{
    font-size: 15px;

    margin-top: 40px;
    padding: 10px 20px 10px 30px;

    color: rgb(122, 189, 122);
    border: 2px solid rgb(122, 189, 122);
    border-radius: 40px;
    background: none;
}


.container{
    margin-top: 1em;
}

.text-background{
    margin: auto;
    background-color: rgba(255, 255, 255, 0.9);
    font-family: 'SF Pro Display';
    font-weight: 500;
    font-size: 1.4em;
    padding: 0 5%;

}


.h1{
    margin: auto;
}

.content
{
    
}


.first{
   background-image: url('images/background-lightgrey3.png');
    background-size: cover; 
    display: flex;
    justify-content: center;

}
.advantages
{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-top:5%;
    padding-bottom: 5%;
    text-align: center;
    justify-content: center;
}

.advantage-img{
height: 80%;
height: auto;
}

.advantage-img img{
    width: 60%;
}



.second
{
 
    
    width: 100%;
    background-image: url("images/background-yellow-work.png");
    background-size: cover;
    display: flex;
    justify-content: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
}
.block
{
    display: flex;
    flex-direction: column;

    width: 15%;
    text-align: center;

    justify-content: center;
    align-items: center;
}

.second>.block{
    background-color: rgba(240, 241, 242, 0.5);
    display: flex;
    flex-direction: column;

    width: 15%;
    text-align: center;

    justify-content: center;
    align-items: center;
}
.process-block{
    background-color: rgba(240, 241, 242, 0.5);
    
}


.process-block:nth-child(2n+1){
    background-color: rgba(254, 254, 254, 0.8);

}



.advantages-block
{
    background-color: rgba(240, 241, 242, 0.5);
    display: flex;
    flex-direction: column;
    margin: 8px;
    width: 15%;
    text-align: center;

    justify-content: center;
    align-items: center;
}
.advantages-block:nth-child(2n+1){
    background-color: rgba(254, 254, 254, 0.8);
}



.less_rel
{
    font-family: 'Circe';
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    
    color: #fff;
}





.third
{
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
}
#third-background-img{
    position: fixed;
    size: cover;
    height:100vh;
    width: 100%; 
    z-index: 99;
}

.fourth
{
    display: flex;

    flex-wrap: wrap;
}


.fifth
{
    font-family: 'SF Pro Display';
    width: 100%;
    display: flex;
    justify-content: center;
}

.fifth-gallary{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 80%;
    justify-content: center;
}

@media (max-width:992px)
{
    .fifth-gallary{
        margin-top: 2em;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        flex-direction: column;
        justify-content: center;
    }
}


.fif-box{
    width: 30%;
    display: flex;
    flex-direction: column;
    border: 2px solid #0074b8;
    margin: 1%;
    padding-bottom:1%;
    padding-top: 0%;
    background-color: #f4fafec2;
}
@media (max-width:992px)
{
    .fif-box{
        width: 90%;
        margin: auto;

        margin-bottom: 2%;
    }
}
.fif-box-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box-img{
    width: 90%;
    margin: auto;
    margin-top: 1vh;
    display: flex;
}
.box-img a{
    display: flex;
}
.box-img img{
    max-width: 100% !important;
    width: 100%;
    margin: auto;
}

.box-name{
    margin: auto;
    width: 90%;
    text-align: left;
}

.box-name a{
    font-weight: 600;
    color: #0074b8;
    text-decoration: none;
    font-size: 28px;
    width: 90%;
    text-align: left;
}

.box-description{
    margin: auto;
    font-size: 16px;
    font-weight: 500;
    width: 90%;
    text-align: left;
    margin-bottom: 0px;
}

.box-description p{
    margin-top: 5%;
    margin-bottom: 0%;
}



.box-dop-description{
    font-size: 1em;
    width: 90%;
    margin: auto;
    margin-top: 1.5vh;
    display: flex;
}

.box-dop-description-camer{
    display: inline-flex;
}

.box-dop-description-camer span{
    padding: 0px 5px 0px 5px;
    border: 2px solid #0074b8;
    margin-right: 5%;
    background-color: white;
}

.box-dop-description-width{
    display: inline-flex;
    margin-left: auto;
    margin-right: 0;
}

.box-dop-description-width span{
    padding: 0px 5px 0px 5px;
    border: 2px solid #0074b8;
    margin-left: 0.2em;
    background-color: white;
}






.img
{
    padding: 3%;
}
.img img
{
    width: 100%;
}
.advantages > .img,
.fourth > .img
{
    width: 45%;
}
.fourth > .main > .h3
{
    width: 100%;
}
.arrow
{
    padding-left: 15px;
}
.main
{
    display: flex;
    flex-direction: column;

    width: 35%;
    padding-left: 10%;

    justify-content: center;
}
.greyline
{
    height: 1px;

    background: gray;
}

.third > .main
{
    width: 45%;
    margin-bottom: 30px;
    padding: 0;
    padding-left: 5%;
}
.third > .img
{
    width: 47%;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 0;
    padding-left: 3%;
}
.transactions
{
    width: 40%;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 10%;
}
.news
{
    width: 45%;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 5%;
}
table
{
    width: 100%;
    table-layout: fixed;
    margin-top: 30px;
    white-space: nowrap;
    border-collapse: collapse;
}

td
{   
    padding: 10px 14px 10px 10px;
    border: 1px solid grey;
}

.blue
{
    width: 30%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgb(0, 153, 255);
    text-align: center;
}
.tabletime{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
.green
{
    font-family: Circe;
    font-weight: 500;
    color: rgb(83, 170, 129);
    text-align: center;
}
.undernews
{
    margin-top: 30px;
}
.undernews > .txt
{
    font-size: 18px;

    margin: 0;
    padding: 0;

    justify-content: flex-start;
}
.undernews > .text
{
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
}
.back
{
    height: 85vh;

    background-image: url('img/bg2.png');
    background-size: cover;
}
.forming
{
    display: flex;
    flex-direction: column;

    margin-top: -80vh;
    margin-right: auto;
    margin-left: auto;

    align-items: center;
}
.line
{
    width: 48%;
    height: 10px;

    background-image: url('img/ribbon.png');
}
.contact
{
    font-family: 'Circe';
    display: flex;
    flex-direction: column;

    width: 44%;
    padding: 3% 2%;

    background: #fff;

    align-items: center;
    justify-content: center;
}
.form
{
    
    width: 100%;
    margin: 3%;
    padding: 3% 0;
    padding-left: 2%;

    border: 1px;
    border-color: rgb(233, 233, 233);
    background: rgb(233, 233, 233);
}
.formtext
{
    font-weight: 700;
    font-size: 30px;
}
#sub
{
    display: none;
}
form
{
    display: flex;
    flex-direction: column;

    width: 90%;

    justify-content: center;
    align-items: center;
}
.sub
{
    font-size: 15px;

    width: 100%;
    margin-top: 4%;
    padding: 3% 1%;

    text-align: center;

    color: #fff;
    border-radius: 5px;
    background: rgb(56, 122, 153);
}








/*----------------GALARY----------------*/


.g-cont {
    width: auto;
    max-width: 100%; 
}

.section--our-wrorks .s-title {
    margin-bottom: 60px;
    flex-wrap: wrap;
    justify-content: space-around;
}

.s-title {
    margin-bottom: 30px;
    text-align: center;
    font-size: 44px;
    font-weight: 400;
    color: black;
    text-shadow: 1px 1px 2px black, 0 0 1em white;
    text-transform: uppercase;
    font-family: 'SF Pro Display';
    line-height: 1.1;
}

@media screen and (max-width: 450px){
    .s-title {
    font-size: 30px;
    }
}

.l-gallery {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 100%;
    padding: 0!important;
}

.l-gallery_item {
    position: relative;
    width: 40%;
    margin-bottom: 24px;
    line-height: 0;
    cursor: pointer;
    padding: 0 0.7%;
    float: left;
}

.l-gallery_item--one-third {
    width: 26.2%!important;
}

.l-gallery_item-img {
    overflow: hidden;
    transition: all 1s;
    background: #000;
}

.l-gallery_item-img img {
    transition: all 1s;
    display: block;
    width: 100%;
    height: 100%;
}

.l-gallery_item-caption {
    position: absolute;
    bottom: 20px;
    width: 90%;
    border: 1px solid #fff;
    left: 5%;
    text-align: center;
    background-color: rgba(0, 116, 184, 0.7);
    display: flex;
}

.l-gallery_item-caption span {
    font-family: 'SF Pro Display';
    text-shadow: 1px 1px 2px black, 0 0 1em black;
    min-height: 33px;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 1.5em;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    display: flex;
    align-items: center;
    margin: auto;
}




@media screen and (max-width: 900px){

    .l-gallery_item-caption {
        position: absolute;
        bottom: 10px;
    }

    .l-gallery_item-caption span {
        min-height: 20px;
        padding: 2px 3px;
        font-weight: 700;
        font-size: 10px;
        line-height: 1.2;
    }

}





/*----------------GALARY----------------*/









.sixth
{
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
}
.buttom-logo{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.buttom-logo img{
    width: 200px;
}

.sixth > .header-txt
{
    font-size: 44px;

    margin-top: 50px;

    text-align: center;
}
.sixth > .h3
{
    margin-top: 30px;
    padding-bottom: 40px;
}
.sixth > .h3 > .bt1{
    width: 400px;
    display: flex;
    white-space: nowrap;
justify-content: center;
    align-items: center;
}

.google-map{
    width: 100%;
}

.prefooter
{
    background-image: url(/public/storage/veka/styles/images/footer.png);
    background-size: cover;
    width: 100%;
    height: 100px;
    display: flex;
    padding: 20px 0;
    z-index: 2;
    opacity: 0.5;
}

@media screen and (max-width: 900px)
{
    .downheader > .h1{
        padding: 3px 10px;
        font-size: 40px;
    }
    .downheader > .h2{
        font-size: 16px;
    }
    .downheader > .h3 >.bt1{
        font-size: 20px;
        padding: 13px 10px;
    }
    
    .advantages,
    .second,
    .third,
    .fourth
    {
        flex-direction: column;

        justify-content: center;
        align-items: center;
    }
    .main
    {
        width: 80%;
        margin-top: 40px;
        padding-left: 40%;
    }
    .img
    {
        width: 80%;
    }
    .block
    {
        width: 80%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

.third > .img{
    margin: 0px;
}
.third > .main{
    margin-top: 0px;
}

    .advantages > .img,
    .fourth > .img
    {
        width: 80%;
    }
}


@media screen and (max-width: 450px)
{
    .downheader > .h1{
        padding-top: 30px;

    }
    .h1
    {
        font-size: 25px !important;
    }
    .txt
    {
        font-size: 100%;
    }
    .bt1{
        font-size: 90%;
        padding-left: 5px;
        padding-right: 5px;
    }
    .rel
    {
        font-size: 16px;
    }
    .third .img img{
    padding: 70px;
    }
    .sixth > .rel {
    font-size: 20px;
    margin-top: 100px;
    padding-bottom: 20px;
    text-align: center;
    }
    .sixth > .h3 {
    padding-bottom: 80px;
    }
    .sixth > .rel {
    display: flex;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    }
    

}






@-webkit-keyframes radial-pulse {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.5);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
}

@keyframes radial-pulse {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.5);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
}

/*Time for the CSS*/
* {margin: 0; padding: 0;}
.slider{
    max-width: 100vw;
    overflow: hidden;
    width: 100%; /*Same as width of the large image*/
    position: relative;
    /*Instead of height we will use padding*/
    padding-top: 500px; /*That helps bring the labels down*/
    
    margin: 2em 0;
    
}

.gallery-img{

    max-height: 200px;
    max-width: 100vw;
}
/*Last thing remaining is to add transitions*/
.sliderimg{
    display: inline-flex;
    position: absolute;
    left: 0; top: 0;
    transition: all 0.5s;
    height: 500px;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    align-items: center;

}
.slider>.sliderimg>img{
    left: 0; top: 0;
    transition: all 0.5s;
    max-height: 500px;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    box-shadow: 5px 4px 7px 1px black, 8px 2px 3em black;
}

.slider input[name='slide_switch'] {
    display: none;
}

.slider-control{
    position: absolute;
    color: #0074b8;
    font-size: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.5em;
    width: 1.5em;
    float: left;
    border: 3px solid #999;
    border-radius: 0.75em;
    cursor: pointer;
    transition: all 0s;
    opacity: 0.6;
    box-shadow: 5px 4px 7px 1px black, -1px 0px 1em 2px #0074b88a;
}

.prev-label {
    left: 20vw;
}

.next-label {
    right: 20vw;
}

.img-label {
    /*Lets add some spacing for the thumbnails*/
    margin: 18px 0 0 18px;
    border: 3px solid #999;
    
    float: left;
    cursor: pointer;
    transition: all 0.5s;
    
    /*Default style = low opacity*/
    opacity: 0.6;
    box-shadow: 5px 4px 7px 1px black, -1px 0px 1em 2px #0074b88a;
}


.slider .img-label img{
    display: block;
}

/*Time to add the click effects*/
.slider input[name='slide_switch']:checked+.img-label {
    border-color: #fff0;
    opacity: 1;
    box-shadow: none;
}
/*Clicking any thumbnail now should change its opacity(style)*/
/*Time to work on the main images*/
.slider input[name='slide_switch'] ~ .sliderimg {
    z-index: 0;
    opacity: 0;
    transform: scale(1.1);
}
/*That hides all main images at a 110% size
On click the images will be displayed at normal size to complete the effect
*/
.slider input[name='slide_switch']:checked+.img-label+.sliderimg {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}


@media screen and (max-width: 900px) {

    .slider-control{
        font-size: 3em;
        height: 1.2em;
        width: 1.2em;
    }

    .prev-label {
        left: 0;
    }

    .next-label {
        right: 0;
    }

    .gallery-img{
        max-height: none;
        max-width: 100%;
    }

    .img-label{
        margin: 18px 9px 0 9px;
        opacity: 1;
    }

}



/*Clicking on any thumbnail now should activate the image related to it*/

/*We are done :)*/




h1,
h2,
h3,
h4,
h5,
h6 {
  margin: auto;
  margin-top: 0.5em;
}

h1{
    text-align: center;
}

a {
  text-decoration: none;
  color: #0074b8;
}

small {
  opacity: 0.6;
}

ul {
  margin: 0;
  padding: 0;
}

button {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border: none;
  border-radius: 3px;
  padding: 6px 15px;
  background-color: #22A7F0;
  color: white;
}

textarea {
  min-height: 4em;
}

input[type=text],
input[type=password],
input[type=email],
textarea {
  outline: 0;
  border: 0;
  resize: vertical;
  width: 100%;
  box-shadow: 2px 1px 1em #0000007d;
  border: 0;
  max-width: 90vw;
  margin: auto;
}

input[type=text],
input[type=password],
input[type=email],
input[type=tel],
textarea:hover {
  resize: vertical;
  overflow: auto;
  background-color: #fbf9f4;
  box-shadow: 0px 0px 7px 3px #5a7641;
  border-radius: 4px;
}

input[type=submit] {
  background-color: #22A7F0;
  box-shadow: 0px 0px 7px 3px #ffffff;
  border: 0px solid white;
  border-radius: 2px;
  color: white;
  padding: 6px 15px;
}

input[type=file] {
  box-shadow: 0px 0px 7px 3px #ffffff;
  border: 0px solid white;
  border-radius: 3px;
  color: darkgray;
  padding: 6px 15px;
}

.mobile {
  display: none;
}

.modal {
  display: none;
}

#mobile-menu {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0.5em;
  align-items: center;
}

nav {
  width: 100%;
  display: flex;
  justify-content: center;
  vertical-align: middle;
  list-style-type: none;
  margin: auto;
  margin-bottom: 0;
  padding: 0;
}

.footer_navigation{
    overflow: hidden;
}

nav li {
  background-color: #e5eae930;
}

nav li a {
  display: inline-block;
  color: #0074b8;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  margin: 0px 1px 0px 0px;

  font-weight: 600;
}

nav li:hover {
  background-color: #0074b8;
}

nav li:hover,
nav .dropdown:hover {
  background-color: #0074b8;
}

nav li:hover > a,
nav .dropdown:hover {
    color: #dee8f4;
}




nav li .dropdown {
  display: inline-block;
}

nav .dropdown:hover > .dropdown-content {
  display: flex;
  flex-direction: column;
}

nav .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f7fbf3;
  min-width: 160px;
  width: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

nav .dropdown-content .dropdown-content a {
  text-decoration: none;
  display: block;
  text-align: left;
}

nav ul .dropdown-content > .dropdown > .dropdown-content {
  margin: -2.3em 0px 0px 100%;
}

nav .dropdown-content-middle {
  margin-left: 100%;
  margin-top: -2.3em;
}

.button-logo {
    min-width: 2.2em;
}

.menu-button {
  white-space: nowrap;
}

.nav-bar {
  width: 100%;
}

#check-menu {
  display: none;
}

#check-main:checked ~ footer * #close-menu-button {
  margin-bottom: 0;
  max-height: 100vh;
}

#check-main:checked ~ #main {
  filter: blur(3px);
}

#check-main:checked ~ footer .burger-button {
  -webkit-animation: none;
  animation: none;
}

#check-main:checked ~ footer .burger-button .burger-line-first {
  display: none;
}

#check-main:checked ~ footer .burger-button .burger-line-second {
  transform: rotate(45deg);
}

#check-main:checked ~ footer .burger-button .burger-line-third {
  transform: rotate(-45deg);
}

#check-main:checked ~ footer .burger-button .burger-line-fourth {
  display: none;
}

#check-main:checked ~ footer .nav-bar {
  max-height: 100vh;
}

#check-main:checked ~ footer .footer_navigation {
  max-height: 100vh;
}

#check-menu-button-label {
  display: block;
  position: absolute;
  height: 2.6em !important;
  width: 3em !important;
  right: 0.8em;
  top: 1em;
  cursor: pointer;
  z-index: 4;
}

#close-menu-button-label {
  width: 100%;
}

#close-menu-button {
  width: 100%;
  height: 100vh;
  margin-bottom: 100vh;
  max-height: 0vh;
  transition: 0.8s all;
  background-color: lightgray;
  opacity: 0.3;
}

.burger-button {
  display: none;
  overflow: hidden;
  border-radius: 1px;
  background-color: #21b01a;
  height: 2.6em;
  width: 2.2em;
  right: 0.8em;
  top: 1em;
  position: absolute;
  padding: 0 0.4em 0 0.4em;
}

.burger-line {
  visibility: hidden;
  position: absolute;
  width: 2.2em;
  height: 0.2em;
  background-color: white;
  transition: 0.5s all;
  z-index: 3;
  visibility: visible;
}

.burger-line-first {
  top: 0.5em;
}

.burger-line-second {
  top: 1.2em;
}

.burger-line-third {
  top: 1.2em;
}

.burger-line-fourth {
  top: 1.89em;
}

.footer_navigation {
  max-height: 0;
  transition: 0.8s all;
  background-color: #fcfcfc;
  margin-top: 0;
  border-bottom: 3px solid #b5dde5;
  margin-top: -3px;
}

.footer-logo {
  display: flex;
  width: 100%;
}

.footer-logo > a {
  margin: auto;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

.footer-logo > a > img {
  width: 50vw;
}

#footer-menu-avatar {
  position: absolute;
  width: 20%;
  left: 40%;
}

#footer-menu-avatar img {
  width: 100%;
}

#footer {
  min-height: 4vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2b5109ba;
  color:  #fff;
}

#footer a{
  color:  #fff;
}

header {
  width: 100%;
}

.header {
  display: flex;
  flex-direction: row;
  width: 90%;
  margin: auto;
}

#left-header {
  display: flex;
}

#left-header > .header-logo {
  vertical-align: middle;
  margin: auto;
}

#left-header > .header-logo img {
  height: 10vh;
  margin: 0.5vh;
}

#mid-header {
  position: relative;
  width: 70vw;
  display: flex;
  justify-content: space-around;
}



.header-contacts
{
    display: flex;
    flex-direction: column;
    color: #0074b8;
}

.header-contact-adr 
{
    display: flex;
    background-color: #0074b8;
}

.header-contact-adr div
{
    margin: 2px;
    display: flex;
}

.header-contact-adr a
{
    color: #fff;
    margin: 2px;
}





#mid-header > .desktop {
  position: absolute;
  bottom: -2em;
  margin: auto;
  width: 100%;
  z-index: 3;
}

.header-txt{
    display: flex;
    align-items: center;
    font-size: 1.2em;

}

.desktop {
  display: flex;
}

.header-contact-mob {
  display: flex;
  justify-content: end;
  flex-direction: column;
  margin-top: auto;
  font-weight: 600;
}

.header-contact-mob div{
  margin-top: 2px;
}




.header-contact-mob a{
    margin-bottom:  2px;
    margin-left: auto;    
}

#right-header {
  width: 15vw;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

#right-header > .auth-block {
  justify-content: space-around;
  height: 80%;
}

#lang-check {
  display: flex;
  place-items: center;
  margin: unset;
}

select[name=change_lang] {
  border-radius: 2px;
  min-width: 4em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: right !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-color: gainsboro;
  box-shadow: 1px 1px 9px black;
  margin-left: 1em;
}

main {
  width: 100%;
  margin-bottom: auto;
  display: flex;
  flex-direction: row;
}

.auth-block {
  display: flex;
  flex-direction: column;
  vertical-align: middle;
  list-style-type: none;
}

.auth-block {
  color: #474747 !important;
}


.breadcrumb-item  {
  list-style-type: none;
  float: left;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  width: 70%;
  margin: auto;
  background: linear-gradient(180deg, white 0, white 35%, #ffffff00 100%);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.breadcrumb-list {
  padding: 0;
  margin: 1vh;
}

#leftside-aside {
  width: 5%;
  position: fixed;
}

article[role=main] {
  width: 100%;
  display: flex;
  flex-direction: column;
}

article[role=main] p>iframe{
    display: flex;
    margin: auto;
    max-width: 100%;
}

#rightside-aside {
  width: 5%;
  position: fixed;
}

footer {
  width: 100%;
  min-height: 3vh;
}


.footer{
    display: flex;
    width: 100%;
    background-color: #0074b8;
    padding: 1em 0;
}

.footerleft
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 33%;
    text-align: -webkit-right;
}
.footerleft a
{
    color: white;
    text-decoration: none;
    font-size: 0.8em;
}
.footer-adress{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.footermid
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33%;
}
.social-links{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.social-link{
    text-decoration: none;
}
.social-link img{
    width: 5vw;
}

.footerright
{
    display: flex;

    width: 33%;

}
.footerright
{
    font-size: 0.8em;
}

main{
    margin-top: 2em;
}

@media screen and (max-width: 900px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: flex;
    margin-top:  0;
  }

  .burger-button {
    display: block;
    -webkit-animation: radial-pulse 2s infinite;
    animation: radial-pulse 2s infinite;
  }

  .nav-bar {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    max-height: 0vh;
    position: fixed;
    top: 0;
  }

  .burger-line {
    visibility: visible;
  }

  .dropdown-content {
    width: 100% !important;
  }

  .dropdown-content-middle {
    margin: 0 !important;
    margin-top: 0%;
  }

  .dropdown-content {
    margin: 0 !important;
    margin-top: 0%;
  }

  .header {
    width: 100%;
    flex-direction: column;
    padding: 0;
  }

  #left-header {
    width: 100vw;
  }

  #mid-header {
    width: 100vw;
    flex-direction: column;
  }

  .header-contacts{
    width: 100%;
    margin-right: 0 !important;
  }

  #mid-header div{
    margin: auto;
    margin-top: 0.5em;
  }

  .social-link img{
    width: 20vw;
  }

  nav {
    flex-direction: column;
  }

  main {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
  }

  article[role=main] {
    width: 100%;
  }

  #lang-check {
    margin-bottom: 1em;
    margin-top: auto;
  }

  #footer{
    flex-direction: column;
  }

  .footerleft,.footerright{
    width: 100%;
    align-items: center;
    flex-direction: column;
  }
}

#profile {
  display: flex;
  flex-direction: row;
  border: 3px solid #636b6f;
  border-radius: 0.4em;
  background-color: lightgray;
}

#profile-block {
  display: flex;
  flex-direction: column;
  background-color: #fcfcfc;
  margin: 0.1em;
}

#profile-block > ul {
  display: flex;
  flex-direction: column;
}

.profile-menu {
  background: linear-gradient(180deg, #ffffff00 0, #675e5e14 64%, #cbcbcbab 120%);
}

.profile-menu > a {
  color: #636b6f;
  display: inline-block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  width: -webkit-fill-available;
  min-width: 15vw;
}

#profile-info {
  display: flex;
  flex-direction: row;
  width: -webkit-fill-available;
  background-color: #fcfcfc;
  padding: 0.5em;
  border-radius: 0.5em;
  margin: 0.1em;
}

#text-profile-info {
  position: relative;
  margin-left: 1em;
  min-height: 50vh;
}

#text-profile-info > h2 {
  font-size: 1.2em;
}

#text-profile-info > span {
  font-size: 1.2em;
  text-shadow: 2px 1px 1em #0000007d;
}

.created-at {
  position: absolute;
  bottom: 1em;
  font-size: 0.9em;
}

.profile-logo {
  margin: auto;
  text-align: center;
}

.profile-logo img {
  min-width: 15vw;
  max-width: 40vw;
  margin: auto;
  border-radius: 50%;
}

@media screen and (max-width: 900px) {
  #profile {
    flex-direction: column;
  }

  #profile-info {
    flex-direction: column-reverse;
    min-height: 60vh;
  }

  #text-profile-info {
    min-height: 35vh;
    margin-bottom: auto;
  }

  .profile-logo {
    margin: unset;
    text-align: center;
  }
}

.change_form {
  display: flex;
  flex-direction: row;
}

.change_form button {
  opacity: 0.9;
  color: white;
  margin: 1vh;
}

.change_form input[type=checkbox] {
  display: none;
  max-width: 40vw;
}

.change_form input[type=text] {
  pointer-events: none;
  background-color: #ffffff00;
  text-shadow: 2px 1px 1em #0000007d;
  border: none;
  font-size: 1.2em;
  min-width: 6em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  pointer-events: none;
}

.change_form input[type=email] {
  pointer-events: none;
  background-color: #ffffff00;
  text-shadow: 2px 1px 1em #0000007d;
  border: none;
  font-size: 1.2em;
  min-width: 6em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  pointer-events: none;
}

.change_form input[type=password] {
  pointer-events: none;
  background-color: #ffffff00;
  text-shadow: 2px 1px 1em #0000007d;
  border: none;
  font-size: 1.2em;
  min-width: 6em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.change_form button[type=submit] {
  display: none;
}

.change_form button[type=button] {
  color: #2a3f49;
  background-color: #a3d5e0cc;
  pointer-events: none;
}

#change_name:checked ~ input[type=text] {
  pointer-events: all;
  background-color: #a3d5e091;
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
  box-shadow: 0px 0px 7px 3px #ffffff inset;
}

#change_name:checked ~ button[type=submit] {
  display: block;
}

#change_name:checked ~ label[for=change_name] {
  display: none;
}

#change_email:checked ~ input[type=email] {
  pointer-events: all;
  background-color: #a3d5e091;
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
  box-shadow: 0px 0px 7px 3px #ffffff inset;
}

#change_email:checked ~ button[type=submit] {
  display: block;
}

#change_email:checked ~ label[for=change_email] {
  display: none;
}

.change_password_form {
  display: flex;
  flex-direction: column;
}

.change_password_form button {
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  opacity: 0.9;
  border: none;
  color: white;
  margin: 1vh;
}

.change_password_form input[type=password] {
  display: flex;
  background-color: #a3d5e091;
  box-shadow: 0px 0px 7px 3px #ffffff inset;
  text-shadow: 2px 1px 1em #0000007d;
  border: none;
  font-size: 1.2em;
  min-width: 6em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.change_password_form input[type=password]:focus {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}

.blog-block {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: auto;
  margin-top: 1em;
  width: 80%;
  padding: 0.3em;
  border: 2px #80808021 solid;
  border-radius: 0.5em;
  background-color: #f4fafec2;
}

.blog-block-content {
  display: flex;
  flex-direction: column;
  width: -webkit-fill-available;
  width: -moz-available;
  margin-left: 0.5em;
}

.blog-block-down {
  position: absolute;
  bottom: 0.4em;
}

.block-img-link {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  width: 20%;
  padding: 0.2em;
}

.blog-block-img > img {
  width: 100%;
  box-shadow: 0px -1px 0.5em 1px #c1e4ff, -0.3em -0.05em 1em 1px #2b2f32;
}

@media screen and (max-width: 900px) {
  .blog-block {
    display: flex;
    flex-direction: column-reverse;
  }

  .block-img-link {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    width: 90%;
    padding: 0.2em;
  }
}

#post-content {
  display: flex;
  flex-direction: column;
  margin: auto;
  width: 70%;
  background-color: #fcfcfc;
}

.post-img {
  width: 70%;
  margin: auto;
  display: flex;
  justify-content: center;
}

.post-img > img {
  visibility: hidden;
  width: 100%;
  max-height: 35vh;
}

.post-background-img {
  width: 68%;
  position: fixed;
  background-repeat: no-repeat;
  z-index: -1;
  margin-top: -3vh !important;
  background-size: cover;
  filter: blur(5px);
  margin: auto;
}

.post-background-img > img {
  width: 100%;
  max-height: 95vh;
}

#post-image {
  width: 62%;
  margin: auto;
  margin-top: -20vh;
}

#post-body {
  margin-left: 1em;
}

#post-body img {
  max-width: 90vw;
  height: auto;
  margin-left: -1.5em;
}

.post-details {
  background: linear-gradient(180deg, white 0, white 64%, #cbcbcb 120%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 1em;
  padding-right: 1em;
}

#comments-to-post {
  min-height: 32vh;
}

@media screen and (max-width: 900px) {
  .breadcrumbs {
    width: 100%;
  }

  .post-img {
    width: 100%;
  }

  .post-img > img {
    max-height: 15vh;
  }

  .post-background-img {
    width: 100vw;
  }

  #post-content {
    width: 100%;
  }

  .post-details {
    display: block;
  }

  #comments-to-post {
    min-height: 10vh;
  }

  .post-background-img {
    filter: blur(0px);
  }
}

#comments-block {
  width: 80%;
  margin: auto;
}

.comment {
  position: relative;
  display: flex;
  flex-direction: row;
  border: 0.5em solid lightgray;
  width: 100%;
  margin: auto;
  margin-top: 0.5em;
  border-radius: 0.5em;
}

.comment .comment-user-logo {
  width: 10vh;
}

.comment .comment-user-logo > img {
  width: 100%;
  border-radius: 50%;
  margin: 0.5em;
}

.comment .comment-body {
  padding-left: 1em;
  width: -webkit-fill-available;
}

.comment .edit-comment {
  position: absolute;
  top: 0.9em;
  right: 1em;
  z-index: 1;
}

.comment .edit-comment button {
  padding: 0.2em 0.5em;
  color: white;
  opacity: 0.5;
  pointer-events: none;
}

.comment .reply-comment {
  position: absolute;
  top: 0.9em;
  right: 1em;
  z-index: 1;
}

.comment .reply-comment button {
  padding: 0.2em 0.5em;
  color: white;
  opacity: 0.5;
  pointer-events: none;
}

.comment .comment {
  width: 98%;
}

.form-group {
  width: 100%;
  margin-top: 0.5em;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 900px) {
  #comments-block {
    width: 100%;
  }

  .comment {
    width: 100%;
  }
}

.info-page {
  display: flex;
  margin-top: 10vh;
}

.info-page .info-body {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  width: 50%;
  margin: auto;
  background-color: #fcfcfc;
  border: 2px #80808021 solid;
  border-radius: 0.5em;
}

.info-page .info-title {
  text-align: center;
  margin: 1em;
}

.info-page .info-title h1 {
  color: #22A7F0;
  font-size: 2em;
}

.info-page .info-content {
  margin: 2em;
}

.info-page .info-content form {
  width: 50%;
  margin: auto;
}

@media screen and (max-width: 900px) {
  .info-body {
    width: 100% !important;
  }

  .info-content form {
    width: 80% !important;
  }
}

#auth-icon {
  height: 3em;
  width: 3em;
}

#auth-icon > img {
  height: 100%;
  border-radius: 50%;
}

#auth-block-menu {
  display: none;
  margin-left: -3.6em;
  margin-top: -3px;
  width: 10em;
  z-index: 5;
}

.auth-block {
  background-color: lightgray;
  border-radius: 0.3em;
  padding: 2px;
}

.auth-block > a {
  background-color: #fcfcfc;
  margin-bottom: 2px;
  padding: 1em;
  border-radius: 0.2em;
  text-align: center;
}

.auth-block a:last-child {
  margin-bottom: 0;
}

#auth-icon:hover {
  position: relative;
}

#auth-icon:hover > #auth-block-menu {
  display: block;
  position: absolute;
}

.auth-user-name {
  text-align: center;
  font-size: 1.5em;
  padding: 0.5em !important;
  pointer-events: none;
  text-shadow: -2px 0px 6px white, 0px 0px 3px black;
}

.go-to-profile {
  background: linear-gradient(180deg, white 0, white 64%, #cbcbcb 120%);
}

.go-to-admin {
  background-color: #21292e !important;
  color: white;
  box-shadow: inset 0px 0px 17px 0px #22A7F0, inset 0px 0px 11px 0px white;
}

.logout-button {
  background-color: #f99999 !important;
  color: white;
}

#login-with {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-with-button {
  margin: auto;
}

.login-with-button div {
  border: 1px lightgray solid;
  border-radius: 3px;
  margin-top: 0.5em;
}

.login-with-button div a {
  width: 14em;
  display: flex;
  align-items: center;
  padding: 0.5em;
}

.login-with-button div a img {
  height: 2em;
}

.login-with-button div a span {
  margin-left: 1em;
  white-space: nowrap;
  margin: auto;
}

.login-with-button #login-with-google {
  background-color: tomato;
}

.login-with-button #login-with-google a span {
  color: white;
}

.login-with-button #login-with-facebook {
  background-color: #1977f3;
}

.login-with-button #login-with-facebook a span {
  color: white;
}

.login-with-button #telegram-login-diplom_nitifier_bot {
  width: 100%;
  position: fixed;
  opacity: 0;
}

#page_body {
  width: 70%;
  margin: auto;
  font-size: 0.9em;
}

#page_body img {
  max-width: 80%;
}

@media screen and (max-width: 900px) {
  #page_body {
    width: 100%;
  }

  #page_body img {
    min-width: 7em;
    max-width: 100%;
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination a {
  margin: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, white 0, white 64%, #cbcbcb 120%);
  text-shadow: 0px 0px 3px #0000009c;
}

.pagination span {
  margin: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, white 0, white 64%, #cbcbcb 120%);
  text-shadow: 0px 0px 3px #0000009c;
}




/*----------------GALARY----------------*/


.g-cont {
    width: auto;
    max-width: 100%; 
}

.section--our-wrorks .s-title {
    margin-bottom: 60px;
    flex-wrap: wrap;
    justify-content: space-around;
}

.s-title {
    margin-bottom: 30px;
    text-align: center;
    font-size: 44px;
    font-weight: 400;
    color: black;
    text-shadow: 1px 1px 2px black, 0 0 1em white;
    text-transform: uppercase;
    font-family: 'SF Pro Display';
    line-height: 1.1;
}

@media screen and (max-width: 450px){
    .s-title {
    font-size: 30px;
    }
}

.l-gallery {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 100%;
    padding: 0!important;
}

.l-gallery__item {
    position: relative;
    width: 40%;
    margin-bottom: 24px;
    line-height: 0;
    cursor: pointer;
    padding: 0 0.7%;
    float: left;
}

.l-gallery__item--one-third {
    width: 40%!important;
}

.l-gallery__item-img {
    overflow: hidden;
    transition: all 1s;
    background: #000;
}

.l-gallery__item-img img {
    transition: all 1s;
    display: block;
    width: 100%;
    height: 100%;
}

.l-gallery__item-caption {
    position: absolute;
    bottom: 20px;
    width: 90%;
    border: 1px solid #fff;
    left: 5%;
    text-align: center;
    background-color: rgba(0, 116, 184, 0.7);
    display: flex;
}

.l-gallery__item-caption span {
    font-family: 'SF Pro Display';
    text-shadow: 1px 1px 2px black, 0 0 1em black;
    min-height: 33px;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 1.5em;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    display: flex;
    align-items: center;
    margin: auto;
}




@media screen and (max-width: 900px){

    .l-gallery__item-caption {
    position: absolute;
    bottom: 10px;
    }

    .l-gallery__item-caption span {
    min-height: 20px;
    padding: 2px 3px;
    font-weight: 700;
    font-size: 10px;
    line-height: 1.2;
    }
}





/*----------------GALARY----------------*/


.contacts-h1{
    font-family: 'SF Pro Display';
    font-weight: 600;
    text-shadow: 1px 1px 2px #0074b8, 0 0 1em white;
    text-align: center;
    font-size: 2em;
}
.contacts-h2{
    text-align: center;
    text-shadow: 1px 1px 2px #0074b8, 0 0 1em white;
    font-size: 1em;
}

.contacts-downheader{
    font-size: 2em;
    display: flex;
    font-family: 'SF Pro Display';
    font-weight: 600;
    height: auto;
}

.contacts-downheader-left{
    width: 50%;
    align-items: center;
    text-align: center;
}

.contacts-downheader-right{
    width: 50%;
    align-items: center;
    text-align: center;
}

.contacts-downheader-left a{
    -webkit-animation: pulse 2s infinite;
            animation: pulse 2s infinite;
    text-decoration: none;
    text-shadow: 1px 1px 2px #0074b8, 0 0 1em white;
}

.contacts-adress a{
    -webkit-animation: pulse 2s infinite;
            animation: pulse 2s infinite;
    text-decoration: none;
    text-shadow: 1px 1px 2px #0074b8, 0 0 1em white;
}

.contacts-adress{
    display: flex; 
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contacts-adress a{
  width: 100%;
  height: 100%;
  -webkit-animation: pulse 2s infinite;
          animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
  0% {
    color: #0074b8;
  }
  50%{
    color: #004C99;
  }
  100% {
    color: #0074b8;
  }
}

@keyframes pulse {
  0% {
    color: #0074b8;
  }
  50%{
    color: #004C99;

  }
  100% {
    color: #0074b8;
  }
}


@media (max-width:900px){
    .contacts-downheader{
        flex-direction: column;
        align-items: center;
        font-size: 1.5em;
    }

    .contacts-downheader-left{
        width: 80%;
    }

    .contacts-downheader-right{
        width: 80%;
    }
}


#telegram-form-block{
    width: 50%;
    justify-self: center;
    text-shadow: 3px 3px 20px #0000007a, 3px 3px 12em black;
    box-shadow: 5px 4px 7px 1px black, 8px 2px 3em black;
    padding: 20px 40px;
    font-weight: 400;
    border: 3px solid rgb(163, 205, 140);
    border-radius: 0.8em;
    border-color: #a7d58b;
}