body, html {
    margin: 0;
    padding: 0;
    /* Optional: Ensures html and body take full height if .umt-video is the only top-level content */
    /* height: 100%; */
}
.has-submenu {
    position: relative;
}

    .has-submenu .scholarship-submenu {
        position: absolute;
        top: 0;
        /* Open toward the LEFT */
        right: 100%;
        left: auto;
        min-width: 260px;
        margin: 0;
        padding: 8px 0;
        list-style: none;
        border-radius: 8px 0 8px 8px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20);
        z-index: 99999;
        /* Hidden position */
        opacity: 0;
        visibility: hidden;
        transform: translateX(15px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    /* Show submenu */
    .has-submenu:hover .scholarship-submenu {
        opacity: 1;
        visibility: visible;
        /* Slide RIGHT → LEFT */
        transform: translateX(0);
    }

.scholarship-submenu li {
    width: 100%;
    margin: 0;
    padding: 0;
}

    .scholarship-submenu li a {
        display: block;
        width: 100%;
        padding: 12px 18px;
       
        background: #0d233a;
        text-decoration: none;
        white-space: nowrap;
        transition: all 0.25s ease;
    }

        .scholarship-submenu li a:hover {
            color: #fff;
            background: #f68a1e;
            padding-right: 23px;
        }
:root {
    --umt-node-size: 50px;
}

@media (max-width: 600px) {
    :root {
        --umt-node-size: 42px;
    }
}

/* Dark Blurred Backdrop */
.umt-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 12, 22, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .umt-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }

/* Fixed Floating Anchor Point */
#umt-root {
    position: fixed;
    top: 50%;
    left: 100%;
    width: 0;
    height: 0;
    z-index: 99999;
    pointer-events: none;
    transition: left 0.45s cubic-bezier(0.34, 1.25, 0.64, 1);
}

    /* Moves to EXACT Center on Click */
    #umt-root.open {
        left: 50% !important;
    }

/* Main Center/Right Trigger Button */
.umt-main-btn {
    position: absolute;
    width: 90px;
    height: 90px;
    margin: -14px 0 0 -95px; /* Rest on right edge initially */
    border-radius: 50% !important;
    background: radial-gradient(circle at 30% 30%, #173e68, #0b1f35 80%);
    border: 3px solid #f1ab15;
    box-shadow: 0 0 22px rgba(241, 171, 21, 0.5);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 10;
    transition: margin 0.45s cubic-bezier(0.34, 1.25, 0.64, 1), transform 0.2s;
}

#umt-root.open .umt-main-btn {
    margin: -45px 0 0 -45px !important; /* Center-align in viewport */
}

.umt-main-btn:hover {
    transform: scale(1.05);
}

/* Right Side Label Ribbon */
.umt-side-tag {
    position: absolute;
    right: 95px;
    top: 50%;
    transform: translateY(-50%);
    background: #0d233a;
    border: 1.5px solid #f1ab15;
    color: #fff;
    padding: 5px 11px;
    border-radius: 20px !important;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: opacity 0.25s;
    font-family: system-ui, -apple-system, sans-serif;
}

#umt-root.open .umt-side-tag {
    opacity: 0;
    pointer-events: none;
}

/* Radial Item Container */
.umt-node {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.25), opacity 0.25s ease;
    z-index: 5;
}

#umt-root.open .umt-node {
    opacity: 1;
    pointer-events: auto;
}

/* Node Round Button */
.umt-node-btn {
    width: var(--umt-node-size);
    height: var(--umt-node-size);
    border-radius: 50% !important;
    background: #061727;
    border: 2px solid #f1ab15;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

    .umt-node-btn:hover {
        background: #f1ab15;
        color: #0b1f35;
        transform: scale(1.1);
    }

/* Node Text Badge Label */
.umt-node-label {
    margin-top: 4px;
    background: rgba(6, 23, 39, 0.95);
    border: 1px solid #f1ab15;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px !important;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    font-family: system-ui, -apple-system, sans-serif;
}

/* Dropdown Wrap & Menu */
.umt-drop-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.umt-drop-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    width: 205px;
    background: #081a2d;
    border: 1.5px solid #f1ab15;
    border-radius: 10px !important;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.85);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s;
    z-index: 100;
}

    .umt-drop-menu.open {
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.umt-drop-header {
    color: #f1ab15;
    font-size: 10px;
    font-weight: 800;
    border-bottom: 1px solid #1e3a5f;
    padding-bottom: 4px;
    margin-bottom: 4px;
    text-align: center;
    font-family: system-ui, -apple-system, sans-serif;
}

.umt-drop-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px !important;
    font-family: system-ui, -apple-system, sans-serif;
}

    .umt-drop-item:hover {
        background: rgba(241, 171, 21, 0.2);
        color: #f1ab15;
    }

 .video-inner-box h1 {
        font-size: 2.5rem; /* Responsive font size (approx 40px on 16px base) */
        margin-bottom: 0.5em;
        font-weight: bold;
    }

    .video-inner-box p {
        font-size: 1.125rem; /* Responsive font size (approx 18px) */
        line-height: 1.6;
    }

/* --- Media Queries for Responsiveness --- */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .video-inner-box h1 {
        font-size: 2.2rem; /* Approx 35px */
    }

    .video-inner-box p {
        font-size: 1rem; /* Approx 16px */
    }
}

/* Tablets (Portrait and Landscape) */
@media (max-width: 768px) {
    /* If you want the video section to be shorter on tablets, uncomment and adjust:
    .umt-video {
        height: 70vh;
    }
    */
    .video-inner-box {
        padding: 15px;
        max-width: 90%;
    }

        .video-inner-box h1 {
            font-size: 2rem; /* Approx 32px */
        }

        .video-inner-box p {
            font-size: 0.95rem; /* Approx 15px */
        }
}

/* Mobile Devices (Landscape and Portrait) */
@media (max-width: 480px) {
    /* If you want the video section to be shorter on very small screens, uncomment and adjust:
    .umt-video {
        height: 60vh;
    }
    */
    .video-inner-box {
        padding: 10px;
        max-width: 95%;
    }

        .video-inner-box h1 {
            font-size: 1.75rem; /* Approx 28px */
        }

        .video-inner-box p {
            font-size: 0.9rem; /* Approx 14.4px */
        }
}

/* Optional: Specific adjustments for very small screens if needed */
@media (max-width: 360px) {
    .video-inner-box h1 {
        font-size: 1.5rem; /* Approx 24px */
    }

    .video-inner-box p {
        font-size: 0.85rem; /* Approx 13.6px */
    }
}
.top-bar {
    padding: 6px 0px 6px;
    background: #253356;
    font-size: 14px;
    /*position:fixed;*/
    z-index: 7777;
    width: 100%;
    top: 0px;
}

.address {
    position: relative;
}

.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
    padding: 8px;
    font-size: 15px;
    line-height: 25px;
}

