@media screen and (max-width: 1024px) {

    .flag-show {
        display:none;
    }
    .flag-show-mobile {
        display:block;
        padding-left: 20px;
    } 
    .navbar-section a, #menu-primary-menu li a {
        font-size: 11px;
    }
    
    #rodape-prize-box .button-candidates {
        font-size: 24px;
    }  
    
    
#valores .mission{
width: 100%;

    margin-left: 0%;
    
    margin-right: 0%;
    
    margin-bottom: 20px;

}


#valores .title-box-with-titles {
    font-size: 40px;
    margin-top: 14px;
    margin-bottom: -30px;
    font-family: "PolySans Median", sans-serif;
}
    
    #short_code-full .thumbnail-image {
        top: 89px;
        left: 46%;
    }   
    
    
    .carousel-control-prev, .carousel-control-next{
   // top: 70%;
}
    
    #short_code-full .thumbnail-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    left: 50%;
    position: relative;
    margin-top: 0%;
}
    
    
    .row, .row>[class*=col-md] {
    min-height: 0px !important;
}
    
    
    #valores .single_challenge_text {
    height: 80px;
}
    
    .button-candidates{
    	
    	margin-top: 10px;
    
    }



}

@media screen and (max-width: 450px) {
  body,
  html {
    width: 100%;
    
    overflow-x: clip;
  }
  
  #short_code-full{
  margin-top: 30px;
  }
  #challenges .center-card {
    margin-bottom: 40px;
}
  
  
  .button-candidates {
        margin-top: 30px;
        display: block;
        /* top: 43%; */
        /* left: 7%; */
        /* position: absolute; */
        padding: 10px 30px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: #000F64;
        background-color: #FFB40F;
        border: none;
        border-radius: 35px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 26px;
        font-family: "PolySans Neutral", sans-serif;
        margin-top: 8vh;
        padding-top: 20px;
        padding-bottom: 20px;
    
    
}

  #hero .button-candidates {
        margin-top: 30px;
        display: block;
        /* top: 43%; */
        /* left: 7%; */
        /* position: absolute; */
        padding: 10px 30px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: #000F64;
        background-color: #FFB40F;
        border: none;
        border-radius: 35px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 26px;
        font-family: "PolySans Neutral", sans-serif;
        margin-top: 2vh;
        padding-top: 20px;
        padding-bottom: 20px;
        
        
                margin-top: 30px;
        display: block;
        /* top: 43%; */
        /* left: 7%; */
        /* position: absolute; */
        padding: 0px 23px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: #000F64;
        background-color: #FFB40F;
        border: none;
        border-radius: 35px;
        cursor: pointer;
        transition: background-color 0.3s 
ease;
        font-size: 21px;
        font-family: "PolySans Neutral", sans-serif;
        margin-top: 2vh;
        padding-top: 13px;
        padding-bottom: 13px;
    
    
}
  
    #finalistas .carousel-control-next{
        display:none;
    }

    #finalistas .carousel-control-prev{
        display:none;
    }

    #short_code-full .thumbnail-image {
        top: 4px;
        left: 34%;
    }
  .hero-text {
    //top: 45%;
    line-height: normal;
    color: #FFB40F;
    position: absolute;
    font-size: 36px;
    text-align: center;
    line-height: normal;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  
  
  
    .hero-text {
        text-align: left;
        
        font-size: 28px;
    }
  
  .carousel-control-next-icon, .carousel-control-prev-icon
  {
  display: block;
  background-color: #fff !important;
  }
  #finalistas .item-title-main {
    font-size: 40px;
    padding-top:40px;
}

#slider_eligibility .carousel-control-prev {
    height: 50px;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 1 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


#slider_eligibility .carousel-control-next {
    height: 50px;
}

.language-mobile{
    position: absolute;
    right: -90px;
    color: #000 !important;
    margin-top: -48px;
}

#short_code-newsletter .title-newsletter{
    font-size: 40px;
}

#jurispage .title-box-with-titles {
    font-size: 40px;
    margin-top: 120px;
}
#jurispage .single_challenge_text{
height: auto;
}

