/*
Theme Name:     GOTB Child Theme
Theme URI:      https://geeksonthebeach.ca
Description:    GOTB Master
Author:         Geeks On The Beach
Author URI:     https://geeksonthebeach.ca
Template: Divi
Version:        4.0
*/
/* This file was modified 2020-05-06 by Aspen Grove Studios to customize metadata in header comment */

/* =Theme customization starts here
------------------------------------------------------- */

/**
 * 1. general styles
 *  a. Gravity contact form
 * 2. Header
 * 3. Nav Menu
 * 4. Content
 * 5. Footer
 * 6.  additional-[page name]
**/

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
}

/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
}

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
}

/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
}

/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
}

/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
}

/* ------------- 1. general styles ------------- */

/* ------------- a. Gravity contact form ------------- */


.et_pb_row.row-header-sea .et_pb_column {
    width: 33.33%;
    margin-bottom: 0px !important;
}
.et_pb_row.row-header-sea {
    display: flex;
    align-items: center;
} 
/**************/
.desktop--header-row .col-booking {
    display: flex;
    text-align: end;
    justify-content: flex-end;
    align-items: center;
}
.col-booking .et_pb_button_module_wrapper {
    padding-right: 25px;
}


.gform_wrapper ul.gform_fields li {
    list-style: none;
}

.gform_wrapper ul.gform_fields {
    padding-left: 0 !important;
}

.gform_wrapper .hidden_label label {
    display: none;
}

.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper textarea,
.gform_wrapper select {
    border-radius: 3px !important;
    background-color: transparent;
    color: #222;
    font-family: sans-serif;
    border: 0;
    padding: 15px !important;

    border-bottom: 1px solid darkgray;
}

.gform_wrapper input[type=email]:focus {
    border-bottom: 1px solid black!important;
}

.gform_wrapper input[type=text]::placeholder,
.gform_wrapper input[type=email]::placeholder,
.gform_wrapper input[type=tel]::placeholder,
.gform_wrapper textarea::placeholder,
.gform_wrapper select::placeholder {
    color: darkgray;
    font-family: sans-serif;
}

.gform_wrapper .gform_footer {
    text-align: right;
}

.gform_wrapper input[type=submit] {
    border: 0;
    background-color: rgba(32, 178, 170, 0.7);
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.3em;
    padding: 20px;
    transition-duration: .3s;
    border-radius: 3px;
}

.gform_wrapper input[type=submit]:hover {
    background-color: rgba(32, 178, 170, 1);
    transition-duration: .3s;
    padding-left: 35px;
    padding-right: 35px;
}

/* grow icons effect */
.mp_m_blurb_grow:hover .et_pb_image_wrap {
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.mp_m_blurb_grow:hover .et_pb_image_wrap {
    -webkit-transform: scale(1.3) translateZ(0);
    transform: scale(1.3) translateZ(0);
}


#popmake-27607 iframe {
    text-align: center;
    margin: 0 auto;
    display: block;
}


/* ------------- 2. Header ------------- */

/* logo menu header */
@media (max-width: 980px) {
    #logo {
        max-height: 100%;
    }
}

/* secondary top menu bar */
#et-info {
    float: right;
}

/* Change hamburger icon on mobile menu */
.mobile_menu_bar:before {
    position: relative;
    top: 2px;
    color: #212121;
    left: 0;
    font-size: 36px;
    border-radius: 0;
    content: "\61";
}

#main-header .et_mobile_menu .always-visitable {
    position: relative;
}
#main-header .et_mobile_menu .always-visitable .hover-link {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    right: 60px; /* right area continues to expand or collapse */}

/* ------------- 3. Nav Menu ------------- */

.nav li ul {
    visibility: hidden;
    margin-top: 1px;
}



/* ##### DROPDOWN MENU WIDTH ##### */

.nav li ul {
    width: 240px !important; /* Width of the dropdown menu */
}

.nav li li ul {
    left: 240px !important; /* Use the same size as above */
}

#top-menu li li a {
    width: 200px; /* Make this 40 less then the width of the dropdown menu */
}


/* remove the hover grey when current on dropdown-menu */
.nav ul li a:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0);
}





/* *************Mobile menu ************ */

.et_mobile_menu {
    border-top: 1px solid #ededed!important}

.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
    z-index: 9999;
    color: #212121;
}

