/* Шрифты */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
/* Глобальные переменные */

:root {
  /* размеры */

  --max-data-width: 1600px;
  --wrap-data-padding: 0 2rem;
  --base-font-size: 20px;

  /* цвета */

  --red-color: #ff0000;
  
  --white-color: #fff;
  --black-color: #000;
  --dark-color: #333;
  
  --gray-color: #9b9b9b;
  --dark-gray-color: #797979;
  --middle-gray-color: #a8a8a8;
  --light-gray-color: #ddd;
  --thin-gray-color: #f0f0f0;

  --super-thin-gray-color: #f6f7fb;
  --sub-super-thin-gray-color: #eeeff3;

  --thin-gray-op-color: rgba(64, 64, 64, 0.05);

  /* фоны */

  --black-bg-95: rgba(0, 0, 0, 0.95);
  --black-bg-90: rgba(0, 0, 0, 0.9);
  --black-bg-85: rgba(0, 0, 0, 0.85);
  --black-bg-75: rgba(0, 0, 0, 0.75);
  --black-bg-50: rgba(0, 0, 0, 0.5);
  --black-bg-40: rgba(0, 0, 0, 0.4);
  --black-bg-25: rgba(0, 0, 0, 0.25);
  --black-bg-15: rgba(0, 0, 0, 0.15);
  --black-bg-10: rgba(0, 0, 0, 0.10);
  --black-bg-5: rgba(0, 0, 0, 0.05);

  --white-bottom-gradient : linear-gradient(to top, rgba(255,255,255,1) 1%, rgba(255,255,255,0) 70%); 

  --white-bg-95: rgba(255, 255, 255, 0.95);
  --white-bg-85: rgba(255, 255, 255, 0.85);
  --white-bg-75: rgba(255, 255, 255, 0.75);
  --white-bg-60: rgba(255, 255, 255, 0.6);
  --white-bg-50: rgba(255, 255, 255, 0.5);
  --white-bg-25: rgba(255, 255, 255, 0.25);
  --white-bg-20: rgba(255, 255, 255, 0.2);
  --white-bg-15: rgba(255, 255, 255, 0.15);
  --white-bg-10: rgba(255, 255, 255, 0.1);


  /* размеры фонов */
  --bg-full-height: auto 100%;
  --bg-full-width: 100% auto;

  --bg-height-30: auto 30%;
  --bg-height-40: auto 40%;
  --bg-height-50: auto 50%;
  --bg-height-60: auto 60%;
  --bg-height-70: auto 70%;
  --bg-height-75: auto 75%;
  --bg-height-80: auto 80%;
  --bg-height-85: auto 85%;
  --bg-height-90: auto 90%;
  --bg-height-95: auto 95%;


  /* иконки */
  --phone-icon : url("../graph/icon-cellphone.svg") left center no-repeat; 
  --phone-black-icon : url("../graph/icon-cellphone-black.svg") center center no-repeat; 
  
  --menu-icon : url("../graph/icon-menu.svg") center center no-repeat; 
  --close-icon : url("../graph/icon-close.svg") center center no-repeat; 

  --address-icon : url("../graph/icon-address.svg") left top no-repeat; 
  --worktime-icon : url("../graph/icon-time.svg") left center no-repeat; 

  --scroll-arrow-icon : url(../graph/icon-scroll-arrow.svg) center center no-repeat;  
  --square-icon : url(../graph/icon-square-gray.svg) center center no-repeat;  
  

  --black-logo : url(../graph/mart-logo.svg) center center no-repeat;  
  --white-logo : url(../graph/mart-logo-white.svg) center center no-repeat;  

  --arrow-icon : url(../graph/arrow.svg) center center no-repeat;  
  
  --tg-icon-bg : url(../graph/icon-telegram.svg) center center no-repeat;  
  


}

/* Сетка */
.flex-columns {position: relative; width:100%; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; align-items:center;}
.flex-columns.top-align {align-items:stretch;}
.flex-columns.end-align {align-items:end;}

.flex-columns.content-left {justify-content: flex-start;}
.flex-columns.content-right {justify-content: flex-end;}
.flex-columns.content-center {justify-content: center;}
.flex-columns.content-between {justify-content: space-between;}
.flex-columns.content-around {justify-content: space-around;}

.col-1, .col-1x1 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%;}

.col-1x2 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%;}

.col-1x3 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 33.33333%; flex: 0 0 33.3%; max-width: 33.3%;}
.col-2x3 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 66.66666%; flex: 0 0 66.6%; max-width: 66.6%;}

