﻿:root {
    --primary-color: #f15b27;
    --secondary-color: #5D8AB4;
    --warning-color: #e4A11b;
    --lightgrey-bg-color: #dcddde;
    --offwhite-bg-color: #f8f9fa;
    --white-bg-color: #ffffff;
    --grey-color: #57656d;
    --sidebar-size: 180px;
    --sidebar-size-negative: -180px;
}

.default-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

    .default-wrapper:before {
        content: ' ';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        opacity: 0.8;
        background-image: url('../img/ahba_logo_enlarged.png');
        background-repeat: no-repeat;
        background-position: 100% 50%;
        background-size: cover;
    }

.middle-content {
    position: absolute;
    width: 450px;
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    color: var(--white-bg-color);
    padding: 57px 35px 33px 35px;
    box-shadow: 0 5px 10px 0px rgb(0 0 0 / 10%);
    -moz-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 5px 10px 0px rgb(0 0 0 / 10%);
    -o-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
    margin-top: 45%;
}


.form-title {
    font-size: 1.65rem;
    font-family: sans-serif;
    font-weight: 600;
    margin-bottom: 2em;
}

.wrapper {
    width: 100%;
    height: 100%;
}

.bg-offwhite {
    background-color: var(--white-bg-color);
}

.text-offwhite {
    color: var(--white-bg-color);
}

text-rms-secondary {
    color: var(--secondary-color);
}

/* Top NavBar Start */
.navbar .nav-link,
.navbar-text {
    font-size: larger;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    color: var(--secondary-color);
}

.navbar-text-color {
    color: var(--secondary-color);
}

.navbar .navbar-brand {
    font-size: x-large;
    font-weight: bolder;
    color: var(--secondary-color);
}

.navbar .nav-item.active {
    border-left: #444 3px solid;
}

.navbar .custom-toggler {
    border-color: #2d3f77;
}

.navbar .navbar-toggler-icon {
   background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(45,63,119, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.dropdown-rms {
    min-width: 12rem;
    font-size: 1.05rem;
    background-color: #dcddde;
}

.profile-picture {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50px;
}

/* Top NavBar End */

/*#main-content {
    flex: 1 0 auto;
}*/

/* Footer Start */

#main-footer {
    /*flex-shrink: 0;*/
    background: var(--white-bg-color);
    color: var(--secondary-color);
    bottom: auto;
    position: inherit;
    width: 100%;
    z-index: -1;
}

#default-footer {
    background: var(--white-bg-color);
    color: var(--secondary-color);
    bottom: 0;
    position: relative;
    width: 100%;
    z-index: 1;
}

/* Footer End */

/* Sidebar Start */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

#sidebar {
    min-width: var(--sidebar-size);
    max-width: var(--sidebar-size);
    height: 100%;
    background: var(--white-bg-color);
    color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    z-index: 101;
}

    #sidebar .h6 {
        color: #fff;
    }

    #sidebar.active {
        margin-left: var(--sidebar-size-negative);
    }

    #sidebar ul.components {
        padding: 0;
    }

    #sidebar ul li {
        font-size: 14px;
    }

        #sidebar ul li > ul {
            margin-left: 8px;
        }

            #sidebar ul li > ul li {
                font-size: 8px;
            }

        #sidebar ul li a {
            padding: 10px 0;
            display: block;
            /* color: rgba(255, 255, 255, 0.6); */
            color: var(--secondary-color);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

            #sidebar ul li a span {
                /* color: #44bef1; */
                color: #fff;
            }

            #sidebar ul li a:hover {
                color: var(--grey-color);
            }

        #sidebar ul li.active > a {
            background: transparent;
            color: var(--secondary-color);
        }

@media (max-width: 991.98px) {
    #sidebar {
        margin-left: var(--sidebar-size-negative);
    }

        #sidebar.active {
            margin-left: 0;
        }
}

@media (max-width: 991.98px) {
    #sidebarCollapse span {
        display: none;
    }
}

#sidebar .custom-menu {
    display: inline-block;
    position: absolute;
    top: 20px;
    right: 0;
    margin-right: -20px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
    #sidebar .custom-menu {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

