body
{
    font-family: 'Poppins', sans-serif;
    padding-top: 65px;
    font-size: 1rem !important;
}

table{
    font-size: 1rem !important;
    font-family: 'Poppins', sans-serif !important;
}

table tr td{
    font-size: 1rem !important;
    font-family: 'Poppins', sans-serif !important;
}

select{
    font-size: 1rem !important;
    font-family: 'Poppins', sans-serif !important;
}

.loginLogo{
    margin-top: 50px;
    margin-bottom: 15px;
    text-align: center;
}

.banner{
    min-height: 58px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0aa8c4;
    color: #ffffff;
    z-index: 2;
}

.bannerMenu{
    font-size: 16px;
    position: absolute;
    padding-left: 15px;
    margin: 0;
    top: 35%;
    left: 0;
    text-decoration: none;
}

.bannerText{
    text-shadow: 0 1px 1px #212121;
    color: #FFFFFF;
    font-size: 16px;
    position: absolute;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-plain{
}

.card-header-plain{
    border-bottom: 1px solid #e0e0e0;
    font-weight: bold;
    color: #183153;
    padding-bottom: 15px;

}

.card-body-plain{
    padding: 15px;
}

.bold{
    font-weight: bold;
}

.center{
    text-align: center;
}

.left{
    text-align: left;
}

.bodyLoaderContainer
{
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
}

.bodyLoaderContainerDark
{
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.bodyLoader
{
    position: absolute;
    z-index: 2001;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bodyLoaderSpinner
{
    padding: 10px;
    /*background: #FFFFFF;*/
    border-radius: 5px;
    /*box-shadow: 0 0 10px #9E9E9E;*/
    text-align: center;
}

.bodyLoaderSpinnerDark
{
    padding: 10px;
    /*background: #FFFFFF;*/
    border-radius: 5px;
    /*box-shadow: 0 0 10px #9E9E9E;*/
    text-align: center;
    color: #efefef;
}

.bodyLoaderText
{
    padding: 10px 0 0 0;
}

.bodyLoaderProgressBar{
    height: 10px;
    border: 1px solid #1976d2;
    width: 350px;
    border-radius: 3px;
}

.bodyLoaderProgressBarPercentage{
    height: 8px;
    background-image: linear-gradient(#2196f3, #1976d2);
}

div.flash-success
{
    background: #424242;
    text-shadow: 0 1px 1px #000000;
    padding: 0;
    border-left: 10px solid #8bc34a;
    margin: 0;
    /* border-radius: 4px; */
    color: #9ccc65;
}

div.flash-icon
{
    float: left;
    text-align: center;
    /*color: #FFFFFF;*/
    padding: 17px;
}

div.flash-message
{
    margin-left: 30px;
    padding: 17px;
}

.flash-icon-success
{
    color: #8bc34a;
    text-shadow: 0 1px 1px #000000;
}

div.flash-error
{
    /* background: #FFEBEE;
    text-shadow: 0 1px 1px #FFFFFF;
    padding: 0;
    border: 1px solid #ffcdd2;
    margin: 0;
    border-radius: 4px;
    color: #E53935; */
    background: #424242;
    text-shadow: 0 1px 1px #000000;
    padding: 0;
    border-left: 10px solid #f44336;
    margin: 0;
    /* border-radius: 4px; */
    color: #ef5350;
}

.flash-icon-error
{
    color: #f44336;
    text-shadow: 0 1px 1px #000000;
}

div.flash-warning
{
    background: #424242;
    text-shadow: 0 1px 1px #000000;
    padding: 0;
    border-left: 10px solid #ff9800;
    margin: 0;
    /* border-radius: 4px; */
    color: #ffa726;
}

.flash-icon-warning
{
    color: #ff9800;
    text-shadow: 0 1px 1px #000000;
}

div.flash-info
{
    background: #424242;
    text-shadow: 0 1px 1px #000000;
    padding: 0;
    border-left: 10px solid #2196f3;
    margin: 0;
    /* border-radius: 4px; */
    color: #42a5f5;
}

.flash-icon-info
{
    color: #2196f3;
    text-shadow: 0 1px 1px #000000;
}

.tileWidthContainer{
    width: 200px;
    margin: 0 auto;
    display: none;
}

@media screen and (min-width:  1280px) {
    .tileWidthContainer{
        width: 350px;
        margin: 0 auto;
    }  
    table{
        width: 70%;
        margin: 0 auto;     
    }  
    tr:hover{        
    text-shadow: #677d5f 0 1px 0;
    background: #6c757d;
    color:#FFFFFF;
    }   
}

@media screen and (max-width:  770px) {
    .tileWidthContainer{
        width: 100%;
        margin: 0 auto;
    } 
    table{
        width: 100%;
        margin: 0 auto;     
    }
    tr:hover{        
    text-shadow: #677d5f 0 1px 0;
    background: #6c757d;
    color:#FFFFFF;
    }
    .tileContainer{
    min-height: 450px;
    max-height: 450px;
    box-shadow: #bdbdbd 0 0 50px;
    
}      
}


.tileLink{
    color: #FFFFFF;
}

.tileLink:hover{
    color: #FFFFFF;
}

.tileMoreContainer{
    min-height: 250px;
    box-shadow: #e0e0e0 0 0 50px;
    border-radius: 10px;
    overflow: hidden;
}

.tileContainer{
    min-height: 250px;
    max-height: 250px;
    box-shadow: #e0e0e0 0 0 50px;
    border-radius: 10px;
    overflow: hidden;
}
.tileCastContainer{
    min-height: 250px;
    max-height: 250px;
    box-shadow: #e0e0e0 0 0 50px;
    border-radius: 10px;
    overflow: hidden;
}
.min_tileContainer{
    min-height: 50px;
    max-height: 100px;
    box-shadow: #e0e0e0 0 0 50px;
    border-radius: 10px;
    overflow: hidden;
}
.tileIconContainer{
    margin: 0;
    position: relative;
    height: 90px;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #5ea8ff, #58e0e8);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.tileIconContainer:after{
	content: "";
	position: absolute;
	left: -35px;
	bottom: -42px;
	width: 125%;
	height: 95px;
	background: #ffffff;
	border-radius: 50% 0 0 0;
	transform: rotate(8deg);
	transform-origin: left bottom;
	z-index: 1;
}

.tileContainer:hover{
	transform: translateY(-8px);
	box-shadow: 0 25px 45px rgba(0,0,0,0.16);
}

.tileContainer:hover .tileIcon{
	transform: scale(1.08) rotate(4deg);
}

/*.tileIcon{
    /* opacity: 0.3; 
    font-size: 64px;
    position: absolute;
    bottom: -25px;
    right: -25px;
}*/

.tileIcon{
	position: absolute;
	top: 18px;
	right: 18px;
	width: 58px;
	height: 58px;
	border-radius: 14px;
	background: #ffffff;
	color: #0aa8c4;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.12);
	transition: all 0.3s ease;
}

.tileContainer:hover .tileIconBox{
	transform: scale(1.08) rotate(4deg);
}

.broadcastModalBtn{
    position: absolute;
    top: 0;
    right:0;
}

.tileTitleCounter{
    /* background-color: #bdbdbd; */
    font-weight: bold;
    padding: 15px 0 0 15px;
    padding-bottom: 1px;
    color: #00a7c4;
}
.min_tileTitle{
    font-weight: bold;
    padding: 15px 0 0 15px;
    padding-bottom: 1px;
    color: #ffffff;
    cursor: pointer;
}
.tileTitle{
    font-weight: bold;
    padding: 5px 0 0 15px;
    color: #183153;
}

.tileSubTitle{
    font-style: italic;
    /* padding: 5px 0 0 15px; */
    color: #424242;
    font-size: 10px;
}

.tileDescription{
    color: #7b8494;
    padding: 15px;
}

.taContainer{
    display: none;
}

#taTotal{
    display: none;
}

.fieldRequired{
    color: #f44336;
}

.circle-btn{
    height: 75px;
    width: 75px;
    line-height: 71px;
    /* padding-top: 25px; */
    display: inline-block;
    border-radius: 50%;
    box-shadow: #bdbdbd 0 0 5px;
    border-width: 1px;
    color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.circle-btn-success{
    background-color: #8bc34a;
    text-shadow: #33691e 0 1px 0;
}

.circle-btn-success:hover{
    background-color: #7cb342;
    transition: background-color 300ms;
}

.circle-btn-error{
    background-color: #f44336;
    text-shadow: #b71c1c 0 1px 0;
}

.circle-btn-error:hover{
    background-color: #e53935;
    transition: background-color 300ms;
}

.circle-btn-primary{
    background-color: #2196f3;
    text-shadow: #0d47a1 0 1px 0;
}

.circle-btn-primary:hover{
    background-color: #1e88e5;
    transition: background-color 300ms;
}

.circle-btn-icon{ 
    position: absolute;
    font-size: 32px;
    bottom: 0;
    right: 0;
    text-shadow: none;
}

.circle-btn-icon-success{
    color: #689f38;
}

.circle-btn-icon-error{
    color: #d32f2f;
}

.circle-btn-icon-primary{
    color: #1976d2;
}

.card-body-with-icon{
    position: relative;
    overflow: hidden;
}

.card-body-icon{
    position: absolute;
    bottom: -30px;
    right: -10px;
    font-size: 64px;
    color: #e0e0e0;
}

.tileArrow{
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #b7c4d3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #183153;
    background: #ffffff;
    font-size: 16px;
    z-index: 25;
}

.tileContainer:hover .tileArrow{
    background: #18B7C7;
    color: #ffffff;
    border-color: #18B7C7;
    transform: translateX(4px);
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    margin: 0;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #bdbdbd;
    border-radius: 24px;
    transition: background-color 0.3s ease;
}

.theme-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.theme-switch input:checked + .theme-slider {
    background-color: #897d7d !important;
}

.theme-switch input:checked + .theme-slider::before {
    transform: translateX(22px);
}

/* =========================================
   DARK THEME ONLY
   Light mode remains unchanged
========================================= */

/* Main page */
body.dark-theme,
body.dark-theme .container,
body.dark-theme .container-fluid,
body.dark-theme main,
body.dark-theme .content {
    background: #2b2b2b !important;
    color: #f2f2f2 !important;
}

/* Top banner */
body.dark-theme .banner {
    background: #1f1f1f !important;
    color: #ffffff !important;
}

body.dark-theme .bannerText,
body.dark-theme .bannerMenu {
    color: #ffffff !important;
}

/* Offcanvas menu */
body.dark-theme .offcanvas,
body.dark-theme .offcanvas-header,
body.dark-theme .offcanvas-body {
    background: #242424 !important;
    color: #ffffff !important;
}

body.dark-theme .btn-close {
    filter: invert(1);
}

/* Menu items */
body.dark-theme .list-group-item {
    background: #242424 !important;
    color: #ffffff !important;
    border-color: #3a3a3a !important;
}

body.dark-theme .list-group-item:hover {
    background: #303030 !important;
    color: #ffffff !important;
}


body.dark-theme input,
body.dark-theme select,
body.dark-theme textarea {
    background: #222222 !important;
    color: #ffffff !important;
    border-color: #555555 !important;
}

body.dark-theme input::placeholder,
body.dark-theme textarea::placeholder {
    color: #a8a8a8 !important;
}

/* Headings */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6,
body.dark-theme .welcome-text {
    color: #ffffff !important;
}


body.dark-theme .tileContainer {
    background: #313131 !important;
    color: #f2f2f2 !important;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.45) !important;
}

body.dark-theme .tileBody {
    background: #313131 !important;
    color: #f2f2f2 !important;
}

body.dark-theme .tileTitleCounter {
    color: #ffffff !important;
}

body.dark-theme .tileTitle {
    color: #ffffff !important;
    text-decoration: none !important;
}

body.dark-theme .tileDescription {
    color: #d2d2d2 !important;
    text-decoration: none !important;
}

body.dark-theme .tileLink,
body.dark-theme .tileLink:hover,
body.dark-theme .tileLink:focus,
body.dark-theme .tileLink:active {
    color: inherit !important;
    text-decoration: none !important;
}

body.dark-theme .tileLink:hover .tileTitle {
    color: #ffffff !important;
}

body.dark-theme .tileLink:hover .tileDescription {
    color: #e8e8e8 !important;
}


body.dark-theme .tileIconContainer {
    background: rgba(245, 245, 245, 0.92) !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

body.dark-theme .tileIconContainer .fa-solid,
body.dark-theme .tileIconContainer .fa {
    color: #CCCCCC !important;
}

body.dark-theme .min_tileContainer, 
body.dark-theme .tileTitleCounter,
body.dark-theme .tileMoreContainer{
    box-shadow: none !important;
}

body.dark-theme .min_tileContainer,
body.dark-theme .tileSummary {
    background: #4a4a4a !important;
}

body.dark-theme .tileCastContainer{
    box-shadow: none !important;
    background: #313131 !important;
}

body.dark-theme .tileArrow {
    background: #f5f5f5 !important;
    color: #222222 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

body.dark-theme .tileArrow:hover,
body.dark-theme .tileArrow:focus,
body.dark-theme .tileArrow:active,
body.dark-theme .tileArrow:focus-visible {
    background: #ffffff !important;
    color: #111111 !important;   
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

  
body.dark-theme #changePasswordSubmitBtn {
    background: #3d3d3d !important;
    color: #ffffff;
    border: 1px solid #5a5a5a;
    border-radius: 6px;
    font-weight: 600;
    transition: all .2s ease;
}

body.dark-theme #changePasswordSubmitBtn:hover {
    background: #4b4b4b !important;
    border-color: #7a7a7a !important;
}

body.dark-theme #changePasswordSubmitBtn:focus,
body.dark-theme #changePasswordSubmitBtn:active {
    outline: none !important;
    box-shadow: none;
    background: #555555;
}

body.dark-theme .modal-header {
    background: #484747 !important;
}


body.dark-theme .fa-user-circle,
.fa-trophy {
    display: none !important;
}

body.dark-theme .btn-primary, 
body.dark-theme .btn-success,
body.dark-theme .btn-danger {
    background-color: #212529 !important;
    border-color: #212529 !important;
    color: #ffffff !important;
}

body.dark-theme .btn-primary:hover,
body.dark-theme .btn-success,
body.dark-theme .btn-danger {
    background-color: #424649 !important;
    border-color: #424649 !important;
}

body.dark-theme input[type="radio"],
body.dark-theme input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #bfc5ca;
    background-color: transparent;
    vertical-align: middle;
}

body.dark-theme input[type="radio"]:checked,
body.dark-theme input[type="checkbox"]:checked {
    border: 5px solid #3d8bfd;
}

#selfieBlocker{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(255,255,255,0.95);
    z-index:1045;
    align-items:center;
    justify-content:center;
    flex-direction:column;
}

#selfieBlocker h5{
    margin-top:20px;
}

#selfieModal {
     z-index:1055;
}