/*
Theme Name: Noon custom theme
Theme URI: https: //github.com/elementor/hello-theme-child/
Description: Noon hostel custom theme
Author: NarvaliQ
Author URI: https://narvaliq.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
*/

/* Header fix */
.site-header {
    padding-block-end: 40px;
    padding-block-start: 40px;
}
/* LOGO fix mobile */
@media (max-width: 575px) {

    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        padding-inline-end: 20px;
        padding-inline-start: 20px !important;
    }
}

/* Logo fix desktop */
@media (min-width: 1200px) {
    .site-header .header-inner {
        max-width: 1160px;
    }
}
/* natečajna dokuemntacija linki */
.underlined span {
    border-bottom: 2px solid #00ffc2;
    padding-right: 10px;
}
.underlined a {
    color: #000000;
}
.underlined a:hover {
    color: #00ffc2;
}
/* footer linki */
.footie span {
    border-top: 4px solid #00ffc2;
    padding-top: 10px;
    padding-right:10px;
}
.footie a {
    color: #000000;
    font-size: 14px;
}
.footie.mob a {
    font-size: 10px;
}
.footie a:hover {
    color: #00ffc2;
}

/*prijava uspesna */
.backgroundspan span {
    background-color: #00ffc2;
    padding: 5px 15px;
}

/* ribbon */
.ribbon-container {
    position: relative;
    overflow: hidden;
}

.e-con-inner {
    position: relative;
}

.ribbon-clip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.rotating-ribbon {
    position: absolute;
    left: -20%;
    bottom: -47%;
    /* Adjust this to move ribbon up/down */
    width: 140%;
    transform: rotate(-20deg) translateZ(0);
    transform-origin: left center;
    z-index: 5;
    pointer-events: none;
    backface-visibility: hidden;
}

.ribbon-track {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 44px;
    min-width: 200%;
    background-color: #2cffc8;
    white-space: nowrap;
    animation: ribbon-scroll 16s linear infinite;
    transform: translateZ(0);
}

.ribbon-track span {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    height: 100%;
    padding: 0 40px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
}

@keyframes ribbon-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}
@media (max-width: 1159px) {
    .rotating-ribbon {
        left: -10%;
        bottom: -10%;
        width: 120%;
        transform: rotate(-14deg) translateZ(0);
    }

    .ribbon-track {
        height: 38px;
    }

    .ribbon-track span {
        font-size: 12px;
        padding: 0 28px;
    }
}
@media (max-width: 768px) {
    .rotating-ribbon {
        left: -10%;
        bottom: 0%;
        width: 120%;
        transform: rotate(-14deg) translateZ(0);
    }

    .ribbon-track {
        height: 38px;
    }

    .ribbon-track span {
        font-size: 12px;
        padding: 0 28px;
    }
}

.upload-field {
  position: relative;
}

.upload-field .wpcf7-not-valid-tip {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 13px;
  color: #e00000;
  white-space: nowrap;
  pointer-events: none;
}

.upload-field input.wpcf7-not-valid {
  padding-right: 140px; /* space for error text */
  border-color: #e00000;
}
/* CF7 forms */
.upload-field, .nq-field {
    position: relative;
}

.upload-field .wpcf7-not-valid-tip, .nq-field .wpcf7-not-valid-tip {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    font-size: 13px;
    color: #e00000;
    white-space: nowrap;
    pointer-events: none;
}

.upload-field input.wpcf7-not-valid, .nq-field input.wpcf7-not-valid {
    padding-right: 140px;
    /* space for error text */
    border-color: #e00000;
}

.nq-form .wpcf7-spinner {
    display: none;
}

.nq-form {
    max-width: 100%;
    margin-top: 30px;
}

.nq-field input {
    width: 100%;
    background: #f3f0eb;
    border: none;
    padding: 16px 30px;
    font-size: 18px;
    color: #000;
    border-radius: 0px;
}

.nq-field input::placeholder {
    color: #000;
}

