/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Sikrer, at Gravity Forms Datepicker har den korrekte styling */
/* Generel styling af Datepicker */
.ui-datepicker {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    width: auto; /* Forhindrer for smal visning */
}

/* Kalenderens struktur */
.ui-datepicker-calendar {
    width: 100%;
    border-collapse: collapse;
}

.ui-datepicker td {
    text-align: center;
    padding: 8px;
}

/* Styling af knapper/datoer */
.ui-datepicker .ui-state-default {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

/* Styling af valgt dato */
.ui-datepicker .ui-state-active {
    background: #0073e6;
    color: #fff;
    font-weight: bold;
}

/* Sikrer at navigationsknapperne placeres korrekt */
.ui-datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
    padding: 10px;
    font-weight: bold !important;
    margin-bottom: 10px;
    border-radius: 5px 5px 0 0;
    position: relative;
}

/* Forrige/Næste-knapper */
.ui-datepicker-prev, .ui-datepicker-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

/* Forrige-knap til venstre */
.ui-datepicker-prev {
    left: 10px;
}

/* Næste-knap til højre */
.ui-datepicker-next {
    right: 10px;
}

/* Gør knapperne til pile (i stedet for tekst) */
.ui-datepicker-prev:before {
    content: "◄";
}

.ui-datepicker-next:before {
    content: "►";
}

/* Ensretter månedsnavnet (første bogstav stort) */
.ui-datepicker-month {
    text-transform: capitalize !important;
}

/* Justering af navigationselementer (forhindrer overlap) */
.ui-datepicker-title {
    text-align: center;
    width: 100%;
}

/* Forbedring af placering af enkeltelementer */
a:not([href]):not([tabindex]) {
    float: right !important;
    margin: 0 5px !important;
}

/* Gør KUN den sidste dag i måneden fed */
.ui-datepicker-calendar td:last-child a {
    font-weight: bold;
    color: #000;
}

a {
    font-weight: bold!important;
}

.top h1 {
    color: white;
}

.top-overlay {
    background-color: rgba(0, 0, 0, 0.3)!important;
}

.rubo-container h1 {
    font-size: 2.0em!important;
}

.rubo-form .rubo-label {
    padding-bottom: 1rem!important;
}

.rubo-section-house .rubo-content {
    background-color: #EDEDED!important;
    padding: 20px!important;
}

.rubo-section-house .rubo-information {
    background-color: #EDEDED!important;
}

/* Formular */

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    padding: 10px 20px!important;
}

.gform_wrapper.gf_browser_chrome select {
    padding: 10px 20px!important;
}

.gform_wrapper .top_label input.large.datepicker, .gform_wrapper .top_label input.medium.datepicker, .gform_wrapper .top_label input.small.datepicker {
    width: 50%!important;
}

.gform_wrapper .gfield_radio li label {
    margin: -10px 0 0 10px!important;
}

.gform_wrapper ul.gfield_checkbox li input[type=checkbox], .gform_wrapper ul.gfield_radio li input[type=radio] {
    width: 22px!important;
}

.gform_wrapper ul.gfield_checkbox li, .gform_wrapper ul.gfield_radio li {
    padding: 5px 0 5px 0!important;
}

.gform_wrapper textarea.medium {
    padding: 20px!important;
}

.gform_wrapper ul.gform_fields li.gfield {
    padding-right: unset!important;
}

/* Knap */

.vc_btn3.vc_btn3-style-custom {
    background-image: none!important;
}

/* Søgeboks forside */

.page-id-641 .rubo-form .rubo-select {
    background-color: white!important;
}

.page-id-641 .rubo-form .rubo-label {
    padding: 1rem 0 1rem 0!important;
    color: white!important;
}

.page-id-641 .rubo-form .rubo-btn {
    padding: 20px!important;
}

.page-id-641 .rubo-form .rubo-slider-price, .rubo-form .rubo-slider-kvm {
    padding: 0 40px 0 0!important;
}
.page-id-641 .ui-widget-content {
    border: none!important;
}
.page-id-641 .rubo-container h1 {
    color: white!important;
}

.page-id-641 .rubo-form .rubo-btn {
    text-transform: none!important;
    font-size: 22px!important;
}

.page-id-641 .rubo-form .ui-slider .ui-slider-handle {
    font-size: 0.8rem!important;
    color: black!important;
    border-radius: 3px!important;
}

/* Søgeboks */

.rubo-form .rubo-select {
    background-color: #EDEDED!important;
}

.rubo-form .rubo-label {
    padding: 1rem 0 1rem 0!important;
}

.rubo-form .rubo-btn {
    padding: 20px!important;
}

.rubo-form .rubo-slider-price, .rubo-form .rubo-slider-kvm {
    padding: 0 40px 0 0!important;
}
.ui-widget-content {
    border: none!important;
}
.rubo-container h1 {
}

.rubo-form .rubo-btn {
    text-transform: none!important;
    font-size: 22px!important;
}

.rubo-form .ui-slider .ui-slider-handle {
    font-size: 0.8rem!important;
    color: black!important;
    border-radius: 3px!important;
}

/* Footer */

.widget h3, .woocommerce .widget h3, .woocommerce.widget h3 {
    text-transform: unset!important;
    font-size: 18px!important;
}

.widget p {
    font-size: 14px!important;
}

.button {
    background-color: #228B22!important;
    width: 100%!important;
    border: none!important;
    color: white!important;
}

/* Media Queries */

@media (max-width: 300px) {
    .hide-mobile {
        display: none!important;
    }
}

@media (min-width: 301px) and (max-width: 600px) {
    .hide-mobile {
        display: none!important;
    }
}

@media (min-width: 601px) and (max-width: 768px) {
    .hide-desktop {
        display: none!important;
    }
    .rubo-form .rubo-select {
        padding: 10px!important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none!important;
    }
    .rubo-form .rubo-select {
        padding: 10px!important;
    }
    .kontakt-knap-menu {
        background-color: #228B22!important;
        padding: 5px 0!important;
        color: white!important;
        border-radius: 3px!important;
    }

    .kontakt-knap-menu a {
        color: white!important;
    }
    .knap-menu {
        padding: 5px 0!important;
    }

    .knap-menu a {
    }
}
