/*
 Theme Name:   Teoro WP Child
 Theme URI:    https://demo.cocobasic.com/teoro-wp
 Description:  Teoro WP Child Theme
 Author:       CocoBasic
 Author URI:   https://cocobasic.com/
 Tags: grid-layout, four-columns, custom-colors, featured-images, threaded-comments, translation-ready, theme-options
 Template:     teoro-wp
 Text Domain:  teoro-wp-child
*/

/* Positioning for the image box */
.elementor-widget-image-box {
    position: relative;
}

/* Styling the content box (hidden by default, shown on hover) */
.elementor-widget-image-box .elementor-image-box-content {
    position: absolute !important;
    bottom: 14px !important;
    left: 0px;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Black transparent box */
    color: white;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    line-height: 16px;
    transform: translateY(-10px);
    /* Moves it up by 10px */
}

/* Show title on hover */
.elementor-widget-image-box:hover .elementor-image-box-content {
    opacity: 1;
    transform: translateY(-10px);
}

/* Apply styling dynamically to all IDs that contain "brochure-image" */
[id*="brochure-image"] .elementor-image-box-wrapper .elementor-image-box-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Custom font color for Travel Request Form */
#wpforms-form-620 label,
.wpforms-field-label {
    color: #095288 !important;
}

/* Custom styles to allow two form fields side-by-side */
#wpforms-620-field_8-container,
#wpforms-620-field_15-container {
    display: inline-block;
    width: 48%;
    /* Adjust if needed */
    margin-right: 2%;
    vertical-align: top;
}

#wpforms-620-field_15-container {
    margin-right: 0;
    /* Removes margin from the last field */
}

#wpforms-submit-620 {
    margin-top: 40px;
}

#control>strong:nth-child(3)>h3 {
    color: black !important;
}

input#wpforms-1170-field_1,
input#wpforms-1170-field_2,
textarea#wpforms-1170-field_3 {
    background-color: #ffeee5 !important;
}

#wpforms-confirmation-1170 p {
    font-size: 12px !important;
}

body.page-template-page-login {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* Overlay background */
.login-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('https://dev.kristintravels.com/wp-content/uploads/2025/03/disney-bg.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.5;
    /* adjust if needed */
    pointer-events: none;
}

.custom-login-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background: #c5cfd3;
    border-radius: 10px;
}

#login-logo {
    text-align: center;
}

#login-logo img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/* Form wrapper */
#custom_loginform {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background: #c5cfd3;
    border-radius: 10px;
}

/* Inputs */
#custom_loginform input[type="text"],
#custom_loginform input[type="password"],
#custom_loginform input[type="submit"] {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #005177;

    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#custom_loginform label {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #005177;
}

/* Checkbox */
#custom_loginform #rememberme {
    transform: scale(1.5);
    margin-right: 10px;
    vertical-align: middle;
}

#custom_loginform .login-remember {
    text-align: center;
}

/* Submit Button */
#wp-submit {
    background-color: #005177;
    color: #fff !important;
    border: none;
    cursor: pointer;
}

#custom_loginform #wp-submit:hover {
    background-color: #005177;
}

/* Add space above "Privacy Policy" */
#post-181>div>div>div.elementor-element.elementor-element-89b9f95.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded>div>div>div.elementor-element.elementor-element-cc51480.e-con-full.e-flex.e-con.e-child>div.elementor-element.elementor-element-6f04c99.elementor-icon-list--layout-traditional.elementor-list-item-link-full_width.elementor-widget.elementor-widget-icon-list>div>ul>li:nth-child(3) {
    margin-top: 20px !important;
}

#wpforms-1170-field_1-container>label,
#wpforms-1170-field_2-container>label,
#wpforms-1170-field_3-container>label {
    color: #3d3d3d !important;
    font-size: 20px !important;
}

#wpforms-submit-1170 {
    font-size: 20px !important;
}

/* ********** TABLET ********** */
@media (max-width: 1024px) {
    #about-img {
        width: 150px;
        height: 150px;
        padding-left: 10px !important;
    }
}


/* ********** MOBILE ********** */
@media (max-width: 768px) {

    #about-img {
        width: 150px;
        height: 150px;
        padding-left: 10px !important;
        margin-top: 10px !important;
    }

    .inline-image {
        width: 100% !important;
        height: auto !important;
    }

    #home {
        #home {
            background-repeat: no-repeat !important;
            background-size: contain !important;
            background-attachment: scroll !important;
            background-origin: content-box;
            background-clip: border-box;
            padding-bottom: 0 !important;
            margin-bottom: 0 !important;
            position: relative;
            height: auto !important;
            min-height: unset !important;
        }
    }

    .elementor-element-032a5f0 {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.5rem !important;
        /* Optional spacing between elements */
    }

    #main-logo {
        order: 1 !important;
        text-align: center !important;
        width: 110% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #main-head {
        order: 2 !important;
        position: relative !important;
        text-align: center !important;
        margin: -3rem 0 1rem 0 !important;
        z-index: 3 !important;
        color: #3d3d3d !important;
        margin: 0 !important;
        line-height: 54px !important;
    }

    #main-text {
        position: relative !important;
        margin-bottom: -150px !important;
        /* or adjust to overlap castle */
        text-align: left;
        z-index: 2;
        padding: 0 1rem;
        max-width: 400px;
        color: #3d3d3d !important;
    }

    #main-image {
        margin-left: -25px !important;
    }

}