
.sticky-header {
	position: relative;
   top: 0;
	left: 0;
   z-index: 100;
}
#site-header {
	width: 100%;
	padding: 1.0em;
	position: relative;
	top: 0;
	left: 0;
	text-align: center;
	font-size: 1.0em;
	background-color: var(--color-logo-black);
   z-index: 100;
}
.site-logo {
	background-image: url( /images/logo-transparent-839x174.png );
	height: 5em;
   width: 24em;
	background-size: contain;
	background-repeat: no-repeat;
	position: relative;
   top: 0%;
   left: 50%;
   transform: translateX( -50% );
   -webkit-transform: translateX( -50% );
   cursor: pointer;
}
#nav-container, #search-container {
   position: absolute;
   width: 100%;
   border-bottom: solid 1px #000000;
   background-color: #ffffff;
   box-shadow: 2px 2px 7px #c9c9c9;
   display: flex;
   transition: transform 0.4s ease-in-out;
}
#search-container {
   flex-direction: column;
   justify-content: center;
   transition: transform 0.2s ease-in-out;
   transform: translateY(-100%);
   z-index: 10;
   height: 6em;
   display: flex;
   align-items: center;
}
#search-container.open {
   transform: translateY(0);
}
#site-nav {
   display: flex;
    width: 1000px;
    justify-content: space-between;
    margin: auto;
}
#site-header-nav {
   height: 3.4em;
   display: flex;
   position: relative;
   padding: 0em 1em;
	width: 33em;
	margin: auto;
   justify-content: space-between;
}
#site-header-sub-nav {
   display: flex;
   width: 20%;
   justify-content: space-between;
}
#header-search {
   display: flex;
   margin: .75em 1em;
}
#categorySearchForm {
   display: flex;
   flex-direction: row;
}
#categorySearchId {
   height: 2em;
   border-color: #b9b9b9;
   border-radius: 2px;
}
#categorySearchId.error {
   border-color: #6d6d6d !important;
}
#search-button {
   height: 2.0em;
   width: 2.1em;
   margin-left: 0.5em;
   padding: 0.5em;
   border-radius: 2px;
   border: 1px solid #b9b9b9;
   background-color: #FFFFFF;
   cursor: pointer;
   background-image: url("/images/icon-search.png");
   background-position: center;
   background-repeat: no-repeat;
   background-size: contain;
}

.icon-link {
	height: 2.0em;
   margin-top: 0.3em;
	border: none;
}
.header-nav-link {
	float: left;

   a, a:hover {
      font-size: 1.2em;
      line-height: 2.6em;
      font-family: 'HelveticaNeue';
      text-decoration: none;
      color: #000000;
   }
   a:hover {
      color: #4b4b4b;
   }
}

a.site-link, a.site-link:hover {
   font-size: 1.0em;
   line-height: 2.6em;
   font-family: 'HelveticaNeue';
   text-decoration: underline;
   color: #000000;
}
a.site-link:hover {
   color: #4b4b4b;
   text-decoration: none;
}

.font-size-075 {
   font-size: 0.75em;
}
.font-size-085 {
   font-size: 0.85em;
}
.font-size-100 {
   font-size: 1.00em;
}
.font-size-125 {
   font-size: 1.25em;
}
.font-size-133 {
   font-size: 1.33em;
}
.font-size-150 {
   font-size: 1.50em;
}
.font-size-175 {
   font-size: 1.75em;
}
.font-size-190 {
   font-size: 1.90em;
}
.font-white {
   color: #ffffff;
}

.horizontal-container, .horizontal-container-even {
   display: flex;
	margin: auto;
   justify-content: space-between;
}
.horizontal-container-even {
   justify-content: space-evenly;
}

.width-40 {
   max-width: 40em;
}

#main-container {
   margin: auto;
   margin-top: 4em;
   max-width: 1000px;
   background-color: #ffffff;
   position: relative;
}

.page-title {
   font-family: 'BodoniModa';
   font-weight: 400;
   font-size: 2.25em;
   color: #000000;
   margin-top: 1.0em;
   margin-bottom: 0.5em;

   a, a:hover {
      text-decoration: underline;
      font-family: 'BodoniModa';
      font-weight: 400;
      font-size: 1.0em;
      line-height: 1em;
      color: #000000;
   }
   a:hover {
      text-decoration: none;
      color: var(--color-medGrey);
   }

   br {
      line-height: 1em;
   }
}

p.free-text {
   font-family: 'HelveticaNeue';
   font-size: 1.4em;
   line-height: 1.5em;
   color: #000000;
}

