/*
  Theme Name: Divi Child
  Version: 1.0.0
  Template: Divi
  Author: subLoft
  Author URI: https://www.subloft.com
  Description: A child theme for Divi
  Text Domain: divi-child
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@media all and (max-width: 980px) {
  /*align the hamburger menu to the right right*/

  .pa-fullscreen-menu .et_pb_menu__wrap {
    justify-content: flex-end !important;
  }


  /*hide the desktop version of the menu*/

  .pa-fullscreen-menu .et_pb_menu__wrap .et_pb_menu__menu {
    display: none !important;
  }


  /*show the mobile version of the menu on desktop*/

  .pa-fullscreen-menu .et_pb_menu__wrap .et_mobile_nav_menu {
    display: block !important;
    align-items: center !important;
  }


  /*style the opened menu*/

  .pa-fullscreen-menu .opened #mobile_menu1 {
    width: 100vw !important;
    position: fixed !important;
    top: 0em !important;
    left: 0vw !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: visibility 0.3s, opacity 0.3s ease-in-out;
    padding: 0 !important;
  }


  /*style the closed menu*/

  .pa-fullscreen-menu .closed #mobile_menu1 {
    background-color: #fff !important;
    text-align: center !important;
    width: 100vw !important;
    position: fixed !important;
    left: 100vw !important;
    top: 0em !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    transition: visibility 0.3s, opacity 0.3s, left 1s, ease-in-out;
    opacity: 0 !important;
    visibility: hidden !important;
  }


  /*remove the bullet points from the list items*/

  .pa-fullscreen-menu #mobile_menu1 li {
    list-style: none !important;
    text-align: center !important;
    width: 100%
  }


  /*move the menu to the top above other elements*/

  .pa-fullscreen-menu .et_pb_menu__wrap span.mobile_menu_bar {
    z-index: 999999 !important;
  }


  /*change the opened menu icon*/

  .pa-fullscreen-menu .et_pb_menu__wrap .opened .mobile_menu_bar:before {
    content: "\4d" !important;
  }

  /*remove the default blue border top on the mobile menu*/

  .pa-fullscreen-menu .et_mobile_menu {
    border-top: none;
  }


  /*remove the default background color on menu items*/

  .pa-fullscreen-menu .et_mobile_menu .menu-item-has-children>a {
    background-color: transparent;
  }


  /*remove the default hover background color and adjust opacity*/

  .et_mobile_menu li a:hover {
    background-color: transparent;
    opacity: 1;
  }


  /*remove the default border bottom on menu items*/

  .pa-fullscreen-menu .et_mobile_menu li a {
    border-bottom: none;
  }
}

/* GRAVITY FORMS CUSTOM STYLES */

.gform_required_legend, .gform_validation_errors {
	display:none !important;
}

.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
	font-family: brother-1816, sans-serif !important;
	font-size: 16px;
}

.footer-newsletter-form input[type=email] {
	height:56px;
	padding:1em !important;
	font-size: 15px;
}

.footer-newsletter-form .gform-button.button {
	max-width: 180px !important;
}

.footer-newsletter-form .gform-button.button,
.et_button_no_icon .et_pb_button {
	padding: .834em 1.5em !important;
	font-family: rl-aqva, sans-serif !important;
	font-size: 1.1em;
	color:#F2E4CC;
	background-color: #398DEA !important;
	border-width: 0px !important;
	border-radius: 0px;
	font-weight: 800;
	font-style: normal;
	text-transform: uppercase;
	text-decoration: none;
	cursor:pointer;
	opacity:1;
	transition: all 300ms ease 0ms;
}

.footer-newsletter-form .gform-button.button:hover,
.et_button_no_icon .et_pb_button:hover {
	padding: .834em 1.5em !important;
	background-color: #75C9FC !important;
}

@media all and (max-width: 980px) {
	
	.footer-newsletter-form .gform-button.button,
	.et_button_no_icon .et_pb_button {
		min-height: 56px;
	}
	.footer-newsletter-form .gform-button.button,
	.presale-front-btn {
		min-width:100% !important;
	}
}

@media all and (max-width: 485px) {
	
	.footer-newsletter-form .gform-button.button,
	.et_button_no_icon .et_pb_button {
		font-size: 3.5vw;
        line-height: 40px !important;
	}
}