/*
    Copyright PRO TV S.A. All rights reserved.
    Contact: @protv.ro
*/
@charset 'utf-8';

/* INCLUDES */
@import 'reset.css';
@import 'bootstrap.min.css';
@import 'animate.css';
@import 'onetrust.css';
@import 'footer.css';

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* GENERAL */
:root {
    --headerOpacity: 1;
    --headerScale: 1;
    --main-color: 193, 3, 4;
    --second-color: 152, 173, 133;
    --third-color: 0, 12, 68;
    --subtitle-text-color: 255, 255, 255;
    --error-color: 255, 55, 55;
    --white: #FFF;
    --black: #000;
    --grey: 242, 242, 242;
    --border: #D5D4DF;
    /* FONT */
    --ff: 'Roboto', sans-serif;
}

::placeholder {
    color: rgba(var(--white), 1) !important;
}

:-ms-input-placeholder {
    color: rgba(var(--white), 1) !important;
}

::-ms-input-placeholder {
    color: rgba(var(--white), 1) !important;
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a {
    color: rgba(var(--third-color), 1);
    transition: all 0.2s linear;
    text-decoration: none;
}

a {
    color: rgba(var(--third-color), .75);
    transition: all 0.2s linear;
    text-decoration: none;
}

html,
body {
    scrollbar-width: thin;
    scrollbar-color: var(--color-10rule) var(--color-60rule) !important;
    overflow-x: hidden !important;
    overflow-y: auto;
    margin: 0;
    background-color: var(--background-color);
    font-family: var(--ff);
    font-size: var(--main-font-size);
    font-weight: var(--ff-weight-500);
    color: var(--color-60rule);
}

body {
    margin: 0;
}
/* NOU CSS */

section {
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}
.promo {
    padding-top: 0;    
    min-width: 100%;
    height: auto;
    background: radial-gradient(50% 50% at 50% 50%, #F9B49B 0%, #A80110 19.98%, #A0000F 33.33%, #130E0E 65.1%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
}

.first-screen {   
    padding: 25px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
}
.hero-title-text {
    position: relative;
    display: block;
    margin: 0 auto;
    margin: 20px auto;
    width: 100%;
    max-width: 850px;
    text-align: center;
    color: white;
    font-size: 1.6em;
}

.hero-title {
    font-size: 30px;
    line-height: 1.3;
    margin: 20px auto;
    font-family: var(--ff);
    font-weight: bold;
    padding: 15px;
    color: var(--white);
    text-align: center;
}

.reserve-spot {
    font-size: 1.6rem;
    color: white;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 40px;
}

/* Headline texts */
.headline-texts {
    padding: 40px 0;
}

.headline-texts::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/bkg-calendar.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.5);
    z-index: -1;
    border-top: 10px solid rgba(193, 3, 4, .9);
    /* border-bottom: 10px solid rgba(193, 3, 4, .9); */
    
}
/* FORMULAR SECTION */

section.formular {
    padding: 40px 0;
}

section.formular::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/bkg-calendar.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.5);
    z-index: -1;
    /* border-top: 10px solid rgba(193, 3, 4, .9); */
    /* border-bottom: 10px solid rgba(193, 3, 4, .9); */
}

.form-disclaimer {
    font-size: 1.4em;
    color: var(--white);
    text-align: center;
}

.form-disclaimer a {
    color: rgb(var(--main-color));
}

.footer-form-disclaimer {
    padding: 40px 0;
}

.footer-form-disclaimer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/bkg-calendar.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.5);
    z-index: -1;
    /* border-top: 10px solid rgba(193, 3, 4, .9); */
    border-bottom: 10px solid rgba(193, 3, 4, .9);
}

/* FOOTER */
section#footer {
    padding: 40px 0;
    border-top: 10px solid rgba(193, 3, 4, .1);
    background: radial-gradient(50% 50% at 50% 50%, #F9B49B 0%, #A80110 19.98%, #A0000F 33.33%, #130E0E 65.1%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
}

section#footer .logo-footer {
    text-align: center;
    margin: 0 auto;
}

