html,
body{
    font-family:'roboto' !important;
    background-color:#F7F9FB;
}

body section a{
    color:#07477F;
    font-weight: 500;
    text-decoration:underline;
    font-size:15px;
}

body section .clanek a{
    font-size:16px;
}

body p,li,.clanek,.clanek .accordion-body, .clanek h1, .clanek h2,.clanek h3,.clanek h4,.clanek h5,.clanek h6{color:#5F7694;}

/*.clanek img{max-width: 100%;height: auto;}*/

.font-bitter{font-family: 'Bitter', serif;}

.search-block{
    background-image: url('../img/search-bg.jpg'); 
    background-position:100% 100%;
    background-repeat: no-repeat;
    background-size: auto 100%;
}
.search-block .search-form, .search-form{
    padding:12px;
}
.search-block .search-form .search-input,
.search-form .search-input
{
    border:solid 0px;     
    font-size: 20px !important;
    line-height: 52px;
    padding-left: 30px;
}

.search-form-bordered .search-form{
    border:solid 2px #E1E7ED;
}
.search-type-links{
    display:inline-block;
    width:100%;
}
.search-type-links a{
    text-decoration:none;
    color: #5F7184;
    border-bottom:solid 2px #5F7184;
    margin:0px;
    padding:0 30px 6px;
    float:left;
    font-size:18px;
}
.search-type-links a:first-child {
    padding-left:0px;
}

.search-type-links a.active{
    border-bottom:solid 3px #FF7558;
    font-weight:bold;
    color: #07477F;
}

.chevron-circle-left,
.chevron-circle-right{
    background-image: url('../img/sprite.png'); 
    background-repeat: no-repeat;
    background-position: -2px -2px;
    width: 39px;
    height: 39px;
}

.chevron-circle-right{
    background-position: -46px -2px;
}

.carousel-controls{
    position:absolute;
    right:0px;
    z-index: 16;
}
.carousel-controls a,
.carousel-controls a:hover{
    text-decoration:none;
}
.carousel-indicators{
    top: 32px;
    /*right: 0;
    float:left;*/
    margin: 0;
    left: 0;
    display:inline-block;
    /*padding-left: 10px;*/
    z-index: 16;
    max-height: 30px;
}

.carousel-indicators button[data-bs-target]{
    background-color:#E4EDF2;
    width: 15px;
    height: 5px;
    float: left;
}
.carousel-indicators button[data-bs-target].active{
    background-color:#FF7251;
    width: 38px;
    height: 5px;
}

#carouselHome,
#carouselHome .carousel-inner,
#carouselHome .carousel-inner .carousel-item{
    height:100%;
}

#carouselHome .articleImage{
    max-height:280px;
}
#carouselHome .articleImage img{
    object-fit: contain;
    min-height: 100%;
}
#carouselHome .carousel-control-next, .carousel-control-prev,
#carouselHome .carousel-control-next, .carousel-control-next{
    color:#07477F;
    position:relative;
    display:inline-block;
    border:solid 2px #07477F;
    border-radius:50%;
    width:37px;
    height:37px;
}
#carouselHome .carousel-control-next, .carousel-control-prev{
    padding: 6px 0 0 0;
}

#carouselHome .carousel-inner .carousel-item.carousel-item-start:before{
    content:"";
    width:100%;
    height:100%;
    position:absolute;
    top:0px;
    background:#fff;
    opacity:0.7;
}

#carouselHome .carousel-item .read-more{
    position: absolute;
    bottom: 0;
    right: 0;
}

.news .read-more{
    position: absolute;
    bottom: 26px;
    right: 30px;
}
.news .card-body{margin-bottom:70px}

.info-icon{
    width:60px;
    height:60px; 
    margin-top: -1px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}

.tags .tag{
    display:inline-block;
    font-size:13px;
    font-weight:500;
    padding:3px 7px;
    border-radius:3px;
}

.tags .tag:not(:last-child){
    margin-right:6px;
}

.article img.article-icon{
    border-radius:50%;
    width:70px;
    height:70px;
    object-fit: cover;
}

