/* @override 
	https://chinawinecompetition.com/cont/css/styles_public_styleWinnerPrintouts.css
	https://local.chinawinecompetition.com/cont/css/styles_public_styleWinnerPrintouts.css
*/

/* @group Certificates */
@page {
	margin: 1rem; 
}

@media screen and (min-width: 800px) {
	html {
		width: 80%;
	}
}

@media screen and (min-width: 1200px) {
	html {
		width: 70%;
	}
}

@media screen and (min-width: 1400px) {
	html {
		width: 60%;
	}
}

body {
	margin: 0.5rem 1rem 0rem 1rem;
	padding: 0rem; 
	background-color: #FFF;
}

body#competitionCertificate {
	margin: 1.5rem 1.5rem 1.5rem 1.5rem;
  	border: 1px solid #593453;
  	text-align: center;
  	font-family: 'Source Serif Pro';
}

body#competitionCertificate main {
  margin: 0.5rem;
  padding: 0.1rem 0rem 0rem 0rem;
  background-image: url('/cont/img/certificateImagery/certificate_background.svg');
  background-size: 100%;
  background-color: #e0e5e4;
  position: relative;
  background-repeat: no-repeat;
}

body#competitionCertificate main .headerLogo {
	width: 17%;
	margin: 0.5rem 0rem 1rem 0rem;
}

body#competitionCertificate main .compLogo {
	width: 20%;
	margin: 1.5rem 0rem 1.5rem 0rem;
}

#competitionCertificate h1 {
  margin: 0rem auto 1rem auto;
  padding: 0rem 2% 0rem 2%;
  font-weight: 900;
  font-size: 3.2rem;
  font-family: 'Source Serif Pro';
  color: #202020;
  line-height: 1;
  letter-spacing: 0.06rem;
}

#competitionCertificate h2 {
  margin: 0rem 0rem 2rem 0rem;
  padding: 0rem 2% 0rem 2%;
  font-weight: 400;
  font-size: 2rem;
  font-family: 'Source Serif Pro';
  font-style: italic;
  letter-spacing: 0.04rem;
  color: #4D4D4E;
  line-height: 1;
}

#competitionCertificate h3 {
  margin: 0rem 0rem 5.3rem 0rem;
  padding: 0rem;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.2rem;
  color: #8F7594;
  text-transform: uppercase
}

#competitionCertificate .medal {
  width: 14%;
  margin: 0rem 0rem 1rem 0rem;
  position: absolute;
  bottom: 7rem;
  right: 50%;
  left: 42%;
}

#competitionCertificate .specialAwardsContainer {
	width: 100%;
  	position: absolute;
  	right: 0%;
  	left: 0%;
  	bottom: 6rem;
}

#competitionCertificate .specialMedal {
  	width: 14%;
  	margin: 0rem 0rem 2rem 0rem;
}

#competitionCertificate h4 {
  margin: 3rem 0rem 0rem 0rem;
  padding: 0rem;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04rem;
  color: #d0d8d6;
}

#competitionCertificate h5 {
  margin: 0rem 0rem 1rem 0rem;
  padding: 0rem;
  font-weight: 700;
  font-size: 1rem;
  color: #d0d8d6;
  text-transform: uppercase;
  letter-spacing: 0.04rem;
}

#competitionCertificate h6 {
  margin: 0rem 0rem 0.5rem 0rem;
  padding: 0rem;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.2rem;
  color: #4D4D4E;
  text-transform: uppercase;
}

#competitionCertificate h6 span {
	font-weight: 700;
}

#competitionCertificate footer {
	padding: 4rem 4% 2rem 4%;
	display: flex;
	justify-content: space-between;
	background-image: url('/cont/img/certificateImagery/footerBackground.png');
	background-size: 100% auto;
	background-color: #C70146;
}

#competitionCertificate .border {
	width: 50%;
	margin: 0rem 0% 1rem 0%;
}