#secondary-footer .copyright {
    font-size: 12px;
    color: var(--white);
    text-align: center;
    margin: 20px auto;
}

#tapad_url {
    display: none;
}


.btn {
    color: rgba(var(--white), 1);
    background: rgb(220 38 38/1);
}

.btn:hover {
    color: rgba(var(--white), 1);
    text-decoration: none;
    background: #840101;
}

.descriere-concurs {
    color: rgba(var(--white), 1);
    padding-bottom: 10px;
}

/* ---------- FORM  ---------- */
.form-section {
    background: rgba(var(--grey), 1);
    padding: 60px 0;
}

.info {
    color: rgba(var(--white), .5);
    font-weight: 300;
    font-size: .9rem;
    padding: 10px 0;
}

.custom-control-description {
    color: rgba(var(--main-color), 1);
}

.custom-control-description a {
    color: rgba(var(--main-color), 1);
}

.row-checkbox {
    padding-top: 20px;
}

#results {
    color: rgba(var(--main-color), 1);
}

#error {
    color: rgba(var(--error-color), 1);
    padding: 15px 0;
    font-size: 20px;
    max-width: 60%;
    margin: 10px auto;
}

section.formular #calendar-container,
section.formular #hour-selection {
    font-family: 'Roboto', sans-serif;
}

#form-container {
    margin-bottom: 30px;
}

.selection {
    background: rgb(var(--main-color));
    color:white;
    padding:10px;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
}
.interval-orar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    grid-gap: 5px;
    margin-top: 10px;
}
.interval {
    text-align: center;
    padding: 10px;
    color: black;
    border: 0.5px solid #000;
    border-style: inset;
    background-color: #d9d9d9;
    width: 100%;
}
.choice-interval {
    font-size: 1rem;
    padding: 10px 0;
    font-weight: bold;
    color: #000;
}
#form-fields {
    background-color: white;
    padding: 30px;
}
h2.form-title {
    text-align: center;
    color: rgb(var(--main-color));
    font-size: 1.4em;
    font-weight: bold;
    margin: 20px 0;
}
.form-control {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--border);
    border-radius: 0;
    font-family: 'Roboto', sans-serif;
    height: auto;
    position: relative;
    margin: 10px 0;
}

.form-control:focus {
    background: rgba(var(--main-color), 1);
    color: rgba(var(--white), 1);
}

.form-control a {
    font-weight: bold;
    color: black;
}
.form-control a:hover {
    text-decoration: underline;
}
.form-control.insotitor {
    margin-left: -1px;
}

[type=checkbox],
[type=radio] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

.custom-controls-stacked .custom-control+.custom-control {
    margin-left: 0;
}

.custom-controls-stacked .custom-control {
    margin-bottom: .25rem;
}

label {
    display: block;
    font-weight: 300;
    font-size: 16px;
    color: rgba(var(--white), 1);
    text-align: left;
}
input.form-control {
    padding: 10px;
}
.form-check-label {
    margin-left: 30px;
}

.form-check-input {
    margin-left: 0;
}
.custom-control-description {
    font-weight: 300;
    font-size: 20px;
    color: rgba(var(--subtitle-text-color), 1);
    line-height: 1.2;
    text-align: left;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 2rem;
    padding-left: 3rem;
    margin-right: 1rem;
    cursor: pointer;
}

.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-radio .custom-control-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(var(--white), 1);
}

.centering {
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    width: 19%;
    padding: 5px 0 0 0;

}

select option[disabled] { 
    color: rgb(167, 167, 167);
}


