/* slide */
.sppb-slider-fullwidth-wrapper {
    background: #a00000;
}
@media (min-width: 992px) {
.sppb-slideshow-fullwidth-item {
    min-height: 700px;
}
}
/* img logo */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { 
.logo img {
    max-width: 165px;
}
.sp-simpleportfolio.sp-simpleportfolio-view-item .sp-simpleportfolio-details-wrap {
    display: block;
}

}

/* menu */
.btn.btn-link:hover,
.sppb-btn.btn-link:hover,
.btn.sppb-btn-link:hover,
.sppb-btn.sppb-btn-link:hover,
.btn.btn-link:focus,
.sppb-btn.btn-link:focus,
.btn.sppb-btn-link:focus,
.sppb-btn.sppb-btn-link:focus,
#sp-header .social-icons li a,
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
    color: #000;
}
.sp-megamenu-parent >li.active>a,
.sp-megamenu-parent >li:hover>a {
    color: #a00000;
}
/* logo */
.fadeInDown img.sp-default-logo {
    height: 90px;
}
.fadeInDown img.sp-retina-logo {
    height: 70px;
    width: auto;
}
/* footer */
.bottom-wrapper .row {
    display: flex;
    align-items: center;
}
.major-color-bg4, .top-search-input-wrap .search-bottom-part, 
.icon-top-wrapper i.search-open-icon, 
#sp-bottom, #sp-footer, 
.rhino-skill-section .sppb-progress-bar-wrap .sppb-progress .sppb-progress-bar-warning, 
.top-search-input-wrap .search-bottom-part, 
sppb-slider-fullwidth-wrapper {
    background: #a00000;
}
/* sp portfolio */
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay .sp-vertical-middle >div .sp-simpleportfolio-title:before {
    display: none;
}
.home-two-portfolio-section .sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-content-wrap .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay {
    box-shadow: 0px 0px 5px rgb(5 5 5 / 0%);
    margin: 0 5px 5px;
}
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-img {
    box-shadow: 0px 0px 5px rgb(5 5 5 / 75%) !important;
    border: 0;
    padding: 0;
}
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper {
    padding: 5px;
}
.home-two-portfolio-section .sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-content-wrap .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay .sp-vertical-middle .sp-simpleportfolio-title a {
    padding-top: 10px;
}
.home-two-portfolio-section .sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-content-wrap .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay .sp-vertical-middle .sp-simpleportfolio-tags {
    display: none;
}
.sp-simpleportfolio-tags {
    display: none;
}
.sp-simpleportfolio.sp-simpleportfolio-view-item .sp-simpleportfolio-description .sp-simpleportfolio-info:before {
    display: none;
}

/* ikony a odpocet */
.rhino-fun-facts-section .sppb-addon-feature .sppb-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rhino-fun-facts-section .sppb-addon-feature .sppb-icon-container img {
    height: 50px;
    line-height: 90px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    transform: scale(1);
}
.rhino-fun-facts-section .sppb-addon-feature .sppb-icon-container:hover img {
    transform: scale(1.05);
}

/* hradby */
section#section-id-1502961197231:before {
    content: '';
    position: absolute;
    top: -43px;
    background: url(../mycss/images/hradby.png) no-repeat scroll center center / cover;
    height: 43px;
    width: 100%;
}
body.com-spsimpleportfolio #sp-page-title:before, 
body.view-category #sp-page-title:before, 
body.view-article #sp-page-title:before {
    content: '';
    position: absolute;
    bottom: -15px;
    background: url(../mycss/images/hradby-grey.png) no-repeat scroll center center / cover;
    height: 43px;
    width: 100%;
    left: 0;
    z-index: 1;
    color: #f9fafb;
}

/* social ikon */
.article-details-wrap .helix-social-share-wrap {
    display: none;
}

/* artcle */
@media only screen and (min-width: 992px) {
.article-details-wrap {
    padding: 15px 15px;
}
.entry-header {
    margin-bottom: 0;
}
.sp-simpleportfolio.sp-simpleportfolio-view-item .sp-simpleportfolio-details-wrap {
    max-width: 1170px;
    padding: 0px;
    background: white;
}
.sp-simpleportfolio.sp-simpleportfolio-view-item .sp-simpleportfolio-description .sp-simpleportfolio-desc,
.sp-simpleportfolio.sp-simpleportfolio-view-item .sp-simpleportfolio-description .sp-simpleportfolio-info {
    padding: 15px 15px;
}
}
/* slide */
.owl-carousel .owl-item img {
    object-fit: cover;
}

/* uprava paticka */
body:not(.itemid-437) section#sp-main-body:after {
    content: '';
    position: absolute;
    top: auto;
    bottom: -43px;
    background: url(../../images/down-grey.png) no-repeat scroll center center / cover;
    height: 43px;
    width: 100%;
    z-index: 9999;
}
body:not(.itemid-437) section#sp-main-body {
    position: relative;
    padding-bottom: 0;
}
body.com-spsimpleportfolio #sp-bottom:after, 
body.view-category #sp-bottom:after, 
body.view-article #sp-bottom:after {
    display: none;
}

