.cms-main {
    font-family: var(--default-web-font);
    color: var(--hp-primary-color);
}

/* Link default colors in content - Begin */
.cms-main a {
    color: var(--hp-primary-color);
    text-decoration: none;
}

.cms-main a:hover,
.cms-main a:focus {
    color: var(--hp-action-color);
    text-decoration: underline;
}

/* LLink default colors in content - End */

p {
    margin-bottom: 1.5rem;
    line-height: 1.57rem;
}


/* Custom badge - Begin */
.badge-hp {
    padding: 0.25rem 1rem;
    display: inline-block;
    text-transform: uppercase;
}

/* Custom badge - End */

/* Carousel HP - news - Begin */

@media only screen and (min-width: 992px) {
    #hp-carousel .carousel-item {
        height: 240px;
    }
}


#hp-carousel .img-fill {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#hp-carousel .carousel-control-prev,
#hp-carousel .carousel-control-next {
    width: 30px;
}

#hp-carousel .carousel-control-next-icon,
#hp-carousel .carousel-control-prev-icon {
    background-size: 180% 100%;
    height: 4rem;
}

.img-fill-alone {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

/* Carousel HP - news - End */


/* Beer small cards - Begin */

.custom-borders-cards .card {
    border: 0;
}

.custom-borders-cards > .col {
    position: relative;
}


.custom-borders-cards > .col:nth-child(odd):before {
    position: absolute;
    right: 0;
    top: 0;
    content: '';
    width: 1px;
    height: calc(100% - 1.5rem);
}

@media only screen and (min-width: 768px) {
    .custom-borders-cards > .col:nth-child(odd):before {
        border-right: 1px solid var(--hp-dark-color);
    }
}

.custom-borders-cards > .col:after {
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    width: calc(100% - 3rem);
    content: '';
    border-bottom: 1px dashed var(--hp-dark-color);
}

.custom-borders-cards > .col:last-child:after,
.custom-borders-cards > .col:nth-last-child(2):nth-child(odd):after {
    border-bottom: none;
}

/* Beer small cards - End */

/* Product card - Begin*/

.product-card {
    position: relative;
}

@media only screen and (min-width: 768px) {
    .product-card:not(:nth-child(4n)):after {
        border-right: 1px solid lightgrey;
        position: absolute;
        right: 0;
        top: 2.5rem;
        content: '';
        width: 1px;
        height: calc(100% - 5rem);
    }
}

@media only screen and (max-width: 767px) {
    .product-card:not(:last-child):after {
        content: "";
        position: absolute;
        left: calc(50% - 100px);
        bottom: 0;
        height: 1px;
        width: 200px;
        border-bottom: 1px solid lightgrey;
    }
}

.product-card:nth-child(n+5) {
    padding-top: 2rem;
}

@media only screen and (min-width: 768px) {
    .product-card:nth-child(n+5):before {
        position: absolute;
        right: 2.5rem;
        width: calc(100% - 5rem);
        top: 0;
        content: '';
        border-top: 1px solid lightgrey;
    }
}

.product-card img {
    height: 250px;
    object-fit: contain;
    object-position: center;
    position: relative;
}

/* Product card - End*/

/* Mohlo by Vas zajimat - Begin */
.custom-mohlo-by {
    margin-bottom: -50px;
}

/* Mohlo by Vas zajimat - End*/

/*Galerie - Begin */

.cms-gallery-item {
    height: 200px;
}

.cms-gallery-item img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

/*Galerie - End */


/* Paging - Begin */
.cms-paging {
    margin-top: 2rem;
}

.cms-paging .page-item.active .page-link {
    background-color: var(--hp-primary-color);
    border-color: var(--hp-primary-color);
}

/* Paging - End */

/* Order - PET/Sud - Begin */

.card-wrap .card-title {
    min-height: 50px;
}

.card-wrap .block-img {
    height: 180px;
}

.card-wrap .img-pet {
    max-width: 75%;
    max-height: 180px;
    width: auto;
}

.card-wrap .img-sud {
    max-width: 75%;
    max-height: 180px;
    width: auto;
}

.card-wrap .img-sud-pivo {
    position: absolute;
    width: 110px;
    top: 75%;
    left: 60%;
    transform: translate(-50%, -50%);
}

/* Order - PET/Sud - End */


/* Order - Begin */

.order-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.order-holder .order-button {
    width: 126px;
    height: 100px;
}

.order-holder .form-label {
    margin-bottom: 0;
}

.order-holder .accordion-body {
    padding: 1rem 0;
}

.order-holder .order-button,
.order-holder .order-width-button {
    margin-right: 1rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.order-holder .order-button .order-inner,
.order-holder .order-width-button .order-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: var(--hp-white-color);
    color: var(--hp-primary-color);
    border: solid 1px var(--hp-secondary-color);
}

.order-holder .order-button .order-inner {
    width: 100px;
}

.order-holder .order-width-button .order-inner {
    min-width: 100px;
    padding-left: 13px;
    padding-right: 13px;
}

.order-holder .order-button[aria-expanded="true"] .order-inner,
.order-holder .order-width-button.selected .order-inner,
.order-holder .order-button.selected .order-inner {
    background: var(--hp-secondary-color) !important;
    color: var(--hp-white-color);
    transition: 200ms all;
}

.order-holder .order-button .order-inner,
.order-holder .order-width-button .order-inner {
    font-weight: bold;
    font-size: 18px;
    line-height: 29px;
}

.order-holder .order-button .order-inner .big,
.order-holder .order-width-button .order-inner .big {
    font-size: 22px;
    line-height: 50px;
}


.order-count-wrap {
    display: flex;
}

.order-count-wrap .order-count {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hp-secondary-color);
    color: var(--hp-white-color);
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
}

