/* =Top Bar and Header
Theme Name: Cosmonomy (En)
Author: Cosmonomy
-------------------------------------------------------------- */
img { 
border: 0;
}
* {/* Remove default margin */
margin-top: 0;
}
.progressContainer { /* =loading line / Scroll Indicator */
width: 98%;
height: 3px;
background: #000;
position: fixed;
margin-left: auto;
margin-right: auto;
left: 0; right: 0;
top: 0;
}
.progressBar {
height: 3px;
background-color: #ff2020;
width: 0%;
left: 0;
top: 0;
}
/* .top-bar-outer { padding-bottom: 32px; } */
.top-container { margin: 0 auto; width: 95%; padding-top: 1px; padding-bottom: 2px; background-color: transparent; /* position: fixed; z-index:10; */}
#top-bar { /* externally to the top-container */
 width: 98%;
 position: fixed;
 padding-top: 1px;
 padding-bottom: 2px;
 background-color: #000000;
 margin-top: 1px;
 /* margin-bottom: 0; */
 margin-left: auto;
 margin-right: auto;
 left: 0; right: 0;
 top: 0;
 border-bottom: 1px solid #303030;
 /* line-height: 1.2em; */}

#top-bar a {
 color: #bbbfff;
 font-size: 16px; /* 1em */
 text-transform: uppercase;
 text-decoration: none;
 display: inline-block;
 margin-left: 5px;
 margin-right: 5px;
 margin-top: 3px;
 margin-bottom: 3px;
 padding-left: 0;
 padding-right: 0;
 padding-top: 2px;
 padding-bottom: 1px;
 letter-spacing: 1px; }

#top-bar a:hover {
 background-color: #3c3c64; }

span.the-books,
span.home-page /* ,
span.middle*/ {
 display: inline-block;
 width: 49%; } /* 32% x3 */

span.the-books {
 float: left;
 text-align: left; }
span.home-page {
 float: right;
 text-align: right; }
/* span.middle {
 float: left;
 text-align: center;
 margin-left: 0px; } */

a {text-decoration:none}

#header { /* total */
 width: 100%;
 left: auto; right: auto;
 margin-left: auto;
 margin-right: auto;
 position: relative;
 top: 35px; /* see the top-bar and top-bar-outer */
 line-height: 1.0em;
 margin-top: 0;
 margin-bottom: 11px;
 background-color: transparent;
 padding: 1px 0;
}

#header table { margin: 0; padding: 0; border: 0; border-collapse: collapse; }

#title1 {
 font-family: "Trebuchet MS", Tahoma, Ubuntu, Roboto, sans-serif;
 color: #ffd700;
 font-size: 17px; /* 16px/16px = 1.0em */
 text-align: center;
 font-weight: 400;
 letter-spacing: 0;
 line-height: 100%;  
 margin-top: 1px;
 margin-bottom: 3px; }
  
#title2 {
 font-family: "Times New Roman", serif;
 color: #3C3C64;
 font-size: 16px; /* 16px/16px = 1.0em */
 text-align: center;
 font-weight: 500;
 padding: 1px; 
 margin-top: 0;
 margin-bottom: 0;  
 margin-left: 240px; }

#timewithmessage, #timewithmessage table { /* 12+240+220+12px */
 border-collapse: collapse; 
 border: 0; 
 width: 484px; 
 background-image: url('bg_sky-.jpg'); }
 
.menu-fonts { 
 background-color: transparent;
 font-family: "Times New Roman", serif;
 font-size: 15px;
 text-align: center;
 font-weight: 400;
 color: #bbccff;
 line-height: 100%;
 text-decoration: none; }
 
.menu-fonts a {
 background-color: transparent;
 color: #ccddff;
 text-decoration: none; }