.col-1x4 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 25%; flex: 0 0 25%; max-width: 25%;}
.col-3x4 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 75%; flex: 0 0 75%; max-width: 75%;}

.col-1x5 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 20%; flex: 0 0 20%; max-width: 20%;}
.col-2x5 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 40%; flex: 0 0 40%; max-width: 40%;}
.col-3x5 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 60%; flex: 0 0 60%; max-width: 60%;}
.col-4x5 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 80%; flex: 0 0 80%; max-width: 80%;}

.col-1x6 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 16.66666%; flex: 0 0 16.6%; max-width: 16.6%;}
.col-5x6 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 83.33333%; flex: 0 0 83.3%; max-width: 83.3%;}

.col-1x7 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 14.25%; flex: 0 0 14.25%; max-width: 14.25%;}
.col-2x7 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 28.5%; flex: 0 0 28.5%; max-width: 28.5%;}
.col-3x7 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 42.85%; flex: 0 0 42.85%; max-width: 42.85%;}
.col-4x7 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 57.15%; flex: 0 0 57.15%; max-width: 57.15%;}
.col-5x7 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 71.5%; flex: 0 0 71.5%; max-width: 71.5%;}
.col-6x7 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 85.75%; flex: 0 0 85.75%; max-width: 85.75%;}


.col-1x8 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 12.5%; flex: 0 0 12.5%; max-width: 12.5%;}
.col-3x8 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 37.5%; flex: 0 0 37.5%; max-width: 37.5%;}
.col-5x8 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 62.5%; flex: 0 0 62.5%; max-width: 62.5%;}
.col-7x8 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 62.5%; flex: 0 0 62.5%; max-width: 62.5%;}

.col-1x12 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 8.33333%; flex: 0 0 8.33333%; max-width: 8.33333%;}
.col-11x12 {position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 91.66666%; flex: 0 0 91.66666%; max-width: 91.66666%;}


/* Тэги */
html {min-height:100%; margin:0; padding:0; font-size:var(--base-font-size);}
body {position:relative; margin:0; padding:0; text-align:center; font-family: 'Nunito', sans-serif; font-weight:300;  font-size:1rem; color: var(--black-color); -webkit-text-size-adjust: 100%;  transition: 0.5s ease-out; -webkit-animation: fade-animation 1s both; animation: fade-animation 1s both}
body.fix { overflow:hidden;height: 100vh; }

form {padding:0; margin: 0;}
p {margin:0; padding: 0 0 0.5rem;}
a {text-decoration: none; cursor: pointer; color:var(--black-color); opacity:1; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease; 	transition: all 0.25s ease; }
a:hover { opacity:1 !important; color:var(--black-color); -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease; 	transition: all 0.25s ease; }
b {font-weight:500;}
img,a img {border:0;}

h1,h2,h3,h4,h5,h6 {padding:0; margin:0; font-weight:300; color:var(--black-color); }
h1 {font-size:3rem; font-weight: 500; }
h2 {font-size:2.75rem;  }
h3 {font-size:2rem; line-height:1.1; }
h4 {font-size:1.5rem; line-height:1.1; }

iframe { border-width: 0px; }

input[type="text"], input[type="number"], input[type="password"], textarea, select {border:solid 1px var(--white-color); outline: 0 !important; font-family: 'Manrope', sans-serif;}

input[type="text"]::-webkit-input-placeholder {color: var (--light-gray-color); font-weight:300 !important;}
input[type="text"]::-moz-placeholder {color: var (--light-gray-color); font-weight:300 !important;}
input[type="number"]::-webkit-input-placeholder {color: var (--light-gray-color); font-weight:300 !important;}
input[type="number"]::-moz-placeholder {color: var (--light-gray-color); font-weight:300 !important;}
textarea::-webkit-input-placeholder {color: var (--light-gray-color);}
textarea::-moz-placeholder {color: var (--light-gray-color);}

/* input[type="text"].errorinput { border:solid 1px var(--red-color) !important; } */
div.erroritem { border:solid 1px var(--red-color) !important; }
input[type="text"].errorinput::-webkit-input-placeholder {font-weight:300; font-size:0.75rem; color: var(--red-color);}
input[type="text"].errorinput::-moz-placeholder {font-weight:300; font-size:0.75rem; color: var(--red-color);}
textarea.errorinput::-webkit-input-placeholder {font-weight:300; font-size:0.75rem; color: var(--red-color);}
textarea.errorinput::-moz-placeholder {font-weight: 300; font-size:0.75rem; color: var(--red-color);}

