  @keyframes glowing {
    0% {
        filter: grayscale(1);
    }
    50% {
        filter: grayscale(1);
    }
    75% {
        filter: grayscale(0);
    }
    100% {
        filter: grayscale(1);
    }
}

@keyframes beating {
    0% {
        transform: scale(1);
    }
    70% {
        transform: scale(1);
    }
    75% {
        transform: scale(0.9);
    }
    80% {
        transform: scale(1.1);
    }
    85% {
        transform: scale(0.9);
    }
    90% {
        transform: scale(1);
    }

}

.glow2 {
    color: yellow;
    animation-name: glowing;
    animation-iteration-count: infinite;
    animation-duration: 3s;
    transition: ease all;
}

@keyframes beating {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2); /* Scale up to 1.2 times the original size */
    }
}

.beat {
    animation-name: beating;
    animation-iteration-count: infinite;
    animation-duration: 3s;
    transition: ease all;
}

html, body {
    overflow-x: hidden;
}

body {
    margin-top: 90px;
    font-family: sans-serif;
}

.font1, .btn, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Montserrat', sans-serif;
}

h2.title {
    font-size: 32px;
}

.font2 {
    font-family: 'Roboto', sans-serif;
}

sup {
    font-size: 0.7em;
}

img {
    max-width: 100%;
}
.inline-block {
    display: inline-block;
}

#logoCarousel img {
    max-height: 90px;
    object-fit: contain;
}

.img-bordered-bottom {
    border-bottom: solid #d31145 3px;
}

.border-top-primary {
    border-top: solid #d31145 2px;
}

.border-y-primary {
    border-top: solid #d31145 2px;
    border-bottom: solid #d31145 2px;
}

.bg-primary {
    background-color: #d31145 !important;
}

.bg-secondary {
    background-color: #fff965 !important;
}

.text-primary {
    color: #d31145 !important;
}

.text-secondary {
    color: #fff965 !important;
}

h2 {
    font-size: 2.3rem;
}

.whys {
    max-width: 980px;
    margin: 0 auto;
}

.whys .why {
    width: 180px;
    padding: 15px;
    box-sizing: border-box;
}

nav#navbar .navbar-brand img {
    height: 60px;
}

#mainpic {
    margin: 35px 15px;
    text-align: center;
}

#mainform {
    padding: 25px 25px 0 25px;
}

#mainform h2 {
    font-size: 24px;
}

#mainform .form-group {
    margin-bottom: 5px;
}

#mainform .tnc {
    margin: 0 -25px;
    padding: 25px 15px;
    text-align: center;
}

.btn-default {
    border-radius: 5px;
    border: 1px solid #CCC;
}

.btn-primary {
    background-color: #d31145;
    border: none;
}

.btn-primary:hover {
    background-color: #ea3c3b;
}

.btn-secondary {
    background-color: #fff965;
    color: #222222;
    border: none;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn-danger:hover {

}

.btn-danger {
    background-color: #830f3e;
}

.btn-warning, .btn-warning:hover {
    border: none;
}

.btn-warning, .btn-warning:active, .btn-warning:focus, .btn-warning:visited {
    background-color: #ff8027;
}

.btn-warning:hover {
    background-color: #cc2266;
}

section {
    padding: 55px 0;
}

section h3 {
    font-size: 20px;
}

.text-promo {
    font-size: 14px;
    line-height: 1.3em;
    text-transform: uppercase;
    border-left: solid 2px #d31145;
    padding: 10px;
}

nav#navbar.scrolled .text-promo {
    font-size: 14px;
    padding: 0 10px;
}

.navbar .container {
    max-width: 1200px;
}

.text-promo small {
    font-size: 13px;
}

.flag {
    position: relative;
    width: 140px;
    margin-top: -60px;
    margin-right: 5px;
}

.flag .text1 {
    font-size: 32px;
}

.flag .text2 {
    font-size: 18px;
}

.flag .flag-text {
    width: 140px;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    padding: 30px 5px 15px 5px;
    color: #ffffff;
    font-size: 34px;
    line-height: 0.8em;
    filter: drop-shadow(1px 1px 3px rgba(34, 34, 34, 0.5));
}

.flag .flag-text:after {
    position: absolute;
    content: "";
    display: block;
    margin-left: -5px;
    width: 140px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: -1;
    background-image: url('/enquiries/city/images/flag-tail.png');
}

