



figure {
  margin: 0px;
  position: relative;
  line-height: 15px;
 /* display: inline-block; */
}

figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  color:white;
  right: 0;
  text-align:right;
  font-size: 0.775em;
  margin-left: auto;
  background: linear-gradient(to top, hsla(230, 40%, 5%, 0.95), hsla(230, 40%, 5%, 0));
  /*height:10px; */
}

figure img {
  width:100%;
  height:100%;
  /*display: block; */
}


.menu_outer_div {
    position: fixed;  
     display:inline-block;
     width: 120px;
     right: 5px; 
     top: 50px;
     z-index: 60;
     margin-right:20px;
}

.menu_div_class {
    position: absolute; 
    display:inline-block;
    font-size: 13.3333px;
    font-family: Ariel;
    width: 120px;
    /*
    right: 50px;
    top: 100px; */
    /*z-index: 60; */
}


.cloneControlsIdClass {
    position: absolute;
    display:inline-block;
    top:15px;
    left:45px;
    background-color:black;
    width:120px;

}

.search-container {

  /*float: right;

  position: fixed; 
  display:inline-block; */
   width: 120px;
}

#search_input {
    width:103px !important;
}

.fa-search {
  font-size: 0.7em;
   padding: 0em;
  width: 1px;

}


/*

.search-container input[type=text] {
  padding: 2px;
  margin-top: 3px;
  font-size: 14px;
  border: none;
  width: 130px;
}

.search-container button {
  float: right;
  padding: 2px 3px;
  margin-top: 3px;
  margin-right: 0px;
  background: #ddd;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.search-container button:hover {
  background: #ccc;
}

@media screen and (max-width: 600px) {
  .search-container {
    float: none;
  }
 .search-container input[type=text], .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 40%;
    margin: 0;
    padding: 14px;
  }
  .search-container input[type=text] {
    border: 1px solid #ccc;  
  }
}

*/

.search_and_button {
  display: flex; 
  justify-content: flex-end; 
}

/*.search_and_button input, search_and_button button { 
  margin-left: 5px;  Add some spacing between the input and the button  
} */


.hamburger {
    display:none;
    position: fixed;
    z-index: 30;
    top: 5px;
    right: 5px;
}
.sidemenu {
 position: absolute;   
  /*position: -webkit-sticky;
  position: sticky; */  

  display:none;

  height: 100%; 
  /*height: 900px; */

  width: 100px;
  z-index: 300;
  top: 0;
  right: 0;
  /*background-color: #1125; */
  background-color: rgba(17, 17, 34, 0.710);
  overflow-x: hidden; 
  transition: 0.5s;
  padding-top: 60px;
}

/*.sidemenu_outer {
    height: 100%;
    position: absolute;
} */ 

.sidemenu a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;

}

.SideMenuContainer {
    position: absolute;
    top:25px;
    left:10px;
    background-color:black;
    width:180px;
    font-size: 13.3333px;
    font-family: Ariel;
}


.sidemenu a:hover {
  color: #f1f1f1;
}

/*.sidemenu {
  position: absolute;
  top: 0px
  right: 5px;
  font-size: 36px;
} */

.closebtn {
  position: absolute;
  top: 0px;
  right: 10px;
  font-size: 36px;
  z-index:70;
  color:white;
  /*margin-left: 50px; */
}

@media screen and (max-height: 450px) {
  .sidemenu {padding-top: 15px;}
  .sidemenu a {font-size: 18px;}
}


/*
.nav-mobile{
   display: none; 
    position: absolute;
    top: 0;
    right: 0;
    height: 70px;
    width: 70px;
}

#nav-toggle{
    position: absolute;
    left: 18px;
    top: 22px;
    cursor: pointer;
    padding: 10px 35px 15px 0px;
}

#nav-toggle span,
#nav-toggle span::before,
#nav-toggle span::after{
    position: absolute;
    display: block;
    content: '';
    background: #fff;
    height: 5px;
    width: 35px;
    transition: all 300ms ease-in-out;
}

#nav-toggle span::before{
    top: -10px;
}

#nav-toggle span::after{
    bottom: -10px;
}

#nav-toggle.active span{
    background-color: transparent;
}

#nav-toggle.active span::before, #nav-toggle.active span::after{
    top: 0;
}

#nav-toggle.active span::before{
    transform: rotate(45deg);
}

#nav-toggle.active span::after{
    transform: rotate(-45deg);
}

*/



.social_button {
    width: 22px;
    height: 22px;
}

.share__button {
    width: 1vw;
    height: 1vw;
}

#share2-buttons  {
  font-size: 18px;
  margin: 5px;
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
  position: fixed;
  width:360px;
  z-index:200;
  background-color: #dce7fa;
  border: 3px solid  #9c2440;
  border-radius: 6px;
  visibility: hidden;
}

