
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primarycolor: #242a36;
  --secondarycolor: #0040ff;
  --highlightcolor: #668330;
  --finalcolor:#45caff;
  --additionalcolor: #79b8e2;
  --fontcolor: #333;
  --anothercolor: #7ebbd5;
  }

@font-face {
  font-family: 'Merriweather';
  src: url(../vendor/Merriweather/Merriweather-Regular.ttf) format("truetype");
  font-display: swap;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--fontcolor);
}

a {
  color: var(--primarycolor);
  text-decoration: none;
}

a:hover {
  color: blue;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
}

h1 {
  font-size: 24px;
  text-align: center;
  padding-bottom: 1vw;
  font-style: italic;
  letter-spacing: 1px;
}

ul {
  padding-left: 0;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/

@media (min-width: 575px){  
  .back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 1vw;
    bottom: 1vw;
    z-index: 996;
    background: var(--highlightcolor);
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 4px;
    transition: all 0.4s;
  }

  .back-to-top img {
    height: 70%;
  }

  .back-to-top:hover {
    color: white;
  }

  .back-to-top.active {
    visibility: visible;
    opacity: 1;
  }
}

@media (max-width: 575px){  
  .back-to-top {
    display: none !important;
  }

  .back-to-top i {
    display: none !important;
    padding: 0;
  }
}
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
#Header Section
--------------------------------------------------------------*/

#header {
  z-index:1;
  background-color:white;
  display:flex;
  position:fixed;
  }

#header .mobile-nav-toggle img {
  height: 48px;
  margin: auto 0;
  vertical-align: middle;
}

  .logo {
  margin:0;
  background:url("../img/3-WEST-Advisory-color-logo.webp") no-repeat;
  width: 100%;
  background-position:left center!important;
  height: 3.5rem;
  background-size:contain;
  }
  
  .logowhite {
  margin:0;
  background:url("../img/3-WEST-Advisory-white-logo.webp") no-repeat;
  width: 100%;
  background-position:left center!important;
  height: 3.5rem;
  background-size:contain;
  }

  #header .getstarted {
  border-radius:4px;
  color:#fff;
  background-color:var(--highlightcolor);
  border:none;
  line-height:1;
  margin: auto 2rem auto 0;
  min-width:fit-content
  }


  @media (min-width: 1540px) {
  
  #header {
    padding: 2vh 6vw;
    justify-content:space-between
    }
    
    #header.header-scrolled,#header.header-inner-pages {
      padding: 0.4rem 7em;
    transition:all ease .7s
    }
    
    #header .getstarted {
      padding:0.6rem 1.5rem
    }

  }
  
  @media (min-width: 1400px) and (max-width: 1539px) {
  
  #header {
    padding: 1.2rem 4rem;
  justify-content:space-between
  }
  
  #header.header-scrolled,#header.header-inner-pages {
  padding: 0.3rem 4rem;
  transition:all ease .7s
  }
  
    #header .getstarted {
      padding:0.6rem 1.5rem;
    }
  }
  
  @media (min-width: 1200px) and (max-width: 1399px) {
  #header {
    padding: 1.2rem 4rem;
  justify-content:space-between
  }

  #header.header-scrolled,#header.header-inner-pages {
    padding: 0.7rem 4rem;
  transition:all ease .7s
  }
  
  #header .getstarted {
    padding:0.6rem 1.4rem;
    font-size:16px;
  }
  }
  
  @media (min-width: 992px) and (max-width: 1199px) {

  #header {
    padding: 1rem 3rem;
  justify-content:space-between
  }
  
  #header.header-scrolled,#header.header-inner-pages {
  padding: 0.9rem 2.5rem;
  transition:all ease .7s
  }
  
  #header .getstarted {
    padding:0.5rem 1.4rem;
    font-size:15px;
  }
  }
  
  @media (min-width: 812px) and (max-width: 991px) {

  #header {
    padding: 1.5vw 5vw;
  }
  
  #header.header-scrolled,#header.header-inner-pages {
  padding: calc(4px + 0.7vh) 2.2rem;
  transition:all ease .7s
  }
  
  #header .getstarted {
    padding:0.5rem 1.4rem;
    font-size:15px;
  }
  }
  
  @media (min-width: 768px) and (max-width: 811px) {

  #header {
    padding: 3vw 6vw;
  }
  
  #header.header-scrolled,#header.header-inner-pages {
  padding:7px 3vw;
  transition:all ease .7s
  }
  
  #header .getstarted {
    padding:0.6rem 1.4rem;
    font-size:15px;
  }
  }
  
  @media (min-width: 576px) and (max-width: 767px) {

  #header {
    padding: 1.3vw 3.3vw;
  }
  
  #header.header-scrolled,#header.header-inner-pages {
  padding:6px;
  transition:all ease .7s
  }
  
  #header .topped,#header.header-scrolled .topped {
  font-size:0
  }
  
  #header .getstarted {
    padding:0.5rem 1.4rem;
    font-size:14px;
  }
  }
  
  @media (max-width: 575px) {

  #header {
    padding: 1rem 0.7rem;
  }
  
  #header.header-scrolled,#header.header-inner-pages {
    padding: 0.6rem 0.6rem;
  transition:all ease .7s
  }
  
  #header .topped,#header.header-scrolled .topped {
  font-size:0;
  display:none
  }
  
  #header .getstarted {
  display:none
  }
  }
  
