@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --primary: rgb(1, 110, 52);
  --secondary: rgb(93, 184, 136);
  --success: #198754;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #0dcaf0;
  --light: #f8f9fa;
  --dark: #212529;
}

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: #3a3a3a;
}


.indexTitle h5{
    letter-spacing: 2px;
}

.center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.space{
    margin-top: 50px;
}

div.dataTables_wrapper div.dataTables_info{
    margin-top: 0.5rem !important;
}

div.dataTables_wrapper div.dataTables_paginate{
    margin-top: 1rem !important;
}


@media screen and (max-width: 767px) {
    .logo-login{
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    .logo-login{
        width: 100%;
    }


    div.dataTables_wrapper div.dataTables_filter input{
        margin-top: 10px;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination{
        margin-top: 10px;
    }

    .profile-share, .profile-edit, .profile-add, .dp-add, .pos-add{
        padding: 1rem !important;
    }

    .delStaff{
        margin-top: 5px;
    }

   .staffImg img{
    width: 50%;
   }

   .indexTitle{
    margin-top: 30px !important;
   }
    
}

/*--------------------------------------------------------------
# Headers
--------------------------------------------------------------*/

.form-control-dark {
    border-color: var(--bs-gray);
}

.form-control-dark:focus {
    border-color: #fff;
    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
}

.text-small {
    font-size: 85%;
}

.dropdown-toggle {
    outline: 0;
}



.bounce{
    animation-name: bounce;
    animation-duration: .5s;
    animation-delay: 0.25s;
}

@keyframes bounce {
    0% {
        transform: translateX(0px);
        timing-function: ease-in;
    }
    37% {
        transform: translateX(5px);
        timing-function: ease-out;
    }
    55% {
        transform: translateX(-5px);
        timing-function: ease-in;
    }
    73% {
        transform: translateX(4px);
        timing-function: ease-out;
    }
    82% {
        transform: translateX(-4px);
        timing-function: ease-in;
    }
    91% {
        transform: translateX(2px);
        timing-function: ease-out;
    }
    96% {
        transform: translateX(-2px);
        timing-function: ease-in;
    }
    100% {
        transform: translateX(0px);
        timing-function: ease-in;
    }
}

.pointer {cursor: pointer;}

/*--------------------------------------------------------------
# Profile Page
--------------------------------------------------------------*/

.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
color: #012970;
}

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: #012970;
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}

.profile .profile-edit label{
    color: inherit;
    font-weight: inherit;
}

.form-select{
    color: inherit;
}

.form-control{
    color: inherit;
}
/*--------------------------------------------------------------
# Staff Namecard
--------------------------------------------------------------*/
.noselect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.outline {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
}

.card {
    width: 310px;
    height: 530px;
    perspective: 5000px;
    background-color: transparent;
    border-color: #ffffff;
}

.card:hover .inner {
    transform: rotateY(180deg) translateZ(5px); 
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

.inner {
    
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border-radius: 20px;
}

.inner:after {
    content: "";
    background: inherit;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    filter: blur(8px);
}

.front, .back {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 20px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: rotateY(0deg) translateZ(0px);
}

/* Front ----------------------------------------------------------*/

.front {
    background: url("../img_default/template-front.png") center;
    background-size: cover;
    text-align: center;
    color: black;
    border-radius: 10px;
/* height: auto; */
}
.front .logo {
/* height: 15%; */
    margin-bottom: 18px;
    margin-top: 10px;
}

.front .logoChief {
    /* height: 15%; */
    margin-bottom: 30px;
    margin-top: 10px;
}

.logo img {
    top: 0;
    position: relative;
    width: 80%;
}

.logoChief img {
    top: 0;
    position: relative;
    width: 80%;
}

.front .profile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.frame{  
    vertical-align: middle;
    text-align: center;
    display: table-cell;
}   


.front .profile img {
    margin: 0 auto;
    width: 220px;
    height: 220px;
    /* border-radius: 100%; */   /* remove */
    object-fit: cover;
    display: block;              /* add */
    -webkit-clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); /* add */
            clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); /* add */
}