.order-count-wrap INPUT {
    display: block;
    width: 55px;
    height: 40px;
    border-radius: 0;
    border: solid 1px var(--hp-secondary-color);
    text-align: center;
    font-weight: 600;
    font-size: 22px;
    color: var(--hp-primary-color);
}

.order-holder .vycepni-1 {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-holder .vycepni-2 {
    text-align: left;
    margin-left: 16px;
    font-size: 14px;
    line-height: 18px;
}


.calendar-wrap .calendar INPUT {
    margin: 0 auto;
    width: 320px;
    height: 60px;
    border-radius: 0;
    border: solid 1px var(--hp-secondary-color);
    font-size: 40px;
    font-weight: 600;
    color: var(--hp-primary-color);
    text-align: center;
    background: url(../img/objednavka-calendar-picker.jpg) right no-repeat var(--hp-white-color);
    padding-right: 60px;
}

.img-order {
    max-width: 100px;
    max-height: 100px;
}

.state-order {
    opacity: 0.5;
}

.state-order.active {
    opacity: 1;
}

.order-device-pricelist h6 {
text-align: center;
}

.order-device-pricelist table {
    margin: 0 auto;
}

/* Order - End */


.exkurze-wrap {
	border: solid 1px #edeae4;
	border-radius:5px;
	padding:30px 30px;
    margin-top:40px;
    margin-bottom:40px;
} 
.exkurze-wrap H3 {
    font-weight: 900;
    font-size:22px;
    margin-bottom:15px;
}
.exkurze-wrap IMG {
    max-width: 25px;
    height: auto;
    margin-right:8px;
    position: relative;
    top:-2px;
}
.exkurze-wrap .item.exkurze {
    padding:20px 0px;
}
.exkurze-wrap .exkurze:not(.first) {
    border-top: dashed 2px #edeae4;
    padding-top:0px;
}
.exkurze-wrap .item UL {
    padding-left:20px;
    margin-top:10px;
    margin-bottom:0;
}
.exkurze-wrap .item UL LI {
    margin-bottom:7px;
}
.exkurze-wrap .item.popis {
    /* margin-top:30px; */
}

.filtr-podle-pismen {
    margin-top:40px;
    margin-bottom: 30px;
}
.filtr-podle-pismen A {
    color:var(--hp-secondary-color)!important;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: underline!important;
    display: inline-block;
    padding:3px;
    font-size:19px;
    cursor: pointer;
}
.pivni-slovnicek-wrap {
    margin-top:80px;
    margin-bottom: 40px;
} 
.pivni-slovnicek-wrap .item {
    display: none;
}
.pivni-slovnicek .item {
    margin-bottom:40px;
}
.pivni-slovnicek H2 {
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 5px;    
}
.pivni-slovnicek .item .vysvetleni P:first-of-type {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom:5px; // odsazeni more info
}
.pivni-slovnicek .item .vysvetleni P:not(:first-of-type) {
  display: none;
}
.pivni-slovnicek .item.active .vysvetleni P:first-of-type {
  white-space: normal;
  overflow: auto;
  text-overflow: unset;
  margin-bottom: 20px;
}
.pivni-slovnicek .item.active .vysvetleni P:not(:first-of-type) {
  display: block;
}
.pivni-slovnicek .item .vysvetleni P:last-of-type{
  margin-bottom: 5px;
}
.pivni-slovnicek .item .controls {
  text-decoration:underline;
  color:var(--hp-action-color);
  cursor:pointer;
  display:none;
}
.pivni-slovnicek-zdroje,
.pivni-slovnicek-zdroje A {
    font-style:italic; 
    font-size:13px; 
    line-height:20px; 
    color:#676767;
}