/* width */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar:horizontal {
    height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.newvui {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background-color: #000000b0;
    padding: 10px;
    border-radius: 5px;
    display: none;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.img {
    width: 100%;
}

.pane-cont {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    overflow: hidden;
    top: 0;
}

.pane {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.xts-login {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    /* Default horizontal layout */
}

.xts-login .xts-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: url('../images/login-background.png') center/cover no-repeat; */
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.xts-login .xts-logo .logo {
    position: absolute;

}

.xts-login .xts-lgn-form {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.xts-login .xts-lgn-form .form-row {
    width: 400px;
}

.xts-login .xts-lgn-form p {
    color: #777272
}

.xts-login .xts-lgn-form img {
    margin: 20px 0;
    width: 100px;
}

.xts-login .xts-lgn-form input {
    width: 100%;
    border: 1px solid #ccc;
    padding: 15px 0px;
    text-indent: 20px;
    border-radius: 30px;
}

.xts-login .xts-lgn-form button {
    width: 100%;
    padding: 17px 0;
    border: none;
    margin: 10px 0 0;
    background-color: #42a165;
    color: #fff;
    /* Fixed typo from #ffff to #fff */
    border-radius: 30px;
    font-size: 20px;
    cursor: pointer;
}

.xts-login .xts-lgn-form .logout-btn {
    width: 100%;
    padding: 17px 0;
    border: none;
    font-size: 20px;
    margin: 10px 0 0;
    background-color: #c42626;
    color: #fff;
    /* Fixed typo from #ffff to #fff */
    border-radius: 30px;
    cursor: pointer;
}

.loader {
    height: 100vh;
    width: 100%;
    background-color: #00000090;
    position: absolute;
    top: 0;
    display: none;
    justify-content: center;
    align-items: center;
    color: #fff
}

/* Tablet and Mobile View (max-width: 768px) */
@media screen and (max-width: 768px) {
    .xts-login {
        flex-direction: column;
        /* Stack vertically */
        height: auto;
        /* Allow height to adjust */
        min-height: 100vh;
        /* Ensure it takes at least full viewport */
    }

    .xts-login .xts-logo {
        position: relative;
        width: 100%;
        height: 50vh;
        min-height: 300px;
        transform: rotate(90deg);
    }

    .xts-login .xts-logo .logo {
        position: absolute;
        top: 20;
        left: 100;
        transform: rotate(270deg);
    }

    .xts-login .xts-lgn-form {
        width: 100%;
        height: 50vh;
        min-height: 300px;
    }

    .xts-login .xts-lgn-form .form-row {
        width: 90%;
        max-width: 400px;
        padding: 0 20px;
    }





}

/* Extra small screens (max-width: 480px) */
@media screen and (max-width: 480px) {
    .xts-login .xts-logo {
        height: 40vh;
        /* Adjust height for very small screens */
        min-height: 250px;
    }

    .xts-login .xts-logo .bg {
        height: 100vw;
        /* Adjust height for very small screens */
        min-height: 250px;
    }

    .xts-login .xts-lgn-form {
        height: 60vh;
        /* Give more space to form */
        min-height: 350px;
    }

    .xts-login .xts-lgn-form input {
        padding: 12px 0;
        /* Slightly smaller padding */
        text-indent: 15px;
    }

    .xts-login .xts-lgn-form button {
        padding: 14px 0;
        /* Slightly smaller padding */
    }
}

#Tag-error {
    display: block;
    font-weight: bold;
    color: red;
    font-size: 15px;
    padding: 3px;
    margin-top: 10px
}

.mySlides {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.animate-slide {
    position: absolute;
    bottom: 0;
    background-color: #0000009c;
    width: 100%;
    text-align: center;
    color: white;
}

.no-media-found {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-media-message {
    font-weight: bold;
}


.overlay-left {
    background-color: rgba(0, 0, 0, 0.7);
    width: 15%;
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    padding: 10px 15px;
    height: 100%;
}

.overlay-top {
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    padding: 10px;
}

.overlay-btm {
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    color: white;
    padding: 10px;
}

.overlay-weather {
    padding: 20px;
    height: 220px;
}

.onecol-img {
    display: grid;
    grid-template-columns: 200px auto;
    grid-column-gap: 20px;
    background-color: rgba(255, 255, 255, 0.83);
    padding: 10px;
    height: 100%;
    overflow: hidden;
}

.onecol-img .img img {
    width: 100%;
}



.onecol-conetnt {
    display: grid;
    grid-template-columns: 100%;
    grid-column-gap: 20px;
    background-color: rgba(255, 255, 255, 0.83);
    padding: 10px;
    height: 100%;
    overflow: hidden;
}



.onecol-conetnt p {
    color: #000;
}



.twocol-img {
    display: grid;
    grid-template-columns: 200px auto;
    grid-column-gap: 20px;
    background-color: rgba(255, 255, 255, 0.83);
    padding: 10px;
    height: 100%;
    overflow: hidden;
    float: left;
    width: 100%
}

.twocol-img .img img {
    width: 100%;
}


/*.twocol-content {
    display: grid;
    grid-template-columns: 100%;
    grid-column-gap: 20px;
    background-color: rgba(255, 255, 255, 0.83);
    padding: 10px;
    height: 100%;
    overflow: hidden;
    float: left;
    width: 100%;
}

    .twocol-content .img img {
        width: 100%;
    }*/

.tile-grd-weather {
    background-color: aqua;
    background: linear-gradient(#124c9f, #107cb9);
    background-position: right;
    background-repeat: no-repeat;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    font-family: sans-serif;
    position: relative;
    height: 180px;
}

.tile-grd-weather .w-info-d {
    padding-left: 20px;
    border-left: 1px solid #9dd0ed;
}

.tile-grd-weather .w-info-d p {
    margin-bottom: 4px;
}


.tile-grd-weather .w-info {
    margin-right: 30px;
}

.tile-grd-weather .w-info p span {
    float: left;
    color: white;
}

.tile-grd-weather .w-info p {
    float: left;
    clear: both;
}

.tile-grd-weather .cloudy-img {
    position: absolute;
    right: 0;
    top: 0;
}

.overlay-full-img {
    position: fixed;
    width: 100%;
    height: 220px;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
}

.overlay-full-img img {
    height: 180px;
    width: 100%;
    margin: 10px 0;
}

h3 {
    font-size: 3.5vh;
    margin: 0 0 10px;
    font-family: sans-serif;
    color: #000;
}

p {
    font-size: 2.4vh;
    margin: 0;
    font-family: sans-serif;
    line-height: 1.5;
    color: #000;
}

.overlay-btm .flex-item:first-child {
    margin: 0 15px 0 0;
}

.overlay-btm .flex-item:last-child {
    margin-right: 25px;
}


.col-container {
    width: 100%;
    float: left;
    display: block;
    padding: 10px 0;
}

.twocol-tile {
    width: 49%;
    float: left;
    margin: 0 0.5%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    padding: 10px;
    border-radius: 10px;
    height: 180px;
}

.twocol-tile .img {
    float: left;
    width: 350px;
    /*overflow: hidden;*/
}

.twocol-tile .img img {
    width: 350px;
    height: 160px;
}

.twocol-tile .content {
    float: left;
    color: black;
    padding: 0 0 0 20px;
    overflow: hidden;
}

*,
::after,
::before {
    box-sizing: border-box;
}

.onecol-tile {
    width: 99%;
    float: left;
    margin: 0 0.5%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    padding: 10px;
    border-radius: 10px;
    height: 180px;
}

.onecol-tile .img {
    float: left;
    width: 350px;
    overflow: hidden;
}

.onecol-tile .img img {
    width: 350px;
    height: 180px;
}

.onecol-tile .content {
    float: left;
    color: black;
    padding: 0 0 0 20px;
}

.col-tile-left {
    width: 100%;
    float: left;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
}

.col-tile-left .img img {
    width: 100%;
    height: 160px;
}


/*Left two col container*/
.left-two-col-container {
    display: grid;
    grid-template-rows: 49% 49%;
    height: 100%;
    grid-row-gap: 15px;
}

.left-two-col-container h3 {
    font-size: 2.4vh;
}

.left-two-col-container p {
    font-size: 2.0vh;
}

/***************************/

/*left one col container*/
.left-one-col-container {
    display: grid;
    grid-template-rows: 100%;
    height: 100%;
    grid-row-gap: 15px;
}

.left-one-col-container h3 {
    font-size: 2.4vh;
}

.left-one-col-container p {
    font-size: 2.0vh;
}

/***********************/


/*overlay right*/

.overlay-right {
    background-color: rgba(0, 0, 0, 0.7);
    width: 15%;
    position: fixed;
    top: 0;
    right: 0;
    color: white;
    padding: 10px 15px;
    height: 100%;
}

/***********************/
/*col-tile-left-img*/
.col-tile-left-img img {
    width: 100%;
    height: 100%;

}

/****************/


/**/
.tile-grd-weather-portrait {
    background-color: aqua;
    background: linear-gradient(#124c9f, #107cb9);
    background-position: right;
    background-repeat: no-repeat;
    border-radius: 10px;
    padding: 20px;
    /* display: flex; */
    font-family: sans-serif;
    position: relative;
    height: 100%;
}

.tile-grd-weather-portrait .cloudy-img {
    bottom: 20px;
    position: absolute;

}

.tile-grd-weather-portrait .cloudy-img img {
    width: 100%;
}

.tile-grd-weather-portrait .w-info p {
    color: white;
    float: left;
    clear: both;
}

.tile-grd-weather-portrait .w-info p span {
    float: left;
}

/**********************/