/* container for inner shadow */
.front .profile .frame {
    width: 220px;        /* ensure same box as the image */
    height: 220px;
    position: relative;  /* needed for ::after */
    margin: 0 auto;
    overflow: visible;
}

/* inner shadow overlay, matches the hexagon clip */
/* .front .profile .frame::after {
    content: "";
    position: absolute;
    inset: 0;
    -webkit-clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
            clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.35);
    pointer-events: none;
} */
.front .profile .frame::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
}


.front .footer {
    position: absolute;
    top: 77%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    background: rgba(142, 142, 142, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 5px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.front .footer h6 {
    color: #ffffff;
    margin-top: 7px;
    letter-spacing: 1px;
    font-size: 16px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
}

.front .footer .p1 {
    color: #ffffff;
    font-size: 15px;
    margin-top: 8px;
    margin-bottom: 7px;
    /* letter-spacing: 0.3px; */
}

.front .footer .p2 {
    color: #dcdcdc;
    font-size: 12px;
    margin-bottom: 1px;
    /* letter-spacing: 0.3px; */
}

/* Back ----------------------------------------------------------*/

.back {
    background: url("../img_default/template-back.png") center;
    background-size: cover;
    color: white;
    transform: rotateY(-180deg);
    border-radius: 10px;
}

.back .info * {
    text-align: left;
}
.back .info {
    margin-top: 15px;
    margin-left: 5px;
    margin-right: 5px;
}

.back .detail * {
/* margin-top: 20px; */
    text-align: left;
    font-size: 13px;
    color: black;
	font-weight:bold;
}

.back .data{
    padding: 8px;
    color: #ffffff;
    background: rgba(142, 142, 142, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 12px;
    border-radius: 10px;
}

.data label{
    width: 65px;
}

.back table {
    text-align: left;
    margin-left: 30px;
    margin-right: 30px;
}
.back table td {
    padding: 1px;
}
#contain {
    padding-left: 5px;
}
.back img {
    position: relative;
    width: 80%;
}
.back h1 {
    padding-bottom: 0 !important;
    padding-top: 0.714em !important;
}
.back p {
    padding-top: 0 !important;
    margin-left: 30px;
    margin-right: 30px;
}

@media screen and (max-width: 900px) {
    .inner {
        background-size: 200% 200%;
}
}

/* Drop down ---------------------------------------------------------------------------*/
/* button */
.btn-option{
    margin-bottom: 13px;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.01);
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 19px 30px, rgba(0, 0, 0, 0.1) 0px 15px 12px;
    box-sizing: border-box;
    color: black;
    cursor: pointer;
    padding: 9px 12px 9px 12px;
    font-weight: 600;
    font-size: 14px;
} 
.infoBtn{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    top: 90%;
}

.btn-option:hover,
.btn-option:focus {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 40px 80px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    color: rgba(0, 0, 0, 0.65);
}

/* .dropdown0 button:active {
    background-color: #F0F0F1;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 40px 80px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    color: rgba(0, 0, 0, 0.65);
    transform: translateY(0);
} */

/* content  */
.dropdown-content0 * {
    text-align: left;
}
.dropdown-content0 {
    position: absolute;
    height: 105%;
    width: 100%;
    z-index: 98;
    background-color: rgba(0, 0, 0, 0.5);   
    
}
.dropdown-content0 table {
    color: black;
    width: 310px;
    margin: auto;
    margin-top: 60px;
    border-collapse: collapse !important;
    
}
.dropdown-content0 td {
    cursor: pointer;
}
.dropdown-content0 a {
    color: black;
    background-color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 5px;
    margin-bottom: 2px;
}
.dropdown-content0 a:hover {
    background-color: rgb(240, 240, 240);
}
.dropdown-content0 a:focus {
    color: rgb(150, 150, 150);
}
.dropdown-content0 {
    display: none;
}

.showDropdown {
    display: block !important;
}

/*--------------------------------------------------------------
# Copy to Clipboard (Copy URL)
--------------------------------------------------------------*/

.copy-click {
    position: relative;
    padding-bottom: 2px;
    text-decoration: none;
    cursor: copy;
    color: #484848;
    border-bottom: 1px dashed #767676;
    transition: background-color calc(var(--duration) * 2) var(--ease);
}


.copy-click:after {
    content: attr(data-tooltip-text);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    padding: 8px 16px;
    white-space: nowrap;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 0 0 -12px rgba(0, 0, 0, 0);
    pointer-events: none;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    opacity: 0;
    -webkit-transform: translate(-50%, 12px);
            transform: translate(-50%, 12px);
    transition: box-shadow calc(var(--duration) / 1.5) var(--bounce), opacity calc(var(--duration) / 1.5) var(--bounce), -webkit-transform calc(var(--duration) / 1.5) var(--bounce);
    transition: box-shadow calc(var(--duration) / 1.5) var(--bounce), opacity calc(var(--duration) / 1.5) var(--bounce), transform calc(var(--duration) / 1.5) var(--bounce);
    transition: box-shadow calc(var(--duration) / 1.5) var(--bounce), opacity calc(var(--duration) / 1.5) var(--bounce), transform calc(var(--duration) / 1.5) var(--bounce), -webkit-transform calc(var(--duration) / 1.5) var(--bounce);
}

.copy-click.is-hovered:after {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 1;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    transition-timing-function: var(--ease);
}

.copy-click.is-copied {
    background-color: yellow;
}

.copy-click.is-copied:after {
    content: attr(data-tooltip-text-copied);
}

.tip{
    background-color: #263646;
    padding: 0 14px;
    line-height: 27px;
    position: absolute;
    border-radius: 4px;
    z-index: 100;
    color: #fff;
    font-size: 12px;
    animation-name: tip;
    animation-duration: .6s;
    animation-fill-mode: both;
}

.tip:before{
    content: "";
    background-color: #263646;
    height: 10px;
    width: 10px;
    display: block;
    position: absolute;
    transform: rotate(45deg);
    top: -4px;
    left: 17px
}

#copied_tip{
    animation-name: come_and_leave;
    animation-duration: 1s;
    animation-fill-mode: both;
    bottom: -260px;
    left:760px;
}

