/*
Theme Name: Hello Elementor Child
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Shik
Author URI: 
Template: hello-elementor
Version: 1.0.2
Text Domain: hello-elementor
*/

.grecaptcha-badge,.grecaptcha-logo{visibility: hidden !important;}
header.site-header{display:none !important;}

/* accessible effects */
.elementor-invisible {
    visibility: visible!important;
    opacity: 0
}

.elementor-widget-text-editor p{
	margin:0!important;
}

/* large screens */
@media (min-width: 1925px){
	.logoscar img{
		height:147px!important;
		object-fit:cover;
		object-position: center center;
	}
	.castragallerymobile{display:none!important;}
	.bigdorm .elementor-field-textual{padding: 13px 21px!important;}
	.bigdorm .elementor-field-group .elementor-field:not(.elementor-select-wrapper) {
		border-radius:32.42px !important;
	}
	.bigdorm .elementor-field-type-submit{margin-top:20px;}
	.bigdorm .elementor-field-group > label{padding-right: 10px;}
}

/* leptops screens */
@media (min-width: 767px) and (max-width:1925px){
	.elementor-form .elementor-field-textual,
	.elementor-form button[type="submit"]{min-height:auto !important;}
	.logoscar img{
		height:7.7vw!important;
		object-fit:cover;
		object-position: center center;
	}
	.castragallerymobile{display:none!important;}
	.bigdorm .elementor-field-textual{padding: 0.55vw 1vw!important;}
	.bigdorm .elementor-field-group {
		padding-right: calc(1.66vw / 2)!important;
		padding-left: calc(1.66vw / 2)!important;
		margin-bottom:1vw !important;
	}
	.bigdorm .elementor-field-type-submit{margin-top:0.25vw;}
	.bigdorm .elementor-field-group .elementor-field:not(.elementor-select-wrapper) {
		border-radius:1.2vw !important;
	}
	.bigdorm .elementor-field-group > label{padding-right: 0.5VW;}
}

/* mobile */
@media (max-width: 767px){ 
	.elementor-form input,.elementor-form button{
		border-radius: 0.5em !important;
	}
	.elementor-form .elementor-field-group{
		margin-bottom:4vw !important;
	}
	.logoscar img{
		height:30vw!important;
		object-fit:cover;
		object-position: center center;
	}
	.bigdorm .elementor-field-group {
		margin-bottom:3.5vw !important;
	}
	.bigdorm .elementor-field-type-submit{margin-top:3vw;}
	.bigdorm .elementor-field-group .elementor-field:not(.elementor-select-wrapper),
	.bigdorm .elementor-field-textual{
		border-radius:4.5vw !important;
	}
}
.elementor-form .elementor-form-fields-wrapper {
    align-items: flex-start;
}

.bigdorm .elementor-field-textual{border-style:solid!important;}

/* GALLERY */
/* WRAPPER */
.castragallery .gallery {
    display: grid !important;
    grid-template-columns: 1.85fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 16px;

    /* חשוב */
    height: 700px;
    overflow: hidden;

    /* מבטל CSS של וורדפרס */
    margin: 0 !important;
}

/* RESET */
.castragallery .gallery-item {
    margin: 0 !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    height: 100%;
}

.castragallery .gallery-icon,
.castragallery .gallery-icon a {
    width: 100%;
    height: 100%;
    display: block;
}

.castragallery .gallery-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 24px;
}

/* תמונה ראשונה - גדולה משמאל */
.castragallery .gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}

/* תמונה שנייה - ימנית עליונה */
.castragallery .gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

/* תמונה שלישית - ימנית תחתונה */
.castragallery .gallery-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

/* מסתיר את שאר התמונות בלי display:none */
.castragallery .gallery-item:nth-child(n+4) {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;

    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* MOBILE */
@media (max-width: 767px) {

    /*.castragallery .gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .castragallery .gallery-item:nth-child(1),
    .castragallery .gallery-item:nth-child(2),
    .castragallery .gallery-item:nth-child(3) {
        grid-column: auto;
        grid-row: auto;
        height: 240px;
    }*/
	.castragallery{display:none !important;}
	.castragallerymobile img{
		height:55vw!important;
		object-fit:cover;
		object-position: center center;;
	}
	.castragallerymobile .swiper{
		padding-bottom: 6vw!important;
	}
}