/* General styles */
.gift-page a,
.gift-page a:hover,
.gift-page a:visited,
.gift-page a:active {
	text-decoration: none;
}

.gift-page,
.gift-active-bar {
	font-size: 14px;
}

.gift-page .page-title-wrap {
	margin-bottom: 30px;
}

.gift-page .page-title-wrap .title {
	margin: 0;
  font-size: 2.2em;
  font-weight: bold;
  line-height: 1.3em;
}

.gift-page .page-title-wrap .title .edit {
  font-size: 18px;
  margin-left: 15px;
  color: inherit;
  opacity: .5;
}

.gift-page .page-title-wrap .intro-text {
	max-width: 600px;
  color: #888;
  line-height: 1.8em;
  margin-top: 10px;
}

.gift-page .no-list-found {
	color:red;
  margin-bottom:10px;
  font-size:90%;
}

.gift-input {
	height: 45px;
  padding: 0px 15px;
  outline: none;
  border-radius: 3px;
  font-size: 1em;
  background: #fff;
  border: 1px solid #eee;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}

.gift-out-of-stock-label {
	font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 3px;
  justify-content: center;
  text-align: center;
  background: #bc1a1a;
  color: #fff;
  white-space: nowrap;
}

textarea.gift-input {
	height: auto;
  min-height: 100px;
  min-width: 100%;
  max-width: 100%;
  padding: 15px;
}

.gift-btn {
  height: 50px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0px 30px;
  background: #aaa;
  color: #fff;
  border-radius: 3px;
  font-size: 1em;
  font-weight: bold;
  outline: none !important;
  cursor: pointer;
  text-decoration: none;
}

.gift-btn i {
	font-size: 18px;
}

.gift-btn i.before {
	margin-right: 7px;
}

.gift-btn i.after {
	margin-left: 7px;
}

.gift-btn:hover,
.gift-btn:visited,
.gift-btn:active,
.gift-btn:focus {
	color: #fff;
  text-decoration: none;
}

.gift-btn.gift-btn-small {
	height: 45px;
  padding: 0 20px;
}



.gift-qty-wrap {
	display: inline-flex;
  align-items: stretch;
  border: 1px solid #eee;
  border-radius: 3px;
  overflow: hidden;
}

.gift-qty-wrap input {
	width: 45px;
  height: 45px;
  padding: 0;
  text-align: center;
  border: none;
}

.gift-qty-wrap.smaller input {
	width: 35px;
  height: 35px;
  font-size: 12px;
}

.gift-qty-wrap .change {
	display: flex;
  flex-direction: column;
  border-left: 1px solid #eee;
}

.gift-qty-wrap .change a {
	display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 50%;
  background: #fff;
  text-decoration: none;
  position: relative;
}

.gift-qty-wrap .change a:hover {
	text-decoration: none;
}

.gift-qty-wrap .change a span {
	position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  width: 10px;
  height: 2px;
}

.gift-qty-wrap.smaller .change a span {
	width: 8px;
}

.gift-qty-wrap .change a span:nth-child(2) {
	transform: translate(-50%, -50%) rotate(90deg);
}

.sm-ul-reset {
	list-style: none;
  margin: 0;
  padding: 0;
}

.sm-container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.gift-page .page-wrap {
  display: flex;
}

.gift-page .page-wrap.reversed {
	flex-direction: row-reverse;
}

.gift-page .page-wrap .left-section {
  min-width: 500px;
  max-width: 500px;
  margin-right: 50px;
  padding-right: 50px;
  border-right: 1px solid #eee;
}

.gift-page .page-wrap.reversed .left-section {
	margin-right: 0;
  padding-right: 0;
  border-right: 0;
  margin-left: 50px;
  padding-left: 50px;
  border-left: 1px solid #eee;
}

.gift-page .right-section {
	flex-grow: 10;
}

.list-toggle {
	display: inline-flex;
  align-items: center;
}

.list-toggle .switch-wrap {
	display: inline-block;
  width: 38px;
  height: 20px;
  border-radius: 10px;
  background: #eee;
  transition: all .15s ease-in-out;
  position: relative;
}

.list-toggle .text {
	font-weight: bold;
  margin-left: 7px;
  color: #000;
  line-height: 1;
}

.list-toggle.active .active-text,
.list-toggle .inactive-text {
	display: inline-block;
}

.list-toggle.active .inactive-text,
.list-toggle .active-text {
	display: none;
}

.list-toggle.active .switch-wrap {
	background: #1abc9c;
}

.list-toggle .switch-wrap .switch {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e2e2;
  transition: all .15s ease-in-out;
}

.list-toggle.active .switch-wrap .switch {
	left: 20px;
}

.gift-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease-in-out;
}