.contact-info {
    margin: 0;
    background: #222;
    text-align: center;
    padding: 15px;
    position: absolute;
    width: calc(100% - 35px);
    transform: translateY(-50%);
    z-index: 111;
}

    .contact-info .contact_info_inner {
        position: relative;
    }

    .contact-info div[class*="col-"] + div[class*="col-"] .contact_info_inner {
        border-left: 1px solid #ffffff;
    }

        .contact-info div[class*="col-"] + div[class*="col-"] .contact_info_inner:before,
        .contact-info div[class*="col-"] + div[class*="col-"] .contact_info_inner:after {
            content: '';
            position: absolute;
            height: calc(100% - 40px);
            width: 1px;
            background-color: #fff;
            top: 50%;
            transform: translateY(-50%);
        }

        .contact-info div[class*="col-"] + div[class*="col-"] .contact_info_inner:before {
            left: 3px;
        }

        .contact-info div[class*="col-"] + div[class*="col-"] .contact_info_inner:after {
            left: -5px;
        }

    .contact-info .contact_info_inner svg {
        font-size: 24px;
        margin-bottom: 12px;
        color: #3F51B5;
    }

    .contact-info .contact_info_inner .contact-title {
        margin-bottom: 10px;
        color: #ffffff;
        font-size: 20px;
    }

.contact_info_desc svg {
    font-size: 15px !important;
    margin-bottom: 0px !important;
    color: #fff !important;
}

.contact-info .contact_info_inner .contact_info_desc {
    color: #fff;
    margin-bottom: 0;
    font-size: 14px;
}
/*.header-content .top-bar {
position:relative;

}*/
.navbar {
    background: transparent !important;
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
    /*position:fixed;*/
    z-index: 7777;
    width: 100%;
    /*top:2.6em;	*/
}

.header-content .navbar {
    background: #fff !important;
}

.header-content .navbar-nav .nav-link {
    color: #222 !important;
}

.mfp-iframe-scaler iframe {
    box-shadow: none;
}

.slider:before {
    display: block;
    background: linear-gradient(0deg,transparent 0,#020202 75%);
    content: "";
    position: absolute;
    top: 0;
    bottom: 20.75em;
    left: 0;
    right: 0;
    opacity: .75;
    /* z-index: -1; */
}

.mega-dropdown-menu h4 {
    margin-top: 10px;
    color: #fff;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    font-size: 18px;
    text-transform: uppercase;
}

.mega-dropdown-menu ul {
    padding-left: 20px;
}

    .mega-dropdown-menu ul li {
        list-style: square;
        color: #fff;
    }

        .mega-dropdown-menu ul li a {
            padding: 10px 0px;
        }

.navbar-toggler {
    background: #3f51b5;
    border-radius: 0px;
    outline: none !important;
}

    .navbar-toggler:hover {
        background: #777;
    }
/* header .navbar-nav .dropdown {
		position:static !important;
		
	}  */

.mega-menu ul li a {
    color: #fff;
    line-height: 30px;
    position: relative;
}
/* .mega-menu  ul li {
    list-style-type: square;
    margin-bottom: 8px;
} */
header .dropdown .dropdown-menu {
    min-width: 210px;
    background: rgba(63, 81, 181, 0.88);
    left: 0px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    padding: 0px;
    border: none;
}

    header .dropdown .dropdown-menu .dropdown-item {
        color: #f5efef;
        padding: .55rem 1.5rem;
        clear: both;
        border-bottom: 1px solid rgba(221, 221, 221, 0.45098039215686275);
    }

        header .dropdown .dropdown-menu .dropdown-item:hover {
            background: #010101;
        }

.dropdown-item:focus, .dropdown-item:hover {
    color: #f5efef;
    text-decoration: none;
    background-color: transparent;
}


#scroll {
    position: fixed;
    right: 10px;
    bottom: 3px;
    cursor: pointer;
    z-index: 777;
    width: 40px;
    height: 40px;
    background-color: #13193f;
    text-indent: -9999px;
    display: none;
}

    #scroll:hover {
        background-color: #007bff;
        opacity: 1;
        -ms-filter: "alpha(opacity=100)";
        filter: "alpha(opacity=100)";
    }

    #scroll span {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -8px;
        margin-top: -12px;
        height: 0;
        width: 0;
        border: 8px solid transparent;
        border-bottom-color: #ffffff;
    }

.top-bar ul li a {
    line-height: 30px;
}

.search-inline {
    width: 100%;
    left: 0;
    padding-left: 15px;
    padding-right: 15px;
    top: 0;
    height: 100%;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    background-color: #fff;
    z-index: 9;
}

    .search-inline .form-control {
        border: 0px;
        padding-left: 0;
        font-size: 22px;
        position: absolute;
        left: 1%;
        top: 0;
        height: 100%;
        width: 99%;
        box-shadow: none;
    }

    .search-inline button[type="submit"] {
        position: absolute;
        right: 52px;
        top: 0;
        background-color: transparent;
        border: 0px;
        top: 0;
        right: 80px;
        padding: 0px;
        cursor: pointer;
        width: 80px;
        height: 100%;
        background: #222;
        color: #fff;
    }

    .search-inline.search-visible {
        opacity: 1;
        visibility: visible;
        animation: fadeInDown 0.6s ease-out forwards;
        border-bottom: 1px solid #ddd;
    }

    .search-inline .search-close {
        position: absolute;
        top: 0;
        right: 0;
        color: #999;
        width: 80px;
        height: 100%;
        text-align: center;
    }

        .search-inline .search-close .fa-times {
            top: 50%;
            position: relative;
            display: block;
            margin: auto;
            margin-top: -6px;
        }

.navbar {
    padding: 0rem 0rem;
    /*box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);*/
}

.navbar-nav .nav-link {
    font-family: 'Sarala', sans-serif;
    text-transform: uppercase;
    font-size: 1vw;
    color: #222 !important;
}

.FixedMenu {
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
}

.navbar-brand {
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
}
    /*.FixedMenu .navbar-brand {
	
	transform:scale(.6)

}*/
    .navbar-brand img {
        -webkit-transition: all .7s ease-in-out;
        -moz-transition: all .7s ease-in-out;
        -o-transition: all .7s ease-in-out;
        transition: all .7s ease-in-out;
        max-width: 210px;
    }


.FixedMenu .navbar-nav .nav-link {
    color: #222 !important
}

.navbar-brand {
    position: relative;
    z-index: 1;
}
/*.navbar-brand:before {
    left: auto;
    right: 0;
    top: 0px;
    content: "";
    z-index: -1;
    width: 1000%;
    bottom: 0px;
    background: #fff;
    position: absolute;
    transform: skew(-25deg);
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}*/
.sepical-boxs {
    margin-top: -50px;
    /*margin-top:25px;*/
}

    .sepical-boxs .card {
        padding-top: 5px;
        padding-left: 5px;
        padding-right: 5px;
        /*padding-bottom: 10px;*/
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
        border-radius: 0px;
        background: #253356;
        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
        line-height: 0.3;
    }

        .sepical-boxs .card .card-title {
            font-size: 17px;
        }

    .sepical-boxs .box1 {
        background: #607D8B;
    }

    .sepical-boxs .box2 {
        background: #FF5722;
    }

    .sepical-boxs .box3 {
        background: #8BC34A;
    }

    .sepical-boxs .box4 {
        background: #795548;
    }

    .sepical-boxs .box5 {
        background: #4CAF50;
    }

    .sepical-boxs .card:hover {
        background: #2b4c82;
        box-shadow: 0px 8px 25px rgba(8, 14, 46, 0.63);
        margin-top: -8px;
    }

        .sepical-boxs .card:hover a {
            color: #fff;
        }

    .sepical-boxs .card a {
        color: #fff;
        text-decoration: none !important;
    }

    .sepical-boxs .card .card-body p {
        font-size: 14px;
        margin-bottom: 0;
    }