.nav-link {
    color: #d31145;
}

#cta1 {
    background: linear-gradient(to bottom, #ffffff, lightyellow);
    box-shadow: rgba(0,0,0,0.3) 0 0 10px;
}

#about {
    box-shadow: rgba(0,0,0,0.3) 0 0 10px;
}

#scholarships {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.7)), url("/enquiries/city/images/bg1.webp");
    background-attachment: fixed;
}

.programmes.programmes2 > .programme {
    color: #000000;
}

ul.programmes2 li {
    font-weight: bold;
    margin-bottom: 8px;
}

ul.programmes2 li > span {
    font-weight: normal;
    margin-left: 2px;
    margin-right: 2px;
    padding-left: 5px;
    padding-right: 5px;
}

.programmes-wrap h3 {
    margin-left: 25px;
}

#programmes .nav-tabs {
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 25px;
}

#programmes .nav-link {
    color: #ffffff;
}

#programmes .nav-link.active {
    color: #d31145;
    font-size: 20px;
}

.nav-link.tab-primary,
.nav-link.tab-secondary {
    background-color: #f3f3f3;
    color: #222222 !important;
    padding: 15px;
}

.nav-pills .tab-primary.nav-link.active {
    background-color: #d31145 !important;
    color: #fff965 !important;
    border-radius: 0;
}

.nav-pills .tab-secondary.nav-link.active {
    background-color: #fff965 !important;
    border-radius: 0;
}

#programmes {
    background: linear-gradient(to bottom, rgba(205, 0, 0, 0.9), rgba(205, 0, 0, 0.8)), url("/enquiries/city/images/city.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: right top;
    background-repeat: no-repeat;
}

#programmes2 {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.7)), url("/enquiries/city/images/bg1.webp");
    background-attachment: fixed;
}

.d-md-feature {
    display: flex;
    align-items: center;
}

.d-md-feature .img-wrap {
    width: 30%;
    box-sizing: border-box;
    padding: 15px;
}

.d-md-feature .text-wrap {
    width: 70%;
}

#programmes .nav-item {
    padding-left: 0;
    padding-right: 0;
}

.navbar {
    background-color: #FFF;
    border: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    color: #333;
}

.navbar h4 {
    font-family: 'Montserrat', sans-serif;
    margin: 10px 0 10px;
}

.navbar-header {
    float: none;
}

.navbar-brand {
    padding-top: 0;
}

.navbar-middle {
    display: inline-block;
    margin-left: 25px;
    margin-top: 15px;
    line-height: 1.2em;
    font-size: 1.5em;
}

.navbar-middle a:hover {
    border-bottom: 1px dotted;
    color: #f9a520;
}

.navbar-right {
    margin: 5px 0 0;
    font-size: 1.8em;
    margin-left: 15px;
    text-align: right;
}

#masthead {
    padding: 0;
    background-image: url(/enquiries/city/images/bg.jpg?v=1);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.icon-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.icon-boxes > .icon-box {
    width: 280px;
    margin-bottom: 35px;
    text-align: center;
}

.icon-boxes > .icon-box i {
    color: #d31145;
}

#contact {
    border-bottom: 2px dotted #EEE;
    background-color: #f9a520;
}

#contact p {
    margin-bottom: 20px;
}

#contact .contact-text {
    font-size: 1.2em;
}

#contact .embed-map {
    height: 100%;
}

#contact .embed-map iframe {
    min-height: 500px;
}

#footer {
    min-height: 90px;
    background-color: #333;
    color: #fff;
}

.powered-by {
    font-size: 13px;
}

.powered-by span {
    margin-left: 15px;
}

.sharing-icons {
    text-align: right;
}

.sharing-icons a img {
    width: 40px;
}

.d-lg-flex .map {
    width: 50%;
}

/**** POPUP Notification ****/
.popup {
    z-index: 9999;
    position: absolute;
    top: 120px;
    width: 100%;
}

.popup h4 {
    margin-top: 0;
    font-size: 1.2em;
}

.popup-content {
    margin: auto;
    width: 600px;
    max-width: 100%;
    background: #FFF;
    border: 5px solid #CCC;
    -moz-box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
}

