/*
 Theme Name:   kwg
 Template:     Divi
*/


@import url("../Divi/style.css");


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

/*last child submenu position*/
#top-menu > li:last-child .sub-menu {
position: absolute;
right: 0;
}

/* FLYBOOK BUTTON STYLES */
.flybook-book-now-button { 
    font-size: 16px !important;
    background-color: #c10000 !important;
    border-width: 1px #FFF !important;
    border-radius: 15px !important;
    padding: .3em 1em !important;
    line-height: 1.7em !important;
    font-weight: 500 !important;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif !important;
	position: relative;
	min-width: 200px !important;
}
.flybook-book-now-button:before {
  content: url(/wp-content/uploads/2021/01/redpeaks-button-250px.png);
  position: absolute;
  top: -35px;
  left: -50px;
  transform: scale(.5);
  z-index: -100;
}

/* BOOK TRIP NOW - OPEN FORM - BUTTON STYLES */
.book-trip-now { 
    font-size: 16px !important;
    background-color: #c10000 !important;
    border-width: 1px #FFF !important;
    border-radius: 15px !important;
    padding: .3em 1em !important;
    line-height: 1.7em !important;
    font-weight: 500 !important;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif !important;
    position: relative;
    min-width: 250px !important;
}
.book-trip-now:before {
  content: url(/wp-content/uploads/2021/01/redpeaks-button-250px.png);
  position: absolute;
  top: -35px;
  left: -10px;
  transform: scale(.5);
  z-index: -100;
}








/* FIX FOR MOBILE SCROLLING ISSUES */
.et_mobile_menu {
overflow: scroll !important;
max-height: 84vh; /*edit this to match your view height*/
}


/* SETTING BREAKPOINT FOR MOBILE MENU */
@media only screen and ( max-width: 1050px ) {
#top-menu-nav, #top-menu {display: none;}
#et_mobile_nav_menu {display: block;}
#et_top_search {margin-top: 10px;}

}

/* SETTING BREAKPOINT FOR SEARCH ICON */
@media only screen and ( max-width: 1050px ) {
#et_top_search {margin: 0px 5px;}
}


.et_header_style_centered #et_mobile_nav_menu {
    float: none;
    position: relative;
    margin-top: 20px;
    background: #282828;
}


/* MOBILE MENU TEXT WITH CLOSE AND OPEN X */
.et_mobile_menu {border-top: 1px solid #fff !important;}
.mobile_menu_bar:before {color:#fff !important;}
.mobile_menu_bar:after {
    content: 'MENU';
    position: relative !important;
    bottom: 8px;
    left: 1%;
    color: #fff !important;
    font-size: 18px;
}

/* Change the hamburger to X when opened */
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
	color:#FFF !important;
}


/* social icons onn fixed header */
.et-fixed-header .et-social-icons a:before {
  color: #FFF!important;
}
/* Hide social icons while still on left */
@media only screen and (min-width: 981px) {
	#et-info #et-social-icons,
	#et-info .et-social-icons { 
		display: none; 
	}
}




/* LAST TWO ITEMS IN THE submenu position
#top-menu > li:nth-last-child(-n+2) .sub-menu {
position: absolute;
right: 0;
}
*/







/* BOOKING WIDGET TOP MOST */
#FlybookWidgetIframe.flybook-book-now-visible { 
    z-index: 2147483647 !important;
}


h2, h3 {color: #4f9eb4;}
p {font-weight:500 !important;}

.marker {font-family: 'Permanent Marker', cursive !important;}





/* PACKRAFTING MENU LABELS */
li.packrafting-exp-text a {
  font-size: 11px !important;
  color: #000 !important;
  background: #FFF;
  padding: 2px 0 2px 8px !important;
  margin: 5px 0px;
}
li.packrafting-exp-text a:hover {
  color: #000 !important;
  background: #FFF !important;
  opacity: 1 !important;
}
.et-fixed-header #top-menu li.packrafting-exp-text a {color: #000 !important;}
.et-fixed-header #top-menu li.packrafting-exp-text a:hover {opacity: 1 !important;}

/* PACKAGE TRIP MENU LABELS */
li.package-exp-text a {
  font-size: 11px !important;
  color: #000 !important;
  background: #FFF;
  padding: 2px 0 2px 8px !important;
  margin: 5px 0px;
}
li.package-exp-text a:hover {
  color: #000 !important;
  background: #FFF !important;
  opacity: 1 !important;
}
.et-fixed-header #top-menu li.package-exp-text a {color: #000 !important;}
.et-fixed-header #top-menu li.package-exp-text a:hover {opacity: 1 !important;}





#top-menu-nav .menu-item a {font-weight: 600;}


/* MAIN MENU SUBNAV MAKE WIDER */
.nav li ul {width:320px !important;}
#top-menu li li a {
  width: 280px; 
  font-size: 13px;
  line-height: 1.2em;
  font-weight: 600;}
