/* Header */
.header {
    position: relative;
    height: 70vh;
}
.video {
    top: 0;
    left: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    background: url('../images/video_bg.jpg');
    z-index: 0;
}
.video>iframe {
    width: 100%;
    height: 100%;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    /* padding-top: 25px; */
    height: 80vh;
}
  
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    z-index: 0;
}


.register {
    background: #DFDFDF;
    background-repeat: no-repeat;
    min-height: calc(100vh - 335px) !important;
    padding: 4rem 0 7rem;
    background-size: 100%;
    margin:0;
    min-height: 50vh;
}

#register_form {
    position: relative;
}

.form_element_1 {
    position: absolute;
    top: -20px;
    left: -80px;
}

/* NEW MENU */

/* NAV */
nav {
    background: #DFDFDF;
    position: relative;
    z-index: 1000;
}
.nav {
    height: 95px;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: flex;
    margin: 0;
}

.menu a {
    color: #00239b;
    font-family: 'Oswald';
    font-weight: 400;
    font-size: 20px;
}

.menu ul {
    list-style-type: none;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.sub-menu {
    display: none;
    position: absolute;
    background: #002FA7;
    top: 95px;
    left: 0;
    padding: 10px 15px;
    z-index: 1000;
    font-size: 14px;
}
.sub-menu a {
    white-space: nowrap;
}
.sub-menu a:hover {
    color: #ef6713;
}

.menu>li {
    margin: 0 10px;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    height: 95px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
}

/* NAV - SOCIAL */
footer .social>*>img {
    max-height: 40px;
    margin: 10px 0px 10px 15px;
}


/* Footer */

footer {
    background: #00249c;
    padding: 40px;
    font-weight: 300;
}

footer b {
    font-weight: 600;
}

footer .copy {
    color: #333333;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    border-top: 1px solid #cdcdcd;
}

footer p,
footer a,
footer a:hover {
    color: white;
}

footer .row {
    position: relative;
}

footer .ball {
    position: absolute;
    width:145px;
    top: -60px;
}

footer .social {
    width: 95%;
    display: flex;
    justify-content: flex-end;
}

footer .socialText {
    margin: 0;
    font-size: 16px0;
    font-family: 'Montserrat', sans-serif;
}

footer ul {
    list-style-type: none;
    padding: 0;
    font-family: 'Oswald', sans-serif;
}

footer ul a {
    color: white;
    font-weight: 300;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

footer h4 {
    color: white;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 30px;
}

/* Footer - newsletter */
#newsletter h4 {
    color: #002FA7;
    font-size: 23px;
    font-weight: 700;
}
#newsletter input[type="text"] {
    border: 1px solid #e7e7e7;
    border-radius: 0;
    padding: 10px;
    background: none;
    color: white;
}

/* Placeholder */
#newsletter input[type="text"]::-webkit-input-placeholder {
    color: white;
}

/* Outline */
#newsletter input[type="text"]:focus {
    outline: none;
}

#newsletter input[type="submit"] {
    background: #ffffff;
    color: #ee6813;
    font-weight: 700;
    text-transform: uppercase;
    padding: 11px 25px;
    border: none;
    margin-left: 20px;
}

@media only screen and (max-width: 1200px) {
    .social {
        display: none;
    }
}


@media only screen and (max-width: 995px) {
    .menu-glowne-menu-container {
        position: absolute;
        background: #ef6713;
        top: 95px;
        width: 100%;
        left: 0;
        border-top: 1px solid white;
        border-bottom: 1px solid white;
        display: none;
    }

    .menu {
        display: flex;
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }

    .menu>li {
        display: block;
        padding: 20px;
        height: auto;
        text-align: left;
    }
    .sub-menu {
        display: block !important;
        position: relative !important;
        top: 0;
        background: no-repeat;
    }
    .sub-menu .menu-item {
        position: relative;
        height: 30px !important;
    }
    .burger>div {
        width: 40px;
        height: 7px;
        background-color: #002FA7;
        margin: 6px 0;
        border-radius: 2px;
    }
    .header-content h1 {
        font-size: 20px;
    }

    .header-content h2 {
        font-size: 35px;
    }

    .header-content h3 {
        font-size: 20px;
    }

    .header-content h4 {
        font-size: 20px;
    }

    .header-content .register-button a {
        font-size: 12px
    }

    .header-content .register-button {
        margin-top: 25px;
        margin-bottom: 30px;
    }
}