#sidebar .custom-menu .btn {
    width: 60px;
    height: 60px;
    top: 150px;
    border-radius: 50%;
    position: relative;
}

    #sidebar .custom-menu .btn i {
        margin-right: -40px;
        font-size: 14px;
    }

    #sidebar .custom-menu .btn.btn-sidebar {
        background: transparent;
        border-color: transparent;
    }

        #sidebar .custom-menu .btn.btn-sidebar:after {
            z-index: -1;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            content: '';
            -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg);
            background: var(--white-bg-color);
            border-radius: 10px;
        }

        #sidebar .custom-menu .btn.btn-sidebar:hover,
        #sidebar .custom-menu .btn.btn-sidebar:focus {
            background: transparent !important;
            border-color: transparent !important;
        }
/* Sidebar End */
.fill-area {
    width: inherit;
}

.parallax-container {
    width: 100%;
    height: inherit;
    padding-top: 5%;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-overlay {
    height: 60%;
    width: 80%;
    margin: auto;
}

#mainParallax {
     background-image: url("../img/DHSBackground.jpg")
}

.main-card-orange {
    background-color: var(--primary-color);
    opacity: .9;
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform .2s;
}

    .main-card-orange:hover {
        opacity: 1;
        transform: scale(1.1);
    }

.main-card-blue {
    background-color: var(--secondary-color);
    opacity: .9;
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform .2s;
}

    .main-card-blue:hover {
        opacity: 1;
        transform: scale(1.1);
    }

.main-card-yellow {
    background-color: var(--warning-color);
    opacity: .9;
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform .2s;
}

    .main-card-yellow:hover {
        opacity: 1;
        transform: scale(1.1);
    }

.main-carousel-blue {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    background-color: var(--secondary-color);
    opacity: .9;
    backdrop-filter: blur(12px);
}

    .main-carousel-blue:hover {
        opacity: 1;
    }

    .fon
    {
        font-size:12px;
    }

/*

a[data-toggle="collapse"] {
  position: relative; 
}

*/

/*
.dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%); 
}
*/

/* Ticker Start Ticker.css is included here */
* {
    box-sizing: border-box;
}

@-webkit-keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

.myflexclass {
    display: flex;
    width: 100%;
}

.ticker-wrap {
    position: fixed;
    top: 60px;
    width: 100%;
    overflow: hidden;
    height: 4rem;
    background-color: var(--white-bg-color);
    padding-left: 100%;
    box-sizing: content-box;
    z-index: 1000;
}

    .ticker-wrap .ticker {
        display: inline-block;
        height: 4rem;
        line-height: 4rem;
        white-space: nowrap;
        padding-right: 100%;
        box-sizing: content-box;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
        -webkit-animation-name: ticker;
        animation-name: ticker;
        -webkit-animation-duration: 30s;
        animation-duration: 30s;
    }

    .ticker-wrap .tickerItem {
        display: inline-block;
        padding: 0 2rem;
        font-size: 2rem;
        color: var(--secondary-color);
    }

/* Ticker End */

.modal-header {
    cursor: move;
}

.hidden {
    display: none;
}

.carousel-item {
    height: 250px;
}

thead {
    background-color: var(--secondary-color);
    color: var(--white-bg-color);
}

a:link {
    text-decoration: none;
}

/*Home Page End */

/* DataTable Card Transform Styling */

