.order-template , .order-template h3, .order-template h4, .order-template h5{
    /*color : #666;*/
    color : #b1b1b1;
}
.order-template ul li h4 {
    position: absolute;
    bottom: 0px;
    font-size: 13px;
    text-align: left;
    overflow-wrap: break-word;
    width: 100%;
}
.order-template ul, .order-template ul li {
    list-style: none;
}
.order-template table {
    margin-top: 15px;
}
.order-template table , .order-template a.btn-pdf{
    border: 1px solid #6b6b6b !important;
}
.order-template table tr td {
    /*border-right: 1px solid #eee;*/
    border-right: 1px solid #6b6b6b;
    border-top: 1px solid #6b6b6b;
    padding: 6px 18px;
}
.order-template h3 {
    margin-top: 20px;
    color: #b1b1b1;
}
.order-template ul li {
    float: left;
    width: 120px;
    padding: 5px;
    /*border: 1px solid #eee !important;*/
    border: 1px solid #6b6b6b !important;
    height: 155px;
    margin: 5px;
    min-height: 80px;
    position: relative;
    text-align: center;
}
.order-template ul li img {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    height: 85px;
}
.order-info {
    max-width: 500px;
    float: right;
}
.order-image{
    float: left;
    overflow: hidden;
    height: 415px;
    position: relative;
}
.order-template ul li input[type=radio] {
    position: absolute;
    left: 0px;
    bottom: 5px;
}
.order-template #result-image {
    left: -100px;
    top: -100px;
}
.order-template a.btn-pdf {
    /*color: #666;*/
    color: #e4e4e4;
    font-size: 22px;
    padding: 5px 14px;
    background: #353535;
    float: left;
    margin-right: 10px;
}
.order-template ul li h4 {
    bottom: 14px;
}

/* The Modal (background) */
#pdfModal .modal-content {
    background-color: #1f1f1f;
    border: 1px solid #888888;
    color: white;
}
#pdfModal .modal-content h3 {
    color: white;
}
#pdfModal .modal-content input , #pdfModal .modal-content textarea{
    border: 1px solid #999;
    background-color: #383838;
    color: #ffffff;
}
#pdfModal .modal-content input[type=submit] , #pdfModal .modal-content input[type=reset]{
    border: 1px solid #999;
    background-color: #333333;
    color: white;
    font-weight: normal;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    width: 450px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius:2px;
    padding:20px 30px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.modal-body {padding: 2px 5px;}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.modal-content input {
    width:100%;
    height:35px;
    margin-top:5px;
    border:1px solid #999;
    border-radius:3px;
    padding:5px;
}

.modal-content h3{
    font-size:18px;
    text-align:center;
    /*text-shadow:1px 0px 3px gray;*/
}

.modal-content input[type=button],
.modal-content input[type=reset],
.modal-content input[type=submit] {
    background-color:#123456;
    border:1px solid white;
    font-family: 'Fauna One', serif;
    font-Weight:bold;
    font-size:18px;
    color:white;
    width:49%;
}

.modal-content textarea {
    width:100%;
    height:80px;
    margin-top:5px;
    border-radius:3px;
    padding:5px;
    resize:none;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: -15px;
    margin-top: -15px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-content label.error {
    color: red;
    font-size: 13px;
}

.modal-content textarea.error, .modal-content input.error {
    border:1px solid red;
}

.parts-gray{
    background-color: #2d2d2d;
    pointer-events : none;
    opacity: 0.5;
}
.top-position {
    top : -18px !important;
}
.bg-position {
    background-position: center -200px !important;
}
#wrap-share-sns {
    position: absolute;
    z-index: 9;
    top: 0px;
    right: 100px;
}

#wrap-share-sns button {
    height: 40px;
    width: 40px;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
}
#group-share-sns button {
    height: 35px;
    width: 35px;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    padding-right: 5px;
    margin-right: 5px;
    background-size: contain;
}

#share-facebook {
    background-image: url("../images/fb-icon.png");
}

#share-instagram {
    background-image: url("../images/is-icon.png");
}

#share-twitter {
    background-image: url("../images/tw-icon.png");
}
.order-group {
    position: relative;
    /*border: 1px solid;*/
}
.order-group .order-images {
    float: right;
    width: 29.555%;
    /*border: 1px solid;*/
}
.order-group .order-list  {
    float: left;
    width: 69.555%;
    /*border: 1px solid;*/
}
.order-template .order-group .order-images #result-image {
    left: -280px;
    top: -55px;
}
.order-template .order-group .order-list ul li h4 {
   width: 99%;
}
.order-result .order-info {
    max-width: none;
    float : none;
    width: 100%;
}
.pdf-disable {
    opacity: 0.8;
    filter: alpha(opacity=80);
}
#canvas-completed {
    width: 550px;
    height: 550px;
    display: none;
}