::-webkit-scrollbar { /* chrome based */
    width: 0px;  /* ширина scrollbar'a */
    background: transparent;  /* опционально */
}

html {
    -ms-overflow-style: none;  /* IE 10+ */
    scrollbar-width: none; /* Firefox */
}

body {
    /*background-image: url(/themes/biblioteka/assets/images/bg.png);*/
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem !important;
}

.bg {
    background: linear-gradient(271deg, #102143, #451054, #091b3f);
    background-size: 600% 600%;
    
    -webkit-animation: bg 30s ease infinite;
    -moz-animation: bg 30s ease infinite;
    animation: bg 30s ease infinite;
}

@-webkit-keyframes bg {
    0%{background-position:0% 51%}
    50%{background-position:100% 50%}
    100%{background-position:0% 51%}
}
@-moz-keyframes bg {
    0%{background-position:0% 51%}
    50%{background-position:100% 50%}
    100%{background-position:0% 51%}
}
@keyframes bg {
    0%{background-position:0% 51%}
    50%{background-position:100% 50%}
    100%{background-position:0% 51%}
}

.home {
    padding-top: 40px;
    color: #ffffff;
}

.home:hover {
    color: #cccccc;
}

.logo {
    /*background-color: #ffffff;*/
    /*border-bottom: 1px solid #fb3328;*/
    /*background-color: #1a2947;*/
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);*/
}

.logo img {
    height:80px;
    margin: 20px;
}

.footer {
    /*background-color: #1a2947 !important;*/
    /*border-top: 1px solid #fb3328;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);*/
}

.modal.modal-fullscreen .modal-dialog {
  width: 800px;
  /*height: 80%;*/

  max-width: none; }

.modal.modal-fullscreen .modal-content {
  height: auto;
  min-height: 100%;
  border-radius: 0;
  border: none; }
  
.modal.modal-fullscreen-pdf .modal-dialog {
  width: 100%;
  height: 100%;
  max-width: none; }

.modal.modal-fullscreen-pdf .modal-content{
  height: auto;
  min-height: 100%;
  border-radius: 0;
  border: none; }
  
.modal.modal-fullscreen-objects .modal-dialog {
  width: 600px;
  max-width: none; }

.modal.modal-fullscreen-objects .modal-content{
  height: auto;
  min-height: 100%;
  border-radius: 0;
  border: none; }
  
.bg-primary {
    background-color: #1a2947 !important;
}

.bg-primary:hover {
    background-color: #3a5a9b !important;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    /*border: 1px solid rgba(0,0,0,.125);*/
    border: 0px;
    border-radius: 0rem;
}

.card-img {
    width: 100%;
    border-radius: 0px;
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0rem;
    width: 100%;
}


.btn-primary {
    color: #fff;
    background-color: #1a2947;
    border-color: #1a2947;
}

.btn-primary:hover {
    color: #fff;
    background-color: #3a5a9b;
    border-color: #3a5a9b;
}

.btn {
    border-radius: 0rem;
}

.round {
    border-radius: 50%;
}

.modal-header {
    color: #fff;
    background-color: #59136e;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 0px;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
}

.close {
    font-size: 1.5rem;
    font-weight: 700;
    /*line-height: 1;*/
    color: #fff;
    opacity: .8;
    /*text-shadow: 0 1px 0 #fff;*/
}
.close:hover {
    color: #ccc;
    text-decoration: none;
}

.date {
    float: left;
    height: 52px;
    width: 52px;
    background: #fb3328;
    margin-right: 10px;
    padding-top: 0px;
    line-height: normal;
}
.date .month {
    display: block;
    text-align: center;
    color: #FFF;
    font-size: 11px;
    padding-top: 4px;
    text-transform: uppercase;
}
.date .day {
    display: block;
    text-align: center;
    padding-top: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.top-social {
    /*padding-top:16px;*/
}
.top-social a {
    text-decoration: none;
    padding: 10px 0px;
    color: #fb3328;
}
.top-social a:hover {
    opacity: .8;
}

.banner-bottom img {
    border: 2px solid #fb3328;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.banner-bottom img:hover {
    opacity: .8;
}

.button-main {
    /*border: 1px solid #cccccc;*/
    height: 680px;
}

.button-main-title {
    margin-left: 20px;
}

#the-canvas {
  border:1px solid black;
}
.owl-item {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    /*opacity: .9;*/
}
.owl-item.center {
     -webkit-filter: grayscale(0);
    filter: grayscale(0);
   /* opacity: 1;*/
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    /*background: rgba(255, 255, 255, 0.2);*/
    background-image: url('http://sibcreative.ru/themes/biblioteka/assets/images/book.png');
    background-size: cover;
    opacity: .5;
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 150px;
    height: 150px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 40px;
    height: 40px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 40px;
    height: 40px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 35px;
    height: 35px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 35px;
    height: 35px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 200px;
    height: 200px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 0%;
    }

}

