﻿/*==================================*/
/* === Override Boostrap Style ===  */
a{color: rgb(51, 51, 51);}
/*==================================*/

.navbar-header .logo {
    display: inline-block;
    line-height: 50px;
    padding-left: 15px;
    font-family: 'Montserrat', sans-serif;
}
.navbar-header .logo img{ width: 260px;height: auto;margin: 5px; }

a.logo:focus, a.logo:hover {
    text-decoration: none !important;
}

.portal span {
    padding: 0 20px;
    font-size: 1.5em;
    height: 50px;
    line-height: 50px;
}

.custom-label {
    border-collapse: collapse;
    color: rgb(43, 43, 43);
    display: inline-block;
    font-family: 'Segoe UI', 'Helvetica Neue', 'Droid Sans', Arial, Tahoma, Geneva, sans-serif;
    font-size: 14px;
    font-style: italic;
    font-weight: bold;
    line-height: normal;
    /*height: 24px;*/
}

.padding-left-mobile {
    padding-left: 0 !important
}

.border-solid-mobile {
    margin-left: 0;
    border-top: 1px solid #eee;
}

.border-mobile {
    margin-left: 0;
}

.e-pager{ padding-top: 5px; padding-bottom: 5px; }
.e-pager .e-spacing, 
.e-pager .e-prevpagedisabled, 
.e-pager .e-prevpage, 
.e-pager .e-nextpage, 
.e-pager .e-nextpagedisabled, 
.e-pager .e-lastpagedisabled, 
.e-pager .e-lastpage, 
.e-pager .e-firstpage, 
.e-pager .e-firstpagedisabled { color: rgb(51, 51, 51); }
.e-dialog-wrap {
    /*width: 100%;
    width: calc(100% - 15px);
    max-width: 1280px;*/
}

/* Hide the toggle menu button */
.navbar-top-links li:first-child {display: none;}
/* Hide the dialogs */
#employee-new-request {display: none}

.e-special-day[title="Holiday"]  {
    background-color: darkgreen;
    color: white;
    border-radius: 4px;
}

.e-special-day[title="Weekend"] {
    background-color: lightgrey;
    border-radius: 4px;
}

.e-special-day[title="Dayoff"] {
    background-color: lightgrey;
    border-radius: 4px;
}

.e-special-day:hover {
    background: #ebebeb;
    color: #333;
    border-color: #ccc;
    border-radius: 4px;
    box-shadow: 0 0 0 transparent inset;
}

.calendar-day-off {
    background-color: BurlyWood !important;
    border: none;
}

.calendar-actual-worked-hour {
    background-color: rgb(54, 152, 184) !important;
    border: none;
}

.calendar-absent {
    background-color: IndianRed !important;
    border: none;
}

.calendar-swap-day-off {
    background-color: BurlyWood !important;
    border: none;
}

.calendar-regular-day-off {
    background-color: BurlyWood !important;
    border: none;
}

.calendar-leave {
    background-color: BurlyWood !important;
    border: none;
}

.calendar-sign-in-late {
    background-color: IndianRed !important;
    border: none;
}

.calendar-sign-in-out {
    background-color: green !important;
    border: none;
}

.calendar-sign-in-out-default {
    background-color: white !important;
    color: #676767;
    border: solid 1px #dadada;
}

.calendar-holiday {
    background-color: BurlyWood !important;
    border: none;
}

.photo-count {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    color: azure;
    z-index: 1;
    background: rgba(255,255,255,0.5);
}

/* Large devices Desktops (≥1200px) */
@media only screen and (min-width: 1200px) {
}

/* Medium devices Desktops (≥992px)  */
@media only screen and (max-width: 1200px) {
}

/* Small devices Tablets (≥768px)  */
@media only screen and (max-width: 992px) {
    header .portal h2 {text-align: center;}
    header .logo {text-align: center;}
}

