@font-face {
    font-family: 'aftikabold';
    src: url('fontsfree-net-aftikabold-webfont.woff2') format('woff2'),
         url('fontsfree-net-aftikabold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'aftikalight';
    src: url('fontsfree-net-aftika-light-1-webfont.woff2') format('woff2'),
         url('fontsfree-net-aftika-light-1-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}



body {
    font-family: 'aftikabold';
    padding: 0;
    margin:0;
    
}

a, #areFavorites a  {
    color:#5B7EAE;
    text-decoration: none;
}

a:hover, #areFavorites a:hover {
    text-decoration: underline;
}



 /* Add a black background color to the top navigation */
.topnav {
    color:white;
    background-color:#5B7EAE; /*#ff0054;*/ 
    display:flex;
    justify-content: center;
    position: sticky;
    top:0px;
    left:0px;
    box-shadow: 0 1px 5px black;
    z-index: 99;
}

/* Style the links inside the navigation bar */
.topnav a {
  background-color:#5B7EAE; 
  display: block;
  color: white;
  text-align: center;
  padding: 17px;
  text-decoration: none;
  font-size: 1.4rem;
}

/* Add an active class to highlight the current page */
.active {
  text-shadow: 0 0 5px white;
  text-decoration: none;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown, .dropdown2, .dropdown3 {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn, .dropdown2 .dropbtn2, .dropdown3 .dropbtn3 {    
  font-size: 1.4rem;
  border: none;
  outline: none;
  color: white;
  padding: 17px;
  background-color:#5B7EAE;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content, .dropdown-content2, .dropdown-content3 {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 180px;
  box-shadow: 0 4px 5px black;
  z-index: 100;
  border-radius: 5px;
}

/* Style the links inside the dropdown */
.dropdown-content a, .dropdown-content2 a, .dropdown-content3 a {
  float: none;
  font-size: 1.1rem;
  color: #5B7EAE;
  background-color:#f9f9f9;
  padding: 8px 10px;
  text-decoration: none;
  display: block;
  text-align: left;
  border-radius: 5px;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn, .dropdown2:hover .dropbtn2, .dropdown3:hover .dropbtn3{
    text-shadow: 0 0 5px black;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover, .dropdown-content2 a:hover, .dropdown-content3 a:hover {
    text-shadow: none;
    text-decoration: underline;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content, .dropdown2:hover .dropdown-content2, .dropdown3:hover .dropdown-content3{
  display: block;
}


/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 1100px) {
    
  .topnav a.icon {
    position: absolute;
    right: 0;
    top: 0;
  } 
    
  .topnav a {text-align: left;}    
  .topnav a:not(.active), .dropdown:not(.active) .dropbtn:not(.active), .dropdown2:not(.active) .dropbtn2:not(.active), .dropdown3:not(.active) .dropbtn3:not(.active) {
    display: none;
  }
    
  .topnav a.icon {
    float: right;
    display: block;
  }
    
    .dropdown, .dropdown2, .dropdown3 {
        float:none;
    } 
    
    .dropdown-content, .dropdown-content2, .dropdown-content3 {
        position:relative;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 1100px) {
  .topnav {display:block;}
  .topnav.responsive {position: sticky;}
  
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown,  .topnav.responsive .dropdown2, .topnav.responsive .dropdown3 {float: none;}
  .topnav.responsive .dropdown-content, .topnav.responsive .dropdown-content2, .topnav.responsive .dropdown-content3  {position: relative;}
  .topnav.responsive .dropdown .dropbtn, .topnav.responsive .dropdown2 .dropbtn2, .topnav.responsive .dropdown3 .dropbtn3 {
    display: block;
    width: 100%;
    text-align: left;
  }
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  position: relative;
    margin:auto;
        width: 100vw;
    max-width:100%;
    height:75vw;
}

/* Hide the images by default */
.mySlides {
  display: none;  
    width: 100%;
    height:100%;
    z-index: -1;
}

.slide1 {
    background: no-repeat url('panorama1-small.jpg');
    background-size: cover;
}

.slide2 {
    background: no-repeat url('pontscouverts2-small.jpg');
    background-size: cover;
}

.slide3 {
    background: no-repeat url('panorama2-small.jpg');
    background-size: cover;
}

.slide4 {
    background: no-repeat url('pontscouverts1-small.jpg');
    background-size: cover;
}

.dotsOnSlides {
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  border: 2px solid white;    
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: transparent;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.activeDot, .dot:hover {
  background-color: white;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: 0.8;}
  to {opacity: 1;}  
}

.banner {
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width: 100%;
    font-family: 'aftikabold';
    font-size:1rem;
    color:white;
    display:flex;
    justify-content: center;
    align-items: center;
    text-shadow: 3px 0 black, -3px 0 black, 0 3px black, 0 -3px black,
             2px 2px black, -2px -2px black, 2px -2px black, -2px 2px black;
    }

#logo {
    width:150px;
}

.thinbanner {
        width: 100vw;
        max-width:100%;
        height:25vw;
        color:white;
        text-shadow: 3px 3px 0 black;
        font-size:1.5rem;
        display:flex;
        justify-content: center;
        align-items: bottom;
    }


.thinbanner1 {
        background: no-repeat url('thin_banner3-small.jpg');
        background-size: cover;
    }

.thinbanner2 {
        background: no-repeat url('thin_banner4-small.jpg');
        background-size: cover;
    }

.thinbanner3 {
        background: no-repeat url('thin_banner7-small.jpg');
        background-size: cover;
    }

.thinbanner4 {
        background: no-repeat url('thin_banner6-small.jpg');
        background-size: cover;
    }


#plogo {margin:0;}

#thinlogo {
    height:28vw;
    width:28vw;
    padding: 0;
}

@media screen and (max-width: 500px) {
    ul, ol {padding-left: 20px;}
}

@media screen and (min-width: 500px) {
    .banner {
            font-size:1.5rem;
    }
    
    #logo {
        width: 200px;
    }
    
    #thinlogo {
        height:14vw;
        width:14vw;
        padding: 0;
    }
    
    .thinbanner {
        width: 100vw;
        max-width:100%;
        height:12.5vw;
    }
    
    .thinbanner1 {
        background: no-repeat url('thin_banner3.jpg');
        background-size: cover;
    }

.thinbanner2 {
        background: no-repeat url('thin_banner4.jpg');
        background-size: cover;
    }

.thinbanner3 {
        background: no-repeat url('thin_banner7.jpg');
        background-size: cover;
    }

.thinbanner4 {
        background: no-repeat url('thin_banner6.jpg');
        background-size: cover;
    }
    
}

@media screen and (min-width: 800px) {
    .slideshow-container {
            height:37.5vw;
    }
    
    
    
    .slide1 {
        background: no-repeat url('panorama1.jpg');
        background-size: cover;
    }

    .slide2 {
        background: no-repeat url('pontscouverts2.jpg');
        background-size: cover;
    }

    .slide3 {
        background: no-repeat url('panorama2.jpg');
        background-size: cover;
    }

    .slide4 {
        background: no-repeat url('pontscouverts1.jpg');
        background-size: cover;
    }
}

.bannerItemL {
    flex:1;
    text-align: right;
    padding-right:10px;
}
.bannerItemR {
    flex:1;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
}






h1 {
    text-align: center;
    margin: 40px auto;
    padding-left: 10px;
    padding-right: 10px;
}

.mainText{
    font-family: 'aftikalight';
    max-width: 800px;
    margin:40px auto;
    font-size: 1.2rem;
    text-align: justify;
    padding-left: 20px;
    padding-right:20px;
}

#footnote {
    font-size: 0.8rem;
}

emph {
    font-family: 'aftikabold';
}

.sponsors {
    margin:50px auto;
    max-width: 800px;
}
.pLogos {
    display:flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

p img {
    /*max-width: max(10vw,210px);  
    max-height:15vh;*/
    width:150px;
    padding: 10px;
}

.bigimg {
    /*min-height: 8vh;*/
    /*max-width: max(25vw,250px); */
    width:250px;
}

.footer {
    color:white;
    background-color:#5B7EAE; 
    text-align: center;
    padding:10px;
    font-family: "aftikalight";
    font-size: 0.8rem;
}

.ifempty {
    position: relative;
    bottom: 0;
    
}

.CNFM {
    width:150px;
    padding: 30px;
    display: inline-block;
}

.tableFees {
    display: flex;
    justify-content: center;
}

th {
    padding: 10px;
}

td {
    padding-left: 10px;
    padding-right: 10px;
}

.accessStrasbourg {
    display: flex;
    margin: 0 auto;
    width: min(100%,600px);
}

.centerLink {
    display:flex;
    margin:auto;
    margin-top: 10px;
}
.alert {
    color:#f78c17;
}

.IUPAP {
    font-size: 0.9rem;
}

.pPoster{
    padding-top:20px;
    display:flex;
    justify-content: center;
}

#poster {
    width:300px;
}

.star-small {
    width: 18px;
    height: 18px;
}

textarea {
    resize: none;
}

.photoHaroche {
    display: flex;
    justify-content: center;
}

.palais-map-container {
    display: flex;
    justify-content: center;
}

.palais-map {
    max-width: 100vw;
}

@media screen and (min-width: 500px) {
    .palais-map {
        max-width: 500px;
    }
}