﻿/*--General--*/
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, strong, b, u, i, ul, li, form, label, table, caption, article, aside, canvas, footer, header, hgroup, menu, nav, output, section, time, audio, video {
	margin: 0;
	padding: 0;
	border: none
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block
}
a {
	text-decoration: none;
	color: #4a4a4a;
	cursor: pointer;
	font-weight: 600
}
a:focus, a:hover {
	text-decoration: none;
	color: #f56306;
}
p {
	margin-top: 0;
	margin-bottom: 1rem;
}
ul, ul li {
	list-style: none;
	margin: 0;
	padding: 0
}
body {
	background-color: #fff;
	color: #333;
	xfont-family: 'Lato', sans-serif;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	font-size: 100%;
	font-weight: 400;
	line-height: 1.5;
	margin: 0 auto;
	overflow-y: scroll;
	padding: 0;
}
.col-centered {
	margin: 0 auto;
	display: block;
	text-align: center;
}
.mt-6 {
	margin-top: 4rem !important;
}
.videobg {
	background: url(../images/bg-video.gif) center;
}
img {
	max-width: 100%;
	height: auto;
}
.container {
	max-width: 1260px !important;
	overflow: hidden;
}
/*--Navigation--*/

.bg-dark {
	background-color: #ccc!important;
}
.bg-secondary a {
	color: #fff;
}
.navbar.bg-secondary {
	background-color: #ccc!important;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	margin-bottom: 1.5rem;
	font-family: inherit;
	line-height: 1.2;
	color: inherit;
}
.CNY1 {
	font-family: 'Lora', serif;
	margin-bottom: 20px;
	margin-top: 20px;
	font-weight: 400;
	color: #9e0403;
	padding-left: 20px;
}
.CNY3 {
	font-family: 'Lora', serif;
	margin-bottom: 20px;
	margin-top: 20px;
	font-weight: 700;
	color: #D18716;
	xborder-left: 5px solid #9e0403;
	xpadding-left: 20px;
	font-style: italic;
}
.cap {
    font-size: 13px;
    font-style: italic;
    padding: 10px 0 0 0;
	font-weight: normal;
	line-height: 14px;
	color: #780E10;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    xcolor: rgba(0,0,0,.7);
    background-color: #9e0403;
    color: white;
    padding-left: 10px;
}

.navbar {
    padding: 0;
}
.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,.5);

    padding-left: 10px;
	
}

.title {
	font-family: 'Berkshire Swash', cursive;
	margin-bottom: 1.5rem;
	margin-top: 1.5rem;
	line-height: 1em;
	font-weight: 600;
	color: #ba090b;
	xtext-transform: uppercase;
	font-size: 44px;
	background: url(../images/titlebg.jpg) center;
	background-repeat: no-repeat;
}
/*--Header--*/
.CNYheader {
	margin-top: 50px; /*to follow Fixed Navi height*/
	height: 190px;
	text-align: center;
	background: url(../images/cny2018-header.jpg) center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center;
}
.CNYheader h1 {
	padding-top: 2.5rem!important;
	text-align: center;
}
.invisibleLink {
    display: block;
    position: absolute;
    height: 130px;
width: 100%;
}
/* hovereffect*/
.hovereffect {
	width: 100%;
	height: 100%;
	float: left;
	overflow: hidden;
	position: relative;
	text-align: center;
	cursor: default;
	max-height: 260px;
}
.hovereffect .overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(0,0,0,0.5);
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out
}
.mobilestatic h2 {
		display:none;
	}
.in-mobile-only {
		display:none;
	}
.hovereffect img {
	display: block;
	position: relative;
	-webkit-transition: all .4s linear;
	transition: all .4s linear;
}
.hovereffect h2 {
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	position: relative;
	font-size: 17px;
	background: rgba(248, 6, 6, 0.2);
	-webkit-transform: translatey(-100px);
	-ms-transform: translatey(-100px);
	transform: translatey(-100px);
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	padding: 10px;
	width: 100%;
	height: 100%;
}
.hovereffect a.info {
	text-decoration: none;
	display: inline-block;
	text-transform: uppercase;
	color: #fff;
	border: 1px solid #fff;
	background-color: transparent;
	opacity: 0;
	filter: alpha(opacity=0);
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	margin: 50px 0 0;
	padding: 7px 14px;
}
.hovereffect a.info:hover {
	box-shadow: 0 0 5px #fff;
}
.hovereffect:hover img {
	-ms-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}