.nq-field+.nq-field {
    margin-top: 12px;
}

.nq-consent {
    margin: 16px 0 24px;
    font-size: 13px;
    line-height: 1.4;
}

.nq-consent .wpcf7-list-item {
    margin: 0;
}

.pum-container.popmake .nq-consent span.wpcf7-list-item-label {
    line-height: 15px;
}

.pum-container.popmake .nq-consent p {
    text-align: justify;
    font-size: 11px;
    line-height: 15px;
}

.nq-submit input[type="submit"] {
    background: #20f2b2;
    color: #000;
    border: none;
    padding: 18px 62px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    font-size: 18px;
}

.nq-submit input[type="submit"]:hover {
    opacity: 0.7;
}

.nq-submit {
    text-align: center;
}

.nq-consent {
    margin: 16px 0 35px;
    font-size: 11px;
    line-height: 15px;
}

.nq-consent-wrap {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.nq-consent-wrap input[type="checkbox"] {
    appearance: none;
    width: 25px;
    height: 25px;
    border: 2px solid #20f2b2;
    margin-top: 1px;
    transform: translateY(1px);
    flex-shrink: 0;
}

.nq-consent-wrap input[type="checkbox"]:checked {
    background: #20f2b2;
}
.nq-consent-wrap input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.nq-consent-text {
    display: block;
    line-height: 15px;
    padding-left: 10px;
}

.nq-consent-text a {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
}

/* NEW Upload Form - Completely separate from existing nq-form */
.upload-form .wpcf7-spinner {
    display: none;
}

.upload-form {
    max-width: 100%;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
}

.upload-form-left {
    flex: 1;
    min-width: 300px;
}

.upload-form-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.upload-field input,
.upload-field input[type="tel"] {
    width: 100%;
    background: #f3f0eb;
    border: none;
    padding: 16px 30px;
    font-size: 18px;
    color: #000;
    border-radius: 0px;
}

.upload-field input::placeholder {
    color: #000;
}

.upload-field + .upload-field {
    margin-top: 12px;
}

/* Upload area styling */
.upload-area {
    background: #f3f0eb;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
}

.upload-icon {
    margin-bottom: 20px;
}

.upload-icon img {
    display: block;
    max-width: 120px;
    height: auto;
}

.upload-text {
    margin-bottom: 15px;
}

.upload-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #000;
}

.upload-title strong {
    font-weight: 700;
}

.upload-subtitle {
    font-size: 13px;
    line-height: 1.5;
    color: #000;
    margin: 0;
}

.upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-area .wpcf7-form-control-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.upload-area .wpcf7-not-valid-tip {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
}

/* File list styling for multiple uploads */
.upload-area .wpcf7-list-item {
    margin: 0;
    display: block;
}

.upload-area .wpcf7-file-selected {
    margin-top: 15px;
    font-size: 13px;
    color: #000;
    max-width: 90%;
}

.upload-area .wpcf7-list-item-label {
    display: block;
    padding: 8px 12px;
    background: rgba(32, 242, 178, 0.1);
    border: 1px solid #20f2b2;
    margin-bottom: 8px;
    border-radius: 4px;
    word-break: break-all;
}

/* Consent checkbox for upload form */
.upload-consent {
    width: 100%;
    margin: 0;
    font-size: 11px;
    line-height: 15px;
}

.upload-consent .wpcf7-list-item {
    margin: 0;
}

.upload-consent-wrap {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    max-width: 450px;
}

.upload-consent-wrap input[type="checkbox"] {
    appearance: none;
    width: 25px;
    height: 25px;
    border: 2px solid #20f2b2;
    margin-top: 1px;
    transform: translateY(1px);
    flex-shrink: 0;
}

.upload-consent-wrap input[type="checkbox"]:checked {
    background: #20f2b2;
}
.upload-consent-wrap input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.upload-consent-text {
    display: block;
    line-height: 15px;
    padding-left: 10px;
}

.upload-consent-text a {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
}