.find-progrm {
    background: #253356;
    padding: 1.1rem 15px 0rem;
    overflow: hidden;
    z-index: 2;
    position: relative;
}

    .find-progrm .btn {
        background-color: #2b4c82;
        border-color: #2b4c82;
    }

    .find-progrm h3 {
        color: #fff;
    }

    .find-progrm .form-control, .find-progrm .btn {
        padding: .575rem .75rem;
        border-radius: 0px;
    }

    .find-progrm select.form-control:not([size]):not([multiple]) {
        height: auto;
    }

.academic-boxs {
    overflow: hidden;
}

    .academic-boxs a {
        color: #212529;
    }

    .academic-boxs .card {
        position: relative;
        overflow: hidden;
        -moz-transition: all .7s ease-in-out;
        -o-transition: all .7s ease-in-out;
        -webkit-transition: all .7s ease-in-out;
        transition: all .7s ease-in-out;
        outline: 2px solid rgba(255, 255, 255, 0.51);
        outline-offset: -10px;
    }

        .academic-boxs .card .card-body {
            -moz-transition: all .7s ease-in-out;
            -o-transition: all .7s ease-in-out;
            -webkit-transition: all .7s ease-in-out;
            transition: all .7s ease-in-out;
            position: absolute;
            width: 100%;
            bottom: 0px;
            padding: .5rem;
        }

            .academic-boxs .card .card-body .card-title {
                margin-bottom: 0px !important;
                text-align: center;
                font-size: 17px;
                background: rgba(255, 255, 255, 0.6196078431372549);
                padding: .7rem;
                color: #253356;
            }

        .academic-boxs .card:hover .card-body .card-title {
            background: #253356;
            color: #fff;
        }

        .academic-boxs .card:hover {
            outline: 2px solid #253356;
        }

    .academic-boxs:hover a {
        text-decoration: none;
    }

.event-date {
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    padding: 10px 10px 15px;
    border: 3px solid #03A9F4;
    background: #3f51b5;
}
/*.events-numbers:before {
	    background: linear-gradient(rgba(59, 61, 62, 0.93), rgba(33, 35, 36, 0.93)), transparent url(https://admin.umt.edu.pk/Media/Site/UMT/Post/Banner1/636397074211190763119.jpg) 0% 0%/cover no-repeat scroll;
position:absolute;
width:50%;
height:100%;
content:'';	
	 
	 
 }*/
.umt-schools {
    border-right: 1px solid #253356;
}

    .umt-schools figure {
        overflow: hidden;
        /*outline: 5px solid white;*/
        outline-offset: -15px;
        position: relative;
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
        margin-bottom: 0px;
    }


        .umt-schools figure img {
            -webkit-transition: all .4s ease-in-out;
            -moz-transition: all .4s ease-in-out;
            -o-transition: all .4s ease-in-out;
            transition: all .4s ease-in-out;
            width: 100%;
        }

        .umt-schools figure:hover img {
            -moz-transform: scale(1.1);
            -ms-transform: scale(1.1);
            -o-transform: scale(1.1);
            -webkit-transform: scale(1.1);
            transform: scale(1.1);
        }

        .umt-schools figure figcaption {
            position: absolute;
            z-index: 2;
            /*top: 50%;*/
            left: 0;
            right: 0;
            bottom: -100%;
            background: rgba(0, 0, 0, 0.7);
            padding: 10px;
            /* margin: 0 35px; */
            /*margin-top: -30px;*/
            text-align: center;
            font-size: 14px;
            color: white;
            font-weight: 300;
            -webkit-transition: all .4s ease-in-out;
            -moz-transition: all .4s ease-in-out;
            -o-transition: all .4s ease-in-out;
            transition: all .4s ease-in-out;
            height: 100%;
            width: 100%;
            opacity: 0;
        }

            .umt-schools figure figcaption .overlay-text {
                top: 50%;
                position: relative;
                margin-top: -30px;
                -webkit-transition: all .2s ease-in-out;
                -moz-transition: all .2s ease-in-out;
                -o-transition: all .5s ease-in-out;
                transition: all .2s ease-in-out;
                font-size: 18px;
                padding: 10px;
            }

        .umt-schools figure:hover figcaption {
            opacity: 1;
            bottom: 0;
        }

.events-numbers {
    position: relative;
    /*background: #3F51B5;*/
}

    .events-numbers .col_1 {
        overflow: hidden;
    }

        .events-numbers .col_1 h2 span {
            font-size: 16px;
            border-bottom: 1px solid #3f51b5;
        }

            .events-numbers .col_1 h2 span a {
                text-decoration: none !important;
            }

.event-content h5 {
    font-size: 17px;
    text-decoration: none !important;
}

    .event-content h5 a {
        text-decoration: none !important;
        color: #212529;
    }

.date-day {
    font-size: 30px;
}

.date-month {
    font-size: 18px;
}

.twitter-slider-item {
    background: #00aff0;
    padding: 15px 20px;
    color: #fff;
}

    .twitter-slider-item a {
        color: #fff;
    }

    .twitter-slider-item .btn {
        background: #fff;
        color: #00aff0;
    }

.facebook-slider-item {
    background: #3b589a;
    padding: 15px 20px;
    color: #fff;
}

    .facebook-slider-item a {
        color: #fff;
    }

    .facebook-slider-item .btn {
        background: #fff;
        color: #3b589a;
    }

