/* Original color: 3a7ca5 3a7ca5 */

.bg-light { 
    background-color: #fff!important; /*#fafafa!important;*/
    
}

.scrolled {
    border-bottom: 1px solid #ddd;
    /*box-shadow: 0 .25rem 1.15rem #f8f9fa !important*/
}

form.d-flex {
position:relative;
    top: 2px;
}

form.d-flex input {
    width: 280px;
    background: #f8f9fa;
    
}

.red {
    color: #E71B23;
}

.logo {
    width: 200px;
    max-width: 75vw;
}

.light {
    color: #aaa;
    font-size: 0.95rem;
}

.backbutton a {
    color:#707070;
    font-size: 1.6rem;
}

.backbutton a:hover {
    color:#707070;
}

html, body { font-size: 14px; }
      
body {
    /* For sticky footer */
    display: flex; 
    min-height: 100vh;
    flex-direction: column;
    font-weight: 400;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    /*font-family: "Nata Sans", sans-serif;*/
    font-family: "Arimo", sans-serif;
    /*font-family: "Roboto", sans-serif;*/
    /*font-size: 1.0rem;*/
    line-height: 1.6;
    color: #444;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: "liga", "kern";
}

/* For sticky footer */
main {
    flex: 1;
}


article, .thumbnail {
    overflow: hidden;
}


article a img, .thumbnail a img {
    transition: transform 0.5s ease;
}

article a:hover img, .thumbnail a:hover img {
    transform: scale(1.1);
}


.bg-primary {
    background-color: #3a7ca5!important;
}

.btn-outline-primary {
    color: #3a7ca5;
    /*border-color: #3a7ca5;*/
    /*border: none;*/
}

.nav-item .btn-outline-primary {
    border:none;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #3a7ca5;
    border-color: #3a7ca5;
}

.form-control {
    border: none;
}


a, a:hover, a:focus, .page-link, a.nav-link i {
color: #3a7ca5;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #3a7ca5;
}


.navbar-light .navbar-nav .nav-link {
    color: #3a7ca5;
}

.page-item.active .page-link {
background-color: #3a7ca5;
border-color: #3a7ca5;
}

a {
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

a.navbar-brand:hover {
    text-decoration: none;
}

a.anchor{display: block; position: relative; top: -100px; visibility: hidden;}


h1 {
font-size: 1.4rem;
font-weight: 100;
color: #111;
margin-bottom: 0.3rem;
}

h2 {
font-size: 1.2rem;
margin-bottom: 0.3rem;
font-weight: 100;
}

h3 {
    font-size: 0.9rem;
}

nav ul {
list-style-type:none;
}

nav ul li.mega-item {
    margin-left: -2rem;
}

.navbar-light .navbar-toggler {
    border: none;
}

a.nav-link.dropdown-toggle:hover {
    text-decoration: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar .megamenu{ padding: 1rem; }

.dropdown-toggle::after {
    content: none;
}

.endScroll {
    color: #3a7ca5;
    cursor:pointer;
}

.btn-primary {
    background: #3a7ca5;
}

.loader {
    display:inline-block;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #052c3f;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

  .navbar .has-megamenu{position:static!important;}
  .navbar .megamenu{left:0; right:0; width:100%; margin-top:0;  }

}	
/* ============ desktop view .end// ============ */

/* ============ mobile view ============ */
@media(max-width: 991px){
  .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
    overflow-y: auto;
      max-height: 90vh;
      margin-top:10px;
  }
}
/* ============ mobile view .end// ============ */



/* ============ desktop view Dropdown on Hover, not Click ============ */
/*
@media all and (min-width: 992px) {
.navbar .nav-item .dropdown-menu{ display: none; }
.navbar .nav-item:hover .nav-link{   }
.navbar .nav-item:hover .dropdown-menu{ display: block; }
.navbar .nav-item .dropdown-menu{ margin-top:0; }
}	*/
/* ============ desktop view .end// ============ */

.more {
    position: relative;
    cursor: pointer;
    color: #3a7ca5;
}

.link {
    color: #3a7ca5;
    cursor: pointer;
}

.link:hover {
    text-decoration: underline;
}

.more:hover {
    text-decoration: underline;
}



@keyframes spinner {
    to {transform: rotate(360deg);}
}
   
.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #000;
    animation: spinner .6s linear infinite;
}
  


#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    /*visibility:hidden;*/
    /*box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
    transition: .3s ease-out;*/
}


.stop-scrolling {
    height: 100%;
    overflow: hidden;
}


@media all and (min-width: 576px) {
    /* Make the image square, reponsive and fill the div */
    
    /* None of this section needed for Macy macy-container 
    .image{
        position:relative;
        overflow:hidden;
        padding-bottom:100%;
    }
    .image img{
        position:absolute;
        object-fit: cover;
        height: 100%;
        width: 100%;
    } */
}

.dropdown-menu {
    overflow-y: scroll;
    max-height: 80vh;
}

/* Lightbox Overrides */


.gslider {
width: 500px;
}
/*

.glightbox-clean .gslide-title {
    margin-bottom: 0px;
}

.goverlay {
    background: #fff;
}

.glightbox-clean .gslide-media {
    -webkit-box-shadow: none;
    box-shadow: none;
    max-height: calc(100vh - 300px);
}

.glightbox-clean .gclose, .glightbox-clean .gnext, .glightbox-clean .gprev {
    background-color: rgba(255, 255, 255, 0);
}

.glightbox-clean .gclose:hover, .glightbox-clean .gnext:hover, .glightbox-clean .gprev:hover {
    background-color: rgba(0, 0, 0, 0);
}

.bi-arrow-left::before, .bi-arrow-right::before {
    font-size: 1.6rem;
}

.glightbox-clean .gdesc-inner {
    padding: 12px 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;
}

.gslide-image img.zoomable {
    max-width: calc(100vw - 100px);
    max-height: calc(100vh - 300px);
   
}


.glightbox-clean .gnext {
    right: 5px;
    color: black;
}
.glightbox-clean .gprev {
    left: 5px;
    color: black;
}

.glightbox-clean .gclose {
    opacity: 0.8;
    right: 5px;
    color: black;
}

*/

/* Thumbnails flexbox stuff */
/*
.fleximgContainer {
    display:flex;
    flex-wrap: wrap;
    gap: 5px 5px;
}

.fleximg {
    flex-grow: 1;
    height: 220px;
    object-fit: cover;
}

.flexItemLast {
    flex-grow: 20; 
}*/

/*
.fleximgContainer {
    width: 100%;
}*/
/*
.fleximg {
    float:left;
    padding:1.175rem;
}*/