.cards tbody tr {
    float: left;
    width: 19rem;
    margin: 0.5rem;
    border: 0.0625rem solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.cards tbody td {
    display: block;
    overflow-wrap: anywhere;
}

.cards thead {
    display: none;
}

.cards td:before {
    content: attr(data-label);
    position: relative;
    float: left;
    color: #808080;
    min-width: 4rem;
    margin-left: 0;
    margin-right: 1rem;
    text-align: left;
}

tr.selected td:before {
    color: #CCC;
}

.card-images {
    color: #DCDDDE;
    background-color: #2d3f77 !important;
    height: 440px !important;
    cursor: pointer;
}

.card-images-td {
    border-top: 0 !important;
}

.card-image-purchase-category {
    max-height: 220px !important;
}

/*User Profile*/

.user-profile-picture {
    display: inline-block;
    width: 210px;
    height: 210px;
    border-radius: 100px;
}

.search {
    position: relative;
    box-shadow: 0 0 40px rgba(51, 51, 51, .1);
}

    .search input {
        height: 60px;
        text-indent: 25px;
        border: 2px solid #d6d4d4;
    }


        .search input:focus {
            box-shadow: none;
            border: 2px solid blue;
        }

    .search .fa-search {
        position: absolute;
        top: 20px;
        left: 16px;
    }

    .search button {
        position: absolute;
        top: 5px;
        right: 5px;
        height: 50px;
        width: 110px;
        background: blue;
    }

.ui-autocomplete {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

/* Spinners for loader  */
#loader,
.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 220px;
    height: 220px;
    margin: -76px 0 0 -76px;
    /*background-image: url("~/Images/loader.gif");*/
    /*content: url("../img/loader.gif");*/
    /*    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid blue;
    border-right: 16px solid green;
    border-bottom: 16px solid red;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;*/
}


.ball {
  width: 20px;
  height: 20px;
  border-radius: 50%;         /* Turns a square into a circle   */
  background-color: #5D8AB4;  /* Sets color to Orange           */

  animation: bounce 0.5s cubic-bezier(.5,0.05,1,.5);
  animation-direction: alternate;
  animation-iteration-count: infinite;
  

}

.ball2 {
  width: 20px;
  height: 20px;
  border-radius: 50%;         /* Turns a square into a circle   */
  background-color: #5D8AB4; /* Sets color to Orange           */

	
  animation: bounce 0.5s cubic-bezier(.5,0.05,1,.5);
  animation-direction: alternate;
  animation-iteration-count: infinite;
animation-delay: 0.125s;
  

}

.ball3 {
  width: 20px;
  height: 20px;
  border-radius: 50%;         /* Turns a square into a circle   */
  background-color: #5D8AB4; /* Sets color to Orange           */


  animation: bounce 0.5s cubic-bezier(.5,0.05,1,.5);
  animation-direction: alternate;
  animation-iteration-count: infinite;
	animation-delay: 0.25s; 

}

.ball4 {
  width: 20px;
  height: 20px;
  border-radius: 50%;         /* Turns a square into a circle   */
  background-color: #5D8AB4; /* Sets color to Orange           */


  animation: bounce 0.5s cubic-bezier(.5,0.05,1,.5);
  animation-direction: alternate;
  animation-iteration-count: infinite;
	animation-delay: 0.375s; 

}



@keyframes bounce {
  from { transform: translate3d(0, 0, 0);     }
  to   { transform: translate3d(0, 100px, 0); }

}


/*Validation*/
.validation-error {
    color: red;
}

/*font-size:2.0vw;*/
@media screen and (min-width: 1025px) {
    .infotile {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 1024px) {
    .infotile {
        font-size:1.4rem;
    }
}

.tgl {
    display: none;
}

.tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
    box-sizing: border-box;
}

.tgl::-moz-selection, .tgl:after::-moz-selection, .tgl:before::-moz-selection, .tgl *::-moz-selection, .tgl *:after::-moz-selection, .tgl *:before::-moz-selection, .tgl + .tgl-btn::-moz-selection {
    background: none;
}

.tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
    background: none;
}

.tgl + .tgl-btn {
    outline: 0;
    display: block;
    width: 4em;
    height: 2em;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}

.tgl + .tgl-btn:after {
    left: 0;
}

.tgl + .tgl-btn:before {
    display: none;
}

.tgl:checked + .tgl-btn:after {
    left: 50%;
}

.tgl-flip + .tgl-btn {
    padding: 2px;
    transition: all 1s ease;
    font-family: sans-serif;
    perspective: 100px;
}

.tgl-flip + .tgl-btn:after, .tgl-flip + .tgl-btn:before {
    display: inline-block;
    transition: all 1s ease;
    width: 100%;
    text-align: center;
    position: absolute;
    line-height: 2em;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
}

.tgl-flip + .tgl-btn:after {
    content: attr(data-tg-on);
    background: rgba(var(--bs-success-rgb));
    transform: rotateY(-180deg);
}
 
.tgl-flip + .tgl-btn:before {
    background: rgba(var(--bs-danger-rgb));
    content: attr(data-tg-off);
}

.tgl-flip + .tgl-btn:active:before {
    transform: rotateY(-20deg);
}

.tgl-flip:checked + .tgl-btn:before {
    transform: rotateY(180deg);
}

.tgl-flip:checked + .tgl-btn:after {
    transform: rotateY(0);
    left: 0;
    background: #7FC6A6;
}

.tgl-flip:checked + .tgl-btn:active:after {
    transform: rotateY(20deg);
}
.back {
    background-color: #5D8AB4;
    color: white;
}
output {
    border: 1px solid black;
    padding: 5px;
    width: fit-content;
    margin-bottom: 1em;
    background-color: #F0F0F0;
    border-radius: 5px;
    height: auto;
    min-height: 30.21px;
}
input {
    border: 1x solid black;
    padding: 5px;
    width: fit-content;
    margin-bottom: 1em;
    border-radius: 5px;
}