/*=============*/

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0,0,0); /* Black fallback color */
  background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}


.nav-tabs .nav-item {
    margin-bottom: -1px;
    margin-left: 16px;
    margin-right: 16px;
}

.nav-link {
    color: #ffffff;
}

.nav-link:hover {
    color: #ffffff;
}

.item:hover {
    cursor: pointer;
}

/*==== id="fon" =====*/
@keyframes animatedBackground {
    0 {
        background-position: 0 0
    }
    100% {
        background-position: -600px 600px /* анимируем свойство background-position */
    }
}
/* Mozilla Firefox 5.0+ */
@-moz-keyframes animatedBackground {
    0 {
        background-position: 0 0
    }
    100% {
        background-position: -600px 600px
    }
}
/* Safari 4.0+, Chrome 4.0+ */
@-webkit-keyframes animatedBackground {
    0 {
        background-position: 0 0
    }
    100% {
        background-position: -600px 600px
    }
}
/* Opera 12.0+ */
@-o-keyframes animatedBackground {
    0 {
        background-position: 0 0
    }
    100% {
        background-position: -600px 600px
    }
}
/* не нужно использовать префикс -ms, так как свойства keyframes и animation поддерживаются с версии IE10 без префикса */
#fon{
	height: 100%; /* задаем произвольную высоту и ширину блока */
	width:100%;
	background-image: url('http://sibcreative.ru/themes/biblioteka/assets/images/bg.png');
	animation: animatedBackground 60s linear infinite;
	-moz-animation: animatedBackground 60s linear infinite;
	-webkit-animation: animatedBackground 60s linear infinite;
 	-o-animation: animatedBackground 60s linear infinite;
	/* так же, как и с @keyframes, префикс -ms тут ни к чему */
}

.example_c {
color: #ffffff !important;
font-size: 28px;
width:100%;
text-transform: uppercase;
text-decoration: none;
/*background: #ffffff;*/
padding: 20px;
margin-bottom: 16px;
border: 4px solid rgba(255, 255, 255, .2) !important;
display: inline-block;
transition: all 0.4s ease 0s;
}

.example_c:hover {
text-decoration: none;
color: #ffffff !important;
background: #511363;
border-color: #ffffff !important;
transition: all 0.4s ease 0s;
}