.schools ul li {
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

    .schools ul li a {
        padding: 5px 10px 8px;
        background: #ddd;
        color: #222;
        font-size: 14px;
    }

.umt-in-numbers {
    background: rgba(0, 0, 0, 0.8);
    padding-top: 40px;
    padding-bottom: 30px;
    position: relative;
    color: #222;
    overflow: hidden;
}

    .umt-in-numbers:after {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0px;
        z-index: -1;
        content: "";
        background: url(https://admin.umt.edu.pk/Media/Site/oia1/FileManager/bg.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }

.numbers span {
    padding-bottom: 15px;
    font-size: 35px;
    display: block;
    /*background: #3f51b5;*/
    color: #fff;
    padding: 10px 0px 0px;
}

    .numbers span p {
        margin: 0px;
    }

.umt-in-numbers h2 {
    /*color: #fff;*/
    text-transform: uppercase;
    /*padding-bottom: 120px;*/
}

    .umt-in-numbers h2 span {
        display: block;
        font-size: 14px;
        /*color: #fff;*/
        padding-bottom: 5px;
        text-transform: uppercase;
    }

.our-numbers {
    position: relative;
}

.numbers {
    /*border: 1px #b5b5b661 solid;
    background:rgba(37, 51, 86, 0.7);*/
    text-align: center;
}

    .numbers .title {
        padding: 17px 0px 20px;
        /*background:#fff;*/
        color: #fff;
        position: relative;
        margin-top: 10px;
        text-transform: uppercase;
    }

        .numbers .title:before {
            background: #2e8ece;
            content: "";
            height: 2px;
            left: 0;
            right: 0px;
            margin: auto;
            position: absolute;
            top: 0;
            width: 50px;
        }

.our-numbers .fa-angle-left {
    position: absolute;
    top: 50%;
    left: -20px;
    font-size: 3em;
    font-weight: bold;
    margin-top: -25px;
    color: #fff;
    cursor: pointer;
}

.our-numbers .fa-angle-right {
    position: absolute;
    top: 50%;
    right: -20px;
    font-size: 3em;
    font-weight: bold;
    margin-top: -25px;
    color: #fff;
    cursor: pointer;
}

.intro-video {
    position: relative;
    background-size: cover;
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
    padding: 200px 0px 165px 0px;
    background-position: center center;
    outline: 5px solid #fff;
    outline-offset: -15px;
}

.cl-btn {
    background: linear-gradient(rgba(0, 0, 0, 0.8),rgba(0, 0, 0, 0.7)),url(https://admin.umt.edu.pk/Media/Site/oia1/FileManager/bg.jpg) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.call-con {
    margin-top: 6px;
    border: 1px solid #ddd;
    border-radius: 0px;
    outline: 1px solid #ddd;
    outline-offset: 2px;
    color: #fff;
    background: #4CAF50;
}

    .call-con:hover {
        color: #fff;
        background: #207b24;
    }

.cta-left h3 {
    font-size: 22px;
    color: #fff;
    margin-top: 12px;
}

.annoucement-box {
    color: #FFF;
    BACKGROUND: #F44336;
}

.intro-video:before {
    position: absolute;
    content: '';
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(37, 51, 86, 0.75);
}

.intro-video .video-inner-box {
    position: relative;
    text-align: center;
    top: 50%;
    margin-top: -50px;
    text-transform: uppercase;
}

.intro-video .play-button {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: inline-block;
    text-align: center;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    line-height: 65px;
    margin-bottom: 15px;
    padding-left: 6px;
    transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    outline: none !important;
}

.home-slider {
    position: relative;
    /* margin-top:116px !important;*/
}

.slider-item {
    position: relative;
}

.slider-caption {
    overflow: visible;
    margin-bottom: 0;
    background-color: inherit;
    position: absolute;
    bottom: 0;
    left: 0;
    /* padding: 20px 20px 50px 20px; */
    padding: 20px;
    padding-bottom: 50px;
    width: 100%;
    background: rgba(37, 51, 86, 0.8);
}

    .slider-caption a {
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        outline: none !important
    }

        .slider-caption a p {
            display: inline-block;
            text-transform: capitalize;
            border-bottom: 1px solid #fff;
        }

    .slider-caption h1 {
        font-size: 40px;
    }
/*.slider-caption:before {
	content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    background-color: hsla(0, 70%, 40%, 1);
    mix-blend-mode: multiply;

}*/
.facilities a {
    text-decoration: none !important;
}

    .facilities a:hover {
        text-decoration: none !important;
    }

.facilities figure figcaption h5 {
    font-size: 17px;
    color: #253356;
}

.facilities figure img {
    margin: auto;
    height: 70px;
}

.facilities figure figcaption p {
    font-size: 14px;
    color: #253356;
}

footer {
    background: #253356;
    color: #253356;
    border-top: 1px solid #fff;
    /*margin-top:92px;*/
}

.subscribed {
    overflow: hidden;
}

    .subscribed h4 {
        text-transform: uppercase;
        font-size: 24px;
    }

    .subscribed input, .subscribed .btn {
        border-radius: 0px;
    }
@media (max-width: 575.98px) {
    .hide-on-mobile {
        display: none !important;
    }
}
.quick-tabs .tabs-links a {
    display: block;
    color: #fff;
    background: #253356;
    padding: 15px 5px;
    border-right: 5px solid #fff;
    font-size: 1.9vw;
    text-transform: uppercase;
    text-decoration: none !important;
}
    /*.quick-tabs .tabs-links:last-child a {
	border-right:none ;

}*/
    .quick-tabs .tabs-links a:hover {
        background: #222;
        color: #fff;
    }

.footer-col-2 {
    padding: 100px 0px 14px;
    position: relative;
}

footer h3 {
    font-size: 17px;
    /*text-transform: capitalize;*/
    /*  text-decoration: overline; */
    /*padding-bottom: 15px;*/
    color: #253356;
}

.footer-col-2 ul li a .fa-angle-double-right, .footer-col-1 p i {
    margin-right: 10px;
}
/*.footer-col-2 ul li a {
    color: #253356;
    text-transform: uppercase;
    font-size: 13px;
    padding: 10px 0px;
    display: block;
    border-bottom: 1px solid #253356;
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
}
.footer-col-2 ul li:hover a {
        background: #1f2857;
    color: aliceblue;
    padding: 10px;
 
}*/
/* .numbers:last-child {
    border: none;
} */
.new-buttons {
    position: fixed;
    bottom: 1px;
    right: 144px;
    z-index: 999;
}

    .new-buttons a {
        display: inline-block;
        padding: .45em 10px;
        background: #26a92b;
        color: #FFF;
        margin: 0px;
        font-size: 16px;
    }

.social-sahre {
    position: fixed;
    top: 10.7em;
    right: 0;
    z-index: 99;
}

    .social-sahre ul {
        padding: 0px;
    }

        .social-sahre ul li {
            list-style: none;
        }

            .social-sahre ul li a {
                width: auto;
                display: block;
                text-align: center;
                color: #f5efef;
                font-weight:800px;
                float: right;
                padding: 0 5px;
                font-size: 15px;
                -webkit-transition: all .7s ease-in-out;
                -moz-transition: all .7s ease-in-out;
                -o-transition: all .7s ease-in-out;
                transition: all .7s ease-in-out;
                margin-bottom: 5px;
                /* padding: 5px; */
                padding-top: 4px;
                line-height: 1.4 !important;
                /* border-radius: 20% !important; */
                height: 33px;
            }

                .social-sahre ul li a:hover {
                    width: auto;
                }

    .social-sahre .fb {
        background: #325294;
    }

    .social-sahre .twitter {
        background: #2196F3;
    }

    .social-sahre .linkden {
        background: #0077b5;
    }

    .social-sahre .gpluse {
        background: #DB4437;
    }

.footer-social a {
    font-size: 20px;
}

.footer-social .fb:hover {
    color: #325294 !important;
}

.footer-social .fb {
    color: #325294 !important;
}

.footer-social .linkden:hover {
    color: #0077b5 !important;
}

.footer-social .linkden {
    color: #0077b5 !important;
}

.footer-social .twitter:hover {
    color: #2196F3 !important;
}

.footer-social .twitter {
    color: #2196F3 !important;
}

.footer-social .insta:hover {
    color: #c2ad98 !important;
}

.footer-social .insta {
    color: #c2ad98 !important;
}

.footer-social .youtube:hover {
    color: #c11c16 !important;
}

.footer-social .youtube {
    color: #c11c16 !important;
}

.footer-social .vimeo:hover {
    color: #00adef !important;
}

.footer-social .vimeo {
    color: #00adef !important;
}

footer .address {
    font-size: 13px;
}

footer .copyrights {
    font-size: 11px;
}

footer .phonenumber {
    font-size: 13px;
}

.copyright {
    padding: 4px;
    text-align: center;
    background: #ffffff;
    color: #253356;
    font-size: 14px;
}

@media (max-width:992px) {
    header .container, .sepical-boxs .container, .find-progrm .container, section.academic .container, .events-numbers .container, .facilities .container {
        max-width: 100%;
    }

    .home-slider {
        position: relative;
        margin-top: -8px !important
    }

    .header-content .top-bar {
        position: relative;
    }

    .header-content .navbar {
        position: relative;
        top: 0;
    }
}

@media (min-width:992px) {

    .header-content.sticky .navbar {
        /*position: fixed;
    background: #fff;
    width: 100%;
    top: 0;
    left: 0px;
    right: 0px;*/
        z-index: 777;
        -moz-box-shadow: 1px 0px 5px rgba(0,0,0,.5);
        -webkit-box-shadow: 1px 0px 5px rgba(0,0,0,.5);
        box-shadow: 1px 0px 5px rgba(0,0,0,.5);
        -webkit-transition: all .7s ease-in-out;
        -moz-transition: all .7s ease-in-out;
        -o-transition: all .7s ease-in-out;
        transition: all .7s ease-in-out;
    }
    /*.sticky .top-bar {
	display:none;
	
}*/

    header .dropdown .dropdown-menu {
        opacity: 0;
        -moz-transform-origin: top;
        -ms-transform-origin: top;
        -o-transform-origin: top;
        -webkit-transform-origin: top;
        transform-origin: top;
        -moz-animation-fill-mode: both;
        -o-animation-fill-mode: both;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
        display: block;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        /* 	width:100%;
	margin:0px;
	padding:0px;
	background:transparent; */
    }

    .dropdown:hover .dropdown-menu {
        -webkit-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
        opacity: 1;
    }

    .mega-menu {
        position: static !important;
    }

    .mega-dropdown-menu {
        background: transparent !important;
    }

        .mega-dropdown-menu .container .mg-menu {
            background: rgb(63, 81, 181);
            padding: 20px 0px !important;
        }

    .mega-dropdown-menu {
        width: 100%;
        margin: 0;
    }
}

@media (min-width:768px) and (max-width:992px) {
    .date-day {
        font-size: 18px;
    }

    .date-month {
        font-size: 14px;
    }

    .intro-video {
        padding: 98px 0px 40px 0px;
    }
}

@media (max-width:992px) {
    .slider .img-fluid {
        height: 100vh;
    }

    header .dropdown .dropdown-menu .dropdown-item {
        background: #222;
    }

    .top-bar {
        position: relative;
    }

    .navbar {
        background: #fff !important;
        position: relative;
        top: 0;
    }

    header .navbar .nav-link {
        padding: .8rem;
        background: #3f51b5;
        border-bottom: 1px solid rgba(216, 212, 212, 0.3803921568627451);
        color: #f5efef !important;
    }

    .mg-menu {
        background: #222;
        padding: 20px 0px !important;
    }

    .mega-dropdown-menu .container {
        padding: 0px;
    }

    header .dropdown .dropdown-menu {
        margin: 0px;
    }

    .navbar-brand {
        padding-left: 10px;
    }

    .navbar-toggler {
        margin-right: 10px;
    }

    .FixedMenu .navbar-nav .nav-link {
        color: #fff !important;
    }

    .header-content .navbar-nav .nav-link {
        color: #fff !important;
    }

    .intro-video {
        padding: 98px 0px 40px 0px;
    }
}

@media (max-width:768px) {
    .events-numbers:before {
        content: none;
    }

    .subscribed h4 {
        margin-bottom: 20px !important;
    }

    footer .container {
        max-width: 100%;
    }

    .sepical-boxs .card:hover {
        margin-top: 0px;
    }

    .mob-hide {
        display: none;
    }

    .sepical-boxs {
        margin-top: 25px;
    }

    .slider-caption h1 {
        font-size: 4vw !important;
    }

    .slider-caption {
        padding-bottom: 20px;
    }
}

@media (max-width:750px) {
    .sepical-boxs .col {
        /*-webkit-flex-basis: 50%;*/
        /*flex-basis: 50%;*/
        margin-top: 20px;
    }
}

@media (max-width:480px) {

    .slider-caption {
        position: relative;
    }

    .mob-hide {
        display: none;
    }

    .slider .img-fluid {
        height: 85vh !important;
    }

    .zoom-fab {
        /* display:block !important;*/
    }

    -menu li {
        display: block !important;
        margin-right: 10px !important;
        padding-bottom: 7px !important;
    }

    .zoom-menu {
        width: 40vh;
    }

    .quick-tabs .tabs-links a {
        border-bottom: 2px solid #fff;
    }

    .slider-caption h1 {
        font-size: 25px;
    }
    /*.academic-boxs img {
			   display:none;

		   }*/
    .academic-boxs .card {
        background: #4CAF50;
    }

        .academic-boxs .card:first-child {
            background: #253356;
        }

        .academic-boxs .card:hover .card-body .card-title {
            background: transparent;
        }

        .academic-boxs .card .card-body {
            position: relative;
        }

            .academic-boxs .card .card-body .card-title {
                background: transparent;
                color: #fff;
            }
}

@media (max-width:370px) {
    .slider-caption h1 {
        font-size: 22px;
    }

    .zoom-fab {
        /*display:block !important;*/
    }

    .zoom-menu li {
        display: block !important;
        margin-right: 10px !important;
        padding-bottom: 7px !important;
    }

    .zoom-menu {
        width: 40vh;
    }

    .navbar-brand img {
        max-width: 170px;
    }

    .navbar-toggler {
        background: #3f51b5;
        border-radius: 0px;
        padding: 0.2rem 0.35rem;
    }

    .sm-mb-hide {
        display: none;
    }

    .slider .img-fluid {
        height: 85vh !important;
    }
}

@media only screen and (min-device-width : 300px) and (max-device-width : 480px) {
    .slider .img-fluid {
        height: 85vh !important;
    }

    #btnExploreUMT a {
        bottom: 35px;
    }

    .zoom-fab {
        /*display:block !important;*/
    }

    .zoom-menu li {
        display: block !important;
        margin-right: 10px !important;
        padding-bottom: 7px !important;
    }

    .zoom-menu {
        width: 40vh;
    }
}

.slider {
    position: relative;
}
/* Floating Slider */
.fixed {
    position: fixed;
    /*margin-top:0;*/
    display: block;
    width: 100%;
    height: 100%;
    margin-top: 115px;
}

.HeaderWrapper {
    position: relative;
    z-index: 80;
}

.ContentWrapper {
    z-index: 1;
    top: 0;
    /*margin-top:10px;*/
}

#spacer {
    visibility: hidden;
    z-index: -150;
}

#btnExploreUMT {
    bottom: .30em;
    width: 100%;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    padding: 3em 0 0;
    height: auto;
    position: absolute;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-shadow: 0 0 30px rgba(0,0,0,.7);
}

    #btnExploreUMT:before {
        background: linear-gradient(180deg,transparent 0,#020202 67%);
        opacity: .6;
        background: linear-gradient(180deg,transparent 0,#020202 75%);
        opacity: .75;
        /*display:block;*/
        z-index: 30;
        content: "";
        position: absolute;
        top: -1em;
        bottom: -0.3em;
        left: 0;
        right: 0;
    }

    #btnExploreUMT a {
        font-size: 1.70em;
        font-weight: 500;
        color: #fff;
        position: relative;
        cursor: pointer;
        z-index: 80;
    }

        #btnExploreUMT a:after {
            font-family: FontAwesome;
            content: "\f107";
            display: block;
            padding-top: 0;
            padding-bottom: .25em;
            transition: all .2s ease-out;
            position: relative;
            z-index: 80;
        }