/*--------------------------------------------------------------
#Navbar Section
--------------------------------------------------------------*/

  .navbar {
  padding:0;
  overflow-y: auto;
  }
  
  .navbar ul {
  margin:0;
  padding:0;
  display:flex;
  list-style:none;
  justify-content:space-between;
  overflow-x:hidden;
  width:100%
  }
  
  .navbar li {
  position:relative
  }
  
  @media (max-width: 991px) {
  .navbar>ul>li {
  text-align:center
  }
  
  }
  
  .navbar a,.navbar a:focus {
  position:relative;
  font-weight:500;
  white-space:nowrap;
  transition:.3s
  }
  
  .navbar a i,.navbar a:focus i {
  font-size:16px;
  font-weight:800;
  line-height:1;
  margin-left:5px;
  text-align:center
  }
  
  .navbar>ul>li>a:before {
  color: white !important;
  content:"";
  position:absolute;
  height:2px;
  bottom:-6px;
  left:0;
  visibility:hidden;
  width:0;
  transition:all .3s ease-in-out 0
  }
  
  .navbar a:hover:before,.navbar li:hover>a:before,.navbar .active:before {
  visibility:visible
  }
  
  .navbar a:hover {
  color: var(--finalcolor);
  }
  
  .navbar .getstarted:hover,.navbar .getstarted:focus:hover {
  color: var(--finalcolor);
  }
  
  .navbar .getstarted {
  margin-top:60px!important;
  width:fit-content;
  margin-left:40px!important
  }
  
  .navbar>ul>li>.getstarted:before {
  visibility:hidden
  }
  
  .navbar .dropdown ul a {
  color: rgb(173, 173, 173) !important;
  font-style:normal
  }
  
  .navbar .dropdown ul a i {
  font-size:12px
  }
  
  .navbar .dropdown ul a:hover,.navbar .dropdown ul .active:hover,.navbar .dropdown ul li:hover>a {
  color: var(--finalcolor);
  }
  
  .navbar .dropdown:hover>ul {
  opacity:1;
  top:100%;
  visibility:visible
  }
  
  .navbar .dropdown .dropdown ul {
  top:0;
  left:calc(100% - 30px);
  }
  
  .navbar .dropdown .dropdown:hover>ul {
  opacity:1;
  top:0;
  left:100%;
  visibility:visible
  }
  
  .fa-xmark-large {
    color: white !important;
  }

  .navbar .dropdown .nav-link {
    padding: 12px 0 0 0;
    color: white;
  }

