.outer-wrap {
    width: 400px;
    padding: 0.5em;
    position: relative;
    float: left;

    background: /*url(../graphics/common/cutmark_1.png) top left no-repeat,*/ url(img/cutmark_2.png) top right no-repeat,
    url(img/cutmark_3.png) bottom right no-repeat,
    url(img/cutmark_4.png) bottom left no-repeat;

    background-size: 20px;
}

.fold {
    height: 1px;
    width: 100%;
    background: url(img/dotline.png) 0% 0 no-repeat,
    url(img/dotline.png) 50% 0 no-repeat,
    url(img/dotline.png) 100% 0 no-repeat;
    background-size: 32px;
}

.card-wrap {
    height: 4.3em;
    border-radius: 10px;
    background-color: white;
    line-height: 1.2em;
    font-size: 200%;
    padding: 1em;
    display: inline-block;
    text-align: center;
    width: 100%;
    vertical-align: middle;
    min-height: 125px;
}

.clear-both {
    clear: both;
}

.card-content-wrap {
    color: #333;
    padding: 0;
    margin: 0;
}

.card-name {
    background: transparent;
}

.table-text {
    font-size: 75%
}

#template-select-div {
    overflow: hidden;
}

#template-select-div .select-card-container {
    border-radius: 10px;
    border: 1px dotted #95999c;
    margin-top: 25px;
    width: 100%;
}

#template-select-div .card-name, #template-select-div .table-text {
    color: #444;
}

#template-select-div {
}

/****************** BOTTOM ********************/
.card-wrap.bottom {
    padding: 0.25em 0.5em;
}

.bottom-graph {
    height: 1em;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

/****************** BETWEEN ********************/
.card-wrap.between {
    padding: 0.25em 0.5em;
}

.between-graph {
    height: 0.5em;
    padding: 0.25em 0;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;

}

/****************** Pattern ********************/
.card-wrap.pattern {
    box-shadow: inset 0 0 0.25em 0.25em #b1b1b1;
    height: inherit;
    padding: 1em;
}

.card-wrap.pattern .card-content-wrap {
    background: white;
    box-shadow: 0 0 0.5em 0.75em #b4b4b4;
    border-radius: 0.125em;
}

.card-wrap.pattern .white-wrap {
    background-color: white;
    margin: 0.5em;
}

/****************** Frame ********************/
.card-wrap.frame {
    position: relative;
}

.frame-comp-c, .frame-comp-b {
    position: absolute;
    height: 1.5em;
    background-size: contain;
}

.frame-comp-c {
    z-index: 10;
    width: 1.5em;
    background-repeat: no-repeat;
}

.frame-c-0 {
    top: 0;
    left: 0;
}

.frame-c-1 {
    top: 0;
    right: 0;
}

.frame-c-2 {
    bottom: 0;
    left: 0;
}

.frame-c-3 {
    bottom: 0;
    right: 0;
}

.frame-b-t {
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5em;
    background-repeat: repeat-x;
}

.frame-b-d {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5em;
    background-repeat: repeat-x;
}

.frame-b-l {
    top: 0;
    left: 0;
    width: 1.5em;
    height: 100%;
    background-repeat: repeat-y;
}

.frame-b-r {
    top: 0;
    right: 0;
    width: 1.5em;
    height: 100%;
    background-repeat: repeat-y;
}

.card-wrap.frame .card-content-wrap {
    position: relative;
    z-index: 20
}

/****************** Corners ********************/
.card-wrap.corner {
    position: relative;
}

.corner-comp-c {
    position: absolute;
    height: 1.5em;
    background-size: contain;
    z-index: 10;
    width: 1.5em;
    background-repeat: no-repeat;
}

.corner-c-0 {
    top: 0.125em;
    left: 0;
}

.corner-c-2 {
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

.card-wrap.frame .card-content-wrap {
    position: relative;
    z-index: 20
}

.vmc .between, .vmc .bottom {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.backside-wrap {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

#preview-card-wrap {
    border-radius: 10px;
    max-width: 380px;
    width: auto;
    min-height: 125px;
    border: 1px dotted #95999c;
    position: relative;
}

#preview-card-wrap .card-wrap {
    border-radius: 10px;

    margin: 0;
    vertical-align: middle;
}

.done_msg {
    color: #ffc200;
}

.price-label {
    position: absolute;
    top: 31px;
    right: 23px;
    background-color: white;
    border-radius: 25% 10%;
    box-shadow: 0 0 0 1px #b5b5b5;
    font-size: 20px;
    height: 30px;
    line-height: 30px;
    width: 63px;
    z-index: 1;
}

.download-preview {
    margin-top: 20px;
    margin-bottom: 40px;
}

.done-btn {
    width: 100%;
}

.card-wrap.image {
    background-size: contain;
    background-color: white;
    background-repeat: no-repeat;
    background-position: center;
}

.hidden {
    display: none;
}

.custom-colorpicker-lg {
    margin-left: -30px;
    height: calc(1.5em + 1rem + 2px);
    font-size: 1.25rem;
    line-height: 1.5;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

#guest-field {
    border-radius: 10px;
}

.h1-small {
    font-size: 30px;
}

.container-social {
    display: flex;
    justify-content: center;
    margin-top: 30px
}

.el-fill-available{
    width: 100%;
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    width: fill-available;
}

/* --- Mobile: the card preview wrappers use fixed/float widths that overflow
   narrow phones (.outer-wrap is 400px float:left). Make them fluid and stop
   them from forcing horizontal scroll. --- */
@media (max-width: 480px) {
    .outer-wrap {
        width: 100%;
        max-width: 400px;
        float: none;
        margin: 0 auto;
        box-sizing: border-box;
    }
    #preview-card-wrap {
        max-width: 100%;
    }
    .h1-small {
        font-size: 22px;
    }
}
/* --- Place-card set preview (dashboard + event placecards tab) --- */
.pcrun-preview {
    width: 200px;
    height: 110px;
    border: 1px solid #d9d2c5;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
}
.pcrun-preview .pcrun-name { font-size: 1.35rem; line-height: 1.2; }
.pcrun-preview .pcrun-table { font-size: 0.9rem; }
.dark-mode .pcrun-preview { background-color: #fff; } /* the card itself is paper */
