/*
 Theme Name:  Coastal
 Theme URI:  https://coastal.madebsyuperfly.com
 Description:  A Superfly Child Theme Made With ❤ for Divi
 Author:  BeSuperfly
 Author URI:  https://www.besuperfly.com
 Template:  Divi
 Version:  1.0
*/

/* GENERAL */
#main-content .container:before {
  background-color: transparent;
}
.sideBySideButtons .et_pb_button_module_wrapper {
  float: left;
}
.sideBySideButtons:after {
  clear: both;
}
.sideBySideButtons .sideBySideOne {
  margin-right: 25px;
}
@media screen and (max-width : 1200px) {
  .sideBySideButtons .et_pb_button_module_wrapper {
    float: none;
  }
  .sideBySideButtons .sideBySideOne {
    margin-right: 0;
    margin-bottom: 5px;
  }
}
@media screen and (max-width : 980px) {
  .switch {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}
@media screen and (max-width : 500px) {
  .sideBySideButtons .sideBySideOne, .sideBySideButtons .sideBySideTwo {
    width: 100%;
    text-align: center;
  }
  .sideBySideButtons .sideBySideOne {
    margin-bottom: 0;
  }
}



/* HEADER */
#main-header {
  /*box-shadow: 0 20px 40px rgba(29, 48, 56, 0.1);*/
  box-shadow: none;
  background: unset;

}
@media screen and (max-width : 980px) {
  #main-header {


  }

  .et-fixed-header {
    top: 0 !important;
    position: fixed !important;
    background: #fff !important;

  }

}



/* BODY HERO */
body.hero #main-header {
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0) !important;
}
body.hero #main-header.et-fixed-header {
  background-color: #fff !important;
  box-shadow: 0 20px 400px rgba(29, 48, 56, 0.1) !important;
}
body.hero #page-container {
  padding-top: 0 !important;
}
/*/////new*/
.et_pb_fullwidth_header_0.et_pb_fullwidth_header .header-content h1.et_pb_module_header{
  font-size: 72px;
  line-height: 1.1em;
}
@media only screen and (max-width: 980px){
  .et_pb_fullwidth_header_0.et_pb_fullwidth_header .header-content h1.et_pb_module_header{
    font-size: 60px;
    margin-bottom: 0;
  }
}
@media only screen and (max-width: 767px){
  .et_pb_fullwidth_header_0.et_pb_fullwidth_header .header-content h1.et_pb_module_header{
    font-size: 48px;
  }
}
@media only screen and (max-width: 650px){
  .et_pb_fullwidth_header_0.et_pb_fullwidth_header .header-content h1.et_pb_module_header{
    font-size: 36px;
  }
}
@media only screen and (max-width: 480px){
  .et_pb_fullwidth_header_0.et_pb_fullwidth_header .header-content h1.et_pb_module_header{
    font-size: 24px;
  }
}

/* NAV */
#top-menu li {
  padding-right: 30px;
}
#top-menu li a {
  font-weight: 800 !important;
}
#top-menu li a:hover {
  color: #6597a4 !important;
  opacity: 1 !important;
}

@media (min-width: 981px){
  #top-menu > li > a{
    color: #FFFFFF;
  }
}



/* DROPDOWN */
#top-menu .menu-item-has-children>a:first-child {
  padding-right: 0;
}
#top-menu .menu-item-has-children>a:first-child:after {
  content: "";
}
#top-menu li ul.sub-menu {
  box-shadow: 0 20px 40px rgba(46, 94, 106, 0.2);
  top: 30px;
  border-radius: 4px;
  background-color: #fff !important;
}
#top-menu li ul.sub-menu li {
  padding: 5px 20px;
}
#top-menu li ul.sub-menu li a {
  font-size: 14px;
  line-height: 1.3em;
  text-shadow: none;
  transition: all .3s ease-in-out;
}
#top-menu li ul.sub-menu li a:hover {
  opacity: 1 !important;
}
#top-menu li ul.sub-menu li a:hover {
  background-color: transparent;
}

@media only screen and (max-width: 1280px){
  #top-menu li {
    padding-right: 16px;
  }
  #top-menu li a{
    font-size: 12px;
  }
}