.grid {
   display: grid;
   grid-gap: 20px;
   grid-template-columns: repeat(auto-fill, minmax(230px,1fr));
   /*grid-auto-rows: 200px;*/
 }
 
/* Slider Elements */
 .trending-title {
   font-size: 1.75em;
   margin-bottom: 0.5em;
   margin-left: 1.5em;
}
.splide {
   margin-bottom: 2.5em;
}
.splide__arrow--prev {
   left: 0.5em;
}
.splide__arrow--next {
   right: 0.5em;
}

.post-container, .post-detail-container {
   float: left;
   width: 230px;
   border-radius: 5px;
   cursor: pointer;
}
.post-container.featured {
   padding-top: 0;
   margin-top: 0;
}
.post-detail-container {
   width: 100%;
   margin-bottom: 3em;
   cursor: auto;

   .title {
      font-size: 2.40em;
   }
   .img-container {
      display: block;
      float: left;
      max-width: 410px;
   }
   .margin-auto {
      margin: auto;
      float: none;
   }
   .text-center {
      text-align: center;
   }
   .video-player {
      max-width: 450px;
   }
   .description {
      font-size: 1.5em;
      font-family: 'HelveticaNeue';
   }
   .items-container {
      float: left;
      max-width: 550px;
   }

   .outfit-item-container {
      position: relative;
      float: left;
      width: 210px;
      margin: 2.5em;

      .img-container {
         width: 100%;
      }
      .item-title {
         font-size: 1.2em;
      }
   }
}

.itemShopTitle {
   position: relative;
   top: 0em;
   left: 1.5em;
   font-size: 1.5em;
   font-family: 'HelveticaNeue';
   font-weight: 300;
   margin-top: 0em;
   margin-bottom: 0em;
}

.title {
   font-size: 1.75em;
   font-weight: 500;
   font-family: 'BodoniModa-bold';
}

.date-container {
   font-size: 0.85em;
   font-family: 'HelveticaNeue';
}

.img-container {
   display: flex;
   align-content: center;
   justify-content: center;
}

.img-div {
   position: relative;
}
.favorite-button {
   position: absolute;
   bottom: 1.0em;
   right: -0.5em;
   width: 3.2em;
   height: 3.2em;
   background-color: #ffffff;
   border-radius: 50%;
   cursor: pointer;
   box-shadow: 1px 2px 3px #b3b3b3;

   .fav-button-img {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate( -50%, -50% );
      width: 2.0em;
      height: 2.1em;
   }
}

.list-img, .list-img-post {
   max-width: 100%;
   max-height: 210px;
}
.list-img-post {
   max-height: 336px;
}
.detail-img {
   max-width: 100%;
   max-height: 400px;
}
.post-detail-img {
   max-width: 100%;
   max-height: 600px;
}

.detail-popup .description {
   font-size: 1.25em;
   font-family: 'HelveticaNeue';
}

a.footer-nav-link, a.footer-nav-link:hover {
	font-size: 1.0em;
	color: white;
	padding: 0.5em 1.0em;
	line-height: 1.8em;
   text-decoration: none;
   font-weight: 300;
   padding: 0px 5px;
}
a.footer-nav-link:hover {
	color: var( --color-medGrey );
}

#footer {
	width: 100%;
	height: auto;
	padding: 2em;
	position: relative;
	top: 0;
	left: 0;
	text-align: center;
	font-size: 1.0em;
	background-color: var(--color-logo-black);
	display: inline-block;
}

.color-white {
   color: #ffffff;
}
.buy-button {
   padding: 10px 26px;
   background-color: #000000;
   border-radius: 5px;
   font-family: HelveticaNeue;
   width: 100%;
   box-shadow: 3px 2px 4px #dddddd;
   cursor: pointer;
   display: block;
   text-align: center;
   text-decoration: none;
}

.detail-popup {
   visibility: hidden;
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%) scale(0.1);
   width: 400px;
   height: auto;
   padding: 20px;
   background-color: #ffffff;
   border-radius: 10px;
   box-shadow: 8px 8px 20px #9b9b9b;
   transition: transform 0.2s;
   z-index: 10;
}
.open-detail-popup {
   visibility: visible;
   transform: translate(-50%, -50%) scale(1.0);
}

.close-button {
   position: absolute;
    top: -1.0em;
    right: -0.3em;
    width: 3em;
    height: 3em;
    padding: .75em;
    cursor: pointer;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0px 2px 5px #c8c8c8;
}
.close-button-x {    
   width: 1.5em;
   height: 1.5em;
   background-image: url(/images/icon-close-x.png);
   background-size: contain;
}

