/* design back */
.designback-container .col12 div {
    padding: 0;
}

#frmDesignBack {
    margin-top: 0;
}

#divDesignBackCanvas {
    border: solid 1px #ada6a6;
    margin-top: 10px;
    background: #fafafa;
    position: relative;
    padding: 15px;
    height: 1%;
    width: 884px;
    clear: left;
    overflow: hidden;
}

#divDesignBackCanvas h4 {
    margin: 24px 0 8px 5px;
    padding: 0;
}

#divContentLeft {
    width: 460px;
}

#divContentRight {
    width: 400px;
    margin-left: 15px;
}

/* Card background picker */
#divBackgroundPicker {
    border-top: solid 1px #ada6a6;
    border-bottom: solid 1px #ada6a6;
    border-right: solid 1px #ada6a6;
    margin-bottom: 10px;
    background: #eeebed;
    height: 32px;
    background: #eeebed;
}

#divBackgroundPicker h4 {
    float: left !important;
    background: #ada6a6;
    color: white;
    font-size: 1em;
    height: 2em;
    border: none;
    padding: 0.6em 10px 0 0.5em;
    margin-right: 10px;
}

#divBackgroundPicker li {
    margin-right: 5px;
    position: relative;
    width: 60px;
    height: 24px;
    padding: 2px 1px 1px 2px;
    border: solid 1px #eeebed;
    margin-top: 1px;
}

#divBackgroundPicker li input {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Colour & font pickers */
div.fontoptions {
    float: left;
    background: #eeebed;
    height: 2.5em;
    margin-top: 10px;
    border-top: solid 1px #ada6a6;
    border-bottom: solid 1px #ada6a6;
    margin-bottom: 10px;
    _margin-bottom: 0;
}

/* Hideous hack to fix 1px overlapping padding in IE6/7 */
div.fontoptions h4 {
    float: left !important;
    background: #ada6a6;
    color: white;
    font-size: 1em;
    height: 2em;
    border: none;
    padding: 0.5em 10px 0 0.5em;
}

html>/**/body div.fontoptions h4 {
    padding: 0.6em 10px 0 0.5em;
}

div.fontoptions ul {
    float: left;
}

#divColourPicker {
    width: 457px;
    border-right: solid 1px #ada6a6;
}

#ulColourPicker {
    width: 240px;
    margin-left: 2px;
    height: 2.1em;
    padding-top: 0.4em;
    position: relative;
    left: 25px;
    overflow: hidden;
}

#ulColourPicker li {
    margin-right: 4px;
    position: relative;
    width: 20px;
    height: 20px;
    border: solid 1px #eeebec;
    background: white;
}

#ulColourPicker li a {
    position: relative;
    display: block;
    text-decoration: none;
    width: 16px;
    height: 16px;
    margin-bottom: 5px;
    top: 2px;
    left: 2px;
    overflow: hidden;
}

#ulColourPicker li.selected {
    border: solid 1px #333;
}

#ulColourPicker input {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#divFontPicker {
    width: 458px
}

#ulFontPicker {
    font-size: 1em;
}

.fr #divFontPicker h4 {
    padding: .6em 8px 0 .4em
}

#ulFontPicker label {
    color: #333;
}

#ulFontPicker li {
    line-height: 2em;
    padding: .5em .8em 0 .2em;
    font-size: 0.9em;
}

.de #ulFontPicker li, .es #ulFontPicker li {
    padding-right: .8em;
}

.fr #ulFontPicker li, .it #ulFontPicker li {
    padding-right: .1em;
}

/* Alignment (minicards) */
#divDesignBackCanvas #divAlignTool {
    position: relative;
    left: -0.5em;
}

#divDesignBackCanvas #divAlignTool img {
    position: relative;
    top: 0.5em;
}

/* Card back preview  (MiniCards)*/
#divPreview {
    width: 310px;
    height: 125px;
    position: relative;
    background: url(/images/landscape.png) no-repeat;
    margin: 6px 0 0 20px;
    z-index: 90;
}