/*HIGHLIGHT MENU ITEM*/
.et_header_style_left #et-top-navigation {
  padding-top: 40px !important;
}
#top-menu-nav {
  position: relative;
  top: -7px;
}
#top-menu li.highlightBtn a {
  padding: 22px 27px 22px 29px !important;
  border-radius: 4px;
  background-color: #dab3af !important;
  color: #372c2b !important;
  box-shadow: 0 20px 40px rgba(218, 179, 175, 0.67);
}
#top-menu li.highlightBtn a:hover {
  background-color: #cde2df !important;
  color: #2e5e6a !important;
  opacity: 1;
  box-shadow: 0 20px 40px rgba(101, 151, 164, 0.33);
}



/* FIXED NAV */
.et_fullwidth_nav #main-header.et-fixed-header .container {
  padding-right: 18px;
  padding-left: 25px;
}
.et_header_style_left .et-fixed-header #et-top-navigation {
  padding-top: 25px !important;
}
.et-fixed-header #top-menu li a {
  font-size: 13px !important;
}
.et-fixed-header #top-menu li a:hover {
  color: #6597a4 !important;
}
.et-fixed-header  #top-menu li.highlightBtn a {
  padding: 18px 24px !important;
  border-radius: 4px;
  background-color: #dab3af !important;
  color: #372c2b !important;
  box-shadow: 0 10px 20px rgba(218, 179, 175, 0.67);
}
.et-fixed-header  #top-menu li.highlightBtn a:hover {
  background-color: #cde2df !important;
  color: #2e5e6a !important;
  opacity: 1;
  box-shadow: 0 10px 20px rgba(101, 151, 164, 0.33);
}

@media (min-width: 981px) and (max-width: 1200px){
  header:not(.et-fixed-header) #logo{
    max-width: 207px;
  }
}



/*MOBILE NAV*/
@media screen and (max-width : 980px) {
  #main-header .container {
    width: 94%;
  }
  #logo {
    max-height: 30%;
  }
  .et_header_style_left #et-top-navigation {
    padding-top: 24px;
  }
  .mobile_menu_bar:before {
    font-size: 48px;
    top: -5px;
    transition: all .3s ease-in-out;
  }
  .mobile_menu_bar:hover:before {
    color: #2e5e6a;
  }
  .et_mobile_menu {
    width: 94%;
    margin: 0 3%;
    border: none;
    border-radius: 4px;
    /*background-color: #2e5e6a !important;*/
    background-color: #213e45 !important;

    background-image: url("/wp-content/uploads/sites/66/2023/06/waveCurl.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 15px 30px rgba(46, 94, 106, 0.2);
  }
  .et_mobile_menu:before {
    content:"";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /*background-color: rgba(0, 0, 0, 0.4);*/
    z-index: -1;
    border-radius: 4px;
  }
  .et_mobile_menu li a {
    font-weight: 700 !important;
    text-transform: uppercase;
    text-align: center;
    border: none;
    font-size: 18px;
    letter-spacing: 3px;
    color: #fff !important;
    transition: all .3s ease-in-out;
  }
  .et_mobile_menu li a:hover {
    color: #cde2df !important;
    opacity: 1;
    background-color: transparent;
  }
  .et_mobile_menu .menu-item-has-children>a {
    font-weight: 600;
    background-color: transparent;
  }
  #main-header .et_mobile_menu li ul, .et_mobile_menu li li {
    padding-left: 0;
  }
  .et_mobile_menu .menu-item-has-children a {
    padding-bottom: 0;
  }
  .et_mobile_menu .menu-item-has-children ul li a {
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 14px;
  }
  .et_mobile_menu .menu-item-has-children ul li:first-child a {
    padding-top: 10px;
  }
  .et_mobile_menu .menu-item-has-children ul li:last-child a {
    padding-bottom: 10px;
  }
  .et_mobile_menu li.highlightBtn a {
    padding: 16px 20px !important;
    border-radius: 4px;
    background-color: #dab3af !important;
    color: #372c2b !important;
    font-weight: 700 !important;
    box-shadow: 0 15px 30px rgba(218, 179, 175, 0.67);
    display: inline-block;
    width: 100%;
    margin-top: 15px;
  }
  .et_mobile_menu li.highlightBtn a:hover {
    background-color: #cde2df !important;
    color: #2e5e6a !important;
    opacity: 1;
    box-shadow: 0 15px 30px rgba(101, 151, 164, 0.67);
  }
}
@media screen and (max-width : 980px) {
  .et_mobile_menu {
    width: 100%;
    margin: 0;
    overflow: scroll;
    height: calc(100vh - 100px);
  }
}
@media screen and (max-width : 767px) {
  .et_header_style_left #et-top-navigation {
    padding-top: 15px !important;
  }
  .mobile_menu_bar:before {
    top: 5px;
  }
}
@media screen and (max-width : 600px) {
  #main-header .container {
    width: 90%;
  }
}



