/*
* General CSS
*/
iframe { max-width: 100%; }

/*
* Header
*/
header#header .header-style { height: auto; }

/*
* Footer
*/
#footer form label { color: black; }
#footer form li { margin: 0; }
/*
* Form
*/
#gform_wrapper_4 { width: 800px; margin: 0 auto; }
#gform_wrapper_4 ul.gform_fields { margin-right: -15px !important; margin-left: -15px !important; }
#gform_wrapper_4 li.gfield { clear: none; }
#gform_wrapper_4 .datepicker { width: 100%; }

#enquiry-form { margin-bottom: 30px; }
#enquiry-form > .row { margin-right: 0 !important; margin-left: 0 !important; display: -webkit-box; display: -webkit-flex; display: --flexbox; display: flex; flex-wrap: wrap; }
#enquiry-form > .row > [class*='col-'] { flex: 0 0 auto; padding-left: 0; padding-right: 0; display: flex; flex-direction: column; float: none; }
#enquiry-form #gform_wrapper_4 { background: #481F59; padding: 20px; min-height: 654px; }
#enquiry-form .bg-img { width: 100%; height: 100%; background-position: center; background-repeat: no-repeat; background-size: cover; }
#enquiry-form .gfield_label { display: none; }
#enquiry-form h3 { color: white; margin-bottom: -20px; }
#enquiry-form span.gform_description { margin-top: 30px; margin-bottom: -20px; color: white; }
#enquiry-form ul.gform_fields { margin-right: -5px !important; margin-left: -5px !important; }
#enquiry-form li.gfield { padding-left: 5px; padding-right: 5px; }
#enquiry-form input[type=submit] { background-color: #e9e9e9; color: black; }

#enquiry-form #gform_confirmation_wrapper_4 { min-height: 654px; background: #481F59; color: white; text-align: center; display: flex; align-items: center; justify-content: center; font-size: 24px; padding: 20px; }

@media (max-width: 991px) {
  #enquiry-form .bg-img { padding-bottom: 50%; }
  #enquiry-form span.gform_description { margin-top: 10px; margin-bottom: 0; }
  #enquiry-form > .row > [class*='col-'] { width: 100%; }
  #enquiry-form h3 { margin-bottom: 0; }
}

@media (max-width: 768px) {
  #top_bar { height: auto; }
  #top-bar .top-bar-left .topbar-item:first-child{ float: none !important; }
  
  .topbar-item { width: 100%; }
  
  .top-bar-left { overflow: hidden; }
  .top-bar-left img { position: relative; left: -10px; }
  
  .top-bar-right .top-bar-list { text-align: left; margin-bottom: 30px; }
  .top-bar-right .top-bar-list > li { padding-right: 20px; }
  
  .header-style { height: auto !important; }
  .header-style #mobile-menu-wrapper a.mobile-menu-icon{ line-height: 190%; }
  
  .mobile-menu-content ul li { margin-bottom: 15px; }
  
  .textwidget p { line-height: 1.5; font-size: 16px; }
  .textwidget a { display: inline-block; }
  
  .footer_widget_container .tt-widget ul li ul.list-inline { margin-top: 20px; text-align: right; }
  .footer_widget_container a { display: inline-block; line-height: 1.5; font-size: 16px; }
}

.ms-slide .ms-layer, .ms-fixed-layers .ms-layer, .ms-overlay-layers .ms-layer {
    display: none;
}

@media only screen and (min-width: 991px) {
  #footer .widget_nav_menu {
    padding-left: 50px;  
  }
}

@media (min-width: 768px) {
  .top-bar .top-bar-right {
    float: right;
    padding-top: 50px;
  }

  .header-style .main-menu .navmenu-cell .navbar-nav li {
    border-left: none;
  }
  
  .header-style .main-menu .navmenu-cell .navbar-nav li {
    padding: 0px 20px!important;
  }
  
  .header-style .main-menu .navmenu-cell {
    display: block;
  }
  
  .logo.site-brand {
    position: absolute;
    top: 0px;
  }


  .menu-text {
    color: white;
  }

  .dropdown-menu a .menu-text {
    color: black!important;
  }


  #header .container {
    width: 100%!important;
  }

  #header .navmenu-cell {
    background: #481F59;
    padding: 30px 0px;
  }
}