.gift-message .button:empty {
	display: none;
}

.gift-message .button {
	margin-top: 10px;
}

.gift-message.active {
	opacity: 1;
  visibility: visible;
}

.gift-message .message-box {
  padding: 30px;
  background: #fff;
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  text-align: center;
}

.gift-message .message-box .icon {
	display: none;
  justify-content: center;
  align-items: center;
  min-width: 45px;
  max-width: 45px;
  min-height: 45px;
  max-height: 45px;
  border-radius: 50%;
  font-size: 30px;
  color: #fff;
  margin-bottom: 10px;
}

.gift-message .message-box .text {
  font-size: 1.3em;
  font-weight: bold;
  color: #000;
}

.gift-message .message-box .subtext {
	margin-top: 5px;
}

.gift-message .message-box .icon.success {
	background-color: #1abc9c;
}

.gift-message .message-box .icon.error {
	background-color: #bc1a1a;
}

.gift-message .message-box .icon.active {
	display: flex;
}

.gift-message .close-gift-message {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 25px;
  position: absolute;
  top: 0;
  right: 0;
  text-decoration: none;
  color: #aaa;
}

.edit-list-title form {
	display:flex;
  align-items:center;
  margin-top:10px;
}

.edit-list-title input {
	margin-right:10px;
}



@media (min-width: 1200px) {
	.sm-container {
    width: 100%;
    max-width: 1460px;
    padding: 0px 30px;
  }
  
  .sm-hidden-lg {
  	display: none !important;
  }
  
  .gift-btn:hover {
  	filter: brightness(95%);
  }
  
  .gift-page .page-wrap .left-section.left-section-large {
    min-width: 600px;
    max-width: 600px;
  }
}

@media (min-width: 992px) {
	.sm-container {
    max-width: 970px;
  }
}

@media (min-width: 768px) {
	.sm-container {
    max-width: 750px;
  }
}

@media (max-width: 1199px and min-width: 992px) { 
	.sm-hidden-md {
  	display: none !important;
  }
}

@media (max-width: 991px and min-width: 768px) {
	.sm-hidden-sm {
  	display: none !important;
  }
}

@media (max-width: 1199px) {
	.gift-page .page-wrap {
  	flex-direction: column;
  }
  
  .gift-page .page-wrap.reversed {
  	flex-direction: column-reverse;
  }
  
  .gift-page .page-wrap .left-section {
    min-width: 100%;
    max-width: 100%;
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
  }
  
  .gift-page .page-wrap.reversed .left-section {
    min-width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
  }
}

@media (max-width: 991px) {
	.gift-page .page-title-wrap .title {
    font-size: 2em;
  }
}

@media (max-width: 767px) {
  .sm-container {
    padding: 0px 20px;
  }
  
	.gift-page,
  .gift-active-bar {
    font-size: 13px;
  }
  
  .sm-hidden-xs {
  	display: none !important;
  }
  
  .gift-page .page-title-wrap .title {
    font-size: 1.8em;
  }

  .gift-page .page-title-wrap .intro-text {
    max-width: unset;
  }
}
/* End general styles */

/* Gift messages */
.sm-gift-message.success {
	color: #1abc9c;
}

.sm-gift-message.error {
	color: #bc1a1a;
}

.gift-small-message {
	display: inline-flex;
  align-items: center;
  font-weight: bold;
}