.menu-fonts a:visited {
 color: #bbbbff; }
 
.menu-fonts a:hover {
 background-color: #804000;
 color: #ffee00;
 font-weight: normal;
 text-decoration: none; }
  
.menu-fonts a:active { color: #ff0000; }

/* .top-bar-outer {
 width: 100%;
 background-color: black;  
 line-height: 120%;
 margin-top: 0;
 margin-bottom: 0;
 position: fixed;
 display: block;
 padding-top: 2px;
 padding-bottom: 32px;
 border-top: 1px solid #aabbcc;
 border-bottom: 1px solid #aabbcc;
 border-spacing: 0;
 -webkit-border-radius: 15px;
 -moz-border-radius: 15px;
 border-radius: 15px 15px; } */

.navigate { 
 width: auto;
 background-color: transparent;
 font-family: "Times New Roman", serif;
 font-size: 15px;
 font-weight: normal;
 text-align: center;
 text-decoration: none;
 text-indent: 0;
 letter-spacing: 0;
 line-height: 120%;
 margin-left: auto;
 margin-right: auto;
 margin-top: 16px;
 margin-bottom: 4px;
 position: relative;
 display: inline-block;
 padding-top: 2px;
 padding-bottom: 2px;
 padding-left: 6px;
 padding-right: 6px;
 border-top: 1px solid #aabbcc;
 border-bottom: 1px solid #aabbcc;  
 border-spacing: 1px;
 -webkit-border-radius: 10px;
 -moz-border-radius: 10px;
 border-radius: 10px 10px; 
  }
  
.p-navigation { text-align: center; /* text-transform: uppercase; */ line-height: 120%; margin-top: 16px; margin-bottom: 0; hyphens: auto; word-wrap: break-word; overflow: auto; } 
  
/* =Media Queries
-------------------------------------------------------------- */
@media all and (max-width: 768px) {
#header {display:none;}

.progressContainer { /* =loading line / Scroll Indicator */
width: 99%;
height: 3px;
background: #000;
margin-left: auto;
margin-right: auto;
left: 0; right: 0; }

.top-container { margin-left: auto; margin-right: auto; width: 99%; background-color: transparent; padding-top: 0; padding-bottom: 0; } /* internally to the top-bar */

#top-bar {
padding: 0; 
margin-top: 0;
margin-left: auto;
margin-right: auto;
left: 0; right: 0;
width: 99%;
position: fixed;
background-color: #000000;
}
	
#top-bar a {
color: #bbbfff;
font-size: 16px; /* 1em */
text-transform: uppercase;
text-decoration: none;
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 5px;
margin-top: 5px;
left: 0; right: 0;
padding-top: 2px;
padding-bottom: 2px;
}
	
#top-bar a:hover {
background-color: #3c3c64; }

span.the-books,
span.home-page /* ,
span.middle */ {
margin-left: auto;
margin-right: auto;
width: 99%;
display: block; }

span.middle  { display: none; } /* Remove the line if the middle span is display */

span.the-books,
span.home-page /* ,
span.middle */ {
float: none;
text-align: center; }

span.the-books {
border-bottom: solid 2px #ffd700; width: 100%; }

/* span.middle {
border-bottom: solid 2px #ffd700; width: 100%; } */

.navigate { 
  width: 99%; /* avoid horizontal scrollbar */
  background-color: #ffdd00;
  font-family: "Times New Roman", serif;
  font-size: 15px;
  font-weight: normal;
  text-align: center;
  text-decoration: none;
  text-indent: 0;
  letter-spacing: 0;
  line-height: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 14px;
  margin-bottom: 2px;
  position: relative;
  display: grid; /* display: block; */
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 0; /* avoid horizontal scrollbar */
  padding-right: 0; /* avoid horizontal scrollbar */
  border-top: 1px solid #ff0000;
  border-bottom: 1px solid #ff0000;
  border-left: 1px solid #ff9900;
  border-right: 1px solid #ff9900;
  border-spacing: 0px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px 10px; }
  
.p-navigation { text-align: center; text-transform: uppercase; line-height: 100%; margin-top: 72px; margin-bottom: 0; hyphens: auto; word-wrap: break-word; overflow: auto; word-break: break-all; }
}

@media all and (min-width: 1300px) { 
body { /* if the top bar is not 100% */
width:80%;
margin:0 auto; }

.progressContainer { /* =loading line / Scroll Indicator */
width: 79%;
height: 3px;
margin-left: auto; /* it was 8px */
margin-right: auto;
left: 0; right: 0;
background: #000; }

.top-container { /* internally to the top-bar */
width: 95%;
padding-top: 1px;
padding-bottom: 1px;
margin: 0 auto;
background-color: transparent; }

#top-bar { /* alignment the top-bar */ 
width: 79%; /* the body width is 80% from min-width 1300px */
position: fixed;
padding-top: 1px;
padding-bottom: 1px;
margin-top: 1px;
margin-bottom: 1px;
margin-left: auto; /* it was 8px */
margin-right: auto;
left: 0; right: 0;
border-bottom: 0 solid #303030; }

#top-bar a {
color: #bbbfff;
font-size: 16px; /* 1em */
text-transform: uppercase;
text-decoration: none;
display: inline-block;
margin-left: 10px;
margin-right: 10px;
margin-bottom: 4px;
margin-top: 4px;
padding-top: 1px;
padding-bottom: 1px; }

#header {
margin-left: auto;
margin-right: auto;
width: 100%;
position: relative;
margin-top: 0;
margin-bottom: 11px;
background-color: transparent;
padding: 0 0;
}

#title1 {
  font-family: "Trebuchet MS", Tahoma, Ubuntu, Roboto, "Microsoft Sans Serif", sans-serif;
  color: #ffd700;
  font-size: 22px; /* 22px/16px = 1.375em */
  text-align: center;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 100%;  
  margin-top: 1px;
  margin-bottom: 3px; }
  