.slider .img-fluid {
    height: 100vh;
    width: 100%;
}

.umt-explore .img-fluid, .home-slider .img-fluid {
    width: 100%;
}

.FixedMenu {
    background-color: #fff !important;
}
/* Floating slider End */
footer .fa-lg {
    font-size: 1.8em;
}

@media only screen and (min-device-width : 300px) and (max-width: 992px) {
    #is-mobile-agent {
        display: none;
    }
}

.btn-group .btn-fab {
    position: fixed !important;
}

.btn-group {
    position: fixed !important;
    z-index: 70 !important;
}


.btn-floating {
    right: 0px;
    bottom: 117px;
    width: 80px;
    height: 80px;
    border-radius: 100% !important;
    text-align: center;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-weight: bolder;
    line-height: 1.6;
    font-size: 18px !important;
    /*box-shadow: 1px 7px 23px 1px #1b1b1b !important;*/
    border: none;
}

    .btn-floating img {
        width: 100%;
    }

.mt-6, .my-6 {
    margin-top: 3.2rem !important;
}

.zoom {
    /*  position: fixed;
    bottom: 234px;
    right: 0px;
    height: 70px;
    z-index: 50;*/
    position: fixed;
    top: 15.7em;
    right: 0;
    z-index: 99;
    /*    display:none;
*/
}