/* HEADER NOWY */

/* .header-iade {
    background: url(../images/2024/banner_register_select.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 2rem;
    color: #002FA7;
} */

.header-iade {
    background-image: url(../images/2024/banner_register_select.jpg);
    background-color: #bdbdbd;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 2rem;
    color: #002FA7;
    height: calc(100vh - 95px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-iade-content>div>div>div:first-child {
    display: flex;
    justify-content: end;
    flex-direction: column;
    padding-bottom: 30px;
    z-index: 100;
}

.header-iade-content .register-button {
    margin-top: 55px;
    margin-bottom: 30px;
}

.header-iade-content .register-button a {
    text-transform: uppercase;
    background-color: #002FA7;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.header-iade-content h1 {
    font-size: 26px;
    margin: 0;
    font-weight: 700;
    margin-bottom: 15px;
}
.header-iade-content h2 {
    font-size: 90px;
    margin: 0;
    font-family: 'Oxygen', sans-serif;
    /* text-transform: uppercase; */
    color: #ee6713;
    line-height: 70px;
    letter-spacing: 5px;
}
.header-iade-content h2 b {
    font-weight: 900;
}

.header-iade-content h3 {
    font-size: 47px;
    margin: 0;
}
.header-iade-content h4 {
    font-size: 35px;
    margin: 0;
}

.header-iade-content .line {
    width: 100px;
    height: 5px;
    background: #002FA7;
    margin: 20px 0;
}

.header-iade-content>div>div>div:first-child .icons {
    text-align: right;
}

.header-iade-content>div>div>div:last-child {
    display: flex;
    justify-content: center;
    align-items: end;
}

.nav .logo svg {
    fill: #002FA7;
}

@media only screen and (max-width: 995px) {
    .header-iade-content h1 {
        font-size: 25px;
    }
    .header-iade-content h2 {
        font-size: 50px;
    }
    .header-iade-content h3 {
        font-size: 30px;
    }
    .header-iade-content h4 {
        font-size: 30px;
    }
    .header-iade-content>div>div>div:last-child {
        display: none;
    }

    .header-iade-content>div>div>div:first-child {
        width: 100%;
    }

    .header-iade {
        background-size: 300%;
        background-position: center;
    }
}


/* Dropdown Button */
.dropbtn {
    background: none;
    color: #00239b;
    padding: 20px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-family: "Oswald";
    font-weight: 400;
}

/* Arrow */
.dropbtn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #00239b;
}
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #ddd;}
  
  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
  .show {display:block;}

  .socialAbsolute {
    position: fixed;
    top: 50vh;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .socialAbsolute a {
    margin: 7.5px 0;
  }

  

.container {
    position: relative;
}

.section_element_1 {
    position: absolute;
    top: 15%;
    left: -3%;
    z-index: 0;
}

.section_element_2 {
    position: absolute;
    left: 30%;
    bottom: 15%;
    z-index: 0;
}

.section_element_3 {
    position: absolute;
    bottom: 3%;
    right: -10%;
    z-index: 0;
}

.col {
    z-index: 1;
}

@media (min-width: 1800px) {
    .socialAbsolute {
        right: calc((100% - 1800px) / 2);
    }
}

/* Całkowicie znika przy mniej niż 768px */
@media only screen and (max-width: 768px) {
    .socialAbsolute {
        display: none;
    }
    .container {
        max-width: 90%;
    }

    .register-selection .buttons {
        flex-direction: column;
    }

    .register-selection .buttons>div {
        margin: 10px 0;
        width: 80%;
    }

    .register-selection .buttons>div>a {
        font-size: 20px;
    }

    .kolacja a {
        font-size: 20px;
        width: calc(80% - 50px);
        margin: 0 auto;
    }

    .section_element_1 {
        left: 0;
    }
    
    .section_element_3 {
        right: 0;
    }
}

.required {
    color:red;
}

#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loader .spinner {
  width: 50px; height: 50px;
  border: 6px solid #ccc;
  border-top-color: #002FA7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
