#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu a:hover,
 #t4-megamenu-mainmenu.t4-megamenu .dropdown-menu a:focus,
 #t4-megamenu-mainmenu.t4-megamenu .dropdown-menu a:active {
  background-color: #003B73;
  color: #fff!important;
}

#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li:last-child {
  border: 0;
}

#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li > a,
#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li > .nav-link,
#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li .dropdown-item {
  color: var(--body-text-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0.5rem .5rem;
  white-space: normal;
  height: auto;
  line-height: var(--body-line-height);
}

#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li > a:hover,
#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li > a:focus,
#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li > a:active,
#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li > .nav-link:hover,
#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li > .nav-link:focus,
#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li > .nav-link:active,
#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li .dropdown-item:hover,
#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li .dropdown-item:focus,
#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li .dropdown-item:active {
  color: var(--mainnav-link-hover-color);
}

#t4-megamenu-mainmenu.t4-megamenu .dropdown-menu li.active > a {
  color: var(--mainnav-link-active-color);
}

#t4-megamenu-mainmenu.t4-megamenu .dropdown-toggle:after {
  margin-top: 0.5rem;
  float: left;
}

.ja-masthead {
  --body-link-color: $white;
}

.ja-masthead .ja-masthead-detail {
  padding: 2rem;
}

@media (min-width: 1200px) {
  .ja-masthead .ja-masthead-detail {
    padding: 8rem 0;
  }
}

.ja-masthead .ja-masthead-title {
  margin-bottom: 1rem;
  line-height: 1.1;
  font-size: 3.0rem;
}

@media (min-width: 1200px) {
  .ja-masthead .ja-masthead-title {
    margin-bottom: 1.5rem;
  }
}

.acm-contact-info .contact-follow {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.acm-contact-info .wrap-info {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}

.acm-contact-info .wrap-info .contact-title {
  color: #b0ad2c;
}

.acm-contact-info a:hover .contact-title {
  color: var(--color-success);
}

.acm-contact-info.style-1 .contact-follow {
  gap: 1.5rem;
}

@media (min-width: 1400px) {
  .acm-contact-info.style-1 .contact-follow {
    gap: 4rem;
  }
}

.acm-contact-info.style-1 .contact-subtitle {
  color: var(--t4-gray-400);
}

.acm-contact-info.style-1 .contact-title {
  line-height: 1.5;
}

.acm-contact-info.style-1 .font-icon {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  font-size: 1.5rem;
  padding: 0.75rem;
}

.acm-contact-info.style-2 .heading {
  margin-bottom: 4rem;
}

@media (max-width: 991.98px) {
  .acm-contact-info.style-2 .heading {
    margin-bottom: 2rem;
  }

  .acm-contact-info.style-2 .heading h2,
  .acm-contact-info.style-2 .heading .h2 {
    font-size: var(--h3-font-size);
  }
}

.acm-contact-info.style-2 .contact-follow {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-column-gap: 6rem;
     -moz-column-gap: 6rem;
          column-gap: 6rem;
  row-gap: 2rem;
}

.acm-contact-info.style-2 .contact-follow .contact-subtitle {
  color: var(--t4-gray-700);
  font-weight: 400;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .acm-contact-info.style-2 .contact-follow .contact-title {
    color: var(--t4-gray-700);
    font-size: var(--h5-font-size);
  }
}

/* ----------------------------------------- */
.acm-features.style-7 .align-right {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

.acm-features.style-7 .feature-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (max-width: 991.98px) {
  .acm-features.style-7 .feature-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
@media (min-width: 992px) {
  .acm-features.style-7 .feature-item > div {
    width: 50%;
    max-width: 50%;
  }
}
.acm-features.style-7 .feature-image {
  position: relative;
}
.acm-features.style-7 .feature-image .video-intro {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}
@media (max-width: 991.98px) {
  .acm-features.style-7 .feature-image .video-intro {
    height: 500px;
  }
}
@media (max-width: 767.98px) {
  .acm-features.style-7 .feature-image .video-intro {
    height: 500px;
  }
}
@media (max-width: 575.98px) {
  .acm-features.style-7 .feature-image .video-intro {
    height: 350px;
  }
}

.acm-features.style-7 .feature-image .video-intro:before {
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3)));
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  bottom: 0;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.acm-features.style-7 .feature-image .video-play {
  position: relative;
}
.acm-features.style-7 .feature-image .video-play:hover a {
  color: var(--color-primary);
}
.acm-features.style-7 .feature-image .video-play a {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--color-success);
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 1.5rem;
  height: 80px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  width: 80px;
}