.zoom-fab {
    padding: 6px 5px;
    display: inline-block;
    width: auto;
    /*height: 40px;*/
    /*line-height: 40px;*/
    /*border-radius: 50%;*/
    /*background-color: #253356;*/
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
    transition: 0.2s ease-out;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    color: #fff !important;
}

    .zoom-fab:hover {
        background-color: #3696f3;
        box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
    }

.zoom-btn-large {
    width: 100px;
    height: 100px;
    line-height: 18px;
    border-radius: 50% !important;
}

.zoom-menu {
    position: absolute;
    right: 70px;
    left: auto;
    top: 50%;
    transform: translateY(-100%);
    height: 100%;
    width: 100vh;
    list-style: none;
    text-align: right;
}

    .zoom-menu li {
        display: inline-block;
        margin-right: 10px;
    }

.zoom-card {
    position: absolute;
    right: 150px;
    bottom: 70px;
    transition: box-shadow 0.25s;
    padding: 24px;
    border-radius: 2px;
    background-color: #009688;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    color: #FFF;
}

    .zoom-card ul {
        -webkit-padding-start: 0;
        list-style: none;
        text-align: left;
    }

.scale-transition {
    transition: transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;
}

    .scale-transition.scale-out {
        transform: scale(0);
        transition: transform 0.2s !important;
    }

    .scale-transition.scale-in {
        transform: scale(1);
    }

/***Additonal*/

.zoom-btn-person {
    background-color: #F44336;
}

    .zoom-btn-person:hover {
        background-color: #e57373;
    }

.zoom-btn-doc {
    background-color: #344bca;
}

    .zoom-btn-doc:hover {
        background-color: #44529e;
    }

.zoom-btn-tangram {
    background-color: #4CAF50;
}

    .zoom-btn-tangram:hover {
        background-color: #81c784;
    }

.zoom-btn-report {
    background-color: #2196F3;
}

    .zoom-btn-report:hover {
        background-color: #64b5f6;
    }

.zoom-btn-feedback {
    background-color: #9c27b0;
}

    .zoom-btn-feedback:hover {
        background-color: #ba68c8;
    }

.askussvg {
    background-image: url(/images/ask-us.svg);
    background-repeat: no-repeat;
    height: 30px;
    width: 43px;
    text-indent: -9999em;
    display: inline-block;
    text-align: left;
}

@media only screen and (min-device-width : 300px) and (max-device-width : 480px) {
    .zoom-fab {
        /*display:block;*/
    }

    .zoom-menu li {
        display: block !important;
        margin-right: 10px;
        padding-bottom: 7px;
    }

    .zoom-menu {
        width: 40vh;
    }
}

.applynow {
    font-size: 16px !important;
    background: green !important;
    line-height: 1.3 !important;
    padding-top: 9px;
}

a.download-form {
    background: #f68a1e;
}

.fancybox-infobar, .fancybox-button--thumbs, .fancybox-button--zoom {
    display: none !important;
}
/*.facility:hover {
box-shadow:#253356 0px 3px 20px;
border:1px solid rgba(37, 51, 86, 0.19)
}*/

/*.facility figure {

margin-bottom:6px;
}*/
/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
    .top-bar {
        display: none;
    }

    .slider .img-fluid {
        height: 85vh !important;
    }
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
    .top-bar {
        display: none;
    }

    .slider .img-fluid {
        height: 85vh !important;
    }
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {


    .slider .img-fluid {
        height: 85vh !important;
    }
}

@media all and (orientation:landscape) and (max-device-width : 640px) {
    .top-bar {
        display: none;
    }

    .slider .img-fluid {
        height: 85vh !important;
    }
}

@media only screen and (max-width: 767px) {
    .contact-info {
        padding: 35px;
        position: static;
        width: calc(100%);
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
    }

    .address {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        box-shadow: none;
    }

    .contact-info .contact_info_inner {
        margin-bottom: 20px;
    }

    .footer-col-2 {
        padding: 30px 0px 14px;
        position: relative;
    }

    .contact-info div[class*="col-"] + div[class*="col-"] .contact_info_inner {
        border-left: 0;
    }

        .contact-info div[class*="col-"] + div[class*="col-"] .contact_info_inner:before,
        .contact-info div[class*="col-"] + div[class*="col-"] .contact_info_inner:after {
            content: none;
        }
}

/* ============================================ */
/* ACCESSIBILITY WIDGET - WCAG 2.1 AA COMPLIANT */
/* ============================================ */

/* ===== Screen Reader Only Utility ===== */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ===== Skip Link - WCAG 2.4.1 Bypass Blocks ===== */
._access-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000000;
}

    ._access-skip-link:focus {
        position: fixed !important;
        left: 20px !important;
        top: 20px !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        background: #4054b2;
        color: #fff;
        padding: 15px 25px;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
        font-size: 16px;
        z-index: 10000000;
    }

        ._access-skip-link:focus:hover {
            background: #334499;
        }