#title2 {
  font-family: "Times New Roman", serif;
  color: #3C3C64;
  font-size: 18px; /* 18px/16px = 1.125em */
  text-align: center;
  font-weight: 600;
  line-height: 160%; 
  padding: 1px; 
  margin-top: 0;
  margin-bottom: 0;  
  margin-left: 360px; }
  
.menu-fonts { 
  background-color: transparent;
  font-family: "Times New Roman", serif;
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  color: #bbc0ff;
  text-decoration: none; }

.navigate { 
  width: auto; /* 99% if the display is block */
  background-color: transparent;
  color: #ff0000;
  font-family: "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  text-indent: 0;
  letter-spacing: 0;
  line-height: 120%;
  margin-top: 16px;
  margin-bottom: 4px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  display: inline-block;
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 0; /* avoid horizontal scrollbar */
  padding-right: 0; /* avoid horizontal scrollbar */
  border-top: 1px solid #cccccc; /* #111111 */
  border-bottom: 1px solid #dddddd; /* #111111 */
  border-left: 1px solid #eeeeee; /* #cccccc */
  border-right: 1px solid #eeeeee; /* #cccccc */
  border-spacing: 1px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px 10px; }
  
.p-navigation { text-align: center; text-transform: uppercase; line-height: 120%; margin-top: 16px; margin-bottom: 0; hyphens: auto; word-wrap: break-word; overflow: auto; } 
  }

@media screen and (max-width: 480px) {
#top-bar {
padding: 0; 
margin-top: 0;
margin-left: 0;
margin-right: auto;
width: 99%;
position: fixed;
background-color: #000000;
line-height: 1.25em;
}
.navigate { 
width: 99%; /* avoid horizontal scrollbar */
background-color: #ffdd00;
font-family: "Times New Roman", Cambria, Constantia, serif;
font-size: 15px;
font-weight: 400;
text-align: center;
text-decoration: none;
text-indent: 0;
text-shadow: 0 0 0 #000000;
letter-spacing: 0;
line-height: 100%;
margin-left: auto;
margin-right: auto;
margin-top: 14px;
margin-bottom: 2px;
position: relative;
display: grid; /* display: block; */
padding-top: 1px;
padding-bottom: 1px;
padding-left: 0; /* avoid horizontal scrollbar */
padding-right: 0; /* avoid horizontal scrollbar */
border-top: 1px solid #ff0000;
border-bottom: 1px solid #ff0000;
border-left: 1px solid #ff9900;
border-right: 1px solid #ff9900;
border-spacing: 0;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px 10px;
word-break: break-all;
overflow-x: hidden; }
.p-navigation { text-align: center; text-transform: lowercase; line-height: 100%; margin-top: 72px; margin-bottom: 0; hyphens: auto; word-wrap: break-word; overflow: auto; word-break: break-all; }
}
   
@media all and (min-width: 1024px) { /* no top bar */
/* .container-top {width: 100%; padding: 0; margin: 0;}
#top-bar {display:none;} 
#header {
	margin-top: 0;
	padding: 0 0; } */
}
