/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #00b8b8;
  /*background-image: url('../images/bg_diamond.png');*/
	background-position: top;
  font-size: 18px;
  font-family: "Times New Roman", serif;
  margin: 0;
}

p, ol {
  line-height: 1.4em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
  margin-top: 5px;
  margin-bottom: 5px;
}

hr {
  border: solid #c7b591;
  border-width: 2px 0 0 0;
}

td {
	vertical-align: top;
	text-align: start;
	padding-left:15px;
	padding-right:15px;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
    max-width: 60%;
    height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a:hover { 
  background-color: #fff6f6;
}

h1, h2, h3, h4, h5 {
  font-family: "Times New Roman", serif;
  color: #34436f;
  margin-top: 10px;
  margin-bottom: 0px;
}

footer {padding:10px;}

#favicon {
		image-rendering: pixelated;
}


#menubuttonimg:hover{
  background-color: transparent;
}
#menubuttonimg > img{
	border: double;
	border-color: #888888;
	min-width:64px !important;
	min-height:64px !important;
}  
#menubuttonimg > img:hover{
	border-color: #0000FF;
}  
#galleryimages a:hover{
  background-color: transparent;
}
#galleryimages a > img:hover{
	border-color: #0000FF;
}

#content {
  padding: 10px 5% 20px 5%;
}

.blurb {
	padding-top: 10px;
	padding-bottom: 10px;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 1600px;
	background-color: #f0f0f0;
  color: #151515; 
  outline-color: #c9c9c9;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}


#galleryimages {
  /*-webkit-column-count: 3;*/
  /*-webkit-column-gap: 0px;*/
  /*-ms-column-count: 3;*/
  /*-ms-column-gap: 0px;*/
  /*-moz-column-count: 3;*/
  /*-moz-column-gap: 0px;*/
  /*column-count: 3;*/
  /*gap: 20px;*/

  margin: auto;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;

  /*max-width: 1460px;*/
  /*justify-content: center;*/
  
   display: flex;
   align-items: left;
   justify-content: left;
   flex-direction: row;
   flex-wrap: wrap;
   flex-flow: row wrap;
   align-content: flex-end;
    justify-content: center;
}

  #galleryimages img {
    /* Just in case there are inline attributes */
    height:300px;
    /*max-width:90%;*/
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
    justify-content: center;
    align-self: center;
	border: double;
	border-color: #888888;
  }

  .wideimg {
    width: 90%;
    /*padding-left: 20px;*/
    /*padding-right: 20px;*/
    max-width: 760px;
    justify-content: center;
    margin: auto;
  }

  .twoimg {
    display: flex;
    column-count: 2;
    max-width: 1460px;
    margin: auto;
    /*padding-left: 20px;*/
    /*padding-right: 20px;*/
    margin-bottom: 0px;
    gap: 15px;
    width: 90%;
  }

    .twoimg img {max-width: 50%;}


@media (max-width: 1200px) {
  #galleryimages {
    -ms-column-count: 2;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    gap: 20px;
  }
  }
  
    /*
  SINGLE COLUMN LAYOUT -------------------------------------
  */
  @media (max-width: 800px) {
      #galleryimages {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  
    margin: auto;
    padding-top: 20px;
    /*padding-left: 15px;*/
    /*padding-right: 15px;*/
    padding-bottom: 20px;
  
    max-width: 1460px;
    justify-content: center;
  }
  
    #galleryimages img {
      /* Just in case there are inline attributes */
      width: 100%;
      height: auto;
      padding-bottom: 10px;
    }
  
    .twoimg {
      display: flex;
      flex-direction: column;
      column-count: 1;
      margin: auto;
      padding-left: 10px;
      padding-right: 10px;
      padding-bottom: 10px;
      gap: 10px;
      width: 100%;
    }
  
      .twoimg img {max-width: 100%;}
  
    .backtotop {padding: 10px}
  }


/*HEADER STYLE*/
#header {
  background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
  /*padding: .05em .1em;*/
}
#headerTwo {
  background: #d9d9d9;
  padding: 0 4px;
  border-color: #d9d9d9;
  border-style: ridge;
  border-width:  0 0 4px 0;
}
#header ul {
  list-style-type: none;
  /*padding: 0.5em 0;*/
  margin: 0;
}
#headerTwo ul {
  list-style-type: none;
  display: flex;
  /*padding: 0.5em 0;*/
  padding: 0 !important;
  margin: 0;
}
#header li {
  font-size: .8em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}

#header div {
  font-size: .8em;
  display: flex;
  font-family: "MS Sans Serif", sans-serif;
  font-weight: bold;
  color: white;
  margin-bottom: 0.0em;
  margin-top: 0.0em;
  align-items: center;
}
#header div div {
  font-size: .9em;
  display: inline-block;
  font-family: "MS Sans Serif", sans-serif;
  font-weight: bold;
  color: white;
  margin-bottom: 0.0em;
  margin-top: 0.0em;
  /*padding-top: 4px;*/
}
#header img {
  padding: 2px;
  margin-bottom: 0.0em !important;
  margin-top: 0.0em !important;
  margin-right: 0.2em;
}
#headerTwo li {
  font-size: .7em;
  font-family: "MS Sans Serif", sans-serif;
  display: inline-block;
  margin-right: .5em;
  margin-bottom: 0.0em;
  margin-top: 0.1em;
  padding: 0;
}
#header li a {
  color: white;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-decoration: underline;
}
#headerTwo li a {
  color: black;
  text-decoration: none;
  background-color: inherit;
}
#headerTwo li a:hover {
  background-color: #fff6f6;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}