/* HEADER */
@media only screen and (max-width: 984px) {
    .navbarindex {
        position: unset;
        width:100%;
        background-color: var(--body-background) !important; /* change background color for mobile navbar*/
        backdrop-filter: blur(8px);
        transition: 0.2s ease;
        padding: 15px;
    }
    .navbarindex .navbar-collapse {
        background-color: var(--body-background) !important;
        width: fit-content;
        top: 100%;
        z-index: 9999;    
    }
    .navbar {
        position: fixed;
        width:100%;
        background-color: #66A3CC;
        backdrop-filter: blur(8px);
        transition: height 0.2s ease;
        padding: 15px 0px;
        padding-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: auto;
        flex-wrap: nowrap;
    }
    .navbar-expand-lg {
        gap: 0px;
    }

    .navtransblue .mobile-logo{
        width: 35%;
        margin-top: -15px;
        padding-bottom: 0;
        margin-left: -10px;
    }

    .navtransblue .navbar-toggler {
        margin-top: -38px;
    }

    .ispis-mobile {
        display: none;
    }

    .navtransblue .ispis-mobile {
        display: block;
        position: absolute;
        width: 75%;
        margin-left: 16%;
        margin-top: -10px;
    }

    .navbar-collapse.show .navbar-nav {
        justify-content: start;
        align-items: start;
        text-align: end;
    }

    .collapsing .navbar-nav {
        justify-content: start;
        align-items: end;
    }

    .navbar-brand {
        margin: 0;
    }
    .navbar-brand img{
        width: 35%;
    }
    .navbar .nav-link {
        color: white!important;
    }
    .navbar .fas {
        color: white!important;
    }
    .navbar-nav a{
        font-size: 22px;
        font-family: var(--dmsans-bold);
        font-weight: 700;
    }
    .navbar-nav {
        display: block;
        padding: 1em 1.5em;
        padding-left: 8em;
        width: fit-content;
    }
    .navbar-toggler {
        font-size: 1.75rem;
    }
    header .navbar-brand{
        padding-left: 1rem;
    }
    .navbar-brand img{
        display: none;
    }
    .navbar-brand img+img{
        display: block!important;
    }
    header .nav-item:last-child{
        padding-right: unset;
    }
    header {
        border-radius: unset;
        height: auto;
    }
    .underline{
        width: 20px;
    }
    .navbar-nav .active{
        display: unset;
    }
    .container-header {
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 40px;
        }
    .container-header img{
        object-fit: cover;
        width: auto;
        margin-top: 85px;
    }
    .mobile-logo {
        display: block;
        padding-bottom: 5px;
    }
    .navbar-brand img.mobile-ispis {
        width: 90%;
    }
    .navbar-brand .desktop-logo {
        display: none !important;
    }

    .desktop-logo-natpis {
        display: none;
    }
    .mobile-nav {
        display: block;
    }
    .header-element {
        width: 80%;
    }
    .header-img-desktop {
        display: none;
    }
    .header-img-mobile {
        display: block;
    }
    .desktop-nav {
        display: none;
    }
}
/* TABLET HEADER */
@media (min-width: 984px) and (max-width: 1280px) {
    .navbarindex {
        position: fixed;
        width:100%;
        background-color: #b3edffc7;
        backdrop-filter: blur(8px);
    }
    .navbar {
        position: fixed;
        width:100%;
        background-color: #fff;
        backdrop-filter: blur(8px);
    }
    .navbar-brand {
        padding-left: 1em;
    }
    .navbar .fas {
        color: #333539!important;
    }
    .navbar-nav a{
        font-size: 18px;
        font-family: var(--poppins-regular);
        font-weight: 400;
        color: #346EC1;
        letter-spacing: 0.09px;
    }
    header .navbar-brand{
        padding-left: 1rem;
    }
    .navbar-brand img{
        display: none;
    }
    .navbar-brand img+img{
        display: block!important;
    }
    .nav-item:last-child{
        padding-right: 1rem;
    }
    header .navbar-brand{
        padding-left: 2rem;
    }
    .navbar-brand img{
        display: none;
    }
    .navbar-brand img+img{
        display: block!important;
    }
    header .nav-item:last-child{
        padding-right: unset;
    }
    header {
        border-radius: unset;
        height: auto;
    }
}

/* LAPTOP HEADER */
@media (min-width: 1280px) and (max-width: 1600px){
    .navbar-brand{
        padding-left: 3rem;
    }
} 

/* GENERAL */
@media only screen and (max-width: 984px) {
    .section-logo {
        width: 15%;
    }

    .section-title {
        margin-left: 0;
    }

    .section-element {
        width: 45%;
    }

    .section-element-bottom {
        width: 35%;
    }
}

