/**
 * Dark and Quiet Skies for Science and Society II Implementing the recommendations
 * La Palma, Canary Islands, Spain 3-7 October 2021
 *
 * General styles 
 *
 * Depends on: Boostrap v3
 *
 * Headings color: #7AAFD5
 * Links: #684A49
 *
 */

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,100,700);


#top-menu-background {
    width: 100%;
    min-height: 115px;
    background: #000 url(images/banner_band3.jpg) center 0px no-repeat; 
}
 
#top-banner {
    font-size: 28px; 
    line-height: 1.1em;
    text-align: right;
    font-weight: 100;
    color: #7AAFD5;
    width: 100%;
    margin: 10px 10px 2px 20px;
    text-shadow: 1px 1px 2px black; 
}

#top-banner .top-banner-date {
    font-size: 0.6em;
    color: #fff ;
    opacity: 0.8;
    text-shadow: 1px 1px 2px black; 

}

#banner { 
    display: none;
}

#banner h1 {
    margin: 0;
    font-size: 4.5rem;
    font-weight: 400;
    color: #7AAFD5;
    text-shadow: 1px 1px 2px black; 
    line-height: 0.9em;

}

#banner .subtitle {
    font-size: 2.8rem;
    line-height: 2.5rem;
    opacity: 0.8;
    color: #7AAFD5;
}

#banner .banner-date {
    font-weight: 100;
    font-size: 2rem;
    color: #fff;
    text-shadow: 1px 1px 1px black; 
    
}
 
.content {
    font-size: 15px;
    width: 80%;
    margin: 40px auto;
    padding: 0px 25px;
    min-height: 400px;
    max-width: 1200px;
    color: #333;
}

.alert {
    font-size: 14px;
}

figcaption {
    margin-left: 5px;
    margin-top: -14px;
    font-style: italic;
    color: #666;
    text-align: right;
}

.table tr td, .content ul li {
    font-size: 14px;
}    

#navbar-main {
    width: 95%;
    margin: 0 auto;
}

#navbar-main ul {
    text-align: center !important;
}
 
.navbar-default {
    background-color: transparent !important;
}

ul.navbar-nav li a {
    font-size: 16px;
    background-color: transparent !important;
    color: #eee;
    border-bottom: 2px solid transparent;
}

ul.navbar-nav > li > a {
    text-shadow: 1px 1px 2px black; 
}

ul.navbar-nav li a:hover {
    background-color: transparent !important;
    color: #fff;
    border-bottom: 2px solid #7AAFD5;
}

ul.navbar-nav li.active > a {
    background-color: transparent;
    border-bottom: 2px solid #7AAFD5;
}

.navbar-default .dropdown-menu > li > a, .navbar-default .dropdown-menu > .active > a {
    background-color: #eee !important;
    color: #333;
    border-bottom: none;
}

.navbar-default .dropdown-menu > li > a:hover, .navbar-default .dropdown-menu > .active > a:hover {
    background-color: #ccc !important;
    color: #000;
    border-bottom: none;
}


/* Hover instead click on dropdown */
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    border-bottom: none;
 }

.content h1 {
    font-family: "Source Sans Pro", Helvetica, Arial !important;
    margin-bottom: 20px;
    color: #7AAFD5;
    text-shadow: 1px 1px 1px black; 
}

.content h2 {
    font-family: "Source Sans Pro", Helvetica, Arial !important;
    color: #7AAFD5;
    font-weight: 100;
    text-shadow: 1px 1px 0px black; 
}

.content h3 {
    font-family: "Source Sans Pro", Helvetica, Arial !important;
    color: #333;
    font-weight: 100;
    font-size: 23px;
}

.col1 {
    float: left;
    width: 25%;
    text-align: center;
}

.homepage-circles .col1  {
    margin: 0 auto;
}

p, li, td, label {
    line-height: 1.8em;
}

.btn-primary {
    background-color: #7AAFD5;
    border-color: #296BB5;
    color: #333;
}

footer {
    border-top: 2px solid #296BB5;
    margin: 20px auto 0 auto;
    background-color: #333;
    padding: 20px 3% 5px 3%;
    color: #ccc;
}

footer img {
    opacity: 1;
}

.footer-links {
   
    margin: 40px auto;
}

.footer-links a, .footer-links a:hover {
    text-decoration: none;
}

label, .control-label, .help-block, .checkbox, .radio, .mpform_title {
    font-size: 14px;
    font-weight: normal;
    color: #555 !important;
}

/* Linkology */

a {
    color: #7AAFD5;
    text-decoration: none;
   
}

a:hover {
    color: #000;
    text-decoration: none;
}

.content a {
    font-weight: 700;
    border-bottom: 1px solid #7AAFD5;
}

.content a:hover {
    border-bottom: 1px solid white;
}

footer a {
    color: #fff !important;
}


@media (max-width: 992px) {
    #navbar-main {
	    width: 100%;
    }
    
    .content {
	    width: 100%;
    }
    
    #top-banner  {
	    margin-left: 20px;
    }
}


@media only screen and (max-width: 766px) {
    
    .collapsing, .in {background-color: #eee; min-height: 500px;}
    .collapsing ul li a, .in ul li a {color: #555!important;}
    .collapsing ul li a:hover, .in ul li a:hover {color: #000!important;}

    ul.navbar-nav li.active a, ul.navbar-nav li.active  a:hover, ul.navbar-nav li.active  a:visited {
        background-color: #eee;
        border-bottom: 0;
        color: #333;
    }
    
    ul.navbar-nav li  a:hover {
	    color: #000;
    }
    
    ul.navbar-nav, .dropdown-menu {
	    display: block;
    }
    
    .dropdown-menu ul li a {
	    background-color: #eee;
    }

}
