/*
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 */

/* styles.css */
@import url('https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');

#print-area {
    border: none;
}

body {
    background-color: #f3f3f3;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

.wrapper {
    width: 70%;
}

.element-wrapper, .selected-output {
    margin-bottom: 10px;
}

.selected-output {
    font-weight: 500 !important;
    font-size: 20px;
}

.label-for-vstopnice {
    position: absolute;
    font-weight: 500 !important;
    font-size: 20px;
    margin-top: 15px;
    padding-left: 20px;
    z-index: 9 !important;
}

.popup-field {
    text-align: right;
    border: 1px solid #918F8F !important;
    border-radius: 5px !important;
    padding: 12px 15px !important;
}

.popup-field:not(:last-of-type) {
    margin-bottom: 10px;
}

.izberi {
    padding-right: 30px;
    text-align: right;
    cursor: pointer !important;
}

button {
    font-weight: 500 !important;
    text-transform: uppercase;
    border: none;
    border-radius: 5px !important;
    outline: none !important;
    margin: 10px 0;
    padding: 8px 30px !important;
    cursor: pointer
}

button:hover {
    box-shadow: 0 1px 4px 0 rgba(0,0,0,.6);
}

.black-btn {
    color: #fff;
    background-color: #000;
}

.black-btn:hover, .black-btn:focus, .black-btn:active {
    color: #fff;
    background-color: #000;
}

.white-btn {
    color: #000;
    border: 1px solid #000 !important;
    border-radius: 5px !important;
}

.white-btn:hover, .white-btn:focus, .white-btn:active {
    color: #000;
    background-color: transparent;
}

.red-btn {
    color: #fff;
    background-color: #BD242C;
}

.red-btn:hover, .red-btn:focus, .red-btn:active {
    color: #fff;
    background-color: #BD242C;
}

.status-publish.hentry > div > div > div > div > div.wrapper > div.popup-window-wrapper {
    justify-content: flex-start;
}

#openPopup {
    margin-right: 10px;
}

.popup-window-wrapper, .btn-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.btn-wrapper-1 {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn-wrapper-1 * {
    margin-right: 10px;
}

.highlight {
    padding: 15px 20px;
    background-color: #BD242C;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
}

.red-title {
    color: #BD242C;
    text-transform: uppercase;
    font-size: 20px;
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    border: none;
    border-radius: 5px;
    padding: 15px;
}

.selected-output {
    background-color: #fff;
    border: none;
    border-radius: 5px;
    padding: 15px 24px;
}

.popup-container {
    display: none;
    position: fixed;
    width: 50%;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 1000;
}

/* Popup container style */
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    z-index: 1001;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Print styles */
@media screen {
    .small-text {
        display: none;
    }
}

@media print {
    .small-text {
        font-style: italic;
        display: block;
        font-size: 9pt !important;
        font-family: "Barlow Semi Condensed" !important;
    }

    .highlight, .selected-output {
        font-size: 12pt !important;
        font-family: "Barlow Semi Condensed" !important;
    }

    #print-area, #print-area * {
        font-size: 12pt !important;
        font-family: "Barlow Semi Condensed" !important;
    }

    #print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    /*#print-area * {
        writing-mode: vertical-lr;
        text-orientation: mixed;
    }

    body {
         transform: rotate(180deg);
         transform-origin: top;
         position: absolute;
         bottom: 0;
         right: 0;
         margin: 0;
       }*/


}



/* Reset default styles */
select {
    -webkit-appearance: none;  /* Safari and Chrome */
    -moz-appearance: none;     /* Firefox */
    appearance: none;          /* Standard */
    border: none;
    border-radius: 5px;
    padding: 15px;
    padding-right: 30px;  /* Add padding to the right for the arrow */
    background: #fff;
    text-align: right;  /* Align text to the right */
    cursor: pointer;
    direction: rtl;  /* Set text direction to right-to-left */
}

/* Add custom styles for dropdown arrow */
select::-ms-expand {
    display: none;  /* Remove default arrow in IE and Edge */
}

/* Style for custom dropdown arrow */
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
    direction: ltr;  /* Set container direction back to left-to-right */
    color: #000;  /* Set the text color to black */
}

.custom-select::after {
    content: '▼';
    font-size: 12px;
    color: #000;
    position: absolute;
    top: 50%;
    right: 10px;
    pointer-events: none;
    transform: translateY(-50%);
}

/* Ensure the label is displayed correctly */
.label-for-vstopnice {

    font-weight: 500 !important;
    font-size: 20px;
    margin-top: 15px;
    padding-left: 20px;
    z-index: 9 !important;
}

/* Additional custom styles */
.izberi {
    text-align: right;
    cursor: pointer !important;
}

/* Specific styles for selected options and placeholders */
select option {
    color: #000;  /* Ensure option text color is black */
}

select:focus {
    color: #000;  /* Ensure focused text color is black */
}

select option:checked {
    color: #000;  /* Ensure checked option text color is black */
}

select option::placeholder {
    color: #000;  /* Ensure placeholder text color is black */
}

/* Ensure the date picker input matches other inputs */
input[type="date"].flatpickr-input {
    -webkit-appearance: none;  /* Override default styling on iOS */
    -moz-appearance: none;     /* Override default styling on Firefox */
    appearance: none;          /* Override default styling */
    border: none;
    border-radius: 5px;
    padding: 15px;
    background: #fff;
    color: #000;
    width: 100%;  /* Make it full width like other fields */
    box-sizing: border-box;  /* Ensure padding is included in the width */
    text-align: right;  /* Align text to the right */
    cursor: pointer;
}

/* Add specific styles for the Flatpickr input */
.flatpickr-input {
    text-align: right;  /* Align text to the right */
    color: #000;  /* Ensure text color is black */
    background: #fff;  /* Ensure background color matches other inputs */
    cursor: pointer;
    height: 54px;  /* Set height to 24px */
    border-radius: 5px;  /* Ensure border radius is consistent */
    border: none;  /* Remove border */
}

/* Style the Flatpickr calendar to match your theme if needed */
.flatpickr-calendar {
    font-family: 'Barlow Semi Condensed', sans-serif;
}

/* Ensure that the Flatpickr input is styled correctly even in focus */
.flatpickr-input:focus {
    outline: none;  /* Remove default outline */
    border: none;
}

/* Additional styling to make sure the container aligns properly */
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
    direction: ltr;  /* Set container direction back to left-to-right */
}