﻿/*--------------base------------------*/
section[online-edit='true'].mainborder, div[online-edit='true'].mainborder {
    padding: 15px;
    border: 2px dashed rgba(255,255,255,0.5);
    margin: 15px;
    position: relative;
    min-height: 110px;
    transition: 0.7s;
}

    section[online-edit='true'].mainborder:after, div[online-edit='true'].mainborder:after {
        content: '';
        position: absolute;
        border: 2px dashed rgba(0,0,0,0.5);
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
    }

    section[online-edit='true'].mainborder:hover, div[online-edit='true'].mainborder:hover {
        border-color: #63a621;
    }

    section .butttonsviget, div[online-edit='true'].mainborder .butttonsviget {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10000;
    }

    section[online-edit='true'].mainborder .btnviget, div[online-edit='true'].mainborder .btnviget {
        border-radius: 3px;
        background: #272727;
        width: 35px;
        height: 32px;
        display: block;
        border: none;
        margin: 5px auto;
        -webkit-box-shadow: 0px 5px 5px 0px rgba(4,5,5,0.1), 0px 12px 10px -5px rgba(4,5,5,0.3);
        -moz-box-shadow: 0px 5px 5px 0px rgba(4,5,5,0.1), 0px 12px 10px -5px rgba(4,5,5,0.3);
        box-shadow: 0px 5px 5px 0px rgba(4,5,5,0.1), 0px 12px 10px -5px rgba(4,5,5,0.3);
        transition: 0.7s;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

        section[online-edit='true'].mainborder .btnviget:hover, div[online-edit='true'].mainborder .btnviget:hover {
            -webkit-box-shadow: 0px 5px 5px 0px rgba(4,5,5,0.1), 0px 5px 10px -5px rgba(4,5,5,0.3);
            -moz-box-shadow: 0px 5px 5px 0px rgba(4,5,5,0.1), 0px 5px 10px -5px rgba(4,5,5,0.3);
            box-shadow: 0px 5px 5px 0px rgba(4,5,5,0.1), 0px 5px 10px -5px rgba(4,5,5,0.3);
        }

.modal-backdrop {
    z-index: 1000;
}

.butttonsviget .btnviget > * {
    font-size: 15pt !important;
    line-height: 1;
    padding: 0;
    color: #fff;
    margin: 0;
    position: initial !important;
}

    .butttonsviget .btnviget > *:before {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 20px;
        height: 20px;
    }

.butttonsviget .btnviget:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    right: -90%;
    top: 0;
    border-radius: 3px;
    transition: 0.7s;
}

.butttonsviget .btnviget.edit:before {
    background: #ff4c4b;
}

.butttonsviget .btnviget.move:before {
    background: #ff864b;
}

.butttonsviget .btnviget.social:before {
    background: #ffc64b;
}

.butttonsviget .btnviget:hover:before {
    right: 0;
}



.blackwrap {
    padding: 50px 15px;
}

    .blackwrap .pagetitle {
        margin-bottom: 30px;
        display: block;
    }

        .blackwrap .pagetitle > * {
            color: #dbdbdb;
            font-size: 12pt;
        }

    .blackwrap .top:after, .content .rows:after {
        clear: both;
        display: block;
        content: '';
    }

#lightcase-case, #lightcase-content, .lightcase-contentInner, .lightcase-contentInner iframe {
    border-radius: 15px;
    background: #272727;
    -webkit-box-shadow: 0px 5px 20px 0px rgba(4,4,4,0.1),0px 30px 30px -20px rgba(4,4,4,0.3);
    -moz-box-shadow: 0px 5px 20px 0px rgba(4,4,4,0.1),0px 30px 30px -20px rgba(4,4,4,0.3);
    box-shadow: 0px 5px 20px 0px rgba(4,4,4,0.1),0px 30px 30px -20px rgba(4,4,4,0.3);
}

    .lightcase-contentInner iframe {
        height: 280px;
        overflow: hidden;
    }

.blackwrap .btnlink {
    display: inline-block;
    padding: 10px 30px;
    color: rgba(255,255,255,0.8);
    background: #3e4451;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.08), 0px 20px 10px -10px rgba(4,5,5,0.2);
    -moz-box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.08),0px 20px 10px -10px rgba(4,5,5,0.2);
    box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.08), 0px 20px 10px -10px rgba(4,5,5,0.2);
    transition: .7s;
}

    .blackwrap .btnlink:hover {
        transform: translateY(-3px);
        background: #585c68;
        -webkit-box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.08),0px 30px 10px -10px rgba(4,5,7,0.2);
        -moz-box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.08),0px 30px 10px -10px rgba(4,5,7,0.2);
        box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.08),0px 30px 10px -10px rgba(4,5,7,0.2);
    }
