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

  #s2020-banner-menu {
    top: 100px;
  }
}
@media only screen and (max-width: 1600px) {

   
}

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

  .node-nid-7 #s2020-banner-cover{
    display: none;
  }

  .not-front.node-nid-7 #s2020-banner-menu {
    display: inline-block;
    opacity: 1;
  }

}

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

  .container{
    width: 90%;
    max-width: unset;
  }

  .container-inner{
    width: 80%;
    max-width: unset;
  }

  .container-outer{
    width: 95%;
    max-width: unset;
  }

  .eu-cookie-compliance-content {
    width: 90%;
    max-width: unset;
  }  

  .eu-cookie-compliance-message {
    float: left;
    max-width: 70%;
  }

  .eu-cookie-compliance-buttons {
    float: right;
    max-width: 30%;
  }

  #popup-buttons button {
    padding: 10px 12px;
  }

  #popup-text h2 {
    font-size: 20px;
  }  

  #popup-text{
    font-size: 16px;
  }

}

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

  #main-menu li a:after {
    bottom: 15px;
  }

  #main-header .container {
    width: 95%;
  }

  #main-menu li a {
    padding: 0 5px;
  }  

  .region-header .brand.logo {
    line-height: 60px;
    margin-right: 0;
  }

  .region-header .brand.logo img {
    width: unset;
    height: 60px;
  }

  #main-menu li a {
    height: 60px;
    line-height: 60px;
  }  

  .main-header {
    height: 60px;
  }

  #s2020-banner-menu {
    top: 80px;
  }  

  .region-header .brand.site-name {
    font-size: 20px;
    line-height: 28px;
  }  

  .site-branding {
    text-align: center;
  }

  #popup-buttons{
    text-align: center;
  }

  #popup-buttons button {
    padding: 10px 12px;
    margin: 5px 5px;
  }

  .eu-cookie-compliance-buttons {
    margin-top: 0em;
  }

  #popup-text{
    text-align: center;
  }

  #popup-text h2 {
    margin-bottom: 0.6em;
  }

  .eu-cookie-compliance-message {
    float: unset;
    max-width: unset;
    width: 100%;
    margin-bottom: 0.6em;
  }

  .eu-cookie-compliance-buttons {
    float: unset;
    max-width: unset;
    width: 100%;
  }



}

@media only screen and (max-width: 1100px) {
  #front-cover-logo {
    width: 250px;
  }

  #front-cover-title {
    font-size: 2.2em;
  }

  #front-cover-subtitle {
    font-size: 2.0em;
  }

  .footer-left{
    width: 100%;
    text-align: center;
    margin-bottom: 2em;
  }

  .footer-right{
    width: 100%;
    text-align: center;
  }

  .footer-right p {
    text-align: center;
  }

}

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

  #main-menu li a {
    padding: 0 3px;
  }  

}

@media only screen and (max-width: 959px) {
  #main-navigation{display: none;}

  .region-header{
    float: right;
  }

  a#navigation-toggle{
    display: inline-block;
  }

  .site-branding {
    width: unset;
    text-align: right;
  }

  .main-header {
    height: 60px;
  }

  .region-header .brand.logo {
    line-height: 60px;
    float: right;
  }
  
  .region-header .brand.site-name {
    line-height: 60px;
    margin-right: 10px;
  }

  .region-footer-left{
    width: 100%;
    text-align: center;
    margin-bottom: 1em;
  }

  .region-footer-right{
    width: 100%;
    text-align: center;
  }

}

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

  #front-cover-title {
    font-size: 1.9em;
  }

  #front-cover-subtitle {
    font-size: 1.7em;
  }

  .region-bottom-left{
    width: 100%;
  }

  .region-bottom-right{
    width: 100%;
  }

  .views-cover .views-row .views-field-field-thumb .field-content > div {
    height: 60vh;
  }

}

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

  .views-cover .views-row .views-field-field-thumb .field-content > div {
    height: 50vh;
  }

}

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

  h1 {
    margin-top: 0;
    font-size: 2.0rem;
  }

  h2 {
    margin-top: 2rem;
    font-size: 1.974rem;
  }

  h3 {
    margin-top: 2rem;
    font-size: 1.528rem;
  }

  .text-align-justify{
    text-align: left;
  }

  .form-item-name{
    width: calc(100%);
  }

  .form-item-email{
    width: calc(100%);
    float: unset;
  }

}

@media only screen and (max-width: 480px) {
  #front-cover-title {
    font-size: 1.6em;
  }

  #front-cover-subtitle {
    font-size: 1.3em;
  }

  .footer:before {
    height: calc(76%);
  }

  .bottomwidget .container-inner{
    width: 100%;
  }

  h2 {
    margin-top: 2rem;
    font-size: 1.774rem;
  }

  h3 {
    margin-top: 2rem;
    font-size: 1.328rem;
  }

}

@media only screen and (max-width: 400px) {
  #popup-buttons button {
    width: calc(100% - 10px - 24px);
  }
}