@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;
}

body {
  font-family: "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 300;
  font-size: 1.05rem;
  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; }

html {
  font-size: 0.9rem;
}

header {
  font-size: 1.25rem;
  font-weight: 400;
}
/*
.navbar-nav li a {
  font-family: "Montserrat Medium";
  font-weight: 500;
}
*/
footer {
  font-size: 1.2rem;
  //font-weight: 400;
}

@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;
  }
}

/* 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 {
  border-color: #e0e0e0;
  border-width: 0 0 2px;
}

a.nav-link {
  color: #a5d9c8;
}

.nav-link.andrey-active {
  border-width: 2px 2px 0 2px;
  color: #ffffff;
  //text-decoration: underline;
}

.display-6 {
  font-size: 2.0rem
}

.navbar {
  padding-bottom: 0;
}

.card {
  //justify-content: center;
}

.card-body {
  flex: none;
}

@media (min-width: 576px) {
  .col-sm-2 {
    flex: 0 0 auto;
    width: 20%;
  }
}

/* end MDB change */

/*
.waitimg {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
*/

table td, table th, table input, .form-select {
  //font-size: 12px;
}

input[type="search"] {
  width: 220px;
}

p {
  TEXT-ALIGN: justify;
  //color: #000000;
}

p.andrey-footer {
  TEXT-ALIGN: inherit;
  color: rgba(79, 79, 79, 1);
}

strong {
  font-weight: 600;
}

img {
margin-bottom: 5px;
}

a img {
  padding: 5px 5px 5px 5px;
  border-radius: 4px;
}

img.andrey-pdf {
margin-bottom: 0;
}

a img.andrey-pdf {
  padding: 0;
}

a:hover img {
  /*background-color: #e6e6e6;*/
}

nav a:hover {
  text-decoration: none;
}

a.nav-link:hover {
  color: #ffffff;
}

a:hover {
  //text-decoration: underline;
  /*padding-bottom: 1px;
  border-bottom: 1px solid rgba(0,0,0,.55);*/
  //background-color: #e6e6e6;
}

.andrey-a-nav {
  font-size: 1.0rem;
}

.andrey-card, .andrey-cardv, .andrey-cardn {
  //height: 200px;
  //background-color: #faf9f8;
}

.andrey-card {
  //min-width: 200px;
}

@media (min-width: 1320px) {
  .andrey-card {
    //height: 260px;
  }
}

@media (min-width: 1320px) {
  .andrey-cardn {
    //height: 245px;
  }
}

@media (max-width: 992px) {
  .andrey-card {
    //height: 50px;
    //min-width: 150px;
  }
}

@media (min-width: 1320px) {
  .andrey-card2 {
    height: 150px;
  }
}
/*
@media (max-width: 992px) {
  .andrey-row {
    flex-direction: column;
  }
}
@media (max-width: 992px) {
  .andrey-col-sm-2 {
    width: 100%;
  }
}
*/
@media (max-width: 575.98px) {
  .andrey-reverse {
    flex-direction: column-reverse;
  }
  .andrey-center {
    text-align: center;
  }
}

.andrey-mb {
  font-size: 0.9rem;
  font-weight: 300;
}

.andrey-container-fluid {
  max-width: 1320px;
  //justify-content: center;
}

.andrey-container-table {
  max-width: 2100px; 
}

.andrey-container {
  height: 40px; 
  background-color: #fff; 
}

.andrey-1 {
  margin: 0 20px 0 0;
}

/*.andrey-2 {
  margin: 0 0 0 20px;
}*/

.andrey-3, .andrey-8 {
  padding-bottom: 10px;
  padding-top: 20px;
}

.andrey-8 a {
  text-decoration: none;
}

.andrey-3 a {
  color: #4b81bf;
  text-decoration: none;
}

.andrey-3 a:hover, a.secancor:hover {
  opacity: .5;
  transform: translate(1px,-1px);
}

.andrey-btna {
  color:#ffffff;
  background-color: #077f46;
}

.andrey-btna:hover, .andrey-btna:disabled {
  color:#ffffff;
  background-color: #077f46;
  transform: translate(1px,-1px);
  opacity: .5;
}

a.andrey-btnb:hover {
  transform: translate(1px,-1px);
}

.andrey-4 {
  max-width: 600px; 
  margin-bottom: 30px;
}

.andrey-5 {
  max-width: 350px; 
  margin-bottom: 30px;
}

.andrey-6 {
  padding-bottom: 20px;
  padding-top: 30px;
}

.andrey-7 {
  padding-bottom: 10px;
  padding-top: 40px;
}

.andrey-rounded {
  border-radius: 10px;
}

#andrey-outer {
   height: 100vh;
}
#andrey-inner {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%,-50%);
}

/*
.andrey-parent {
  margin: 50px auto;
  width: 400px; 
}
*/
/*
.andrey-flex-text {
  flex: 1 0 0%;
  margin: 20px 0 0 40px;
}

.andrey-flex-text-left {
  flex: 1 0 0%;
  margin: 20px 20px 0 0;
}
*/
.andrey-flex-img {
  flex: 0 0 auto;
}

.andrey-flex-div {
  display: -webkit-flex;
  -webkit-flex-wrap: wrap;
  align-items: center !important;
}

.andrey-btn {
  padding: 9px 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%;
}

.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 --- */