.popup .error .popup-close {
    background: #C00;
    padding: 10px 20px;
    text-align: center;
    color: #FFF;
    cursor: pointer;
}

.popup .error .popup-close:hover {
    background: #D00;
}

.popup .success .popup-close {
    background: #0A0;
    padding: 10px 20px;
    text-align: center;
    color: #FFF;
    cursor: pointer;
}

.popup .success .popup-close:hover {
    background: #0B0;
}

#popup ul li a {
    color: #f00;
}

/**** POPUP Notification - Ends ****/

.navbar-default .navbar-nav > li > a {
    color: #830f3e;
    font-weight: bold;
    padding: 10px 8px;
}

.navbar-light .navbar-nav .nav-link {
    white-space: pre;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    color: #f9a520;
    background-color: #830f3e;
}

.navbar-nav {
    font-size: 15px;
}

.fa-stack {
    padding: 12px 14px;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    border: 3px solid #3296bc;
    line-height: 0.8em;
}

.navbar h6 {
    color: #830f3e;
}

.title, .title2 {
    text-transform: uppercase;
}

.title:after {
    content: "";
    display: block;
    margin: 15px auto;
    border-bottom:  #d31145 2px solid;
    width: 70px;
}

.title.text-white:after {
    content: "";
    display: block;
    margin: 15px auto;
    border-bottom:  gold 2px solid;
}

.accordion-button {
    color: #d31145;
}

#why .bordered {
    border: rgba(131, 15, 62, 0.2) 2px dashed;
    border-radius: 5px;
}

#carouselFacilities .d-flex {
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

#carouselFacilities .d-flex > img {
    width: 250px;
    height: 140px;
    object-fit: cover;
    margin: 2px;
}

#testimonials .carousel-control-prev {
    margin-left: -55px;
}

#testimonials .carousel-control-next {
    margin-right: -55px;
}

#testimonials img {
    padding: 10px;
    height: 350px;
    object-fit: cover;
}

#testimonials .carousel-inner {
    max-width: 1140px;
    margin: auto;
}

#testimonials .card-title {
    font-size: 19px;
    color: #d31145;
}

#testimonials .card-subtitle {
    font-size: 16px;
}

#testimonials .card-body {
    text-align: left;
}

.table-programmes {
    width: 100%;
}

.table-programmes th,
.table-programmes td {
    padding: 8px 5px;
    text-align: left;
    font-size: 14px;
    border: 1px solid #eeeeee;
}

.table-programmes tr > td:first-child {
    font-weight: bold;
}

.table-programmes tr:nth-child(odd) {
    background-color: rgba(211, 17, 69, 0.06);
}

.table-programmes th {
    padding: 8px 5px;
    background-color: #eeeeee;
    color: #000000;
    min-width: 100px;
}

.programmes {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.programmes .programme {
    width: 22%;
    margin: 10px;
    background-color: #ffffff;
    box-shadow: rgba(0,0,0,0.1) 0 0 3px;
}

.programmes.programmes2 .programme {
    width: 30%;
}

.programmes .programme .img-wrap {
    border-bottom: 3px solid goldenrod;
}

.programmes > .programme:nth-child(even) .img-wrap {
    border-bottom: 3px solid #cd0000;
}

.programmes .programme .img-wrap > img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: ease all 0.2s;
}

.programmes .programme:hover .img-wrap > img {
    object-position: bottom;
    transition: ease all 1s;
}

.programmes.programmes2 .programme .img-wrap > img {
    width: 100%;
    object-fit: cover;
}

.programmes .programme .text {
    padding: 15px 10px;
    color: #555555;
    font-weight: normal;
}

.programmes .programme .text > h5 {
    display: block;
    font-size: 18px;
    text-decoration: none;
    color: #d31145;
    margin-bottom: 5px;
}

.programmes .programme .text .mqa {
    font-size: 13px;
    color: #666666;
}