/* COUNTER */
@media only screen and (max-width: 984px) {
    .counter .container .counter-box{
        background-repeat: round;
        position: relative;
    }
    .counter{
        margin-top: -50px;
        padding-left: 20px;
        padding-right: 20px
    }
    .counter .container .counter-box{
        border-radius: 18px;
        padding: 25px;
        background-color: var(--orange);
    }
    .counter-title {
        color: var(--blue-darker);
        font-size: 32px;
        text-align: left;
        font-weight: 900;
    }
    .counter-box p {
        font-size: 17px;
        text-align: left;
        color: var(--blue-darker);
        width: 100%;
    }

    /* SECTION TIM */
    .section-tim {
        padding: 50px 30px 20px 30px;
    }

    .section-tim .section-title {
        margin-bottom: 30px;
    }

    .section-tim .grid-item {
        flex: 0 0 50%;
    }

    .section-tim .slider-track {
        justify-content: initial;
    }

    .slider-track .grid-item:last-child {
        margin-right: 40px;
    }

    /* SECTION DOGADJAJI */
    .section-dogadjaji {
        padding: 50px 30px 50px 30px;
    }

    .card-wrapper {
        flex-direction: column;
        gap: 22px;
    }

    .card {
        width: 100%;
    }

    .show-all-buttons {
        display: block;
    }

    /* SECTION NOVOSTI */
    .section-novosti {
        padding: 70px 30px 50px 30px;
    }

    .section-novosti .slider-arrow {
        top: 45%;
        transform: translateY(-45%);
    }

    /* SECTION UČESNICI O NAMA */
    .section-ucesnici {
        padding: 70px 30px 50px 30px;
    }

    .section-ucesnici .section-heading {
        max-width: 75%;
    }

    /* SECTION PRIJATELJI */
    .section-prijatelji {
        padding: 70px 30px 50px 30px;
    }

    /* SECTION PARTNERI */
    .section-partneri {
        padding: 70px 30px 50px 30px;
    }

    /* SECTION KONTAKT */
    .section-kontakt {
        padding: 50px 30px 20px 30px;
        border-radius: 0 0 18px 18px;
    }

    .kontakt-container {
        flex-direction: column;
        gap: 1em;
    }

    .kontakt-item {
        gap: 1.5em;
    }

    .kontakt-item img {
        width: auto;
    }

    .kontakt-item p, .kontakt-item a {
        font-size: 20px;
    }

    /* SECTION PREDAVACI */
    .section-predavaci {
        padding: 50px 30px 0px 30px;
    }

    .predavaci-container {
        flex-direction: column;
        gap: 40px;
        width: 80vw;
        justify-content: center;
        align-items: center;
        margin: 40px auto;
    }

    .predavaci-container img {
        width: 80%;
    }

    /* STRANICA PREDAVACI */
    .svi-predavaci {
        padding: 150px 30px 50px 30px;
    }

    .svi-predavaci .predavaci-wrapper {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        width: 80vw;
    }

    .predavaci-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .predavaci-info .image-wrapper,
    .predavaci-info .image-wrapper img {
        width: 100%;
    }

    /* KONTAKT FORMA */
    .kontakt-forma-container {
        padding: 50px 30px 50px 30px;
        width: 100%;
    }

    .kontakt-forma-container button {
        margin: 40px 0 0 0;
    }

    /* SECTION MEDIA */
    .section-media {
        padding: 70px 30px 50px 30px;
    }

    .section-media .grid-item {
        flex: 0 0 55%;
    }

    /* SLIDER */
    .slider-wrapper {
        width: 100vw;
        max-width: initial;
    }
    .slider-container {
        padding-left: 0;
    }
    .slider-track {
        gap: 10px;
        justify-content: initial;
        align-items: initial;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .slider-track::-webkit-scrollbar {
        display: none;
    }

    .grid-item {
        flex: 0 0 58%;
        scroll-snap-align: start;
    }

    .slider-arrow {
        display: none;
    }

    /* ELEKTRONSKA PRIJAVA */
    .section-elektronska-prijava {
        padding: 230px 30px 50px 30px;
    }

    #broj_osoba {
        width: 35%;
    }

    .multiple-inputs-container {
        margin-bottom: 20px;
    }

    .people-info-container {
        flex-wrap: wrap;
        gap: 5px;
        column-gap: 10px;
    }

    .people-info-container .input-container {
        flex: 1 1 45%;
    }

    .company-info-container {
        flex-direction: column;
        gap: 5px;
    }

    .no-active-seminars {
        display: block;
        width: 40vw;
        margin-top: 200px;
        margin-left: 50px;
    }

    .no-active-seminars button {
        width: 125%;
        margin-top: 2rem;
    }

    .seminar-uslovi {
        width: 100%;
    }

    /* POSLATA PRIJAVA */
    .section-poslata-prijava {
        padding: 250px 50px 50px 50px;
    }

    .redirect-buttons {
        flex-direction: column;
    }

    .detalji-prijave .row {
        width: 100%;
    }

    /* AGENDA SLIDER */
    .section-agenda-slider {
        padding: 200px 35px 50px 35px;
        width: 100%;
    }

    .agenda-slider .grid-item {
        margin-right: 40px;
    }

    /* DETALJI SEMINARA */
    .section-message {
        padding: 250px 20px 50px 20px;
        width: 100%;
    }

    .seminar-info img {
        width: 12%;
    }

    .button-group {
        flex-direction: column;
        gap: 20px;
    }

    .info-box {
        justify-content: center;
    }

    .info-qr {
        display: none;
    }

    /* POSTAVI PITANJE */
    .section-postavi-pitanje {
        padding: 240px 50px 50px 50px;
    }

    .section-postavi-pitanje button {
        float: none;
        margin: 0;
    }

    /* IME MASKOTE */
    .section-maskota-ime {
        padding: 250px 50px 50px 50px;
    }

    /* NOVOSTI */
    .section-novost {
        padding: 150px 0 50px 0;
    }

    .novost-container img {
        width: 100%;
    }

    /* SECTION VIDEO */
    .section-video {
        padding: 50px 0;
    }

    .section-video video {
        width: 80%;
    }

    .section-video .section-title {
        padding-left: 30px;
    }

    /* FOTO GALERIJA */
    .section-foto-galerija {
        padding: 50px 20px;
    }

    .section-foto-galerija .grid-item img {
        width: 300px;
        height: auto;
    }

    /* SLIKE */
    .section-slike {
        padding: 150px 35px 50px 35px;
    }

    .section-slike .section-video {
        padding-top: 30px;
    }

    .section-slike .section-video video {
        width: 100%;
    }

    .section-naslovna-slika {
        padding: 50px 0;
    }

    .section-naslovna-slika img {
        width: 100%;
    }

    .section-slike .slider-track .grid-item img {
        height: 200px;
        width: 300px;
        object-fit: contain;
    }

    .slike-container {
        justify-content: center;
    }

    .modal-content-container {
        position: relative;
        top: 35%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .modal-slider-wrapper .tns-controls {
        display: none;
    }

    .modal-arrow {
        display: none;
    }

    .modal-slider {
        touch-action: pan-y;
    }

    .modal-slider img {
        max-width: 90%;
    }

    /* SECTION KALENDAR */
    .section-kalendar, .section-arhiva {
        padding: 50px 30px 50px 30px;
    }

    .section-kalendar .card img {
        height: 28vh;
    }

    /* SECTION POSTAVI PITANJE */
    .section-postavi-pitanje#postavi-pitanje {
        padding: 50px 30px;
    }

    .form-button {
        justify-content: center;
        flex-direction: column;
    }

    /* SEMINAR */
    .section-seminar {
        padding: 150px 35px 50px 35px;
    }

    .seminar-sections-wrapper {
        padding: 20px;
    }

    /* TESTEMONIALS */
    .section-testemonials {
        padding: 50px 30px 50px 30px;
    }

    .section-testemonials.all-testemonials {
        padding-top: 150px;
    }

    .seminar-section-content .testemonials-container {
        padding-bottom: 5rem;
    }

}
@media (min-width: 320px) and (max-width: 400px){
    .agenda-slider .grid-item {
        margin-right: 0;
    }
}