.lector-name .circle-name{
    width:24px;
    height:24px;
    color:#fff;
    font-size:11px;
    line-height: 24px;
    text-align: center;
    border:solid 1px #fff;
    border-radius:50%;
    display:inline-block;
    background:#97BAD3;
}

.lector-name .circle-name:not(:first-child){
    margin-left:-7px;
}

/*footer hr{
    border-color: #4B5866;
}
footer a{
    color:#fff;
    text-decoration:none;
}
footer ul li{
    padding-bottom: 8px;
}
footer ul li a{
    color:#B5B9BC;
    font-weight: 300;
    font-size: 14px;
}
footer ul li a:hover{
    color:#FFF;
}
footer .border-bottom{
    border-bottom:solid 1px #E0E0E0;
}*/
.footer .footer-icon a {
    text-decoration:none;
}

.circle-icon{
    border: 1px solid #4B5866;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    padding-top: 10px;
}

.news .card-header{
    z-index:99;
    border-bottom: 0px;
}
.news .card-body.hasImage{
    margin-top:190px;
    padding-right: .5rem!important;
    padding-left: .5rem!important;
    display: flex;
    align-items: center;
}
.news .card .news-img, .news .card .news-video{
    height:192px;
    width:100%;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0; 
}
/*.news .card .news-img:after{
    content:"";
    width:100%;
    height:100%;
    background: rgba(0, 0, 0, .2);
    position:absolute;
}*/
.news .card .news-video video
{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.news .card .news-video .play-bt, 
.news .card .news-video .pause-bt{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.news .card .news-video .pause-bt.active{
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}
.news .card .news-video:hover .pause-bt.active{
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s, visibility 0.3s;
}
.news .card .news-video .rvp2-play,
.news .card .news-video .rvp2-pause{
    background-image: url('../img/sprite.png'); 
    background-repeat: no-repeat;
    background-position: -2px -2px;
    width: 14px;
    height: 14px;
    display: inline-block;
    float:left;
}

.news .card .news-video .rvp2-pause{background-position: -15px -2px;}

.materials .material{border-radius:6px;}

.search-card{ min-height:340px; overflow:hidden;}
.search-card .article-header{ height: 130px;}
.search-card .article-header .tags{ position:absolute; bottom:20px; left: 20px;}
.search-card .article-img {height: 130px; width: 100%; background-size: cover; background-position: center center; position: absolute; top: 0; left: 0; z-index: 0;}
.search-card .oblibeneButtonIcon .add,
.search-card .oblibeneButtonIcon .remove { background: #fff; border-radius: 50%; border-color: #D7DEE4; width: 31px; height: 31px;  display:flex; position:absolute; top:15px; right: 15px;}
/*.search-card .oblibeneButtonIcon .remove {background: #FF7558; border-color:#FF7558;}*/
.search-card .oblibeneButtonIcon .remove:hover {background-color: #C3D5E4; border-color:#C3D5E4; }
.search-card .oblibeneButtonIcon .add > i,
.search-card .oblibeneButtonIcon .remove > i{ margin: 3px auto 0 auto; }
.search-card .oblibeneButtonIcon .remove > i{ color:#FF7558; }
.search-card .oblibeneButtonIcon:hover .add > i/*,
.search-card .oblibeneButtonIcon:hover .remove > i*/{color:#549FD7}

.crossroad .card{ min-height:230px}
.crossroad .card .readmore{position: absolute; bottom: 13px; right: 30px;}

.article-accordion .accordion-button::after{background: #07477F url('../img/sprite.png') no-repeat; 
    background-position: -29px 1px;
    background-size: auto;
    border-radius: 50%;
    width: 33px;
    height: 33px;
}
.article-accordion .accordion-button:not(.collapsed)::after{background-position: -62px 2px; background-color:#fff; border: solid 1px #E8E8E8;}
.article-accordion .accordion-item{background:transparent;border:solid 0px; border-bottom:solid 2px #EDEEEF; }
.article-accordion .accordion-button:not(.collapsed),
.article-accordion .accordion-button{background:transparent; box-shadow:none; color:#07477F;}
.featured-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;grid-gap: 1rem; color: #FF7558; text-transform:uppercase;font-weight:500; font-size:17px;}
.featured-header:before, .featured-header:after { content: ""; display: block; border-top: 2px dotted currentColor; border-image:url(../img/b-dot.png); border-image-source: url('../img/b-dot.svg'); border-image-slice: 8 0 0 0;  border-image-repeat: round; }
.link-arrow-r{padding-right:35px; position:relative; font-size:15px; }
.link-arrow-r:after{ content: "\f11d"; font-family: rvp2-icons !important; text-transform: none; line-height: 1; color: #FF7558; text-decoration:none; position:absolute; right: 5px; top:-1px;}

/*
a.search-card:hover,
a.search-card:hover .card-footer,
a.search-card:hover .text-gray,
a.block-link:hover,
a.block-link:hover .text-gray,
a.block-link:hover .text-black,
a.block-link:hover .text-orange{ background: #07477F !important; color: #fff!important;}
*/
.search-ema-card{
    min-height:245px;
}

.archiv-item-center{
    min-height: 88px;
    display: flex;
    align-items: center;
}

.oblibeneButtonIcon > span.add{opacity:0.5}

.info-popover{font-size: 22px; color: #FF7558; line-height: 22px; }
.popover{background: #FF7558; color: #fff; border-width: 0;}
.popover-header { color: #fff; padding: .5rem 1rem; margin-bottom: 0; font-size: 1rem; background-color: transparent; border-bottom: 0px solid rgba(0,0,0,.2); border-top-left-radius: calc(.3rem - 1px); border-top-right-radius: calc(.3rem - 1px); }
.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before, .bs-popover-end>.popover-arrow::before {border-right-color: transparent; }
.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after, .bs-popover-end>.popover-arrow::after { border-right-color:#FF7558; }

.social .socialButton {margin-right: 20px; border: 1px solid #919AAF; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;}

.clanek > table {min-width:100%;}
.clanek table:not(.table){
    border:solid 0px !important;
}

/*#snippet--materials .oblibeneButtonIcon #formDoOblibenych{float:right}*/
/*#snippet--materials .oblibeneButtonIcon #formDoOblibenych .add,*/
/*#snippet--materials .oblibeneButtonIcon #formDoOblibenych .remove{ position: relative;top: 0; right: 0; float: right;}*/

#fulltextSearchFormWrap .hint em{ font-weight: bold;font-style: normal;}   
#fulltextSearchFormWrap .hint b{ color:red;}     
#fulltextSearchFormWrap .hint{ color:black;}
/*#fulltextSearchFormWrap .materialSuggest{ border-top:1px solid #D2DDEC;}*/
#fulltextSearchFormWrap .materialSuggest strong,
#fulltextSearchFormWrap .clanekSuggest strong{ font-size: 1.1rem; border-bottom: 2px solid #0057a4; color:#0057a4; display: block; margin-bottom: 1rem;}
#fulltextSearchFormWrap{  background: #FFFFFF; box-shadow: 0px 2px 20px rgba(55, 116, 160, 0.12); border-radius: 6px;} 
#fulltextSearchFormWrap .searchWrap{ display: flex; height: 80px;padding:10px; align-items: center; justify-content: space-between;}
#fulltextSearchFormWrap .searchWrap .input input[type="text"]{ height:40px; border-width:0; border-left: 1px solid #D2DDEC; border-radius: 0;}
#fulltextSearchFormWrap .searchWrap .input input[type="text"]:focus{box-shadow:none;}
#fulltextSearchFormWrap .searchWrap .input{ width: 100%; padding-left: 33px; }
#fulltextSearchFormWrap .searchWrap .cancel{ padding: 28px;}
#fulltextSearchFormWrap .searchWrap .submit [type="submit"]{ background: #07477F; color:#fff; font-family: Roboto; font-style: normal; font-weight: bold; font-size: 14px;line-height: 14px;letter-spacing: 0.04em; text-transform: uppercase; padding: 23px 43px; border-width: 0;border-radius: 2px;}
#fulltextSearchFormWrap .searchWrap .submit [type="submit"]:hover{background: #4685BC}
#fulltextSearchFormWrap .hints{ padding:30px; border-top: 1px solid #DCE1E8;box-shadow: 0px 9px 10px rgb(55 116 160 / 12%);border-bottom-left-radius: 6px; border-bottom-right-radius: 6px;}
#fulltextSearchFormWrap .suggest{position: relative; z-index: 100;}
#fulltextSearchFormWrap .suggest .hints{position: absolute; width: 100%; background: #fff; padding-top: 5px; top: -5px;}

.paginator .page{
    display:inline-block;
    color:#5F7184;
    font-weight:200;
    padding-left:13px;
    padding-right:13px;
    border-radius: .25rem;
    padding: 4px 13px 3px;
}
.paginator .page.selected{
    color:#23365B;
    font-weight:700;
}
.paginator .page:hover{
    background-color: #0056A1;
    color: #fff;
}
.modal .close-out{position: absolute; right: -30px; top: 0; z-index: 999; font-size: 1rem; font-weight: normal; color: #fff; opacity: 1;}

.text-with-icon{
    width: -webkit-calc(100% - 80px);
    width:    -moz-calc(100% - 80px);
    width:         calc(100% - 80px);
}

.separate-right{border-right: solid 1px #E1E7ED;}

.table-borderless,
.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none !important;
}

.oneline{
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
    max-width:100%;
}
.twolines,.threelines{
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.twolines{
    -webkit-line-clamp: 2;
}
.threelines{
    -webkit-line-clamp: 3;
}

.rounded{border-radius:8px !important;}
.card.rounded{border-radius:16px !important;}

a.btn{text-decoration:none;}

.btn{font-family: 'roboto';}
.btn-xl{
    line-height: 23px;
    padding: 14px 40px;
    font-size: 15px;
}

.cursor-inherit{cursor: inherit !important;}
.cursor-pointer{cursor: pointer !important;}
.text-underline{text-decoration:underline}
.radius-lg{border-radius:0.5rem}
.radius-lg .card-header:first-child {
    border-radius: calc(0.5rem - 1px) calc(0.5rem - 1px) 0 0;
}

.rotate-90{
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.fs-12px{font-size:12px;}
.fs-13px{font-size:13px;}
.fs-14px{font-size:14px;}
.fs-15px{font-size:15px;}
.fs-16px{font-size:16px;}
.fs-17px{font-size:17px;}
.fs-18px{font-size:18px;}
.fs-20px{font-size:20px;}
.fs-22px{font-size:22px;}
.fs-25px{font-size:25px;}
.fs-30px{font-size:30px;}
.fs-32px{font-size:32px;}
.fs-42px{font-size: 42px;}
.fs-48px{font-size: 48px;}
.fs-50px{font-size: 50px;}

.lh-20px{line-height:20px;}
.lh-25px{line-height:25px;}
.lh-37px{line-height:37px;}
.lh-43px{line-height:43px;}
.lh-60px{line-height:60px;}

.h-22px{height:22px !important;}

.bg-search{background-color: #17171D;}
.bg-dark-gray{background-color: #232731; color:#D7DBE4;}
.bg-orange{background-color: #FF7558; color:#FFF;}
.bg-success, .alert.alert-success{background-color: #54D788 !important; color:#FFF;}
.bg-warning, .alert.alert-warning{background-color: #F5B614 !important; color:#FFF;}
.bg-danger, .alert.alert-danger{background-color: #FB4B33 !important; color:#FFF;}
.bg-blue, .alert.alert-info{background-color: #377BFF; color:#FFF;}
.bg-lighter-blue{background-color: #E7F5FF; color:#07477F;}
.bg-light-yellow{background-color: #FBF0C9; color:#07477F;}
.bg-light-blue{background:#549FD7}

.text-orange, .text-orange:hover{color:#FF7558}
.text-blue{color:#07477F;}
.text-blue-light{color:#86CDFF;}
.text-light-blue{color:#549FD7;}
.text-gray{color:#5F7694;}
.text-light-gray, .text-light-gray p{color:#D7DBE4 !important;}
.text-black{color:#212529;}

.btn-blue{background:#07477F; color:#fff;}
.btn-blue:hover{background:#4685BC; color:#fff;}
.btn-lighter-blue, .btn-lighter-blue:hover{background-color: #E7F5FF; color:#07477F;}
.btn-green{background:#54D788}
.btn-green:hover{background:#2EB966}
.btn-light-gray{background:#F7F9FB;color:#07477F; border:solid 1px #E1E7ED; }
.btn-light-gray:hover{background:#C3D5E4; }
.btn-light-gray.disabled{background:#DFE1E8;color:#FFF;};
.btn-white.disabled{background:#DFE1E8;color:#FFF;}
.btn-white{background:#FFF;color:#07477F; border:solid 1px #E1E7ED; }
.btn-white:hover{background:#C3D5E4; }
.btn-outline-orange {
    color: #FF7558;
    border-color: #FF7558;
}

.fw-500{font-weight:500}
.alert{
    font-weight:500;
    border: solid 1px #FB4B33;
    border-radius: 0;
    display:inline-block;
    width:100%;
}
.alert .btn-close{
    border: solid 0px;
    background: transparent;
    color:#FFF;
    font-size: 14px;
    font-weight: 500;
}
.alert.alert-success{border-color: #54D788 !important; }
.alert.alert-warning{border-color:  #F5B614 !important;}
.alert.alert-danger{border-color:  #FB4B33 !important; }
.alert.alert-info{border-color:  #377BFF;}
.alert .container > .msg{
    position: relative;
    display: inline-block;
}
.alert .container > .msg:before{
    content:"";
    width:30px; 
    height:30px; 
    position:absolute;
    left: -38px;
    top: -3px;
    background-size: 350px;
    background-image: url('../img/icons.png');
}
.alert.alert-success .container > .msg:before{
    background-position:10.5% 100%
}
.alert.alert-warning .container > .msg:before{
    background-position:100% 67%
}
.alert.alert-danger .container > .msg:before{
    background-position:88.5% 67%
}
.alert.alert-info .container > .msg:before{
    display:none;
}
.main-wrapper .header{
    background: #fff;
    border-bottom: solid 1px #DFDFDF;
}

.container{position:relative}
@media (min-width: 768px){
  footer .footer-separate-right{border-right: solid 1px #4B5866;}
  .ema-text{min-height:81px;}
  .card-info .card-body{max-height: 230px; overflow-y: auto;}
  #carouselHome .articleImage{min-height:280px;}
  .news .card{ min-height:340px; overflow:hidden; } 
  .materials .material{border-radius:6px; height: 132px;}
}

@media (max-width: 768px){
  .search-block { background-position: 30% 100%; }
  #fulltextSearchFormWrap .searchWrap .input{ padding-left: 5px; }
  #fulltextSearchFormWrap .searchWrap .submit [type="submit"]{ padding: 16px; font-size: 16px;}
  .search-type-links a{padding-left:0px}
}
@media (min-width: 992px){
  .col-lg-22pr{-ms-flex: 0 0 22%; flex: 0 0 22%; max-width: 22%;}
  .col-lg-37pr{-ms-flex: 0 0 37%; flex: 0 0 37%; max-width: 37%;}
  .col-lg-47pr{-ms-flex: 0 0 47%; flex: 0 0 47%; max-width: 47%;}
  .col-lg-53pr{-ms-flex: 0 0 53%; flex: 0 0 53%; max-width: 53%;}
  .col-lg-63pr{-ms-flex: 0 0 63%; flex: 0 0 63%; max-width: 63%;}
  .col-lg-78pr{-ms-flex: 0 0 78%; flex: 0 0 78%; max-width: 78%;}
  .carousel-indicators{
    left:auto;
    /*padding-left: 20px;*/
  }
}
@media (max-width: 992px){
    .toggle-block .toggle{display:none;}
    .toggle-block .active{display:block;}
}

@media (min-width: 1400px){
  .container, .container-lg, .container-md, .container-sm, .container-xl {
      max-width: 1300px;
  }
}

//.keepNlines{
//   overflow: hidden;
//   text-overflow: ellipsis;
//   display: -webkit-box;
//   -webkit-box-orient: vertical;
//   -webkit-line-clamp: N; /* number of lines to show */
//   line-height: X;        /* fallback */
//   max-height: X*N;       /* fallback */
//}
