#homemain {
    /* width: 100vw; */
    /* padding-top: 4%; */
    text-align: center;
    /* background-image: url('/images/slider/smharchive-banner.jpg');  */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: block;
}
#home, #archives #recent_archives, #archives #recent_editions {
    /* height: 500px; */
    position: relative;
    display: block;
}

#home .search-banner {
  position: relative;
  /* top: 70%; */
  transform: perspective(1px) translateY(850%);
}

#home .panel {
    opacity: .95;
    border-color: #d6e9c6;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#home .panel:hover {
    opacity: 1;
    box-shadow: 0 2px 8px 3px rgba(0, 0, 0, 0.5), 0 3px 8px 3px rgba(0, 0, 0, 0.5);
}

#home .search-banner .search-container .panel .panel-heading {
    padding: 3px 15px; /* overwrite default */
    text-align: right;
}

.panel-body.panel-irish {
    /* background-color: #437a4e; */
    background-color: rgba(76, 175, 80, 0.59);
}

a.search-subscribe {
    font-size: 1.3em;
    color: #ff9900;
    font-weight: bold;
    font-family: 'Times New Roman', 'Courier New';
}

a.search-subscribe .glyphicon{
    font-size: .8em;
}

a.search-subscribe:hover {
    color: grey;
    /* color: white; */
}

/* enable absolute positioning */
.inner-addon {
    position: relative;
}

  /* style glyph */
.inner-addon .glyphicon {
    position: absolute;
    padding: 8px;
    font-size: 2em;
    pointer-events: none;
    z-index: 1;
    color: grey;
}

/* align glyph */
.left-addon .glyphicon  { left:  0px;}
.right-addon .glyphicon { right: 15px;}

/* add padding  */
.left-addon input  { padding-left:  30px; }
.right-addon input { padding-right: 30px; }

input[name='search_olive']:focus {
    box-shadow: 0 0 5px rgb(207, 162, 13);
    border: 2px solid rgb(207, 162, 13);
}

#home .input-lg {
    font-size: 1.2em;
}

#archives {
  height: auto;
  width: 100%;
  overflow: hidden;
  margin: 1.5em 0 0;
  /* padding: 0; */
}

#archives .section-headline h4{
  margin-bottom: 1.2em;
  font-size: 32px;
  font-weight: 600;
  text-transform: capitalize;
  display: inline-block;
  position: relative;
}

.section-headline h4::after {
  border: 1px solid #333;
  bottom: -20px;
  content: "";
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  width: 40%;
}

#archives .tab-content div#archive-list {
  position: relative;
}

#archives ul.pagination {
  /* position: relative; */
  /* bottom: 0; */
  width: 100% !important;
  margin: 0 auto;
}

#archives ul.nav-pills li.active a {
  background-color: #dddddd;
  color: #15882a;
}

#archives ul.nav-pills li a {
  background-color: #e5f7e6;
  color: black;
}

#archives .easyPaginateList {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
  /* height: 72.5vh; */
  height: 560px;
}

#archives .tab-content .tab-pane h4 {
  padding: .5em 0em;
  /* margin: 0 auto; */
  margin: 0 auto .25em;
  display: block;
  /* height: 50px; */
  color: #15882a;
}

#archives #archive-list h6 {
  margin: .5em auto;
  display: block;
  height: 50px;
  color: #15882a;
}


#archives .tab-content {
  background-color: #dddddd;
  position: relative;
  display: block;
}

#archives #recent_archives, #archives #recent_editions {
  /* padding: 1.5em .5em 1.5em; */
  margin-bottom: 2em;
}


/* SCROLLABLE HIDDEN SCROLL BAR */

#archives #recent_archives .section-headline, #archives #recent_editions .section-headline {
  height: 10%;
  display: block;
}


#archives #recent_archives .row {
  background-color: none;
  height: 90%;
  overflow: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

#archives #recent_editions .tab-content {
  border-radius: 4px;
}

#archives #recent_editions #archive_list {
  position: relative;
  display: block;
}

#archives #recent_archives div::-webkit-scrollbar { /* WebKit */
  display: none;
}

#archives #recent_archives .archive-img {
  /* width: 80%; */
  margin: 0 1em;
}

#archives #recent_editions .archive-img {
  margin: 0 .5em;
}

#archives #recent_archives .col-newspaper-thumbnail {
  padding-right: 0;
}

#archives .archive-content{
  height: auto;
  display: block;
  /* margin: 1em auto; */
}

#home .select2-dropdown.select2-dropdown--below{
  /* width: 148px !important; */
}

#home .select2-container--default .select2-selection--single{
  padding: 7px 10px;
  height: 44px;
  font-size: 1.2em;  
  position: relative;
  width: 100%;
  color: #555;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 4px;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