/* Submit button for upload form */
.upload-submit {
    width: 100%;
    text-align: left;
    margin-top: 24px;
}

.upload-submit input[type="submit"] {
    background: #20f2b2;
    color: #000;
    border: none;
    padding: 18px 62px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    font-size: 18px;
}

.upload-submit input[type="submit"]:hover {
    opacity: 0.7;
}

/* Responsive: Stack layout on tablet and mobile */
@media (max-width: 768px) {
    .upload-form {
        flex-direction: column;
    }
    
    .upload-form-left,
    .upload-form-right {
        width: 100%;
    }
    
    .upload-area {
        min-height: 250px;
        padding: 20px;
    }
    
    .upload-icon img {
        max-width: 100px;
    }
    
    .upload-title {
        font-size: 16px;
    }
    
    .upload-subtitle {
        font-size: 12px;
    }
    
    .upload-field input,
    .upload-field input[type="tel"] {
        font-size: 16px;
        padding: 14px 20px;
    }
    
    .upload-submit input[type="submit"] {
        width: 100%;
        padding: 16px 40px;
    }
}

@media (max-width: 480px) {
    .upload-area {
        min-height: 220px;
        padding: 15px;
    }
    
    .upload-icon img {
        max-width: 80px;
    }
    
    .upload-consent {
        font-size: 10px;
        line-height: 14px;
    }
    
    .upload-consent-wrap input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
}

/* Custom styling for Drag & Drop Upload CF7 plugin to match design */

/* Upload area container */
.codedropz-upload-wrapper {
    width: 100%;
}

.codedropz-upload-handler {
    background: #f3f0eb !important;
    border: none !important;
    padding: 20px 25px 0 !important;
    text-align: center !important;
    min-height: 280px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0px !important;
    cursor: pointer !important;
}

.codedropz-upload-container {
    width: 100% !important;
    cursor: pointer !important;
    padding: 15px 20px 0 !important;
}

.codedropz-upload-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    cursor: pointer !important;
}