/* TOOLTIP */
.tooltip {
	position: relative;
	display: inline-block;
	left: 0.3em;
 }
 .tooltip img {
	width: 1em;
	height: 1em;
 }
 .tooltip .tooltiptext, .tooltiptext.fav {
	visibility: hidden;
	width: 14.8em;
	background-color: #ffffff;
   font-family: 'HelveticaNeue';
   font-size: 1.0em;
	color: #000000;
	text-align: left;
	padding: 0.5em;
	/* Position the tooltip */
	position: absolute;
	top: 1.5em;
  	left: -12em;
	z-index: 1;
	border: solid 1px #000000;
	border-radius: 5px;
   box-shadow: 0px 2px 8px #828282;
 }
.tooltip .tooltiptext.fav {
   top: -4.7em;
   left: -20em;
}
 .tooltip:hover .tooltiptext {
	visibility: visible;
   font-family: 'HelveticaNeue';
   font-size: 1.0em;
 }
 /* END TOOLTIP */

 .helptext {
   display: none;
   position: relative;
   font-family: 'HelveticaNeue';
   font-size: 0.85em;
	color: #000000;
	text-align: left;
 }
 #userName:focus + .helptext {
   display: block;
 }
 #email:focus + .helptext {
   display: block;
 }
 #userPassword:focus + .helptext {
   display: block;
 }

 .show-icon {
   position: absolute;
   top: 0em;
   right: 0.2em;
   border: none;
   background-color: transparent;
   padding: 0.75em;
   width: 3em;
   height: 3em;
   cursor: pointer;

   img {
      width: 100%;
      height: 100%;
   }
 }
 
.font-helvetica {
   font-family: HelveticaNeue;
}
.font-bodoni {
   font-family: 'BodoniModa';
}

#pagination {
   width:100%;
   text-align: center;
   display: flex;
   flex-direction: row;
   justify-content: space-between;
}
.pag-button {    
   border: none;
   background-color: transparent;
   width: 6.5em;
   height: 2em;
   cursor: pointer;
   margin: 2em 5em;
}
.pag-button span {
   font-family: HelveticaNeue;
   font-size: 1.25em;
   line-height: 2em;
}
.pag-chevron, .pag-chevron-left {
   width: 2em;
   height: 2em;
   float: right;
}
.back-chevron-left {
   width: 1em;
   height: 1em;
   margin-right: 0.5em;
}
.pag-chevron-left, .back-chevron-left {
   float: left;
}

a.divLink, a.back-button {
   color: #000000;
   border: none;
   text-decoration: none;
}
a.back-button {
   font-family: 'HelveticaNeue';
   font-size: 1.3em;
   display: inline-block;
}

#signin-container {
   max-width: 33em;
   margin: 4em auto;
}

#logged-in-nav-container {
   position: relative;
   width: 100%;
   height: 2.5em;

   #user-nav {
      float: right;
      margin-top: 0.5em;
      margin-right: 1em;
      font-family: 'HelveticaNeue';
      font-size: 1.2em;

      a, a:hover {
         border: none;
         text-decoration: none;
         color: var( --color-pink );
      }
      a:hover {
         color: var( --color-medGrey );
      }

      a.user-nav-link, a.user-nav-link:hover {
        font-family: 'HelveticaNeue';
        font-size: 1.0em;
        text-decoration: none;
        margin-left: 1em;
      }
   }
}

#account-info-container {
   margin: 2.0em;
   display: inline-block;

   span {
      color: var(--color-medGrey);
   }
}

.width-100 {
   max-width: 100%;
}

.display-block {
   display: block;
}
.display-inline-block {
   display: inline-block;
}

.account-section {
   font-family: 'HelveticaNeue';
   float: left;
}

#hamburger {
   display: block;
   cursor: pointer;
}
.bar {
   height: 2px;
   width: 1.7em;
   background: #ffffff;
   margin: 4px 0px;
   opacity: 0.8;
   transition: all 0.3s ease-in-out;
}

#hamburger.open .bar:nth-child(1) {
   transform: translateY(6px) rotate(45deg);
}
#hamburger.open .bar:nth-child(2) {
   opacity: 0;
}
#hamburger.open .bar:nth-child(3) {
   transform: translateY(-6px) rotate(-45deg);
}