#home .select2-container--open {
  width: 100%;
  border: 2px solid rgb(207, 162, 13);
  border-radius: 4px;
  outline: 0;
  -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
  box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)
}

#home .select2-container--default .select2-selection--single .select2-selection__arrow {
/* background-image: -khtml-gradient(linear, left top, left bottom, from(#3c763d), to(#15882a));
background-image: -moz-linear-gradient(top, #3c763d, #15882a);
background-image: -ms-linear-gradient(top, #3c763d, #15882a);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3c763d), color-stop(100%, #15882a));
background-image: -webkit-linear-gradient(top, #3c763d, #15882a);
background-image: -o-linear-gradient(top, #3c763d, #15882a);
background-image: linear-gradient(#3c763d, #15882a);
color: #fff; */
font-size: 1.2em;
padding: 4px 12px;
height: 44px;
position: absolute;
top: 0px;
right: 0px;
width: 25px;
}

#home .select2-container--default .select2-selection--single:focus{
  border: none;
}

#home .txt-search::-webkit-input-placeholder {
  text-align: center;
}

#home .txt-search:-moz-placeholder { /* Firefox 18- */
  text-align: center;  
}

#home .txt-search::-moz-placeholder {  /* Firefox 19+ */
  text-align: center;  
}

#home .txt-search:-ms-input-placeholder {  
  text-align: center; 
}

#home .select2-container--default {
  width: 100%;
  border: 2px solid #ccc;
  border-radius: 4px;
}

/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  
  /* Transparent Overlay */
  .loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
      background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
  
    background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
  }
  
  /* :not(:required) hides these rules from IE9 and below */
  .loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
  }
  
  .loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 1500ms infinite linear;
    -moz-animation: spinner 1500ms infinite linear;
    -ms-animation: spinner 1500ms infinite linear;
    -o-animation: spinner 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
  }
  
  /* Animation */
  
  @-webkit-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-moz-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-o-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

  /* .easyPaginateNav {
    text-align: center;
    width: 100% important;
  } */

  /* ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {
  
  /* //CSS */
  
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {
  
  /* //CSS */
  
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 834px) and (max-width: 1024px) {


  #archives #recent_archives, #archives #recent_editions {
    height: 730px;
  }

  #archives .easyPaginateList {
    height: 500px;
  }  

}

@media (min-width: 768px) and (max-width: 834px) {

  #archives #recent_archives, #archives #recent_editions {
    height: 730px;
  }

  #archives .easyPaginateList {
    height: 500px;
  }  

  #archives .easyPaginateList .archive-thumbnail {
    padding: 0 2.5em;
  }
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  /* //CSS */
  
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

  .sub-subnavbar>.navbar-header a.navbar-brand{
    display: inline-block !important;
    padding: 20px 5% !important
  }
  .sub-subnavbar #subnavbar .nav-pills li{
    padding-left: 5%;
    padding-right: 5%;
  }
  .sub-subnavbar #subnavbar .nav-pills a{
    padding: 0;
  }
  .description-header, .description-smh, .description-subscribe, .subscribe-div p{
    padding-left: 5%;
    padding-right: 5%;
  }
  /* //CSS */
  
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

  .sub-subnavbar>.navbar-header a.navbar-brand{
    display: inline-block !important;
    padding: 20px 5% !important
  }
  .sub-subnavbar #subnavbar .nav-pills li{
    padding-left: 5%;
    padding-right: 5%;
  }
  .sub-subnavbar #subnavbar .nav-pills a{
    padding: 0;
  }
  .description-header, .description-smh, .description-subscribe, .subscribe-div p{
    padding-left: 5%;
    padding-right: 5%;
  }

  #archives #recent_archives, #archives #recent_editions {
    height: 650px;
    margin: 0em auto;
  }

  #archives #recent_archives {
    margin-bottom: 2em;
  }

  #archives .tab-content .tab-pane h4 {
    display: none;
  }

  #archives .easyPaginateList {
    padding: 2em 0 1em;
    height: 400px;
  }

  #archives #recent_archives .col-newspaper-content {
    width: 100%;
    text-align: left;
  }
  
  #archives #recent_archives .col-newspaper-thumbnail {
    padding: 0;
    width: 50%;
    display: block;
    margin: 1.5em 25%;
  }

  #archives #recent_archives .col-newspaper-thumbnail .archive-img img {
    /* margin:0 uato; */
  }

  #archives #recent_editions .row .archive-thumbnail{
    width: 33.3%;
  }
  
  /* //CSS */
  
}

.dashboard-padding{
  padding: 100px 0px 0px;
  min-height: 80vh;
  /* height: 80vh; */
}
.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none;
}

.auto_login_btn{
  background-color: #fff;
  color: #010E2A;
}
.auto_login_btn:hover{
  background-color: #ddd;
  color: #010E2A;
}
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
} 
/* .swal2-popup {
  font-size: 1.6rem !important;
} */