select:disabled { opacity: 1 !important; border:0 !important; -webkit-appearance: none; -moz-appearance: none;  }
select:disabled::-ms-expand {display: none;}

/* Секции */
.wrapper {position:relative; width:100%;  padding:0;  margin:0; text-align:center; }
    .wrapper .wrap {position: relative; display:block; max-width:var(--max-data-width); margin:auto; padding: var(--wrap-data-padding); }


/* Шапка */
.wrtop { position:relative; background-color: var(--white-color); }
  .wrtop .wrap { padding-top:1.5rem; padding-bottom:1.5rem; }

.top-logo { position: relative; padding:0; width:100%; height:5rem; text-align: left; }
  .top-logo a { position: absolute; display: inline-block; width:5rem; height:5rem; font-size:0.01rem; color:var(--white-color); background: var(--black-logo); background-size: var(--bg-full-height); }

.top-menu { position: relative; padding:0; width:100%; text-align: right;  }
  .top-menu ul { display:inline-block; padding:0; padding-top:0; margin:0; list-style: none; text-align:left;}
    .top-menu ul li { position: relative; display: inline-block; padding: 0; margin: 0; }
      .top-menu ul li a { position: relative; display: inline-block; cursor: pointer; padding: 0.35rem 0.95rem; margin: 0; font-size: 1rem; font-weight: 600; text-transform: uppercase; opacity:0.75 }
        .top-menu ul li:last-child a { padding-right:0; }
        .top-menu ul li a:hover { opacity:1 }
      .top-menu ul li.parent a span { position: relative; display: inline-block; padding-right: 0.9rem; }
      .top-menu ul li.parent a span::after { content: "›"; position: absolute; top: 0; right: 0; display: inline-block; transform: rotate(90deg); }
      .top-menu ul li.parent:hover a span::after { content: "›"; position: absolute; top: 0; right: 0; display: inline-block; transform: rotate(-90deg); }
    .top-menu ul li ul { position: absolute; left: 0; top: 100%; display: none; padding: 1rem 0.2rem; background-color: var(--white-color); border-radius: 0.45rem; overflow: hidden; box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.1); z-index: 6; }
      .top-menu ul li:hover ul { display: inline-block; min-width: 10rem; }
        .top-menu ul li ul li { display: block; min-width: 50%; } 
        .top-menu ul li ul li a { display: block; padding:0.25rem 1rem; font-size: 0.8rem; font-weight: 300; text-transform: unset;  white-space: nowrap; }

 .top-menu .menu-close { display:none; }       


.mob-links, .menu-phone { display:none; } 

.wrtop.fixed-menu { position: fixed; top: 0; box-shadow: 0 0 0.5rem rgb(17 56 86 / 20%); z-index: 10000; }
  .wrtop.fixed-menu .top-logo { height:3rem; } 
    .wrtop.fixed-menu .top-logo a {  width:3rem; height:3rem; } 



/* Список работ */

.work-list { position: relative;  }

  .work-list .col-1x4:nth-child(4n) .work-item { margin-right:0;  }
  .work-list .col-1x4:nth-child(4n+1) .work-item { margin-left:0;  }

  .work-item { position: relative; width:90%; margin:0 5%; padding-bottom:2.5rem; }

    .work-item .work-img { position:relative; display:inline-block; width:100%; height:0; padding-top:100%; margin-bottom:1.25rem; overflow:hidden; }
    .work-item .work-data { position:relative; display:block; /* text-align:left; */ }
      .work-item .work-data h3 { margin-bottom:0.25rem; font-size:1em; font-weight:500;  }
      .work-item .work-data h4 { font-size:0.75em; font-weight:300; }

   
/* Список работ на главной */
.main-work-title { position: relative; width:100%; text-align: left; padding:3rem 0;  }
  .main-work-title h2 { display: inline-block; padding-right:2rem; font-size:1.4rem; font-weight:500; text-transform: uppercase; }
  .main-work-menu a { display: inline-block; padding-right:1.5rem; font-size:0.9rem; font-weight:400; text-transform: uppercase; opacity: 0.75; }
    .main-work-menu a:hover {  opacity: 1; }
    .main-work-menu a:last-child { padding-right:0; }


/* Список новостей */   
.news-list { padding-bottom:2rem; }
  .news-list .col-1x3:nth-child(3n+1) .news-item { margin-left:0;}
  .news-list .col-1x3:nth-child(3n) .news-item { margin-right:0;}