/* ===== Widget Wrapper ===== */
._access-widget-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999999;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ===== Icon Styles - WCAG Compliant ===== */
._access-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #3a4fa8; /* WCAG AA: 5.1:1 with white */
    border-radius: 50%;
    cursor: pointer;
    z-index: 999999;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
    user-select: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
}

    ._access-icon::after {
        content: 'accessible';
        font-family: 'Material Icons';
        font-size: 30px;
        color: #fff; /* WCAG AA: 5.1:1 with #3a4fa8 */
    }

    ._access-icon:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    }

    ._access-icon.circular {
        border: 2px solid #fff;
    }

    /* ===== WCAG 2.4.7 - Visible Focus Indicators ===== */
    ._access-icon:focus,
    ._access-menu:focus-within,
    ._access-menu ul li:focus,
    ._access-menu ._menu-btn:focus,
    ._stt-alert-close:focus,
    ._access-skip-link:focus {
        outline: 3px solid #1a3d8c !important;
        outline-offset: 2px !important;
        box-shadow: 0 0 0 6px rgba(26, 61, 140, 0.4) !important;
    }

        ._access-icon:focus:not(:focus-visible),
        ._access-menu ._menu-btn:focus:not(:focus-visible),
        ._access-menu ul li:focus:not(:focus-visible) {
            outline: none !important;
            box-shadow: none !important;
        }

/* ===== Menu Container ===== */
._access-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 25vw;
    min-width: 300px;
    max-height: 100vh;
    background: #fff;
    border: 2px solid #ccc; /* WCAG: Better visibility */
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    font-family: 'Roboto', Arial, sans-serif;
    z-index: 999999;
    opacity: 1;
    transition: opacity 0.5s, width 0.5s;
    overflow: hidden;
}

    ._access-menu.close {
        opacity: 0;
        width: 0;
        z-index: -1;
        pointer-events: none;
    }

    ._access-menu.bottom {
        bottom: 0;
    }

    ._access-menu.left {
        left: 0;
    }

    ._access-menu.close.left {
        left: -25vw;
    }

    /* ===== Menu Header - WCAG Contrast ===== */
    ._access-menu h3 {
        text-align: center;
        padding: 20px;
        margin: 0;
        font-size: 20px;
        color: #1a1a1a; /* WCAG AA: 12.6:1 with white */
        position: relative;
        font-weight: 600;
    }

    ._access-menu ._menu-btn {
        position: absolute;
        top: 15px;
        cursor: pointer;
        font-size: 24px;
        transition: transform 0.3s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        ._access-menu ._menu-btn:hover {
            transform: rotate(180deg);
        }

    ._access-menu ._menu-close-btn {
        left: 15px;
        color: #c62828; /* WCAG AA: 4.6:1 with white */
    }

    ._access-menu ._menu-reset-btn {
        right: 15px;
        color: #283593; /* WCAG AA: 4.8:1 with white */
    }

    /* ===== Menu Items - WCAG Contrast ===== */
    ._access-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        max-height: calc(100vh - 77px);
        overflow-y: auto;
    }

        ._access-menu ul li {
            padding: 10px 15px 10px 50px;
            margin: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            background: #f5f5f5; /* Slightly darker for contrast */
            color: #333; /* WCAG AA: 12.6:1 with #f5f5f5 */
            font-size: 16px;
            position: relative;
            transition: background 0.3s, color 0.3s;
            border: 1px solid #ddd;
            display: flex;
            align-items: center;
            min-height: 45px;
        }

            ._access-menu ul li ._action-text {
                display: inline-block;
                line-height: 1.4;
            }

            ._access-menu ul li:hover {
                background: #e0e0e0;
                color: #000;
            }

            ._access-menu ul li.active {
                background: #3a4fa8;
                color: #fff; /* WCAG AA: 5.1:1 with #3a4fa8 */
            }

            ._access-menu ul li.not-supported {
                opacity: 0.6;
                cursor: not-allowed;
            }

            /* ===== Menu Item Icons - WCAG Contrast ===== */
            ._access-menu ul li:before {
                content: '';
                font-family: 'Material Icons';
                font-size: 24px;
                position: absolute;
                left: 15px;
                top: 50%;
                transform: translateY(-50%);
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #333; /* WCAG AA compliant */
                line-height: 1;
            }

            ._access-menu ul li.active:before,
            ._access-menu ul li:hover:before {
                color: inherit;
            }

            ._access-menu ul li[data-access-action="increaseText"]:before {
                content: "zoom_in";
            }

            ._access-menu ul li[data-access-action="decreaseText"]:before {
                content: "zoom_out";
            }

            ._access-menu ul li[data-access-action="increaseTextSpacing"]:before {
                content: "unfold_more";
                transform: translateY(-50%) rotate(90deg);
            }

            ._access-menu ul li[data-access-action="decreaseTextSpacing"]:before {
                content: "unfold_less";
                transform: translateY(-50%) rotate(90deg);
            }

            ._access-menu ul li[data-access-action="invertColors"]:before {
                content: "invert_colors";
            }

            ._access-menu ul li[data-access-action="grayHues"]:before {
                content: "format_color_reset";
            }

            ._access-menu ul li[data-access-action="underlineLinks"]:before {
                content: "format_underlined";
            }

            ._access-menu ul li[data-access-action="bigCursor"]:before {
                content: "touch_app";
            }

            ._access-menu ul li[data-access-action="readingGuide"]:before {
                content: "border_horizontal";
            }

            ._access-menu ul li[data-access-action="textToSpeech"]:before {
                content: "record_voice_over";
            }

            ._access-menu ul li[data-access-action="speechToText"]:before {
                content: "mic";
            }

/* ===== Module Styles - Widget EXCLUDED from Filters ===== */

/* Invert Colors - WCAG: hue-rotate removed for better compatibility */
html.access-invert {
    filter: invert(1);
}

    html.access-invert img,
    html.access-invert video,
    html.access-invert iframe,
    html.access-invert canvas {
        filter: invert(1);
    }

    /* Widget stays normal when html is inverted - PREVENTS SHIFT */
    html.access-invert ._access-widget-wrapper,
    html.access-invert ._access-icon,
    html.access-invert ._access-menu,
    html.access-invert ._stt-alert-box {
        filter: invert(1);
    }

/* Gray Hues */
html.access-gray {
    filter: grayscale(1);
}

    html.access-gray ._access-widget-wrapper,
    html.access-gray ._access-icon,
    html.access-gray ._access-menu,
    html.access-gray ._stt-alert-box {
        filter: grayscale(0);
    }

/* Underline Links */
body.access-underline a {
    text-decoration: underline !important;
}

