/*
Theme Name: Marina Child
Description: A child theme of Marina Theme
Version: 1.0.0
Text Domain: marina
Template: marina
*/

.border-top-bottom {
  border-top: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  border-radius: 0px;
  padding: 0px;
}

.alexandros_apartment_contact_form_fields_style {height: 80% !important;}
.alexandros_apartment_contact_form {
    border-radius: 5px !important;
    background-color: #929292 !important;
}
.alexandros_apartment_contact_form_fields_style input, textarea{border-radius: 5px !important;}


label.wpforms-field-label {
    font-family: 'Roboto';
    font-weight: 400 !important;
}

.n2-ss-widget.n2-ss-control-bullet.n2-ow-all.n2-ss-control-bullet-horizontal {
    --widget-offset: -65px !important;
}

@media screen and (max-width: 767px) {
	li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-13253,
	li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-13855 {
	    background-color: #929292;
	    width: 60%;
	    height: 20% !important;
	    display: flex;
	    justify-content: center;
	    padding: 0px 0px 5px 0px;
	    border-radius: 5px;
	}
	
	li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-13253:hover,
	li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-13855:hover {
	    background-color: #575757;
	}

	.nd_elements_navigation_sidebar div li > a {
		padding: 10px 0px;
		display: inline-block;
		font-size: 17px;
		text-transform: lowercase;
		color: #fff;
	}
	
	.n2-ss-widget.n2-ss-control-bullet.n2-ow-all.n2-ss-control-bullet-horizontal {
	    --widget-offset: 570px !important;
	}

	.n2-ss-widget.n2-style-0e4e0f67bfbf9ba594be6982168679af-heading.nextend-arrow.n2-ow-all.nextend-arrow-next.nextend-arrow-animated-fade { 
	margin-bottom: 220px; !important;
	}
	.n2-ss-widget.n2-style-0e4e0f67bfbf9ba594be6982168679af-heading.nextend-arrow.n2-ow-all.nextend-arrow-previous.nextend-arrow-animated-fade {
		margin-bottom: 220px; !important;
	}

}


.elementor-10848 .elementor-element.elementor-element-e88a055 {
    margin: 0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px !important;
    padding: 5px 0px 0px 0px !important;
    --e-icon-list-icon-size: 20px !important;
    --icon-vertical-offset: 0px !important;
}


.elementor-10848 .elementor-element.elementor-element-64b21e2d {
    --grid-template-columns: repeat(0, auto) !important;
    text-align: left !important;
    margin: 0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px !important;
    padding: 0px 0px 0px 0px !important;
    --icon-size: 25px !important;
    --grid-column-gap: 10px !important;
    --grid-row-gap: 0px !important;
}

/* Custom Language Switcher με Flags - Final Fix */
.custom-lang-switcher {
    position: relative;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    min-width: 140px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.lang-dropdown-toggle:hover {
    border-color: #0073aa;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.lang-dropdown-toggle .lang-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.lang-dropdown-toggle .lang-name {
    flex: 1;
    font-size: 15px;
    color: #333 !important;
    font-weight: normal !important;
    white-space: nowrap;
    line-height: 1.2;
}

/* Αφαίρεση arrow */
.lang-dropdown-toggle .lang-arrow {
    display: none;
}

.custom-lang-switcher.active .lang-dropdown-toggle {
    border-color: #0073aa;
    box-shadow: 0 3px 10px rgba(0, 115, 170, 0.15);
}

/* Dropdown Menu */
.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    min-width: 140px;
}

.custom-lang-switcher.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lang-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    text-decoration: none;
    color: #333 !important;
    font-size: 15px;
    font-weight: normal !important;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
}

.lang-dropdown-menu li a span {
    color: #333 !important;
    font-weight: normal !important;
    line-height: 1.2;
}

.lang-dropdown-menu li a:hover {
    background-color: #f8f9fa;
}

.lang-dropdown-menu .lang-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.lang-dropdown-menu li:first-child a {
    border-radius: 8px 8px 0 0;
}

.lang-dropdown-menu li:last-child a {
    border-radius: 0 0 8px 8px;
}

/* Mobile - Force Normal Weight */
@media (max-width: 768px) {
    .lang-dropdown-toggle,
    .lang-dropdown-menu {
        min-width: 120px;
    }
    
    .lang-dropdown-toggle .lang-name,
    .lang-dropdown-menu li a,
    .lang-dropdown-menu li a span {
        font-size: 14px;
        color: #333 !important;
        font-weight: 200important;
    }
    
    /* Extra force */
    .custom-lang-switcher *,
    .custom-lang-switcher a,
    .custom-lang-switcher span {
        color: #333 !important;
        font-weight: normal !important;
    }
	
	.polylang_button_switch .lang-dropdown-menu li {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 10px 18px;
	}

	.polylang_button_switch .lang-dropdown-menu  a {
		font-size: 15px !important;
	}
}