.news-item { position: relative; width:90%; margin:1rem 5%; text-align: left;  }
  .news-item .news-date { position: relative;  width:100%; font-size:0.8rem; text-align:right; }
  .news-item .news-img { position: relative;  width:100%; height:0; padding-top:100%; margin-top: 0.75rem; margin-bottom: 1.25rem; overflow:hidden; }
  .news-item .news-title { width:100%; margin-bottom:0.5rem; }
    .news-item .news-title h4 { width:100%; margin-bottom:0.5rem; font-size:1.2rem; font-weight:500; }
  .news-item .news-desc { width:100%; font-size:0.8rem; }


/* Карусель новостей на главной */
.main-news-title { position: relative; width:100%; text-align: left; padding:3rem 0;  }
  .main-news-title h2 { display: inline-block; padding-right:2rem; font-size:1.4rem; font-weight:500; text-transform: uppercase; }
.main-news-list { margin-bottom:2rem; }
  .main-news-list .news-item { width:100%; margin:0; }
.main-news-list .owl-nav { left: 9rem;  }


/* Список авторов */   
.authors-list { padding-bottom:2rem; }
  .authors-list .col-1x4:nth-child(4n+2) .author-item { margin-left:3%; margin-right:7%;}
  .authors-list .col-1x4:nth-child(4n+1) .author-item { margin-left:0; margin-right:7%;}
  .authors-list .col-1x4:nth-child(4n) .author-item { margin-left:7%; margin-right:0;}

  .authors-list .col-1x5:nth-child(5n+1) .author-item { margin-left:0; margin-right:7%;}
  .authors-list .col-1x5:nth-child(5n) .author-item { margin-left:7%; margin-right:0;}


.author-item { position: relative; width:90%; margin:1rem 5%; text-align: left;  }
  .author-item .author-img { position: relative;  width:100%; height:0; padding-top:100%; margin-top: 0.75rem; margin-bottom: 1.25rem; overflow:hidden; }
  .author-item .author-data { width:100%; margin-bottom:0.5rem; }
    .author-item .author-data h3 { width:100%; margin-bottom:0.15rem; font-size:1rem; font-weight:500; }
    .author-item .author-data h5 { width:100%; font-size:0.7rem; opacity: 0.75; }


/* Карусель авторов на главной */
.main-authors-title { position: relative; width:100%; text-align: left; padding:3rem 0;  }
  .main-authors-title h2 { display: inline-block; padding-right:2rem; font-size:1.4rem; font-weight:500; text-transform: uppercase; }
.main-authors-list { margin-bottom:2rem; }
  .main-authors-list .author-item { width:100%; margin:0; }
  .main-authors-list .owl-nav { left: 12rem;  }


/* Текст главной страницы */
.main-data { padding:3rem 0; text-align:left; }
  .main-data h1 { display: block; font-size:1.4rem; font-weight:500; text-transform: uppercase;  }
  .main-data .block-data { position: relative; margin-top:1rem;  display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; align-items:center;}
  .main-data .block-data .block-text { position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 55%; flex: 0 0 55%; max-width: 55%; margin-right:5%; opacity:0.75; overflow:hidden; }
    .main-data .block-data .block-text p { text-align: justify !important; }
  .main-data .block-data .block-gallery { position: relative; -webkit-box-flex: 0; -ms-flex: 0 0 35%; flex: 0 0 35%; max-width: 35%; margin-left:5%; overflow:hidden;}
    .main-data .block-data .block-gallery img { max-width:100%; }


/* Кнопка показать еще */
.morelink { margin:0 1rem; }


/* Навигация каруселей */
.owl-nav { position: absolute; top: -4.85rem; left: 9rem; text-align: left; z-index: 7; }
.owl-nav .owl-prev { position: relative; width: 2rem; height: 1.75rem; margin-right: 0; background: var(--arrow-icon);  background-size: var(--bg-full-height); display: -moz-inline-stack; display: inline-block; zoom: 1; -webkit-transform: rotate(180deg);  transform: rotate(180deg); opacity: 0.5; }
.owl-nav .owl-prev:hover { opacity: 1; }
.owl-nav .owl-next { position: relative; width: 2rem; height: 1.75rem; background: var(--arrow-icon); background-size: var(--bg-full-height); display: -moz-inline-stack;  display: inline-block; zoom: 1; opacity: 0.5; }
.owl-nav .owl-next:hover { opacity: 1; }


