/* universal/helper/layout styles */
* {
  box-sizing: border-box;
  font-family: "josefin-sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.wrapper {
  width: 95%;
  margin: auto;
}

.top {
  margin-top: 25px;
}

.padding {
  padding-left: 25px;
  padding-right: 25px;
}

/* headings */

h1 {
  color: black;
  font-size: 4vw;
  text-align: center;
  font-weight: bold;
}

h2, h3 {
  color: #418eac;
  font-weight: bold;
}

/* header layout */
.site-header {
  display: flex;
  align-items: center;
}

#logo {
  margin-right: 25px;
}
#logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.header-right {
  flex: 1;
  min-width: 260px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

#quick_search {
  display: flex;
  align-items: stretch;
  border: 1px solid #a8c400;
  max-width: 380px;
  width: 100%;
  background: #fff;
}

#quickSearch {
  border: 0;
  padding: 8px 10px;
  width: 100%;
  outline: none;
  font-size: 16px;
}

#quick_search button {
  border: 0;
  color: white;
  background: #8fbf00;
  cursor: pointer;
  position: relative;
}

#offer {
  text-align: right;
  color: #ff00a8;
  font-weight: 100;
}

/* navigation */

nav {
  border-top: 1px solid #dde9b9;
  border-bottom: 1px solid #dde9b9;
}

.navbar {
  display: flex;
  width: 100%;
  overflow: hidden;
  align-items: center;
}

.navbar a,
.navbar .dropdown {
  flex: 1; text-align: center;
}

.navbar a {
  font-size: 16px;
  padding: 14px 16px;
  text-decoration: none;
  color: #418eac;
}

.dropdown .dropbtn {
  padding: 16px;
  font-family: inherit;
  font-size: inherit;
  color: #418eac;
  cursor: pointer;
  width: 100%;
  
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 220px;
  z-index: 10;
  margin-top: 10px;
}

.dropdown-content a {
  float: none;
  padding: 12px 16px;
  display: block;
  text-align: left;
}

.dropdown.mega .dropdown-content {
  width: 75%;
  padding: 0 20px 20px 20px;
}

.dropdown.mega p {
  color: #418eac;
  font-weight: bold;
  font-size: large;
  text-align: left;
}

.column-4 {
  float: left;
  width: 25%;
}

.dropdown.mega .column-4 a {
  padding: 5px 0;
}

.dropdown .column-4 a {
  float: none;
  padding: 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  text-decoration: underline;
}

/* hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  border: 0;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  text-align: left;
}

/* main */

#featuredpromo {
  position: relative;
  text-align: center;
}

.seasonal {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 25px;
  width: 75%;
}

.inner h2 {
  color: black;
  font-size: 3.5vw;
}

.inner h3 {
  color: black;
  font-size: 2.5vw;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  border-bottom: 1px solid #dde9b9;
}

.browse {
  text-decoration: none;
  color: #59bde2;
}

.browse::after {
  content: " >";
}

.column-3 {
  float: left;
  width: 33.33%;
  margin: auto;
}

.product-link {
  text-decoration: none;
  color: black;
}

.alert {
  color: red;
}

#love .row {
  height: 400px;          
  width: 100%;
  margin: 25px 0;
  background-color: #418eac;
  color: white;
}

.column-2 {
  float: left;
  width: 50%;
  height: 100%;     
}

#love h2 {
  color: white;
}

#love .column-2:first-child {
  position: relative;  
  padding: 25px;
}

#love .column-2:first-child > * {
  position: relative;
  top: 25%;
  transform: translateY(-25%);
}

.shop {
  border: none;
  color: white;
  background-color: #a8c400;
  padding: 5px 15px 10px;
} 

section {
  text-align: center;
}

.flex-row {
  display: flex;
  max-height: 500px;
  height: 500px;
  width: 100%;
  gap: 10px;
}

.flex-column-2 {
  display: block;
  width: 100%;
  height: auto;
  float: none;
}

.flex-column-2 .overlay-container {
  flex: 1;
  height: 50%;
}

.stacked {
  padding-bottom: 10px;
}

.overlay-container {
  position: relative;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.overlay-text h2, .overlay-text h3 {
  color: white;
}

/* footer */

footer {
  border-top: 1px solid #dde9b9;
  margin-top: 25px;
    
}

.bottom-nav {
  display: flex;
  justify-content: space-around; 
    
}

footer ul {
  list-style: none;
}

footer p {
  width: 25%;
}

footer a {color: #418eac; text-decoration: none;}

/* media queries */

@media screen and (max-width: 1200px) {
  #arrangements .column-4 {
    width: 50%;
  }
}

@media screen and (max-width: 992px) {
  .nav-toggle {
    display: block;
    width: 100%;
  }

  
  .navbar a,
  .navbar .dropdown {
    display: none !important;
  }

  #offer, #quickSearch {
    font-size: 14px;
  }  

  .flex-row {
    display: block;
    height: auto;
    max-height: none;
  }

  .flex-column-2:first-child {
    width: 100%;
    height: auto;
    float: none;
    padding-bottom: 10px;
  }

  .column-3 {
    width: 100%;
    height: auto;
    float: none;
  }

  #love .row {
    height: auto;
  }

  .column-2 {
    width: 100%;
    float: none;
  }

  #arrpromo h1, #arrpromo .img-col {
    display: none;
  }

  .stacked1 {
    margin-bottom: 0px;
  }  

  .section-header {
    display: block;
    text-align: center;
  }

  .bottom-nav {
    display: block;
    text-align: center;
  }

  footer p {
    width: 100%;
    margin: 0 auto 25px auto;
  }

  footer li {
    margin-left: -40px;
  }

  .navbar {
    display: block;
    text-align: left;
    overflow: visible;
  }  

  
  .navbar.is-open a,
  .navbar.is-open .dropdown {
    display: block !important;
  }

  .navbar > a {
    display: block;
    text-align: left;
  }

  .dropdown .dropbtn {
    width: 100%;
    text-align: left;
  }

  .dropdown .dropdown-content {
    display: none !important;
    position: static;
    width: 100%;
    min-width: 0;
  }


  .dropdown-content {
    margin-top: -10px;
    background-color: white;
  }

  .dropdown.open > .dropdown-content {
    display: block !important;
  }

  .dropdown.mega .dropdown-content {
    width: 100%;
    padding: 0 16px 16px;
  }

  .dropdown.mega .column-4 {
    width: 100%;
    height: auto;
    float: none;
  }

}

/* Desktop: hover opens dropdowns */
@media (hover: hover) and (pointer: fine) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}
