/*=================================
 * Just Pico Theme
 * By: Mattia Roccoberton
 * http://blocknot.es
 *=================================*/

* {


    font-family: 'Roboto Slab', serif;
    font-family: 'Open Sans', sans-serif;

}

body {
  color: #00457c;
  overflow-y: scroll;
background-color:white;
    margin: 0px;
}

p{
font-family: 'Roboto Slab', sans-serif;
font-size: 18px;
line-height: 30px;
margin-bottom: 35px;
color: #2c2c2c;
}

a {
  color: #48f;
  text-decoration: none;
}


ul, li {
  font-family: 'Roboto Slab', sans-serif !important;
    font-size: 1em;
  line-height: 30px;

  color: #2c2c2c;

}

i, em {
    font-style: italic;
    font-family: 'Roboto Slab', sans-serif;
}

main {
  margin: 0;
}

.pure-img-responsive {
  max-width: 100%;
  height: auto;
}

/*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
.menu-link {
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

/*
This is the parent `<div>` that contains the menu and the content area.
*/
#layout {
  position: relative;
  padding-left: 0;
}

#layout.active #menu {
  left: 300px;
  width: 300px;
  top:3.5em;
}

#layout.active .menu-link {
  left: 0px;
  width: 300px;
}

.secondary-nav{
  padding-bottom: 2em;
}

.secondary-nav ul{
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background: #00457c;
}

.secondary-nav a{
    color:white;
    display:block;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    padding: 1em;
}

.secondary-nav li{
  display:inline-block;
}

.header {
  margin: 0;
  color: #333;
  text-align: center;
  padding: 2.5em 0 !important;

}
h1 {
  margin: 0.2em 0;
  font-size: 3em;
  font-weight: 300;
  color: #00457c;
  line-height: 1.1em;
margin-bottom: 1em;
}

h2 {
  font-weight: 300;
  color: #eaaa00;
  padding: 0;
  margin-top: 0;
  font-size: 2em;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.5em;
  color: #00457c;
}

h4 {
  color: #eaaa00;
}

.content-subhead {
  margin: 50px 0 20px 0;
  font-weight: 300;
  color: #888;
}

.two-columns {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 40px;
column-gap: 40px;
-moz-column-gap: 40px;
list-style:none;
}


ul.two-columns{
  margin-left: -40px;
}

.numbered-list {
  list-style:initial;
}

.top-button{
    position:fixed;
    bottom: 2%;
    right:2%;
    z-index: 1000;
    background-color: #00457c;
    padding:1em;

}
a.top-button:link{
  color: #fff;
}

a.top-button:visited{
  color: #fff;
}

/*
The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
appears on the left side of the page.
*/

#menu {
  margin-left: -300px; /* "#menu" width */
  width: 300px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1000; /* so the menu or its navicon stays above all content */
  background: #00457c;
  overflow-y: auto;
  text-align: left;
  -webkit-overflow-scrolling: touch;
}
/*
All anchors inside the menu should be styled like this.
*/
#menu a {
  display: block;
  color: #fff;
  font-size: 18px;
  min-height: 41px;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 0 0;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;

}
#menu a:hover {
  text-decoration: none;
}

/*
Remove all background/borders, since we are applying them to #menu.
*/
#menu .pure-menu,
#menu .pure-menu ul {
  border: none;
  background: transparent;
  list-style-type: none;
    padding: 0;
    margin: 0;
}

/*
Add that light border to separate items into groups.
*/
#menu .pure-menu ul,
#menu .pure-menu .menu-item-divided {
  border-top: 1px solid #333;
}
/*
Change color of the anchor links on hover/focus.
*/
#menu .pure-menu li a:hover,
#menu .pure-menu li a:focus {
  color: #fff;
  background: #2c2c2c;
}

/*
This styles the selected menu item `<li>`.
*/
#menu .pure-menu-selected,
#menu .pure-menu-heading {
  background: #2c2c2c;
}

/*
This styles a link within a selected menu item `<li>`.
*/
#menu .pure-menu-selected a {
  color: #fff;
}

/*
This styles the menu heading.
*/
#menu .pure-menu-heading {
  font-size: 110%;
  color: #fff;
  margin: 0;
}

#menuLink {
  background: #00457c;
}

#overlay {
  background: rgba( 0, 0, 0, 0.8 );
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  text-align: center;
  z-index: 999999;
}
#overlay img {
  max-width: 100%;
  max-height: 100%;
}

main .content {
padding: 1em 2em;
font-family: 'Open Sans', sans-serif;
font-size: 18px;
line-height: 30px;
margin-bottom: 35px;

}