.counter4, .counter3, .counter2, .counter1, .counter {
    margin-bottom: 0px;
}

.carousel-item {
    width: 100%;
}

#finalistas .item-subtitle {
    font-size: 16px;
    letter-spacing: normal;
}

#finalistas .item-title {
    font-size: 36px;
    letter-spacing: normal;
}

#sliderwinners .item-subtitle {
    font-size: 18px;
}

#sliderwinners .item-title {
    font-size: 27px;
    letter-spacing: normal;
}
.card-mobile{
height:8vw;
}

#short_code_page iframe {
    height: 60vw;
}
  
  .counter-number {
    font-size: 40px;
}

#sliderwinners .carousel-item {
        width: 100%;
    }
  
  #short_code_page .item-title-main {
    font-size: 40px;
}
  #sliderwinners .item-title-main {
    font-size: 40px;
   	padding-bottom: 30px;
	padding-top: 70px;
    
}
  #text_block_titlesubtitle_and_text h2 {
    font-size: 40px;
}
  
  #short_code-slider .title-short {
    font-size: 40px;
}
  
  #jurispage .center-card-img-mobile {
    width: 100% !important;
}

  #Solutions h3 {
    padding: 0px;
  }
  
  #hero {
    background-size: auto;
    height: calc(49* 3vw);
}

.flag-show {
    font-size: 36px;
    line-height: 40px;
}

.hero-logo {
    margin-top: 55vw;
    text-align: left;
    width: 80%;
}

#text_block_titlesubtitle_and_text a {
    font-weight: 300;
    /* line-height: 29px; */
    font-size: 20px;
    /* text-align: left; */
    font-weight: 350;
    line-height: 20px;
    font-size: 15px;
    /* padding-left: 10px; */
    /* padding-right: 10px; */
    color: blue;
    font-family: "PolySans Regular", sans-serif;
}

#challenges h3 {
    font-size: 40px;
    
}

#text_block_titlesubtitle_and_text p{
font-size: 16px;
letter-spacing: normal;
}

#short_code-full .modal-content {
    width: inherit;
}

#last-edition .title-box-with-sub-titles {
    font-size: 40px;
    }
    
#text_block_titlesubtitle_and_text ul {
    margin-left: 30px;
    padding-left: 0px;
    padding-right: 0px;
    font-size: 16px;
}
    
    .download_pdf {
    color: #0073FF;
    text-align: center;
    margin-top: 0;
    font-size: 24px;
    line-height: 42px;
    font-family: "PolySans Regular", sans-serif;
}
    .hero-extra {
    height: 92vw !important;
}
    
    #slider_only .title-box-with-titles {
    font-size: 70px;
}

#slider_only .image-carrosel{

    width: -webkit-fill-available;
}
    
#last-edition .button-last-edition {
    display: inline-block;
    padding: 10px 20px;
    font-weight: bold;
    color: #000F64;
    border-color: #FFB40F;
    border-radius: 35px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
    margin-top: 30px;
    border: 2px solid #000F64;
}

#challenges .card-background-inside {
    background-color: transparent;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
}

#juris .title-box-with-titles {
    font-size: 40px;
    
}
    .navbar-section a, #menu-primary-menu li a {
        font-size: 20px;
    }

#rodape-prize-box .text-middle{
    margin-top: 0px;
}    
    
#image-bullet-point-list .title-box-with-sub-titles {
    font-size: 40px;
    margin-bottom: 24px;
    margin-top: 24px;
}

#image-bullet-point-list .title-box-with-sub-titles {
    font-size: 40px;
    margin-bottom: 24px;
    margin-top: 24px;
}

#juris .center-card-img-mobile {
    width: 99% !important;
}

#juris .single_challenge_text {
    height: auto;
}

#challenges .center-card-img-mobile {
    width: 100% !important;
}

#slider_eligibility .item-subtitle {
    width: 90%;
}

#slider_eligibility .background-item {
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 20px;
    margin: 0;
    background-color: #fff !important;
    height: auto;
    overflow: hidden;
    width: 110%;
}

