/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.15
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

h4 + h2 + h1 {
  margin-bottom: 2rem;
  margin-top: -1.5rem;
}

@media screen and (max-width: 620px) {
  h4 {
    font-size: 15px !important;
  }

  h2 {
    font-size: 25px !important;
  }

  h1 {
    font-size: 25px !important;
  }
}
/**************************************************/
/**************************************************/
/************         ACCESSORIES       ***********/
/**************************************************/
/**************************************************/
.accessories-category {
  display: flex;
  justify-content: center;
  align-content: space-evenly;
  justify-items: center;
  flex-wrap: wrap;
  max-width: 1600px;
  margin: 0 auto;
}

.accessories-list h3 {
  text-align: center;
  margin: 2rem;
}
.accessories-list .accessory h3 {
  text-align: left;
  font-size: 14px;
  margin: 0;
  padding: 1rem;
}
.accessories-category .accessory {
  width: 200px;
  /* box-shadow: 0 1px 10px #ededed; */

  box-sizing: content-box;
}

.accessory-wrapper {
  padding: 0;
  margin: 9px;
  border: 1px solid #ddd;
  cursor: pointer;
  padding-bottom: 4rem;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.accessories-category .accessory-wrapper:hover {
  transform: scale(1.1);
}

.accessories-category .accessory img {
  height: 200px;
  width: 200px;
  display: block;
  margin: 0;
  object-fit: cover;
  background-color: #eee;
  border-bottom: 1px solid #eee;
}
.image-placeholder {
  width: 200px;
  height: 200px;
  background-color: #eee;
}
.accessories-category .accessory-title {
  /* text-transform: uppercase; */

  font-family: 'Roboto';
  font-weight: normal;
}

.accessory-rrp {
  font-family: 'Roboto';
  font-weight: normal;
  position: absolute;
  bottom: 0;
  padding: 1rem;
  border-top: 1px solid #eee;
  width: 100%;
}

.accessory-popup {
  position: relative;
  background: #fff;
  padding: 20px;
  width: auto;
  max-width: calc(523px + 20px + 20px);
  margin: 20px auto;
}
.accessory-popup img {
  width: 100%;
}

.popup-title {
  margin-top: 2rem;
  text-transform: uppercase;
}
/* 
.accessory:hover .accessory-content {
  opacity: 1;
}
.accessory-content {
  display: block;
  position: absolute;
  z-index: 2;
  width: 100%;
  padding: 10px;
  background-color: white;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  opacity: 0;
  transition: all 0.25s;
  overflow: auto;
} */
/**************************************************/
/**************************************************/
/************         NAVIGATION        ***********/
/**************************************************/
/**************************************************/
.dropdown-menu ul li .nav-content {
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0;
  text-transform: none;
}

.dropdown-menu ul li .menu-text {
  display: block;
  font-size: 15px;
  margin-top: 10px;
}

.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
  display: flex !important;
  flex-wrap: wrap;
}

.dropdown-menu ul li a.menu-link:hover {
  background-color: white;
}

.dropdown-menu ul li a.menu-link:hover .menu-text {
  color: orangered;
}

.navigation ul.main-menu > li > ul.megamenu.sub-menu > li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* the a which contains the prod image and description */
ul.main-menu > li > ul.sub-menu > li > a.menu-link {
  flex-grow: 1;
}

/* the a which contains the prod image and description */
ul.main-menu > li > ul.sub-menu > li > a.menu-link:hover {
  background: linear-gradient(0, #eee, #fff, #fff);
}

/* the a which is in the sub sub menu */
ul.main-menu > li > ul.sub-menu > li > ul.sub-menu > li > a.menu-link:hover {
  background-color: #eee;
}

/* remove text transform uppercase default set by ocean. iKamper looks bad. */
.dropdown-menu ul li a.menu-link {
  text-transform: none;
}
/**************************************************/
/**************************************************/
/****         HERO SLIDER OVERLAY       ***********/
/**************************************************/
/**************************************************/
section:first-child .elementor-widget-slides,
section:first-child .elementor-widget-smartslider {
  position: relative;
  overflow: hidden;
}
section:first-child .elementor-widget-slides:before,
section:first-child .elementor-widget-smartslider:before {
  content: '';
  background-image: url('/wp-content/themes/oceanwp-child-theme-master/images/slider-corner.png');
  position: absolute;
  z-index: 99;
  top: -3px;
  right: -77px;
  width: 154px;
  height: 190px;
  /* transform: rotate(180deg); */
}

@media (min-width: 1200px) {
  section:first-child .elementor-widget-slides:before,
  section:first-child .elementor-widget-smartslider:before {
    right: -10px;
  }
}
/* if a page displays a title (instead of hero slider) add some margin blow it. */
.page-header {
  margin-bottom: 2rem;
}

/**************************************************/
/**************************************************/
/****              SPECS SECTION        ***********/
/******* add .specs-list to the text box **********/
/**************************************************/

.specs-list b {
  width: 100px !important;
  display: inline-block;
  padding-right: 1rem;
  flex-grow: 0;
  flex-shrink: 0;
}

.specs-list li {
  border-bottom: 1px solid #eee;
  list-style-type: none;
  padding: 6px;
  display: flex;
}
.specs-list ul {
  margin: 0;
}

.specs-list li:last-child {
  border-bottom: none;
}

@media (min-width: 1200px) {
  .specs-list b {
    width: 180px !important;
  }
}
