/*
 * CSS style sheet for the XXXI IAC's Winter School of Astrophysics
 * IAC/SIE - April 2019
 * J A Perez Prieto <japp@iac.es>
 *
 * Light red - background: #ec5f44
 *
 * https://fonts.adobe.com/fonts/fatfrank#fonts-section
 */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300i,400,700');
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700|Roboto:300,400,700&display=swap');

/* Structure */

body {
    font-family: Roboto, sans-serif;
    color: #444;
	border-top: 5px solid #1A2C4C;
}

.container {
    /* to force footer allways at bottom */
     min-height: 100%;
     position: relative;
}

header {
	margin: 10px 20px 20px 40px;
	padding-bottom: 10px;
}

.logo_iac {
	margin-top: 10px;
	min-width: 100px;
}

#site-title {
    margin-top: 15px;
}

#site-title h1 {
    font-size: 2rem;
    margin-left: 10px;
}

#site-title h1 small {
    color: #888;
}

#language-switch {
    color: #eee;
    top: 5px;
    right: 10%;
    position: absolute;
    text-align: center;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    height: 2em;
    padding-top: 3px;
}

#language-switch a, #language-switch a:visited, #language-switch a:active {
    color: #666;
    padding: 6px;
    text-decoration: none;
}

#language-switch a:hover {
    color: #fff;
    background-color: #1A2C4C;
}

#content {
	font-size: 15px;
    float: left;
    color: #333;
    padding: 5px 25px 20px 0px;
    background-color: transparent;
    min-height: 600px;
    margin-top: 25px;
    margin-bottom: 50px;
}

#content ul li {
    padding: 2px;
    line-height: 1.2em;
    list-style: square;
}

p, li {
    line-height: 1.6em;
}

footer {
    /* allways at bottom  */
    position: relative;
    background-color: #1A2C4C;
    color: #eee;
    margin: 0;
    padding: 30px 20px;
    text-align: center;
}

footer a:link, footer a:visited, footer a:active {
    color: #ddd;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

footer a img  {
    border: none;
}

.clear {
    clear: both;
}

h1, h2, h3, h4 {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
}

#content h2 {
	color: #7CC9E9;
	text-transform: uppercase;
	font-size: 25px;
	margin:  15px 0;
}

#content h3 {
    font-size: 23px;
}

.section h2:first-child {
    margin-top: -20px !important;
}


/* linkology */

#content a, #content a:link, #content a:visited {
	color: #009fde;
	text-decoration: none;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}

#content a:hover, #content a:active {
    color: #000;
    border: none;
}

a img, a.glyphicon, .media a {
    border: none !important;
}


/*  left navigation menu linkology */

#sidebar ul {
    padding-right: 10%;
    margin-top: 10px;
}

.nav > li, .nav-login li  {
    font-size: 14px;
    text-transform: uppercase;
    text-align: left;
	float: none;
    padding: 5px;
}

.nav > li > ul.nav {
    padding: 0;
}

.nav > li > ul.nav > li a {
    text-transform: none;
    border-bottom: none;
    padding: 0px 10px;
}

.nav > li > a {
    padding: 5px 10px;
    border: none;
    color: #4e7c9e;
}

.nav > li {
	border-right: 1px solid #0b9bd0;
	padding-right: 15px;
}

.nav > li.active {
	border-right: 5px solid #2BADDC;
	border-radius: 3px;
	margin-right: -3px;
}

.nav li.dropdown ul li {
	border-right: none;
}

.nav > li > a:hover  {
    background-color: transparent;
    color: #000;
}

.nav > li > ul.nav {
    margin-left: 30px;
    opacity: 0.9;
}

.flex-column a:link, .flex-column a:active,
.flex-column a:visited, .flex-column li.menu_main a {
    color: #4e7c9e;
	font-family: "Roboto Condensed", sans-serif;
	text-transform: uppercase;
    text-decoration: none;
}

.nav > li > ul.nav   {

}

.flex-column a:hover, .flex-column li.active > a,
.nav > li > ul.nav > li a:hover, .nav > li > ul.nav > li.active a  {
    color: #206CC2;
}

ul.nav-login  {
    width: 100%;
    text-align: right;
}

ul.nav-login li  {
    width: 100%;
    text-align: right;
    text-transform: none;
}

.navbar-toggle {
    background-color: #fff !important;
}

.icon-bar {
    background-color: #000 !important;
}

/* sidebar nav vertical */
@media (max-width: 768px) {

    .nav > li, .nav > li.active {
        border: none;
    }

    #content {
        font-size: 17px;
        margin: 4px 8px;
    }

    #header {
        width: 100%;
    }

    h1#header-title {
        font-size: 2em;
    }

    #sidebar-colapser {
        margin-right: 16px;
        font-size: 1.5em;
        text-align: right;
    }

    #sidebar.col-sm-3, .navbar-collapse  {
        margin-top: 10px;
        margin-right: 1px;
    }

    .sidebar-nav .navbar .navbar-main {
		padding: 0;
		max-height: none;
		background-color: #fff !important;
		color: #000 !important;
    }

    #header_text {
        margin-top: 0px;
    }

    #header_title {
        padding-right: 0px;
    }

}


/* sidebar nav vertical */
@media (min-width: 768px) {

    body {
        min-width: 500px;
        /*max-width: 1400px;*/
    }
}

/* Meeting module styles */


/* Search form */
input#string {
    width: 70px;
}

table td {
    padding: 2px;
    font-size: 0.9em;
}


.sidebar-navbar-collaps {
    background-color: #fff;
}


/* BS modifications */

.btn {
    border-radius: 0;
}

.btn-primary {
    background-color: #ec5f44;
    border-color: #ec5f44;
}

.btn-primary:hover {
    background-color: #000;
    border-color: #000;
}