/*--------------------edit-promotion-------------*/
.edit-promotion, .edit-promotion a, .edit-promotion p {
    color: #fff;
    font-size: 9.5pt;
}

    .edit-promotion table {
        border: 2px solid rgba(255,255,255,0.1);
    }

        .edit-promotion table tr {
            border: 2px solid rgba(255,255,255,0.1);
        }

            .edit-promotion table tr td {
                padding: 15px;
            }

                .edit-promotion table tr td:not(:last-child) {
                    border-left: 1px dotted #3d3d3d;
                }

            .edit-promotion table tr > *:nth-child(1) img {
                min-width: 62px;
            }

            .edit-promotion table tr > *:nth-child(1) {
                width: 95px;
            }

            .edit-promotion table tr > *:nth-child(2) {
                width: 225px;
            }

            .edit-promotion table tr > *:nth-child(3) {
                width: 170px;
                line-height: 1.7;
                display: block;
            }

            .edit-promotion table tr > *:nth-child(4) {
                width: 125px;
            }

            .edit-promotion table tr > *:nth-child(5) > * {
                display: block;
                font-size: 18pt;
                line-height: 1;
                transition: .7s;
                cursor: pointer;
            }

        .edit-promotion table .mdi-pencil:hover {
            color: #63a621;
        }

        .edit-promotion table .mdi-delete-forever:hover {
            color: #ff4c4c;
        }
/*----------- count -------------*/

.wcount {
    float: left;
    width: 52px;
    height: 32px;
}

    .wcount input {
        width: 32px;
        float: right;
        height: 32px;
        text-align: center;
        color: #fff;
        font-size: 12pt;
        margin: 0;
        border: none;
        background: #1a1a1a;
    }

    .wcount ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
        color: #fff;
    }

    .wcount ::-moz-placeholder { /* Firefox 19+ */
        color: #fff;
    }

    .wcount :-ms-input-placeholder { /* IE 10+ */
        color: #fff;
    }

    .wcount :-moz-placeholder { /* Firefox 18- */
        color: #fff;
    }

    .wcount input, .wcount textarea {
        background: #272727;
        border: none;
    }

    .wcount textarea {
        width: 100%;
        min-height: 100px;
    }

    .wcount button {
        border: 0;
        float: right;
        width: 20px;
        height: 16px;
        background: #1a1a1a;
        font-size: 13pt;
        color: #fff;
        -webkit-transition: 0.8s;
        -moz-transition: 0.8s;
        -ms-transition: 0.8s;
        -o-transition: 0.8s;
        transition: 0.8s;
        line-height: 1;
        padding: 0;
        text-align: center;
        text-align: center;
        text-align: center;
    }

        .wcount button:hover {
            color: #ff4c4b;
        }

    .wcount .plus {
        border-bottom: 1px solid #b3b3b3;
        line-height: 1.1;
    }

.blackwrap .mdi-plus {
    color: #63a621;
    font-size: 38pt;
    line-height: 1;
    transition: 0.7s;
}

    .blackwrap .mdi-plus:hover {
        transform: scale(1.2);
    }

.blackwrap .btnswrap {
    margin: 30px auto;
}

    .blackwrap .btnswrap > * {
        display: inline-block;
        padding: 10px 30px;
        color: #fff;
        transition: 0.7s;
        position: relative;
        cursor: pointer;
    }

        .blackwrap .btnswrap > *:before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            transition: 0.7s;
            -webkit-box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.1),0px 20px 10px -10px rgba(4,5,5,0.3);
            -moz-box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.1),0px 20px 10px -10px rgba(4,5,5,0.3);
            box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.1),0px 20px 10px -10px rgba(4,5,5,0.3);
        }

        .blackwrap .btnswrap > *:hover:before {
            background: rgba(255,255,255,0.1);
            -webkit-box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.1),0px 30px 10px -10px rgba(4,5,5,0.3);
            -moz-box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.1),0px 30px 10px -10px rgba(4,5,5,0.3);
            box-shadow: 0px 0px 10px 0px rgba(4,5,5,0.1),0px 30px 10px -10px rgba(4,5,5,0.3);
        }

    .blackwrap .btnswrap i {
        font-size: 15pt;
        margin-right: 15px;
        line-height: 1;
    }

.btnswrap .cansel {
    background: #353535;
}

.btnswrap .sabt {
    background: #63a621;
}

.btnswrap .cansel i {
    color: #ff4c4b;
}

.btnswrap .sabt i {
    color: #0b1304;
}

/*----------------------rowsetting-promotion----------------------------*/

.check2 {
    /*.text-right;*/
    font-size: 9.5pt;
}

    .check2 .lever {
        margin-right: 0;
        margin-left: 10px;
    }