.hovereffect:hover .overlay {
	opacity: 1;
	filter: alpha(opacity=100);
}
.hovereffect:hover h2, .hovereffect:hover a.info {
	opacity: 1;
	filter: alpha(opacity=100);
	-ms-transform: translatey(0);
	-webkit-transform: translatey(0);
	transform: translatey(0);
}
.hovereffect:hover a.info {
	-webkit-transition-delay: .2s;
	transition-delay: .2s;
}
.lead-tile {
	margin-bottom: 30px;
}
/*recipes component*/

.nav-pills-dropdown {
	display: none;
}
.recipes-tab .nav-pills {
	font-weight: 600;
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 15px;
}
.recipes-tab .nav-pills>li.active {
	background: #e52827;
	position: relative;
}
.recipes-tab .nav-pills>li.active:after {
	background-color: transparent;
	border-top: 0.5em solid #e52827;
	border-left: 0.5em solid transparent;
	border-right: 0.5em solid transparent;
	bottom: -0.5em;
	content: '';
	height: 0;
	left: 50%;
	margin-left: -0.375em;
	position: absolute;
	width: 0;
}
.recipes-tab .nav-pills>li {
	margin: 0;
	padding: 10px 6px;
	text-align: center;
	border: none;
	display: inline-block;
	background: #ddd;
	margin-right: 12px;
}
.recipes-tab .nav-pills>li.active>a {
	color: #fff;
	font-weight: 600;
}
.recipes-tab .nav-pills>li>a {
	border-radius: 0;
	color: #4a4a4a;
	font-size: 16px;
	font-weight: normal;
	padding: 10px 16px;
}
.recipe-list-set .recipe-list {
	margin-bottom: 25px;
	float: left;
}
.recipe-list-set .hovereffect {
	height: 320px;
}
.recipe-list-set .hovereffect img {
	min-height: 100%;
	min-width: 100%;
	width: auto;
	height: auto;
	max-width: none;
	max-height: none;
	position: absolute;
	top: -40%;
	left: 0%;
	transform: translate(-20%, 0);
}
.recipe-list-set a.info {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
	text-align: center;
	padding-top: 100px;
}
.recipe-list-set .hovereffect a.info:hover {
	color: #fff;
}
.recipe-desc li {
	margin-bottom: 5px;
	list-style: disc;
	xpadding-left: 10px;
	xmargin-left: 20px;
}
li.f {
	list-style-type: decimal;
	border-bottom: 1px dashed #555555;
	padding-bottom: 15px;
	margin-top: 15px;
}
.method {
	border-bottom: 1px dashed #999999;
	padding-bottom: 15px;
	margin-top: 15px;
}
.methodtitle {
	xborder-bottom: 1px dashed #999999;
	font-weight: bold;
	margin-top: 15px;
	margin-bottom: 0;
}
.backarrow {
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	color: red;
	padding-left: 5px;
}
.ing {
	font-size: 12px;
	color: darkorange;
	padding-left: 5px;
}
.author {
	font-size: 12px;
	color: orangered;
}
table {
	font: 14px;
	border-collapse: collapse;
	width: 100%;
	border: 0;
}
th {
	padding: 0 0.5em;
	text-align: left;
}
tr.yellow td {
	border-top: 1px solid #FB7A31;
	xborder-bottom: 1px solid #FB7A31;
	background: #FFC;
}
td {
	xborder-bottom: 1px solid #CCC;
	padding: 0 0.5em;
}
td:first-child {
	width: 190px;
}
td+td {
	xborder-left: 1px solid #CCC;
}
.ingredient {
	xwidth: 80%;
	padding: 0 0.5em;
}
.gram {
	max-width: 100px;
	padding: 0 0.5em;
}
/*footer*/
.bg-cny {
	position: relative;
	color: white;
	height: 390px;
	background: url(../images/footerbg.jpg) center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center;
	bottom: 0;
}
.bg-cny p {
	font-size: 0.75em;
	position: absolute;
	bottom: 0;
	padding: 10px;
	left:20%;
	right:20%;
}
.bg-cny h6 {
    color: #333333;
}
/*bk-tips*/

