﻿/*
    Header X-SMALL devices
 */
@media (max-width: 767px) {
    .header-row {
        height: 120px;
    }
    .header {
        width: 100%;
        min-width: 420px;
        background: cyan; /*#99281e;*/
        background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%,#da0b1d), color-stop(100%,#8B0000));
        background: -o-radial-gradient(center, ellipse cover, #da0b1d 1%,#99281e 100%);
        background: -ms-radial-gradient(center, ellipse cover, #da0b1d 1%,#99281e 100%);
        background: -moz-radial-gradient(#da0b1d,#99281e);
        background: radial-gradient(#da0b1d,#99281e);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#da0b1d', endColorstr='#99281e',GradientType=1 );
        z-index: 999;
        position: absolute;
        top: 0;
    }

    .header-logo {
        display: none;
    }

    .header-application {
        width: 100%;
        min-width: 300px;
        top: 25px;
        text-align: left;
        padding: 10px;
    }

        .header-application span {
            display: block;
            font-size: 3vh;
            font-weight: bold;
            letter-spacing: 2px;
            color: #ffffff;
            text-shadow: 2px 2px 3px #333333;
        }

    .header-login {
        text-align: right;
        margin-right: 15px;
        margin-top: 5px;
        color: #ffffff;
        font-weight: 500;
    }

        .header-login a {
            text-decoration: none;
            color: #ffffff;
            font-size: 14px;
            font-weight: bold;
            padding-right: 5px;
        }

        .header-login span {
            font-size: 12px;
            font-weight: bold;
            letter-spacing: 1px;
        }
}

.calendarInput {
    background: url(../images/common/Calendar.png) right no-repeat;
    padding-right: 17px;
    height: 30px;
    cursor: pointer;     
}

.ui-datepicker .ui-datepicker-title select {
    color: #000;
}
/*
    Header Other devices
 */
@media (min-width: 769px) and (max-width: 992px) {
    .header-row {
        height: 160px;
    }

    .header-application {
        width: 100%;
        top: 25px;
        padding: 10px;
        text-align: left;
    }
}

@media (min-width: 993px) {
    .header-row {
        height: 100px;
    }

    .header-application {
        width: 100%;
        top: 25px;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .header {
        width: 100%;
        background: #99281e;
        background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%,#da0b1d), color-stop(100%,#8B0000));
        background: -o-radial-gradient(center, ellipse cover, #da0b1d 1%,#99281e 100%);
        background: -ms-radial-gradient(center, ellipse cover, #da0b1d 1%,#99281e 100%);
        background: -moz-radial-gradient(#da0b1d,#99281e);
        background: radial-gradient(#da0b1d,#99281e);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#da0b1d', endColorstr='#99281e',GradientType=1 );
        z-index: 999;
        position: fixed;
        top: 0;
        clear: both;
    }

    .header-logo {
        margin-top: 5px;
        width: 300px;
        height: 50px;
    }

        .header-logo a {
            width: 100%;
            height: 100%;
        }

            .header-logo a img {
                width: 100%;
                height: 100%;
                max-height: 70px;
                max-width: 300px;
            }



    .header-application span {
        display: block;
        font-size: 2.5em;
        font-weight: bold;
        letter-spacing: 2px;
        color: #ffffff;
        text-shadow: 2px 2px 3px #333333;
    }

    .header-login {
        text-align: right;
        margin-right: 15px;
        margin-top: 15px;
        color: #ffffff;
        font-weight: 500;
    }

        .header-login a {
            text-decoration: none;
            color: #ffffff;
            font-size: 14px;
            font-weight: bold;
            padding-right: 5px;
        }

        .header-login span {
            font-size: 12px;
            font-weight: bold;
            letter-spacing: 1px;
        }
}

/*
    Menu X-SMALL devices
 */
@media (max-width: 767px) {
    .navbar {
        margin: 0px !important;
        width: 100% !important;
        min-height: 60px !important;
    }

    .navbar-header {
        height: 60px !important;
    }

    .navbar-toggle {
        margin-top: 10px !important;
        margin-right: 10px !important;
    }

        .navbar-toggle .icon-bar {
            width: 25px !important;
            height: 3px !important;
        }

    .nav-menu {
        top: 5px;
        padding-top: 2px;
        padding-left: 0px !important;
        padding-right: 0px !important;
        min-height: 60px !important;
        width: 100%;
        background-color: #333333;
        z-index: 999;
        margin: 0px;
        padding: 0px;
        border-top: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
        -ms-box-shadow: 0 0 5px 3px #333333;
        -webkit-box-shadow: 0 0 5px 3px #333333;
        -moz-box-shadow: 0 0 5px 3px #333333;
        -o-box-shadow: 0 0 5px 3px #333333;
        box-shadow: 0 0 5px 3px #333333;
    }

        .nav-menu .menu-container {
            margin-top: 1px;
        }

        .nav-menu .menu-brand {
            display: block;
        }

            .nav-menu .menu-brand .menu-logo {
                max-height: 50px;
            }
}
/*
    Menu Other devices
 */
@media (min-width: 768px) {
    .navbar {
        margin: 0px !important;
        width: 100% !important;
        min-height: 30px !important;
    }

    .navbar-header {
        height: 35px !important;
    }

    .nav-menu {
        top: 5px;
        padding-top: 5px;
        padding-left: 0px !important;
        padding-right: 0px !important;
        width: 100%;
        background-color: #333333;
        z-index: 999;
        margin: 0px;
        padding: 0px;
        border-top: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
        -ms-box-shadow: 0 0 5px 3px #333333;
        -webkit-box-shadow: 0 0 5px 3px #333333;
        -moz-box-shadow: 0 0 5px 3px #333333;
        -o-box-shadow: 0 0 5px 3px #333333;
        box-shadow: 0 0 5px 3px #333333;
    }

        .nav-menu .menu-container {
            margin-top: 3px;
        }

        .nav-menu .menu-brand {
            display: none;
        }
}


/*
    Sub-Header
 */
.subheader {
    position: relative;
    clear: both;
}

/*
    Content
 */
.content {
    position: relative;
    clear: both;
}


/*
    footer
 */
.footer {
    min-height: 25px;
    width: 100%;
    bottom: 0;
    position: fixed;
    background-color: #333333;
    z-index: 900;
    -ms-box-shadow: 0 0 6px 3px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 0 6px 3px rgba(0,0,0,0.4);
    -moz-box-shadow: 0 0 6px 3px rgba(0,0,0,0.4);
    -o-box-shadow: 0 0 6px 3px rgba(0,0,0,0.4);
    box-shadow: 0 0 6px 3px rgba(0,0,0,0.4);
}

    .footer .copyright {
        margin-top: 5px;
        margin-left: 10px;
        float: left;
        color: #eeeeee;
        font-size: 0.8em;
    }

    .footer .appVersion {
        margin-top: 5px;
        margin-left: 10px;
        float: left;
        color: #eeeeee;
        font-size: 0.8em;
    }

 .center {
    text-align: center!important;
    align-content: center!important;
}

 .hidden {
    display: none;
}

/*
    Loading Animation  
*/
.block-screen {
    z-index: 9999;
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, 0.6);
}
 
.block-screen .spin-loader {
    border: 20px solid #f3f3f3;
    border-top: 20px solid #99281e;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 43%;
    left: 50%;
    margin-left: -50px;
}
 
.block-screen .spin-wait {
    width: 300px;
    position: absolute;
    color: #f3f3f3;
    text-align: center;
    top: 56%;
    left: 50%;
    margin-left: -150px;
    font-size: 2em !important;
    letter-spacing: 2px;
}

    .block-screen .spin-wait p {
        font-size: 1em !important;
        letter-spacing: 2px;
    }

.block-screen .spin-wait span{
    animation-name: blink;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
 
.block-screen .spin-wait span:nth-child(2){
    animation-delay: .2s;
}
 
.block-screen .spin-wait span:nth-child(3){
    animation-delay: .4s;
}
 
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
 
    100% {
        -webkit-transform: rotate(360deg);
    }
}
 
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
 
    100% {
        transform: rotate(360deg);
    }
}
 
@-webkit-keyframes blink {
    0% {
      opacity: .1;
    }
 
    20% {
      opacity: 1;
    }
 
    100% {
      opacity: .1;
    }
}
 
@keyframes blink {
    0% {
      opacity: .1;
    }
 
    20% {
      opacity: 1;
    }
 
    100% {
      opacity: .1;
    }
}

.menu-item {
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.menu-icon {
    padding-right: 30px;
}

.menu-text {
    font-size: 20px;
}

.ApplicationError, .UnauthorizedError {
    font: bold 25px "Helvetica Neue", Sans-Serif;
    padding-left: 20px;
    padding-top: 20px;
    display: block;
}

.modal-header {
  min-height: 16.428571429px;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  background: radial-gradient(#da0b1d,#99281e);
  color: white;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.marginButton {
    margin-left:8px;
}

.list-action-div {
   display: inline;
}

.list-action-button {
    margin-right:2px;
    display: inline;
}

.alignRight {
    text-align: right;
    align-content: flex-end;
}


.table-bg-grey {
    background-image: -webkit-linear-gradient(top, #f5f5f5 0, #e8e8e8 100%) !important;
    background-image: -o-linear-gradient(top, #f5f5f5 0, #e8e8e8 100%) !important;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f5f5f5), to(#e8e8e8)) !important;
    background-image: linear-gradient(to bottom, #f5f5f5 0, #e8e8e8 100%);
}



/*goto*/
#scroll-to-top {
    display: inline-block;
    background-color: #99281e;
    width: 46px;
    height: 46px;
    text-align: center;
    border-radius: 50% !important;
    position: fixed;
    bottom: 13px;
    right: 14px;
    opacity: 0;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    visibility: hidden;
    z-index: 1000;
}

    #scroll-to-top::after {
        content: "\F0143";
        font-family: "Material Design Icons";
        font-weight: normal;
        font-style: normal;
        font-size: 2em;
        line-height: 46px;
        color: #fff;
    }

    #scroll-to-top:hover {
        cursor: pointer;
        background-color: #ca0000;
        text-decoration: none !important;
    }

    #scroll-to-top:active {
        background-color: #ca0000;
    }

    #scroll-to-top.show {
        opacity: 1;
        visibility: visible;
    }