@media (min-width: 768px) {
  .acm-features.style-7 .feature-image .video-play a {
    height: 100px;
    width: 100px;
  }
}

@-webkit-keyframes waves {
  0% {
    -webkit-transform: scale(0.2, 0.2);
            transform: scale(0.2, 0.2);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    -webkit-transform: scale(0.9, 0.9);
            transform: scale(0.9, 0.9);
    opacity: 0;
  }
}

@keyframes waves {
  0% {
    -webkit-transform: scale(0.2, 0.2);
            transform: scale(0.2, 0.2);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    -webkit-transform: scale(0.9, 0.9);
            transform: scale(0.9, 0.9);
    opacity: 0;
  }
}

.acm-features.style-7 .feature-image .waves {
  -webkit-animation: waves 5s ease-in-out infinite;
          animation: waves 5s ease-in-out infinite;
  background: #fff;
  border-radius: 100%;
  bottom: -60px;
  height: 200px;
  opacity: 0;
  width: 200px;
  position: absolute;
  right: -60px;
}

@media (min-width: 768px) {
  .acm-features.style-7 .feature-image .waves {
    bottom: -50px;
    right: -50px;
  }
}
.acm-features.style-7 .feature-image .wave-1 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.acm-features.style-7 .feature-image .wave-2 {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.acm-features.style-7 .feature-image .wave-3 {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
.acm-features.style-7 .feature-info {
  padding: 3rem 1rem;
  margin: auto;
  text-align: center;
  background: url(../images/layer.png) right center/cover no-repeat;
}
@media (min-width: 768px) {
  .acm-features.style-7 .feature-info {
    text-align: left;
  }
}
@media (min-width: 992px) {
  .acm-features.style-7 .feature-info {
    padding: 3rem;
    max-width: unset;
  }
}
@media (min-width: 1400px) {
  .acm-features.style-7 .feature-info {
    padding: .5rem 9rem;
  }
}
.acm-features.style-7 .feature-info .feature-content {
  margin-bottom: .5rem;
}
.acm-features.style-7 .acymailing {
  margin-bottom: 1rem;
}
.acm-features.style-7 .acymailing .acym_form {
  max-width: 100%;
  width: 100%;
}
@media (max-width: 767.98px) {
  .acm-features.style-7 .acymailing .acym_form {
    margin: auto;
  }
}
.acm-features.style-7 .social-follow {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (min-width: 768px) {
  .acm-features.style-7 .social-follow {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}
.acm-features.style-7 .acm-social.style-1 .icon span {
  --t4-bg-item: var(--color-white);
}

/* Video Overlay
----------------------------------------------------------- */	

.video_overlay_wrap video {
  display:block;
  width:100%;
}

@media screen and (max-width: 1024px){
  .video_overlay_wrap video {
    display:none;
  }
}

.video_overlay_wrap {
  overflow:hidden;
  position:relative;
  background-repeat:no-repeat !important;
  background-position:top center !important;
  background-size:cover !important;
  line-height:180%;
}

.video_overlay_text_wrap {
  position:absolute;
  top:0;
  height:100%;
  width:100%;
  background:rgba(49,49,49,0.54);
}

.video_overlay_text_wrap_inner {
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translate(0px,-50%);
  -ms-transform:translate(0px,-50%);
  -webkit-transform:translate(0px,-50%);
  text-align:center;
  width:80%;
  color:#FFFFFF;
  left:0;
  right:0;
  margin-left:auto;
  margin-right:auto;
}


/* Misc.
----------------------------------------------------------- */	
.video_overlay {
  position:absolute;
  top:0;
  height:100%;
  width:100%;
  background:rgba(0,0,0,0.6);
}

.video_wrap {
width:100%;
}

.video_wrap video {
width:100%;
display:block;
}

@media screen and (max-width: 1024px) {
  .video_wrap video {
    display:none;
  }
}

.video_wrap {
  overflow:hidden;
  position:relative;
  background-repeat:no-repeat !important;
  background-position:top center !important;
  background-size:cover !important;
}

.video_text_img {
  margin-bottom:28px;
}

.video_text_sub {
  display:block;
  font-size:1.6em;
  margin-bottom:26px;
}

.video_text_large {
  font-size:4.8em;
  display:block;
  margin-bottom:28px;
  line-height:120%;
}

.video_text .readon {
font-size:1.2em;
padding:16px;
padding-left:25px;
padding-right:25px;
}

/* Video 
----------------------------------------------------------- */		
.ion-play-size	{	
	background-color: #333333;
   -moz-border-radius:100px;
	-webkit-border-radius:100px;
	border-radius:100px;
    color: #ffffff;
    display: block;
    font-size: 2.5em;
    height: 77px;
	cursor:pointer;
    line-height: 75px !important;
    margin-top: -20px;
    padding-left: 6px;
    width: 75px;	
	-webkit-transition:  all 200ms ease-in 0s;
	-moz-transition:  all 200ms ease-in 0s;
	-o-transition: all 200ms ease-in 0s;
	transition:  all 200ms ease-in 0s;
}
	
.ion-play-size:hover {
	background-color: #cccccc;
}

.contact-info .address,
.contact-info .mail {
  font-size: 15px;
  font-weight: 300;
}

.contact-info .address .fa,
.contact-info .mail .fa {
  color: #45b244!important;
  margin-right: 1rem;
  font-size: 1.25rem;
}

#ja-form {
  background-color: #fff;
  padding: 1rem 3rem;
  border-radius: 0.2rem;
  -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.05);
          box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.30);
  color: #fff;
  opacity: 1;
}

#ja-form {
  margin-top: -2rem;

}

