.md-close {
    color: #fff !important;
    width: 18px;
    height: 19px;
    background: url(../../images/icon-close-lg.png) no-repeat;
   cursor: pointer;
    border: none;
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 17px;
    font-weight: 700;
    z-index: 1;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -o-transition: all .3s linear;
    -ms-transition: all .3s linear;
    transition: all .3s linear;
    background-color: #000;
    /* padding: 14px; */
    width: 35px;
    height: 35px;
    border-radius: 50px;
    background-position: 9px;
}

    .md-close:hover {
        color: #333 !important;
    }

.md-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 95%;
    min-width: 300px;
    height: auto;
    z-index: 999999;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

    .md-modal#form-login {
        max-width: 800px;
    }

    .md-modal#form-join {
        max-width: 850px;
    }

    .md-modal#track-order {
        max-width: 750px;
    }

        .md-modal#track-order .log-col-left {
            height: auto;
        }

        .md-modal#track-order .md-content h3 {
            margin-bottom: 32px !important;
        }

        .md-modal#track-order .btn-track {
            padding: 10px 20px !important;
        }

    .md-modal#form-forgot-guest, .md-modal#form-forgot-member {
        max-width: 750px;
    }

        .md-modal#form-forgot-guest .log-col-left, .md-modal#form-forgot-member .log-col-left {
            height: auto;
        }

        .md-modal#form-forgot-guest .btn-forgot, .md-modal#form-forgot-member .btn-forgot {
            padding: 10px 20px !important;
        }

    .md-modal#form-joining {
        max-width: 850px;
    }

        .md-modal#form-joining .md-content {
            padding: 15px;
            background: #fff;
        }

        .md-modal#form-joining iframe {
            width: 100%;
            min-height: 245px;
        }

        .md-modal#form-joining .md-content h3 {
            margin-bottom: 12px !important;
        }

    .md-modal#c-support {
        max-width: 750px;
    }

        .md-modal#c-support .log-col-right {
            border-left: 20px solid #6fc7d5;
        }

        .md-modal#c-support img {
            margin: auto;
            display: block;
        }

    .md-modal#add-testimonial {
        max-width: 750px;
    }

    .md-modal#track-detail {
        max-width: 780px;
    }

        .md-modal#track-detail iframe {
            height: 500px;
            overflow: auto;
        }

.md-show {
    visibility: visible;
}

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 99999;
    opacity: 0;
    background: #000;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

.md-show ~ .md-overlay {
    opacity: .7;
    visibility: visible;
}

.md-content {
    color: #666;
    position: relative;
    margin: 0 auto;
    height: auto;
}

.md-container {
    overflow: hidden;
    background: #fff;
}

.md-content img {
    max-width: 100%;
}

.md-content h3 {
    font-weight: 400;
    padding-top: 25px;
    margin-bottom: 10px !important;
    text-transform: capitalize;
    color: #212121;
}

.md-content p {
    padding-bottom: 10px !important;
}

.md-content > div {
    margin: 0;
}

.md-content .log-col-left {
    padding: 0;
}

.md-content .log-col-right {
    padding: 30px;
    background: #fff;
}

    .md-content .log-col-right .custom-alert-bar {
        position: absolute;
        -webkit-transform: inherit;
        -moz-transform: inherit;
        transform: inherit;
        left: 0;
    }

    .md-content .log-col-right .alert {
        background: rgba(0,0,0,.8);
        font-size: 13px;
        width: 100%;
        color: #fff;
        border: 0;
        position: absolute;
        bottom: 0;
        left: 0;
        border-radius: 0;
        padding: 13px;
        margin-bottom: 0;
    }

        .md-content .log-col-right .alert .close {
            color: #fff !important;
            text-shadow: inherit;
            opacity: inherit;
        }

.md-content .btn {
    padding: 10px 15px;
    font-size: 15px;
    margin-top: 10px;
    text-transform: uppercase;
    background: #0c0d11;
    color: #fff;
}