/* KEN BURNS */
@media only screen and (min-width: 767px) {
  .kenBurnsHeader .et_parallax_bg {
    animation: kenburns 45s forwards;
  }
}
@media only screen and (min-width: 767px) {
  .kenBurnsSection .et_parallax_bg {
    animation: kenburns 45s infinite;
  }
}
@keyframes kenburns {
  0% {
    opacity: 0;
    -ms-transform: scale3d(1.05, 1.05, 1.05) translate3d(-15px, 0px, 0px);
    -webkit-transform: scale3d(1.05, 1.05, 1.05) translate3d(-15px, 0px, 0px);
    transform: scale3d(1.05, 1.05, 1.05) translate3d(-15px, 0px, 0px);
    animation-timing-function: linear;
  }
  1% {
    opacity: 1;
  }
  100% {
    -ms-transform: scale3d(1.3, 1.3, 1.3) translate3d(-25px, -55px, 0px);
    -webkit-transform: scale3d(1.3, 1.3, 1.3) translate3d(-25px, -55px, 0px);
    transform: scale3d(1.3, 1.3, 1.3) translate3d(-25px, -55px, 0px);
  }
}



/* FLOATING SECTION */
@media screen and (max-width : 1400px) {
  .floatingSection {
    padding: 8% 0;
  }
}
@media screen and (max-width : 1200px) {
  .floatingSection {
    padding: 10% 0;
  }
}
@media screen and (max-width : 1100px) {
  .floatingSection {
    padding: 13% 0;
  }
}
@media screen and (max-width : 1000px) {
  .floatingSection {
    padding: 17% 0;
  }
}
@media screen and (max-width : 980px) {
  .floatingSection {
    padding: 30px 0;
  }
}



/* BLURB LINKS */
.blurbLink {
  min-height: 400px;
  padding: 50px;
  overflow: hidden;
}
.blurbLink .et_pb_blurb_content {
  max-width: none;
}
.blurbLink .et_pb_module_header {
  position: relative;
  top: -50px;
  opacity: 0;
  transition: all 0.4s;
}
.blurbLink:hover .et_pb_module_header {
  top: 0;
  opacity: 1;
}
.blurbLink .et_pb_blurb_description {
  position: relative;
  left: -50px;
  opacity: 0;
  transition: all 0.4s;
}
.blurbLink:hover .et_pb_blurb_description {
  left: 0;
  opacity: 1;
  transition-delay: 0.2s;
}
.blurbLink:after {
  content: 'Learn More →';
  font-family: 'Outfit', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  letter-spacing: 7px;
  text-transform: uppercase;
  position: absolute;
  opacity: 0;
  bottom: 0;
  transition: all 0.4s;
}
.blurbLink:hover:after {
  opacity: 1;
  bottom: 45px;
  transition-delay: 0.4s;
}
.blurbLinkRow {
  overflow: hidden;
}
@media screen and (max-width : 980px) {
  .blurbLinkRow {
    margin-bottom: 30px;
  }
  .blurbLink .et_pb_module_header {
    top: 0;
    opacity: 1;
  }
  .blurbLink .et_pb_blurb_description {
    left: 0;
    opacity: 1;
  }
  .blurbLink:after {
    opacity: 1;
    bottom: 45px;
    font-size: 16px;
  }
}
@media screen and (max-width : 767px) {
  .blurbLink {
    min-height: 350px;
    padding: 35px;
  }
  .blurbLink .et_pb_module_header {
    top: 0px;
  }
  .blurbLink .et_pb_blurb_description {
    left: 0px;
  }
  .blurbLink:after {
    font-size: 14px;
    letter-spacing: 3px;
  }
  .blurbLink:after, .blurbLink:hover:after {
    bottom: 30px;
  }
}



