﻿.align-right {
    text-align: right;
}

#Searchform label {
    padding-top: 3px;
}

.mgb10 {
    margin-bottom: 10px;
}

.align-center {
    text-align: center;
}

#src .modal-dialog, #ViewInvoice .modal-dialog {
    width: 850px;
}

/*Messages*/
#messagewrapper {
    margin-left: 0 !important;
    position: fixed;
    top: 0px;
    width: 30%;
    z-index: 100000;
    right: 0;
}

.messagebox {
    color: #060;
    margin: 0px;
    padding: 10px 10px 10px 30px;
    border: 1px solid #396;
    background: #cfc url(/Content/img/information.png) no-repeat 8px 11px;
    opacity: 0.9;
}

.errorbox {
    color: #c00;
    margin: 0px;
    padding: 10px 10px 10px 30px;
    border: 1px solid #c00;
    background: #fcc url(/Content/img/exclamation.png) no-repeat 8px 11px;
}

    .errorbox ul {
        margin: 7px 0 0 0;
    }

.exceptionbox {
    color: #c00;
    margin: 10px;
    padding: 10px 10px 10px 30px;
    border: 1px solid #c00;
    background: #fcc url(/Content/img/exclamation.png) no-repeat 8px 11px;
}

.wrap-preload {
    height: 127px;
    width: 267px;
    font-family: Arial;
    position: fixed;
    top: 40%;
    left: 45%;
    z-index: 10100;
    border-radius: 6px;
}

#fade {
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: fixed;
    display: block;
    opacity: 0.8;
    background-color: #fff;
    z-index: 99;
    text-align: center;
}

.loader {
    height: 20px;
    width: 250px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.loader--dot {
    animation-name: loader;
    animation-timing-function: ease-in-out;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    background-color: black;
    position: absolute;
    border: 2px solid white;
}

    .loader--dot:first-child {
        background-color: #8cc759;
        animation-delay: 0.5s;
    }

    .loader--dot:nth-child(2) {
        background-color: #8c6daf;
        animation-delay: 0.4s;
    }

    .loader--dot:nth-child(3) {
        background-color: #ef5d74;
        animation-delay: 0.3s;
    }

    .loader--dot:nth-child(4) {
        background-color: #f9a74b;
        animation-delay: 0.2s;
    }

    .loader--dot:nth-child(5) {
        background-color: #60beeb;
        animation-delay: 0.1s;
    }

    .loader--dot:nth-child(6) {
        background-color: #fbef5a;
        animation-delay: 0s;
    }

.loader--text {
    position: absolute;
    top: 200%;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    margin: auto;
}

    .loader--text:after {
        content: "Đang thực hiện, vui lòng đợi...";
        font-weight: bold;
        animation-name: loading-text;
        animation-duration: 3s;
        animation-iteration-count: infinite;
    }

@keyframes loader {
    15% {
        transform: translateX(0);
    }

    45% {
        transform: translateX(230px);
    }

    65% {
        transform: translateX(230px);
    }

    95% {
        transform: translateX(0);
    }
}

@keyframes loading-text {
    0% {
        content: "Đang thực hiện, vui lòng đợi";
    }

    25% {
        content: "Đang thực hiện, vui lòng đợi.";
    }

    50% {
        content: "Đang thực hiện, vui lòng đợi..";
    }

    75% {
        content: "Đang thực hiện, vui lòng đợi...";
    }
}

.pdt8 {
    padding-top: 8px;
}
