<!-- start Simple Custom CSS and JS -->
<style type="text/css">
/* --------------------------------------------------------------------*/
/* ------------------------------------------------- Smaller Screen ---*/
/* --------------------------------------------------------------------*/

@media screen and (min-width:851px) and (max-width:1100px) {

    div.header .logo {
        margin-top: 10px;
    }

    div.header .logo img {
        height: 75% !important;
        width: 75% !important; 
    }
  .ast-header-break-point .main-header-bar .main-header-bar-navigation .menu-item-has-children .sub-menu{
    display:none !important;
  }
  .ast-header-break-point .main-header-bar .main-header-bar-navigation {
       display: block;
}
  .ast-header-break-point .main-navigation li {
    width: 15%;
}
  .ast-header-break-point .main-header-bar .main-header-bar-navigation .menu-item-has-children>.ast-menu-toggle::before{
    display:none;
  }
  .ast-header-break-point .main-header-bar .main-header-bar-navigation .main-header-menu {
    border:none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .ast-header-break-point .main-header-bar-navigation {
    width: calc(100% + 0px);
    margin-left: 4%;
}
  .ast-header-break-point .main-navigation ul li a {
      padding:0;
      display: contents;
      width: 0%;
      border:none;
}
  .main-header-menu > .menu-item > a {
    font-size:90%
  }
  .ast-header-break-point .main-header-menu {
    background-color: #ffffff; 
}
  .ast-header-break-point .header-main-layout-1 .main-header-bar-navigation {
    text-align: center;
}
  .main-header-bar .main-header-bar-navigation ul li:last-child {
     padding: 0px 0px 0px 0px; 
}
  .ast-col-lg-3, .ast-col-md-3, .ast-col-sm-12, .ast-col-xs-12 {
    padding-right: 5%;
    padding-left: 5%;
}
  .footer-adv-overlay {
    padding-left: 0;
  }
  .ast-header-break-point .ast-mobile-menu-buttons .ast-button-wrap .ast-mobile-menu-buttons-minimal {
    display: none !important;
}

}
@media screen and (min-width:768px) and (max-width:850px) {

.ast-col-lg-3, .ast-col-md-3, .ast-col-sm-12, .ast-col-xs-12 {
    padding-right: 1% !important;
    padding-left: 1% !important;
}
}
/* --------------------------------------------------------------------*/
/* ------------------------------------------------- Tablets ----------*/
/* --------------------------------------------------------------------*/


@media screen and (min-width:578px) and (max-width:850px) {
/* portrait tablets, narrow desktops */
    
    #page {
    display: block;
    width: 99%;
    margin: 0 auto;
    min-height: 100%;
    max-width: 960px;
    }
    div.main-header-bar-navigation .main-navigation ul li {
        padding: 0px 5px 0px 3px;
    }

    div.main-header-bar-navigation .main-navigation ul li a {
        font-size: 80%;
        line-height: 1.9;
        padding: 0px 5px 0px 0px;
    }

    div.header .main-navigation {
        margin-top: 50px;
    }
   .rightaligntext {
    display:none;
  }
.ast-header-break-point .main-navigation li {
    width: 15%;
}
  .ast-header-break-point .main-header-bar .main-header-bar-navigation .menu-item-has-children>.ast-menu-toggle::before{
    display:none;
  }
  .ast-header-break-point .main-header-bar .main-header-bar-navigation .main-header-menu {
    border:none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
   div.site-branding .site-logo-img img {
        height: 70% !important;
        width: 70% !important; 
    }
   .ast-header-break-point .main-header-bar .main-header-bar-navigation .menu-item-has-children .sub-menu{
    display:none !important;
  }
  .ast-header-break-point .main-header-bar .main-header-bar-navigation {
       display: block;
}
    .ast-header-break-point .main-navigation ul li a {
      padding:0;
      display: contents;
      width: 0%;
      border:none;
}
  .main-header-menu > .menu-item > a {
    font-size:90%
  }
  .ast-header-break-point .main-header-menu {
    background-color: #ffffff; 
}
  .ast-header-break-point .header-main-layout-1 .main-header-bar-navigation {
    text-align: center;
}
  .main-header-bar .main-header-bar-navigation ul li:last-child {
     padding: 0px 0px 0px 0px; 
}
  .ast-col-lg-3, .ast-col-md-3, .ast-col-sm-12, .ast-col-xs-12 {
    padding-right: 25%;
    padding-left: 25%;
}
  .footer-adv-overlay {
    padding-left: 0;
  }
  .ast-header-break-point .ast-mobile-menu-buttons .ast-button-wrap .ast-mobile-menu-buttons-minimal {
    display: none !important;
}
}

/* --------------------------------------------------------------------*/
/* ------------------------------------------------- Mobile -----------*/
/* --------------------------------------------------------------------*/


@media only screen and (max-width: 579px) {
  .footer-adv-widget-1, .footer-adv-widget-2, .footer-adv-widget-3 {
     display: none;
	}
  .rightaligntext{
    display:none;
  }
  .flexslider{
    display:none;
  }
  .extra{
    width: 50%;
    margin: 0 auto;
  }
  .heroimage{
    display:none;
  }
  .site-logo-img{
    height: 100% !important;
    width: 60% !important;
    display: block;
    margin: 0 auto;
  }
  .rightalignphone{
    top: 100% !important;
    left: 29%;
  }
 .homepage-column{
    width: 90%;
    max-width: 255px;
    margin-right: 0;
    float: none;
    margin: 10px auto;
  }
  .homepage-text{
    margin-top:12px;
  }
  .main-header-menu > .menu-item > a{
    height:100% !important;
  }
 .ast-logo-title-inline .ast-site-identity {
    display: flex;
    vertical-align: middle;
    align-items: center;
    flex-direction: column;
}
  .ast-header-break-point .ast-mobile-header-inline .main-header-container{
    display: flex;
    flex-direction: column;
    margin-left: -20px;
    margin-right: -20px;
  }
  .rightalignphone {
    position:inherit !important;
  }
  .ast-header-break-point .main-header-bar .main-header-bar-navigation .menu-item-has-children .sub-menu{
    display:none;
  }
  .ast-menu-toggle {
     display:none !important;
  }
  .related-section, form {
    width:100% !important;
  }
  div.wpforms-container-full .wpforms-form .wpforms-recaptcha-container {
    float:left !important;
  }
  .wp-block-columns {
      justify-content: space-between;
  }

  .left {
      order:2;
  }

  .right {
      order:1;
    padding: 0 0px 0 45px;
  }
  .ast-footer-overlay {
    padding-top: 0px !important;
}
  .site-logo-img{
    height: 60% !important;
    width: 60% !important;
    display: block;
    margin: 0 auto;
   
  }
  .ast-logo-title-inline .site-logo-img {
    padding-right: 113px;
}
  .rightalignphone{
    margin: 17px auto;
    background-position: center 0;
   
  }
  .entry-content h1{
    margin-bottom:0;
  }
  .ast-header-break-point .main-navigation ul li a {
    padding: 0 20px;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-weight: bold;
  }
  .ast-header-break-point .main-navigation ul li a {
  	border:none;
  }
  .main-header-menu li:hover > a {
 	 border-top:none
  }
  .ast-header-break-point .main-header-menu {
     background-color: #ffffff;
  }
  .ast-header-break-point .ast-mobile-menu-buttons {
    text-align: right;
    display: flex;
    width: 100%;
    background-color:#a3c6d1;
    justify-content: center;
    margin-top: -30px;
}
  .ast-header-break-point .main-header-bar .main-header-bar-navigation .main-header-menu {
    border:none;
  }
  .ast-header-break-point .main-header-bar {
    background: linear-gradient(180deg, rgba(220,237,244,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 100%);
    border-top: 2px solid #94C5D9 !important;
}
  .ast-button-wrap .menu-toggle.main-header-menu-toggle {
    padding: 0 8.5em;
  
}
  .main-header-bar .main-header-bar-navigation ul li {
    background:none;
  }
 
  div.wpforms-container-full .wpforms-form .wpforms-field-label {
       font-size: 9px !important;
}
  .wpforms-confirmation-container-full {
    
    margin: 9px auto 24px;
    padding: 7px 7px;
    width: 100%;
    position: relative;
}
  .ast-small-footer .widget ul a {
   font-weight: normal;
}
  .site-footer a {
   font-weight: normal;
}
  .footer-sml-layout-1 .ast-small-footer-section-2 {
   font-weight: normal;
}
  .textwidget {
    padding-left: 0 !important;
  }
  .leftcontent:first-of-type + div.wpforms-confirmation-container-full {
    position:absolute;
    margin: -10px auto 24px;
  }
    
}

</style>
<!-- end Simple Custom CSS and JS -->