#top-menu li li {
  padding-top: 3px;
  padding-bottom: 3px;
}


/* Remove the down arrow from divi’s primary menu */
.menu-item-has-children>a:after {display: none !important;}


.et_mobile_menu {
  max-width: 500px !important;
}

/* MOBILE MENU STYLES */

.et_mobile_menu {
  max-width: 500px !important;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
}

.et_mobile_menu li a {
  text-align:center;
  text-transform: uppercase;
  font-size: 26px !important;
  line-height: 1.2em;
}

.et_mobile_menu li ul {
  padding-left:0px !important;
  margin-bottom: 30px;
}

.et_mobile_menu li li {
    padding-left: 0px;
}

.et_mobile_menu li ul li a {
  text-align:center;
  text-transform: none;
  font-size: 18px !important;
  line-height: 1.2em;
}



.vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 



/* HOMEPAGE HEADER VIDEO BG */
.et_pb_section_video_bg .mejs-video {
    bottom: 0 !important;
}



/* TESTIMONIALS */
@media only screen and (min-width: 980px) {
#testimonial {padding-top: 300px;}
#testimonial:before {
  content: "";
  background: url(/wp-content/uploads/2022/01/Divider_TransparentTrees_279px.png);
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  height: 300px;
  width: 100%;
}
}
	
.et_pb_testimonial h3 {
  font-family: 'Raleway' !important;
  font-weight: 600 !important;
  font-size: 25px !important;
}

.et_pb_testimonial p {
    font-weight: 500 !important;
    line-height: 1.5em;
    letter-spacing: .8px;
}

.et_pb_testimonial:before {
  display:none !important;
}




/* CUSTOM OVERVIEW GRID PORTFOLIO STYLES */

.et_pb_portfolio_item {
    padding: 10px;
    outline: 2px solid #d7d7d7;
    outline-offset: -8px;
}

.et_pb_portfolio_item .et_pb_module_header a {
  padding: 0 5px 0 5px;
}

.project-custom-data {
    display: block;
    width: 100%;
    padding: 0 5px 0 5px;
}

.project-custom-data .project-meta {
    display: inline-block;
    font-size: 12px !important;
    position: relative;
    word-wrap: break-word;
    padding-right: 2%; 
    padding-left: 1%;
}

.project-custom-data .project-meta:first-child { padding-left: 0;}
.project-custom-data .project-meta:last-child { padding-right: 0;}
.project-custom-data .project-meta:after {content: '|';position: absolute; right: 0;}
.project-custom-data .project-meta:last-child:after {content: '';}









/* YOUTUBE EMBED PLAYER ON HOMEPAGE */
.ytp-chrome-top {display:none !important;}
.ytp-title-enable-channel-logo .ytp-title-channel {display:none !important;}



/* DISABLE FADE-IN FOR PHOTO GALLERY */
.et_pb_gallery_item {
	-webkit-animation: none !important;
	-moz-animation: none !important;
	-o-animation: none !important;
	-ms-animation: none !important;
	animation: none !important;
}


/* ALIGN HEADER BUTTONS Responsive Styles Smartphone Portrait */
@media all and (max-width: 479px) {
 .et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_two {
 margin-left: 0;
 }
}


@media (min-width: 479px) and (max-width: 767px) {
	.et_pb_gutters1 .et_pb_column .et_pb_grid_item.et_pb_portfolio_item, .et_pb_gutters1.et_pb_row .et_pb_column .et_pb_grid_item.et_pb_portfolio_item{
		width: 50% !important;
	}
}



/* PHOTO GALLERY FORCE THEM ALL THE SAME SIZE */

.et_pb_gallery_image{
padding-top: 56.25%;
display: block;
}

.et_pb_gallery_image img {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
object-fit: cover;
}



/* PHOTO GALLERY ON MOBILE, ON TRIP PAGES */
.et-pb-controllers {display:none !important;}


/* PHOTO GALLERY next and previous styles */
.et-pb-arrow-prev:before, .et-pb-arrow-next:before {
   background: black;
   color: #FFF !important;
}

.mfp-title {
    font-size: .8em;
}











/* REVERSE COLUMN ORDER ON MOBILE */
@media screen and ( max-width: 980px ) {
    .reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}



/* DIFFICULTY RATING INFO ICON */
img.info-icon {vertical-align:middle !important;}


/* FOOTER STYLES */

.footer-widget h3 {color:#FFF !important;}

#footer-widgets .footer-widget {
  margin:20px auto !important;
  text-align:center !important;
}

