/***************************************************************
 * GLOBAL OVERRIDES STYLESHEET
 * This file contains custom CSS that overrides the Marketplace
 * theme styles. It is attached globally via Website Settings.
 *
 * Author: Mavsign Development
 * File: global-overrides.css
 * Purpose: Visual adjustments for header (and future overrides)
 ***************************************************************/


/* ============================================================
   1. GLOBAL HEADER â€” Match design with MK Website
   ============================================================ */

/* Header container (bar) */
.header__container {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff !important;
  box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
  padding: 0!important;
}

.header__bottom {
  padding: 0;
}

.header__wrapper {
    height: 70px;
    justify-content: space-around!important;
    max-width: 100%;
}

.header__wrapper-bottom,
.header__bottom {
  align-items: center !important;
}

/* Logo Column */
.header__container--left .header__logo-col {
    flex: none !important;
    margin: 0 !important;
	text-align: center !important;
} 

.header__logo-col .header__logo {
	width: 250px;
	margin: 0 auto;
}

.header__logo-link {
	line-height: 70px;
}

.header__logo-col img {
    max-width: 147px;
    height: 37px;
    vertical-align: middle;
}

@media(max-width:767px) {
	.header__button-col.hidden-phone {
		display: none !important;
	}
}

/* ============================================================
   2. NAVIGATION MENU
   ============================================================ */

/* Main menu container */
.header__container--left .header__menu-col {
    flex: none!important;
    margin: 0!important;
    text-align: center;
}

.header__menu--desktop .header__menu-wrapper {
	line-height: 0;
	font-size: 0;
}
.header__menu--desktop .header__menu-wrapper li {
    padding: 0 1rem 0 0;
}

.header__menu--desktop .header__menu-wrapper li:nth-child(2) > a:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 16px;
    margin-right: 5px;
    background: url('https://48528424.fs1.hubspotusercontent-na1.net/hubfs/48528424/menu-star.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
}
.header__menu--desktop .header__menu-wrapper li a {
	color: rgba(0, 0, 0, 0.6)!important;
	font-weight: 500;
	font-size: 13px;
	line-height: 20px;
}
.header__menu--desktop .header__menu-wrapper li a:hover {
	color: #556ee6!important;
	font-weight: 500;
}

.header__menu--desktop .header__menu-wrapper li a.header__menu-link--active-link {
	color: #556ee6!important;
	font-weight: 700;
}

/* ============================================================
   3. HEADER ACTION BUTTONS (Login / Contact Us)
   ============================================================ */

/* Align right buttons */
.header__button-col {
	margin-right: 16px;
	margin-left: 0 !important;
}

/* First button: Login (simple text link) */
.header__button-col .header__button {
    color: #0f172a;
    border: 1px solid rgb(0, 0, 0);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    border-radius: 3px;
	padding: 4px 16px;
	background: transparent;
	transition: color 0.15s 
		ease-in-out, background-color 0.15s 
		ease-in-out, border-color 0.15s 
		ease-in-out, box-shadow 0.15s 
		ease-in-out;
}

.header__button-col .header__button:hover {
    color: #eff2f7;
    background-color: #343a40;
    border-color: #343a40;
}

/* Mobile menu links */
@media(max-width: 767px) {
	.header__menu.header__menu--mobile {
		background-color: #556ee6;
		padding: 20px 0;
	}

	.header__menu-container--mobile .header__menu-item {
		margin-bottom: 20px;
		padding: 0;
	}

	.header__menu-container--mobile .header__button,
	.header__menu-container--mobile .header__menu-link  {
		color: #fff !important;
		font-size: 16px !important;
		font-weight: 500 !important;
		line-height: 24px !important;
		margin: 0 !important;
		display: inline-block;
		padding: 4px 16px !important;
		width: auto;
	}
	
	.header__menu-container--mobile .header__button:hover,
	.header__menu-container--mobile .header__menu-link:hover {
		text-decoration: underline!important;
		color: #fff!important;
	}
}