#ja-form h3 {
  color: #084035;
  font-size: 2rem;
}

#ja-form .form-info h3 {
  margin-top: 0;
  margin-bottom: 2rem;
}

#ja-form.dark-style1 #ja_quicks_contact input,
#ja-form.dark-style1 #ja_quicks_contact textarea {
  background-color: #f5eee4;
}

#ja-form.dark-style1 #ja_quicks_contact .input-text,
#ja-form.dark-style1 #ja_quicks_contact #contact_name {
  padding: 1rem 2rem;
  height: calc(4rem + 2px);
}

#ja-form.dark-style1 #ja_quicks_contact #contact_text {
  padding: 1rem 2rem;
}

#ja-form #row_term_condition label {
  display: inline;
}

ul.form-list #ac-submit.btn,
#ja_quicks_contact button.g-recaptcha {
  font-weight: 400;
}

@media (min-width: 1400px) {
  .layout-home #t4-section-1 {
    z-index: 999;
  }
}

@media (min-width: 992px) {
  .layout-home #t4-section-1 {
    z-index: 999;
  }
}

#t4-section-1 {
  z-index: 999;
}

.dropdown-menu {
  background: #f7efe4 !important;
  box-shadow: 0 5px 10px 5px rgba(0,0,0,0.4) !important;
  border-radius: .5px !important;
}

.t4-header-r .header-action .m-0 {
    float: left;
    margin-right: 0px !important;
}
.t4-header-height .container {
    max-width: 95%;
    padding: 0;
}
.t4-section-9 .container {
    max-width: 95%;
    padding: 0;
}

/* Change masthead opacity */
.acm-hero.style-1 .acm-hero-item::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 100%) !important;
}

 .dropdown-menu {
background-color:#f5f4eb!important;
}