.hamburger-button {
   position: absolute;
   top: 1.4em;
   left: 1em;
   background: transparent;
   border: none;
   display:none;
}
#open-search-button {
   position: absolute;
   top: 2.8em;
   right: 50%;
   transform: translateX(475px);
   display: block;
   background: transparent;
   border: none;
   background-image: url( /images/icon-search-white.png );
   cursor: pointer;
   background-position: center;
   background-repeat: no-repeat;
   background-size: contain;
   height: 2em;
   width: 2em;
}
#open-search-button.open {
   background-image: url( /images/icon-x-white.png );
   width: 1.5em;
   height: 1.5em
}
#searchTermForm {
   width: 50%;
   display: flex;
   max-width: 1000px;
}
#searchTermForm input {
   width: 90%;
   font-size: 1.6em;
   padding: 0.25em;
   outline: none;
   border: 1px solid #bfbfbf;
   border-top: none;
   border-bottom: none;
   border-right: none;
}
#search-term-button {
   background-color: #000000;
   padding: 0.65em 1em;
   color: #ffffff;
}

/* SCREENS LESS THAN 1041 WIDE */
@media screen and ( max-width: 1041px ) {
   .post-detail-container {
      .img-container {
         margin-left: 1em;
      }
   }
   .page-title {
      margin-left: 0.5em;
   }
   .post-container {
      margin-left: 1em;
   }

   #open-search-button {
      right: 1em;
      transform:none;
   }
}

/* SCREENS LESS THAN 1015 WIDE */
@media screen and ( max-width: 1015px ) {
   .page-title {
      line-height: 1.25em;
      margin-bottom: .75em;
   }
   .post-detail-container {
      box-shadow: none;
      .items-container {
         width: 99%;
         margin-top: 7em;
      }
   }
   .back-chevron-left {
      margin-left: 1em;
   }
   .hamburger-button {
     top: 2.3em;
   }
}

/* SCREENS LESS THAN 768 WIDE */
@media screen and ( max-width: 768px ) {
   .sticky-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
   }
   .header-nav-link {
      a, a:hover {
          font-size: 1.3em;
      }
   }
   .hamburger-button {
      top: 2.3em;
      display:block;
   }
   #open-search-button {
      top: 2.3em;
   }
   #searchTermForm {
      width: 90%;
   }
   #nav-container {
      position: absolute;
      flex-direction: column;
      transform: translateY(-100%);
   }
   #nav-container.open {
      transform: translateY(0);
   }
   #header-search {
      margin-top: 2em;
   }
   #categorySearchId {
      font-size: 1.5em;
   }
   #search-button {
      height: 2.7em;
      width: 2.7em;
   }
   #site-nav {
      flex-direction: column-reverse;        
      align-items: center;
      width: auto;
      padding-bottom: 1.5em;
   }
   #site-header-nav {
      flex-direction: column;
      align-items: center;
      height:auto;
      width: auto;
      margin-top: 1em;
   }
   #site-header-sub-nav {
      width: auto;
      margin-top: 1.5em;
   }
   .icon-link {
      margin: 0.5em;
   }

   #main-container {
      margin-top: 8em;
   }
}

/* SCREENS LESS THAN 628 WIDE */
@media screen and ( max-width: 628px ) {
   
   #site-header {
      padding: 0.25em 0em;
      height: 5em;
   }
   .hamburger-button {
      top: 1.4em;
   }
   #open-search-button {
      top: 1.4em;
   }
   #open-search-button.open {
      top: 1.5em;
   }
   .site-logo {
      top: 5px;
      width: 40%;
      min-width: 210px;
   }
   #main-container {
      margin-top: 6.0em;
   }
   .account-section {
      float: none;
   }
   .tooltip .tooltiptext {
      left: -4em;
    }
   .itemShopTitle {
      width: 95%;
   }
}

/* SCREENS LESS THAN 550 WIDE */
@media screen and ( max-width: 550px ) {
   .post-container {
      width: 92%;
      margin-bottom: 1.5em;
   }
}

/* SCREENS LESS THAN 500 WIDE */
@media screen and ( max-width: 500px ) {
   .video-player, .buy-button {
      width: 90%;
   }
   .list-img, .list-img-post {
      width: auto;
      max-height: 383px;
   }
   .list-img-post {
      max-height: 525px;
   }
   .itemShopTitle {
      left: 0em;
   }
   .post-detail-container {
      width: 94%;
      .img-container {
         width: 99%;
     }
     .post-detail-img {
         max-height: none;
      }
      .items-container {
         width: 100%;
         margin-top: 4em;
         margin-left: 1em;
      }
   }
   .splide__arrow {
      width: 3em !important;
      height: 3em !important;
   }
   #account-info-container {
      margin: 2.0em 1.0em;
   }
   .outfit-item-container {
      width: 90%;
      margin-left: 1em;
      
     .post-detail-img {
         max-height: none;
      }
   }
}

/* SCREENS LESS THAN 450 WIDE */
@media screen and ( max-width: 451px ) {
   .detail-popup {
      width: 95%;
   }
   .detail-img {
      max-height: 380px;
  }
  .pag-button {
      margin: 1em 2em;
   }
}