/* Внутренние страницы */
.wrpage { padding-bottom:2rem; }
.page-info .page-title { position:relative; padding-bottom:2rem; text-align:left; }
  .page-info .page-title h1 { position:relative; display: inline-block; font-size:1.4rem; font-weight:500; padding-right:2rem; text-transform: uppercase; }  
    .page-info .page-title .nav { position:absolute; display: inline-block; left:100%; top:0.1rem; width:7rem; text-align:left; }
      .page-info .page-title .nav sup, .page-info .page-title .nav sub { position:relative; display:inline-block; padding:0 0.1rem; vertical-align:middle; }
      .page-info .page-title .nav sup a { position: relative; display:inline-block; width: 2rem; height: 1.75rem; background: var(--arrow-icon); background-size: var(--bg-full-height); display: -moz-inline-stack;  display: inline-block; zoom: 1; -webkit-transform: rotate(180deg);  transform: rotate(180deg); opacity: 0.5; }
      .page-info .page-title .nav sub a { position: relative; display:inline-block; width: 2rem; height: 1.75rem; background: var(--arrow-icon); background-size: var(--bg-full-height); display: -moz-inline-stack;  display: inline-block; zoom: 1; opacity: 0.5; }
  .page-info .page-date { position:relative; padding-top:0.25rem; font-size:0.7rem; text-align:left;  opacity:0.75 }  


/* Страницы объектов */
.single-data { position:relative; width:95%; min-height:100%; margin-left:5%; text-align:left }
.single-gallery { position: sticky !important; top: 2rem;  position:relative; margin-right:5%; }
    .single-gallery .page-first-pic { position:relative; width:100%; height:0; padding-top:100%; overflow:hidden; }


/* Страницы авторов */
.wrauthorcatalog h2 { position:relative; display: block; font-size:1.25rem; font-weight:500; padding-top:2rem; padding-bottom:4rem; text-align:left; text-transform: uppercase; }


/* Страница галереи */
.gallerypage { padding-bottom:0 !important; }
.gallerypage .page-title .galmenu { position:absolute; right:0; top:0.35rem }

.gal-filters { position: relative; display:block; width:100%; padding:0;  margin-bottom:3rem; z-index:5;  }
  
  .gal-filters .filter-item { position: relative; display:inline-block; }
    .gal-filters .filter-group-left  .filter-item { margin-right:2rem; }
    .gal-filters .filter-group-right .filter-item { margin-left:2rem;  }
  
  .gal-filters .filter-item .filter-item-title { display:inline-block; display:none; font-size:0.8rem; line-height:2rem; margin-right:0.5rem; display: -moz-inline-stack; vertical-align: text-top; }
  .gal-filters .filter-item .filter-item-input { display:inline-block; cursor:pointer; padding:0.25rem 0; padding-right:0.25rem;  /* line-height:1.8rem; */ min-height:1rem; max-width:27rem;  border:solid 0 var(--black-bg-15); border-radius: 0; text-align:left;  display: -moz-inline-stack; vertical-align: text-top;  }
     .gal-filters .filter-item .filter-item-input:before {content:'\203A'; position: absolute; display:inline-block; right:0; top:0.155rem; margin:0; font-size:1.25rem;  opacity:0.5; transform: rotate(90deg);}

     .gal-filters .filter-item .filter-item-input label { position:relative; display:inline-block; height:1.2rem; line-height:1.28rem; padding:0; padding-right:1.25rem; margin:0.1rem 0;  margin-right:1rem; font-size:0.75rem; border-radius: 0.5rem; }
       .gal-filters .filter-item .filter-item-input label a { position:absolute; right:0.25rem; top:0.25rem; height:0.75rem; width:0.75rem; background: var(--close-icon); background-size: var(--bg-height-60); }
     .gal-filters .filter-item .filter-item-input label.nullfilter { background: none; padding:0; text-transform: uppercase; opacity:0.75;  }
  
  .gal-filters .filter-item .filter-item-list {position: absolute; display:none; left:0; top:calc(100% - 1px); padding:1rem; max-width:16rem; text-align:left; background-color: var(--white-color); border:solid 1px var(--black-bg-15); border-radius: 0.2rem; box-shadow: 0 0 0.5rem rgb(17 56 86 / 10%); z-index:6; }
  .gal-filters .filter-item.mult .filter-item-list { width:16rem; }
    .gal-filters .filter-item .filter-item-list a { position:relative; display:inline-block; padding:0.25rem 0; padding-left:0.6rem;  font-size:0.7rem; /* white-space: nowrap; */ opacity:0.75; }
      .gal-filters .filter-item .filter-item-list a:before { content: '\203A'; position:absolute; display:inline-block; left:0; top:0; font-size:1rem;  }
    .gal-filters .filter-item .filter-item-list a:hover { opacity:1; }