/* Big Cursor - YOUR PROVIDED SVG */
html.access-bigCursor,
html.access-bigCursor * {
    cursor: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyOS4xODhweCIgaGVpZ2h0PSI0My42MjVweCIgdmlld0JveD0iMCAwIDI5LjE4OCA0My42MjUiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI5LjE4OCA0My42MjUiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwb2x5Z29uIGZpbGw9IiNGRkZGRkYiIHN0cm9rZT0iI0Q5REFEOSIgc3Ryb2tlLXdpZHRoPSIxLjE0MDYiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgcG9pbnRzPSIyLjgsNC41NDkgMjYuODQ3LDE5LjkwMiAxNi45NjQsMjIuNzAxIDI0LjIzOSwzNy43NDkgMTguMjc4LDQyLjAxNyA5Ljc0MSwzMC43MjQgMS4xMzgsMzUuODA5ICIvPjxnPjxnPjxnPjxwYXRoIGZpbGw9IiMyMTI2MjciIGQ9Ik0yOS4xNzUsMjEuMTU1YzAuMDcxLTAuNjEzLTAuMTY1LTEuMjUzLTAuNjM1LTEuNTczTDIuMTY1LDAuMjU4Yy0wLjQyNC0wLjMyLTAuOTg4LTAuMzQ2LTEuNDM1LTAuMDUzQzAuMjgyLDAuNDk3LDAsMS4wMywwLDEuNjE3djM0LjE3MWMwLDAuNjEzLDAuMzA2LDEuMTQ2LDAuNzc2LDEuNDM5YzAuNDcxLDAuMjY3LDEuMDU5LDAuMjEzLDEuNDgyLTAuMTZsNy40ODItNi4zNDRsNi44NDcsMTIuMTU1YzAuMjU5LDAuNDgsMC43MjksMC43NDYsMS4yLDAuNzQ2YzAuMjM1LDAsMC40OTQtMC4wOCwwLjcwNi0wLjIxM2w2Ljk4OC00LjU4NWMwLjMyOS0wLjIxMywwLjU2NS0wLjU4NiwwLjY1OS0xLjAxM2MwLjA5NC0wLjQyNiwwLjAyNC0wLjg4LTAuMTg4LTEuMjI2bC02LjM3Ni0xMS4zODJsOC42MTEtMi43NDVDMjguNzA1LDIyLjI3NCwyOS4xMDUsMjEuNzY4LDI5LjE3NSwyMS4xNTV6IE0xNi45NjQsMjIuNzAxYy0wLjQyNCwwLjEzMy0wLjc3NiwwLjUwNi0wLjk0MSwwLjk2Yy0wLjE2NSwwLjQ4LTAuMTE4LDEuMDEzLDAuMTE4LDEuNDM5bDYuNTg4LDExLjc4MWwtNC41NDEsMi45ODVsLTYuODk0LTEyLjMxNWMtMC4yMTItMC4zNzMtMC41NDEtMC42NC0wLjk0MS0wLjcyYy0wLjA5NC0wLjAyNy0wLjE2NS0wLjAyNy0wLjI1OS0wLjAyN2MtMC4zMDYsMC0wLjU4OCwwLjEwNy0wLjg0NywwLjMyTDIuOCwzMi41OVY0LjU0OWwyMS41OTksMTUuODA2TDE2Ljk2NCwyMi43MDF6Ii8+PC9nPjwvZz48L2c+PC9nPjwvc3ZnPg==") 0 0, auto !important;
}

/* Reading Guide */
.access-reading-guide {
    position: fixed;
    width: 100%;
    height: 12px;
    background: rgba(0,0,0,0.1);
    border-top: 2px solid #20ff69;
    border-bottom: 2px solid #20ff69;
    z-index: 2147483647;
    pointer-events: none;
    top: 15px;
    display: none;
}

/* ===== STT Alert Box - WCAG Compliant ===== */
._stt-alert-box {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #3a4fa8; /* WCAG AA: 5.1:1 with white */
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000000;
    min-width: 300px;
    max-width: 500px;
    animation: _sttSlideUp 0.3s ease-out;
}

@keyframes _sttSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

._stt-alert-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

._stt-alert-icon {
    font-size: 24px;
    animation: _sttPulse 1.5s infinite;
}

@keyframes _sttPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

._stt-alert-text {
    flex: 1;
    font-size: 16px; /* WCAG: Minimum 16px for readability */
    line-height: 1.5;
    word-break: break-word;
}

._stt-alert-close {
    background: none;
    border: 2px solid #fff; /* WCAG: Visible border */
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
    opacity: 0.9;
    transition: opacity 0.3s, background 0.3s;
    border-radius: 4px;
}

    ._stt-alert-close:hover {
        opacity: 1;
        background: rgba(255,255,255,0.2);
    }

body.access-invert ._stt-alert-box,
body.access-gray ._stt-alert-box {
    filter: none;
}

/* ===== TTS Hover Style ===== */
._access-tts-active *:hover {
    box-shadow: 2px 2px 3px rgba(100,100,100,0.8) !important; /* Darker for contrast */
    cursor: pointer !important;
}

._access-tts-active #accessibilityIcon:hover,
._access-tts-active #accessibilityMenu:hover,
._access-tts-active ._access-icon:hover,
._access-tts-active ._access-menu:hover {
    box-shadow: none !important;
}

/* ===== Scrollbar - WCAG Compliant ===== */
._access-scrollbar::-webkit-scrollbar {
    width: 12px; /* Wider for easier interaction */
}

._access-scrollbar::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 6px;
}

._access-scrollbar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
    border: 2px solid #f0f0f0;
}

    ._access-scrollbar::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* ===== Reduced Motion Support - WCAG 2.3.3 ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    ._access-icon,
    ._access-menu,
    ._stt-alert-box {
        transition: none !important;
    }

    @keyframes _sttSlideUp {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes _sttPulse {
        0%, 100% {
            opacity: 1;
        }

        50% {
            opacity: 1;
        }
    }
}

/* ===== High Contrast Mode Support ===== */
@media (prefers-contrast: high) {
    ._access-icon {
        border: 2px solid #fff;
    }

    ._access-menu {
        border: 3px solid #000;
    }

        ._access-menu ul li {
            border: 2px solid #000;
        }

            ._access-menu ul li.active {
                border: 2px solid #fff;
            }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    ._access-menu {
        width: 90vw;
        min-width: unset;
        left: 5%;
        right: 5%;
    }

    ._access-icon {
        width: 50px;
        height: 50px;
    }

        ._access-icon::after {
            font-size: 26px;
        }

    ._stt-alert-box {
        width: 90%;
        left: 5%;
        transform: none;
        bottom: 90px;
    }
}

/* ===== Print ===== */
@media print {
    ._access-icon,
    ._access-menu,
    ._stt-alert-box,
    ._access-skip-link {
        display: none !important;
    }
}
/* Visual feedback for clicks */
._access-temp-highlight {
    animation: _accessPulse 0.25s ease-out !important;
    box-shadow: 0 0 0 3px rgba(64,84,178,0.6) !important;
}

@keyframes _accessPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(64,84,178,0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(64,84,178,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(64,84,178,0);
    }
}

@media (prefers-reduced-motion: reduce) {
    ._access-temp-highlight {
        animation: none !important;
        box-shadow: 0 0 0 2px #4054b2 !important;
    }
}
/* ============================================ */
/* END WCAG 2.1 AA COMPLIANT STYLES */
/* ============================================ */