.navbar .dropdown-active .space {
  margin: 0;
}

  .navbar p {
  color:#fff
  }
  
  .mobile-nav-toggle {
  color:var(--primarycolor);
  cursor:pointer;
  display:none;
  line-height:1;
  transition:.5s;
  font-weight:900;
  display: flex;
  z-index:4;
  margin: auto 0;
  }
  
  .navbar ul {
  display:none
  }
  
  .navbar-mobile>ul>li {
  text-align: center;
  color: white;
  }
  
    
  .navbar-mobile>ul>li:hover{
  color: white;
  }
  

    .navbar-mobile {
      position: fixed; /* or absolute */
      top: 0;
      right: 0; /* Adjust based on your design */
      bottom: 0;
      width: 300px; /* Adjust based on your design */
      overflow-y: auto;
      z-index: -10; /* Ensure it's above other content */
      background-color: var(--primarycolor); /* Your navbar background */
        max-height: 100vh; /* Maximum height */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for touch devices */
      font-family: "Open Sans", sans-serif;

  }
  
  .navbar-mobile .mobile-nav-toggle {
  position:absolute;
  top:15px;
  right:15px
  }
  
  .navbar-mobile ul {
  display:block;
  top:0;
  right:0;
  left:0;
  padding:.7rem 0;
  background-color:var(--primarycolor);
  transition:fadeIn .3s
  }
  
  .nav-link {
  padding:3px 0;
  cursor: pointer;
  }

  .navbar-mobile li {
  animation:slideleft cubic-bezier(.50,.00,.50,1) .5s forwards;
  opacity:0
  }
  
  .navbar-mobile li:nth-child(1) {
  animation-delay:.025s
  }
  
  .navbar-mobile li:nth-child(2) {
  animation-delay:.05s
  }
  
  .navbar-mobile li:nth-child(3) {
  animation-delay:.075s
  }
  
  .navbar-mobile li:nth-child(4) {
  animation-delay:.1s
  }
  
  .navbar-mobile li:nth-child(5) {
  animation-delay:.125s
  }
  
  @keyframes slideleft {
  0% {
  opacity:0;
  transform:translateX(60%)
  }
  
  90% {
  opacity:.3
  }
  
  100% {
  opacity:1;
  transform:translateX(0%)
  }
  }
  
  .navbar-mobile a,.navbar-mobile a:focus {
  color:#d3d3d3;
  font-style:normal
  }
  
  .navbar-mobile a:hover .dropdown-active,.navbar-mobile .active .dropdown-active,.navbar-mobile li:hover>a .dropdown-active {
  display:block
  }
  
  .navbar-mobile .getstarted,.navbar-mobile .getstarted:focus {
  color:#fff;
  background:var(--highlightcolor)
  }
  
  .navbar-mobile .dropdown ul {
  position:static;
  display:none;
  margin:0 0 10px 0;
  padding:0 0 10px;
  z-index:99;
  opacity:1;
  visibility:visible;
  background:none;
  }
  
  .navbar-mobile .dropdown ul li {
  min-width:200px
  }
  
  .navbar-mobile .dropdown ul a i {
  font-size:12px
  }
  
  .navbar-mobile .dropdown ul a:hover,.navbar-mobile .dropdown ul .active:hover,.navbar-mobile .dropdown ul li:hover>a {
  color:var(--finalcolor);
  }
  
  .navbar-mobile .dropdown>.dropdown-active {
  display:block;
  }
  

  @media (min-width: 1400px) {
  .mobile-nav-toggle {

  }
  
  .navbar-mobile {
  top:0;
  left:0;
  height:fit-content;
  width:100%!important
  }
  
  .navbar ul {
  padding:8rem 5rem
  }
  
  .space {
  margin:45px 0;
  font-size:17px!important
  }
  
  .space2 {
  font-size:16px!important;
  }
  }
  
  @media (min-width: 1200px) and (max-width: 1399px) {

  
  .navbar ul {
  padding:8rem 3rem
  }
  
  .space {
  margin:40px 0;
  font-size:17px!important
  }
  
  .space2 {
  margin:12px 0;
  font-size:16px!important;
  color:#b3b3b3!important
  }
  
  .navbar-mobile {
  top:0;
  left:0;
  height:fit-content;
  width:100%!important
  }
  }
  
  @media (min-width: 992px) and (max-width: 1199px) {

  .navbar ul {
  padding:8rem 3rem
  }
  
  .space {
  margin:35px 0;
  font-size:16px!important
  }
  
  .space2 {
  font-size:15px!important;
  }
  
  .navbar-mobile {
  top:0;
  left:0;
  height:fit-content;
  width:100%!important
  }
  }
  
  @media (min-width: 812px) and (max-width: 991px) {
  .navbar {
  overflow-y:scroll
  }

  
  .navbar ul {
  padding:6rem 3rem
  }
  
  .space {
  margin:23px 0;
  font-size:16px!important
  }
  
  .space2 {
  margin:14px 0;
  font-size:15px!important;
  color:#b3b3b3!important
  }
  
  .navbar-mobile {
  top:0;
  left:0;
  height:485px!important;
  width:100%!important
  }
  }
  
  @media (min-width: 768px) and (max-width: 811px) {
  
  .navbar ul {
  padding:5rem 3rem
  }
  
  .space {
  margin:22px 0;
  font-size:16px!important
  }
  
  .space2 {
  margin:10px 0;
  font-size:15px!important;
  color:#b3b3b3!important
  }
  
  .navbar-mobile {
  top:0;
  left:0;
  height:fit-content;
  width:100%!important
  }
  }
  
  @media (min-width: 576px) and (max-width: 767px) {
  .navbar {
  overflow-y:scroll
  }
  
  .navbar ul {
  padding:5rem 3rem
  }
  
  .space {
  margin:16px 0;
  font-size:16px!important
  }
  
  .space2 {
  margin:7px 0;
  font-size:14px!important;
  color:#b3b3b3!important
  }
  
  .navbar-mobile {
  top:0;
  left:0;
  height:400px!important;
  width:100%!important
  }
  }
  
  @media (max-width: 575px) {

  .navbar ul {
  padding:6rem 2rem
  }
  
  .space {
  margin:36px 0;
  font-size:16px!important
  }
  
  .space2 {
  margin:12px 0;
  font-size:14px!important;
  color:#b3b3b3!important
  }
  
  .navbar-mobile {
  top:0;
  left:0;
  height:60%!important;
  width:100%!important
  }

  .logo {
    margin-right: 11vw;
  }
  }
  