.gift-small-message .icon {
	display: none;
  font-size: 18px;
  margin-right: 3px;
}

.gift-small-message .icon.active {
	display: inline-flex;
}
/* End gift messages */

/* Active bar */
.gift-active-bar a,
.gift-active-bar a:hover,
.gift-active-bar a:visited,
.gift-active-bar a:active {
	text-decoration: none;
}

.gift-active-bar {
	position:fixed;
  bottom:0;
  width:100%;
  left:0;
  padding:15px 0px;
  background:#333;
  color:#fff;
  font-weight: bold;
  font-size: 1.1em;
  transform: translateY(100%) translateZ(0);
  transition: all .2s ease-in-out;
  transition-delay: .5s;
  z-index:999;
}

.gift-active-bar.active {
	transform: translateY(0) translateZ(0);
}

.gift-active-bar .inner {
	display:flex;
  align-items:center;
  justify-content:space-between;
}

.gift-active-bar .list-title {
	text-decoration: underline;
}

.gift-active-bar .quit-link {
  display: flex;
  align-items: center;
}

.gift-active-bar .quit-link i {
	margin-left: 3px;
  font-size: 15px;
}

@media (max-width: 767px) {
  .gift-active-bar {
  	bottom: 50px; /* Compensate for navigation bar */
    font-size: .98em;
  }
  
  .gift-active-bar .quit-link i {
  	font-size: 18px;
  }
}
/* End active bar */

/* Home */
#gift-home .navigation-items {
	display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

#gift-home .navigation-items li {
	padding: 10px;
}

#gift-home .navigation-items li a {
	display: flex;
  align-items: center;
  height: 80px;
  padding: 20px;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #eee;
}

#gift-home .navigation-items li a .icon-wrap {
	min-width: 50px;
  max-width: 50px;
  min-height: 50px;
  max-height: 50px;
  border-radius: 50%;
  border: 1px solid #eee;
  margin-right: 15px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#gift-home .navigation-items li a {
	font-size: 1.3em;
}

@media (min-width: 1200px) {
  #gift-home .navigation-items li a:hover {
  	border: 1px solid #ddd;
  }
}

@media (max-width: 767px) {
  #gift-home .navigation-items {
  	flex-direction: column;
    margin: -5px;
  }
  
  #gift-home .navigation-items li {
  	width: 100%;
    padding: 5px;
  }
  
  #gift-home .navigation-items li a {
  	padding: 15px;
    height: auto;
  }
  
  #gift-home .navigation-items li a .icon-wrap {
  	min-width: 45px;
    max-width: 45px;
    min-height: 45px;
    max-height: 45px;
    margin-right: 10px;
  }
  
  #gift-home .navigation-items li a .title {
  	font-size: .9em;
  }
}
/* End home */

/* Lists overview */


#gift-lists .create-section form {
	display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

#gift-lists .create-section form input {
  flex-grow: 10;
	min-width: 300px;
  margin-right: 10px;
}

#gift-lists .overview-section table {
	width: 100%;
  border: 1px solid #eee;
}

#gift-lists .overview-section table tr th,
#gift-lists .overview-section table tr td {
	padding: 10px 15px;
}

#gift-lists .overview-section table tr:nth-child(even) td {
	background: #f7f7f7;
}

#gift-lists .overview-section table tr th {
	color: #000;
}

#gift-lists .overview-section table tr td:nth-child(2) a {
	text-decoration: underline;
}

#gift-lists .overview-section table tr td:nth-child(3) {
	text-align: center;
}

#gift-lists .overview-section table tr td:last-child {
	text-align: right;
}

/* #gift-lists .overview-section table tr td:last-child span {
	font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 3px;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: #eee;
  width: 90px;
  opacity: 0;
  transition: all .15s ease-in-out;
} */

/* #gift-lists .overview-section table tr td:last-child span.active {
	background: #1abc9c;
  color: #fff;
  cursor: unset;
  opacity: 1;
} */

