@font-face {
    font-family: 'Roboto';
    src: local('Roboto Thin'), local('Roboto-Thin'), url('font/Robotothin.woff2') format('woff2'), url('font/Robotothin.woff') format('woff'), url('font/Robotothin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'), url('font/Robotothinitalic.woff2') format('woff2'), url('font/Robotothinitalic.woff') format('woff'), url('font/Robotothinitalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Light'), local('Roboto-Light'), url('font/Robotolight.woff2') format('woff2'), url('font/Robotolight.woff') format('woff'), url('font/Robotolight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Light Italic'), local('Roboto-LightItalic'), url('font/Robotolightitalic.woff2') format('woff2'), url('font/Robotolightitalic.woff') format('woff'), url('font/Robotolightitalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto'), local('Roboto-Regular'), url('font/Roboto.woff2') format('woff2'), url('font/Roboto.woff') format('woff'), url('font/Roboto.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Italic'), local('Roboto-Italic'), url('font/Robotoitalic.woff2') format('woff2'), url('font/Robotoitalic.woff') format('woff'), url('font/Robotoitalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Medium'), local('Roboto-Medium'), url('font/Robotomedium.woff2') format('woff2'), url('font/Robotomedium.woff') format('woff'), url('font/Robotomedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'), url('font/Robotomediumitalic.woff2') format('woff2'), url('font/Robotomediumitalic.woff') format('woff'), url('font/Robotomediumitalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Bold'), local('Roboto-Bold'), url('font/Robotobold.woff2') format('woff2'), url('font/Robotobold.woff') format('woff'), url('font/Robotobold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'), url('font/Robotobolditalic.woff2') format('woff2'), url('font/Robotobolditalic.woff') format('woff'), url('font/Robotobolditalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Black'), local('Roboto-Black'), url('font/Robotoblack.woff2') format('woff2'), url('font/Robotoblack.woff') format('woff'), url('font/Robotoblack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Black Italic'), local('Roboto-BlackItalic'), url('font/Robotoblackitalic.woff2') format('woff2'), url('font/Robotoblackitalic.woff') format('woff'), url('font/Robotoblackitalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

html {
  font-size: 1rem;
}

@include media-breakpoint-up(sm) {
  html {
    font-size: 1.2rem;
  }
}

@include media-breakpoint-up(md) {
  html {
    font-size: 1.4rem;
  }
}

@include media-breakpoint-up(lg) {
  html {
    font-size: 1.6rem;
  }
}

.card-columns {
  @include media-breakpoint-only(lg) {
    column-count: 4;
  }
  @include media-breakpoint-only(xl) {
    column-count: 5;
  }
}

body {
  font-family: "FontAwesome", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-color: #fff;
  /*height: 200vh;*/
  position: relative; }
  body:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1; }
  body.offcanvas-menu:before {
    opacity: 1;
    z-index: 1002;
    visibility: visible; }

footer {
  font-family: "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

p:not(.andrey-foot) {
  text-align: justify;
}

/* MDB change */

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: rgba(0,0,0,.6);
  border-color: #e0e0e0;
}

.nav-tabs .nav-link {
  color: #1266f1;
  border-color: #e0e0e0;
  border-width: 0 0 2px;
}

.nav-link.active {
  border-width: 2px 2px 0 2px;
}

.display-6 {
  font-size: 2.0rem
}

/* end MDB change */

table td, table th, table input, .form-select {
  //font-size: 12px;
}

input[type="search"] {
  width: 220px;
}

#poster_m {
  display: none;
}

.andrey_logo {
  width: 150px;
}

@media (max-width: 575.98px) {
  input[type="search"] {
    //width: 120px;
    display: none;
  }
  #search-addon {
    display: none;
  }
  #poster_m {
    display: inline;
  }
  #poster {
    display: none;
  }
  .andrey_logo {
    width: 110px;
  }
}

a img {
  padding: 5px 5px 5px 5px;
  border-radius: 4px;
}

a:hover img {
  /*background-color: #e6e6e6;*/
}

nav a:hover {
  /*text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(0,0,0,.55);*/
  //background-color: #e6e6e6;
}

@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1000px;
  }
}

.andrey-mb {
  font-size: 0.85rem;
}

.andrey-a-nav {
  font-size: 1.0rem;
}

.andrey-container-fluid {
  max-width: 1000px;
  //justify-content: space-between;
}

.navbar > .container-fluid {
  justify-content: space-between;
}

.navbar-collapse {
  flex-grow: 0;
}

.navbar {
  --mdb-navbar-padding-top: 0;
  --mdb-navbar-padding-y: 0;
}

.andrey-container-table {
  max-width: 2100px; 
}

.andrey-container {
  height: 40px; 
  background-color: #fff; 
}

.andrey-1 {
  margin: 0 20px 0 0;
}

.andrey-3 {
  margin-bottom: 30px;
}

.andrey-3 a {
  color: #4b81bf;
  font-weight: 600;
  //text-decoration: underline;
}

.andrey-3 a:hover {
  opacity: .5;
}

.andrey-4 {
  margin-bottom: 30px;
  margin-top: 100px;
}

@media (max-width: 575.98px) {
  .andrey-4 {
    margin-top: 70px;
  }
}

#andrey-outer {
   height: 100vh;
}
#andrey-inner {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%,-50%);
}

.andrey-btn {
  padding: 3px 0 0 0;
}

/* --- MASONRY --- */

/** { box-sizing: border-box; }*/

/* force scrollbar */
html { overflow-y: scroll; }

/* ---- grid ---- */
/*
.grid {
  background: #DDD;
}
*/
/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width: 33.333%;
}

@media (max-width: 992px) {
  .grid-sizer,
  .grid-item {
   width: 50%;
  }
}

.grid-item {
  float: left;
  border: 4px solid #fff;
}

.grid-item img {
  border-radius: 20px;
}

.grid-item img {
  display: block;
  max-width: 100%;
}

/* --- END MASONRY --- */

/* --- FANCYBOX --- */

a[data-fancybox] img {
  cursor: zoom-in;
}

.fancybox__backdrop::after {
  content: "";
  position: absolute;
  width: 10%;
  height: 10%;
  filter: blur(2px);
  left: 50%;
  top: 50%;
  transform: scale(11);
  opacity: 0.3;
  background-image: var(--bg-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.fancybox__container {
  --fancybox-bg: #000;

  --fancybox-thumbs-width: 48px;
  --fancybox-thumbs-ratio: 1;

  --carousel-button-bg: rgb(91 78 76 / 74%);

  --carousel-button-svg-width: 24px;
  --carousel-button-svg-height: 24px;

  --carousel-button-svg-stroke-width: 2.5;
}

.fancybox__nav {
  --carousel-button-svg-width: 24px;
  --carousel-button-svg-height: 24px;
}

.fancybox__nav .carousel__button.is-prev {
  left: 20px;
}

.fancybox__nav .carousel__button.is-next {
  right: 20px;
}

.carousel__button.is-close {
  right: auto;
  top: 20px;
  left: 20px;
}

.fancybox__slide {
  padding: 8px 88px;
}

/* Thumbnails */
.fancybox__thumbs .carousel__slide {
  padding: 8px 8px 16px 8px;
}

.is-nav-selected::after {
  display: none;
}

.fancybox__thumb {
  border-radius: 6px;
  opacity: 0.4;
}

.fancybox__thumb:hover,
.is-nav-selected .fancybox__thumb {
  border-radius: 6px;
  opacity: 1;
}

.is-nav-selected .fancybox__thumb::after {
  display: none;
}

/* --- END FANCYBOX --- */
