@font-face {
  font-family: 'Izhitsa Regular';
  src: url("../font/izhitsa/Izhitsa.eot");
  src: url("../font/izhitsa/Izhitsa.eot?#iefix") format("embedded-opentype"), url("../font/izhitsa/Izhitsa.woff") format("woff"), url("../font/izhitsa/Izhitsa.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Обычный */
@font-face {
  font-family: 'MonotypeCorsiva';
  src: url(../font/MonotypeCorsiva.ttf);
}



html,
body,
/*.view {*/
/*  height: 100%;*/
/*}*/

main {
  min-height: 90vh !important;
}

/* Navbar animation */
.navbar {
  background-color: rgba(250, 2, 2, 0.5); }

.top-nav-collapse {
  background-color: #e20b0b; }

/* Adding color to the Navbar on mobile */
@media only screen and (max-width: 768px) {
  .navbar {
    background-color: #e20b0b; } }

/* Footer color for sake of consistency with Navbar */
.page-footer {
  background-color: #e20b0b; }

.bold {
  font-weight: bold;
}

.default-site-color {
  background-color: #e20b0b !important;
}

.default-site-color-lighten {
  background-color: #fc8080 !important;
}

.coral {
  background-color: coral !important;
}

.izhitsa {
  font-family: 'Izhitsa Regular', serif;
}

.monotype-corsiva {
  font-family: 'MonotypeCorsiva', serif;
}

.old-standard {
  font-family: 'Old Standard TT', serif !important;
}

.philosopher {
  font-family: 'Philosopher', sans-serif !important;
}

.oranienbaum {
  font-family: 'Oranienbaum', serif !important;
}

.srift {
  font-family: 'Crimson Pro', serif;
}

.card-rites-vivod {
  max-width: 325px;
  min-width: 325px;
  margin-bottom: 30px;
}

.text-shadow {
  text-shadow: 1px 1px rgba(5, 5, 5, 0.8);
}

.pointer {
  cursor: pointer !important;
}

.day-color-div:hover {
  cursor: pointer !important;
}

.div-hide {
  display: none !important;
}

.border-my-white {
  border-color: grey !important;
}

.badge-my-white {
  background-color: grey !important;
}

.bg-my-white {
  color: white !important;
  background-color: grey;
}

.text-my-white  {
  color: grey !important;
  /*font-size: 25px;*/
}

.day-badge:hover {
  background-color: lime!important;
  padding: 5px;
}


/*******************************************/
/*views\news\view.php*/
.news-image-box {
  position: relative;
  overflow:hidden;
  width:auto;
  max-width: 400px;
  height:400px;
}

.news-image-box img {
  /*position: absolute;*/
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:400px;
  height:400px;
  object-fit:cover;
}
/*views\news\view.php*/
/*******************************************/

/*******************************************/
/*views\bib\view.php*/
.bib-image-box {
  margin: auto;
  position: relative;
  overflow:hidden;
  width:auto;
  max-width: 350px;
  height: 500px;
}

.bib-image-box img {
  /*position: absolute;*/
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  max-width:350px;
  height: 500px;
  object-fit:cover;
}
/*views\bib\view.php*/
/*******************************************/


/*************************************************************/
/*PDF VIEWER*/
/**************************************************************/
.sm-pdf {
  max-width: 100%;
  margin: auto;
  height: auto;
  border: 1px solid coral;
  border-radius: 5px;
  line-height: 0;
}

.top-bar, .bottom-bar {
  background: #e8e8e8;
  color: #333;
  line-height: 1.5;
}

.btn-sm-pdf {
  background: coral;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
}

.btn-sm-pdf:hover {
  opacity: 0.9;
}

.page-info {
  background: coral;
}

.error-sm-pdf {
  background: orangered;
  color: #fff;
  padding: 1rem;
}

canvas {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  /*background: #e8e8e8;*/
  text-align: center;
}
/*************************************************************/
/*PDF VIEWER*/
/**************************************************************/


/*************************************************************/
/*ПРЕЛОАДЕР*/
/**************************************************************/
#cube-loader {
  align-items: center;
  display: flex;
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 999;
}

#cube-loader .caption {
  margin: 0 auto;
}

#cube-loader .cube-loader {
  width: 73px;
  height: 73px;
  margin: 0 auto;
  margin-top: 49px;
  position: relative;
  transform: rotateZ(45deg);
}

#cube-loader .cube-loader .cube {
  position: relative;
  transform: rotateZ(45deg);
  width: 50%;
  height: 50%;
  float: left;
  transform: scale(1.1);
}

#cube-loader .cube-loader .cube:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #34495e;
  animation: cube-loader 2.76s infinite linear both;
  transform-origin: 100% 100%;
}

#cube-loader .cube-loader .loader-2 {
  transform: scale(1.1) rotateZ(90deg);
}