#divPreview img {
    z-index: 100
}

#divPreview #imgAvatarBack {
    position: absolute;
    top: 36px;
    left: 239px;
}

#divPreview #imgAvatarBack.partner {
    position: absolute;
    top: 26px;
    left: 239px;
}

#imgPartnerLogo {
    position: absolute;
    top: 87px;
    right: 20px;
}

#divPreview #divPreviewtext {
    width: 200px;
    height: 100px;
    font-size: 11px;
    margin: 0 12px 12px 8px;
    padding-left: 14px;
    padding-top: 10px;
    z-index: 100;
    position: absolute;
}

#divPreview #divPreviewtext.wide {
    width: 260px;
}

#divPreview #divPreviewtext p {
    padding: 0;
    margin: 1px 0;
    width: 200px;
    height: 16px;
    overflow: hidden;
}

#divPreview #divPreviewtext.wide p {
    width: 260px
}

#divPreview #divPreviewtext p span {
    word-wrap: normal;
}

#divPreview #divPreviewtext div {
    width: 95px;
    height: 96px;
    position: absolute;
    top: 10px;
}

#divPreview div.previewleft {
    overflow: hidden;
}

#divPreview div.previewright {
    width: 95px;
    left: 120px;
}

#divPreviewBackColour {
    z-index: 95;
    position: absolute;
    width: 301px;
    height: 118px;
    top: 1px;
    left: 1px;
}

/* Card icons */
#divIcons {
    padding-left: 5px;
}

#divIcons h3 {
    font-size: 1em;
    margin-top: 7px;
    background: none;
}

#ulIcons {
    margin-bottom: 10px;
    width: 330px;
    position: relative;
}

#ulIcons li {
    margin-right: 10px;
    margin-bottom: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    position: relative;
    border: solid 1px #fafafa;
    background: #fafafa;
    z-index: 100;
}

#ulIcons li a {
    text-decoration: none;
    color: #656565;
}

#ulIcons img {
    display: inline;
    z-index: 10;
    margin-top: 3px;
}

#ulIcons #lblIconBuddy {
    display: block;
    height: 40px;
}

#ulIcons input {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: -1;
}

#divAddPartnerIcon {
    width: 300px;
    color: #808080;
    clear: left;
    _margin-top: -5px;
    _padding-top: 0;
}

#divDesignbackMinicard #divAddPartnerIcon {
    margin-left: 18px;
}

div.previewtext p.bold {
    font-weight: bold
}

/* Text back form (MiniCards) */
#divDesignbackMinicard #ulTextLines {
    width: 400px;
    position: relative;
}

#divDesignbackMinicard #ulTextLines li {
    position: relative;
    padding: 0.3em 0;
}

#divDesignbackMinicard #ulTextLines #liBold {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 27px;
    font-size: 0.8em;
    text-align: center;
}

#divDesignbackMinicard #ulTextLines.hasmeta #liBold {
    right: 28px;
}

#divDesignbackMinicard #ulTextLines #liFontSize {
    position: absolute;
    top: -20px;
    right: 0;
    width: 27px;
    font-size: 0.8em;
    text-align: center;
}

#divDesignbackMinicard #ulTextLines li label {
    width: 45px;
    float: left;
}

#divDesignbackMinicard #ulTextLines select {
    width: 100px !important;
    font-size: 0.8em;
    border: solid 1px #bababa
}

#divDesignbackMinicard #ulTextLines input.preview {
    width: 320px !important;
    border: solid 1px #808080;
    margin-left: 5px;
    margin-right: 8px;
    padding-top: 4px;
    padding-bottom: 2px;
}

#divDesignbackMinicard #ulTextLines.hasmeta input.preview {
    width: 188px !important;
}

#divDesignbackMinicard #ulTextLines input.disabled {
    text-align: center;
    font-size: 0.8em;
    padding-top: 0.7em;
    padding-right: 0.4em;
}

