/* = main container for gift page
------------------------------------------------------------- */
.gba-outer-container{
  width:100%;
}

form#SendGiftForm {
    width: 100%;
    position: relative;
	padding-bottom: 30px;
}

#SendGiftForm input, #SendGiftForm textarea, #SendGiftForm select {
    border: 1px solid rgba(234,234,234,.9); 
    width: 100%;
    margin: 5px 0;
    display: inline-block;
    box-sizing: border-box;
}

#SendGiftForm input::placeholder, #SendGiftForm textarea::placeholder {
  color: grey;
}

/* = Tab
------------------------------------------------------------- */
ul#tabs {
	list-style-type: none;
	margin: 0;
	margin-top: 1%;  
	padding: 0;
	white-space: nowrap;
	overflow: auto;
	text-align: center; 
}
ul#tabs li.nvtap {
    display: inline-block;
    background-color: white;
    padding: 5px 20px;
    padding-bottom: 4px;
    margin-bottom: 4px;
    cursor: pointer;
    border-bottom: 1px solid lightgray;
    -webkit-transform: translateZ(0);
    -webkit-tap-highlight-color: transparent;
}

ul#tabs li.nvtap:hover {
    color: #f7941e;
	padding-bottom: 3px;
    border-bottom: 2px solid #f7941e !important;
}

ul#tabs li.nvtap.active {
    color: #f7941e !important;
    padding-bottom: 3px;
    border-bottom: 2px solid #f7941e !important;
}
ul#tab {
  list-style-type: none;
  margin: 0;
  padding: 0 0 10px 0;
}
ul#tab li {
	display: none;
	padding: 0px;
	border: 1px solid rgba(234,234,234,.9);
}
ul#tab li.active {
  display: block; 
}
ul#tab li h2 {
  font-weight: 400;
  margin-bottom: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(234,234,234,.9);
}  
ul.products li {
    width: 200px;
    display: inline-block;
    vertical-align: top;
    padding: 5px;
}
ul.products li p, ul.products li h5{
	text-align: center;
}

/* = Auto Complete Style
------------------------------------------------------------- */
.autocomplete-suggestions {
    text-align: left; cursor: default; border: 1px solid #ccc; border-top: 0; background: #fff; box-shadow: -1px 1px 3px rgba(0,0,0,.1);

    /* core styles should not be changed */
    position: absolute; display: none; z-index: 9999; max-height: 254px; overflow: hidden; overflow-y: auto; box-sizing: border-box;
}
.autocomplete-suggestion { position: relative; padding: 0.1em 0.1em; line-height: 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.02em; color: #333; }
.autocomplete-suggestion b { font-weight: normal; color: #1f8dd6; }
.autocomplete-suggestion.selected { background: #f0f0f0; }
.autocomplete-suggestion span {
    vertical-align: baseline;
    padding: 2px;
}

/* = gift row and column style
------------------------------------------------------------- */
.giftbox-container {
  white-space: nowrap;
  overflow: auto;
}

.giftbox-container .giftbox{
  width: 148px;
  margin: 2px;
  padding: 5px;
  border: 1px solid #ccc;
  text-align: center;
  display: none; 
}

/*Fade all the DIV when user hovers on any div*/
.giftbox-container:hover .giftbox{
  zoom: 1;
  filter: alpha(opacity=45);
  opacity: 0.45;
  -webkit-transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -ms-transition: opacity .5s ease-in-out;
  -o-transition: opacity .5s ease-in-out;
  transition: opacity .5s ease-in-out;
}

/*Fade out the particular DIV when user hover on that DIV*/
.giftbox-container .giftbox:hover, .giftbox-container .giftbox-heighlight {
  box-shadow: 2px 2px 10px #666;
  border-color:#C76C0C;
  background: #C76C0C;
  color: #fff;
  cursor: pointer;
  
  /*Opacity*/
  zoom: 1;
  filter: alpha(opacity=100);
  opacity: 1;
}

.giftbox-container .giftbox p {
	margin: 5px 0;
}

#tab .active .giftbox {
	display: inline-block; 
}
.giftbox-container .gift-ad {
    display: none;
	width: 100%;
	border: 1px solid #ccc;
	padding: 10px;
}
.giftbox-container.active .gift-ad {
    display: block;
}
/* received gift container */

.received-giftbox-container .giftbox {
	width: 100%;
	padding: 15px;
	border-radius: 5px;
	border: 1px solid #ccc;
	margin-bottom: 15px;
	p {
		margin-bottom: 10px;
	}
}
.received-giftbox-container .gift-ad {
	width: 100%;
	margin-bottom: 15px;
}
.gift-sender-auther {
    display: flex;
    margin-bottom: 10px;
	.avatar {		
		width: 50px;
		border-radius: 5px;
		margin-right: 15px;
	}
}
.received-gift-box {
    display: flex;
    align-items: flex-start;
	flex-wrap: wrap;
    margin-bottom: 20px;
	> div {
		width: 100%;
		&.giftbox-img {
			display: flex;
			align-items: center;
			justify-content: center;
			background: rgba(0, 0, 0, 0.09);
			height: 400px;
			border-radius: 5px;
			overflow: hidden;
			img {
				height: 100%;
				width: auto;
			}
			& + div {
				margin-top: 15px;
			}
		}
		iframe {
			margin-top: 0 !important;
			width: 100%;
			height: calc(29vw - 110px);
		}
	}
}
.received-giftbox-container .delete {
	width: 100%;
	border-radius: 0px;
	box-sizing: border-box;
}
.received-giftbox-container p.giftbox-msg {
    font-size: 12px;
}
.received-giftbox-container p.giftbox-msg span{
	font-style: italic;
	font-weight: 600;
}
.received-giftbox-container p.giftbox-date{
	font-size: 12px;
	color: grey;
}
#template-notices {
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}
#template-notices .bp-template-notice {
	padding: 10px 30px;
    border-radius: 5px;
}
#template-notices .bp-template-notice p{
	padding: 0;
	margin: 0;
	white-space: nowrap;
}
#template-notices .success, #template-notices .updated {
	color: #33691E;
    background: #DCEDC8;
}
#template-notices .error {
	color: #fff;
    background: #cb2020;
}
.bp-navs.single-screen-navs ul li#gifts-personal-li a::before{content:"\ea2b"}

@media screen and (max-width: 1199.98px) {
	.received-gift-box {
		& > div {
			iframe {
				height: calc(41vw - 113px);
			}
		}
	}
}
@media screen and (max-width: 991.98px) {
	#template-notices {
		position: fixed;
	}
	.received-gift-box {
		& > div {
			iframe {
				height: calc(55vw - 113px);
			}
		}
	}
}
@media screen and (max-width: 767px) {
	.received-gift-box {
		& > div {
			iframe {
				height: calc(55vw - 50px);
			}
		}
	}
}
@media screen and (max-width: 575px) {
	.received-gift-box {
		& > div {
			iframe {
				height: calc(55vw - 40px);
			}
		}
	}
}