/* Страница экспоната */
.workpage .single-data { position: sticky !important; top:3rem; min-height:unset; }   
  .workpage .single-data h2 { font-size:1.25rem; margin-bottom:0.25rem; }
  .workpage .single-data h3 { font-size:0.9rem;  }
  .workpage .single-data h4 a.button { padding-left:0; background-color:unset; opacity:0.8; }
  .workpage .single-data .year { font-size:0.8rem; padding-bottom:0.75rem; }

.workpage .order a { position:relative; display:inline-block; cursor:pointer; margin-bottom:1.5rem;  padding:1rem 2.5rem; font-size:0.9rem; font-weight:600; color:var(--white-color); text-transform:uppercase; background-color:var(--black-color); opacity:0.8; }  
  .workpage .order a:hover { opacity:1; }  

.work-gallery img { max-width:95%; }
  .work-gallery .work-first-pic { position: relative; text-align:left; }

  


/* Фотогалерея страницы */
.page-gallery { position: relative; padding-top:1.5rem; }       

/*
.page-gallery .gallery-item { position: relative; width:95%; margin:0 2.5%; margin-bottom:1rem; height:0; padding-top: 95%; overflow: hidden; }       
  .page-gallery .gallery-item img { position: absolute; max-height:150% !important; max-width:150% !important; width: unset !important; height:unset !important  ; top: 50%; left: 50%; transform: translate(-50%, -50%); }
*/

.page-gallery .gallery-item { position: relative; width:95%; padding-bottom:95%; height:0; margin-bottom:1rem; overflow: hidden; }
 .page-gallery .gallery-item span { position: absolute; left:0; top:0; width: 100%; height: 100%;  overflow: hidden;}
   .page-gallery .gallery-item span img  { width: 100%; height: 100%; object-fit: cover; object-position: left top; object-position: 50% 50%;	 }
  

 .page-gallery .col-1x3:nth-child(3n+1) .gallery-item { margin-left:0; margin-right:3%; }
  .page-gallery .col-1x3:nth-child(3n) .gallery-item { margin-left:3%; margin-right:0%; }

.wrgalcatalog .morelink { margin-top:2rem; margin-bottom:2rem;  }


/* Контакты */
.wrcontacts { padding-bottom:2rem; }

.contacts-map { position:relative;  margin-top:1.5rem; }
.contacts-map, [class*="ymaps-2"][class*="-ground-pane"]  {filter: grayscale(1); -ms-filter: grayscale(1); -webkit-filter: grayscale(1);	-moz-filter: grayscale(1);	-o-filter: grayscale(1); }

.contacts-data { position:relative; text-align:left;  }
  .contacts-item { padding-right:10%; }
  .contacts-data .contacts-item h4 { font-size:0.9rem; font-weight:600; } 


