.cpc-upload__inputfile {
    width: .1px;
    height: .1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.cpc-upload_btn {
    display: inline-block;
    font-weight: 600;
    color: #c70039;
    text-align: center;
    padding: 5px;
    transition: all .3s ease;
    cursor: pointer;
    border: 5px dashed;
    background-color: #ffebee;
    border-color: grey;
    border-radius: 10px;
    line-height: 26px;
    font-size: 14px;
    width: 100%;
    padding: 60px;
    font-size: 24px;
}

.cpc-upload_btn:hover {
    background-color: unset;
    color: #c70039;
    transition: all .3s ease;
}

.cpc-container p {
    margin: 0;
}

.cpc-container .cpc-upload_icon {
    font-size: 60px;
    color: grey;
}

.cpc-img_wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    height: 200px;
    overflow-y: auto;
    margin: 10px;
    border: 2px solid;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px;
}

.upload__img-box {
    width: 20%;
    padding: 0 10px;
    margin-bottom: 12px;
    cursor: pointer;
	position: relative;
}

.upload__img-box.selected {
    border: 5px solid rgba(255, 0, 0, 0.5);
}

.upload__img-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #c61330;
    position: absolute;
    top: -5px;
    right: 0px;
    text-align: center;
    line-height: 24px;
    z-index: 1;
    cursor: pointer;
    color: white;
    font-weight: bold;
}

.img-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-bottom: 100%;
}

.cpc-img_wrapper::-webkit-scrollbar {
    width: 10px;
}

.cpc-img_wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.cpc-img_wrapper::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #888;
}

.cpc-img_wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.cpc-canvas_editor {
    padding: 20px 50px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cpc-canvas_editor .cpc-canvas {
    box-shadow: 0px 0px 5px 5px grey;
}

.cursor-move {
    cursor: move;
}

.cpc-zoom_wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.template-modal {
    height: 500px;
    overflow-y: auto;
}

.template-img-wrap {
    height: 170px;
}

.template-img-wrap img {
    height: 100%;
}

.templates p {
    margin: 0;
}

.template-wrap {
    margin: 10px 0px;
    border: 2px solid;
}

.template-wrap button {
    margin: 10px 0px;
    width: 100%;
}

.template-category .btn-group {
    justify-content: center;
    width: 100%;
}

.display_none {
    display: none !important;
}

.visibility_none {
    visibility: hidden !important;
}

.canvas-container {
    margin: auto;
}

#cpc-background_color {
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border-width: 0;
    visibility: hidden;
}

.cpc-add_cart_wrap{
    margin: 20px 0px;
    display: flex;
    flex-direction: row-reverse;
}

.cpc-price_wrap{
    display: flex;
    flex-direction: row-reverse;
    font-size: 24px;
}

p.cpc-price {
    margin: 20px 0px;
}

.cpc-setting_group{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.cpc-setting_group div.cpc-bottom_setting {
	width: 150px;
	background: #e36159;
	color: white;
	padding: 10px 0px;
	border-radius: 50px;
	cursor: pointer;
	margin: 10px 0px;
}

.cpc-setting_group div.cpc-bottom_setting label {
	margin-bottom: 0px;
	cursor: pointer;
}

.cpc-setting_group div.cpc-bottom_setting input[type="color"]{
	width: 20px;
	height: 23px;
	padding: 0px;
}

.cpc-setting_group img {
    width: 40px;
    display: none;
}

.cpc-setting_group span {
    display: contents;
}

.cpc-zoom_wrapper input[type="color"], .cpc-zoom_wrapper select{
    padding: 0;
}

.cpc-zoom_wrapper input[type="color"] {
    border: none;
    height: 25px;
}

.cpc-zoom_wrapper select {
    width: 200px;
}

.cpc-wrap {
    margin-top: 50px;
}

.cpc-size_group{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cpc-size{
    width: 60px;
    text-align: center;
    border-radius: 5px;
    border: 2px solid #e36159;
    cursor: pointer;
}

.cpc-size.active {
    color: white;
    background-color: #e36159;
}

.cpc-size label {
    margin: 0;
    cursor: pointer;
}

.cpc-amount{
    color: #e36159;
}

.cpc-frameType_group, .cpc-easel_group, .cpc-thickness_group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cpc-thickness {
    font-size: 16px;
    padding: 0px 10px;
    border: 2px solid #e36159;
    border-radius: 5px;
    cursor: pointer;
}

.cpc-thickness.active {
    background-color: #e36159;
    color: white;
}

.cpc-frame_type, .cpc-easel {
    width: 100px;
    padding: 4px 4px 0px 4px;
    text-align: center;
    border-radius: 5px;
    border: 2px solid #e36159;
    cursor: pointer;
}

.cpc-frame_type.active, .cpc-easel.active {
    background-color: #e36159;
    color: white;
}

.cpc-frame_type img, .cpc-easel img {
    width: 100%;
    border-radius: 5px;
}

.cpc-frame_type span, .cpc-easel span {
    font-size: 16px;
}

.cpc-add_cart_loader{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.cpc-loader_main{
    position: absolute;
    top: calc(50% - 75px);
    left: calc(50% - 75px);
    text-align: center;
    color: white;
    font-size: 16px;
}

.cpc-loader_text {
    margin-top: 10px;
}

.whiteFrameBorder {
    border: 20px solid transparent;
    border-image: url(../uploads/whiteFrame.png) 20 round;
}

.blackFrameBorder {
    border: 20px solid transparent;
    border-image: url(../uploads/blackFrame.png) 20 round;
}

.cpc-delete_btn:disabled {
    cursor: no-drop;
}

.projectSettingContent{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.projectSettingComponent{
    text-align: center;
    cursor: pointer;
}

.projectSettingComponent:hover img {
    width: 100px;
}

.projectSettingComponent img {
    width: 50px;
    transition: width .2s;
}

@media only screen and (max-width: 979px) and (min-width: 477px){
    .upload__img-box {
        width: 33%;
    }
}

@media only screen and (max-width: 477px) {
    .upload__img-box {
        width: 50%;
    }
}

@media only screen and (max-width: 700px) {
    .cpc-setting_group img {
        display: initial;
    }
    
    .cpc-setting_group span {
        display: none;
    }

    .cpc-canvas_editor {
        padding: 10px 0px;
        min-height: 400px;
    }

    .cpc-zoom_wrapper {
        flex-direction: column;
    }
}