* html #divDesignbackMinicard #ulTextLines input.disabled {
    background: #eee;
}

#divDesignbackMinicard #ulTextLines input.fullup {
    background: #efb3b3 !important;
    border: solid 1px #BF2323;
}

#divDesignbackMinicard #ulTextLines span.fontweight {
    display: block;
    width: 27px;
    height: 27px;
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 5px;
    background: url(/images/controls/bold_off.gif) center no-repeat;
}

#divDesignbackMinicard #ulTextLines .disabled span.fontweight {
    background-image: url(/images/controls/bold_off_disabled.gif);
}

#divDesignbackMinicard #ulTextLines span.fontweightbold {
    background-image: url(/images/controls/bold_on.gif);
}

#divDesignbackMinicard #ulTextLines .disabled span.fontweightbold {
    background-image: url(/images/controls/bold_on_disabled.gif);
}

#divDesignbackMinicard #ulTextLines span.fontsize {
    display: block;
    width: 27px;
    height: 27px;
    position: absolute;
    right: 0;
    top: 5px;
    background: url(/images/controls/font_size_small.gif) center no-repeat;
}

#divDesignbackMinicard #ulTextLines .disabled span.fontsize {
    background-image: url(/images/controls/font_size_small_disabled.gif);
}

#divDesignbackMinicard #ulTextLines span.fontsizelarge {
    background-image: url(/images/controls/font_size_large.gif);
}

#divDesignbackMinicard #ulTextLines .disabled span.fontsizelarge {
    background-image: url(/images/controls/font_size_large_disabled.gif);
}

#divDesignbackMinicard #ulTextLines input.fontweight,
#divDesignbackMinicard #ulTextLines input.fontsize {
    visibility: hidden;
}

#divDesignbackMinicard #ulTextLines small.texthint {
    right: 72px;
}

* html #divDesignbackMinicard #ulTextLines small.texthint {
    top: 10px;
    right: 75px;
}

/* Design back explanation */
#divBackExplanation {
    padding: 0 10px;
    border-top: solid 1px #ada6a6;;
    padding-top: 0.1em;
}

#divBackExplanation .huge {
    font-size: 1.8em;
    position: relative;
    top: 0.3em;
}

#btnsStage4 {
    padding-top: 0;
    margin-top: -25px;
}

html>/**/body #btnsStage4 {
    margin-top: 0px;
}

/* fonts for back */
.fonthelvetica {
    font-family: helvetica, arial, sans-serif;
}

.fontgeorgia {
    font-family: georgia, serif;
}

.fontcourier {
    font-family: courier, monospace;
}

/* stickers */
#hStickerBack {
    margin-top: 0.8em;
}

#ulStickerColour li {
    width: 225px;
    height: 117px;
    float: left;
    margin-right: 48px;
    margin-bottom: 50px;
    position: relative;
}

#ulStickerColour li.end {
    margin-right: 0px;
}

#ulStickerColour li label {
    margin-top: 5px;
}

#ulStickerColour li a {
    width: 225px;
    height: 117px;
    display: block;
    margin-bottom: 10px;
}

#ulStickerColour span {
    display: none;
}

/* Postcards */
#divPostcardTemplates {
    border-bottom: solid 1px #ccc;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

#divPostcardTemplates input.radio {
    position: relative;
    top: -14px;
}

#divPostcardTemplates li {
    padding-right: 16px;
}

#divPostcardDesign {
    position: relative;
}

#pTemplateHint {
    position: absolute;
    right: 160px;
    top: 0;
    width: 125px;
    font-size: 10px;
    background: url(../images/postcardarrow.png) no-repeat;
    padding-left: 47px;
    line-height: 14px;
    height: 54px;
    padding-top: 6px;
}

#pTemplateHint.missingtemplate {
    right: 280px;
}

#divPostcardBack {
    width: 496px;
    height: 352px;
    background-image: url(/images/postcardback.png);
    background-color: #fff;
    clear: left;
    position: relative
}