.bk-tips {
	color: #333;
}
.bk {
	margin-bottom: 2rem !important;
	background-color: #f6d2d1;
	padding: 30px;
}
.bk-tips h1 {
	font-size: 30px;
	margin-bottom: 0;
}
.bk-tips h2 {
	float: left;
	font-size: 40px;
	font-weight: 900;
	padding: 0 10px 0 10px;
	margin: 20px 20px 0 auto;
	background-color: red;
	color: white;
}
.bk-tips h3 {
	font-weight: 500;
	font-size: 20px;
	padding: 15px 0 0 40px;
	margin-bottom: 0;
}
.bk-tips p {
	padding: 10px 0;
}
.bk img {
	padding-top: 20px;
}
.fengshui p {
	padding: 0;
	margin-top: 10px;
}
.fengshui {
	margin-bottom: 0;
}

/*Prosperity Card Listing*/

.card {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border-radius: .25rem;
}
.prosperity-desc h3 {
	text-align: center;
	font-size: 30px;
	padding-bottom: 10px;
	font-weight: bold;
	color: red;
}
.prosperity-desc p {
	text-align: left;
	padding-bottom: 10px;
}
.card-title {
	margin-bottom: .75rem;
font-style: normal;
font-size: 20px;

}
.card-title h1 {
	font-size: 52px;
	font-weight: 900;
	color: red;
	padding-right: 20px;
	float: left;
	margin: 0;
}
.card-decor {
	background-color: #f8efe3;
	flex: 1 1 auto;
	padding: 1.25rem;
}
.card-body {
	background-color: burlywood;
}
.card-body1 {
	background-color: #B51F24;
	max-width: 1050px;
	color:white;
}
/*Decor*/
.card-img-top {
	width: 50%;
	border-top-left-radius: calc(.25rem - 1px);
	border-top-right-radius: calc(.25rem - 1px);
	float: left;
	padding-right: 15px;
}
.portfolio-item {
	margin-bottom: 30px;
}
.tumbnailcolor {
	width: 100px;
	xheight: 100px;
	margin: 10px 20px 0 0;
	display: inline-block;
}
.tumbnailcolor ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.tumbnailcolor li {
}
.color1 {
	background-color: #ff88bb;
}
.color2 {
	background-color: #0B9300;
}
.color3 {
	background-color: #FF9900;
}
.color4 {
	background-color: #0066dd;
}
.color5 {
	background-color: #9B4635;
}
.color6 {
	background-color: #ffd500;
}
.color7 {
	background-color: #C6001D;
}
.color8 {
	background-color: #000000;
}
.color9 {
	background-color: cyan;
}
.color10 {
	background-color: #808080;
}
.color11 {
	background-color: #FFFFFF;
}

.colorblock
{
	margin-right: 2%;
	  margin-bottom: 2%;
    margin-top:1%;
    width:30%;
    padding-bottom: 15%; /* relative size and position on page */
    float: left;
    position:relative;  /* coord system stop */
	border: 1px solid #D7D4D4;
}
.colorblock p
{
    /*! position: relative; */
    background-color: transparent;
    text-align: center;
	   color:white;
    /*! background-color: yellow; */
    position: absolute;
    /*! top: 0px; */
    /*! padding-top: 20%; */
    /*! padding-bottom: 10%; */
    /*! height: 0px; */
    left: 0;
    right: 0;
    top: 40%;
    bottom: 30%;
}


.flex-container {
  display: flex;
  flex-wrap: nowrap;

}
.flex-container p {
  color:white;
	font-size:16px;
}