/* CSS fix to DIVI mobile menu not fitting on screen and not scrollable */
.et_mobile_menu {
overflow: scroll !important;
max-height: 84vh; /*edit this to match your view height*/
box-shadow: 0px 0px 30px rgba(0,0,0,0.3) 
}



/* Increase width of drop-down menus */
@media screen and (min-width: 981px) {
.sub-menu {
	min-width: 320px;
}
#top-menu li li a {
    width: 280px;
	/* Extra - Reduce padding on list items */
	padding: 4px 12px;
	}
}

/* ------------- 4. Content ------------- */

/* ------------- 5. Footer ------------- */

/* Geeks on the Beach Footer Logo */

div p.credits {
    float: left;
    background: url(/wp-content/uploads/gotb-logo-bw.svg) 50% 50% no-repeat transparent;
    width: 89px;
    height: 60px;
    overflow: hidden;
    opacity: .6;
    -moz-transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

div p.credits:hover {
    -moz-transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

div p.credits a.gotb-link {
    display: block;
    background: url(/wp-content/uploads/gotb-logo-colour.svg) 50% 50% no-repeat transparent;
    width: 89px;
    height: 60px;
    text-indent: -999em;
    opacity: 0;
    -moz-transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

div p.credits a:hover.gotb-link {
    opacity: 1;
    moz-transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

.gotbcopyright {
    position: relative;
    right: 60px;
    padding-top: 20px;
    bottom: 15px;
}

@media screen and ( max-width: 980px ) {
    #footer-info {
        position: relative;
        text-align: center;
    }

    #footer-info p.credits {
        position: relative;
        width: 89px;
        height: 60px;
        left: 50%;
        margin-left: -44.5px;

    }

    #footer-info div.gotbcopyright {
    	position: absolute;
    	/*width: 400px;*/
    top: 50px;
    left: 34%;
    right: 0;
	margin-left: -64%;
    }

	#footer-info div.gotbcopyright p {
    		margin-left: 22%;
	}


}

/* ------------- 6. additional-[page name] ------------- */


.apply-now-btn {
        position: fixed;
        right: 18px;
        bottom: 30px;
        z-index: 9998;
        width: 80px;
        height: 80px;
        color:#ffffff;
        letter-spacing:2px;
        text-transform:uppercase;
            box-shadow: 0px 3px 20px rgb(0 0 0 / 30%);
        background-color:#ba4817!important;
        border-radius:50px;
        background-repeat: no-repeat;
        -moz-transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
        -o-transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
        transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
      }
      .apply-now-btn:hover{
        -webkit-transform: translateX(0px) translateY(0px) translateZ(0) rotate(0deg) scale(1.08, 1.08);
        -moz-transform: translateX(0px) translateY(0px) translateZ(0) rotate(0deg) scale(1.08, 1.08);
        -ms-transform: translateX(0px) translateY(0px) translateZ(0) rotate(0deg) scale(1.08, 1.08);
        -o-transform: translateX(0px) translateY(0px) translateZ(0) rotate(0deg) scale(1.08, 1.08);
        transform: translateX(0px) translateY(0px) translateZ(0) rotate(0deg) scale(1.08, 1.08);
        -moz-transition-duration: 250ms;
        -o-transition-duration: 250ms;
        -webkit-transition-duration: 250ms;
        transition-duration: 250ms;
      }
      .apply-now-btn span {
        position: absolute;
        left: 50%;
        top: 50%;
        width:78px;
        font-weight:800;
        text-align: center;
        font-size: 14px;
        line-height: 16px;
        -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1, 1);
        -moz-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1, 1);
        -ms-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1, 1);
        -o-transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1, 1);
        transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(0deg) scale(1, 1);
        -moz-transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
        -o-transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
        transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
      }
      
      .apply-now-btn span:before {
    font-family: FontAwesome!important;
    font-weight: 700!important;
    content: '\f073 ';
    font-size: 15px;
}
.apply-now-btn strong {
    padding-top: 5px;
        font-weight: 800;
    display: block;
}

      @media screen and ( max-width: 768px ) {
        .apply-now-btn {
          position: fixed;
          right: 7px;
          bottom: 12px;
          z-index: 9998;
          width: 65px;
          height: 65px;
        }

        .apply-now-btn span {
          position: absolute;
          left: 52%;
          top: 50%;
          width:46px;
          letter-spacing:2px;
          text-align: center;
          font-size: 12px;
          line-height: 14px;
        }
      }