.et_social_networks {
  text-align: center !important;
}
.et_social_icons_container li {
  float:none!important;
  display: inline-block!important;
}

/* adding margin top to TA box */
#text-15 {margin-top: 60px !important; padding-left:40px;}

/* removing green border from TA box */
#CDSWIDSSP .withBorder {
    border: 1px solid #ffffff !important;
}


@media screen and (max-width: 980px) {

    .footer-widget:nth-child(n) {
        width: 100%!important;
        margin-right: 0!important;
    }
    .footer-widget .et_pb_widget {
        float: none!important;
    }
    #footer-widgets .footer-widget:nth-child(2) {
        margin: 0!important;
    }
	#text-15 {margin-top: 0px !important; padding-left:0px !important;}

}







/* GRAVITY FORM STYLES */
.gform_wrapper input[type=submit] {
  border: none;
  background-color: #243031;
  color: #fff;
  text-transform: uppercase;
  font-weight: 800;
  padding: 10px 20px;
}

.gform_wrapper input[type=submit]:hover {
  background-color: #000;
}

.gform_wrapper.gravity-theme .gsection {
    padding: 20px 16px 0px 0px;
}

.gform_wrapper.gravity-theme .top_label .gsection_description {
    padding-top:0px;
}

.gform_wrapper.gravity-theme .gfield textarea.medium, .gform_wrapper.gravity-theme .gfield textarea.large {
    height: 100px;
}




/* BULLET STYLES */
.et_pb_toggle_content ul, .et_pb_text_inner ul, .et_pb_toggle_content ol, .et_pb_text_inner ol {
  margin: 2% 5%; 
  list-style:none;
}

.et_pb_toggle_content ul li::before, .et_pb_text_inner ul li::before {
  content: "\203A"; 
  color: #e2a632; 
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; 
  width: 1em; 
  margin-left: -1em; 
}



/* TOGGLE STYLES */
.et_pb_toggle .et_pb_toggle_title:before {
    right: auto;
    left: 0;
}
.et_pb_toggle_title:before {
    content: '\3f';
    position: absolute;
    left: -50px !important;
    font-size: 25px;
    top: 50%;
    margin-top: -.5em;
}
.et_pb_toggle_open .et_pb_toggle_title:before {
    content: "\3e";
}
.et_pb_toggle .et_pb_toggle_title, .et_pb_toggle h5.et_pb_toggle_title {
    margin-left:50px
}


.et_pb_toggle_open h6.et_pb_toggle_title {
  color:#4f9eb4 !important;
}
.et_pb_toggle_title:before {
  color:#4f9eb4;
  font-size:18px;
}
.et_pb_toggle {border:1px solid #ccc !important;}





/* TABLEPRESS TABLE STYLES */
.tablepress .column-1, .tablepress .row-1 .column-1 {width: 20% !important;}
.tablepress .column-2, .tablepress .row-1 .column-2 {width: 20% !important;}
.tablepress .column-3, .tablepress .row-1 .column-3 {width: 15% !important;}
.tablepress .column-4, .tablepress .row-1 .column-4 {width: 50% !important; text-align:left !important;}

.tablepress thead th {
    background-color: #4f9db2 !important;
    font-weight: 800 !important;
    vertical-align:bottom;
    font-size: 14px !important;
	color: #FFF;
    line-height: 1.3 !important;
}

tbody {font-size: 13px;}
.entry-content table:not(.variations) {
    border: 1px solid #666 !important;
}
tbody a {font-weight:600 !important;}


/* PHOTO GALLERY LIGHTBOX REMOVE CAPTION */
.mfp-title {
    display: none;
}




/* PACKRAFTING EXPERIENCE LABELS IN THE GRID */
#packrafting-grid .project_category-packrafting-experienceneeded .et_portfolio_image:before {
  content: 'Experience Required';
  position:absolute; 
  z-index:100000; /*a number that's more than the modal box*/
  left: 0px;
  top:4px;
  width: 145px;
  background: #4f9eb4;
  padding: 1px 0 0 5px;
  font-weight: 500;
  font-size: 13px;
  color: #ffffff;
  border-right: 1px solid #3e8498;
  border-bottom: 1px solid #3e8498;
}


/* PACKAGE TRIPS ADVENTURE ONLY LABELS IN THE GRID */
#package-grid .project_category-package-adventureonly .et_portfolio_image:before {
  content: 'Adventure Only';
  position:absolute; 
  z-index:100000; /*a number that's more than the modal box*/
  left: 0px;
  top:4px;
  width: 115px;
  background: #4f9eb4;
  padding: 1px 0 0 5px;
  font-weight: 500;
  font-size: 13px;
  color: #ffffff;
  border-right: 1px solid #3e8498;
  border-bottom: 1px solid #3e8498;
}