/* FOOTER */
@media only screen and (max-width: 984px){
    .page-footer{
        border-radius: 18px 18px 0px 0px;
        padding: 0 30px 50px 30px;
    }

    .footer-info {
        flex-direction: column;
        justify-content: initial;
        row-gap: 25px;
    }

    .footer-container img {
        margin-left: -25px;
    }

    .footer-copyright {
        margin-left: -30px;
        justify-content: initial;
    }
}

/* KONTAKT.PHP */
@media only screen and (max-width: 984px){
    .contact-page-header {
        display: block;
        height: auto;
    }

    #contact-logo-mobile {
        display: block;
        margin-top: -120px;
        margin-left: -30px;
        width: 55%;
    }

    #contact-page-element-mobile {
        display: block;
    }

    #contact-page-element-desktop {
        display: none;
    }

    #contact-logo-desktop {
        display: none;
    }

    #contact-ispis-desktop {
        display: none;
    }

    .contact-page-info {
        margin-left: 20px;
    }

    .contact-page-contact {
        margin-left: 20px;
        margin-top: 5%;
    }

    .contact-page-item {
        display: flex;
        align-items: center;
        gap: 0.5em;
    }

    .contact-page-item img {
        width: 30px;
    }

    .contact-page-item p, .contact-page-item a{
        font-size: 14px;
    }
}
.section-postavi-pitanje .form-button {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .section-postavi-pitanje .form-button {
        display: block;
    }

    .section-postavi-pitanje .form-button button {
        margin-bottom: 0;
    }

    .g-recaptcha {
        margin: 0 auto;
    }
}