.text-line{
    font-size: 14px;
}

a{
    text-decoration: none;
}

.end{
    display: flex;
    justify-content: end;
}

.info{
    color: rgb(124, 124, 124);
}

.item{
display: flex;
align-items: center;
gap: 0.3rem;
margin-top: 0.8rem;
}

.item__active{
/* color: #2ecc71; */
color: #3adb09;
}

table.dataTable.table-striped > tbody > tr.odd > *{
    box-shadow: none;
}


.table > :not(caption) > * > *{
    padding: .6rem .6rem;
}

.pagination{
    --bs-pagination-active-bg: var(--primary);
    --bs-pagination-active-border-color: var(--primary);
}

.table{
    color: #3a3a3a;
}

.inputNote{
    color: grey;
    font-style: italic;
    font-size: 14px;
    margin-top: 10px;
}

.showMobile{
    width: 10% !important;
}

.shareBody{
    font-size: 45px;
    padding: 10%;
	margin: 0 auto;
}

.shareBody a {
    display: inline-flex;
    align-items: center;
    width: auto; /* or set to a specific value */
    white-space: nowrap;
}

.bi-facebook, .bi-whatsapp, .bi-envelope-plus, .bi-linkedin, .bi-clipboard-check{
    color: #515A63;
}

.bi-facebook:hover{
    color: #3b5998;
}

.bi-envelope:hover{
    color:grey;
}

.bi-whatsapp:hover{
    color: #25d366;
}

.bi-envelope-plus:hover, .bi-clipboard-check:hover{
    color: #0D6EFD;
}

.bi-linkedin:hover{
    color: #0072b1;
}

p.copyText{
    font-size: 14px;
    font-weight: bold;
    color: #3a3a3a;
}

.bi-back{
    fill: white;
}

.staff-img-container {
    display: flex;
    align-items: flex-end;
}

.staff-img-container img{
    margin-right: 10px;
}

.staff-img-container button{
	margin-bottom: 23px;
    color: #3a3a3a;
    border:1px solid #ced4da !important;
    padding: 6px;
}

.login{
    background-image: url('../img/login-bg.webp');
    background-size: cover; /* Cover the entire viewport */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
}