/* @media (min-width: 1200px) {
	#gift-lists .overview-section table tr:hover td:last-child span {
    opacity: 1;
  }
}

@media (max-width: 1199px) {
  #gift-lists .overview-section table tr td:last-child span {
    opacity: 1;
  }
} */

@media (max-width: 767px) {
  #gift-lists .create-section form {
    max-width: unset;
  	flex-direction: column;
    align-items: flex-start;
  }
  
  #gift-lists .create-section form input {
  	flex-grow: unset;
    width: 100%;
    min-width: unset;
    margin: 0;
    margin-bottom: 10px;
  }
  
  #gift-lists .create-section form .gift-btn {
  	width: 100%;
  }
  
/*   #gift-lists .overview-section table tr td:last-child span {
  	width: 100%;
  } */
}
/* End lists overview */

/* List search */
#gift-search form {
  display: flex;
  align-items: center;
}

#gift-search form input {
	width: 100%;
  max-width: 300px;
  margin-right: 10px;
}

@media (max-width: 767px) {
  #gift-search form {
    flex-direction: column;
    align-items: flex-start;
  }

  #gift-search form input {
    max-width: unset;
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  #gift-search form .gift-btn {
  	width: 100%;
  }
}
/* End list search */

/* List detail */
#gift-list-detail .share-link-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

#gift-list-detail .share-link-wrap input {
	flex-grow: 10;
  max-width: 500px;
  margin-right: 10px;
}

#gift-list-detail .receivers-wrap {
	margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

#gift-list-detail .receivers-wrap .add-receiver .form-inner {
	display: flex;
  align-items: center;
}

#gift-list-detail .receivers-wrap .add-receiver .form-inner input:first-child {
  width: 180px;
  margin-right: 10px;
}

#gift-list-detail .receivers-wrap .add-receiver .form-inner input:last-child {
	flex-grow: 10;
}

#gift-list-detail .receivers-wrap .add-receiver .btn-wrap {
	display: flex;
  align-items: center;
  margin-top: 10px;
}

#gift-list-detail .receivers-wrap .add-receiver .btn-wrap .gift-small-message {
	margin-left: 10px;
}

#gift-list-detail .receivers-wrap table {
	width: 100%;
  margin: 30px 0 10px 0;
}

#gift-list-detail .receivers-wrap table {
	width: 100%;
  border: 1px solid #eee;
}

#gift-list-detail .receivers-wrap table tr th,
#gift-list-detail .receivers-wrap table tr td {
	padding: 10px 15px;
}

#gift-list-detail .receivers-wrap table tr:nth-child(even) td {
	background: #f7f7f7;
}

#gift-list-detail .receivers-wrap table tr th {
	color: #000;
}

#gift-list-detail .receivers-wrap table tr td .status {
	font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 3px;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: #eee;
  width: 100%;
  opacity: 1;
  transition: all .15s ease-in-out;
}

#gift-list-detail .receivers-wrap table tr td .status.sent {
	background: #1abc9c;
  color: #fff;
}

#gift-list-detail .receivers-wrap table tr td a {
	cursor: pointer;
}

#gift-list-detail .receivers-wrap table tr td .send-link {
	text-decoration: underline;
}

#gift-list-detail .receivers-wrap table tr td .delete-link {
  font-size: 16px;
  color: #888;
}

#gift-list-detail .products-section table {
  width: 100%;
  margin-bottom: 10px;
}

#gift-list-detail .products-section table tr td {
	padding: 15px 0;
  border-bottom: 1px solid #eee;
  padding-right:20px;
}

#gift-list-detail .products-section table tr td:last-child {
	padding-right:0;
}

#gift-list-detail .products-section table tr td:last-child {
  text-align: right;
}

#gift-list-detail .products-section table tr td .add-gift-product {
	padding: 0;
  width: 45px;
}

#gift-list-detail .products-section table .product-info {
	display: flex;
  align-items: center;
}

#gift-list-detail .products-section table .product-info .image-wrap {
  min-width: 100px;
  max-width: 100px;
  margin-right: 15px;
}