#tours {
    background: linear-gradient(40deg, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.75)), url("/enquiries/city/images/bg-facilities.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

.yt-videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

.yt-videos > a {
    display: block;
    max-width: 180px;
    margin: 15px;
    color: #ffffff;
    text-decoration: none;
}

.yt-videos > a i,
.yt-videos > a:hover {
    color: yellow;
}

.yt-videos > a img {
    filter: sepia(0.3);
    transition: ease all 0.3s;
}

.yt-videos > a:hover img {
    filter: sepia(0);
    transform: scale(1.15);
    transition: ease all 0.6s;
}

.yt-videos h6 {
    margin-top: 5px;
    font-size: 14px;
    font-weight: normal;
}

.programmes-table {
    width: 100%;
}

.programmes-table td {
    padding: 8px 5px;
    text-align: left;
}

.programmes-table > tbody > tr:nth-child(even) {
    background-color: rgba(205, 0, 0, 0.03);
}

.programmes-table .programme-name  {
    font-weight: bold;
}

.programmes-table .intake,
.programmes-table .duration,
.programmes-table .mqa {
    font-size: 14px;
}

.programmes-table tr.highlight {
    font-size: 18px;
    color: #000000;
}

.programmes-table tr:not(.highlight) {
    display: none;
}

.highlight > td:first-child {
    border-left: 2px solid #cd0000;
    padding-left: 15px;
}

#accordionProgrammes .card-header {
    padding: 0 !important;
}

#accordionProgrammes .card-header .btn-link {
    text-align: left;
    display: block;
    width: 100%;
    padding: 15px;
    text-decoration: none;
    background-color: #fff965;
    color: #cd0000;
}

#accordionProgrammes .card-header .btn-link.collapsed {
    background-color: #ffffff;
    color: #000000;
}

#accordionProgrammes .card-header .btn-link i {
    margin-right: 10px;
}

.utm-logo {
    margin-bottom: 15px;
    max-width: 200px;
}

.campuses h5 {
    margin: 15px 0 5px 0;
    color: #d31145;
}

.campuses img {
    border-bottom: 3px solid #d31145;
}


/* Medium */
@media (max-width: 1199px) {

    .navbar > .container {
        width: 100%;
    }

    .navbar-middle {
        margin-left: 30px;
        margin-top: 20px;
        line-height: 1.2em;
        font-size: 1.4em;
    }
}

@media (min-width: 1199px) {

    #hidden-title {
        display: none;
    }

    #programmes .nav-pills .nav-item,
    #programmes .nav-pills .nav-item {
        display: flex;
        align-items: end;
    }

    #programmes .nav-pills .tab-primary.nav-link.active,
    #programmes .nav-pills .tab-secondary.nav-link.active {
        padding-top: 25px;
        font-size: 18px;
    }

}


@media (max-width: 1137px) {
    #hidden-nav {
        display: none;
    }

    .navbar h4 {
        font-size: 28px;
    }
}

@media (min-width: 992px) {
    .text-md-left {
        text-align: left !important;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0;
    }
}

/* Small */
@media (max-width: 991px) {

    .navbar-brand > img {
        height: auto;
    }

    .promo-wrap {
        display: none;
    }

    .programmes .programme {
        width: 45%;
    }

    .mobile-badges {
        list-style: none;
        padding-left: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mobile-badges > li {
        color: #ffffff;
        background-color: #d31145;
        padding: 5px  8px;
        margin: 2px;
    }

    #why {
        text-align: center;
    }

    #why ul {
        list-style: none;
        padding-left: 0;
    }

    .navbar-middle {
        margin-left: 0;
        font-size: 1.2em;
    }

    .navbar-right {
        font-size: 1.6em;
        margin-top: 0.3em;
    }
    .nav-link.tab-primary, .nav-link.tab-secondary {
        font-size: 16px;
        padding: 15px 15px;
    }
}

@media (max-width: 867px) and (min-width: 599px) {
    .navbar h4 {
        display: none;
    }

    .navbar-middle {
        margin: 0;
        padding: 15px;
        font-size: 1.6em;
        float: right;
        text-align: right;
    }
}

