:root {
  --main-head-color: #1b1b1b;
  --main-head-color-hover: #00427e;
  --main-head-bg: #fff;
  --main-head-submenu-bg: #ececec;
}  
/* Header */
.md-phone-image-holder {
    background: var(--cta);
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
a.md-phone-number {
    background: var(--bckg);
    color: var(--txt);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    border-radius: 200px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 20px;
    transition: color .3s ease-in-out;
}
a.md-phone-number:hover {
    color: var(--cta);
}
  .site-header {
    position: relative;
    z-index: 9999;
  }
  .header-content {
	float: left;
	width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 15px 0;
  }
 
  #site-navigation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 0 20px 0 20px;
    background-color: var(--main-head-bg);
    border: unset;
  }
  #md-collapse-menu {
    padding: 0;
  }
  #primary-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  #primary-menu > li:not(:first-child){
    margin-left: 10px;
  }
  #primary-menu .menu-item a {
    padding: 15px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--txt);
    text-transform: uppercase;
	  border-radius:5px;
	  transition: color .3s ease-in-out, background .3s ease-in-out;
}
#primary-menu .menu-item a:hover {
    background: var(--titletxt);
    color: #fff!important;
}
  #primary-menu li.menu-item-has-children a {
    margin-right: 5px;
  }
  #primary-menu li.menu-item-has-children a {
    position: relative;
  }
  #primary-menu .menu-item-has-children > a:before {
     content: "\203A";
    position: absolute;
    right: -10px;
    top: 13px;
    font-size: 24px;
    transform: rotateZ(90deg);
  }
  #primary-menu .menu-item a:hover {
    color: var(--main-head-color-hover);
  }
  #primary-menu li.menu-item-has-children:hover > .sub-menu  {
    visibility: visible;
    opacity: 1;
  }  
  .menu-item-has-children .sub-menu {
    position: absolute;
    top: 50px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background-color: var(--main-head-submenu-bg);
    border: #ececec solid 1px;
    -webkit-box-shadow: 8px 12px 43px #00000016;
            box-shadow: 8px 12px 43px #00000016;
    list-style: unset;
    padding: 20px 0;
    z-index: 999;
  }
  #primary-menu .menu-item-has-children .sub-menu a {
    display: block;
    padding: 0 20px;
    margin-bottom: 10px;
	  width: 100%;
    margin-right: 0;
	  border-radius: 0;
  }
#primary-menu .menu-item-has-children .sub-menu a:hover {
    border-radius: 0;
}
  #primary-menu .menu-item-has-children .sub-menu li:last-of-type a {
    margin-bottom: 0;
  }
 
  
  @media screen and (min-width: 992px) and (max-width: 1200px) {
    #primary-menu .menu-item a {
      font-size: 13px;
    }
    .site-branding img {
      max-width: 160px;
    }
    #site-navigation {
      margin-right: 10px;
    }
    #primary-menu > li:not(:first-child) {
      margin-left: 5px;
    }
    }  
   
	@media screen and (min-width: 992px) {
		.menu-item-has-children .sub-menu .sub-menu {
			top: 50px;
			left: 90%;
		}
		#primary-menu .menu-item a{
			padding:6px;
		}
		a.md-phone-number{
			font-size:14px;
		}
		 #primary-menu .menu-item-has-children > a:before {
    right: -9px;
    top: 5px;
  }
		span.menu-chevron {
    display: none;
}
	} 
  @media screen and (max-width: 991px) {
    .site-header {
      position: relative;
      -webkit-box-shadow: 8px 12px 21px 0px rgba(0, 1, 1, 0.08);
              box-shadow: 8px 12px 21px 0px rgba(0, 1, 1, 0.08); 
    }
    .site-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 56.77px;
      background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#fff));
      background-image: -o-linear-gradient(#ebebeb, #fff);
      background-image: linear-gradient(#ebebeb, #fff);
    }
    .header-content {
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
      position: relative;
    }
    .site-branding {
      z-index: 2;
    }
    .site-branding img {
      max-width: 155px;
    }
    .navbar-header {
      position: absolute;
      top: 75px;
      right: -11px;
    }
    #site-navigation .navbar-header button {
      background-color: unset;
      border: unset;
      border-radius: unset;
      margin: 0;
    }
    #site-navigation .navbar-header button:hover, #site-navigation .navbar-header button:focus, #site-navigation .navbar-header button:active {
      background-color: unset;
    }
    .navbar-header button .icon-bar{
      background-color: #215a8c!important;/* i kno...*/
      width: 39px;
      border-radius: unset;
    }
    .navbar-header button .icon-bar:not(:first-child) {
      margin-top: 8px;
    }
    .navbar-toggle {
      display: block;
    }
    #md-collapse-menu {
      width: 100%;
    }
    .md-navigation .collapse {
      display: none!important;
    }
    .md-navigation .collapse.in {
      display: block!important;
    }
    #site-navigation {
      position: static;
      margin: 0;
      -ms-flex-preferred-size: 100%;
          flex-basis: 100%;
      min-height: unset;
    }
    #primary-menu {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
      padding: 45px 0 35px 15px;
    }
    #primary-menu > li.menu-item {
      margin: 0 0 11px 0;
    }
    #primary-menu .menu-item a {
      font-size: 16px;
      padding: 5px 0;
    }
    #primary-menu .menu-chevron {
        position: absolute;
		top: 5px;
		font-size: 35px;
		right: 10px;
		transform: rotate(90deg);
		height: 35px;
		width: 35px;
    }
    #primary-menu .menu-item-has-children {
      position: relative;
    }
    #primary-menu .menu-item-has-children a:before {
      content: unset;
    }
    #primary-menu .menu-item-has-children .sub-menu {
      display: none;
      visibility: visible;
      opacity: 1;
      -webkit-transition: unset;
      -o-transition: unset;
      transition: unset;
      position: static;
      border: unset;
      -webkit-box-shadow: unset;
              box-shadow: unset;
      background-color: #f4f4f4;
      margin-left: 10px;
    }
  }
  
  @media screen and (max-width: 400px) {
   
    .navbar-header {
      top: 14px;
    }
  }