/*.blog .content > div {
  border-bottom: 1px dotted #aaa;
  padding-bottom: 15px;
}*/

/* -- Dynamic Button For Responsive Menu -------------------------------------*/

/*
The button to open/close the Menu is custom-made and not part of Pure. Here's
how it works:
*/

/*
`.menu-link` represents the responsive menu toggle that shows/hides on
small screens.
*/
.menu-link {
  position: fixed;
  display: block; /* show this only on small screens */
  top: 0;
  left: 0; /* "#menu width" */
  background: #000;
  background: rgba(0,0,0,0.7);
  font-size: 10px; /* change this value to increase/decrease button size */
  z-index: 10;
  width: 100%;
  height: 45px;
  padding: 1.5em 0em;
  text-align: center;
}

.menu-link-text {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    margin:0;
}

.menu-link:hover,
.menu-link:focus {
  background: #000;
}

.menu-link span {
  position: relative;
  display: block;
}

.menu-link span,
.menu-link span:before,
.menu-link span:after {
  background-color: #fff;
  width: 100%;
  height: 0.2em;
}

.menu-link span:before,
.menu-link span:after {
  position: absolute;
  margin-top: -0.6em;
  content: " ";
}

.menu-link span:after {
  margin-top: 0.6em;
}

/*
 * Blog template
 */
.content-subhead {
  text-transform: uppercase;
  color: #aaa;
  border-bottom: 1px dotted #aaa;
  margin-bottom: 4em;
  padding: 0.4em 0;
  font-size: 80%;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.post {
  background: #f4f4f4;
  border: 2px solid #999;
  padding: 0 1.5em;
  position: relative;
  margin: 0 0 2em 76px;
}
.post-avatar {
  border-radius: 50px;
  float: right;
  margin-left: 1em;
}
.post-category {
  margin: 0 0.1em;
  padding: 0.3em 1em;
  color: #fff;
  background: #999;
  font-size: 80%;
}
.post-date {
  background: #f4f4f4;
  border: 2px solid #999;
  height: 76px;
  position: absolute;
  width: 76px;
}
.post-date .month {
  background: #fe1;
  border-bottom: 2px solid #999;
  color: #444;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}
.post-date .day {
  color: #444;
  font-size: 22px;
  font-weight: bold;
  padding-top: 4px;
  text-align: center;
}
.post-date .year {
  bottom: 0;
  font-size: 12px;
  line-height: 22px;
  position: absolute;
  text-align: center;
  width: 100%;
}
.post-description {
  color: #666;
  line-height: 1.8em;
}
.post-description > p {
  z-index: 2;
}
.post-image {
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}
.post-meta {
  color: #999;
  font-size: 90%;
  margin: 0;
}
.post-tag {
  background: #cde;
  font-size: 0.9em;
  padding: 2px 6px;
}
.post-title {
  font-size: 2em;
  font-weight: normal;
  margin-bottom: 0.5em;
}
.post-title a {
  color: #222;
}

/*
 * Blog-item template
 */
.blog-item .meta-image {
  text-align: center;
}
.blog-item .meta-image img {
  margin: 0 auto;
  vertical-align: top;
  width: 50%;
}
.blog-item .meta-time {
  color: #aaa;
  float: right;
  font-size: 12px;
  margin: 0 -15px 0 0;
}

/*
 * Gallery template
 */
.gallery {
  margin: 0;
}
.gallery .grid {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
  column-gap: 20px;
}
.gallery .grid-item {
  display: inline-block;
  margin-bottom: 18px;
  text-align: center;
  width: 100%;
}
.gallery .grid-item img {
  cursor: pointer;
  vertical-align: top;
  width: 100%;
}

/*
 * More styles
 */
#menu .pure-menu-heading {
  background: transparent;
}

#logo {
  background: #181818 !important;
  display: block;
  padding: 1.8em 1em !important;
}
#logo img {
  width: 90%;
}



#footer {
  color: #f0b310;
  bottom: 0;
  font-size: 0.8rem;
  margin-bottom: 10px;
  text-align: center;
  margin-top:50px;
}
#footer a {
  color: #008;
  text-decoration: none;
}



.gallery main {
  margin: 0 15px;
}

.menu__item i {
  text-align: center;
  margin-left:10px;
  width:24px;
  margin-bottom: 8px;
  /*float:left;*/
  margin-top:3px;

}

i{
  color: #f0b310;
  padding-right:10px;
}

.menu__logo {
display: block;
margin: 0 auto;
width: 80%;
padding-top: 20px;

}

.menu__date {
  text-align:center;
  color:white;
  font-family: 'Open Sans', sans-serif;
  padding-top:0;
  padding-bottom:10px;
  margin-bottom: 0px;
}

