h1, h2, h3, h4, h5, h6, .mpa-shortcode-title{
  text-transform: uppercase;
  color: #1B1464;
  font-weight: 700;
}
h1{
  font-weight: 500;
}
.smallFont p{
	font-size: 0.7rem;
	text-transform: none;
}
.mpa-shortcode-title{
  font-size: 2rem;
}
.text-justify{
  text-align: justify;
}

@media screen and ( max-width: 992px ){
  .text-justify, .mobCenter{
    text-align: center!important;
  }
  .centerBtn{
    margin: auto!important;
  }
}
footer{
  padding: 30px;
  position: relative;
  bottom: 0;
  width: 100%;
  background: #ADD6F4;
  color: white!important;
  text-transform: uppercase!important;
}
footer p a{
	color: white;
}
footer a{
  font-size: 1.25rem;
}
.footerIcon{
  width: 25%;
  min-width: 200px;
  margin-bottom: 50px;
}
footer ul{
  margin: 0;
  padding: 0;
  width: 100%;
}
footer li{
	display: block;
	padding: 0;
}
.socials a{
	display: inline-block;
	padding: 0 10px;
	border-right: 1px solid white;
  text-decoration: none!important;
}
.socials a:last-child{
	border-right: 0;
  padding-right: 0;
}
.socials a:first-child{
  padding-left: 0;
}
footer a:hover{
  color: white;
  text-decoration: underline!important;
}

@media( max-width: 992px ){
  footer img{
    margin-bottom: 20px;
  }
  footer ul{
    margin-bottom: 30px;
  }
  footer li{
    text-align: center;
  }
  .socials a{
    display: block;
    border-right: none;
    margin-bottom: 5px;
    padding: 0!important;
  }
  .socials{
    text-align: center;
    width: 100%;
  }
}
form, .nf-form-layout, .nf-form-cont{
  width: 100%;
}

.ajax-loader{
  display: none!important;
}
.button{
  color: #1B1464!important;
  background: transparent;
  border: none;
  border-bottom: 3px solid #1B1464;
  text-transform: uppercase;
  font-size: 1.25rem;
  padding: 8px 0;
}
.button.mpa-time-period.mpa-time-period-selected{
  color: white!important;
  background: #1B1464;
  border: none;
  text-transform: uppercase;
  text-decoration: underline;
  font-size: 1rem;
  padding: 8px 15px;
}
.button.mpa-time-period{
  color: #1B1464!important;
  background: #efefef;
  border: none;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 8px 15px;
}
.mpa-button-back{
  margin-right:10px;
}
.mpa-checkout-form input, .appointment-form-shortcode select{
  background: #f7f7f7;
  border: 1px solid #c4c4c4;
  border-radius: 0;
  box-shadow: none;
  color: #787878;
  transition: all .5s;
  padding: 12px;
}
header{
  padding: 20px;
  z-index: 1000;
}
header p, header a, header a:hover, header a:focus, header a:active{
  margin-bottom: 0!important;
  color: #176356;
}

#contactbar p{
  margin: 0;
}

.carousel{
  width: 100%;
  min-height: 800px;
}
.carousel-item, .carousel-item p, .carousel-item h1{
  color: #1B1464!important;
}
.carousel-item h1{
  font-size: 70px;
}
.gradBg{
  background: linear-gradient(90deg, rgba(237,190,218,0.75) 0%, rgba(173,214,244,0.75) 100%);
}
.gradBgAnim{
background: linear-gradient(90deg, rgba(237,190,218,0.75), rgba(173,214,244,0.75));
background-size: 200% 200%;

-webkit-animation: Animation 15s ease infinite;
-moz-animation: Animation 15s ease infinite;
animation: Animation 15s ease infinite;
}

@-webkit-keyframes Animation {
0%{background-position:10% 0%}
50%{background-position:91% 100%}
100%{background-position:10% 0%}
}
@-moz-keyframes Animation {
0%{background-position:10% 0%}
50%{background-position:91% 100%}
100%{background-position:10% 0%}
}
@keyframes Animation {
0%{background-position:10% 0%}
50%{background-position:91% 100%}
100%{background-position:10% 0%}
}

.iconOverlay{
  background-image: url('../img/sf_watermark.svg');
  background-position: right;
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and ( max-width: 992px ){
  .carousel-item h1{
    font-size: 30px;
  }
  .carousel{
    min-height: 400px;
  }
}

.btn-primary span.under {
    height: 3px;
    bottom: 2px;
    position: absolute;
    transform: translateY(2px);
    left: 0;
    right: 0;
    background-color: white;
    bottom: 2px;
    opacity: 1;
    z-index: -5;
}
/* ====== NAV BAR ====== */
#menu-header-menu{
	margin: 0;
	padding: 0;
}
#bar li{
	display: inline-block;
	margin: 0 20px;
}
#bar li a{
	color: white;
	font-size: 16px;
}
#bar .dropdown-menu li{
	display: block;
	margin: 0;
}
#bar .dropdown-menu{
	border: 0;
	border-radius: 0;
}
.custom-logo{
	width: 100%;
	height: auto;
	max-width: 200px;
}
/* ====== NAV BAR END ====== */