.share_tooltip {
  position: relative;
  display: inline-block;
  right:0px; bottom:0;
}

.share_tooltip .share_tooltiptext {
  visibility: hidden;
  width: 90px;
  background-color: white;
  color: black;
  text-align: center;
  border: 1px solid black;
  border-radius: 6px;
  padding: 3px 0;
  position: absolute;
  z-index: 1;
  top: -10px;
}

.share_tooltip:hover .share_tooltiptext {
  visibility: visible;
}

.social_button:hover {
   transform: scale(1.2);
}

.social_tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* social_tooltip text */
.social_tooltip .social_tooltiptext {
  visibility: hidden;
  width: 100px;
  background-color: white;
  color: black;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  border: 1px solid black;
  top:30px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.social_tooltip:hover .social_tooltiptext {
  visibility: visible;
}


body {

    scroll-behavior: smooth;

    /* background-image: url(red_white_blue_smear_small_white_overlay_1.png);  */
  background-image: url(red_white_blue_trans_pattern_small_1.png); 
 
  /*background-image: url(red_white_blue_trans_small_1.png); */
  background-repeat: repeat; 
   background-size: 100% 100%;
     min-height: 100vh;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-noir-customized .tooltipster-box {
	background: grey;
	border: 3px solid red;
	border-radius: 6px;
	box-shadow: 5px 5px 2px 0 rgba(0,0,0,0.4);
}

 a:link {
      text-decoration: none;
}

.tag-cloud {
  display: inline-block;
  color: white;
  padding:6px 10px;
  font-family: Arial;
  font-size: 13px;
  border-radius: 25px;
  border: 1px solid white  !important;
  background-color: #232f51 !important;
  margin-top: 8px;
  cursor: pointer;
}


* {
  box-sizing: border-box;
}


#grid_outer_div {
   top:135px; 
   position:absolute;
   width: 80%;
   left: 10%;
   overflow:hidden;
   /*border: 1px solid black; */ 
}

.viewport_grid {
  --min: 40ch;
  display: grid;
  /*grid-template-columns: repeat(4,1fr); */ 
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr));  
  /* grid-template-columns: repeat(4, minmax(min(100%, var(--min)), 1fr)); */ 
  column-gap: 10px;
  row-gap: 10px;
  overflow:hidden;
 /* max-width: 390px;*/     /* this does not scale but it does stack*/
 max-width: 100%;           /* this does not stack but it does scale*/
 /* border: 1px solid black; */ 
  margin: auto;
  align-items: center;
  justify-content: center;
}


#summary_outer_div {
   top:75px; 
   position:absolute;
   width: 80%;
   left: 10%;
  /* overflow:hidden; */
  /* border: 1px solid red; */ 
}

.viewport_summary {

    --min: 45ch;
    display: grid;
    /*grid-template-columns: repeat(4,1fr); */ 

   /*grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr)); */
   /* grid-template-columns: repeat(4, minmax(min(100%, var(--min)), 1fr)); */  
    grid-template-columns: repeat(4, minmax(min(100%, var(--min)), 1fr));  

    column-gap: 10px;
    row-gap: 10px;
   /* overflow:hidden; */
   /* max-width: 390px;*/     /* this does not scale but it does stack*/
    max-width: 100%;           /* this does not stack but it does scale*/
   /* border: 1px solid black; */ 
    margin: auto;
    align-items: center;
    justify-content: center;

   /* position: relative;   
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    top:-75px;
    padding-top: 15px;
    padding-bottom: 75px; 

    */
}


.gallery_summary_cell {
   border: 1px solid black; 
   margin: 0 auto;
   grid-column: span 2;
}

.wrapSummaryRow {

    grid-column: 1 / span 4;
    /*grid-row: 1; */
   /*width:100%; */
    text-align: center;
    margin-left: 33%;
}

.catSummaryRow {

    width:50%;
    border: 2px solid;
    
    background-color: #9c2440;
    font-size: 22px;
    text-align: center;
    font-weight: bold;
    color:white;
    height:50px;
  /* float: left; */
    align-items: center;
    padding-top: 10px;
    /*margin-bottom:-10px; */
    margin-top:15px;
    cursor: pointer;
}



.art_pic_class {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
  border: 1px solid black; 
}

.gallery_cell {
   border: 1px solid black; 
   margin: 0 auto;

}

 /* .gallery_bad:nth-child(4-1):last-of-type {
  background: coral;
  grid-column: 1 / -1;

  }  */

/* Dealing with orphan items */

.gallery_cell:last-child:nth-child(4n - 3) {
  grid-column: span 4;
}

/*
.gallery_bad:last-child:nth-child(3n - 1) {
  grid-column-end: -2;
}

.gallery_bad:nth-last-child(2):nth-child(3n + 1) {
  grid-column-end: 4;
}

/* Dealing with single orphan */
/*
.gallery_bad:last-child:nth-child(3n - 2) {
  grid-column-end: 5;
} */