/* TESTIMONIAL SLIDER */
.coastalTestimonials .testimonialsSlider .et_pb_slide_content img {
  padding-bottom: 15px;
}
.coastalTestimonials .testimonialsSlider .et_pb_slide_content h5 {
  font-weight: 700 !important;
  font-style: normal !important;
  text-transform: uppercase !important;
  letter-spacing: 7px;
  padding-top: 35px;
  font-size: 16px;
}



/* BLOG */
.coastalBlog .et_pb_blog_grid .et_pb_post {
  border: none;
  padding: 0;
}
.coastalBlog .et_pb_image_container {
  margin: 0;
}
.coastalBlog .et_pb_post .entry-featured-image-url {
  margin-bottom: 20px;
}
.coastalBlog .et_pb_post .entry-title {
  padding-bottom: 2px;
}
.coastalBlog a.more-link {
  display: inline-block;
  margin-top: 15px;
  border-radius: 2px;
  padding: 5px 14px 5px 18px;
  background-color: #6597a4;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  transition: all .3s ease-in-out;
}
.coastalBlog a.more-link:hover {
  background-color: #2e5e6a;
  color: #cde2df;
}
@media screen and (max-width : 980px) {
  .coastalBlog .et_pb_column .et_pb_blog_grid .column.size-1of2 {
    width: 100%;
    margin-right: 0;
    float: none;
  }
  .coastalBlog .et_pb_column .et_pb_blog_grid .column.size-1of2 .et_pb_post {
    margin-bottom: 75px;
  }
  .coastalBlog .et_pb_column .et_pb_blog_grid .column.size-1of2:last-of-type .et_pb_post:last-child {
    margin-bottom: 20px;
  }
}
@media screen and (max-width : 767px) {
  .coastalBlog .et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post {
    margin-bottom: 60px;
  }
}



/* BLOG SINGLE */
.coastalComments #commentform textarea {
  line-height: 1.3em;
}
.comment_avatar img {
  border-radius: 4px;
}
.comment-content {
  width: 90%;
}

/* POSTS */
/* Singlt post */
.post-template-default.single.single-post .et_pb_section .wp-block-buttons{
  margin: 40px auto;
}

.post-template-default.single.single-post .et_pb_section .wp-block-button{
  margin: 0 auto;
}

.post-template-default.single.single-post .et_pb_section .wp-block-buttons .wp-block-button a {
  display: inline-block;
  padding: 18px 24px !important;
  border-radius: 4px !important;
  background-color: #86bbd8 !important;
  color: #FFFFFF !important;
  box-shadow: 0px 20px 40px -10px #86bbd8bf;
  font-weight: 800 !important;
	transition: opacity 0.4s ease-in-out, background-color 	0.4s ease-in-out;
}

.post-template-default.single.single-post .et_pb_section .wp-block-buttons .wp-block-button a:hover {
	background-color: #E4EAEF !important;
  color: #2f4858 !important;
  box-shadow: 0 10px 20px #86bbd854;
  transition: all 0.4s ease-in-out;

}

.post-template-default.single.single-post .et_pb_section figure.wp-block-image{
  text-align: center
}

.post-template-default.single.single-post .et_pb_section .fluid-width-video-wrapper {
  margin: 50px auto;
}
/* END Singlt post */


/* FOOTER */
@media screen and (max-width : 980px) {
  .coastalFooter .footerRow {
    display: flex;
    flex-wrap: wrap;
  }
  .coastalFooter .footerRow .footerLinks {
    order: 1;
  }
  .coastalFooter .footerRow .footerLocation {
    order: 2;
  }
  .coastalFooter .footerRow .footerContact {
    order: 3;
  }
}



/* LAST EDITED BY JOHN ON JUL 29, 2023 */