/* Extra small devices Phones (<768px) */
@media screen and (max-width: 767px) {
    /* Show the toggle menu button */
    .navbar-top-links li:first-child {display: inline-block;}
}

.e-dialog>.e-header{background: #1B95CF; color: white}

.e-tab.e-js>.e-header{background: #1B95CF; width: 100%}

.e-tab .e-header>.e-active a{color: black}

.e-tab .e-header>.e-select a{color: white}

.e-tab .e-header li > a{width: 100%}

.e-btn.e-select {background: #1B95CF; color: white}
.e-btn.e-disable{ background: white;color: black }

.e-grid.e-wrap .e-rowcell{white-space: pre-wrap}

.epaySlip-detail-panel{float: right;width: calc(100% - 300px);}
.epaySlip-detail-cover{width: 100%; height: 100%; position: absolute; background-color: rgba(0,0,0,.4); z-index: 9999999;}
.epaySlip-detail-cover .loading {
    position: absolute;
}
.loading {
    width: 100px;
    height: 100px;
    background: url('Images/loading.png');
    background-size: 100px 100px;

    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}
#ContentPlaceHolder1_documentViewer_Splitter_1i1i0_CC {
    /* To fix iOS issue when open Date popup in Report */
    overflow: visible !important;
}
@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}
@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes spin { 100% {
	-webkit-transform:rotate(360deg);
	transform:rotate(360deg);
	}
}

@media only screen and (max-width: 800px) {
    .tabManagerHeight {
        height: 560px !important
    }
    .showHistoryInmobileView {
        display: block !important
    }
    .col-5 {
        width: 50%;
    }
    .alignAttachment {
        width: 155px
    }
}
@media only screen and (min-width: 799px) {
    .tabManagerHeight {
        height: 765px !important
    }
    .showHistoryInmobileView {
        display: none !important;
    }
    .alignAttachment {
        width:200px
    }
}

@media only screen and (max-width: 500px) {

}
@media only screen and (min-width: 700px) {
    .form-control {
        display: block;
        width: 100%;
        height: 34px;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        color: #555;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
    }

}

@media (min-width: 768px) {
    .containerRequestPopup {
     
    }
}

/*PDPA Cosnent*/
.consent {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1200;
    font-family: 'Montserrat', sans-serif;
}

.consent__wrapper {
    border-radius: 5px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1201;
    background-color: #fff;
    width: 100%;
    max-width: 550px;
    padding: 15px 40px 25px 40px;
    box-shadow: 1px 5px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.consent__img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(/Styles/Images/shield.svg);
}

.consent__title {
    font-size: 28px;
    text-align: center;
    color: #3abba8;
    font-weight: 400;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}

.consent__text {
    font-size: 16px;
    padding-top: 20px;
    display: block;
}

.consent__text a {
    font-weight: 600;
    text-decoration: underline;
    color: #4a4e51;
}

.consent button {
    display: block;
    margin: 10px auto 0;
}

.consent .button {
    font-weight: 600;
    padding: 8px 36px;
    color: #4a4e51;
    background-color: transparent;
    border: 0;
    border-radius: 4px;
    outline: none;
    letter-spacing: 0.5px;
    cursor: pointer;
}

    .consent .button:hover {
        outline: none;
    }

.consent__button--success.button {
    position: relative;
    background-color: #37bcaa;
    color: #fff;
    margin-top: 1.5rem;
}

.consent__button--success.button::before {
    content: '';
    width: 20%;
    height: 75px;
    position: absolute;
    top: -20%;
    left: -50%;
    z-index: 1613;
    transform: rotate(25deg);
    background-color: #fff;
    opacity: 0.2;
    transition: 0.8s left cubic-bezier(0.075, 0.82, 0.165, 1);
}

.consent__button--success.button:hover::before {
    left: 120%;
}

.consent__button--cancel {
    text-decoration: underline;
}

.consent p {
    margin-bottom: 5px;
}

.consent .hidden {
    display: none;
}