/*label {
    font-weight: 700;
}*/

.form-check-label {
    margin-top: 0.25rem;
    margin-left: 1rem;
}


.ahba-text-style {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.75rem;  12px font if default 16px font 
}
::placeholder {
    font-size: 12px; /* Set the desired font size */
}


/* https://alvarotrigo.com/blog/toggle-switch-css/  #10, bootstrap 5 css toggle switch*/
.form-check-input {
    clear: left;
}

.form-switch.form-switch-sm {
    margin-bottom: 0.5rem;
    /* JUST FOR STYLING PURPOSE */
}

    .form-switch.form-switch-sm .form-check-input {
        height: 1rem;
        width: calc(1rem + 0.75rem);
        border-radius: 2rem;
    }

.form-switch.form-switch-md {
    margin-left: 1rem;
    margin-bottom: 1rem;
    /* margin:  0 5px 0 30px; */
    /* JUST FOR STYLING PURPOSE */
}

    .form-switch.form-switch-md .form-check-input {
        height: 1.5rem;
        width: calc(2rem + 0.75rem);
        border-radius: 3rem;
    }

.form-switch.form-switch-lg {
    margin-bottom: 1.5rem;
    /* JUST FOR STYLING PURPOSE */
}

    .form-switch.form-switch-lg .form-check-input {
        height: 2rem;
        width: calc(3rem + 0.75rem);
        border-radius: 4rem;
    }

.form-switch.form-switch-xl {
    margin-bottom: 2rem;
    /* JUST FOR STYLING PURPOSE */
}

    .form-switch.form-switch-xl .form-check-input {
        height: 2.5rem;
        width: calc(4rem + 0.75rem);
        border-radius: 5rem;
    }


    /* data tables customization*/


/* stepper customizations */

.stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;

    @media (max-width: 768px) {
        font-size: 12px;
    }
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {

    display: block;
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    margin-bottom: 6px;
}

.stepper-item .step-counter.pointer {
    cursor: pointer;
}

.stepper-item .step-counter.optional {
    background-color: #f15b27;
    color: #ffffff;
}

.stepper-item.active {
    font-weight: bold;
}

    .stepper-item.completed .step-counter {
        background-color: #5D8AB4;
        color: #ffffff;
    }


    .stepper-item.completed::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #5D8AB4;
        width: 100%;
        top: 20px;
        left: 50%;
        z-index: 3;
    }

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}

.to-be-removed{
    text-decoration: line-through; 
}

.strike { 
    text-decoration: line-through; 
  }

.no-strike { 
    text-decoration: none; 
  }

.amount-within-range{
    background-color: #69B190;
}

.amount-out-of-range{
    background-color: #E87C86;
}

.amount-within-range-text{
    color: #198754;
}

.amount-out-of-range-text{
    color: #DC3545;
}
.dataTables_scrollHeadInner, .table {
    width: 100% !important
}
.btn-primary {
    background-color : #5D8AB4;
}
.form-check .form-check-input[type=radio] {
    border-radius: 100%;
    height: 20px;
    width: 20px;
}

/* be careful about overflow
    this disables the bottom horizontal bar for aesthetic reasons */
.table-responsive {
    overflow-x: hidden;
    }


.mouse-hover-pointer {
    cursor: pointer;
}

.no-underline {
    text-decoration: none;
}

.icon-red {
    color: red;
}

.planbox {
    border: 2px solid #007bff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;

    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    /*padding: 15px;*/
    /*border-radius: 10px;*/
}

.plancolor1 {
    background-color: #e3f2fd;
    padding: 15px;
    border-radius: 10px;
}

.plancolor2 {
    background-color: #e8f5e9;
    padding: 15px;
    border-radius: 10px;
}

.nowrap-label {
    white-space: nowrap; /* Prevent label wrapping */
    margin-bottom: 0; /* Ensure label aligns vertically */
    line-height: 1.5; /* Match label's height with input */
}

.fixed-width-input {
    width: 150px; /* Set a smaller fixed width for the date picker */
    margin-bottom: 0; /* Prevent input from shifting due to margin */
}
.form-group.d-flex {
    gap: 10px; /* Add spacing between label and input */
}