#competitionCertificate .signature {
  margin: 0rem 0rem 0rem 0rem;
  flex-basis: 23%;
}

#competitionCertificate .signature img {
	width: 70%;
}

#competitionCertificate .txt {
	flex-basis: 43%;
}

#competitionCertificate .qrCode {
flex-basis: 23%;
align-self: center;
}

#competitionCertificate p {
  margin: 0rem 0rem 0.5rem 0rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #d0d8d6;
}

#competitionCertificate .qr {
  width: 35%;
}

/* @end */

/* @group Judges certificate style  */

body#competitionJudgesCertificate {
  padding: 2rem;
  background-color: #9b8972;
  text-align: center;
  background-color: #C3AC89;
}

body#competitionJudgesCertificate main {
  height: 24cm;
  padding: 2rem 2rem 2rem 2rem;
  border: 4px solid #9b8874;
  border-radius: 2rem;
  background-image: url('/cont/img/certificateImagery/certificatesBackgroundPattern.png');
  background-blend-mode: multiply;
  background-color: #C3AC89;
  background-size: 15%;
}

body#competitionJudgesCertificate main .compLogo {
  width: 25%;
  margin: 2rem 0rem 2rem 0rem;
}

#competitionJudgesCertificate .winnerInfo {
  height: 5cm;
}

#competitionJudgesCertificate h1 {
  margin: 1rem 0rem 1rem 0rem;
  padding: 0rem;
  font-family: 'Zilla Slab', sans-serif;
  font-weight: 600;
  font-size: 3rem;
  letter-spacing: 0.2rem;
  color: #FFF;
  line-height: 1.1;
}

#competitionJudgesCertificate h2 {
  margin: 0rem 0rem 2rem 0rem;
  padding: 0rem;
  font-family: 'Zilla Slab', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  font-style: italic;
  letter-spacing: 0.2rem;
  color: #FFF;
  line-height: 1.1;
}

#competitionJudgesCertificate h3 {
  margin: 0rem 0rem 2rem 0rem;
  padding: 0rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.2rem;
  color: #231F20;
  text-transform: uppercase;
}

#competitionJudgesCertificate .medal {
  width: 19%;
  margin: 0rem 0rem 2rem 0rem;
}

#competitionJudgesCertificate h4 {
  margin: 0rem 0rem 2rem 0rem;
  padding: 0rem;
  font-family: 'Zilla Slab', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  font-style: italic;
  letter-spacing: 0rem;
  color: #231F20;
}

#competitionJudgesCertificate h5 {
  margin: 0rem 0rem 2rem 0rem;
  padding: 0rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  color: #231F20;
  text-transform: uppercase;
}

#competitionJudgesCertificate h6 {
  margin: 1rem 0rem 2rem 0rem;
  padding: 0rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  color: #231F20;
  text-transform: uppercase;
}

#competitionJudgesCertificate .signature {
  width: 20%;
  margin: 0rem 0rem 1rem 0rem !important;
}

#competitionJudgesCertificate p {
  margin: 0rem 0rem 1rem 0rem;
  font-family: 'Montserrat';
  font-size: 1rem;
  font-weight: 700;
}

#competitionJudgesCertificate p em {
  display: block;
  margin: 0rem 0rem 2rem 0rem;
  font-family: 'Zilla Slab';
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
}

#competitionJudgesCertificate .qr {
  width: 10%;
}

/* @end  */

/* @group Shelf Talkers custom styles */  

/* Letter paper size: 21.5 cm x 27.9 cm */

#shelfTalkers.letter {
	width: 20.5cm; /* accounts for printer margins */
	height: 25.9cm; /* accounts for printer margins */
	padding: 0.5cm 0cm 0cm 0.5cm;
}

#shelfTalkers.letter main {
	display: flex;
	flex-wrap: wrap;
}