.dot {
    margin-left: 8px;
    margin-right: 8px;
    height: 6px;
    top: -2px;
    width: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

@media screen and ( max-width: 768px ) {
.dot {
    margin-left:8px;
    margin-right:8px;
  height: 5px;
  width: 5px;
  background-color:#ffffff;
  border-radius: 50%;
  display: inline-block;
}}


.font-lake {
font-family: 'Lakesight',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 400!important;
}
.font-cubano {
font-family: 'seascape',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 500!important;
    font-size: 30px;
}

.cta-header:before {
    font-size: 16px;
    opacity: 1;
    margin-left: -1.8em!important;
    right: auto;
    margin-top: 0px;
}

.logo-mobile img {width:120px!important; padding-top:5px;}

.et_bloom .et_bloom_form_container .et_bloom_form_content {
    padding: 10px 0px!important;
    color: #ba4817;
    width: 100%;
    background-color: #ba4817;
    position: relative;
}
.et_bloom .et_bloom_form_container .et_bloom_form_header {
display:none!important;
}

.et_bloom .et_bloom_form_content .et_bloom_popup_input {
    float: left;
    width: 34%;
    padding-right: 5px;
}

.et_bloom .et_bloom_optin_1 .et_bloom_form_content button {
    border: 1px solid #ffffff;
}

.et_bloom .et_bloom_optin_1 .et_bloom_form_container p, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p strong, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form input, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form button span {
    font-family: 'Nunito',Helvetica,Arial,Lucida,sans-serif;
}

.et_bloom .et_bloom_inline_form {
    margin: 0px 0!important;
}

.et_bloom .et_bloom_form_container.et_bloom_form_text_light .et_bloom_form_content input { background-color: #ba4817!important;
    border-bottom: 1px solid #ffffff;
}

.et_bloom .et_bloom_optin_1 .et_bloom_form_container form button span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form input {
    letter-spacing: 2px;
    font-size: 14px;
    font-family: 'Nunito',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 800!important;
    text-transform: uppercase;
}

footer.et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 4px;
}

body #page-container .et_pb_section .et_pb_button_0:before {
	margin-left: -2em;}

.et-pb-arrow-next, .et-pb-arrow-prev {
    position: absolute;
    top: 50%;
    z-index: 100;
    font-size: 40px;
    color: #ffffff;
    margin-top: -24px;
    transition: all .2s ease-in-out;
    opacity: 0;
    background-color: #ffffff1f;
    border-radius: 50px;
}

.et_pb_slider:hover .et-pb-arrow-next {
    right: 72px;
    opacity: 1;
}

.et_pb_slider:hover .et-pb-arrow-prev {
    left: 72px;
    opacity: 1;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: auto;
color: #ffffff;
	font-size:10px;
	    font-family: 'Nunito',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0em 0.1em 0.1em rgb(0 0 0 / 4%);
  text-align: center;
  padding: 5px 0;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

.tooltip .tooltiptext {
    width: 118px;
    top: 20px;
    left: 0%;
    margin-left: -47px;
}

#hero-slider h1 {
margin-bottom:8px;
    }
    
    
    /*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 980px) and (max-width: 1110px) {
#first-row .et_pb_column_8 {
    padding-top: 0px!important;
    padding-right: 20px!important;
    padding-left: 20px!important;
}
#second-row .et_pb_column_11 {
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 20px;
}
.et_pb_row_5.et_pb_row {
    margin-top: 35px!important;
}
} 

    /*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1230px) {
#first-row .et_pb_column_8 {
    padding-top: 20px!important;
    padding-right: 20px!important;
    padding-left: 20px!important;
}
#second-row .et_pb_column_11 {
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 20px;
}
.et_pb_row_5.et_pb_row {
    margin-top: 45px!important;
}
} 

#rafflepress-prize-info p {
    font-family: 'Nunito',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 300;
    color: #0c0c0c!important;
}

#rafflepress-prize-info h1 {
    margin: 0;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 24px;
    color: #0c0c0c;
    line-height: 1.2em;
    font-weight: 700;
    font-family: 'Nunito',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}