@media screen and (min-width:1200px){
	#primary-menu .menu-item a {
    padding: 10px;
    font-size: 14px;
    line-height: 24px;
}
	  #site-navigation {
    margin: 0 35px 0 35px;
  }
	a.md-phone-number{
			font-size:16px;
		}
	 #primary-menu .menu-item-has-children > a:before {
    right: -10px;
    top: 8px;
  }
}

@media screen and (min-width:1500px){
	.container.header-section-container {
    width: 100%;
    padding: 0 100px;
}
	#primary-menu .menu-item a {
    padding: 15px;
    font-size: 16px;
    line-height: 24px;
}
	 #primary-menu .menu-item-has-children > a:before {
    right: -10px;
    top: 13px;
  }
}

@media screen and (max-width:991px){
	.header-content {
    flex-direction: column;
    align-items: flex-start;
}
	.md-header-phone-holder {
    order: 1;
}
	.site-branding {
    order: 2;
}
	nav#site-navigation {
		order: 3;
		width: 100%;
}
	.md-header-phone-holder a.md-phone-number {
    width: 100%;
    border-radius: 0;
		padding-right:0;
    display: flex;
    justify-content: center;
    align-items: center;
		    background: var(--cta);
    color: #fff;
		height:46px;
}
	.md-header-phone-holder {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	margin-bottom:10px;
}
	.md-header-phone-holder .md-phone-image-holder {
    display: none;
}
	.header-content{
		padding-top:0;
	}
	.container.header-section-container {
    padding: 0;
}
	.navbar-header {
        position: absolute;
        top: 60px;
        right: 15px;
    }
	    .site-branding {
        margin-left: 15px;
    }
	.container.header-section-container {
    width: 100%;
}
} 
  /* Header end */