/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/

/* Search bar above the topbar */
.search-section {
  padding: 1rem 0;
}

.search-form {
  margin: 0 15%;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.search-form .form-control {
  border: none;
  box-shadow: none;
  flex: 1 1 auto;
  margin: 6px;
}

.search-form .btn img {
  height: 26px;
  padding: 0;
  margin: 0;
}

/* on small screens, stack the input and button */
@media (max-width: 699px) {
  .search-form .btn {
    border-radius: 0 0 4px 4px;
  }
  .search-form {
    margin: 0 5% !important;
  }
}


/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/

.topbar {
  background: white;
  align-items: center;
  font-size: 14px;
  transition: all 0.5s;
  color: #fff;
  padding: 0;
  margin-bottom: 120px;
}

.topbar .down {
  position: relative;
  display: inline-block;
  padding: 5px 10px;
}

.topbar .dropbtn {
  color: rgb(141, 141, 141); /* Background color of the button */
  background-color: white;
  padding: 6px 14px 6px 20px;
  font-size: 16px;
  border: #ddd 1px solid;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 3px;
}

.topbar .dropbtn img {
  height: 16px;
  vertical-align: middle;
  padding-bottom: 3px;
}

.topbar .dropbtn:hover, .topbar .dropbtn:focus {
  background-color: var(--secondarycolor); /* Darker shade on hover */
}

.topbar .down-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 3px;
  padding: 0;
}

