/* Mobile Sizing Combinations */
@media only screen and (min-width: 320px) and (max-width: 767px) {
    .mobile { display: block !important; }
    .desktop {display: none !important; }
}

/* Tablet + PC Sizing Combinations */
@media only screen and (min-width: 768px) {
    .mobile {display: none !important; }
}

/* index.html */
.animated.background {
    padding-top: 70px;
    padding-bottom: 30px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0);

    background-size: cover !important;

    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow-y: auto;

    -webkit-backface-visibility: hidden;
    animation: imageAnimation .8s linear;
}

@-webkit-keyframes imageAnimation {
    0% {
        opacity: 0;
        -webkit-transform: scale(1.2) rotate(5deg);
        -webkit-animation-timing-function: ease-out;
    }
    100% {
        -webkit-transform: scale(1);
    }
}

@-moz-keyframes imageAnimation {
    0% {
        opacity: 0;
        -moz-transform: scale(1.2) rotate(5deg);
        -moz-animation-timing-function: ease-out;
    }
    100% {
        -moz-transform: scale(1);
    }
}

@-o-keyframes imageAnimation {
    0% {
        opacity: 0;
        -o-transform: scale(1.2) rotate(5deg);
        -o-animation-timing-function: ease-out;
    }
    100% {
        -o-transform: scale(1);
    }
}

@-ms-keyframes imageAnimation {
    0% {
        opacity: 0;
        -ms-transform: scale(1.2) rotate(5deg);
        -ms-animation-timing-function: ease-out;
    }
    100% {
        -ms-transform: scale(1);
    }
}

@keyframes imageAnimation {
    0% {
        opacity: 0;
        transform: scale(1.2) rotate(5deg);
        animation-timing-function: ease-out;
    }
    100% {
        transform: scale(1);
    }
}

.alpha {
    opacity: .9;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
    transition: opacity .8s ease-out !important;
    -moz-transition: opacity .8s ease-out !important;;
    -webkit-transition: opacity .8s ease-out !important;;
    -o-transition: opacity .8s ease-out !important;;
}

img.black {
    filter: grayscale(100%) brightness(0%);
    -webkit-filter: grayscale(100%) brightness(0%);
    -moz-filter: grayscale(100%) brightness(0%);
    -o-filter: grayscale(100%) brightness(0%);
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;

}

input[type=number] {
  -moz-appearance: textfield;
}


@media screen {
    body {
        background-color: #ddd !important;
    }

    .paper {
        min-height:200px;
        background:#FFF;
        padding: 15px 15px;
    }

    .potrait {
        width: 21.59cm;
        min-height : 27.0cm;
        margin: 20px auto !important;
    }

    .landscape {
        min-height: 21cm;
        width: 85%;
        margin: 20px auto;
        font-size: 11px;
    }

    .paper > table {
        width : 100%;
    }


    /*==================================================
     * Effect 1
     * ===============================================*/
    .effect1
    {
        box-shadow: 0 10px 6px -6px #777;
    }

    /*==================================================
     * Effect 2
     * ===============================================*/
    .effect2
    {
        position: relative;
    }
    .effect2:before, .effect2:after
    {
        z-index: -1;
        position: absolute;
        content: "";
        bottom: 15px;
        left: 10px;
        width: 50%;
        top: 80%;
        max-width:300px;
        background: #777;
        box-shadow: 0 15px 10px #777;
        transform: rotate(-3deg);
    }
    .effect2:after
    {
        transform: rotate(3deg);
        right: 10px;
        left: auto;
    }

    /*==================================================
     * Effect 3
     * ===============================================*/
    .effect3
    {
        position: relative;
    }
    .effect3:before
    {
        z-index: -1;
        position: absolute;
        content: "";
        bottom: 15px;
        left: 10px;
        width: 50%;
        top: 80%;
        max-width:300px;
        background: #777;
        box-shadow: 0 15px 10px #777;
        transform: rotate(-3deg);
    }

    /*==================================================
     * Effect 4
     * ===============================================*/
    .effect4
    {
        position: relative;
    }
    .effect4:after
    {
        z-index: -1;
        position: absolute;
        content: "";
        bottom: 15px;
        right: 10px;
        left: auto;
        width: 50%;
        top: 80%;
        max-width:300px;
        background: #777;
        box-shadow: 0 15px 10px #777;
        transform: rotate(3deg);
    }

    /*==================================================
     * Effect 5
     * ===============================================*/
    .effect5
    {
        position: relative;
    }
    .effect5:before, .effect5:after
    {
        z-index: -1;
        position: absolute;
        content: "";
        bottom: 25px;
        left: 10px;
        width: 50%;
        top: 80%;
        max-width:300px;
        background: #777;
        -webkit-box-shadow: 0 35px 20px #777;
        -moz-box-shadow: 0 35px 20px #777;
        box-shadow: 0 35px 20px #777;
        -webkit-transform: rotate(-8deg);
        -moz-transform: rotate(-8deg);
        -o-transform: rotate(-8deg);
        -ms-transform: rotate(-8deg);
        transform: rotate(-8deg);
    }
    .effect5:after
    {
        -webkit-transform: rotate(8deg);
        -moz-transform: rotate(8deg);
        -o-transform: rotate(8deg);
        -ms-transform: rotate(8deg);
        transform: rotate(8deg);
        right: 10px;
        left: auto;
    }

    /*==================================================
     * Effect 6
     * ===============================================*/
    .effect6
    {
        position:relative;
        -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
        -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
        box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    }
    .effect6:before, .effect6:after
    {
        content:"";
        position:absolute;
        z-index:-1;
        -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
        -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
        box-shadow:0 0 20px rgba(0,0,0,0.8);
        top:50%;
        bottom:0;
        left:10px;
        right:10px;
        -moz-border-radius:100px / 10px;
        border-radius:100px / 10px;
    }
    .effect6:after
    {
        right:10px;
        left:auto;
        transform:skew(8deg) rotate(3deg);
    }

    /*==================================================
     * Effect 7
     * ===============================================*/
    .effect7
    {
        position:relative;
        box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    }
    .effect7:before, .effect7:after
    {
        content:"";
        position:absolute;
        z-index:-1;
        box-shadow:0 0 20px rgba(0,0,0,0.8);
        top:0;
        bottom:0;
        left:10px;
        right:10px;
        border-radius:100px / 10px;
    }
    .effect7:after
    {
        right:10px;
        left:auto;
        transform:skew(8deg) rotate(3deg);
    }

    /*==================================================
     * Effect 8
     * ===============================================*/
    .effect8
    {
        position:relative;
        box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    }
    .effect8:before, .effect8:after
    {
        content:"";
        position:absolute;
        z-index:-1;
        box-shadow:0 0 20px rgba(0,0,0,0.8);
        top:10px;
        bottom:10px;
        left:0;
        right:0;
        border-radius:100px / 10px;
    }
    .effect8:after
    {
        right:10px;
        left:auto;
        transform:skew(8deg) rotate(3deg);
    }

}

@media print {
    .paper > table {
        width : 100%;
    }

    .bk{ border-left: solid 2px; }
}