/* Extra Small */
@media (max-width: 767px) {

    .programmes .programme,
    .programmes.programmes2 .programme {
        width: 100%;
        margin: 5px;
    }

    .d-md-feature {
        display: block;
    }

    .d-md-feature .img-wrap {
        width: 100%;
    }

    .d-md-feature .text-wrap {
        width: 100%;
    }

    #programmes .desc {
        display: none;
    }

    .table-programmes tr {
        padding: 15px;
        display: block;
        border-left: 1px solid #fff965;
    }

    .table-programmes tbody > tr:first-child {
        display: none;
    }

    .table-programmes td {
        padding: 0;
        border: none;
        display: block;
        width: 100%;
        font-size: 14px;
    }

    .table-programmes tr > td:first-child {
        font-size: 18px;
    }


    .table-programmes tr > td:nth-child(2):before {
        content: "Level: ";
    }

    .table-programmes tr > td:nth-child(3):before {
        content: "Mode: ";
    }

    .table-programmes tr > td:nth-child(4):before {
        content: "Credit Hours: ";
    }

    .table-programmes tr > td:nth-child(5):before {
        content: "Duration: ";
    }

    .table-programmes tr > td:nth-child(6):before {
        content: "Scholarship: ";
    }

    .five-stars {
        margin: 0 auto;
    }

    .programmes-table tr {
        display: block;
        padding: 15px;
    }

    .programmes-table td {
        display: block;
        width: 100%;
        padding: 5px;
    }

    .whys .why {
        width: 150px;
    }

    .flag {
        margin-top: -50px;
    }

    .programmes .programme,
    .programmes.programmes2 .programme {
        width: 100%;
        margin: 5px 15px;
    }

    .promo-wrap {
        width: 65%;
    }

    .flag-wrap {
        width: 35%;
    }

    .flag .flag-text {
        font-size: 28px;
        line-height: 1em;
    }

    .flag .flag-text,
    .flag .flag-text:after {
        width: 120px;
    }

    .flag .text1 {
        font-size: 26px;
    }

    .flag .text2 {
        font-size: 14px;
    }

    section#programmes {
        padding-left: 0;
        padding-right: 0;
    }

    #programmes .nav-item,
    #programmes .nav-link {
        width: 100%;
    }

    #programmes .nav-link {
        border: 1px solid #ffffff;
        border-radius: 5px;
    }

    #programmes .nav-item {
        padding: 5px;
    }

    #programmes .nav-link.active {
        font-size: 16px;
    }

    #programmes .intake {
        color: #d31145;
        font-weight: bold;
    }

    .d-lg-flex .map {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    body {
        margin-top: 0;
    }

    #mainform {
        margin-bottom: -25px;
    }


    .navbar-middle {
        margin: 0;
        padding: 15px;
        float: right;
        text-align: right;
    }

    .navbar-right {
        display: none;
    }

    #progs .tab-content {
        padding-top: 20px;
    }

    .powered-by, .sharing-icons {
        text-align: center;
        margin: 10px 0;
    }

    .powered-by span {
        display: block;
    }

    #carousel .carousel-caption {
        padding: 30px 20px 50px;
    }

}

/* Super Extra Small */
@media (max-width: 599px) {

    .navbar {
        position: relative;
        height: auto;
        margin-bottom: 0;
    }

    .navbar-middle br {
        display: none;
    }

    .navbar-brand {
        float: none;
        display: block;
        width: auto;
        text-align: center;
        height: 70px;
    }

    .navbar-brand > img {
        display: inline;
    }

    .navbar-middle {
        float: none;
        text-align: center;
        display: block;
        margin-top: 10px;
        font-size: 1.2em;
    }

    .navbar-right {
        float: none !important;
        text-align: center;
        display: block;
        margin-top: -20px;
        padding: 10px;
    }

    #progs .col-xs-6 {
        width: 100%;
    }

}

@media(min-width: 1200px) {

    .navbar {
        transition: ease all 0.5s;
        padding-top: 15px;
    }

    .glow {
        color: yellow;
        animation-name: glowing;
        animation-iteration-count: infinite;
        animation-duration: 3s;
        transition: ease all;
        text-transform: uppercase;
        display: block;
        font-weight: bold;
        font-size: 20px;
    }

    nav#navbar.scrolled .navbar-brand img {
        transition: ease all 1s;
        max-height: 60px;
    }

    nav#navbar.scrolled {
        transition: ease all 0.5s;
        padding: 15px 0;
    }



    .nav-item {
        padding-left: 10px;
        padding-right: 10px;
    }
    .navbar-nav > .nav-item:not(:last-child) {
        border-right: rgba(131, 15, 62, 0.15) 1px dotted;
    }

    .navbar-nav > .nav-item:hover {
        background-color: rgba(228, 132, 23, 0.05);
    }

    .navbar-nav .nav-link:hover {
        color: #e48417 !important;
    }
}
