﻿@import url(https://fonts.googleapis.com/css?family=Open+Sans);

.heading {
    /*background-image: -webkit-gradient(linear,right top,left top,from(#ffa500),to(#ff8100));
    background-image: linear-gradient(270deg,#ffa500,#ff8100);*/
    padding: 15px;
    background: #dedede;
}


    .heading h1, .heading h2 {
        margin: 0;
        font-family: 'Open Sans', cursive;
        color: #616161;
        padding-left: 13px;
        font-weight: bold;
        float: left;
        font-size: 20px;
        padding-top: 6px;
    }

    .heading > div {
        clear: both;
    }

    .heading button {
        float: right;
        margin-top: 7px;
    }

    .heading:after {
        content: '';
        display: block;
        clear: both;
    }

.apgForm {
    padding: 20px;
}

    .apgForm .apgFormGroup {
        float: left;
        width: 240px;
        margin-bottom: 10px;
    }

        .apgForm .apgFormGroup label, .apgForm .apgBox label {
            display: block;
            font-size: 12px;
            color: #7b7b7b;
            font-weight: normal;
            font-family: 'Open Sans', cursive;
        }

    .apgForm h2 {
        margin-bottom: 15px;
        margin-top: 25px;
        padding-left: 10px;
        font-family: 'Open Sans', cursive;
        color: #454545;
        font-size: 20px;
        text-align: left;
    }

    .apgForm.invoice h2 {
        text-align: center;
    }

    .apgForm .apgFormGroup input, .apgForm .apgFormGroup select, .apgForm .apgBox input, .apgForm .apgBox select {
        width: 95%;
        height: 30px;
        font-size: 12px;
    }

    .apgForm .apgBox textarea {
        width: 98%;
        height: 120px;
    }

    .apgForm > div:after, .apgForm > form > div:after {
        content: "";
        display: table;
        clear: both;
    }

    .apgForm > div, .apgForm > form > div {
        max-width: 1080px;
    }

.footing {
    margin-top: 50px;
    background: #dcdcdc;
    min-height: 50px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 20px;
}

    .footing > div {
        max-width: 1080px;
    }

    .footing button {
        font-size: 20px;
    }

.apgForm .tableEditRow table {
    background: #ebedf0;
    border: 1px solid #d9d9d9;
}

    .apgForm .tableEditRow table td {
        padding: 5px 10px;
    }

        .apgForm .tableEditRow table td input {
            width: 100%;
        }

.apgBox {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px #dadada;
    float: left;
    margin-right: 30px;
    min-width: 350px;
    margin-bottom: 20px;
}

    .apgBox .apgBoxHeader {
        background: #f8f8f8;
        border-radius: 5px 5px 0 0;
        padding: 17px 30px 15px;
        border-bottom: 4px solid #f0f0f0;
    }

    .apgBox.valid .apgBoxHeader {
        border-bottom: 4px solid #5dd760;
    }

    .apgBox.invalid .apgBoxHeader {
        border-bottom: 4px solid #ff5858;
    }

    .apgBox.primary .apgBoxHeader {
        border-bottom: 4px solid #5bc0de;
    }

    .apgBox .apgBoxBody {
        padding: 20px 40px 30px;
    }

    .apgBox .apgBoxBody {
        color: #898989;
    }

        .apgBox .apgBoxBody b {
            color: #000;
        }


.popupFormTable {
}

    .popupFormTable .formRow {
        margin: 10px 25px;
    }

        .popupFormTable .formRow .formRowLabel {
        }

        .popupFormTable .formRow .formRowInput {
        }





.Loading {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.5;
    min-height: 100%;
    z-index: 10000;
    vertical-align: middle;
    text-align: center;
}


/* Loader 1 */
.loader-1 {
    height: 32px;
    width: 32px;
    -webkit-animation: loader-1-1 4.8s linear infinite;
    animation: loader-1-1 4.8s linear infinite;
}

@-webkit-keyframes loader-1-1 {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes loader-1-1 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-1 span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 32px;
    width: 32px;
    clip: rect(0, 32px, 32px, 16px);
    -webkit-animation: loader-1-2 1.2s linear infinite;
    animation: loader-1-2 1.2s linear infinite;
}

@-webkit-keyframes loader-1-2 {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(220deg);
    }
}

@keyframes loader-1-2 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(220deg);
    }
}

.loader-1 span::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 32px;
    width: 32px;
    clip: rect(0, 32px, 32px, 16px);
    border: 3px solid #000;
    border-radius: 50%;
    -webkit-animation: loader-1-3 1.2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
    animation: loader-1-3 1.2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
}

@-webkit-keyframes loader-1-3 {
    0% {
        -webkit-transform: rotate(-140deg);
    }

    50% {
        -webkit-transform: rotate(-160deg);
    }

    100% {
        -webkit-transform: rotate(140deg);
    }
}

@keyframes loader-1-3 {
    0% {
        transform: rotate(-140deg);
    }

    50% {
        transform: rotate(-160deg);
    }

    100% {
        transform: rotate(140deg);
    }
}

.loader-list {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-align-content: center;
    align-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    clear: both;
}

    .loader-list li {
        -webkit-flex: 1 1 auto;
        flex: 1 1 auto;
        position: relative;
        display: block;
        width: calc(100% / 3);
        height: calc(100vh / 4);
    }





/* Layout */
.center {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 100%;
    margin: 0 auto;
}

    .wrapper .header {
        text-align: center;
        position: absolute;
        top: 10%;
        left: 0;
        bottom: auto;
        right: 0;
        margin: auto;
        letter-spacing: 0.15em;
        z-index: 1;
    }

        .wrapper .header h1 {
            display: inline-block;
            height: 1em;
            color: #FFF;
            font-size: 4vh;
            font-family: "Open Sans", sans-serif;
            font-weight: 700;
            line-height: 1;
        }

        .wrapper .header p {
            margin-top: 10px;
            color: #FFF;
            font-size: 1.3rem;
            font-family: "Open Sans", sans-serif;
            font-weight: 400;
            letter-spacing: 0.065em;
            opacity: .5;
        }

            .wrapper .header p a {
                color: #FFF;
                text-decoration: none;
            }