/*check2*/
.check2 {
    cursor: pointer;
    color: #999999;
    font-size: 12pt;
    display: block;
}

    .check2 input[type=checkbox] {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .check2 .lever {
        content: "";
        display: inline-block;
        position: relative;
        width: 28px;
        height: 10px;
        background-color: #939393;
        -moz-border-radius: 15px;
        -webkit-border-radius: 15px;
        -khtml-border-radius: 15px;
        border-radius: 15px;
        transition: background 0.3s ease;
        vertical-align: middle;
        margin-right: 10px;
        right: 0;
        float: left;
        margin-top: 10px;
    }

        .check2 .lever:after {
            content: "";
            position: absolute;
            display: inline-block;
            width: 16px;
            height: 16px;
            background-color: #fafafa;
            -moz-border-radius: 50%;
            -webkit-border-radius: 50%;
            -khtml-border-radius: 50%;
            border-radius: 50%;
            box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4);
            left: 0;
            top: -3px;
            transition: left 0.3s ease, background 0.3s ease, box-shadow 0.1s ease;
        }

    .check2 input[type=checkbox]:checked + .lever {
        background-color: #3d4d2e;
    }

        .check2 input[type=checkbox]:checked + .lever:after {
            background-color: #63a621;
            left: 12px;
        }

input[type=checkbox]:not(:disabled) ~ .lever:active:after,
input[type=checkbox]:not(:disabled).tabbed:focus ~ .lever::after {
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(0, 0, 0, 0.08);
}

.content .rows {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px;
    color: #bfbfbf;
}

    .content .rows > * {
        display: inline-block;
        vertical-align: middle;
        margin-left: 15px;
    }

.sociallist .rows i {
    color: rgba(255,255,255,0.3);
    font-size: 20pt;
    line-height: 1;
}

.content .sociallist .rows > *:nth-child(2) {
    width: 70px;
}

.content .sociallist .rows > input {
    background: #1a1a1a;
    border: none;
    color: #fff;
    text-indent: 15px;
    min-height: 32px;
    width: 270px;
}

.content .rows .item label {
    margin-left: 15px;
    margin-top: 5px;
}

.addpromotion input[type="text"] {
    width: 100%;
}

.blackwrap .link {
    display: block;
    text-align: center;
}

.modal {
    background-color: transparent;
}

.modal-content {
    background-color: #2e323e;
    overflow:hidden;
}

.modal-title {
    color: #fff;
}

.modal-header-custom .close {
    float: left;
    color: rgb(255, 75, 75);
    text-shadow: none;
    opacity: 1;
}

    .modal-header-custom .close:hover {
        color: rgb(255, 100, 100);
    }

@media(max-width: 1200px) {
}

@media (max-width: 992px) {
    .content .rows {
        padding: 15px 0;
    }
}

@media (max-width: 800px) {
    .content .rows > * {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .blackwrap .btnlink {
        font-size: 9pt;
    }

    .content .sociallist .rows > *:nth-child(2) {
        display: none;
    }
}

@media (max-width: 600px) {
    .blackwrap .btnlink {
        padding: 10px 5px;
    }
}

@media (max-width: 470px) {
    .blackwrap .btnlink {
        display: block;
        margin: 10px auto;
        text-align: center;
    }

    .blackwrap .btnswrap > * {
        padding: 10px 0;
        width: 113px;
        text-align: center;
    }

    .blackwrap .btnswrap i {
        margin-right: 5px;
    }

    .check2, .content .rows > * {
        font-size: 9pt;
    }

    .blackwrap {
        padding: 50px 0;
    }

    .content .sociallist .rows > * {
        margin-top: 15px;
    }

    .content .sociallist .rows > input {
        width: 210px;
    }
}

.style-modal-button {
    background-color: #272727;
    display: block;
    height: 40px;
    position: absolute;
    left: 0;
    top: 60px;
    width: 40px;
    font-size: 17px;
    line-height: 38px;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    border-radius: 0 6px 6px 0;
    z-index: 1000000000;
}

    .style-modal-button:before {
        position: absolute;
        content: '\f493';
        font-family: MaterialDesignIcons;
        font-size: 18pt;
        line-height: 1;
        width: 24px;
        height: 24px;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

div#widgetmodal {
    overflow: initial !important;
}

    div#widgetmodal .modal-dialog {
        width: 700px;
        max-width: 700px;
        height: 600px;
        overflow-y: auto;
        overflow-x: hidden;
    }

        div#widgetmodal ::-webkit-scrollbar {
            width: 5px;
            height:7px;
        }

        div#widgetmodal ::-webkit-scrollbar-track {
            background: #f1f1f1;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            -khtml-border-radius: 5px;
            border-radius: 5px;
        }

        div#widgetmodal  ::-webkit-scrollbar-thumb {
            background: #ff817e;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            -khtml-border-radius: 5px;
            border-radius: 5px;
            -webkit-transition: 0.5s;
            -moz-transition: 0.5s;
            -ms-transition: 0.5s;
            -o-transition: 0.5s;
            transition: 0.5s;
        }

            div#widgetmodal  ::-webkit-scrollbar-thumb:hover {
                background: #555;
            }

    div#widgetmodal .modal-content {
        padding: 15px;
    }

textarea {
    min-height: 150px;
    width: 100%;
}

#newPromotionlang {
    background: rgba(0,0,0,.1);
}