.desc {
  padding: 3px;
  text-align: center;
  padding-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: white !important;
  margin-top: -4px !important;
  /* font-size: 0.85vw;*/
  font-size: 16px;
  font-family:Garmond;
  max-width: 100%;
  /*height: auto; */
  height: 55px
}

.published_time {
  padding: 3px; 
  text-align: center;
  height: 25px;
  background-color: white !important;
  overflow:visible !important;
  /* font-size: 0.8vw;*/
  font-size: 14px;
}

.gallery_cell:hover {
  border: 3px solid #777; 
  border-color: #ccc;

}



@media only screen and (max-width: 1660px) { 
/*edia screen and (min-width:769px) and (max-width:1024px) { */

    #categories{
        display: inline-block !important;
        transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    }
   
    #mySidenav {
        width: 0px;
        /*width: 150px; */
    }


    #cat_outer_div {
        height: 0px;
    }
    #grid_outer_div {
        top: 65px;
    }
    #viewport_details {
        top: 65px; 
    }
    #category_banner_div  {
        top: 10px;
    }
    #header_left_logo_img {
        width: 100px !important;
        height: 75px !important;
    }

    #grid_outer_div {
        left: 10%;
    }

    #summary_outer_div {
        left: 20%;
    }

    .viewport_grid {
     --min: 30ch;
    }

    .viewport_summary {
     --min: 30ch;
    }

 /*   .gallery {
        grid-column: auto / span 3;
    }
*/
}



@media only screen and (max-width: 2000px) and (min-width: 1380px)  {

    #categories{
        display: inline-block !important;
        transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    }

    #mySideMenu {
       width: 0 !important;
    }

}

@media only screen and (max-width: 1660px) and (min-width: 1380px)  {

    #mySidenav {
        /*width: 0px; */ 
        width: 150px;  
    }
    
    .menu_div_class {
       /*display: none; */
       display: block;
    }
    .viewport_details {
        margin-left: 140px !important;
    }
    .viewport_summary_details {
        margin-left: 0px !important;
    }
}

@media only screen and (max-width: 1380px) { 
/*@media screen and (min-width:481px) and (max-width:768px) { */

    .hamburger {
        display: block;
    }

    .menu_div_class {
       display: none;
    }

  /*  #categories{
        display: inline-block;
        transition: 0.5s;  0.5 second transition effect to slide in the sidenav
    }
    */

    #mySidenav {
       /*display: none; */
        width:0;
        transition: all 300ms ease-in-out;
    }

    #grid_outer_div {
        left: 15%;
    }

    #summary_outer_div {
        left: 15px;
    }

    #details_outer_div {
        left: 0px;
    }

    .viewport_details {
         margin-left: 0px !important;
    }

    .viewport_summary_details {
        margin-left: 0px !important;
    }

    .viewport_grid {
     --min: 25ch;
    }

    .viewport_summary {
     --min: 25ch;
    }
}



@media only screen and (max-width: 650px) { 
/*@media screen and (min-width:250px) and (max-width:480px) {  */

    #categories {
        display: none;
        transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    }

    .viewport_grid {
     --min: 15ch;
    }

    .viewport_summary {
     --min: 15ch;
    }


    #grid_outer_div {
        left: 10%;
    }

    #details_outer_div {
        left: 0%;
    }

    #summary_outer_div {
        left: 10%;
    }

    .viewport_details {
       margin-left: 0px !important;
     }

    .viewport_summary_details {
        margin-left: 0px !important;
    }
    .figcaption {
        font-size: 0.575em;
    }
}

@media only screen and (max-width: 600px) {
    .desc {
        font-size: 2.0vw;
    }
    .published_time {
        font-size: 1.6vw;
    }
    .menu_div_class {
       display: none;
    }

    #categories {
        width:120px;
        transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    }

    #grid_outer_div {
        left: 10%;
    }

    #details_outer_div {
        left: 5%;
    }

    .viewport_details {
        margin-left: 5px !important;
    }

    .viewport_summary_details {
        margin-left: 5px !important;
    }

    .figcaption {
        font-size: 0.575em;
    }
    
}