.h-33 {
    height: 33% !important;
}
hr.style7 {
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}
.fr-view strong {font-weight:700}
.fr-view table {border:none;border-collapse:collapse;empty-cells:show;max-width:100%}
.fr-view table td,
.fr-view table th {border:1px solid #ddd}
.fr-view table td:empty,
.fr-view table th:empty {height:20px}
.fr-view table th {background:#e6e6e6}
.fr-view hr {clear:both;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;page-break-after:always}
.fr-view .fr-file {position:relative}
.fr-view .fr-file::after {position:relative;content:"\1F4CE";font-weight:normal}
.fr-view pre {white-space:pre-wrap;word-wrap:break-word}
.fr-view blockquote {border-left:solid 2px #5e35b1;margin-left:0;padding-left:5px;color:#5e35b1}
.fr-view blockquote blockquote {border-color:#00bcd4;color:#00bcd4}
.fr-view blockquote blockquote blockquote {border-color:#43a047;color:#43a047}
.fr-view span.fr-emoticon {font-weight:normal;font-family:"Apple Color Emoji","Segoe UI Emoji","NotoColorEmoji","Segoe UI Symbol","Android Emoji","EmojiSymbols";display:inline;line-height:0}
.fr-view span.fr-emoticon.fr-emoticon-img {background-repeat:no-repeat !important;font-size:inherit;height:1em;width:1em;min-height:20px;min-width:20px;display:inline-block;margin:-0.1em 0.1em 0.1em;line-height:1;vertical-align:middle}
.fr-view img {position:relative;max-width:100%}
.fr-view img.fr-dib {margin:5px auto;display:block;float:none;vertical-align:top}
.fr-view img.fr-dib.fr-fil {margin-left:0}
.fr-view img.fr-dib.fr-fir {margin-right:0}
.fr-view img.fr-dii {display:inline-block;float:none;vertical-align:bottom;margin-left:5px;margin-right:5px;max-width:calc(90%)}
.fr-view img.fr-dii.fr-fil {float:left;margin:5px 5px 5px 0;max-width:calc(95%)}
.fr-view img.fr-dii.fr-fir {float:right;margin:5px 0 5px 5px;max-width:calc(95%)}
.fr-view .fr-video {text-align:center;position:relative}
.fr-view .fr-video >* {-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;max-width:100%;border:none}
.fr-view .fr-video.fr-dvb {display:block;clear:both}
.fr-view .fr-video.fr-dvb.fr-fvl {text-align:left}
.fr-view .fr-video.fr-dvb.fr-fvr {text-align:right}
.fr-view .fr-video.fr-dvi {display:inline-block}
.fr-view .fr-video.fr-dvi.fr-fvl {float:left}
.fr-view .fr-video.fr-dvi.fr-fvr {float:right}
.fr-view {}
.fr-view .oc-text-gray {color:#AAA !important}
.fr-view .oc-text-bordered {border-top:solid 1px #222;border-bottom:solid 1px #222;padding:10px 0}
.fr-view .oc-text-spaced {letter-spacing:1px}
.fr-view .oc-text-uppercase {text-transform:uppercase}
.fr-view a.oc-link-strong {font-weight:700}
.fr-view a.oc-link-green {color:green}
.fr-view table.oc-dashed-borders td,
.fr-view table.oc-dashed-borders th {border-style:dashed}
.fr-view table.oc-alternate-rows tbody tr:nth-child(2n) {background:#f5f5f5}
.fr-view table td.oc-cell-highlighted,
.fr-view table th.oc-cell-highlighted {border:1px double red}
.fr-view table td.oc-cell-thick-border,
.fr-view table th.oc-cell-thick-border {border-width:2px}
.fr-view img.oc-img-rounded {border-radius:100%;background-clip:padding-box}
.fr-view img.oc-img-bordered {border:solid 10px #CCC;box-sizing:content-box}

/*
 * Text
 */
.oc-text-gray {
    color: #AAA !important;
}
.oc-text-bordered {
    border-top: solid 1px #222;
    border-bottom: solid 1px #222;
    padding: 10px 0;
}
.oc-text-spaced {
    letter-spacing: 1px;
}
.oc-text-uppercase {
    text-transform: uppercase;
}

/*
 * Links
 */
a.oc-link-strong {
    font-weight: 700;
}
a.oc-link-green {
    color: green;
}

/*
 * Table
 */
table.oc-dashed-borders td,
table.oc-dashed-borders th {
    border-style: dashed;
}
table.oc-alternate-rows tbody tr:nth-child(2n) {
    background: #f5f5f5;
}

/*
 * Table cell
 */
table td.oc-cell-highlighted,
table th.oc-cell-highlighted {
    border: 1px double red;
}
table td.oc-cell-thick-border,
table th.oc-cell-thick-border {
    border-width: 2px;
}

/*
 * Images
 */
img.oc-img-rounded {
    border-radius: 100%;
    background-clip: padding-box;
}
img.oc-img-bordered {
    border: solid 10px #CCC;
    box-sizing: content-box;
}
img.oc-img-fluid {
    max-width: 100%;
    height: auto;
}
img.oc-img-margin-right {
    margin-right: 16px;
}
img.oc-img-margin-left {
    margin-left: 16px;
}
img.oc-img-float-left {
    float: left;
}