.win-arrow{
top: -40%;
}

  
  #image-cta .container,
  #image-cta .container-fluid {
    min-height: auto;
  }

  #image-cta {
    margin-bottom: 20px;
  }

  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 34px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 16px;
  }

  p {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.1rem;
  }

  a {
    font-size: 14px;
    color: white;
  }

  .single_challenge_text p {
    font-size: 14px;
  }
  .cta-text {
    padding: 77px 0px;
  }

  #footer-cta .container-fluid {
    background-position-x: center;
  }

  .footer-cta-title {
    font-size: 1.2rem;
  }

  .footer-cta-text {
    font-size: 2.2rem;
  }

  footer {
    height: Auto;
    padding-bottom: 44px;
  }
  .footer-first-row {
    height: auto;
  }
  #menu-primary-menu-1,
  #menu-legal {
    padding-left: 0px;
  }
  .Follow {
    margin-top: 20px;
  }
  .footer-menu {
    margin-top: 0px;
  }

  .custom-logo {
    width: 200px;
  }

  .black-li,
  .center-nav-bar-links,
  .translate-button {
    display: none;
  }

  .menu-mobile {
    display: none;
    /* Additional mobile menu-mobile styles here */
  }
  
  #slider_eligibility .image-slider {
    width: 330px;
}

  .menu-toggle {
    display: block;
  }

  .menu-mobile.active {
  
    margin-top: 7px !important;
    display: block;
    right: 0;
    position: fixed;
    text-align: right;
    background-color: black;
    /* color: white; */
    width: 100%;
    text-align: center;
    padding: 0;
    margin-top: 20px;
  }
  #myLinks {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  #hero-not-full {
    padding-bottom: 50px;
  }

  .benefits-image {
    width: 100%;
  }
  .benefits-list-image {
    width: 75%;
  }

  .benefits-list {
    margin: 20px 0px;
  }

  #image-bullet-point-list,
  #slider {
    margin-bottom: 20px;
  }

  .carousel-inner {
    height: 550px;
  }

  #accordian h3 {
    margin-bottom: 0px;
    padding: 10px 20px;
    margin: 20px 0px;
  }

  .accordian-img {
    width: 100%;
  }

  #line-break img,
  #contact-form-image img {
    width: 100%;
  }

  .accordion-item {
    margin-bottom: 16px;
    width: 100%;
  }
  .accordion {
    margin-top: 40px;
  }

  .contact-form-title,
  .contact-form-image {
    margin: 40px 0px;
  }

  .contact-page-line-break,
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
  }

  input::placeholder,
  textarea::placeholder {
    padding: 4px 4px;
  }

  .box-3,
  .box-4,
  .box-5 {
    margin-bottom: 42px;
  }

  #contact-form-image {
    margin-bottom: 20px;
  }
  
  #contact-form-image {
    margin-top: 20px;
  }

  .european-announcement p {
    font-size: 0.5rem;
  }
  .navbar-section a,
  #menu-primary-menu li a {
    /*color: black !important;*/
  }


.mobile-container {
  max-width: 480px;
  margin: auto;
  background-color: #555;
  height: 500px;
  color: white;
  border-radius: 10px;
}

.topnav {
  overflow: hidden;
  background-color: #333;
  position: relative;
}

.topnav #myLinks {
  display: none;
}

.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

.topnav a.icon {
  background: black;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}
/* 
.active {
  background-color: #04AA6D;
  color: white;
}
 */
}


/* Esconde submenus por padrão em mobile */
@media (max-width: 768px) {
  .navbar-nav .sub-menu {
    display: none;
    list-style: none;
    padding-left: 15px;
    margin: 0;
  }

  /* Adiciona seta (▾) apenas para itens com submenu */
  .navbar-nav li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    margin-left: 8px;
  }

  /* Ajusta seta criada via JS */
  .submenu-toggle {
    cursor: pointer;
    font-size: 1rem;
    margin-left: 8px;
    user-select: none;
  }
}