
/**
* @file screen.css
* @brief CSS styles for the Scale 2026 Meeting website.
* @author SIE/IAC - @japp
* @date 2025-10-30
* @version 1.6
* @colors: #7F64A9 (primary, purple) #0A0D11 (dark gray banner), #EF8A06 Orange 
*
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: Lato, sans-serif;
    background-color: #fff;
}

#banner {
    padding-top: 0px;
    height: 320px;
    width: 100%;
    /* max-width: 1800px; */
    background-image: url(images/fondo.jpg);
    background-color: #0A0D11;
    background-position: left 0px;
    background-repeat: no-repeat;
    background-size: 1920px auto; 
}

img#logo_iac {
    width: 90px;
    height: 90px;
    margin-top: 35px;
    margin-right: 20px;
}

img#scale_logo {
    width: 450px;
    margin-top: 15px;
    margin-left: 30px;
}

#banner_text {
    margin-top: 5px;
    margin-left: 5%;
    line-height: 1.2em;
}

#banner-logos {
    margin-top: 160px;
}

#banner_date {
    font-size:  1.8rem;
    margin-top: 15px;
    margin-right: 0px;
    color: #EF8A06;
    opacity: 0.8;
}

#banner_text_image {
    width: 200px;
    margin-top: 10px;
    margin-left: 50px;
}

.sidebar {
    float:left;
    width: 25%;
    padding: 0px;
}

.content {
    margin-top: 0px;
    float: left;
    background-color: #fff;
    clear: right;
    width: 70%;
    padding: 10px 30px;
    min-height: 500px;
}

p, li {
    line-height: 1.8em;
    font-size: 17px;
}

footer {
    font-size: 16px;
    clear: both;
    padding: 20px 5% 0 10px;
    margin: 0px auto;
    text-align: left;
    width: 100%;
    color: #eee;
    background-image: url(images/fondo_footer.jpg);
    background-color: #fff;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 1800px auto;
}

footer a, footer a:visited {
    color: #F28B02;
    font-weight: normal;
}

#footer-links { 
    text-align: center;
    margin-top: 80px;
    padding-bottom: 10px;
}

footer img { 
    margin-left: 20px;
}

.logos {
    margin-top: 10px;
    margin-bottom: 10px;
}

.logos div {
    margin-top: 5px;
}

.registration-button {
    font-size: 2rem;
    background-color: #7F64A9;
    opacity: 0.8;
}

a.registration-button, a.registration-button:link, a.registration-button:visited  {
    color: white;
}

.registration-button:hover {
    opacity: 1;
}

.content h1, .content  h2, .content  h3 {
    color: #7F64A9;
}

a, a:visited {
    color: #7F64A9;
    font-weight: bold;
}

a:active, a:hover {
    color: #000;
}

footer a:active, footer a:hover {
    color: #fff;
    text-decoration: none;
}

#search {
    text-align: right;
}

.sidebar-nav {
    margin-top: 50px;
}

.sidebar-nav ul {
    padding-top: 20px;
}

.sidebar-nav ul li {
    text-align: right;
    font-size: 15px;
}


.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav >  li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: #444;
    font-size: 18px;
    font-weight: normal; 
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background-color: #fff;
    color: #000;
    font-weight: bold;
    opacity: 0.8;
    border-right: 3px solid #7F64A9;
}

.navbar-default .navbar-nav >  li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: #7F64A9;
}

.navbar-default {
    border: 0;
    background-color: #fff;
}

/* second level menu / dropdown */
.dropdown ul.navbar-nav {
    padding: 0 5px;
    margin-top: 0;
    margin-right: 18px;
    margin-bottom: 6px;
    border-right: 1px dotted #ccc;
}

.dropdown ul.navbar-nav li a.nav-link {
    padding: 4px;
    opacity: 0.7;
    font-size: 1.0em;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.bg-primary {
    background-color: #7F64A9;
}

.btn-primary {
  color: #fff;
  background-color: #7F64A9;
  border-color: #7A578B;
}

.btn-primary:hover {
  color: #fff;
  background-color: #7A578B ;
  border-color:  #7F64A9;
}

.bg-secondary {
    background-color:#A89F98
}


/* sidebar nav vertical */ 
@media (min-width: 768px) {

    .sidebar-nav .navbar .navbar-collapse {
      padding: 0;
      max-height: none;
    }
    .sidebar-nav .navbar ul {
      float: none;
    }
    .sidebar-nav .navbar ul:not {
      display: block;
    }

    .sidebar-nav .navbar li {
      float: none;
      display: block;
    }
    .sidebar-nav .navbar li a {
      padding-top: 12px;
      padding-bottom: 12px;
    }
}

@media (max-width: 970px) {
    img#scale_logo {
        width: 40vw;
    }
}

@media (max-width: 768px) {

    .content {
        margin-top: 0px;
    }

    #banner {
        height: 200px;
        background-size: 1200px auto; 
    }

    #banner-logos {
        display: none;
    }
    
     img#scale_logo {
        width: 300px;
    }
 
    .sidebar, .content {
	    width: 100%;
    }

    .sidebar-nav {
        margin-top: 0;
    }

}