/* Подвал */        
.wrend { margin-top:3rem; padding:5rem 0; color:var(--white-color); background-color: var(--black-color); }
  .wrend a { color:var(--white-color); }

  .end-logo { position:relative; width:100%; text-align:left; }
    .end-logo a { position: absolute; display: inline-block; width:4rem; height:4rem; font-size:0.01rem; color:var(--black-color); background: var(--white-logo); background-size: var(--bg-full-height); }
  
  .end-cpr  { position:absolute; left:0; bottom:0; text-align:left;  font-size:0.65rem; opacity:0.75; }   
    .end-cpr a:hover { opacity:1; }
    .end-cpr .cpr a { display:block; }
    .end-cpr .geokon { margin-top:0.5rem; font-size:0.6rem; }

  .end-menu  { position:relative; text-align:left; }   
    .end-menu ul { position: relative; padding:0;  margin:0; }
      .end-menu ul li { display:inline-block; padding:0 2rem; margin:0; list-style: none; }
        .end-menu ul li a { display:block; font-weight:400; text-transform: uppercase; }
          .end-menu ul li a:hover { cursor:default; }
        .end-menu ul li ul { position: relative; padding:0; padding-top:1rem; margin:0; }
          .end-menu ul li ul li { display:block;  padding:0; margin:0;  }
          .end-menu ul li ul li a { display:block; cursor:pointer; padding-bottom:0.35rem; font-weight:300; font-size:0.85rem; text-transform: unset; opacity:0.75; }
            .end-menu ul li ul li a:hover { cursor:pointer; opacity:1; }


  .end-contacts { position:relative; width:100%; text-align:right; }            

    .end-phone { position:relative; margin-bottom:1rem; }
      .end-phone a.phone-link { display:inline-block; padding-left:1.5rem; font-size:1.47rem; font-weight:400; text-align:right; background:var(--phone-icon); background-size: var(--bg-height-80); }   
      .end-phone span { display:block; margin-top:0.5rem; font-size:1.02rem; font-weight:400; text-transform: uppercase; }   

    .end-address { display:inline-block; margin:auto; margin-bottom:1rem; padding-left:1.5rem; font-size:0.85rem; text-align:left; opacity:0.75; background:var(--address-icon); background-size: var(--bg-height-50);}
    .end-worktime { display:inline-block; margin:auto; padding-left:1.5rem; font-size:0.92rem; text-align:left; opacity:0.75; background:var(--worktime-icon); background-size: var(--bg-height-80);  }

    .end-social { position:relative; margin-bottom:0.5rem; text-align:right;  } 
      .end-social ul { position:relative; display:inline-block; padding:0; margin:0;  list-style: none;  } 
        .end-social ul li { position:relative; display:inline-block; padding:0; margin:0; } 
          .end-social ul li a { position: relative; display:inline-block; margin-left:0.5rem; width:1.75rem; height:1.75rem; opacity:0.75  } 
          .end-social ul li a:hover { opacity:1  } 
        .end-social a.tg_link { background:var(--tg-icon-bg); background-size:var(--bg-full-height); } 


/* Галерея видео */
.video-gallery { position: relative; padding-top:1.5rem; }
   .video-gallery .video-item { position: relative; width: 100%; padding-bottom: 56.25%; margin-bottom:1rem; height: 0; overflow: hidden; }
    .video-gallery .video-item iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Хлебные крошки */
.wrpage .krohi {position: relative; padding-top:0.5rem; margin-bottom:1rem; font-size:0.65rem; text-align:left; }
  .wrpage .krohi span {display:inline-block; margin:0 0.15rem; opacity:0.5}
    .wrpage .krohi span:hover {opacity:1 }
  .wrpage .krohi ul {position:relative; margin:0; padding:0;}
    .wrpage .krohi ul li {position:relative; display:inline-block; margin:0; padding:0; padding-left:0.5rem; padding-right:0.25rem; }
      .wrpage .krohi ul li:before {content:'\203A'; position: absolute; display:inline-block; left:0; top:-0.1rem; margin:0; font-size:0.8rem; opacity:0.5 }
      .wrpage .krohi ul li:first-child {padding-left:0; }
      .wrpage .krohi ul li:first-child:before {content:""; display:none;}





/* Адаптивные изображения */

img.maxwh { position: absolute; max-width:100% !important; max-height: 100% !important; top: 50%; left: 50%; transform: translate(-50%, -50%); }

img.fullw { position: absolute; max-width:100% !important; width:unset !important; height: unset !important; top: 50%; left: 50%; transform: translate(-50%, -50%); }
img.fullh { position: absolute; max-height:100% !important; width: unset !important; height:unset !important  ; top: 50%; left: 50%; transform: translate(-50%, -50%); }
img.fullwh { position: absolute; max-height:125% !important; max-width:125% !important; width: unset !important; height:unset !important  ; top: 50%; left: 50%; transform: translate(-50%, -50%); }

img.fullsmallw { position: absolute; max-width:90% !important; width:unset !important; height: unset !important; top: 50%; left: 50%; transform: translate(-50%, -50%); }
img.hardfullw { position: absolute; width:100% !important; height: unset !important; top: 50%; left: 50%; transform: translate(-50%, -50%); }
img.hardfullh { position: absolute; height:100% !important; width: unset !important; top: 50%; left: 50%; transform: translate(-50%, -50%); }


/* Кнопки */
a.button { position:relative; display:inline-block; cursor:pointer; margin:auto; padding:0.25rem 2.5rem; padding-bottom:0.4rem; background-color:var(--black-bg-5); opacity:0.6 }
  a.button span { position:relative; display:inline-block; padding-right:1rem; font-size:0.65rem; line-height:0.65rem; text-transform: uppercase; }
  a.button span:after { content:''; position: absolute; bottom:-0.1rem; right:0; width:0.85rem; height:0.85rem; background: var(--arrow-icon); background-size: var(--bg-full-height); -webkit-transform: rotate(45deg);  transform: rotate(45deg); }