#shelfTalkers.letter main > aside {
	padding: 0rem 3.5% 0.2rem 0rem;
	font-size: 0.6rem;
	text-align: center;
	font-family: Helvetica;
	color: #383838;
}

#shelfTalkers.awardType-medals .quadrant {
	width: 9.5cm;
	height: 12.95cm;
	padding: 1.8rem 0rem 0rem 0rem;
	display: flex;
	flex-direction: column;
	border: 1px solid #593453;
}

#shelfTalkers .quadrant1 {
	margin-right: 0.3cm;
	margin-bottom: 0.5rem;
}

#shelfTalkers .quadrant3 {
	margin-right: 0.3cm;
}

/* START Regular medal Shelf Talker */

#shelfTalkers.awardType-medals .quadrant .medalImagesContainer {
	width: 100%;
	height: 3cm;
	padding: 0.3cm;
	position: relative;
	border-top: 1px dashed #b3b3b3;
}

#shelfTalkers.awardType-medals .quadrant .medalImagesContainer .awardImg {
	width: 3.2cm;
	height: 3.2cm;
	top: 0.3cm;
	left: 0.5cm;
	position: absolute;
}

#shelfTalkers.awardType-medals .quadrant .medalImagesContainer .compLogo {
	height: 2.2cm;
	position: absolute;
	top: 0.5cm;
	left: 4.5cm;
}

#shelfTalkers.awardType-medals .quadrant header {
	margin: 0rem;
	padding: 0.7cm 0.5cm 0.2cm 0.6cm;
	width: 100%;
	height: 2.8cm;
	background-color: #5b5d60;
	font-family: 'Source Serif Pro';
}

#shelfTalkers.awardType-medals .quadrant header h1 {
	/* medal name */
	margin: 0rem;
	padding: 0rem;
	color: #FFF;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.5;
}

#shelfTalkers.awardType-medals .quadrant header h2 {
	/* points text */
	margin: 0rem;
	padding: 0rem;
	color: #FFF;
	font-size: 1.2rem;
	font-weight: 400;
}

#shelfTalkers.awardType-medals .quadrant article {
	margin: 0rem;
	padding: 0.5cm 0.6cm 0.5cm 0.6cm;
}

#shelfTalkers.awardType-medals .quadrant article h3 {
	/* brand name */
	margin: 0rem 0rem 0.4rem 0rem;
	padding: 0rem;
	font-size: 1.4rem;
	font-weight: 700;
	color: #cd004f;
}

#shelfTalkers.awardType-medals .quadrant article h4 {
	/* producer name */
	margin: 0rem 0rem 0.4rem 0rem;
	padding: 0rem;
	font-weight: 400;
	font-size: 1rem;
}

#shelfTalkers.awardType-medals .quadrant article h4.vintage {
	/* Vintage year */
	margin: 0rem 0rem 0.5rem 0rem;
	padding: 0rem;
	font-weight: 400;
	font-size: 0.9rem;
}

#shelfTalkers.awardType-medals .quadrant article h5 {
	/* Tasting Notes title */
	margin: 0rem 0rem 0.5rem 0rem;
	padding: 0rem;
	font-family: 'Source Sans Pro';
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #534d4b;
}

#shelfTalkers.awardType-medals .quadrant article p {
	/* tasing notes body */
	margin: 0rem;
	padding: 0rem;
	font-size: 0.8rem;
	font-weight: 400;
	color: #777777;
	line-height: 1.4;
}

/* START Special awards Shelf Talker */

#shelfTalkers.awardType-special-awards {
	
}

#shelfTalkers.awardType-special-awards .quadrant {
	width: 9.5cm;
	height: 12.95cm;
	padding: 1.8rem 0rem 0rem 0rem;
	display: flex;
	flex-direction: row-reverse;
	border: 1px solid #593453;
	overflow: hidden;
}

