@font-face {
    font-family: Lava; /* Гарнитура шрифта */
    src: url("fonts/Lava/LavaPro-Regula.ttf"); /* Путь к файлу со шрифтом */
   }

@font-face {
    font-family: 'Lava Pro';
    src: url('fonts/Lava/LavaPro-HeavyItalic.eot');
    src: local('Lava Pro Heavy Italic'), local('LavaPro-HeavyItalic'),
        url('fonts/Lava/LavaPro-HeavyItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lava/LavaPro-HeavyItalic.woff2') format('woff2'),
        url('fonts/Lava/LavaPro-HeavyItalic.woff') format('woff'),
        url('fonts/Lava/LavaPro-HeavyItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face { 
    font-family: 'Lava Pro';
    src: url('fonts/Lava/LavaPro-BoldItalic.eot');
    src: local('Lava Pro Bold Italic'), local('LavaPro-BoldItalic'),
        url('fonts/Lava/LavaPro-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lava/LavaPro-BoldItalic.woff2') format('woff2'),
        url('fonts/Lava/LavaPro-BoldItalic.woff') format('woff'),
        url('fonts/Lava/LavaPro-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Lava Pro';
    src: url('fonts/Lava/LavaPro-Medium.eot');
    src: local('Lava Pro Medium'), local('LavaPro-Medium'),
        url('fonts/Lava/LavaPro-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lava/LavaPro-Medium.woff2') format('woff2'),
        url('fonts/Lava/LavaPro-Medium.woff') format('woff'),
        url('fonts/Lava/LavaPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Lava Pro';
    src: url('fonts/Lava/LavaPro-Bold.eot')
        url('fonts/Lava/LavaPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lava/LavaPro-Bold.woff2') format('woff2'),
        url('fonts/Lava/LavaPro-Bold.woff') format('woff'),
        url('fonts/Lava/LavaPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Lava Pro';
    src: url('fonts/Lava/LavaPro-Regular.eot')
        url('fonts/Lava/LavaPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lava/LavaPro-Regular.woff2') format('woff2'),
        url('fonts/Lava/LavaPro-Regular.woff') format('woff'),
        url('fonts/Lava/LavaPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lava Pro';
    src: url('fonts/Lava/LavaPro-MediumItalic.eot');
    src: local('Lava Pro Medium Italic'), local('LavaPro-MediumItalic'),
        url('fonts/Lava/LavaPro-MediumItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lava/LavaPro-MediumItalic.woff2') format('woff2'),
        url('fonts/Lava/LavaPro-MediumItalic.woff') format('woff'),
        url('fonts/Lava/LavaPro-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Lava Pro';
    src: url('fonts/Lava/LavaPro-RegularItalic.eot');
    src: local('Lava Pro Regular Italic'), local('LavaPro-RegularItalic'),
        url('fonts/Lava/LavaPro-RegularItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lava/LavaPro-RegularItalic.woff2') format('woff2'),
        url('fonts/Lava/LavaPro-RegularItalic.woff') format('woff'),
        url('fonts/Lava/LavaPro-RegularItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Lava Pro';
    src: url('fonts/Lava/LavaPro-Heavy.eot');
    src: local('Lava Pro Heavy'), local('LavaPro-Heavy'),
        url('fonts/Lava/LavaPro-Heavy.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lava/LavaPro-Heavy.woff2') format('woff2'),
        url('fonts/Lava/LavaPro-Heavy.woff') format('woff'),
        url('fonts/Lava/LavaPro-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

ul:not(.browser-default) {
    padding-left: 0px;
}

.container-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.row-gallery {
    position: relative;
    width: 1024px;
}

.row-gallery-view {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 80%;
    /*margin-top: 50px;*/
    /*background-color: red;*/
}

.row-gallery-view-header {
    display: flex;
    flex-direction: row;
    max-height: 700px;
}

.row-gallery-view-header-img {
    display: flex;
    justify-content: center;
    position: relative;
    width: 65%;
   
    max-height: 700px;
}

.row-gallery-view-header-img-img {
    max-height: 700px;
    width: 100%;
    object-fit: contain;
    cursor: pointer;
}

.row-gallery-view-header-info {
    position: relative;
    width: 35%;
    height: 700px;
    background-color: #f1f1f1;
}

.gallery-view-pattern {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
}

.gallery-view-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 25px;
    margin-right: 25px;
}

.gallery-view-sw {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-view-name {
    font-size: 1.5rem;
    font-family: 'Lava Pro';
    font-weight: 600;
}

.gallery-view-author {
    margin-top: 10px;
    font-size: 1.1rem;
    font-family: Lora;
}

.gallery-view-teacher {
    margin-top: 5px;
    font-size: 1.1rem;
    font-family: Lora;
}

.gallery-view-age {
    margin-top: 5px;
    font-size: 1.1rem;
    font-family: Lora;
}

.gallery-view-city {
    margin-top: 15px;
    font-size: 1.1rem;
    font-family: Lora;
}

.gallery-view-like {
    display: flex;
    justify-content: center;
    width: 100%;
}

.gallery-view-like-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #cecece;
    color: #00253e;
    background: transparent;
    cursor: pointer;
    margin-top: 30px;
}

.gallery-view-like-block-span {
    font-family: Lora;
    font-size: 1.2rem;
    /*color: #fff;*/
    color: #00253e;
    margin-left: 10px;
}

.gallery-view-like-block-count {
    font-family: Lora;
    font-size: 1.2rem;
    /*color: #fff;*/
    color: #00253e;
    margin-left: 5px;
}

.gallery-like-view {
    width: 25px;
    height: 25px;
    
    fill: #00253e;
}

.gallery-view-competition-block-comp {
    display: flex;
    flex-direction: row;
    margin-left: 25px;
    margin-right: 25px;
}

.gallery-view-competition-block-img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.gallery-view-competition-block-if {
    display: flex;
    flex-direction: column;
}

.gallery-view-competition-block-tour {
     font-size: 0.8rem;
    font-family: 'Lava Pro';
    font-weight: 600;
    margin-left: 10px;
    margin-top: 5px;
}

.gallery-view-competition-block-tour-link {
    font-size: 0.8rem;
    font-family: Lora;
    margin-left: 10px;
    margin-top: 5px;
    text-decoration: underline;;
    color: #000;
}

.gallery-view-like-block-border {
    margin-top: 25px;
    border-top: 1px solid rgb(206, 206, 206);
    width: 100%;
}

.row-gallery-view-comments {
    width: 100%;
    
    margin-top: 15px;
}


/* ------  Галерея -------------- */

.background-gallery {
  display: flex;
  align-items: center;  
  width: 100%;
  margin: 0 auto;
  background: #d2d2d2 url('../../images/gallery.jpg') no-repeat center;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  height: 300px;
}

.background-gallery-header {
    width: 40%;
    height: 200px;
    outline: 2px solid #fff;
    outline-offset: 5px;
    background-color: #fff;
    margin-left: 100px;
}

.background-gallery-header-title {
    padding: 20px 20px 5px;
}

.background-gallery-header-title p {
    font-family: 'Lava Pro';
    font-weight: 400;
    font-size: 1.8rem;
}

.background-gallery-header-text {
    padding: 20px;
}

.background-gallery-header-text p {
    font-family: 'Lora';
    font-size: 1.0rem;
}



.works-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.competitions {
  width: 300px;
  height: 500px;
  position: relative;
  margin: 20px;

}

/* Картинка в галерее */
.work-card {
  height: 500px;
  position: relative;
  background-color: #ffffff;
  border: 1px solid #d8d8d8;
  margin-top: 15px;
  /*
   box-shadow: 0 2px 3px rgba(0, .4, 0, .1);
   */
   vertical-align: top;
   display: inline-block;
   border-radius: 5px;

}

.work-image {
  position: relative;
  overflow: hidden ;
  width: 300px;
  height: 300px;
  
}

.work-info {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: space-between; 
  height: 200px;
  width: 100%;
  background-color: #fff;
}

.work-info-items {
   position: relative;
   height: 100%;
   margin-top: 10px;
}

.poll {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.comments {
  display: flex;
  align-items: center;  
  position: relative;
  right: 10px;
  bottom: 2px;
  color: #1fad61;
  cursor: pointer;
}

.gallery-search {
    background-color: #fff;
    width: 300px;
    display: block;
    /*
    border: 1px solid #cecece;
  
    border-radius: 2px;
      */
    position: relative;
    margin-left: 24px;
    margin-top: 24px;

}

.gallery-search-modal {
    background-color: #fff;
    width: 300px;
    display: block;
    /*
    border: 1px solid #cecece;
  
    border-radius: 2px;
      */
    position: relative;
    
    margin-top: 24px;

}

.gallery-search-result {
    width: 300px;
    position: absolute;
    border: 1px solid #317aad;
    
    margin-left: 23px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    z-index: 999;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 0 1px rgba(1,0,0,.1)
}

.gallery-search-result-mobile {
    width: 300px;
    position: absolute;
    border: 1px solid #317aad;
    
    margin-left: 0px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    z-index: 999;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 0 1px rgba(1,0,0,.1)
}

.gallery-search-result-list {
    width: 300px;
    display: flex;
    flex-direction: column;
    
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 10px;
    padding-top: 10px;
    cursor: pointer;
}

.gallery-search-result-list:hover {
    display: flex;
    flex-direction: column;
    
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 10px;
    padding-top: 10px;
    cursor: pointer;
    background-color: #f9f9f9;
}

.gallery-search-result-list-work {
   margin-left: 13px;
    margin-right: 13px;
}

.gallery-search-result-list-author {
    margin-top: 5px;
    font-size: 0.7rem;
    color: #8f8f8f;
    display: flex;
    flex-direction: column;
     margin-left: 13px;
    margin-right: 13px;
    
}

.gallery-search-result-list-message {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
}

.gallery-search-result-list-author p{
    margin-top: 5px;
    
}

.gallery-search-result-list-author b{
    margin-top: 5px;
    color: #000;
}

.gallery-search-result-list-teacher {
    margin-top: 5px;
    font-size: 0.7rem;
    color: #8f8f8f;
     display: flex;
    flex-direction: column;

     margin-left: 13px;
    margin-right: 13px;
}

.gallery-search-result-list-teacher b{
    margin-top: 5px;
    color: #000;
}

.gallery-search-result-list-teacher p{
    margin-top: 5px;
    font-size: 0.7rem;
    color: #8f8f8f;
}

.gallery-search-searchLogo {
    line-height: 10px;
    position: absolute;
    right: 10px;
    top: 8px;
    
    cursor: pointer;
}

.gallery-search-form {
    border: 1px solid #cecece;
    border-radius: 2px;
    padding: 10px 48px 10px 16px;
    line-height: 20px;
    background: transparent;
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin: 0;
    font-size: 1.1rem;
    font-family: Lora;
    color: #00253e;
    transition: .2s;
}

.gallery-search-form-mobile {
    border: 0px solid #cecece;
    border-radius: 2px;
    padding: 10px 48px 10px 16px;
    line-height: 20px;
    background: transparent;
    width: 100%;
    display: none;
    box-sizing: border-box;
    font-size: 1.1rem;
    font-family: Lora;
    color: #00253e;
    transition: .2s;
}


.gallery-search .gallery-search-form:hover {
    border-radius: 2px;
    border: 1px solid #aeaeae;
    background-color: #f9f9f9;
    transition: .2s;
}

.gallery-search .gallery-search-form:focus {
    outline: 1px solid #317aad;
    outline-offset: 0;
    border-radius: 2px;
    border: 1px solid #317aad;
    background-color: #fff;
}



.gallery-bar {
     display: flex;
     justify-content: space-between;
     margin-bottom: 35px;
}

.gallery-search-modal-form {
    border: 1px solid #cecece;
    border-radius: 2px;
    padding: 10px 48px 10px 16px;
    line-height: 20px;
    background: transparent;
    width: 100%;
    display: none;
    box-sizing: border-box;
    margin: 0;
    font-size: 1.1rem;
    font-family: Lora;
    color: #00253e;
    transition: .2s;
}

/* *************** Фильтр ******************  */

.modal-filter-gallery-header {
    font-size: 1.4rem;
    color: #000;
    font-family: Lava Pro;
    line-height: 1.4;
    position: relative;
    top: 0px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}



.gallery-filter {
    width: 150px;
    border: 1px solid #cecece;
    border-radius: 2px;
    position: relative;
    margin-top: 24px;
    margin-right: 24px;
    cursor: pointer;
    transition: .2s;
}

.FilterActive {
    border: 1px solid #405B6F;
}

.gallery-filter:hover {
    border: 1px solid #aeaeae;
    background-color: #f9f9f9;
    transition: .2s;
}

.gallery-filter-name:hover {
    /*
    color: #317aad;
    transition: .1s;
    */
}

.gallery-search-filterLogo {
    line-height: 10px;
    position: absolute;
    right: 10px;
    top: 8px;
    pointer-events: none;
}

.gallery-filter-name {
    display: block;
    border: 0;
    padding: 10px 48px 10px 22px;
    line-height: 20px;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    font-size: 1.1rem;
    font-family: Lora;
    color: #00253e;
}

.modal-filter-gallery {
  width: 500px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  min-height: 500px;
  position: relative;
  margin: 0px auto;
  padding: 20px 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
  transition: all 0.3s ease;
  font-family: Lora, sans-serif;
}

.modal-search-gallery {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100vh;
  position: relative;
  margin: 0px auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
  transition: all 0.3s ease;
  font-family: Lora, sans-serif;
}

.corner {
    border-radius: 0 0 100% 0;
    border: 1px solid #000;
}

.modal-filter-gallery-age {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 300px;
    height: 40px;
    border: 1px solid #00253e;
    border-radius: .3rem;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    color: #fff;
    background-color: #00253e;
}

.modal-filter-gallery-value {
    display: flex;
    align-items: center;
}

.modal-filter-gallery-value img{
    position: absolute;
    right: 10px;
}

.rotate {
    transform: rotate(180deg);
     -webkit-transition: transform .3s ease-in-out;
     -moz-transition: transform .3s ease-in-out;
     -o-transition: transform .3s ease-in-out;
     transition: transform .3s ease-in-out;
}

.modal-filter-gallery-age p{
    color: #fff;
}

.modal-filter-gallery-age-ul {
    z-index: 99;
    position: absolute;
    top: 40px;
    width: 100%;
    border: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 0 1px rgba(1,0,0,.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 5px;

}

.modal-filter-gallery-age:hover {
    background-color: #23448d;
    transition: all 0.3s ease;
}

.modal-filter-gallery-age-li {
    width: 100%;
    text-align: center;
    padding: 10px 0px;
    position: relative;
    list-style-type: none; /* Убираем маркеры */
    font-size: 1.1rem;
    transition: all 0.3s ease;

}

.modal-filter-gallery-age-li:hover {
    background-color: #00253e;
    padding: 10px 0px;
    position: relative;
    list-style-type: none; /* Убираем маркеры */
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #fff;
}

.modal-filter-gallery-nomination {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 300px;
    height: 40px;
    border: 1px solid #00253e;
    border-radius: .3rem;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 20px;
    background-color: #00253e;
}

.modal-filter-gallery-nomination p {
    color: #fff;
}

.modal-filter-gallery-nomination-ul {
    position: absolute;
    top: 40px;
    width: 100%;
    border: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 0 1px rgba(1,0,0,.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 5px;

}

.modal-filter-gallery-nomination:hover {
    background-color: #23448d;
    transition: all 0.3s ease;
}

.modal-filter-gallery-nomination-li {
    width: 100%;
    text-align: center;
    padding: 10px 0px;
    position: relative;
    list-style-type: none; /* Убираем маркеры */
    font-size: 1.1rem;
    transition: all 0.3s ease;

}

.modal-filter-gallery-nomination-li:hover {
    background-color: #00253e;
    padding: 10px 0px;
    position: relative;
    list-style-type: none; /* Убираем маркеры */
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #fff;
}

.modal-filter-gallery-img {
     opacity: 0.4;
}

.modal-filter-gallery-bt {
    
    font-family: Lora;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 20px;
    color: #fff;
    width: 150px;
    min-height: 48px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    border-radius: 4px;
    background: #00253e;
    cursor: pointer;
    color: #00253e;
    background: transparent;
    border: 1.5px solid #C29525;
}

.modal-filter-gallery-bt:hover {
    background-color: #f9f9f9;
}

.modal-filter-gallery-img img{
    width: 80px;
    height: 80px;
}

.gallery-filter-result {
    position: absolute;
    top: 25px;
    right: 180px;
    display: flex;
}

.gallery-filter-result-button-age {
    position: relative;
    border: 1px solid #405B6F;
    padding: 7px 10px 7px 15px;
    border-radius: 30px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-right: 10px;
}

.gallery-filter-result-button-age p{
    font-size: 1.1rem;
    color: #405B6F;
}

.gallery-filter-result-button-age img{
    font-size: 1.1rem;
    margin-right: 0px;
    margin-left: 5px;stroke: red;
     fill: red;
}

.gallery-filter-result-button-age-escape {
    position: relative;
    cursor: pointer;
    margin-top: 2px;
    margin-left: 6px; 
    color: #C2D6E5; 
}

.gallery-filter-result-button-age svg{
    stroke: #C2D6E5;
    fill: #C2D6E5;
}

.gallery-filter-result-button-age svg:hover{
    stroke: #E31E2A;
    fill: #E31E2A;
}


.works-gallery-count {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 15px;
}

.works-gallery-count-text {
    color: #aeaeae;
    margin-left: 5px;
}

.works-gallery-count-text-reset {
    color: #23448d;
    padding-bottom: 2px;
    border-bottom: 1px solid #23448d;
    cursor: pointer;
}

.work-image img{
  position: relative;
  overflow: hidden ;
  width: 300px;
  height: 300px;
  object-fit: contain;
}

.gallery-locality{
   width: 13px;
   height: 19px;
   position: relative;
   margin-right: 10px;
}

.gallery-likes {
    width: 27px;
    height: 25px;
    position: relative;
}

.likes {
  display: flex;
  align-items: center;  
  position: relative;
  left: 10px;
  bottom: 2px;
  color: #f74c6e;
  font-size: 1em;
  cursor: pointer;
}

.likes svg{
  fill: #A0A0A0;
  
}

.likesActive svg{ 
  fill: #f74c6e;
}

.likes span{
    color: #A0A0A0;
    margin-left: 5px;
}

.likesActive span{
    color: #f74c6e;
    margin-left: 5px;
}

.comments svg{
     fill: #A0A0A0;
}
.commentsActive svg{
    fill: #3DAE3B;
}
.comments span{
    color: #A0A0A0;
    margin-left: 5px;
}
.commentsActive span{
    color: #3DAE3B;
    margin-left: 5px;
}

.container-gallery-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.container-gallery-items-content {
    width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.gallery-card {
    position: relative;
    width: 350px;
    height: 350px;
    padding: 10px;
}

.gallery-card-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-card-info {
    position: absolute;
    width: 250px;
    height: 180px;
    background-color: #fff;
    z-index: 2;
    outline: 2px solid #fff;
    outline-offset: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    opacity: 0.85;
}

.gallery-card-info-comp {
    padding: 5px 10px;
    text-align: center;
    font-size: 0.8rem;
    font-family: Lora;
    color: #9D9D9D;
}

.gallery-card-info-comp-name {
    position: relative;
    color: #000;
    text-align: center;
    font-size: 1.2rem;
    font-family: Merriweather;
}

.gallery-card-info-comp-button {
    text-align: center;
    font-size: 1.0rem;
    font-family: Lora;
    border: 1px solid #c29525;
    padding: 10px 10px;
    text-decoration: none;
    color: #000;
    position: relative;
    bottom: 10px;
}


.gallery-card-image img{
    width: 350px;
    height: 350px;
}


/*  Страница сезонов  */

.container-gallery-header {
    width: 100%;
    height: 100px;
    background-color: #F1F1F1;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.container-gallery-header-title {
   font-family: 'Lava Pro';
   font-size: 1.6rem;
}


.content-gallery-season {
    /*
    flex-grow: 1;
    */
    padding: 20px 0;
    display: flex;
    flex-direction: row;
}

.content-gallery-season-item-info {
   flex: 1 1 50%;
   min-width: 0;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   background-color: #453919;
   word-wrap: break-word;
}

.content-gallery-season-item-info-av {
   flex: 1 1 50%;
   min-width: 0;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   background-color: #162136;
   word-wrap: break-word;
}

.content-gallery-season-item-info-av-adults {
   flex: 1 1 50%;
   min-width: 0;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   background-color: #362b16;
   word-wrap: break-word;
}

.content-gallery-season-item-info-livestory {
    flex: 1 1 50%;
   min-width: 0;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   background-color: #221c2b;
   word-wrap: break-word;
}

.content-gallery-season-item-info-maestro {
     flex: 1 1 50%;
   min-width: 0;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   background-color: #293019;
   word-wrap: break-word;
}

.content-gallery-season-text-header {
     font-size: 12px;
     /* Сверху | Справа | Снизу | Слева */
     padding: 20px 20px 10px 20px;
    font-size: 1.4rem;
    font-family: 'Lora';
    color: #fff;
}

.content-gallery-season-text-small {
     font-size: 12px;
     /* Сверху | Справа | Снизу | Слева */
     padding: 0px 20px 20px 20px;
    font-size: 0.8rem;
    opacity: 0.5;
    font-family: 'Lora';
    color: #fff;
}

.content-gallery-season-text-button {
    font-family: 'Lora';
    color: #C29525;
    border: 1px solid #C29525;
    padding: 10px;
    margin-bottom: 20px;
}

.content-gallery-season-divider {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.content-gallery-season-divider-text {
    font-family: 'Lava Pro';
    color: #000;
    font-size: 1.5rem;
    padding: 10px 5px;
}

.content-gallery-season-divider-line {
    position: relative;
    width: 100%;
    height: 1px;
    background-color: #C29525;
}

.content-gallery-season-archive {
    
    display: flex;
    position: relative;
    justify-content: center;
    flex-wrap: wrap;
}

.content-gallery-season-archive-item {
    cursor: pointer;
    width: 250px;
    height: 250px;
    margin: 20px;
    background-color: #636360;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-decoration: none;
}

.content-gallery-season-text-archive-button {
    text-decoration: none;
    font-family: 'Lora';
    color: #fff;
    border: 1px solid #fff;
    padding: 10px;
    margin-bottom: 20px;
}

/*  Страница галерея туры  */

.content-gallery-tours {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 20px;
}

.content-gallery-tours-item {
    width: 350px;
    height: 350px;
    position: relative;
    background-color: #474747;
    margin: 10px;
    display: flex;
    justify-content: center;

}

.content-gallery-tours-item img{
    width: 350px;
    height: 350px;
    position: relative;
}

.content-gallery-tours-item-info {
    width: 250px;
    height: 250px;
    position: absolute;
    top: 50px;
    background-color: #fff;
    outline: 2px solid #fff;
    outline-offset: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    opacity: 0.9;
}

.content-gallery-tours-item-info-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-gallery-tours-item-info-num {
    font-family: 'Lora';
    padding: 5px 5px;
    font-size: 1.3rem;

}

.content-gallery-tours-item-info-comp {
    padding: 10px 2px;
    color: #a8a7a7;
}

.content-gallery-tours-item-info-tour {
    position: relative;
    font-size: 1.2rem;
    padding: 0px 10px;
    text-align: center;
}

.content-gallery-season-text-button-black {
    font-family: 'Lora';
    color: #000;
    border: 1px solid #000;
    padding: 10px;
    margin-bottom: 20px;
}

/* Окно загрузки */
.modal-loading {
    display: flex;
    justify-content: center;
    
    margin: 0px auto;
    padding: 0px 0px;
    transition: all .3s ease;
}

.loading-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 120px;
    height: 120px;
    background-color: #181818;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.6), 0 0 1px rgba(1,0,0,.1);
}

.loading-box svg{
    width: 100px;
    height: 100px;
    position: relative;
    z-index: 10000;
    opacity: 0.9;
}

.loading-box:before {
    content: "";
    position: absolute;
    background: conic-gradient(#fff 20deg, transparent 120deg);
    width: 150%;
    height: 150%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.6), 0 0 1px rgba(1,0,0,.1);
    animation: rotate 0.8s linear infinite;
}

.loading-box:after {
    content: "";
    position: absolute;
    background-color: #000;
    width: 110px;
    height: 110px;
    border-radius: 10px;
}

@keyframes rotate {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}


/*  ***************** Пагинация ******************** */

.pagination-gallery {
    position: relative;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.pagination-gallery-ul {
    text-decoration: none;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.pagination-gallery-ul li {
    margin-top: 5px;
}

.pagination-gallery-ul li svg{
    width: 12px;
    height: 24px;
    margin: 10px;
    cursor: pointer;
}

.pagination-gallery-link {
    margin: 4px;
    text-decoration: none;
    list-style-type: none;
    border: 1px solid #d7d7d7;
    border-radius: 0.2rem;
    padding: 6px 10px;
    cursor: pointer;
}

.pagination-gallery-link:hover {
    margin: 4px;
    text-decoration: none;
    list-style-type: none;
    border: 1px solid #d7d7d7;
    border-radius: 0.2rem;
    padding: 6px 10px;
    cursor: pointer;
    background-color: #d7d7d7;
}

.activeLink {
    background-color: #00253E;
    color: #C29525;
    cursor: none;
}

/*  модальное окно "приглашение войти или зарегаться"  */

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

.modal-invite-comment {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-invite-container {
    display: flex;
    width: 70%;
    height: 50%;
    background-color: #fff;
    border-radius: 10px;
}

.modal-invite-image {
    display: block;
    border-radius: 10px 0 0 10px;
    width: 50%;
    min-height: 500px;
    background-color: hsl(0deg 66% 41% / 50%);
    background-image: linear-gradient(45deg, rgba(50, 49, 80, .5), rgba(206, 78, 49, .5)), url(/images/gallery/fuji.jpg);
    background-size: cover;
}

.modal-invite-image img{
    border-radius: 10px 0px 0px 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-email-form {
    width: 100%;
    position: relative;
}

.modal-password-form {
    width: 100%;
    position: relative;
}

.modal-invite-container-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;

    justify-content: flex-end;
    height: 100%;
}

.modal-invite-container-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    
    width: 50%;
}

.modal-invite-container-header-text {
    margin-top: 25px;
    font-family: 'Lava Pro';
    font-size: 25px;
}

.modal-invite-container-header-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60%;
    
}

.modal-invite-container-header-email {
    position: relative;
    margin-top: 30px;
    width: 100%;
    height: 56px;
    border: 1px solid #cecece;
    border-radius: 2px;
    box-sizing: border-box;
    color: #292929;
    font-family: Lora;
    font-size: 1.1rem;
    padding-left: 10px;
}

.modal-invite-container-header-password {
    margin-top: 30px;
    width: 100%;
    height: 56px;
    border: 1px solid #cecece;
    border-radius: 2px;
    box-sizing: border-box;
    color: #292929;
    font-family: Lora;
    font-size: 1.1rem;
    padding-left: 10px;
}

.modal-invite-container-header-forgot-pass {
    width: 100%;
    display: flex;
    justify-content: right;
}

.modal-invite-container-header-forgot-pass a{
    color: #23448d;
    margin-top: 10px;
    cursor: pointer;
    border-bottom: 1px solid #fff;
    text-decoration: none;
}

.modal-invite-container-header-forgot-pass a:hover {
    border-bottom: 1px solid #23448d;
}

.modal-invite-container-header-submit {
    display: flex;
    width: 60%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.modal-invite-container-header-submit-button {
    padding: 10px 0px;
    width: 100%;
    background-color: #00253e;
    border-color: #00253e;
    color: #ffffff;
    text-align: center;
    font-size: 1.1rem;
    border-radius: 2px;
    font-family: Merriweather Sans;
    cursor: pointer;
    transition: all .1s ease-in-out;
}

.modal-invite-container-header-sighup {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.modal-invite-container-header-sighup a{
    margin-top: 5px;
    color: #23448d;
    border-bottom: 1px solid #fff;
    cursor: pointer;
    text-decoration: none;
}

.modal-invite-container-header-sighup a:hover {
    margin-top: 5px;
    color: #23448d;
    border-bottom: 1px solid #23448d;
}

.modal-invite-container-header-sighup p{
    margin-top: 5px;
    color: #000;
}

.login-modal-form-error-email {
    width: 100%;
    position: absolute;
    margin-top: 3px;
}

.login-modal-form-error-password {
    width: 100%;
    position: absolute;
    margin-top: 3px;
}

/********************* Модальное окно комментарии **************************/

.modal-comments-container {
    width: 50%;
    height: 100vh;
    max-height: 100%;
    background-color: #fff;
    overflow: auto;
    
}

.modal-invite {
    /*overflow: scroll;*/
}

.modal-comments-header {
    display: flex;
    width: 100%;
}

.modal-comments-header-img {
    width: 30%;
    height: 150px;
}

.modal-comments-header-img img{
    width: 150px;
    height: 150px;
    object-fit: fill;
    
}

.modal-comments-header-info {
    margin-top: 10px;
    width: 70%;
    display: flex;
    flex-direction: column;

}

.modal-comments-header-info-name {
    font-family: Lora;
    font-size: 1.5rem;
    margin-right: 15px;
    margin-left: 15px;
}

.modal-comments-header-info-text {
    font-family: Lora;
    font-size: 1.0rem;
    margin-right: 15px;
    margin-left: 15px;
    color: #A9A9A9;
}

.modal-comments-header-divider {
    height: 1px;
    width: 100%;
    background-color: #d8d8d8;
    margin-top: 0px;
    margin-bottom: 10px;
}

.modal-comments-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.modal-comments-content-count {
    font-size: 1.2rem;
    margin-top: 15px;
}

.modal-comments-form-box {
    position: relative;
    width: 70%;
    flex-direction: column;
    display: flex;
    flex-wrap: wrap;
}

.modal-comments-form-box-view {
    position: relative;
    width: 50%;
    flex-direction: column;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.modal-comments-form {
    position: relative;
    padding: 15px 15px 40px 15px;
    margin-top: 25px;
    min-height: 78px;
    width: 100%;
    background-color: #f7f7f7;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.03);
    position: relative;
    font-size: 1.1rem;
    overflow: auto;
    font-family: Lora;
   
}

.modal-comments-form-wrap {
    width: 100%;
    display: block;
    white-space: pre-wrap;
    position: absolute;
    overflow: hidden;
    word-wrap: break-word;
    font-size: 1.1rem;
    z-index: -1;
    opacity: 0;
    padding: 15px 15px 40px 15px;
}



/*.modal-comments-form:hover {
    margin-top: 25px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.03);
    border-color: #4683d9 !important;
    position: relative;
}*/

.comments_hover {
    margin-top: 25px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.03);
    border-color: #4683d9 !important;
    position: relative;
}

.alert-comment {
    position: relative;
    margin-top: 5px;
    color: red;
}

.comments-block {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    align-content: flex-start;
    width: 70%;
    overflow: auto;
}

.comments-block-view {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    align-content: flex-start;
    width: 50%;
    overflow: auto;
}

.comments-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 20px;
}

.comments-list-info {
    display: flex;
    flex-direction: row;
}

.comments-list-name {
     font-family: 'Lava Pro';
     font-weight: 500;
     font-size: 1.1rem;
     margin-left: 10px;
     margin-top: 10px;
}

.modal-comments-divider {
    height: 1px;
    width: 100%;
    background-color: #d8d8d8;
    margin-top: 10px;
    margin-bottom: 0px;
}

.comments-list-comment {
    margin-top: 5px;
}


textarea:-moz-placeholder {
 
    font-size: 1.1rem;
    font-family: Lora;

}
textarea::-webkit-input-placeholder {
 
    font-size: 1.1rem; 
    font-family: Lora;
}

.modal-comments-form-button {
    height: 25px;
    position: absolute;
    padding: 10px;
    background-color: #00253e;
    color: #fff;
    border-radius: 5px;
    margin-top: 1 5px;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
}

/******************  Модальное окно увеличения картинки  ***************************/

.modal-container {
  display: flex;
  width: auto;
  height: auto;
  margin: 0px auto;
  padding: 0px 0px;
  background-color: black;
  transition: all .3s ease;
 
}

.modal-body-pic {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  z-index: 1;
  position: relative;
 
}



/* Стили фона в модальном окне */

.modal-background-img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    background-color: black;
}

.modal-background-img img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px);
}

/* Стили картинки в модальном окне */
.votes-modal-img img {
   
 max-width: 100%;
 width: auto;
 height: auto;
 max-height: 100vh;
}

.votes-modal-img {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 100%;
  height: 100vh; 
  z-index: 2;
}


@media screen and (max-width: 1024px) {
    .background-gallery-header {
        width: 80%;
        margin-left: 20px;
    }
    .row-gallery-view-header {
        flex-direction: column;
        max-height: 1400px;
        align-items: center;
    }

    .row-gallery-view-header-img {
        width: 100%;
    }

    .row-gallery-view-header-info {
        width: 95%;
    }

    .modal-invite-container {
        width: 98%;
   }

   .modal-comments-container {
     width: 90%;
   }

}


@media screen and (max-width: 1299px) {
   .row-gallery {
    width: 100%;
   }

   .modal-invite-container {
    width: 90%;
   }

}

@media screen and (min-width: 1399px) {
   

}

@media screen and (max-width: 1499px) {
   .row-gallery-view {
       width: 100%;
   }

}

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


.background-gallery {
  height: 200px;
}

   .background-gallery-header-title p {
    font-family: 'Merriweather';
    font-weight: 400;
    font-size: 1.4rem;
    color: #fff;
} 

   .background-gallery-header {
    width: 100%;
    height: 200px;
    outline: 1px solid #c29525;
    outline-offset: -5px;
    background-color: #00253e;
    margin-left: 0px;
}

.background-gallery-header-text p {
    font-family: 'Lora';
    font-size: 1.0rem;
    color: #fff;
    opacity: 0.5;
}

.container-gallery-items-content {
    width: 670px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.container-gallery-header-title {
   font-family: 'Merriweather';
   font-size: 1.6rem;
}

.gallery-card {
    position: relative;
    width: 300px;
    height: 300px;
    padding: 10px;
}

.gallery-card-image img{
    width: 300px;
    height: 300px;
}

.gallery-card-info-comp-name {
    
}

.content-gallery-season-divider-text {
    font-family: 'Merriweather';
    color: #000;
    font-size: 1.2rem;
    padding: 10px 5px;
}

.content-gallery-tours-item {
    width: 280px;
    height: 350px;
    position: relative;
    background-color: red;
    margin: 10px;
    display: flex;
    justify-content: center;

}

.content-gallery-tours-item img{
    width: 280px;
    height: 350px;
    position: relative;
}

.gallery-view-competition-block-tour {
    font-size: 0.9rem;
}

.gallery-view-competition-block-tour-link {
    font-size: 0.9rem;
}

.gallery-view-competition-block-img {
    width: 50px;
    height: 50px;
    margin-top: 15px;
}

.gallery-view-name {
    font-size: 1.2rem;
}

.gallery-view-author {
    font-size: 1.0rem;
}

.gallery-view-teacher {
    font-size: 1.0rem;
}

.gallery-view-teacher {
    font-size: 1.0rem;
}

.gallery-view-age {
    font-size: 1.0rem;
}

.gallery-view-city {
    font-size: 1.0rem;
}

.gallery-view-like-block-span {
    font-size: 1.0rem;
}

.row-gallery-view-header-info {
    height: 600px;
}

.gallery-view-competition-block-comp {
    margin-bottom: 15px;
}

.gallery-filter-name {
    display: none;
}

.gallery-filter {
    width: 50px;
    border: 0px;
}

.gallery-search {
    z-index: 99;
    width: 50px;
}

.gallery-search-modal {
    z-index: 99;
    width: 300px;
}

.gallery-filter:hover {
    border: 0px;
}

.gallery-search-form {
    width: 0%;
}

.modal-filter-gallery {
    width: 240px;
}

.modal-filter-gallery-age {
    width: 280px;
}

.modal-filter-gallery-nomination {
    width: 280px;
}

.modal-invite-image {
    display: none;
}

.modal-invite-container-form {
    width: 100%;
}

.modal-invite-container-header-text {
    font-size: 20px;
}

.modal-invite-container-header-form {
    width: 90%;
}

.modal-invite-container {
    height: 70%;
}

.modal-invite-container-header-submit-button {
    margin-top: 30px;
}

.modal-comments-header-info {
    width: 50%;
}

.modal-comments-header-img {
    width: 50%;
}

.modal-comments-header-info-name {
    font-size: 0.9rem;
}

.modal-comments-header-info-text {
    font-size: 0.8rem;
}

.modal-comments-content-count {
    font-size: 1rem;
}

.modal-comments-container {
    width: 100%;
}

.gallery-search-form {
    border: 0px solid #cecece;
    border-radius: 2px;
    padding: 10px 48px 10px 16px;
    line-height: 20px;
    background: transparent;
    width: 100%;
    display: none;
    box-sizing: border-box;
    margin: 0;
    font-size: 1.1rem;
    font-family: Lora;
    color: #00253e;
    transition: .2s;
}

.gallery-search-modal-form {
    border: 1px solid #cecece;
    border-radius: 2px;
    padding: 10px 48px 10px 16px;
    line-height: 20px;
    background: transparent;
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin: 0;
    font-size: 1.1rem;
    font-family: Lora;
    color: #00253e;
    transition: .2s;
}

.gallery-search-form-mobile {
    border: 0px solid #cecece;
    border-radius: 2px;
    padding: 10px 48px 10px 16px;
    position: relative;
    line-height: 0px;
    background: transparent;
    width: 100%;
    display: block;
    box-sizing: border-box;
    font-size: 1.1rem;
    font-family: Lora;
    color: #00253e;
    transition: .2s;
}

.gallery-search .gallery-search-modal .gallery-search-form:hover {
    border-radius: 2px;
    border: 0px solid #aeaeae;
    background-color: #f9f9f9;
    transition: .2s;
}

.gallery-search .gallery-search-modal .gallery-search-form:focus {
    outline: 0px solid #317aad;
    outline-offset: 0;
    border-radius: 2px;
    border: 0px solid #317aad;
    background-color: #fff;
}

}

@media screen and (max-width: 350px) {
   .gallery-view-competition-block-img {
    width: 50px;
    height: 50px;
    margin-top: 30px;
}

}