body,
html
{
    font: 13px ProximaNova, sans-serif;
    line-height: 16px;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

div#heading
{
    border-radius: 3px 3px 0 0;
    display: none;
    font-size: 16px;
    font-weight: bold;
    height: 16px;
    line-height: 16px;
    padding: 12px 0;
    text-align: center;
    text-shadow: 0 1px 1px #666666;
}

div#filters
{
    background: #fbfbfb;
    border: 1px solid #e5e5e5;
    border-radius: 0 0 3px 3px;
    display: none;
    height: 27px;
    padding: 5px 5px 6px 5px;
}

div#footer
{
    background: #fbfbfb;
    border: 1px solid #e5e5e5;
    border-radius: 0 0 3px 3px;
    display: none;
    height: 27px;
    padding: 5px 5px 6px 5px;
}

div#pager
{
    float: right;
}

div#pager a
{
	border: 1px solid #e0e0e0;
	color: #404040;
	display: block;
	float: left;
	height: 20px;
	margin-left: 10px;
	min-width: 25px;
	padding-top: 5px;
	text-align: center;
	text-decoration: none;
}

div#pager a.active
{
    background: #f0f0f0;
}

div#outerContainer
{
    height: 100%;
    overflow: hidden;
    width: 100%;
}

div#innerContainer
{
    height: 100%;
    position: relative;
    width: 200%;
}

div.page
{
    float: left;
    height: 100%;
    width: 50%;
}

div.coupon
{
    background-color: #f5f5f5;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjZmZmIiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjZjVmNWY1IiBvZmZzZXQ9IjEiIC8+PC9saW5lYXJHcmFkaWVudD48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2cpIiAvPjwvc3ZnPg==");
    background-image: -moz-linear-gradient(top, #fff 0%, #f5f5f5 100%);
    background-image: -ms-linear-gradient(top, #fff 0%, #f5f5f5 100%);
    background-image: -o-linear-gradient(top, #fff 0%, #f5f5f5 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #f5f5f5));
    background-image: -webkit-linear-gradient(top, #fff 0%, #f5f5f5 100%);
    background-image: linear-gradient(top, #fff 0%, #f5f5f5 100%);
    border: 1px dashed #e1e1e1;
    border-radius: 6px;
    box-shadow: 0px 1px 3px #808080;
    float: left;
    margin: 4px;
    overflow: hidden;
    position: relative;
}

div.ribbon_new
{
    background: url("../Media/RibbonNew.png");
    height: 62px;
    left: 0;
    position: absolute;
    top: 0;
    width: 62px;
}

div.header
{
    border-bottom: 1px dashed #e1e1e1;
    background: url("../Media/Scissor.png") right bottom no-repeat #fff;
    font-size: 0;
    height: 62px;
    line-height: 62px;
    overflow: hidden;
    text-align: center;
}

img.avatar
{
    border: none;
    max-height: 100%;
    max-width: 100%;
    vertical-align: middle;
}

table.description
{
    width: 100%;
}

table.description td
{
	font-size: 16px;
    font-weight: bold;
    height: 94px;
	line-height: 20px;
    text-align: center;
    vertical-align: middle;
}

table.description td div
{
    overflow: hidden;
    padding: 0 5px;
    text-overflow: ellipsis;
}

div.expiry
{
    float: left;
    font-size: 11px;
    height: 28px;
    line-height: 14px;
    padding: 5px 10px 0 10px;
}

div.button
{
    border-bottom: 1px dashed #e1e1e1;
    background: url("../Media/Scissor.png") right bottom no-repeat;
    padding: 5px 0 15px 0;
    text-align: center;
}

div.button a
{
    border-radius: 2px;
    display: inline-block;
    font-size: 11px;
    line-height: 14px;
    padding: 5px 12px;
    text-decoration: none;
    text-shadow: 0px 1px 1px #666666;
    text-transform: uppercase;
}

div.instructions
{
    font-size: 10px;
    height: 30px;
    line-height: 15px;
    padding: 6px 2px 2px 2px;
    text-align: center;
    text-transform: uppercase;
}

p.dropdown
{
	padding-right: 10px;
	-webkit-padding-end: 26px;
}

p.dropdown select
{
	margin-top: 5px !important;
	width: 100%;
}

p.dropdown select, select.dropdown
{
    background: #efefef;
	background: url("../Media/DropDown.png"), url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMSUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjZmZmZmZmIiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjZjRmNGY0IiBvZmZzZXQ9IjAuNSIgLz48c3RvcCBzdG9wLWNvbG9yPSIjZWNlY2VjIiBvZmZzZXQ9IjAuNSIgLz48c3RvcCBzdG9wLWNvbG9yPSIjZWNlY2VjIiBvZmZzZXQ9IjEiIC8+PC9saW5lYXJHcmFkaWVudD48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2cpIiAvPjwvc3ZnPg==") #efefef;
	background: url("../Media/DropDown.png"), -moz-linear-gradient(top, #ffffff 0%, #f4f4f4 50%, #ececec 50%, #f1f1f1 100%) #efefef;
	background: url("../Media/DropDown.png"), -ms-linear-gradient(top, #ffffff 0%, #f4f4f4 50%, #ececec 50%, #f1f1f1 100%) #efefef;
	background: url("../Media/DropDown.png"), -o-linear-gradient(top, #ffffff 0%, #f4f4f4 50%, #ececec 50%, #f1f1f1 100%) #efefef;
	background: url("../Media/DropDown.png"), -webkit-linear-gradient(top, #ffffff 0%, #f4f4f4 50%, #ececec 50%, #f1f1f1 100%) #efefef;
	background: url("../Media/DropDown.png"), linear-gradient(top, #ffffff 0%, #f4f4f4 50%, #ececec 50%, #f1f1f1 100%) #efefef;
	background-position: right center;
	background-repeat: no-repeat;
	border: 1px solid #979797;
	border-radius: 4px;
	color: #404040;
	font: 13px ProximaNova, Arial, sans-serif;
	margin: 0px;
	padding: 4px 4px 4px 4px;
	vertical-align: middle;
	-webkit-appearance: button;
	-webkit-padding-end: 20px;
}

p.dropdown select::-ms-expand, select.dropdown::-ms-expand
{
    visibility: hidden;
}



/* Popup */

body.popup
{
    height: 100%;
    padding: 0 10px 10px 0;
}

body.popup div.coupon
{
    position: relative;
    width: 100%;
}

body.popup div.header
{
    background: #fff;
    border-bottom: none;
    border-right: 1px dashed #e1e1e1;
    height: 175px;
    line-height: 175px;
    position: absolute;
    width: 175px;
}

body.popup table.description td
{
    height: 94px;
    padding-left: 175px;
}

body.popup table.description td div
{
    max-height: 80px;
}

body.popup div.button
{
    padding: 14px 0 15px 175px;
}

body.popup div.button a
{
    vertical-align: bottom;
}

body.popup code
{
    background: #fff;
    border: 1px dashed #e1e1e1;
    font-size: 20px;
    font-weight: bold;
    margin-right: 10px;
    padding: 0 5px;
    vertical-align: bottom;
}

body.popup div.instructions
{
    height: 15px;
    padding: 6px 2px 6px 177px;
}

@media only screen and (max-width: 500px)
{
	body.popup div.header
	{
		background: url("../Media/Scissor.png") right bottom no-repeat #fff;
		border-bottom: 1px dashed #e1e1e1;
		border-right: none;
		font-size: inherit;
		height: 62px;
		line-height: 62px;
		position: static;
		width: auto;
	}

	body.popup table.description td
	{
		height: 94px;
		padding-left: 0;
	}

	body.popup table.description td div
	{
		max-height: none;
	}

	body.popup div.button
	{
		padding: 5px 0 15px 0;
	}

	body.popup div.button a
	{
		vertical-align: baseline;
	}

	body.popup code
	{
		background: #fff;
		border: 1px dashed #e1e1e1;
		font-size: 20px;
		font-weight: bold;
		margin-right: 10px;
		padding: 0 5px;
		vertical-align: bottom;
	}

	body.popup div.instructions
	{
		height: 30px;
		padding: 6px 2px 2px 2px;
	}
}



/* Template 1 */

body.template1
{
    height: 250px;
    width: 250px;
}

body.template1 div.coupon
{
    height: 240px;
    width: 240px;
}

body.template1 table.description td div
{
    max-height: 80px;
}



/* Template 2 */

body.template2
{
    height: 250px;
    width: 300px;
}

body.template2 div.coupon
{
    height: 240px;
    width: 290px;
}

body.template2 table.description td div
{
    max-height: 80px;
}



/* Template 3 */

body.template3
{
    height: 600px;
    width: 300px;
}

body.template3 div.coupon
{
    height: 190px;
    width: 290px;
}

body.template3 div.header
{
    height: 52px;
    line-height: 52px;
}

body.template3 table.description td
{
    height: 54px;
}

body.template3 table.description td div
{
    max-height: 40px;
}



/* Template 4 */

body.template4
{
    height: 300px;
    width: 600px;
}

body.template4 div.coupon
{
    height: 290px;
    width: 290px;
}

body.template4 table.description td
{
    height: 144px;
}

body.template4 table.description td div
{
    max-height: 140px;
}



/* Template 5 */

body.template5
{
    height: 850px;
    width: 600px;
}

body.template5 div#heading
{
    display: block;
}

body.template5 div#filters
{
    display: block;
}

body.template5 div#footer
{
    display: block;
}

body.template5 div#outerContainer
{
    height: 730px;
}

body.template5 div.coupon
{
    height: 233px;
    width: 290px;
}

body.template5 div.header
{
    height: 52px;
    line-height: 52px;
}

body.template5 table.description td
{
    height: 96px;
}

body.template5 table.description td div
{
    max-height: 80px;
}



/* Template 6 */

body.template6
{
    height: 480px;
    width: 550px;
}

body.template6 div#heading
{
    display: block;
}

body.template6 div#filters
{
    display: block;
}

body.template6 div#outerContainer
{
    height: 400px;
}

body.template6 div.coupon
{
    height: 190px;
    width: 265px;
}

body.template6 div.header
{
    height: 52px;
    line-height: 52px;
}

body.template6 table.description td
{
    height: 54px;
}

body.template6 table.description td div
{
    max-height: 40px;
}



/* Template 7 */

body.template7
{
    height: 1000px;
    width: 810px;
}

body.template7 div#heading
{
    display: block;
    font-size: 20px;
    height: 24px;
    line-height: 24px;
    padding: 18px 0;
}

body.template7 div#filters
{
    display: block;
}

body.template7 div#footer
{
    display: block;
}

body.template7 div#outerContainer
{
    height: 860px;
}

body.template7 div.coupon
{
    height: 276px;
    width: 260px;
}

body.template7 table.description td
{
    height: 130px;
}

body.template7 table.description td div
{
    max-height: 120px;
}



/* Template 8 */

body.template8
{
    height: 1200px;
    width: 950px;
}

body.template8 div#heading
{
    display: block;
    font-size: 20px;
    height: 24px;
    line-height: 24px;
    padding: 18px 0;
}

body.template8 div#filters
{
    display: block;
}

body.template8 div#footer
{
    display: block;
}

body.template8 div#outerContainer
{
    height: 1060px;
}

body.template8 div.coupon
{
    height: 255px;
    width: 227px;
}

body.template8 table.description td
{
    height: 109px;
}

body.template8 table.description td div
{
    max-height: 100px;
}