/**
 * @file
 * Subtheme specific CSS.
 */
 
 html, body {
     font-family: 'PTSansWeb';
     font-size:1rem;
 }
 p,li,ul,ol,span,a,h1,h2,h3,h4,h5,h6,div,td,th {
     font-family: 'PTSansWeb';
 }
 
 h1 {
	font-family: PTSansWebCaption;
	font-weight: bold;
	color: #931004;
	font-size: 2rem;
}
 h2, .h2 {
	font-weight: bold;
}
.Modal {
    display:none;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: rgba(0,0,0,.9);
    z-index: 9999;
    color:#fff;
}
.Modal .Modal_wrapper {
    position:relative;
    width:100%;
    height:100%;
}
.Modal .Close {
    position: absolute;
    top: 0.7rem;
    right: 21px;
    z-index: 999;
    cursor: pointer;
}
.fancybox__toolbar__items--right {
  padding-right: 4.5rem
}

/* catalog */

.ex-preview-img img,
.dih-preview-img img {
  width: 100%;
}
.dih-preview > *,
.ex-preview > * {
  width: 100%;
}
.ex-preview-body {
    padding-top: 0.5rem;
    font-size: 1.1rem;
    font-family: PtSansWebCaption;
}
.ex-title {
    font-family: PtSansWebCaption;
    font-weight: bold;
        line-height: 1.2rem;
    padding-bottom: 0.7rem;
}
.field--name-field-ex-author div {
    display: inline;
}
.ex-button button {
    width: 100%;
}

/* bottom menu */


.nav-link {
  background: none !important;
  color: #2c394b !important;
  font-weight: bolder;
  border: none !important;
}

.nav-item{
  border: none !important;
}

.card {
    background-color: rgb(248, 227, 227) !important;
    border-radius: 15px !important;
}

button {
  border: none !important;
  outline: none !important;
}

.tab-content {
  -ms-overflow-style: none !important; /* IE and Edge */
  scrollbar-width: none !important; /* Firefox */
}

.tab-content::-webkit-scrollbar {
  display: none !important;
}
.loadmore {
    width:100%;
    margin: 1.5rem 0;
}
/* Icons */
.bi {
    color: #fff;
    font-size: 1.7em;
}

.bi:hover {
    color: #9287ac;
    font-size: 1.7em;
}
body {
    padding-bottom: 30px;
}
.inf_bg {
	background: #fde9c4;
	padding: 0.75rem 0.75rem 0.01rem;
	margin-left: -0.75rem;
	width: calc(100% + 1.5rem);
	margin-bottom: 0.75em;
}
video {
    width: 100%;
    max-height: 100%;
}
.video_section {
    margin-left: -0.75rem;
	width: calc(100% + 1.5rem);
	position:relative;
}
.video {
    width: 100%;
    position:relative;
}

.playpause {
    background-image:url('/sites/default/files/play-button100.png');
    background-repeat:no-repeat;
    width:50%;
    height:50%;
    position:absolute;
    left:0%;
    right:0%;
    top:0%;
    bottom:0%;
    margin:auto;
    background-size:contain;
    background-position: center;
}

.front_row {
      display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}

.front_row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}
.front_row a {
    height:100%;
}

.plate {
    background-color: #E40B14;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    line-height: 1.2;
    text-align: center;
    padding: 1rem;
    width: 100%;
    font-weight: bold;
    gap: 0.5rem;
    border-radius: 0.8rem;
    cursor: pointer;
    height:100%;
}
a {
    text-decoration:none;
}
.front_slogan {
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.7rem;
    font-family: 'PTSansWebNarrow';
}



#block-prlibtheme-denvistorii h2 {
    font-size: 3rem;
    font-weight: bold;
    font-family: PtSansWebCaption;
    line-height: 2.8rem;
        margin-top: 3rem;
}
#block-prlibtheme-denvistorii {
    margin-top: 2rem;
}
.dih-date,
.news-date {
    color: #931004;
    font-size: 2rem;
    font-family: 'PTSansWeb';
    margin-top: 2rem;
}

.dih-preview-body,
.news-preview-body {
    background-color: #f1f1f1;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
}
.dih-title,
.news-title {
    font-family: PtSansWebCaption;
    font-weight: bold;
}
.dih-text,
.news-text {
    font-family: PtSansWebCaption;
    font-size: 1rem;
}

.path-search #block-prlibtheme-content {
    background-color: #f1f1f1;
    padding: 1.5rem 0.75rem 1.5rem;
    margin-left: -0.75rem;
    width: calc(100% + 1.5rem);
    margin-bottom: 0.75em;
}

.ajax-form-search-prlib label {
    display:none;
}
input#edit-search {
    font-size: 1.3rem;
    font-family: PtSansWeb;
}
input#edit-submit {
    font-size: 1.3rem;
    font-weight: bold;
    font-family: PtSansWebCaption;
}
#block-prlibtheme-views-block-catalog-block-1 {
    padding-top: 1rem;
}
div#block-prlibtheme-views-block-catalog-block-1 h2 {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: PtSansWebCaption;
    line-height: 2.4rem;
    color: #931004;
}