.flex-container>div {
  width: 100px;
  text-align: center;
  line-height: 75px;
  font-size: 30px;
}
/*Gifts Guide Flipcard*/
.flip-container {
	perspective: 1000px;
}
/* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
	transform: rotateY(180deg);
}
.flip-container, .front, .back {
	width: 100%;
	height: 330px;
	position: relative;
	overflow: hidden;
}
.flip-container p {
	xpadding: 0 20px 0 20px;
	font-size: 13px;
}
.flip-container .back h3, .flip-container .back p {
	color: #fff;
}
.flip-container h3 {
	padding: 15px 15px 5px 0;
	margin: 10px;
	font-size: 22px;
	font-weight: 600;
}
.flip-container h2 {
    position: absolute;
    bottom: 0px;
    left: 10px;
    width: 100%;
    font-size: 1.1em;
    /* padding-left: 10px; */
    text-shadow: 2px 1px 1px rgba(0, 0, 0, 0.65);
    color: white;
    /* background-color: rgba(248, 6, 6, 0.6); */
}
/*.flip-container h2 {
	position: absolute;
	bottom: 10px;
	left: 30px;
	width: 100%;
	font-size: 1.5em;
	padding-left: 10px;
	xtext-shadow: 2px 2px 1px rgba(250,250,250,0.5);
	color: white;
	background-color: rgba(248, 6, 6, 0.6);
}*/

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;
	position: relative;
}
/* hide back of pane during swap */
.front, .back {
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
}
/* front pane, placed above back */
.front {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
}
/* back, initially hidden pane */
.back {
	transform: rotateY(180deg);
	background: #ff3442;
	padding: 0 20px 0 20px;
}
/*recipes component*/

.nav-pills-dropdown {
	display: none;
}
.recipes-tab .nav-pills {
	font-weight: 600;
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 15px;
}
.recipes-tab .nav-pills>li a.active {
    background: #e52827;
    position: relative;
}
.recipes-tab .nav-pills>li a.active:after {
	background-color: transparent;
	border-top: 0.5em solid #e52827;
	border-left: 0.5em solid transparent;
	border-right: 0.5em solid transparent;
	bottom: -0.5em;
	content: '';
	height: 0;
	left: 50%;
	margin-left: -0.375em;
	position: absolute;
	width: 0;
}
.recipes-tab .nav-pills>li {
    margin: 0;
    padding: 10px 0px;
    text-align: center;
    border: none;
    display: inline-block;
    background: #ddd;
    margin-right: 12px;
}
.recipes-tab .nav-pills>li>a.active {
    color: #fff;
    font-weight: 600;
}
.recipes-tab .nav-pills>li>a {
	border-radius: 0;
	color: #4a4a4a;
	font-size: 16px;
	font-weight: normal;
	padding: 10px 16px;
}
.recipe-list-set .recipe-list {
	margin-bottom: 25px;
	float:left;
}
.recipe-list-set .hovereffect {
	height: 320px;
}
.recipe-list-set .hovereffect img {
	min-height: 100%;
	min-width: 100%;
	width: auto;
	height: auto;
	max-width: none;
	max-height: none;
	position: absolute;
	top: -40%;
	left: 0%;
	transform: translate(-20%, 0);
}
.recipe-list-set a.info {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
	text-align: center;
	padding-top: 100px;
}

.recipe-list-set .hovereffect a.info:hover {
	color:#fff;
}
.recipe-desc li {
	margin-bottom: 5px;
	list-style: disc;
	xpadding-left: 10px;
	xmargin-left: 20px;
}
/*Expanding Grid*/

