/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


img.img-cloud {
    height: 900px !important;
    width: auto !important;
    max-width: none !important;
}

img.img-elements {
    width: 1000px !important;
    margin-left: -50px !important;
}

.nectar-cta[data-style=curved-arrow-animation] .link_text {
    font-size: 0
}

.nectar-post-grid-item-bg-wrap {
    padding: 15px 15px 0 15px;
}

span.nectar-post-grid-item__read-more.nectar-cta.nectar-inherit-label {
    font-size: 0;
    position: absolute;
    right: -30px;
    bottom: -5px;
    background: #febb28;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.nectar-post-grid-wrap[data-style=content_under_image] .nectar-post-grid[data-card=yes] .nectar-post-grid-item .content {
    padding: 25px 45px 25px 20px;
}

.nectar-text-inline-images__inner h3 {
    font-weight: 700 !important;
}

.nectar-text-inline-images {
    max-width: 750px;
    margin: auto;
}

.nectar-text-inline-images__marker {
    clip-path: inset(0%);
    min-height: 60px;
}

.steps .vc_column-inner .wpb_wrapper,
.steps .wpb_row,
.steps .wpb_row>.span_12,
.steps .vc_column-inner {
    height: 100%;
}

.steps .wpb_column > .vc_column-inner:before {
    content: "\e607";
    font-family: icomoon !important;
    position: absolute;
    right: -35px;
    font-size: 40px;
    font-weight: 300;
    top: 50%;
    transform: translateY(-50%);
}

.steps .wpb_column:last-child > .vc_column-inner:before {
    display: none;
}

/*GALERIA*/
.fotogallery-container {
    padding-right: 50px;
    display: grid;
    width: 100%;
}

.fotogallery-large {
    width: 100%;
}

.fotogallery-large a {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
}

a.fotogallery-item.small {
    border-radius: 10px;
}

.fotogallery-large a img, 
a.fotogallery-item.small img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.fotogallery-large a:hover img, 
a.fotogallery-item.small:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

.fotogallery-grid {
    display: flex;
    margin: 0;
    width: calc(100% - 30px);
    margin-top: 10px;
}

a.fotogallery-item.small {
    flex: 0 0 25%;
    padding-bottom: 25%;
    position: relative;
    display: block;
    margin-right: 10px;
    overflow: hidden;
}

a.fotogallery-item.small:last-child {
    margin-right: 0;
}

.fotogallery-item.with-overlay {
  position: relative;
}

.fotogallery-item.with-overlay .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 80%);
  color: #febb28;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  pointer-events: none;
    font-family: 'Unbounded';
    font-weight: 400;
    border-radius: 10px;
}

@media (max-width: 1000px) {
 .fotogallery-container {
    padding-right: 0px;
} 

.fotogallery-item.with-overlay .overlay {
  font-size: 20px;
}
}

/*single info*/
h1.single-title {
    font-size: 42px;
    line-height: 1.2;
}

.kratky-popis p {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
}

.kratky-popis {
    margin: 30px 0 20px 0;
}

body:not(.woocommerce-cart) .main-content table.info-table {
    background: transparent;
    border: none;
}

body:not(.woocommerce-cart) .main-content table.info-table td,
body:not(.woocommerce-cart) .main-content table.info-table tr {
    background: transparent !important;
    border: none;
}

table.info-table td {
    padding: 2px 0 !important;
    border-bottom: 1px solid rgb(37 79 118 / 30%) !important;
}

table.info-table td:first-child {
    font-family: 'Unbounded';
    font-size: 14px;
    font-weight: 600;
    width: 200px;
}

table.info-table td:last-child {
    text-align: right;
}

.prenajom {
    border-radius: 15px;
    background-color: rgb(108 206 236 / 20%);
    padding: 15px 25px;
}

p.prenajom-benefits {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 1px;
}