#shelfTalkers.awardType-special-awards .quadrant .medalImagesContainer {
	width: 30%;
	height: 13.2cm;
	padding: 0.3cm;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	border-top: 1px dashed #b3b3b3;
	background-color: #bdbdbd;
	/* background-color: #DADADA; */
	/* background-color: #6DC6C2; */
}

#shelfTalkers.awardType-special-awards .quadrant .medalImagesContainer .awardImg {
	width: 100%;
}

#shelfTalkers.awardType-special-awards .quadrant.awardsCount7 .medalImagesContainer .awardImg {
	width: 90%;
}

#shelfTalkers.awardType-special-awards .quadrant.awardsCount2 .medalImagesContainer img, 
#shelfTalkers.awardType-special-awards .quadrant.awardsCount3 .medalImagesContainer img, 
#shelfTalkers.awardType-special-awards .quadrant.awardsCount4 .medalImagesContainer img, 
#shelfTalkers.awardType-special-awards .quadrant.awardsCount5 .medalImagesContainer img {
	margin-bottom: 0.2rem;
}
 
#shelfTalkers.awardType-special-awards .quadrant.awardsCount6 .medalImagesContainer img,
#shelfTalkers.awardType-special-awards .quadrant.awardsCount7 .medalImagesContainer img {
	margin-bottom: -0.9rem;
}

#shelfTalkers.awardType-special-awards .quadrant .txt {
	width: 70%;
	border-top: 1px dashed #b3b3b3;
}

#shelfTalkers.awardType-special-awards .quadrant header {
	display: flex;
	flex-direction: column;
}

#shelfTalkers.awardType-special-awards .quadrant header .logoHeader {
	/* Competition Logo */
	height: 2.7cm;
	padding: 0.3cm;
	overflow: hidden;
}

#shelfTalkers.awardType-special-awards .quadrant header .logoHeader img {
	margin: 0.3rem 0rem 0rem 2.9rem;
	height: 1.9cm;
}

#shelfTalkers.awardType-special-awards .quadrant header .txtHeader {
	padding: 0.3cm;
	background-color: #65676b;
}

#shelfTalkers.awardType-special-awards .quadrant header .txtHeader h1 {
	margin: 0rem 0rem 0.5rem 0rem;
	padding: 0rem;
	color: #FFF;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

#shelfTalkers.awardType-special-awards .quadrant header .txtHeader h2 {
	margin: 0rem;
	padding: 0rem;
	color: #FFF;
	font-size: 1.2rem;
	font-weight: 400;
	text-align: right;
}


#shelfTalkers.awardType-special-awards .quadrant article {
	height: 6.9cm;
	padding: 0.3cm;
	display: flex;
	flex-direction: column;
	align-items: left;
	position: relative;
}

#shelfTalkers.awardType-special-awards .quadrant article h3 {
	/* brand name */
	margin: 0rem 0rem 0.2rem 0rem;
	padding: 0rem;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.1;
	color: #cd004f;
}

#shelfTalkers.awardType-special-awards .quadrant article h4 {
	/* producer name */
	margin: 0rem 0rem 0.5rem 0rem;
	padding: 0rem;
	font-weight: 400;
	font-size: 1rem;
}

#shelfTalkers.awardType-special-awards .quadrant article h4.vintage {
	/* Vintage year */
	margin: 0rem 0rem 0.4rem 0rem;
	padding: 0rem;
	font-weight: 400;
	font-size: 0.8rem;
}

#shelfTalkers.awardType-special-awards .quadrant article h5 {
	/* Tasting Notes title */
	margin: 0.4rem 0rem 0.4rem 0rem;
	padding: 0rem;
	font-family: 'Source Sans Pro';
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #cd004f;
	letter-spacing: 0.02rem;
}

#shelfTalkers.awardType-special-awards .quadrant article p {
	/* tasing notes body */
	margin: 0rem;
	padding: 0rem;
	font-size: 0.8rem;
	font-weight: 400;
	color: #777777;
	line-height: 1.5;
}

/* @end */