#cube-loader .cube-loader .loader-3 {
  transform: scale(1.1) rotateZ(180deg);
}

#cube-loader .cube-loader .loader-4 {
  transform: scale(1.1) rotateZ(270deg);
}

#cube-loader .cube-loader .loader-2:before {
  animation-delay: 0.35s;
}

#cube-loader .cube-loader .loader-3:before {
  animation-delay: 0.69s;
}

#cube-loader .cube-loader .loader-4:before {
  animation-delay: 1.04s;
}

@keyframes cube-loader {
  0%, 10% {
    transform: perspective(136px) rotateX(-180deg);
    opacity: 0;
  }
  25%, 75% {
    transform: perspective(136px) rotateX(0deg);
    opacity: 1;
  }
  90%, 100% {
    transform: perspective(136px) rotateY(180deg);
    opacity: 0;
  }
}
/*************************************************************/
/*ПРЕЛОАДЕР*/
/**************************************************************/


.card-rites-vivod {
  max-width: 325px;
  min-width: 325px;
  min-height: 410px; /*временно*/
  margin-bottom: 30px;
}




.pt-3-half {
  padding-top: 1.4rem;
}




#scroll_top {
  display: none;
  position: fixed;
  bottom: 50px;
  right: 100px;
  z-index: 1000;
  width: 32px;
  height: 32px;
  background: url(https://snipp.ru/img/scroll_top.png) 50% 50% no-repeat;
  border-radius: 50%;
  opacity: 0.5;
}
#scroll_top:hover {
  opacity: 1;
}





@media print {
  .card_block {
    page-break-inside: avoid;
    /*page-break-after: always;*/
    /*page-break-before: avoid;*/
    font-size: 14pt;
  }

  .card_block_table {
    page-break-after: always;
    font-size: 14pt;
  }

  .card_block_podpis {
    padding: 40px;
    padding-top: 300px;
    /*margin-top: 300px !important;*/
    page-break-before: always;
    font-size: 16pt;
    margin-bottom: 300px;
  }

  .btn-tool {
    visibility: hidden;
  }

  .card-title {
    font-size: 18pt !important;
  }

  .pagebreak {
    clear: both;
    page-break-after: always;
  }
}



/*************************************************************/
/*MEDIA*/
/**************************************************************/
/*// Малые девайсы («ландшафтные телефоны», 0 -> 576px)  мой телефон стоячий 360px */
@media (max-width: 576px) {

}

/*// Малые девайсы («ландшафтные телефоны», >= 576px -> 768) мой телефон лежачий*/
@media (min-width: 576px) {

}

/*// Средние девайсы («таблетки», >= 768px -> 846)*/
@media (min-width: 768px) {

}


@media (min-width: 846px) /*846 - 992*/ {

}


/*// Большие девайсы (десктопы, >= 992px) 992 -> 1200*/
@media (min-width: 992px) {

}

/*// Экстрабольшие девайсы (большие десктопы, >= 1200px)*/
@media (min-width: 1200px) {

}

/*// Экстрабольшие девайсы (большие десктопы, >= 1428px)*/
@media (min-width: 1428px) {

}
/*************************************************************/
/*MEDIA*/
/**************************************************************/