#divPostcardBody {
    width: 487px;
    height: 342px;
    position: relative;
    top: 2px;
    left: 2px;
}

/* back text */
#divPostcardText {
    cursor: text;
    position: relative;
    padding-top: 15px;
}

#divPostcardText.postcard {
    width: 240px;
    height: 250px;
}

#divPostcardText.postcard p, #divPostcardText.postcard textarea {
    width: 200px !important;
    height: 250px;
    margin: 10px 20px 10px 20px;
    font-size: 12px;
    overflow: hidden;
    line-height: 16px !important;
}

#divPostcardText.blank {
    width: 445px;
    height: 285px;
}

#divPostcardText.blank p, #divPostcardText.blank textarea {
    width: 445px !important;
    height: 285px;
    margin: 10px 20px 10px 20px;
    font-size: 12px;
    line-height: 16px !important;
}

#divPostcardText.blank p {
    _padding-left: 23px;
    _padding-top: 14px;
}

/* body save tab */
#divPostcardText a, #divFootnote a {
    display: block;
    width: 28px;
    position: absolute;
    top: 25px;
    height: 20px;
    right: 0px;
    background: #808080;
    padding-left: 8px;
    font-size: 10px;
    color: white;
    z-index: 80;
    display: none;
    font-family: sans-serif !important;
    _right: -14px;
    _top: 16px;
    _height: 20px;
}

#divPostcardText a span, #divFootnote a span {
    display: block;
    width: 11px;
    height: 20px;
    position: absolute;
    right: -11px;
    top: 0;
    background: url(../images/edittag.png);
}

/* footer save tab w/no icon */
#divFootnote a {
    top: 16px;
    right: 55px;
}

#divPostcardText.blank	a {
    right: -60px;
    _right: -15px;
    _top: 26px;
}

#divPostcardFooter {
    position: absolute;
    top: 267px;
    left: 2px;
    height: 77px;
    width: 487px;
    background: #ffffff;
}

#divPostcardFooter #imgAvatarBack {
    margin-left: 20px;
    margin-top: 10px;
    float: left;
}

#divPostcardFooter textarea, #divPostcardFooter p {
    font-size: 10px;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    line-height: 1.4em;
    height: 50px;
    margin: 16px 20px 10px 18px;
    float: left; /* width for no icon */
    width: 397px;
}

#divPostcardFooter textarea {
    font-size: 11px;
}

#divPostcardImages {
    position: absolute;
    left: 260px;
    top: 26px;
    width: 230px;
    height: 165px;
    overflow: hidden;
}

#divPostcardImages li {
    margin-right: 7px;
}

#divPostcardIcons {
    position: relative;
    height: 50px;
}

#divDesignbackPostcard #ulIcons {
    width: 523px;
    float: left;
    top: 10px;
}

#btnPostcardNext {
    float: right;
    margin-top: 8px;
    position: relative;
    top: 10px;
}

/* Type here hints */
#pTypeHint {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    color: #808080;
    font-style: italic;
    font-size: 1.3em !important;
    font-family: sans-serif !important;
}

/*ie6 hack */
#pFooterHint, x:default {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: left;
    color: #808080;
    font-style: italic;
    font-size: 1.1em !important;
    font-family: sans-serif !important;
    left: 20px;
}

/*ff2 hack */
#pFooterHint, x:-moz-any-link {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: left;
    color: #808080;
    font-style: italic;
    font-size: 1.1em !important;
    font-family: sans-serif !important;
    left: 20px;
}

/*ff3/other browsers default reset hack */
#pFooterHint, x:-moz-any-link, x:default {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: left;
    color: #808080;
    font-style: italic;
    font-size: 1.1em !important;
    font-family: sans-serif !important;
    left: 20px;
}

#pFooterHint small {
    font-size: 0.8em !important;
}

#divPostcardFooter #divFootnote {
    width: 416px;
    height: 75px;
    display: table-cell;
    vertical-align: middle;
}