/* Custom cloud icon */
.codedropz-upload-inner::before {
    content: '' !important;
    display: block !important;
    width: 120px !important;
    height: 90px !important;
    background-image: url('/wp-content/uploads/2026/02/noon-upload-icon-1024.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin-bottom: 10px !important;
}

/* Main text - "Povleci in spusti ali prebrskaj datoteke" */
.codedropz-upload-inner>span:first-of-type {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #000 !important;
    margin: 0 !important;
    order: 1 !important;
    padding-bottom: 20px;
}

/* HIDE the "or" separator */
.codedropz-upload-inner>span:nth-of-type(2) {
    display: none !important;
}

/* Browse button wrapper */
.codedropz-btn-wrap {
    order: 2 !important;
}

/* Secondary text (the long description) */
.cd-upload-btn {
    background: transparent !important;
    border: none !important;
    color: #000 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 0 !important;
    text-decoration: none !important;
    line-height: 19px !important;
    cursor: pointer !important;
    display: block;
}

.cd-upload-btn:hover {
    text-decoration: none !important;
}

/* Make the entire upload handler clickable - keep pointer events on button */
.codedropz-upload-handler,
.codedropz-upload-container,
.codedropz-upload-inner {
    pointer-events: auto !important;
}

/* Hide default h3/h4/h5 if they exist */
.codedropz-upload-inner h3,
.codedropz-upload-inner h4,
.codedropz-upload-inner h5 {
    display: none !important;
}

/* Counter - hide it */
.dnd-upload-counter {
    display: none !important;
}

/* File list items */
.dnd-upload-status {
    background: #ffffff !important;
    border: 1px solid #20f2b2 !important;
    border-radius: 0px !important;
    padding: 10px 15px !important;
    margin-top: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.dnd-upload-status .dnd-upload-details .remove-file {
    top: 0 !important;
}

.dnd-upload-image {
    display: none !important;
}

.dnd-upload-details {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    order: 1 !important;
}

.dnd-upload-details .name {
    flex: 1 !important;
    font-size: 13px !important;
    color: #000 !important;
    width: 50%;
}

.dnd-upload-details .name span {
    font-weight: 500 !important;
}

.dnd-upload-details .name em {
    font-style: normal !important;
    color: #666 !important;
    margin-left: 5px !important;
}

/* CUSTOM X BUTTON */
/* DEFAULT: use SVG bin icon */
.remove-file {
    background: transparent !important;
    border: none !important;
    width: 24px !important;
    height: 24px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    position: relative !important;
    order: 2 !important;
    margin-left: auto !important;
}

/* SVG icon */
.remove-file::before {
    content: '' !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("/wp-content/uploads/2026/02/noon-upload-bin.svg");
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    pointer-events: none !important;
}

/* disable X strokes by default */
.remove-file::after {
    content: none !important;
}

/* hover */
.remove-file:hover {
    opacity: 0.8 !important;
}

/* ERROR STATE: fallback to red X */
.dnd-upload-details:has(.has-error) .remove-file {
    background: #ff4444 !important;
    border-radius: 50% !important;
}

.dnd-upload-details:has(.has-error) .remove-file:hover {
    background: #cc0000 !important;
}

/* hide SVG icon in error */
.dnd-upload-details:has(.has-error) .remove-file::before {
    background-image: none !important;
}

/* draw the red X */
.dnd-upload-details:has(.has-error) .remove-file::before,
.dnd-upload-details:has(.has-error) .remove-file::after {
    content: '' !important;
    position: absolute !important;
    width: 12px !important;
    height: 2px !important;
    background: #fff !important;
    top: 50% !important;
    left: 50% !important;
    pointer-events: none !important;
}

.dnd-upload-details:has(.has-error) .remove-file::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

.dnd-upload-details:has(.has-error) .remove-file::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* Keep default plugin icon clickable */
.dnd-icon-remove {
    opacity: 0 !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: auto !important;
}





/* Progress bar */
.dnd-progress-bar {
    flex: 1 !important;
    height: 14px !important;
    background: #e0e0e0 !important;
    border-radius: 2px !important;
    overflow: hidden !important;
}

.dnd-progress-bar span {
    display: block !important;
    height: 100% !important;
    background: #20f2b2 !important;
    transition: width 0.3s ease !important;
    font-size: 0 !important;
    /* Hide percentage text */
}

/* Error messages */
.has-error,
.has-error-msg {
    color: #ff4444 !important;
    font-size: 12px !important;
    margin-top: 5px !important;
}

/* Dragover state */
.codedropz-dragover {
    background: #e8f9f4 !important;
    border: 2px dashed #20f2b2 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .codedropz-upload-handler {
        min-height: 250px !important;
        padding: 20px 20px 0 !important;
    }

    .codedropz-upload-inner::before {
        width: 100px !important;
        height: 75px !important;
    }

    .codedropz-upload-inner>span:first-of-type {
        font-size: 16px !important;
    }

    .cd-upload-btn {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .codedropz-upload-handler {
        min-height: 220px !important;
        padding: 20px 15px !important;
    }

    .codedropz-upload-inner::before {
        width: 80px !important;
        height: 60px !important;
    }

    .remove-file {
        width: 20px !important;
        height: 20px !important;
    }

    .remove-file::before,
    .remove-file::after {
        width: 10px !important;
    }
}

/* popups */
.pum-container.popmake h2 {
    text-align: center;
    font-family: 'Poppins';
    font-size: 32px;
    font-weight: 700;
    line-height: 30px;
}
.pum-container.popmake p {
    text-align: center;
    font-family: 'Poppins';
    font-size: 18px;
    line-height: 31px;
}
.pum-theme-default .pum-container {
    padding: 60px 70px !important;
}
button.pum-close.popmake-close {
    position: relative;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
}
button.pum-close.popmake-close::before,
button.pum-close.popmake-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #000;
    transform-origin: center;
}
button.pum-close.popmake-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
button.pum-close.popmake-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ======================================
   POPUP BASE (ALL SCREENS)
   ====================================== */
.pum-container.popmake {
    width: 600px !important;
    max-width: 600px !important;
    box-sizing: border-box;
}

/* ======================================
   MOBILE (≤ 767px)
   ====================================== */
@media (max-width: 767px) {
    .pum-container.popmake {
        width: calc(100vw - 24px) !important;
        max-width: 600px !important;
        padding: 40px 35px !important;
        font-size: 14px;
        left: 12px !important;
        right: 12px !important;
    }
      .pum-container.popmake h2 {
    font-size: 22px;
    line-height: 24px;
  }

  .pum-container.popmake p {
    font-size: 15px;
    line-height: 22px;
  }

  .nq-field input {
    font-size: 15px;
    padding: 12px 20px;
  }
  .pum-theme-244 .pum-content+.pum-close,
  .pum-theme-default .pum-content+.pum-close {
      right: 5px;
      top: 18px;
}
}

/* GDPR popup  */
div#popmake-259 {
    height: calc(100% - 264px) !important;
}
 div#popmake-259.pum-container.pum-scrollable .pum-content {
            max-height: 100%;
}
.pum-theme-default div#popmake-259.pum-container {
    padding: 60px 0 60px 70px !important;
}
div#popmake-259.pum-container .pum-content.popmake-content {
    padding-right: 60px;
}
a.elementor-button.pum-close {
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    border-radius: 0;
    padding: 20px 45px;
}
a.elementor-button.pum-close:hover {
    color: #000000;
    opacity:0.8;
}


