﻿body {
    overflow-x: initial !important;
}

.menu .mainButton {
    padding: 0px 50px 0px 50px !important;
    font-weight: bold !important;
    background-color: #750073 !important;
    color: white !important;
    height: 100% !important;
    border-radius: 0px;
}

    .menu .mainButton:hover {
        background-color: #670165 !important;
    }

.profilePicture {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*top: 20px;*/
    border: 1px solid #c8c8c8;
    cursor: pointer;
}

    .profilePicture:hover .hoverBackground {
        opacity: 1;
    }


.hoverBackground {
    background-color: rgba(0,0,0,.4);
    /*-webkit-border-radius: 50%;
    border-radius: 50%;*/
    height: 100%;
    opacity: 0;
    width: 100%;
    border-top-left-radius: .28571429rem;
    border-top-right-radius: .28571429rem;
}

.profileImage {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*-webkit-border-radius: 50%;
    border-radius: 50%;*/
    top: 20px;
    border: 1px solid #c8c8c8;
    cursor: pointer;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    border-top-left-radius: .28571429rem;
    border-top-right-radius: .28571429rem;
}

.hoverBackgroundImage {
    background: no-repeat url(http://192.168.15.9/BWAppMedia/JcatPOS/camera_alt_white_24dp.png);
    background-position: center;
    height: 100%;
    width: 100%;
    z-index: 9;
}

.customButton {
    margin: 0px !important;
    border-radius: 2px !important;
    transition: all .218s;
}

    .customButton.default {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        background-color: #f5f5f5;
        background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
        background-image: -moz-linear-gradient(top,#f5f5f5,#f1f1f1);
        background-image: -ms-linear-gradient(top,#f5f5f5,#f1f1f1);
        background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1);
        background-image: linear-gradient(top,#f5f5f5,#f1f1f1);
        color: #444;
        border: 1px solid #dcdcdc;
        border: 1px solid rgba(0,0,0,0.1);
    }

.button.primary {
    border: 1px solid #157ac6 !important;
}

.button.purple {
    border: 1px solid #912fb1 !important;
}


.ui.dimmer {
    text-align: inherit;
}

.customFont {
    color: #aaa;
}

.customModal .titlebar {
    height: 47px;
    border-bottom: 1px solid #D4D4D5;
    padding: .78571429rem 1rem;
    margin-left: -1px;
    margin-right: -1px;
    margin-bottom: 0px;
    box-shadow: none;
}

.customModal .footer {
    height: 55px;
    border-top: 1px solid #D4D4D5;
    padding: 11px;
    margin-left: -1px;
    margin-right: -1px;
    box-shadow: none;
    text-align: right;
}

    .customModal .footer button {
        margin-left: 3px !important;
    }


.formContainer {
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
    background-color: whitesmoke;
    margin: 10px auto 10px auto;
}



/*============================================================================================================================*/
.VUoKZ {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1001;
}

.TRHLAc {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    9 background: #1ad5f7;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

.mIM26c .VUoKZ {
    display: block;
}

.mIM26c .TRHLAc {
    -webkit-animation: boqChromeapiPageProgressAnimation 1s infinite;
    animation: boqChromeapiPageProgressAnimation 1s infinite;
    -webkit-animation-timing-function: cubic-bezier(0.4,0.0,1,1);
    animation-timing-function: cubic-bezier(0.4,0.0,1,1);
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.ghyPEc .VUoKZ {
    position: fixed;
}

@keyframes boqChromeapiPageProgressAnimation {
    0% {
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
    }

    50% {
        -webkit-transform: scaleX(5);
        transform: scaleX(5);
    }

    to {
        -webkit-transform: scaleX(5) translateX(100%);
        transform: scaleX(5) translateX(100%);
    }
}

@-webkit-keyframes boqChromeapiPageProgressAnimation {
    0% {
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
    }

    50% {
        -webkit-transform: scaleX(5);
        transform: scaleX(5);
    }

    to {
        -webkit-transform: scaleX(5) translateX(100%);
        transform: scaleX(5) translateX(100%);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*============================================================================================================================*/


.boxItem {
    position: relative;
    text-align: center;
    color: #750073;
    cursor: pointer;
    border: 1px solid #ffffff;
    border-right: none;
    border-bottom: none;
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.25s ease !important;
    overflow: hidden;
}

    .boxItem a.image {
        min-height: inherit;
        height: 100%;
    }

    .boxItem .addImage {
        background-position: center;
        background-repeat: no-repeat;
        top: 20px;
        border: 1px solid #c8c8c8;
        cursor: pointer;
        border: none;
        background-color: rgba(255, 255, 255, 0.5);
        height: 100%;
        width: 100%;
        margin-right: 0px;
        background-size: 100px;
    }

        .boxItem .addImage .hoverbackground {
            position: absolute;
            top: 0px;
            left: 0px;
            bottom: 0px;
            right: 0px;
            background-color: rgba(0,0,0,.4);
            opacity: 0;
            transition: all 0.25s ease !important;
        }

    .boxItem:hover .hoverbackground {
        opacity: 1 !important;
    }

    .boxItem .header {
        font-size: 20px;
        font-family: 'Avenir-Light';
        width: 100%;
        white-space: nowrap;
        font-weight: bold;
        margin-bottom: 10px;
        text-shadow: 1px 1px rgba(183, 183, 183, 0.42);
        padding: 15px 15px 0px 15px;
        margin-bottom: 0px;
        position: relative;
        overflow: hidden;
    }

        .boxItem .header:after {
            content: '';
            width: 25%;
            height: 100%;
            position: absolute;
            right: 0;
            top: 0;
            background: linear-gradient(to right, transparent 0px, white);
        }


    .boxItem:hover {
        transform: scale(1.05) !important;
        box-shadow: 0 1px 7px rgba(50, 0, 88, 0.30) !important;
    }

.boxLabel {
    margin-top: 10px;
    text-align: center;
    overflow: hidden;
    height: 100%;
    position: relative;
}

    .boxLabel:before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background: linear-gradient(transparent 0px, white);
    }

    .boxLabel .label {
        font-size: 9px !important;
        letter-spacing: 1.3px;
    }

.wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 -100px 70px -65px #fff inset;
}

a.card:hover {
    color: #750073 !important;
}

a.card.disabled {
    opacity: .5;
    filter: grayscale(100%);
}

/* Search Employee Scroll List */
#tableDetails table {
    width: 560px; /* 140px * 5 column + 16px scrollbar width */
    border-spacing: 0;
}

#tableDetails tbody, #tableDetails thead tr {
    display: block;
}

#tableDetails tbody {
    height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

    #tableDetails tbody td, #tableDetails thead th {
        width: 156px !important;
    }

        #tableDetails thead th:last-child {
            width: 156px; /* 140px + 16px scrollbar width */
        }

/*#preloader {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}*/

.loaderrrr {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid blue;
  border-bottom: 16px solid blue;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader {
    display: block;
    position: relative;
    left: 50%;
    top: 100px;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #9370DB;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

    .loader:before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #BA55D3;
        -webkit-animation: spin 3s linear infinite;
        animation: spin 3s linear infinite;
    }

    .loader:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #FF00FF;
        -webkit-animation: spin 1.5s linear infinite;
        animation: spin 1.5s linear infinite;
    }

.sample {
    height: calc(100% - 44px);
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 40px;
    overflow-x: hidden;
}

@media only screen and (min-width: 962px) { /*desktop*/
    .sample {
        height: calc(100% - 44px);
        padding-left: 60px;
        padding-right: 60px;
        padding-top: 40px;
        overflow-x: hidden;
    }

    /*.ui.celled.table.hoverTable.dataTable.no-footer td {
        max-width: 70px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }*/
}

@media only screen and (min-width: 642px) and (max-width: 961px) { /*tablet*/
}

@media only screen and (max-width: 641px) { /*mobile*/
    #masterContent {
        height: calc(100% - 46px);
    }

    .ui.stackable.cards {
        margin: 0px;
    }

    .sample {
        height: calc(100%);
        padding: 10px;
        overflow-x: hidden;
    }

    body > #masterPushable > footer > div {
        padding: 0px !important;
    }

        body > #masterPushable > footer > div > div.column:first-child {
            padding: 0px !important;
            margin-bottom: 0px !important;
            margin-top: 0px !important;
        }

        body > #masterPushable > footer > div * {
            text-align: center !important;
        }

        body > #masterPushable > footer > div h1 {
            font-size: 20pt !important;
            margin-bottom: 0px;
        }


        body > #masterPushable > footer > div.grid:nth-child(2):before {
            left: 0rem !important;
            width: 100% !important;
        }

    body > #masterPushable > footer #footer-pillars {
        margin-top: 0px;
    }

        body > #masterPushable > footer #footer-pillars > div.column {
            padding: 0px 5px !important;
            margin-bottom: 0px !important;
            max-width: initial !important;
        }

            body > #masterPushable > footer #footer-pillars > div.column:not(:first-of-type) {
                margin-top: 30px !important;
            }

            body > #masterPushable > footer #footer-pillars > div.column:nth-of-type(2) {
                padding: 0px 15px !important;
            }


    .boxItem .addImage .hoverbackground {
        position: absolute;
        top: 0px;
        left: 0px;
        bottom: 0px;
        right: 0px;
        background-color: rgba(0,0,0,.4);
        opacity: 0;
        transition: all 0.25s ease !important;
    }

    .boxItem:hover .hoverbackground {
        opacity: 1 !important;
    }

    .profilePicture {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        top: 20px;
        border: 1px solid #c8c8c8;
        cursor: pointer;
    }

        .profilePicture:hover .hoverBackground {
            opacity: 1;
        }


    .hoverBackground {
        background-color: rgba(0,0,0,.4);
        /*-webkit-border-radius: 50%;
    border-radius: 50%;*/
        height: 100%;
        opacity: 0;
        width: 100%;
        border-top-left-radius: .28571429rem;
        border-top-right-radius: .28571429rem;
    }

    .profileImage {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        /*-webkit-border-radius: 50%;
    border-radius: 50%;*/
        top: 20px;
        border: 1px solid #c8c8c8;
        cursor: pointer;
        border: none;
        background-color: rgba(255, 255, 255, 0.5);
        border-top-left-radius: .28571429rem;
        border-top-right-radius: .28571429rem;
    }

    .hoverBackgroundImage {
        background: no-repeat url(http://192.168.15.9/BWAppMedia/fleet/camera_alt_white_24dp.png);
        background-position: center;
        height: 100%;
        width: 100%;
        z-index: 9;
    }
}

/*.ui.celled.table.hoverTable.dataTable.no-footer td {
    max-width: 70px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}*/

.elipsis {
    max-width: 140px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