/* ============================================================
   4. RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media(min-width: 768px) and (max-width: 1330px) {

  .navbar-header {
    .custom-buttons-wrapper {
      align-items: center;
      justify-content: center;
      margin: 20px 0;
    }

    .header__logo-col {
		text-align:center;
    }
  }
}

@media(min-width: 768px) and (max-width: 1089px) {
	
  .header__container {
	  padding: 0!important;
	  box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03) !important;
	}

  .header__wrapper.header__wrapper--bottom {
    display: block;
    height: 120px;
  }


  .header__logo-col {
	text-align: center;
  }


  .header__menu-col {
    display: block !important;
    text-align: center!important;
  }
  
  .header__menu .header__menu-item {
	padding: 0 12px 0 0;
	display: inline-block;
  }

  .header__button-col {
    position: absolute;
    top: 65px;
    right: 0;
    margin: 0 1rem 0 0;
  }
}

@media(min-width: 768px) and (max-width: 935px) {
  .header__button-col {
    top: 15px;
  }
}

/***************************************************************
 * 5. FOOTER â€“ Mavsign look & feel
 ***************************************************************/
footer.footer {
  background-color: #2a3042;
  padding: 48px 0;
}

footer.footer .dnd-section {
  padding:0;
}

/* BOTTOM section */
/* Social Icons Row */
footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 > .row-fluid > .dnd-column > .dnd-row:nth-child(1) > .row-fluid {
  display: flex;
  justify-content: center;
  width: auto;
  padding: 0 60px;
  margin: 35px 0 23px;
  line-height: 0;
  font-size: 0;
}

footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 .dnd-column .dnd-row:nth-child(1) .dnd-column:nth-child(1) {
	width: auto;
	margin-right: 40px;
	display: flex;
	line-height: 34px;
}

footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 .dnd-column .dnd-row:nth-child(1) .dnd-column:nth-child(2) {
	width: auto;
	margin-left: 16px;
	line-height: 0;
	font-size: 0;
}
footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 .dnd-column .dnd-row:nth-child(1) .dnd-column:nth-child(3) {
	width: auto;
	margin: 0 16px;
}
footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 .dnd-column .dnd-row:nth-child(1) .dnd-column:nth-child(4) {
	width: auto;
	margin-left: 40px;
	line-height: 34px;
}

/* Logo Row */
footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 .dnd-column .dnd-row:nth-child(2) {
  padding: 0 12px 11px!important;
}

/* Copyright Row */
footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 .dnd-column .dnd-row:nth-child(3) p {
  margin: 0;
  text-align: center!important;
  color: #9497a0;
  font-size: 13px;
}

/* TOP section  */
footer.footer .row-fluid-wrapper.row-depth-1.row-number-1 > .row-fluid  {
  padding: 1px 54px 3px;
}

 /* col 1 */
footer.footer .footer-column-2-margin {
 padding: 0 12px;
 flex: 0 0 auto;

 margin: 0!important;
}


/* footer menu */
footer.footer .dnd-module .hs-menu-wrapper ul {
  display: block;
  line-height: 0;
  font-size: 0;
}