.expanding-grid {
	position: relative;
	width: 100%;
}
.expanding-grid .links {
	display: block;
	margin: 0 -1em;
	overflow: hidden;
	padding: 1em 0;
}
.expanding-grid .links > li {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	padding: 1em;
}
.expanding-grid .links > li a {
	/* background:#ff0021;*/
	color: #fff;
	display: block;
	font-size: 2em;
	line-height: 1;
	padding: 10px;
	position: relative;
	text-align: center;
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.expanding-grid .links > li a:hover {
/* background: #ca031c;*/
}
.expanding-grid .links > li a.active {
/* background: #ca031c;*/
}
.expanding-grid .links > li a.active:after {
	background-color: transparent;
	border-bottom: 0.375em solid #9e0403;
	border-left: 0.375em solid transparent;
	border-right: 0.375em solid transparent;
	bottom: -0.5em;
	content: '';
	height: 0;
	left: 50%;
	margin-left: -0.375em;
	position: absolute;
	width: 0;
}
.expanding-grid .spacer {
	clear: both;
	display: block;
	margin: 0 1em;
}
.expanding-grid .expanding-container {
	clear: both;
	display: none;
	overflow: hidden;
	width: 100%;
}
.expanding-grid .expanding-container.expanded, .expanding-grid .expanding-container:target {
	display: block;
}
.expanding-grid .hentry {
	background: #9e0403;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	clear: both;
	color: #fff;
	min-height: 4em;
	overflow: hidden;
	padding: 2em;
	width: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.expanding-grid .hentry .entry-image {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	float: right;
	margin-left: 1em;
	padding: 0.25em 0 0.52em 1em;
	text-align: center;
	width: 40%;
}
.expanding-grid .hentry .entry-title {
	font-family: 'Berkshire Swash', cursive;
	font-size: 2.5em;
	text-transform: uppercase;
	margin-left: 15px;
	margin-bottom: 15px;
}
.hentry p {
	margin-top: 10px;
}
.expanding-grid .close-button {
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNLjcuN2wxOCAxOG0tMTggMGwxOC0xOCIvPjwvc3ZnPg==) no-repeat scroll 50% 50% transparent;
	color: #fff;
	display: inline-block;
	height: 20px;
	line-height: 1;
	overflow: hidden;
	padding: 1.5em 2em;
	text-decoration: none;
	text-indent: 5em;
	white-space: nowrap;
	width: 20px;
	will-change: opacity;
	z-index: 5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.expanding-grid .close-button.active {
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}
.expanding-grid .close-button:hover {
	opacity: 0.5;
}
.img-placeholder {
	background: transparent;
	color: #fff;
	font-size: 4em;
	font-weight: 300;
	line-height: 1;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.zodiac-list li a p {
	color: #444;
	font-size: 22px;
}
ul.flower li {
	list-style-image: url(../images/dotzodiac.png);
	margin:5px;
}
.form.zodiac-search {
	overflow: hidden;
	display: block;
	margin: 20px auto;
}
.zodiac-search .select, .zodiac-search .buttonS {
	height: 40px;
	margin: 5px 10px 40px 10px;
	padding: 8px 20px;
}

.buttonS {
	background: #9e0403;
	border: 0;
	outline: 0;
	color: #fff;
	min-width: 90px;
	cursor: pointer;
	padding: 6px 12px;
	font-weight: normal;
}
.buttonS:hover {
	color: #fff;
}
.buttonG {
	background: #9e0403;
	border: 0;
	outline: 0;
	color: #fff;
	min-width: 60px;
	cursor: pointer;
	padding: 5px 8px;
	font-weight: normal;
	font-size: 12px;
}
buttonG:hover:focus {
	color: #f9ee06;
}
.zodiac-search .select-box-wrap {
	margin: 0 auto;
	display: block;
}

@media only screen and (max-width: 39.99em) {
.expanding-grid .links > li {
	width: 50%;
}
.expanding-grid .links > li:nth-of-type(2n+1) {
	clear: left;
}
}

@media only screen and (min-width: 40em) and (max-width: 59.99em) {
.expanding-grid .links > li {
	width: 33.3333333333%;
}
.expanding-grid .links > li:nth-of-type(3n+1) {
	clear: left;
}
}

@media only screen and (min-width: 60em) {
.expanding-grid .links > li {
	width: 25%;
}
.expanding-grid .links > li:nth-of-type(4n+1) {
	clear: left;
}
}

/*responsive*/
@media only screen and (min-width : 769px) and (max-width : 1199px) {
.flip-container, .front, .back {
height: 350px;
}
.videobg iframe {
width: 100%;
}
}

@media screen and (max-width: 1023px) {

.mobileoff.hovereffect .overlay {
display:none;
}
	
.mobileoff.hovereffect {
    width: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
    max-height: 260px;
}
	.mobileoff.hovereffect h2 {
		transform:none;
		background: #B51F24;
		height: 40px;
	}

	.mobilestatic h2 {
		display:block;
	}	
	.in-mobile-only {
		display:block;
		width: 100%;
xheight: 100%;
margin: 0;
border: 0;
text-align: center;
padding-top: 100px;
		color:#000;
	}
	
}

@media screen and (max-width: 767px) {
h1 {
	margin-bottom: 1rem;
	font-family: inherit;
	font: 36px;
}
h2 {
	margin-bottom: 1rem;
	font-family: inherit;
	font: 30px;
}
h3 {
	margin-bottom: 1rem;
	font-family: inherit;
	font: 24px;
}
h4 {
	margin-bottom: 1rem;
	font-family: inherit;
	font: 18px;
}
.CNYheader {
	height: 80px;
}
iframe {
	max-width: 100%;
	height: auto;
}
.flip-container, .front, .back {
	height: 330px;
}
.zodiac-search .select.col-xs-2 {
	width: 32.33333%;
	margin: 0;
}
.zodiac-search .buttonS {
	width: 100%;
	margin: 10px 0;
}
	.expanding-grid .hentry .entry-image {
width:100%;
float: none;
margin: 0;
		
}		
		.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,.5);

    padding-left: 10px;
	border-bottom:1px solid #cccccc;

}
.navbar-light .navbar-toggler {
    color: rgba(0,0,0,.5);
    border-color: none;
	border:0;
	margin-right: 10px;padding-right:10px;
	
}
	.nav-pills-dropdown {
	display: block;
	position: relative;
	font-weight: 600;
	border-radius: 0;
	border: 1px solid #d6d6d6;
	text-align: left;
}
#nav-tabs-wrapper {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	text-align: center;
	padding: 0;
}
/*	.recipes-tab .nav-pills>li {
		margin-right:0;
		background:none;
	}*/
	
.recipes-tab .nav-pills > li {
    margin: 0;
    padding: 10px 0px;
    text-align: center;
    border: none;
    display: inline-block;
    background: #ddd;
    margin-right: 12px;
}	
	
/*.recipes-tab .nav-pills > li {
	width: 100%;
}
.recipes-tab .nav-pills > li > a.active::after {
	border: 0;
}*/
.recipe-list-set .hovereffect img {
	transform: none;
}
.nav-pills-dropdown::before {
	content: "";
	font-weight: 900;
	position: absolute;
	right: 12px;
	background: url("../images/tsol-sprites.svg") -171px -98px no-repeat;
	width: 17px;
	height: 9px;
	top: 12px;
}
.nav-pills-dropdown::before {
	font-family: FontAwesome;
	content: "\f107";
	color: #333;
	position: absolute;
	right: 10px;
	top: 7px;
}
	.flex-container>div {
  width: 80px;
  text-align: center;
  height:80px;
  line-height: 70px;
  font-size: 30px;
}
		.tumbnailcolor {
		width: 40%;
		height:120px;
		margin-top:20px;
	}
		.colorblock{
    padding-bottom: 25%; /* relative size and position on page */

}
.front, .back {
	height: 300px;
}
}

@media (min-width: 320px) and (max-width: 480px) {

    .colorblock {
        padding-bottom: 37%;
        margin: 0;
        margin-right: 2%;
        margin-bottom: 2%;
        width: 46%;
        float: left;
        position: relative;
    }

    .hometitle {
        text-transform: uppercase;
        color: grey;
        text-align: center;
        padding: 10px;
    }

    .ptitle {
        text-transform: uppercase;
        color: grey;
        text-align: center;
        padding: 0;
        margin: auto;
    }

    .textb {
        font-family: 'Berkshire Swash', cursive;
        margin-bottom: 10px;
        margin-top: 5px;
        font-weight: 400;
        color: #ba090b;
        font-size: 18px;
        text-align: center;
    }

    .flip-container h2 {
	bottom: 30px;
    }

    .CNYheader {
        height: 120px;
    }
}