#divPostcardFooter #divFootnote.pNoPartner #pLine2 {
    height: auto;
}

* html #divPostcardFooter #pLine2 {
    position: absolute;
    left: 0;
    top: 0;
}

#divPostcardFooter #pLine2 {
    cursor: text;
}

/* when there is a buddyicon, shift everything to the left */
#divPostcardFooter #divFootnote.pHasPartner textarea,
#divPostcardFooter #divFootnote.pHasPartner p {
    width: 296px;
}

#divFootnote.pHasPartner #pFooterHint {
    left: 65px;
}

#divFootnote.pHasPartner a {
    top: 16px;
    right: 90px;
}

* html #divPostcardFooter #divFootnote.pHasPartner #pLine2 {
    left: 86px;
}

#divPostcardFooter #divFootnote.pHasPartner textarea {
    margin-left: 12px;
}

#pTypeHint.inverse, #pFooterHint.inverse {
    color: white;
}

#pTypeHint span, #pFooterHint span {
    background: url(/images/cursor.png) no-repeat 0 1px;
    padding: 3px 5px;
}

#pTypeHint.inverse span, #pFooterHint.inverse.span {
    background: url(/images/cursorinverse.png) no-repeat 0 1px;
}

#pTypeHint small, #pFooterHint small {
    font-size: 0.7em;
}

/* Postcard controls */
#divPostcardControls {
    width: 360px;
    position: absolute;
    right: 0;
    top: 3px;
}

#divPostcardControls div.controlblock {
    margin-bottom: 10px;
    margin-left: 8px;
}

#divPostcardControls #divAlignTool {
    left: 0;
}

#divPostcardControls #divAlignTool a {
    margin: 0 5px;
}

#divPostcardControls h4 {
    font-weight: normal;
    border-bottom: solid 1px #ccc;
    margin-bottom: 8px;
}

/* postcard colour picker */
#divPostcardControls #ulColourPicker {
    width: 320px;
    left: 5px;
}

#imgPostcardLogo {
    position: absolute;
    left: 420px;
    top: 301px;
}

/* Meta info */
#divControlMeta {
    position: absolute;
    bottom: 38px;
    left: 9px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 16px;
    width: 157px;
}

#divControlMeta select, #divShowMeta input {
    font-size: 0.8em;
}

#divShowMeta {
    margin-left: 24px;
}

#divShowMeta input {
    margin: 4px 0pt 0px;
    padding: 0.2em 0.1em 0.1em;
}

/* Hide icons where not needed */
#divIconMask {
    position: absolute;
    background: #fafafa;
    z-index: 100;
    width: 510px;
    height: 100%;
    -moz-opacity: 0.7 !important;
    filter: alpha(opacity = "70") !important;
    opacity: 0.7 !important;
    top: 4px;
    height: 50px;
    left: 0;
}

/* force height hack for IE6 */
#divIconsContainer {
    border: 0px solid #ADA6A6;
    width: 295px;
    margin-top: 6px;
    padding-left: 5px;
    margin-left: 18px;
    overflow: hidden;
}

#divIconsContainer strong {
    font-size: 1em;
    margin-top: 7px;
    display: block;
    padding-bottom: 0.6em;
}

#ulIcons {
    margin-bottom: 5px !important;
    height: 49px !important;
    margin-top: -5px !important;
    zoom: 1;
}

#divDesignbackMinicard #ulIcons {
    height: 98px !important;
}

#ulIcons li {
    margin-right: 7px !important;
    margin-bottom: 10px !important;
}

/* hack for IE6 so floated icons of different heights stay in the same row */
#ulIcons img {
    _display: block !important;
}

#divBuddyNextBackLinks {
    background-color: #ADA6A6;
    overflow: hidden;
    border-top: 1px solid #ADA6A6;
    border-bottom: 1px solid #ADA6A6;
    width: 300px;
    clear: left;
    margin: 0;
    position: relative;
    right: 5px;
    bottom: -1px;
    text-align: right;
    margin-top: 8px;
}