#calendar-container, #hours-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }
.selection-interval {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    background-color: #fff;
    padding: 30px;
}
  #calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 10px;
    margin-bottom: 10px;
    padding: 30px;
    background-color: var(--white);
  }
  .steps {
    font-size: 16px;
    color: var(--white);
  }
  .steps span {
    font-weight: bold;
  }
  .day {
    text-align: center;
    padding: 10px;
    outline: 1px solid var(--border);
    background-color: var(--white);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  button.day {
    aspect-ratio: unset;
  }
  button.day.active {    
    font-weight: bold;
    background-color: rgb(42, 0, 163);
    color: white;
  }
  
  .highlighted {
    font-weight: bold;
    /* background-color: rgb(var(--main-color)); */
    border: 1px solid #0D6EFD;
    font-weight: bold;
    color: black;
    border-radius: 50%;
  }
  .day.highlighted:hover {
    background-color: rgb(var(--main-color));
    font-weight: bold;
    cursor: pointer;
    color: white;
    border: none;
  }
  
  .prev-month-day,
  .next-month-day {
    color: #787878;
    background-color: #F2F3F7;
  }
  #month-buttons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    padding: 30px 30px 0 30px;
    background-color: var(--white);
  }
  #month-buttons button {
    /* width: 100%; */
    color: rgb(var(--main-color));
    font-size: 2em;
    font-weight: bold;
    background: none;
    outline: none;
    border: none;
  }

  #month-buttons .next-month,
  #month-buttons .prev-month {
    background-color: rgb(var(--main-color));
    padding: 15px 30px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
  }

  #month-buttons .next-month:hover,
  #month-buttons .prev-month:hover {
    background-color:rgba(233,24, 25, 1);
  }

  .btn-back {
    background-color: #4E8AFF;
    border-radius: 10px;
    padding: 10px 18px;
    margin: 10px 0 0 0;
    font-size: 1em;
    color: white;
    border: none;
    outline: 0;
  }
  .btn-trimite {    
    /* background-color: #FD4B4B; */
    background-color: rgb(var(--main-color));
    border-radius: 5px;
    padding: 10px 18px;
    font-size: 1.3rem;
    color: white;
    border: none;
    outline: 0;
    width: 100%;
    margin: 10px auto;
    text-transform: uppercase;
    font-weight: bold;
  }

  .btn-trimite:hover {
    background-color: rgba(233, 24, 25, 1);
  }

  #thankyou .thankyou {
    font-family: var(--ff);
    color: white;
    padding: 40px;
    font-size: 20px;
    background-color: rgba(255, 255, 255, .4);
    text-align: center;
  }
  #thankyou h4.thankyou span {
    font-weight: bold;
  }

  .inceput-inscrieri {
    font-family: var(--ff);
    color: white;
    padding: 40px;
    font-size: 20px;
    background-color: rgba(255, 255, 255, .4);
    text-align: center;
  }

  /* GALERIE */
.wrapper-galerie {
    display: grid; 
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
  }

.foto-galerie {
    width: 100%; 
}

  .day.sold-out {
    background-color: #e0e0e0;
    color: #888;
    cursor: not-allowed;
    position: relative;
    border-radius: 50%;
  }
  
  .day.sold-out:hover::after {
    content: "Locurile s-au epuizat";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    z-index: 10;
    opacity: 1;
  }

  #secondary-footer {
    background-color: #000;
    color: white;
  }

  #secondary-footer .border-bottom {
    border-bottom: 2px solid rgba(193, 3, 4, .4)!important;
  }

  @media only screen and (max-width: 345px) and (min-width: 319px) {
    .day {
        padding: 7px;
    }
  }

  @media (max-width: 500px) {
    .hero-title {
        font-size: 1.4em;
    } 
    .hero-title-text, .reserve-spot {
        font-size: 1.1em;
    }
    #calendar {
        padding: 10px;
        grid-gap: 0;
    }
    #month-buttons {
        padding: 30px;
    }
    #month-buttons button {
        font-size: 1.4em;
    }
    section.formular {
        padding: 20px 0;
    }
    section.formular h2.title-form {
        font-size: 18px;
    } 
    section.formular .btn-trimite {
        font-size: 1.5em;
    }
    .form-disclaimer {
        font-size: 1.1em;
    }

    .wrapper-galerie {
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: 1fr 1fr; 
    }

    section.formular::before {
        border-top: 2px solid rgba(193, 3, 4, .9);
        border-bottom: 2px solid rgba(193, 3, 4, .9);
    }
  }

  @media (max-width: 375px) {
    #month-buttons button {
        font-size: 1rem;
    }
  }