/* ======================================
   VERY SMALL MOBILE (≤ 380px)
   ====================================== */
@media (max-width: 380px) {
    .pum-container.popmake {
        padding: 14px !important;
        font-size: 13px;
    }
          .pum-container.popmake h2 {
              font-size: 20px;
              line-height: 22px;
          }
    
          .pum-container.popmake p {
              font-size: 14px;
              line-height: 20px;
          }
    
          .nq-field input {
              font-size: 14px;
              padding: 10px 16px;
          }
}

/* Nagrajenci page */
        .office-list {
            position: relative;
            max-width: 400px;
            padding-left: 20px;
        }
    
        .office-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            position: relative;
        }
    
        .office-item .circle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: bold;
            margin-right: 30px;
            flex-shrink: 0;
            z-index: 1;
        }
    
        .office-item .circle.active {
            background-color: #20f2b2;
            color: white;
        }
    
        .office-item .circle.inactive {
            background-color: #F2EFEC;
            color: #333;
        }
    
        .office-item .office-name {
            font-size: 16px;
            font-weight: bold;
            color: #000;
        }
        .office-item.last {
        margin-bottom: 0;
     }

/* številke v časovnici */
  .single-circle {
        width: 65px;
        height: 65px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        font-weight: bold;
    }

    .single-circle.active {
        background-color: #20f2b2;
        color: #000000;
    }

    .single-circle.inactive {
        background-color: #F2EFEC;
        color: #000000;
    }

/* FIX GDPR LIST */
#pum-259 .wp-block-list {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

#pum-259 .wp-block-list>li {
    margin-bottom: 20px;
    line-height: 1.55;
    font-size: 13px;
}

#pum-259 .wp-block-list>li::marker {
    font-weight: 700;
}

#pum-259 .wp-block-list>li>strong {
    font-weight: 700;
}

#pum-259 .wp-block-list>li>strong+* {
    display: block;
    margin-top: 4px;
}

#pum-259 .wp-block-list br {
    display: none;
}

#pum-259 .wp-block-list ul {
    margin-top: 6px;
    margin-left: 0;
}
#pum-259 .pum-container.popmake h2 {
    font-size: 25px;
}
#popmake-259.pum-container.popmake .pum-content p {
    text-align: left;
    font-family: 'Poppins';
    font-size: 13px;
    line-height: 18px;
}

/* fix obseg rešitve list indent */
.seznam ul {
    padding-inline-start: 21px;
}