.md-content .forgot-link {
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

    .md-content .forgot-link a {
        color: #c33a36 !important;
    }

.md-content .new-link a {
    color: #45b2c4 !important;
    text-decoration: underline !important;
}

.md-content p span.change-num {
    cursor: pointer;
    color: #c33a36 !important;
}

.md-content .old-link {
    margin-top: 20px !important;
}

.md-content .user-type {
    list-style: none;
}

    .md-content .user-type li {
        float: left;
        padding-bottom: 10px !important;
        margin-right: 20px !important;
        border-bottom: 1px solid transparent;
        cursor: pointer;
        font-size: 17px;
        color: #999;
    }

        .md-content .user-type li.user-active {
            border-color: #212121;
            color: #212121;
        }

.md-content .user-info {
    display: none;
    margin-top: 20px !important;
}

    .md-content .user-info.user-info-active {
        display: block;
    }

.md-content .steps {
    height: auto;
    overflow: hidden;
    position: relative;
}

    .md-content .steps .btn {
        float: left;
        width: auto;
        margin-right: 5px !important;
    }

    .md-content .steps .btn-back {
        background: #333;
        color: #fff;
        padding: 10px 15px !important;
    }

    .md-content .steps .btn-next {
        padding: 10px 15px !important;
    }

.md-content .step1 {
    width: 100%;
    position: absolute;
    left: 0;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -o-transition: all .3s linear;
    -ms-transition: all .3s linear;
    transition: all .3s linear;
}

.md-content .step2 {
    width: 100%;
    position: relative;
    left: 100%;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -o-transition: all .3s linear;
    -ms-transition: all .3s linear;
    transition: all .3s linear;
}

    .md-content .step2 .label-gender {
        position: inherit;
        margin-right: 10px;
    }

        .md-content .step2 .label-gender label {
            position: inherit;
            left: inherit;
            top: -2px !important;
        }

    .md-content .step2 .btn {
        margin-top: 0;
    }

.md-effect-13.md-modal {
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px;
}

/*.md-effect-13 .md-content {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(-3000px) rotateY(90deg);
    -moz-transform: translateZ(-3000px) rotateY(90deg);
    -ms-transform: translateZ(-3000px) rotateY(90deg);
    transform: translateZ(-3000px) rotateY(90deg);
    opacity: 0;
}

.md-show.md-effect-13 .md-content {
    -webkit-animation: slit .7s forwards ease-out;
    -moz-animation: slit .7s forwards ease-out;
    animation: slit .7s forwards ease-out;
}*/

@-webkit-keyframes slit {
    50% {
        -webkit-transform: translateZ(-250px) rotateY(89deg);
        opacity: .5;
        -webkit-animation-timing-function: ease-out;
    }

    100% {
        -webkit-transform: translateZ(0) rotateY(0);
        opacity: 1;
    }
}

@-moz-keyframes slit {
    50% {
        -moz-transform: translateZ(-250px) rotateY(89deg);
        opacity: .5;
        -moz-animation-timing-function: ease-out;
    }

    100% {
        -moz-transform: translateZ(0) rotateY(0);
        opacity: 1;
    }
}

@keyframes slit {
    50% {
        transform: translateZ(-250px) rotateY(89deg);
        opacity: 1;
        animation-timing-function: ease-in;
    }

    100% {
        transform: translateZ(0) rotateY(0);
        opacity: 1;
    }
}

.p_modal {
    max-width: 750px;
}

    .p_modal .md-content {
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .p_modal .md-close {
        width: 25px;
        height: 26px;
        background: url(../../images/icon-close-p.png) no-repeat;
        position: absolute;
        z-index: 999;
        top: 5px;
        right: 5px;
    }

/*.md-show.p-effect-1 .md-content {
    -webkit-animation: swing .7s forwards ease-out;
    -moz-animation: swing .7s forwards ease-out;
    animation: swing .7s forwards ease-out;
}

.md-show.p-effect-2 .md-content {
    -webkit-animation: bounce .7s forwards ease-out;
    -moz-animation: bounce .7s forwards ease-out;
    animation: bounce .7s forwards ease-out;
}

.md-show.p-effect-3 .md-content {
    -webkit-animation: rotateInUpLeft .7s forwards ease-out;
    -moz-animation: rotateInUpLeft .7s forwards ease-out;
    animation: rotateInUpLeft .7s forwards ease-out;
}

.md-show.p-effect-4 .md-content {
    -webkit-animation: rotateInUpRight .7s forwards ease-out;
    -moz-animation: rotateInUpRight .7s forwards ease-out;
    animation: rotateInUpRight .7s forwards ease-out;
}*/

@media only screen and (min-width:320px) and (max-width:767px) {
    .md-content .log-col-left {
        display: none;
    }

    .md-modal .log-col-right {
        border-left: 0 !important;
    }

    .md-close {
        color: #fff !important;
        width: auto;
        height: auto;
        background: url(../../images/icon-close-lg.png) no-repeat #333 center;
        position: absolute;
        top: 0;
        right: 0;
        padding: 15px;
    }
}