footer.footer .hs-menu-wrapper ul li.hs-menu-item {
  line-height: 0!important;
}
footer.footer .footer-column-2-margin .hs-menu-wrapper ul li.hs-menu-item:nth-child(2):before {
  content: '';
  display: inline-block;
  width: 11px;
  height: 17px;
  margin-right: 8px;
  background: url(https://48528424.fs1.hubspotusercontent-na1.net/hubfs/48528424/menu-star.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
} 
footer.footer .dnd-module .hs-menu-wrapper ul li.hs-menu-item a {
  color: #9497a0!important;
  display: inline-block;
  font-size: 13px!important;
  line-height: 19.5px;
  font-weight:  normal;
  padding:0;
  margin-bottom: 15px;
}

footer.footer .dnd-module .hs-menu-wrapper ul li.hs-menu-item a:hover {
  color: #556ee6!important;
  text-decoration: none;
}

/* col 2 */
footer.footer .footer-column-6-margin {
  margin: 0!important;
  padding: 0 12px;
  flex: 0 0 auto;
}

 /* col 3 */
footer.footer .footer-column-8-margin {
  flex: 0 0 auto;
  padding: 0 12px;
  margin: 0!important
}

/* First image */
footer.footer .footer-column-8-margin .dnd-row > .row-fluid  > .dnd-module {
  width: auto;
  margin-right: 7px;
}

/* Secound image */
footer.footer .footer-column-8-margin .dnd-row > .row-fluid  > .dnd-module:first-child img.hs-image-widget {
  border-radius: 6px;
  max-height: 102px;
  width: 66px;
}


/* Responsive */

@media (min-width: 576px) {
    .footer-row-0-max-width-section-centering > .row-fluid {
        max-width: 540px !important;
    }
}
	
@media (min-width: 768px) {
	.footer-row-0-max-width-section-centering > .row-fluid {
		max-width: 720px !important;
		padding-left: 6px !important;
		padding-right: 6px !important;
	}
}
		
@media (min-width: 992px) {
    .footer-row-0-max-width-section-centering > .row-fluid {
        max-width: 960px !important;
    }
}

@media (min-width: 1200px) {
    .footer-row-0-max-width-section-centering > .row-fluid {
        max-width: 1250px!important;
    }
}

/* Responsive Columns */
@media(min-width: 992px) {
	footer.footer .hs-menu-wrapper ul li.hs-menu-item {
	  width: 50%!important;
	  float: left;
	  line-height: 0!important;
	}
}
@media(min-width: 768px) {
	footer.footer .footer-column-8-margin,
	footer.footer .footer-column-6-margin,
	footer.footer .footer-column-2-margin{
		width: 33.33333333%;
	}
	
	footer.footer .row-fluid-wrapper.row-depth-1.row-number-1.footer-row-0-max-width-section-centering.dnd-section > div > div > div > div {
		margin: 0 -12px;
		width: auto;
		padding: 0 60px;
	}
}

@media(min-width:768px) and (max-width: 992px) {
	footer.footer .footer-column-8-margin .dnd-row > .row-fluid > .dnd-module:nth-child(2) {
		position: relative;
		top: -44px;
		left: 77px;
	}
}

@media(max-width: 767px) {

	footer.footer {
		padding: 50px 30px 70px;
	}
	
	/* Footer top */
	footer.footer .footer-column-8-margin,
	footer.footer .footer-column-6-margin,
	footer.footer .footer-column-2-margin {
		width: 100%;
	}
	
	/* logo col */
	footer.footer .footer-column-8-margin .dnd-row > .row-fluid  {
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 20px 0;
		flex-direction: column;
		text-align: center;
	}
	
	footer.footer .footer-column-8-margin .dnd-row > .row-fluid > .dnd-module {
		width: 100%;
		margin-right: 0;
	}
	footer.footer .footer-column-8-margin .dnd-row > .row-fluid > .dnd-module:first-child {
		order: 2;
		margin-top: 43px;
	}
	
	footer.footer .footer-column-8-margin .dnd-row > .row-fluid > .dnd-module:nth-child(2) {
		order: 1;
	}
	
	/* Footer menu */
	footer.footer .hs-menu-wrapper ul li.hs-menu-item {
		margin-bottom: 0;
	}
	
	/* Footer bottom */
	footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 > .row-fluid > .dnd-column {
		text-align: center;
	}
	
	footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 .dnd-column .dnd-row:nth-child(1) .dnd-column:nth-child(1),
	footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 .dnd-column .dnd-row:nth-child(1) .dnd-column:nth-child(4)	{
		display: none;
	}
	
	footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 .dnd-column .dnd-row:nth-child(2),
	footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 .dnd-column .dnd-row:nth-child(3)	{
		display: inline-block;
	}
	
	footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 > .row-fluid > .dnd-column > .dnd-row:nth-child(1) > .row-fluid {
		position: relative;
	}
	
	footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 > .row-fluid > .dnd-column > .dnd-row:nth-child(1) > .row-fluid:before {
		content: 'Follow us:';
		width: 100%;
		height: 100%;
		font-size: 13px;
		position: absolute;
		top: -25px;
		color: #9497a0;
	}
	
	
	footer.footer .row-fluid-wrapper.row-depth-1.row-number-6 .dnd-column .dnd-row:nth-child(3) p {
		margin-left: 40px !important;
		position: relative;
		top: -10px;
	}
}

/* ============================================================
   END OF FILE
   ============================================================ */