p.prenajom-benefits svg {
    max-width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.prenajom h3 {
    font-size: 20px;
    line-height: 1.3;
    max-width: 400px;
}

p.single-cena strong {
    font-family: 'Unbounded';
    white-space: nowrap;
    font-size: 20px;
}

p.single-cena {
    line-height: 1.5;
}

.toggles {
    max-width: 850px;
    margin: auto;
}

div[data-style="animated_circle"] .toggle > .toggle-title a {
    font-size: 18px;
    padding-top: 15px;
    padding-bottom: 15px !important;
}

.wpb_gallery_slidesflickity_static_height_style .flickity-viewport {
    margin: 10px 0 !important;
}

.single-atrakcie .nectar-global-section.before-footer {
    padding-top: 0px !important;
}


/*POPUP*/
.mpopup {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #0b253d;
    background-color: rgb(11 37 61 / 95%);
}

.mpopup.block {
    display: block;
}

.modal-content {
    position: relative;
    background-color: #F6F4F4;
    margin: auto;
    width: 100%;
    max-width: 860px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 20px;
}

.modal-body {
    padding: 0;
}

.modal-content-inner {
    padding: 60px 50px;
}

.mpopup .close {
    width: 40px;
    height: 40px;
    display: inline-block;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.mpopup .close:hover, .mpopup .close:focus {
    text-decoration: none;
    cursor: pointer;
}

.mpopup .close:hover rect, .mpopup .close:focus rect {
    fill: #ddd;
}

/* add animation effects */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

.popup-trigger {
    cursor: pointer;
}

.modal-content h2 {
    text-align: center;
    line-height: 1.2;
}

.modal-content .perex {
    text-align: center;
    max-width: 550px;
    margin: 20px auto 0 auto;
        line-height: 1.3
}

.material .wpcf7-form .nectar-wpcf7-inline-form, 
.material .wpcf7-form .nectar-wpcf7-inline-form p {
    padding: 0;
}

.wpcf7-form .nectar-wpcf7-inline-form .nectar-wpcf7-inline-field {
    padding-right: 15px;
    padding-bottom: 15px;
}

textarea {
    height: 120px;
}

.wpcf7-form p span, .wpcf7-form p span a {
    color: #0b253d;
    font-size: 14px;
    margin-left: 0;
}

.wpcf7-form p span a {
    text-decoration: underline;
}

label:has(input[type="checkbox"]) input[type="checkbox"] {
    color: currentColor;
    width: 28px;
    height: 28px;
    border: 1px solid #bcc2cc;
    border-radius: 4px;
}

label:has(input[type="checkbox"]) input[type="checkbox"]::before {
    width: 25px;
    height: 25px;
    border: none;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    content: "\f00c";
    transition: all 0.3s ease;
    font-family: FontAwesome;
    text-align: center;
    line-height: 25px;
    font-size: 16px;
    opacity: 0;
}

label:has(input[type="checkbox"]) input[type="checkbox"]:checked::before {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
}

label:has(input[type="checkbox"]) input[type="checkbox"]:checked {
    background: #f58b24;
    border: 1px solid #f58b24;
}

.wpcf7-form .wpcf7-not-valid-tip {
    top: auto;
    box-shadow: none;
    color: #ff1053;
    background: transparent;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 11px;
}

.wpcf7-form-btn {
    text-align: center;
}

.wpcf7-spinner {
    position: absolute;
    margin-left: 20px !important;
}

body[data-form-submit="regular"] input[type=submit] {
    font-size: 16px;
    color: #0b253d;
    padding: 15px 30px;
}

body[data-form-submit="regular"] input[type=submit]:hover {
    background: #F58B24;
}

.wpb_gallery .flickity-slider .cell {
    border-radius: 15px;
}


/*RESPONSIVE*/

img.img-cloud.desktop-hide,
img.img-elements.desktop-hide {
    display: none;
}

@media (max-width: 1000px) {
.nectar_section.full-width-content>.row_col_wrap_12 {
    padding: 0 20px;
}

img.img-cloud {
    height: 700px !important;
}

img.img-elements {
    width: 800px !important;
}

span.nectar-post-grid-item__read-more.nectar-cta.nectar-inherit-label {
    display: none;
}

.steps .wpb_column {
    margin-bottom: 20px !important;
}

.steps .wpb_column > .vc_column-inner:before {
    right: 50%;
    font-size: 40px;
    font-weight: 300;
    top: auto;
    margin-right: -14px;
    bottom: -15px;
    transform: translateY(0) translateX(-50%) rotate(90deg);
}

.nectar-text-inline-images__marker {
    min-height: 35px;
}

img.nectar-text-inline-images__image {
    margin-bottom: 0 !important;
}

body .row .nectar-text-inline-images * {
    line-height: 2 !important;
}

.nectar_icon_wrap.i-warning i.icon-arrows-exclamation {
    font-size: 50px !important;
    line-height: 50px !important;
    height: 50px !important;
    width: 50px !important;
}

.vc_col-sm-4.typy-podujati-icon-block {
    width: 50%;
    margin-bottom: 0;
}

.vc_col-sm-4.typy-podujati-icon-block h3 {
    font-size: 14px;
    line-height: 1.3;
}

div[data-style="animated_circle"] .toggle > .toggle-title a {
    font-size: 14px;
    line-height: 1.4;
}

.single-atrakcie .container-wrap {
    padding-top: 5px !important;
}

h1.single-title {
    font-size: 30px;
    margin-top: 20px;
}

.kratky-popis p {
    font-size: 16px;
}

.prenajom {
    padding: 15px;
}

p.prenajom-benefits {
    line-height: 1.1;
    padding-bottom: 12px;
}

.modal-content-inner {
    padding: 60px 10px;
    margin-bottom: 55px;
}

.wpcf7-form .nectar-wpcf7-inline-form {
    flex-direction: column;
}

.wpcf7-form .nectar-wpcf7-inline-form .nectar-wpcf7-inline-field {
    padding-right: 0px;
}

.modal-content {
   max-width: 95%;
    box-shadow: none;
}
}


@media (max-width: 1250px) and (min-width: 1000px) {
    img.img-with-animation.big-text-img-1 {
        top: -100px;
    }

    img.img-with-animation.big-text-img-2 {
        top: 150px;
        left: -20px;
    }

    img.img-with-animation.big-text-img-3 {
        top: -180px;
    }

    img.img-with-animation.big-text-img-4 {
        top: 120px;
        left: 100px;
    }
}




@media (max-width: 540px) {
img.img-elements.mobile-hide,
img.img-cloud.mobile-hide {
    display: none;
}

img.img-elements.desktop-hide,
img.img-cloud.desktop-hide {
    display: block;
}

img.img-elements {
    width: auto !important;
    margin-left: 0px !important;
    height: 600px !important;
}

body .nectar-post-grid.phone-cols-2[data-grid-spacing="10px"] .nectar-post-grid-item {
    width: calc(50% - 10px) !important;
    margin: 5px !important;
}

.nectar-post-grid-item-bg-wrap {
    padding: 10px 10px 0 10px;
}

.nectar-post-grid-wrap[data-style=content_under_image] .nectar-post-grid[data-card=yes] .nectar-post-grid-item .content {
    padding: 15px 10px;
}

.nectar-post-grid h3.post-heading {
    font-size: 14px;
}
}