.menu__button {
border: 2px solid #ffffff !important;
padding: 0 !important;
width: 80%;
margin-bottom: 30px;
margin-top: 30px;
height: auto;
text-indent: 0;
text-align: center;
height: auto;
font-size: 18px;
text-transform: uppercase;
font-family: 'Open Sans', sans-serif;
color: #fff;
display: block;
line-height: 42px;
margin:0 auto;
margin-top: 20px;
}

.main__bgimg {
/*height: 100%;*/
/*width: 100%;
text-align: center;
padding: 0;
background-size: cover;
background-position: top center;
position: absolute;
top: 0;
left: 0;
z-index: 2;
margin: 0 auto;
*/
text-align: center;
padding: 0;
background-size: cover;
background-position: top center;
background-repeat: no-repeat;
width: 100%;
min-height: 100vh; /* ensure it covers at least the screen height */
z-index: 2;
margin: 0 auto;
padding-bottom:10px
}

.main__div{
vertical-align: middle;
margin: 0;
padding: 0 20px;
float: none;
height: 100%;
width: 100%;
}

.main__image {
  width: 600px;
  margin-top:4em;
}

.main__subtitle {
display: block;
color: #ffffff;
text-transform: uppercase;
font-weight: 100;
font-size: 1.15em;
margin-bottom: 2em;
font-weight: 300;
font-family: 'Open Sans', sans-serif;
}

.main__p {
  font-size: 30px;
margin-top: 20px;
margin-bottom: 10px;
text-transform: none;
color: #FFF;
font-weight: normal;
}

.main__date {
text-transform: uppercase;
color: #00457c;
font-size: 1.5em;
background: transparent;
padding: 0 15px;
margin: 0 0 10px;
margin-top: 0px;
margin-bottom: 1em;
font-family: 'Open Sans', sans-serif;
font-weight: 600;
letter-spacing: .10em;
}
.main__location {
text-transform: uppercase;
color: #f0b310;
font-size: 1.75em;
background: transparent;
padding: 0 15px;
margin: 0 0 10px;
margin-top: 0px;
margin-bottom: 1em;
font-family: 'Open Sans', sans-serif;
font-weight: 600;
letter-spacing: .05em;
}

.main__button {
  width: 298px;
height: 70px;
color: #fff;
background: transparent;
border: 2px solid #fff;
font-size: 26px;
text-transform: uppercase;
text-align: center;
font-weight: 200;
line-height: 66px;
display: inline-block;
margin-top: 20px;

}

hr{
color: #eaa000;
border-top: 2px solid;
margin-bottom: 2em;
}

.no-bullets{
  list-style:none;
  padding: 0;
}

.tg  {width:100%;border-collapse:collapse;border-spacing:0;}
.tg td{font-size:14px;padding:10px 5px;font-weight:600;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
.tg th{background-color:#eaaa00;font-size:14px;font-weight:900;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
.tg .tg-yw4l{vertical-align:top}
.tgc {text-align:center;}

/* -- Responsive Styles (Media Queries) ------------------------------------- */

/*
Hides the menu at `48em`, but modify this based on your app's needs.
*/
@media (min-width: 48em) {

  #layout {
    padding-left: 300px; /* left col width "#menu" */
    left: 0;
  }
  #menu {
    left: 300px;
  }

  .menu-link {
    position: fixed;
    left: 300px;
    display: none;
  }

  #layout.active .menu-link {
    left: 300px;
  }
}

@media (max-width: 48em) {
  #layout.active {
    position: relative;
    left: 300px;
  }
h2 {
    font-size: 1.5em;
    letter-spacing: 2px;
  }
h3 {
  font-size: 1.25em;
}
.top-button {
  padding: .5em;
  font-size: .75em;
}
.secondary-nav ul{
  padding: 0;
}
.two-columns {
  -webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
.main__div {
  padding: 0;
}

.main__image{
  width:100%;
  margin-bottom:1em;
}
.main__subtitle{
  margin-bottom: 0;
  font-size: 1.25em;
}
.main__p{
  font-size: 1em;
}
.main__location {
  font-size: 1em;
}

  .main__date{
    font-size: 1em;
  }

  .main__button {
    width: 80%;
    font-size: 1em;
  }


}

@media( min-width: 480px ) {
  main {
    margin: 0 12px;
  }
  .gallery .grid {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}

@media( min-width: 768px ) {
  main {
    margin: 0 25px;
  }
}

@media( min-width: 992px ) {
  main {
    margin: 0 50px;
  }
  .gallery .grid {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
  }
}

@media( min-width: 1200px ) {
}

@media( min-width: 1600px ) {
  .gallery .grid {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
  }
}