/* Прокрутка в началу страницы */
.scrollup { position: fixed; cursor:pointer; display: none; bottom:1rem; left:1%; width:3.5rem; height:3.5rem; background: var(--scroll-arrow-icon); background-size: var(--bg-height-50);  background-color: var(--black-bg-75); overflow:hidden; z-index:50; }
  .scrollup:hover { background-color: var(--black-bg-90); }

/* Прогрессбар */
.loading { position:relative; width:100%; margin:2rem 0; text-align:center; }
.loading img { width:unset !important; }

/* Модификаторы */
.a-left {text-align:left;}
.a-right {text-align:right;}
.a-center {text-align:center;}

/* Прочее */
.hidden {display:none;}
.link { cursor: pointer; }
.fixed { position: fixed;  bottom:unset; top:0; z-index:50000; } 
.half-line { display: inline-block; width:49.7%; vertical-align: text-top;  zoom: 1;  }


/* FancyBox */
/* .fancybox-image { border-radius: 1.25rem; } */


/* Окна magnific */
.white-popup-block { padding: 2rem; width:calc(98% - 4rem); max-width: 25rem; margin: 1rem auto; border-radius:0 !important;  background-color: var(--thin-gray-color); }

.popup-data {position: relative;  }

  .popup-data h3 { padding-top: 0.75rem; font-size: 1.65rem; }
  .popup-data h4 { padding-bottom: 0.75rem; font-size: 1.1rem; text-transform: uppercase; font-weight: 500; }
  .popup-data h5 { padding-bottom: 1.25rem; font-size: 0.8rem; font-weight: 300; }
  .popup-data p  { padding-bottom: 0.5rem; }
  .popup-data p input { width: calc(100% - 1rem); padding: 0.75rem 0.5rem; font-size: 0.9rem; font-weight:300; line-height:1rem; }
  .popup-data p textarea { width: calc(100% - 1rem); padding: 0.5rem 0.5rem; height:4rem; font-size: 0.9rem; font-weight:300; line-height:1rem;  border-radius: 0.25rem;}
  .popup-data p span { display: block; padding: 0.25rem 0; font-size: 0.6rem; text-align: center;}
  .popup-data p span a { color: var(--dark-gray-color); }

  .popup-data .popup-top-text { margin-bottom:0.5rem; line-height:1.2;  font-size:0.75rem;  }
  
  .popup-data p.i-name, .popup-data p.i-phone { position:relative;  } 
  .popup-data p.i-name input { position:relative; width: calc(100% - 2.25rem); padding-left:2rem; } 
    .popup-data p.i-name:after { content: ''; position: absolute; display:inline-block; left:0.65rem; top:0.4rem; width:1.25rem; height:1.35rem; background: var(--user-icon); background-size: var(--bg-height-75); opacity:0.35; z-index:5;  }
  .popup-data p.i-phone input { position:relative; width: calc(100% - 2.25rem); padding-left:2rem; z-index:4; } 
    .popup-data p.i-phone:after { content: ''; position: absolute; display:inline-block; left:0.65rem; top:0.4rem; width:1.25rem; height:1.35rem; background: var(--phone-icon); background-size: var(--bg-height-75); opacity:0.35; z-index:5;  }
  
  .popup-data a.red-button {position: relative; display: inline-block; font-weight:600; text-transform: uppercase; font-size:0.9rem; color:var(--white-color); text-align: center; background-color: var(--black-color); opacity:0.8;}
    .popup-data a.red-button:hover { opacity:1; }


.popup-result { padding-top: 0.5rem; padding-bottom: 1.5rem; text-align: center; font-size: 0.9rem; font-weight: 500;}
  .popup-result h2 { padding-bottom: 1rem; font-size: 1.5rem; font-weight: 600;  }
  .popup-result h5 { padding-top: 1rem;  font-size: 0.8rem;  }
  .popup-result .order-messangers { position: relative; padding-top:1rem; }
    .popup-result .order-messangers a { display: inline-block; cursor:pointer; width:1.6rem; height:1.6rem; margin:0 0.5rem; }

.popup-form-submit { width:100%; padding: 0.75rem 0 !important; }
.popup-form-links { position: relative; padding-top:1rem; font-size:0.65rem; }
.popup-form-info { position: relative; text-align:center; padding-bottom:0.5rem; font-size:0.75rem; }
.popup-error-data { position: relative; display:none; text-align:center; padding-bottom:0.5rem; font-size:0.7rem; color:var(--red-color) }