/* edit pagebuilder */
body.layout-edit-iframe section#sp-main-body {
    position: relative;
    padding-bottom: 0;
    padding-top: 90px;
}

/* mezi kus */
body.com-spsimpleportfolio #sp-page-title:before,
body.view-category #sp-page-title:before, 
body.view-article #sp-page-title:before {
    background: url(../mycss/images/hradby.png) no-repeat scroll center center / cover;
}
body.com-spsimpleportfolio section#sp-main-body:before,
body.view-category section#sp-main-body:before,
body.view-article section#sp-main-body:before {
    content: '';
    height: 280px;
    width: 100%;
    position: absolute;
    top: 0;
    background: url(../../images/up-grey.png) no-repeat scroll -43px 50% / cover;
    background-color: #a00000;
    background-position: 0 255px;
    background-size: contain;
    background-repeat: repeat-x;
}
/* title */
body .sp-page-title {
    background-position: bottom center;
}
.sp-page-title.has-bgimage h2:before {
    background-position: bottom center !important;
}
/* aktuality */
article.item {
    flex: 0 0 33.333334%;
    min-width: 33.333334%;
}
.entry-header h2 {
    margin: 8px 0 15px;
    font-size: 14px;
    line-height: 1.6;
    height: 66px;
    overflow: hidden;
}
article.item:hover p.readmore a {
    color: #cd7979;
}
.up-curve-dark-red {
  position: relative;
}
.up-curve-dark-red:before {
  content: '';
  position: absolute;
  top: 0;
  background: url(/images/sablona/up-dark-red.png) no-repeat scroll center center / cover;
  height: 43px;
  width: 100%;
}
section.aktuality {

}
.sppb-addon-article {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
}
.sppb-addon-article .sppb-addon-article {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: center;
    align-items: stretch;
}
.sppb-addon-article a.sppb-article-img-wrap {
    flex: 0 0 50%;
    min-width: 50%;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}
.sppb-addon-article a.sppb-article-img-wrap img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
    -webkit-transition: all .4s;
    transition: all .4s;    
}
section.aktuality .sppb-addon-article:hover a.sppb-article-img-wrap img {
    -webkit-transform: scale3d(1.15,1.15,1);
    transform: scale3d(1.15,1.15,1);   
}
.sppb-addon-article .sppb-article-info-wrap {
    flex: 0 0 50%;
    min-width: 50%;
    padding: 10px;
    background: #a00000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
section.aktuality .sppb-article-info-wrap:before {
    left: -20px;
    position: absolute;
    top: calc(50% - 5px);
    text-align: center;
    border-left: 10px solid transparent;
    border-right: 10px solid #a00000;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    vertical-align: top;
}
section.aktuality .sppb-col-sm-6 .sppb-addon-article .sppb-article-info-wrap {
    background: #efefef;
    transition: 0.4s all;
}
section.aktuality .sppb-col-sm-6 .sppb-article-info-wrap:before {
    border-right: 10px solid #efefef;
    transition: 0.4s all;
}
section.aktuality .sppb-col-sm-6 .sppb-addon-article .sppb-article-info-wrap a {
    color: #000000;
}
section.aktuality .sppb-col-sm-6:hover .sppb-addon-article .sppb-article-info-wrap {
    background: #a00000;
}
section.aktuality .sppb-col-sm-6:hover .sppb-article-info-wrap:before {
    border-right: 10px solid #a00000;
}
section.aktuality .sppb-col-sm-6:hover .sppb-addon-article .sppb-article-info-wrap a {
    color: #ffffff;
}
.titleAktuality {
    margin-bottom: 15px;
}

@media only screen and (min-width: 992px) {
body .sp-page-title {
    min-height: 700px;
}
.sp-page-title.has-bgimage h2:before {
    top: -200px;
    bottom: 0;
    height: 700px;
}
/* aktuality */
}
@media only screen and (max-width: 991px) {
.sp-page-title h2:before {
    height: 600px;
    top: -175px;
    bottom: 0;
}
article.item {
    flex: 0 0 50%;
    min-width: 50%;
}
body.com-spsimpleportfolio section#sp-main-body:before, 
body.view-category section#sp-main-body:before, 
body.view-article section#sp-main-body:before {
    height: 270px;
}
}
@media only screen and (max-width: 767px){
body.com-spsimpleportfolio section#sp-main-body:before, 
body.view-category section#sp-main-body:before, 
body.view-article section#sp-main-body:before {
    height: 260px;
}
}
@media only screen and (max-width: 599px){
.sp-page-title h2:before {
    height: 480px;
    top: -130px;
    bottom: 0;
}
article.item {
    flex: 0 0 100%;
    min-width: 100%;
}
}
@media only screen and (max-width: 479px){
.sp-page-title h2:before {
    height: 435px;
    top: -130px;
    bottom: 0;
}
}
@media (max-width: 991px) {
header#sp-header .col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}
header#sp-header .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
div#sp-logo {
    order: 1;
}
div#sp-top1 {
    order: 2;
}
div#sp-menu {
    order: 3;
}
}