#gift-list-detail .products-section table .product-info .image-wrap img {
	width: 100%;
}

#gift-list-detail .products-section table .product-info .info .product-title {
	display: flex;
  align-items: center;
}

#gift-list-detail .products-section table .product-info .info .product-title span {
  font-size: .85em;
  margin-left: 3px;
  font-weight: normal;
}

#gift-list-detail .products-section table .product-info .info .gift-out-of-stock-label {
	margin-top: 5px;
}

#gift-list-detail .products-section table .product-info .info .variant {
  font-size: .9em;
  margin-top: 1px;
}

#gift-list-detail .products-section table .product-info .info .price {
	margin-top: 5px;
  display: flex;
  align-items: center;
  font-weight: bold;
}

#gift-list-detail .products-section table .product-info .info .price-old {
  margin-left: 5px;
  font-size: .9em;
  text-decoration: line-through;
  opacity: .8;
}

#gift-list-detail .products-section table .product-info .info .gift-qty-wrap {
	margin-top: 5px;
}

#gift-list-detail .products-section table .status-wrap {
  display: flex;
  align-items: center;
}

#gift-list-detail .products-section table .status-wrap .text {
  font-size: .9em;
  margin-right: 10px;
}

#gift-list-detail .products-section table .status-wrap .product-status-bar {
  width: 150px;
  display: block;
  height: 5px;
  background: #eee;
  border-radius: 2.5px;
  position: relative;
  overflow: hidden;
}

#gift-list-detail .products-section table .status-wrap .current-status {
	position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  transition: all .3s ease-in-out;
  transition-delay: .5s;
}

#gift-list-detail .products-section table .delete-product {
  font-size: 16px;
  color: #888;
}

#gift-list-detail .products-section table .sm-gift-product {
	transition: opacity .2s ease-in-out;
}

#gift-list-detail .products-section table .sm-gift-product.disabled.done {
	pointer-events: none;
  opacity: .4;
}

#gift-list-detail .products-section table .sm-gift-product.owner-disabled.done {
	opacity: .4;
}

#gift-list-detail .no-gift-products {
  padding: 20px;
  background: #f7f7f7;
  margin-bottom: 20px;
  font-weight: bold;
}

@media (max-width: 767px) {
  #gift-list-detail .share-link-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  #gift-list-detail .share-link-wrap input {
    max-width: unset;
    flex-grow: unset;
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  #gift-list-detail .share-link-wrap .gift-btn {
  	width: 100%;
  }
  
  #gift-list-detail .receivers-wrap table tr th:first-child,
  #gift-list-detail .receivers-wrap table tr td:first-child {
  	display: none;
  }
  
  #gift-list-detail .receivers-wrap table tr th, 
  #gift-list-detail .receivers-wrap table tr td {
  	padding: 10px;
  }
  
  #gift-list-detail .receivers-wrap .add-receiver .form-inner {
  	flex-direction: column;
  }
  
  #gift-list-detail .receivers-wrap .add-receiver .form-inner input {
  	width: 100%;
  }
  
  #gift-list-detail .receivers-wrap .add-receiver .form-inner input:first-child {
    width: 100%;
  	margin-right: 0;
    margin-bottom: 10px;
  }
  
  #gift-list-detail .receivers-wrap .add-receiver .btn-wrap .gift-btn {
  	flex-grow: 10;
  }
  
  #gift-list-detail .products-section table .product-info .image-wrap {
    min-width: 30px;
    max-width: 30px;
  }
  
  #gift-list-detail .products-section table .status-wrap .product-status-bar {
  	width: 60px;
  }
}
/* End list detail */

/* Add product */
.gift-add-product {
	display: flex;
  align-items: center;
  margin-top: 20px;
}

.gift-add-product .content-box {
	padding: 20px;
  background: #fff;
}

.gift-add-product .content-box .title {
	font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 15px;
}

.gift-add-product .content-box .add-wrap {
	display: flex;
  align-items: center;
}

.gift-add-product .content-box .add-wrap .gift-btn {
	margin-left: 10px;
}
/* End add product */