.topbar .down-content li {
  color: var(--fontcolor);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

.topbar .down-content li:last-child {
  border-bottom: none;
}

.topbar .down-content li:hover, .topbar .down-content li.filter-active {
  background-color: #ddd;
  color: #000;
}

.topbar .down:hover .down-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.topbar .down:hover .dropbtn {
  background-color: var(--highlightcolor);
  color: white;
}

.topbar {
  margin-left: 1.2vw;
}

@media (min-width: 1540px) {
  .topbar {
    margin-bottom: 110px;
  }
  .search-section {
    margin: 0vh 0 3vh 0 !important;
  }
}

@media (min-width: 1400px) and (max-width: 1539px) {
  .topbar {
    margin-bottom: 110px;
  }
  .search-section {
    margin: 0vh 0 6vh 0 !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .topbar {
    margin-bottom: 110px;
  }
  .search-section {
    margin: 0vh 0 6vh !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {  
  .topbar {
    margin-bottom: 100px;
  }
  .search-section {
    margin: 1vh 0 5vh !important;
  }
}

@media (min-width: 812px) and (max-width: 991px) and (min-height: 700px){  
  .topbar {
    margin-bottom: 110px;
  }
  .search-section {
    margin: 1vh 0 3vh !important;
  }
}

@media (min-width: 812px) and (max-width: 991px) and (max-height: 700px){  
  .topbar {
    margin-bottom: 90px;
  }
  .search-section {
    margin: 0vh 0 0vh !important;
  }
}

@media (min-width: 768px) and (max-width: 811px) and (min-height: 600px) {  
  .topbar {
    margin-bottom: 110px;
  }
  .search-section {
    margin: 0vh 0 3vh !important;
  }
}

@media (min-width: 768px) and (max-width: 811px) and (max-height: 600px) {  
  .topbar {
    margin-bottom: 110px;
  }
  .search-section {
    margin: 0vh 0 3vh !important;
  }
}

@media (min-width: 576px) and (max-width: 767px) {  
  .topbar {
    margin-bottom: 80px;
  }
  .search-section {
    margin: 0vh 0 3vh !important;
  }
}

@media (max-width: 575px) {  
  .topbar {
    margin-bottom: 90px;
  }
  .search-section {
    margin: 0vh 0 1vh !important;
  }
}
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  position: relative;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio {
    font-family: "Open Sans", sans-serif !important;
    position: relative;
    overflow: visible;
    height: auto;
    padding-bottom: 5vw;
}
.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Matches margin-bottom in .portfolio-item */
    width: 100%;
    box-sizing: border-box;
    opacity: 0; /* Hide until Isotope initializes */
    transition: opacity 0.3s ease;
}
.portfolio-container.isotope-initialized {
    opacity: 1; /* Show after Isotope initialization */
}
.portfolio .portfolio-item {
    flex: 0 0 calc(33.333% - 20px); /* 3 items per row, accounting for 30px gap */
    max-width: calc(33.333% - 20px); /* Strictly enforce width */
    box-sizing: border-box;
    margin-bottom: 30px;
    padding: 8px 16px !important;
    min-height: 300px; /* Reduced to prevent excessive height */
}
.portfolio .post-box {
    background-color: #f9f9f9;
    border: 1px solid #d1d1d1;
    border-radius: 7px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background-color: white;
    height: 100%;
}
.portfolio .post-img {
    width: 100%;
    overflow: hidden; /* Prevent image overflow */
}
.portfolio .post-img img {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    width: 100%;
    max-width: 100%; /* Ensure image doesn’t exceed container */
    max-height: 150px; /* Tighter constraint for large images */
    object-fit: cover; /* Fit without distortion */
    aspect-ratio: 3 / 2; /* Adjust as needed (e.g., 4/3, 16/9) */
    display: block;
}
.portfolio .post-info {
    padding: 1rem !important;
    background-color: #f1f1f1;
    flex-grow: 1; /* Ensure content fills available space */
}
.portfolio .post-title {
    font-size: 1rem !important;
    line-height: 1.4;
    font-weight: 600;
    color: var(--fontcolor);
    padding: 0 0 0.025rem;
    letter-spacing: 0;
}
.portfolio .readmore {
    display: inline-block;
    background-color: var(--secondarycolor);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    align-self: flex-start;
}
.portfolio p {
    color: var(--fontcolor);
    margin: 0;
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 400;
    padding: 0.025rem 0 0.5rem;
}
.portfolio .dated {
    padding: 5px 0 0 0;
    font-size: calc(11px + 0.1vw) !important;
    color: grey;
    font-weight: 100;
    margin-bottom: 7px;
}
.post-item h4 {
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding-left: 0;
    color: var(--secondarycolor) !important;
    margin: 1px 0 6px;
}
.post-item h5 {
    padding: 2px 1.7vw 0 0px;
    color: var(--fontcolor);
    font-size: 1rem;
    transition: 0.3s;
    font-weight: 700;
    line-height: 1.3 !important;
    margin-bottom: 3px;
    font-family: 'Merriweather';
}
.post-item time {
    display: block;
    font-style: italic;
    font-size: .7rem;
    color: #aaa;
}
.sidebar-posts li {
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 1px solid #ddd;
    list-style: none;
}
.sidebar .post-item:last-child {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
}
@media (min-width: 1540px) {
    .portfolio .portfolio-item {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
    .sidebar-posts {
        padding-left: 1.2vw !important;
        border-top: 2px #888 solid;
        border-bottom: 2px #888 solid;
    }
    .sidebar p {
        padding-left: 1.2vw !important;
        font-size: 18px;
    }
    .sidebar {
        padding: 5vh 0 0 40px;
    }
}
@media (min-width: 1200px) and (max-width: 1539px) {
    .portfolio .portfolio-item {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
    .sidebar-posts {
        padding-left: 1.8vw !important;
    }
    .sidebar p {
        padding-left: 1.8vw !important;
    }
    .sidebar {
        padding: 5vh 0 0 25px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .portfolio .portfolio-item {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
        margin: 0;
    }
    .sidebar-posts {
        padding-left: 0 !important;
    }
    .sidebar p {
        padding-left: 0 !important;
    }
    .sidebar {
        padding: 8vh 1vw 0 0;
    }
}
@media (min-width: 576px) and (max-width: 991px) {
    .portfolio .portfolio-item {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
        margin: 0;
    }
    .sidebar {
        margin: 30px auto 40px;
    }
}
@media (max-width: 575px) {
    .portfolio .portfolio-item {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
    }
    .sidebar {
        margin: 10px auto 30px;
    }
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: var(--primarycolor);
  color: white;
  height: auto;
  overflow: hidden;
}

.footer .footer-content {
  display: flex;
  padding: 1vw 0 0 0;
  justify-content: space-between;
}

.footer a {
  color: rgb(173, 173, 173);
}

.footer-newsletter {
  order: 1;
}

.footer .contact {
  margin-top: 1.5vw;
}

.footer .footer-co {
  font-size: 1.3rem !important;
  font-weight: 400 !important;
}

.footer .footer-content .social-links a {
font-size: 0.9rem;
line-height: 0;
display: inline-block;
width:  2rem;
height:  2rem;
color: var(--primarycolor);
margin-right: 0.7rem;
margin-bottom: 3rem;
margin-top: 0;
transition: 0.3s;
display: flex;
justify-content: center;
align-items: center;
background-color: white;
border-radius: 50px;
}

.footer .twitter img {
  height: 18px;
}

.footer .linkedin img {
  height: 18px;
}

.footer .instagram img {
  height: 14px;
}

.footer .youtube img {
  height: 18px;
}

.footer .tiktok img {
  height: 18px;
}

.footer .links h4 {
font-size: 1.05rem;
font-weight: 400;
}

.footer .footer-newsletter h4 {
font-size: 1rem;
font-weight: bold;
position: relative;
}

.footer .footer-content .footer-links ul {
list-style: none;
padding: 0;
}

.footer .footer-content .footer-links ul i {
margin-right: 0;
color: var(--color-primary);
font-size: 1rem;
line-height: 0;
}

.footer .footer-content .footer-links ul li:first-child {
padding-top: 15px;
}

.footer .footer-content .footer-links ul a:hover {
color: white;
}

.footer .footer-legal p {
font-size: 0.75rem;
}

.footer .copyright {
font-size: 0.6rem !important;
margin-bottom: 0 !important;
}

.footer .btn-u {
  position: absolute;
  right: 0px;
  bottom: 0;
  border: 0;
  background: none;
  padding: 0 9px 0 0;
  background: none;
  color: var(--highlightcolor);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter p {
  font-weight: 400;
}

@media (min-width: 1540px) {
  .footer {
    padding: 3vw 6vw 0.5vw;
  }

  .footer .footer-content .footer-links {
    padding-left: 3%;
    display: flex;
  }

  .footer .footer-newsletter p {
    padding: 0 !important;
    font-size: 1.05rem;
  }

  #footer .show0 {
    visibility: hidden;
    display: none;
    height: 0;
  }

  #footer .show1 {
    visibility: visible;
  }

  .footer .copyright {
    padding: 2vw 0 0 0.1rem;
  }

  .footer .social-links {
    margin-top: 4vw;
  }

  .footer .footer-info {
    margin-right: 0vw;
  }

  .footer .footer-info p{  
    line-height: 1.3;
    font-size: 1rem;
    letter-spacing: 0.04rem;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer .footer-content .footer-links {
    justify-content: space-between;
    padding: 0;
  }

  .footer .links {
    display: flex;
    justify-content: center;
  }

  .footer .footer-content .footer-links ul li {
    padding: 0.6rem 0;
    transition: 0.3s;
    line-height: 1;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    }

    .footer .btn-u {
      top: 0;
    }
}
  
@media (min-width: 1400px) and (max-width: 1539px) {
  .footer {
    padding: 3vw 6vw 0.5vw;
  }

  .footer .footer-newsletter p {
    padding: 0 !important;
    font-size: 1.05rem;
  }
  
  #footer .show0 {
    visibility: hidden;
    display: none;
    height: 0;
  }

  #footer .show1 {
    visibility: visible;
  }

  .footer .copyright {
    padding: 1.5vw 0 0.7rem 0.1rem;
  }
  
  .footer .footer-content .footer-links {
    padding-left: 2%;
    display: flex;
  }

  .footer .footer-info {
    padding-right: 3vw;
  }

  .footer .footer-info p{  
    font-size: 1rem;
  }

  .footer .footer-content .links {
    justify-content: space-evenly;
    padding: 0;
  }

  .footer .footer-content .footer-links ul li {
    padding: 0.5rem 0;
    transition: 0.3s;
    line-height: 1;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    }

  .footer .social-links {
    margin-top: 4vw;
  }

  .footer .links {
    display: flex;
    justify-content: space-evenly;
  }

  .footer .btn-u {
    top: 1px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .footer {
    padding: 3vw 5vw 0.5vw 5vw;
  }

  #footer .show0 {
    visibility: hidden;
    display: none;
  }

  #footer .show1 {
    visibility: visible;
  }

  .footer .copyright {
    padding: 5vw 0 0.7rem 0.1rem;
  }

  .footer .footer-content .footer-links {
    padding-left: 2%;
  }

  .footer .footer-info {
    padding-right: 3vw;
  }

  .footer .footer-info p{  
    font-size: 1rem;
  }

  .footer .footer-content .footer-links {
    justify-content: space-between;
    padding: 0;
    display: flex;
  }

  .footer .social-links {
    margin-top: 4vw;
  }

  .footer .footer-newsletter p {
    padding: 0 !important;
    font-size: 1.05rem;
  }

  .footer .footer-content .footer-links ul li {
    padding: 0.5rem 0;
    transition: 0.3s;
    line-height: 1;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
  }

  .footer .links {
    display: flex;
    justify-content: start;
  }

  .footer .btn-u {
    top: 1px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {  
  .footer {
    padding: 3vw 5vw 0.5vw 5vw;
  }

  #footer .show0 {
          visibility: hidden;
    display: none;
  }

  #footer .show1 {
    visibility: visible;
  }

  .footer .copyright {
    padding: 4vw 0 0.7rem 0.1rem;
  }

  .footer .footer-content .footer-links {
    padding-left: 4%;
  }

  footer .social-links {
    justify-content: right;
  }

  .footer .footer-info {
    padding-right: 3vw;
  }

  .footer .footer-info p{  
    font-size: 0.9rem;
  }

  .footer .footer-content .footer-links {
    justify-content: space-between;
    padding: 0;
    display: flex;
  }

  .footer .social-links {
    margin-top: 4vw;
  }

  .footer .footer-newsletter p {
    padding: 0 !important;
    font-size: 1.00rem;
    letter-spacing: 0;
  }

  .footer .footer-content .footer-links ul li {
    padding: 0.5rem 0;
    transition: 0.3s;
    line-height: 1;
    font-size: 0.85rem;
    letter-spacing: 0rem;
  }

  .footer .links {
    display: flex;
    justify-content: space-evenly;
  }

  .footer .btn-u {
    top: 1px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {  
  .footer {
    padding: 3vw 8vw 0.5vw 8vw;
  }

  #footer .show0 {
    visibility: hidden;
    display: none;
  }

  #footer .show1 {
    padding-top: 35px;
    visibility: visible;
  }

  .footer .container {
    max-width: 90% !important;
  }

  .footer .copyright {
    padding: 4vw 0 0.7rem 0.1rem;

  }

  .footer .footer-info {
    padding-bottom: 6vw;
  }

  .footer .footer-content .footer-links {
    justify-content: space-around;
    padding: 0.75rem 0 0 0.75rem;
    display: flex;
  }

  .footer .footer-newsletter p {
  padding: 0 !important;
  font-size: 1.05rem;
  }

  .footer .footer-content .footer-links ul li {
    padding: 0.5rem 0;
    transition: 0.3s;
    line-height: 1;
    font-size: 0.85rem;
    letter-spacing: 0.05rem;
  }

  .footer .links {
    display: flex;
    justify-content: space-evenly;
  }

  .footer .btn-u {
    top: 0;
  }
}

@media (min-width: 576px) and (max-width: 767px) {  
  .footer {
    padding: 3vw 8vw 0.5vw 8vw;
  }

  .footer .copyright {
    padding: 3vw 0 0.7rem 0.1rem;
  }

  #footer .show0 {
    visibility: hidden;
    display: none;
  }

  #footer .show1 {
    padding-top: 20px;
          visibility: visible;
  }

  .footer .footer-info {
    padding-right: 3vw;
  }

  .footer .footer-content .footer-links {
    padding: 3rem 0 0rem .75rem;
    display: grid;
  }

  .footer-newsletter {
    display: grid;
    justify-content: center !important;
  }

  .footer .footer-newsletter p {
  padding: 0 !important;
  font-size: 1.05rem;
  }

  .footer .footer-content .footer-links ul li {
    padding: 0.5rem 0;
    transition: 0.3s;
    line-height: 1;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
  }

  .footer .links {
    padding-left: 0;
    display: flex;
    justify-content: space-around;
  }

  .footer .btn-u {
    top: 0;
  }
}

@media (max-width: 575px) {  

  .footer {
    padding: 11vw 8vw 0.5vw 8vw;
  }

  .footer h4 {
    font-size: 1rem;
    letter-spacing: 0;
  }

  #footer .show0 {
    visibility: hidden;
    display: none;
  }

  #footer .show1 {
    visibility: visible;
    padding-top: 25px;
  }

  .footer .footer-content .footer-links {
    justify-content: flex-start;
    padding: 3rem 0 2rem .75rem;
    display: grid;
  }

  .footer .footer-newsletter p {
    padding: 0 !important;
    font-size: 1.05rem;
  }

  .footer .footer-content .footer-links ul li {
    padding: 0.5rem 0;
    transition: 0.3s;
    line-height: 1;
    font-size: 0.85rem;
    letter-spacing: 0.04rem;
  }

  .footer .links {
    order: 2;
    padding-left: 0;
    display: flex;
    justify-content: space-around;
  }

  .footer .btn-u {
    top: 1px;
  }

}
  
@media (max-width: 992px) {
  .footer .footer-content .social-links {
    justify-content: center;
  }  
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#footer .footer-newsletter form {
  margin-top: 1.4rem;
  background: #fff;
  padding: 0.4rem 0.7rem;
  position: relative;
  border-radius: 4px;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 0.25rem;
  width: calc(100% - 50px);
  font-size: 14px;
}

#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: calc(13px + 0.15vw);
  padding: 0 1.25rem;
  background: var(--highlightcolor);
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-newsletter form input[type=submit]:hover {
  background: var(--highlightcolor);
}

.footer .input-field {
  display: none;
}

.footer .input-group-btn img {
  height: 38px;
}