/*
div.gallery {
  border: 2px solid #232f51; 
  margin-top: 10px;
  text-align: center;
  background-color: white;
  overflow:hidden; 
  object-fit: cover !important;;
}
.art_pic_class {
      max-width: 100%;
      height: auto;
      background-color: white !important;
      margin-bottom: 0px  !important;
}
.image_wrap {
    width: 100%;
    height:auto;
    overflow: hidden;  
}
img {
  max-width: 100%;
  height: auto;
  overflow: hidden;
}
.responsive {
  padding: 0 6px;
  float: left;
  max-width: 16.99999%;
}
@media only screen and (max-width: 700px) {
  .responsive {
    max-width: 29.99999%;
    margin: 6px 0;
  }
}
@media only screen and (max-width: 550px) {
      .responsive {
        max-width: 75%;
      }
}
@media only screen and (max-width: 400px) {
      .responsive {
        max-width: 100%;
      }
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
div.desc {
  padding: 3px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: white  !important;
  margin-top:  -4px  !important;
  font-size: 0.83vw;
  max-width: 100%;
  height: auto;
}
.published_time {
  padding: 3px;
  text-align: center;
  height: 25px;
  margin-bottom: 2px; 
  background-color: white  !important;
  overflow:visible:  !important;
  font-size: 0.8vw;
}

*/

.favicon_class {
    width: 1vw !important;
    height: 1vw !important;

}

* {
  box-sizing: border-box;
}


.viewport_details {
    position: absolute; 
    margin: 0 auto;    
    margin-top: 30px;   
    margin-left: 100px;  
    font-size: 15px; 
    background-image: url(https://scanthenews.com/red_white_blue_smear_small_white_overlay_2.png); 
    background-repeat: no-repeat;  
    background-attachment: fixed;   
    background-size: 100% 100%;     
    padding-left: 15px; 
    padding-top: 15px;  
    padding-bottom: 75px;  
    top:120px;  
     
} 


.viewport_summary_details {
    margin: 0 auto;
    margin-top: 0px; 
    margin-left: 100px; 
    font-size: 15px;
    background-image: url(https://scanthenews.com/red_white_blue_smear_small_white_overlay_2.png);
    background-repeat: no-repeat;
    background-attachment: fixed;  
    background-size: 100% 100%;    
    padding-left: 15px; 
    padding-top: 15px;
    padding-bottom: 75px;  
}



.my_none {
    display: none; 
}
.content div {
  cursor: pointer;
  margin: 0 0 15px 0;
}
.hide {
    display: none !important;
}
.color_counter {
    color: #7FFF00;
     font-size: 11px;
   /* font-weight: bold; */
}

/* The TOP  navigation menu */
.topnav {

  padding-left:130px;
  padding-right:80px;

  align-items: center;
  height:auto; /* 100% Full-height */
  width: 100%; /* 0 width - change this with JavaScript */
  position: fixed; /*Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  right: 0;
  /* background-color: rgba(255, 255, 255, 0.5); */
  background-image: url('clear.png');
  overflow-x: hidden; /* Disable horizontal scroll */
  overflow-y: hidden; /* Disable verticle scroll */
  padding-top: 0px; /* Place content 60px from the top */
  transition: 0.5s ease-in-out;  /* 0.5 second transition effect to slide in the sidenav */

}

.top-nav-darker {
    background-image: url('dark.png') !important;
}


/* The side navigation menu */
.sidenav {
  height: 900px; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 70px; /* Move it down */
  left: 0;
  background-image: url('clear.png');
  overflow-x: hidden; /* Disable horizontal scroll */
  overflow-y: scroll;
  padding-top: 10px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  scrollbar-color:  #9c2440 white; 
}

#categories {
 /*osition: auto; */
  display:inline-block;
  align-items: center;
  text-align: center;

  transition: all 300ms ease-in-out;
}


.cloneCatsClass {
 /*osition: auto; */
  display:inline-block;
  align-items: center;
  text-align: center;

  /*transition: all 300ms ease-in-out; */
}

.category_banner_class {

    position: absolute;
    min-width:20%;

    border: 2px solid white;
    background-color: #9c2440;
    color:white;

    font-size: 22px;
    text-align: center;
    font-weight: bold;
    height:40px;
    top:9%;
    right:40%;
    /*float: left; */
    align-items: center;
    padding-top: 5px;

}


/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  padding: 20px;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #232f51;
  color: white;
  text-align: center;
  z-index:100;
}

.article_select_class {
    width: 100%;
    height: 25px;
    background-color: #232f51;
    color: white;
    font-size: 15px;
    font-family: Ariel;
    border-color: transparent;
    text-align: center;
}

.article_select_class>option {
    background-color: #232f51;
    font-family:Ariel;
    font-size: 15px;
    width: 100%;
}

     /* Mobile View 
      @media screen and (min-width:250px) and (max-width:480px) {
        .gallery{
          grid-template-columns: repeat(1,1fr);
        }
      }

       /* Tablet View 
       @media screen and (min-width:481px) and (max-width:768px) {
        .gallery{
          grid-template-columns: repeat(3,1fr);
        }
      }
       /* Laptop View 
       @media screen and (min-width:769px) and (max-width:1024px) {
        .gallery{
          grid-template-columns: repeat(4,1fr);
        }
      }   */