/* FOOTER */
/* Areas */
.md-areas-all-holder {
    padding: 60px 0 30px;
}
.md-areas-all-holder {
    float: left;
    width: 100%;
	border-bottom: 1px solid #fff;
}
h2.md-areas-title.md-section-title,p.md-areas-subtitle.md-section-subtitle{
    color: #fff;
}
p.md-areas-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.01em;
    margin: 25px 0 30px;
	color:#fff;
}
a.md-areas-link.md-read-more-link {
    border: 1px solid #FFFFFF;
}
.md-location-holder:nth-child(odd) {
    background: rgba(255, 255, 255, .1);
}
p.md-location-single-text, .md-single-inside-location-box a {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #fff;
	
}
.md-single-inside-location-box a {
	transition: color .3s ease-in-out;
}
.md-single-inside-location-box a:hover{
	color:var(--cta);
}
.md-location-holder {
    display: flex;
    gap: 10px;
    padding: 5px 5px 5px 20px;
    border-radius: 5px;
}
/* Footer holder */
.md-footer-holder {
    float: left;
    width: 100%;
    padding: 60px 0 30px;
	    display: flex;
    flex-wrap: wrap;
}
footer#colophon,.site-info {
    float: left;
    width: 100%;
}
.site-info{
	background: var(--bckgdark)
}
.md-footer-copy-right {
    background: #fff;
    text-align: center;
}
p.md-footer-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #fff;
    margin: 15px 0 35px;
}
h3.footer-menu_title {
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0.02em;
    text-align: left;
    color: #fff;
	    margin-bottom: 10px;
}
ul#footer-menu {
    list-style: none;
    padding-left: 0;
    text-transform: uppercase;
    margin-bottom: 0;
}
ul#footer-menu li:not(:last-child) {
    margin-bottom: 7px;
}
ul#footer-menu li a {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #fff;
	transition: color .3s ease-in-out;
}
ul#footer-menu li a:hover {
    color: var(--cta);
}
p.md-footer-info-single-title,p.md-footer-hours-text,.md-footer-info-single a {
    font-size: 16px; 
    line-height: 24px;
    text-align: left;
    color: #fff;
    text-transform: uppercase;
}
.md-footer-info-single a{
	transition:color .3s ease-in-out;
}
.md-footer-info-single a:hover{
   color: var(--cta);
}
p.md-footer-info-single-title{
  font-weight: 700;	
}
p.md-footer-hours-text{
	font-weight:400;
}
.md-footer-info-single:not(:last-child) {
    margin-bottom: 25px;
}
div#gmap {
    border-radius: 15px;
    height: 250px;
}
.md-footer-adress p {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.01em;
    text-align: center;
    color: #fff;
    margin: 15px 0;
    max-width: 210px;
    margin-left: auto;
    margin-right: auto;
}
.md-footer-social-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
p.md-follow-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #fff;
    text-transform: uppercase;
}
.md-footer-copy-right p {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: var(--txt);
    padding: 15px 0;
}
.md-footer-copy-right p a {
    color: var(--titletxt);
	transition: color .3s ease-in-out;
}
.md-footer-copy-right p a:hover{
	color:var(--cta);
}
a.md-footer-social-link img{
	transition: all .3s ease-in-out;
}
a.md-footer-social-link:hover img {
    opacity: .8;
}
@media screen and (min-width:768px){
	.md-single-inside-location.md-location-holder-below {
    display: none;
}
	.md-location-holder {
	gap:15px;
    padding: 5px 30px;
}
}
@media screen and (min-width:992px){
	.md-footer-menu-holder {
    padding-left: 30px!important;
}
	
}
@media screen and (min-width:992px) and (max-width:1200px){
	.md-footer-holder .md-quote-cta {
    width: 220px;
}
}
@media screen and (max-width:991px){
	.md-footer-logo-holder, .md-footer-menu-holder {
    margin-bottom: 80px;
}
	.md-footer-holder,.md-areas-all-holder {
    padding: 50px 0;
}
	.md-areas-holder {
    margin-bottom: 50px;
}
	p.md-areas-subtitle{
		margin: 25px 0 0;
	}
	
}
@media screen and (max-width:767px){
	.md-areas-all-holder .md-areas-holder,.md-footer-holder .md-footer-logo-holder,.md-footer-holder .md-footer-menu-holder,.md-footer-holder .md-footer-info-holder,.md-footer-holder .gmap,.md-areas-all-holder .md-areas-holder-right{
		padding-left:0;
		padding-right:0;
	}
	.md-footer-info-holder{
		margin-bottom:40px;
	}
	.md-single-inside-location.md-location-holder-above{
		display:none;
	}
}




@media screen and  (min-width: 768px) {
    .md-location-holder-above .md-single-inside-location-box {
        flex: 1 1 calc(33.33% - 20px); /* Three items per holder */
    }
}

@media screen and  (max-width: 767px) {
    .md-location-holder-below .md-single-inside-location-box {
        flex: 1 1 calc(50% - 15px); /* Two items per holder */
    }
}