#divBuddyNextBackLinks a {
    text-decoration: none;
    color: #fff;
}

#partnerBuddyNextLink {
    padding: 0 8px 0;
    position: static;
}

#partnerBuddyBackLink {
    position: absolute;
    left: 5px;
}

html>/**/body  #divIconMask {
    height: 100%;
    left: 0px;
}

/* Flash alternative */
#divCanvasFallback {
    z-index: 100;
    width: 920px;
    height: 400px;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
}

#divCanvasFallback h3 {
    padding-top: 30px;
    padding-bottom: 3px;
}

span.normal {
    padding-bottom: 5px;
}

span.huge {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

span.huge a {
    text-decoration: none;
}

#divUploadButtonBack {
    margin: 8px;
}

#divUploadDisabled {
    display: none;
}

#divUploadButtonBack .divUploadDisabled {
    height: 40px;
    left: 15px;
    position: absolute;
    top: 128px;
    width: 158px;
    z-index: 999;
    display: block;
}

.divLIDisabled {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    background-color: #DFDFDF;
    -moz-opacity: 0.3 !important;
    filter: alpha(opacity = "30") !important;
    opacity: 0.3 !important;
}

* html .divLIDisabled {
    width: 316px;
    height: 40px;
}

#ulFrontTextControls a {
    color: #333 !important;
}

#ulFrontTextControls li.label a {
    display: inline;
}

#aPreview {
    float: right;
    margin-top: -1.55em;
}

#aZoomIn:hover {
    background: url(/images/zoomin_off.gif) no-repeat scroll 0 50% !important;
}

#aZoomOut:hover {
    background: url(/images/zoomout_off.gif) no-repeat scroll 0 50% !important;
}

#ulPreviewAndGuidelines li {
    padding-top: 12px;
}

* html #aClearImage, * html #aResetImage {
    width: 100px !important;
}

/* Canvas key */

#ulCanvasKey {
    margin-top: 8px;
    padding: 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    text-align: left;
}

#ulCanvasKey span, #ulCanvasKeySmall span {
    margin-right: 8px;
    display: block;
    width: 24px;
    height: 16px;
    float: left;
}

#divCanvasKeySmall {
    margin-top: 8px;
    float: right;
    text-align: right;
}

* html #divCanvasKeySmall {
    width: 194px;
}

#divCanvasKeySmall ul {
    padding-bottom: 2px;
}

#divCanvasKeySmall ul span {
    margin: 0 8px;
    padding: 0 6px;
}

#divCanvasKeySmall a {
    margin-left: 8px;
}

span.safe_box {
    border: 1px solid #00e52c;
}

span.trim_box {
    border: 1px dashed #ff2f00;
}

span.bleed_box {
    border: 1px solid #838383;
    background-color: #c8c8c8;
}

* html #ulCanvasKey li {
    clear: left;
}

* html #ulCanvasKey span {
    margin-bottom: 4px;
}

/* Buddy icons */
#pBuddyIconText small {
    display: block;
    color: #949494;
    line-height: 1em;
}

#divBuddyIcons {
    margin-bottom: 16px;
    width: 402px;
    overflow-x: auto;
    overflow-y: hidden;
    height: 95px;
}

#divBuddyIcons ul {
    width: 1000px;
}

#divBuddyIcons li {
    margin: 0 8px 8px 0;
    background-color: #fff;
    color: #666;
    border: 3px solid #ccc;
    text-align: center;
}

#divBuddyIcons li.selected {
    border: 3px solid #ff6600;
}

#divBuddyIcons li a {
    padding: 4px;
    width: 60px;
    height: 60px;
    display: block;
    color: #666;
    text-decoration: none;
}

#liIcon0 a span {
    display: block;
    margin-top: 1.5em;
}

* html #liIcon0 a span {
    margin-top: 1.6em;
}