/* ====== NAV BURGER ====== */
.hamburger p{
	content: "MENU";
}
.hamburger.is-active p{
	content: "CLOSE";
}
#sideNavigation .dropdown-menu, #sideNavigation .dropdown-menu.show{
  position: static!important;
  transform: none!important;
  width: 100%;
  border: none!important;
  background-color: transparent!important;
  margin: 0;
	margin-left: 20px!important;
  padding: 0;
}
.dropdown-menu{
  height: 0;
  max-height: 0;
  opacity: 0;
  transition: 0.8s;
}
.dropdown-menu.show{
  height: auto;
  opacity: 1;
  max-height: 2000px;
  transition: 0.8s;
}
.dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover{
	background: none!important;
}
.navbar-toggle{
	z-index: 100000;
	display: inline;
  position: absolute;
	right: 0;
	top: 0;
	background: transparent;
}
.hamburger {
  padding: 12px 12px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  border: 0;
  overflow: visible;
}
.menuIcon{
	height: 55px;
	width: auto;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger.is-active:hover {
  opacity: 0.7;
}
.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner::before, .hamburger.is-active .hamburger-inner::after {
  background-color: white;
}
.hamburger-box {
  width: 35px;
  height: 18px;
  display: inline-block;
  position: relative;
  margin-top: 10px;
}
.hamburger p{
	color: #ADD6F4;
}

#sideNavigation p a{
  font-size: 1em!important;
  text-transform: lowercase;
}
#overlay{
  position: fixed;
  z-index: 1500;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.7;
  transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
  display: none;
}
#sideNavigation #menu-header-menu, #socialNav{
  transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
  opacity: 0;
}
#navLink{
  width: 40px;
  height: auto;
}
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10000;
    top: 0;
    right: 0;
    background-color: white;
		background-image: url('../img/graddemofast.svg');
		background-size: 60% auto;
		background-repeat: no-repeat;
		background-position: right bottom;
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
    text-align: right;
}
.sidenav a, .sidenav a:not([href]):not([tabindex]) {
    text-decoration: none;
    font-size: 20px;
    color: black;
    display: block;
    transition: 0.15s;
    margin-bottom: 15px;
}
.sidenav a.social{
  display: inline-block;
}
.sidenav #socialNav a, .sidenav #socialNav a:not([href]):not([tabindex]) {
    border-bottom: none;
}
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
.sidenav li{
  display: block;
}
#main {
    padding: 20px;
}
body {
  overflow-x: hidden;
}
.topnav {
    overflow: hidden;
    top: 0;
}
.topnav a {
    display: inline;
    padding: 0;
    text-decoration: none;
    position: relative;
    border: none;
}
.topnav p a {
    float: none;
    display: inline;
    text-align: left;
    padding: 0;
    text-decoration: none;
    width: auto;
}
.topnav>p{
    margin: 8px 15px;
}
.topnav a.active {
    background-color: #4CAF50;
    color: white;
}
a svg{
  transition:all .5s ease;
  &:hover{
    #transform:rotate(180deg);
  }
}
#ico{
  display: none;
}
#sideNavigation #socialNav, #sideNavigation #menu-header-menu{
  margin: 80px 40px;
}
.menu{
  margin-top: 20px;
  margin-right: 50px;
  padding: 0 30px;
  @include border-radius(5px);
  #transition: all 0.5s ease;
  a{
    display: block;
    text-align: left;
    padding: 10px 2px;
    margin: 3px 0;
    text-decoration: none;

    &:nth-child(1){
      margin-top: 0;
      @include border-radius(3px 3px 0 0 );
    }
    &:nth-child(5){
      margin-bottom: 0;
      @include border-radius(0 0 3px 3px);
    }

    &:hover{
      color: #ADD6F4;
    }
  }
}
@media(max-width: 992px){
/*
  .sidenav ul{
    display: block;
  }
*/
  .sidenav li{
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }
  ul .sub-menu {
    padding-inline-start: 0;
  }
  .sub-menu li{
    display: block;
    width: 100%;
    margin-bottom: 5px;
  }
  .sub-menu li a{
    font-weight: 300;
  }
  .menu{
    margin-right: 0;
  }
.custom-logo{
	max-width: 150px;
}
}
/* ====== NAV BURGER ====== */
/* ====== Grid ====== */
.overlay{
  opacity: 0;
  background-color: rgba(0,0,0,0.5);
}
.overlay, .overlay p, .overlay a, .overlay h1, .overlay h2, .overlay h3, .overlay h4, .overlay h4, .overlay h5, .overlay h6{
  color: white!important;
}
a:hover .overlay{
  opacity: 1;
}
.newsPost{
  aspect-ratio: 1 / 1;
  border-radius: 15px;
  overflow: hidden;
}
@media( max-width: 768px ){
  .overlay{
    opacity: 1;
  }
}
/* ====== Grid END ====== */
