@font-face {
    font-family: 'IcoMoon';
    src: url(vendors/icomoon/icomoon.eot);
    src: url(vendors/icomoon/icomoon.eot) format("embedded-opentype"), url(vendors/icomoon/icomoon.woff2) format("woff2"), url(vendors/icomoon/icomoon.woff) format("woff"), url(vendors/icomoon/icomoon.ttf) format("truetype"), url(vendors/icomoon/icomoon.svg) format("svg");
    font-weight: 400;
    font-style: normal;
}

@media (min-width: 1200px) {

    .mt-xl-6 {
        margin-top: 4rem!important;
    }

}

:root {
    --color-blue: #00205b;
    --color-light-text: #a5a5a5;
    --color-light-blue: #1b3e8f;
    --color-yellow: #ffc845;
    --color-gray: #e9e9e9;
}

.px-sm-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
}

html {
    scroll-behavior: smooth;
}

html:focus-within {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    scroll-behavior: smooth;
}

::-moz-selection { /* Code for Firefox */
    color: #fff;
    background: #1b3f8f;
}

::selection {
    color: #fff;
    background: #1b3f8f;
}

p {
    line-height: 1.6;
    padding-left: 0 !important;
}

.breadcrumb {
    margin-top: 0.5rem;
}

blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
}

ul , ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h2.header {
    font-size: calc(12px + (55 - 12) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 300;
    color: #00205b;
}

h2.header > hr {
    width: 120px;
    background-color: #ffc845;
    margin-left: auto;
    margin-right: auto;
	border: 2px solid #ffc845;
  	border-radius: 2px;
    opacity: unset;
    margin-top: 1.5rem;
}

h6.header-top {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 0.8125rem;
    margin-bottom: 1rem;
    color: #707070;
    text-transform: uppercase;
}

@media (min-width: 1919px) and (max-width: 1600px) {

}

@media (max-width: 1200px) {
    h2.header > hr {
        border: 1px solid #ffc845;
    }

    h6.header-top {
        font-size: 10px;
    }
}

@media (max-width: 768px)  {
    h2.header {
        font-size: 32px;
    }

    h6.header-top {
        font-size: 9px;
        letter-spacing: 2px;
    }
}


@media (max-width: 425px) {
    h2.header {
        line-height: 2.2rem;
    }
}

a {
    text-decoration: none;
    color: #1b3f8f;
}
a:hover {
    color: #1b3f8f;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

.button-link {
    font-size: 24px;
    text-decoration: none;
    display: inline-block;
    background-color: #fff;
    border: 1px #1b3f8f solid;
    margin: 1px 3px;
    padding: 5px 12px;
    margin-top: 15px;
}
.button-link.small {
    font-size: 18px;
}

.button-link:hover {
    background-color: #1b3f8f;
    color: #fff;
}

.button-link.dark {
    color: #fff;
    background-color: #1b3f8f;
    border: 1px #1b3f8f solid;
}

.button-link.dark:hover {
    color: #1b3f8f;
    background-color: #fff;
    border: 1px #1b3f8f solid;
}



.nav-home {
    width: 100%;
    height: 0;
    z-index: 1000;
    padding: 0;
    background-color: transparent;
}

#backgroundVideo {
    display: block;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    min-width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;

    top: 0;
    bottom: 0;
    width: 100%;

}

#backgroundVideo video {
    /* Make video to at least 100% wide and tall */
    min-width: 100%;
    min-height: 100%;

    /* Center the video */

    top: 50%;
    left: 50%;
    /*transform: translate(-50%,-50%);*/

    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate3d(0px, 0px, 0px);
}


#backgroundVideo::after {
    content:"";
    position: absolute;
    width: 100%;
    height: 99%;
	
    /*background-color: rgba(0, 0, 0, 0.22);*/	
	background: linear-gradient(to bottom, black 10%, transparent 40%, black);  /*linear-gradient(to bottom, black 10%, transparent 90%);*/
	opacity: 0.7;
    z-index: 100;
    left: 0;
    top: 0;
}

@media (max-width: 425px) {

    #backgroundVideo video {
        height: 400px;
    }

}

.logo-left {
    top: 60px;
    left: 30px;
    position: relative;
    width: 300px;
    height: 100px;

    background-image: url("assets/images/aitchison-logo-new3.svg");
	
    background-position: left;
    background-repeat: no-repeat;
    background-size: 300px auto;
}

@media (max-width: 768px) {
    /*.logo-left {
        width: 65px;
        height: 110px;
        top: 0px;
        background-size: 200px auto;
    }*/

}

@media (max-width: 425px) {
    /*.logo-left {
        top: -15px;
        left: 25px;
        width: 150px;
        background-size: 150px auto;
    }*/
}

.years-135 {
    color: #fff;
    top: 30px;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
}


.years-135 > img {
    color: #fff;
    width: 300px;

}

@media (max-width: 1024px) {

    .years-135 > img {
        width: 300px;

    }
}

@media (max-width: 768px) {
    .years-135 {
        top: 20px;
    }

    .years-135 > img {
        width: 260px;

    }
}

@media (max-width: 425px) {

    .years-135 > img {
        width: 0px;

    }
}

.news-alert {
    display: flex;
    flex-wrap: wrap;
	
}

.swiper-slide {
    height: 60px;
    display: flex;
}

.swiper-slide a {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    /*color: #fff;*/
	color: #00205b;
    font-size: 21px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 3.3em;
	overflow: hidden;
}

.news-ticker-title {
    flex-basis: fit-content;
    vertical-align: middle;
    margin-top: auto;
    margin-bottom: auto;
}

.news-ticker-title h5,
.news-ticker-title h5 a {
    /*color: #fec10d;*/
	color: #8e1537;
    margin-bottom: 2px;
    text-decoration: none;
}

.news-ticker {
    height: 60px;
    margin: 0;
    flex-basis: max-content;
}

@media (max-width: 768px) {
    .swiper-slide a {
        font-size: 14px;
    }
}

@media (max-width: 425px) {
    .news-ticker {
        height: 80px;
    }
    .swiper-slide a {
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .swiper-slide a {
        font-size: 10px;
    }
}



.page-contents {
    padding-top: 1.5rem!important;
}



button.owl-next:hover,
button.owl-prev:hover {
    background-color: #EAA9B0;
    color: #fff;
}


.home-section {
    margin: 40px -12px;
}

.divider {
    height: 3rem;
    background-color: transparent;
}

.divider-small {
    height: 2rem;
    background-color: transparent;
}

@media (max-width: 1024px) {
    .divider {
        height: 2rem;
    }
}

@media (max-width: 768px) {
    .divider {
        height: 1rem;
    }
}

#discover-us .owl-dots {
    margin-top: 10px;
	top: 93%;
    /*bottom: 0;*/
    position: absolute;
    width: 100%;
}

.news-carousel .owl-dots {
    margin-top: 10px;
    top: 93%;
    width: 100%;
}

#discover-us .owl-dots .owl-dot.active span,
.news-carousel .owl-dots .owl-dot.active span{
    background: transparent;
	
}


button.owl-next, button.owl-prev {
    font-size: 2.5rem;
    background: none;
    margin: 0;
    padding: 0;
    color: #8E1537;
    border: 1px solid #8E1537;
    border-radius: 20%;
    width: 3rem;
    height: 3rem;
    position: relative;
}


.discover-us > .owl-prev {
    width: 15px;
    height: 100px;
    position: absolute;
    top: 40%;
    margin-left: -20px;
    display: block !important;
    border:0px solid black;
}

.discover-us > .owl-next {
    width: 15px;
    height: 100px;
    position: absolute;
    top: 45%;
    right: -25px;
    display: block !important;
    border:0px solid black;
}
.discover-us.owl-prev button, .discover-us.owl-next button {transform : scale(1,6); color: #ccc;}


.owl-carousel span {
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;

}
.owl-theme .owl-dots .owl-dot span{
	background-color: #fff;/*#ffc845;*/
	width: 10px;
	height: 10px;
}
.owl-carousel .active span {	
	width: 4px;
	height: 4px;
    background-color: transparent;
    border: 3px solid #ffc845;
    padding: 4px;
    border-radius: 5%;
    font-size: 0;
    color: transparent;
    
    position: relative;
    top: 2px;

}

.owl-carousel .active span:before {

    content: '';
    background-color: transparent;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;

}

#featured-news > .owl-theme .owl-dots .owl-dot span {
    background-color: #001952;
}

#featured-news > .owl-carousel .active span {
    border: 3px solid #ffc845;
    background-color: transparent !important;
}

@media (max-width: 425px) {
    #discover-us .owl-dots {
        bottom: -15px;
    }
}

.news-alert {
    color: #fff;	
    background-color: #ffc845;
	height: 65px;
	z-index: 100;
}

.news-alert div > h5 {
    font-size: 21px;
    font-weight: 600;
	color: #8e1537 !important;
    text-transform: uppercase;
    line-height: 3.2em;
}

.back-arrow, .next-arrow {
    font-size: 3.2rem;
    cursor: pointer;	
    margin: 0 3px;
}

#css3menu1 {
    display: block;
    width: 70px;
    height: 60px;
    position: fixed;
    float: right;
    right: 20px;
    top: 20%;
    transform: translate(-50%, -50%);

    font-size: 24px;
    line-height: 54px;
    z-index: 9999999;
    text-align: center;
    cursor: pointer;
    background-color: #8E1537;
}

#university-placements {
    display: inline-block;
}

#university-placements .card {
    display: inline-block;

    width: 250px;
}


.backtotop {
    position:fixed;
    right:50px;
    bottom:50px;
    cursor:pointer;
    width:40px;
    height:40px;
    background-color:#1b3e8f;
    text-indent:-9999px;
    display:none;
    z-index: 1000;
}

.backtotop 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;
}

.backtotop:hover {
    background-color:#ffc845;
    opacity:1;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}

@media (max-width: 1599px) {
    .backtotop {
        bottom:40px;
    }
}

@media(max-width:768px) {
    .backtotop {
        right: 2.5rem;
    }
}

@media (max-width: 576px) {
    .backtotop {
        bottom: 59px;
    }
}

/* Down Arrow | SHAKE */
@-webkit-keyframes shake {
    0%   { top: 41%; }
    50% { top: 47%; }
    100% { top: 41%; } }
@-moz-keyframes shake {
    0%   { top: 41%; }
    50% { top: 47%; }
    100% { top: 41%; } }
@-o-keyframes shake {
    0%   { top: 41%; }
    50% { top: 47%; }
    100% { top: 41%; } }
@keyframes shake {
    0%   { top: 41%; }
    50% { top: 47%; }
    100% { top: 41%; } }
/*END SHAKE*/

.scroll-down {
    position: absolute;
    bottom: 40pt;
    color: #fff;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    z-index: 101;
    right: 110px;


    background-repeat: no-repeat;
    background-position: center center;
    text-indent: -999px;
    height: 65px;
    width: 65px;
    display: block;
    /*background-color: #c81f267a;*/
    /*border-radius: 50%;*/
    -webkit-transition: background .4s ease;
    -moz-transition: background .4s ease;
    -o-transition: background .4s ease;
    transition: background .4s ease;
}
.scroll-down h4 {

    padding: 0 !important;
    display: block;
    height: 65px;
    width: 65px;
    /*border: 2px #c81f26 solid;*/
    border-radius: 50%;
    z-index: 3;

}

.scroll-down h4:after {
    content: " ";
    position: absolute;
    color: transparent;
    border-left: 2px solid #ffc845;
    border-bottom: 2px solid #ffc845;
    display: block;
    height: 25px;
    width: 25px;
    top: 45%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -webkit-animation: shake 1s ease infinite;
    -moz-animation: shake 1s ease infinite;
    -o-animation: shake 1s ease infinite;
    animation: shake 1s ease infinite;
}

@media (max-width: 1024px) {
    .scroll-down {
        bottom: 35px;
        right: 100px;
    }
}

@media (max-width: 768px) {
    .scroll-down {
        display: none;
    }
}

.left-arrow,
.right-arrow {
    padding: 0 !important;
    display: block;

    z-index: 3;
}

.left-arrow:after {
    content: " ";
    color: transparent;
    border-left: 2px solid #ffc845;
    border-top: 2px solid #ffc845;
    display: block;
    height: 21px;
    width: 21px;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}


.right-arrow:after {
    content: " ";
    color: transparent;
    border-right: 2px solid #ffc845;
    border-bottom: 2px solid #ffc845;
    display: block;
    height: 21px;
    width: 21px;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.prev {
    /*    top: 21px;
        left: 16px;
        height: 100%;
        width: 50%;
        cursor: pointer;
        position: relative;
    */
        height: 100%;
        cursor: pointer;
        display: inline-block;
        padding-top: 20px;
    }
    
    .next {
    /*    top: 0;
        left: 38px;
        height: 100%;
        width: 50%;
        cursor: pointer;
        position: relative;
    */
        height: 100%;
        cursor: pointer;
        display: inline-block;
        padding-top: 20px;
    }

    .left-arrow, .right-arrow {
        padding: 0 !important;
        display: block;
        z-index: 3;
    }

.box-shadow-1 {
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 20%);
    transition: box-shadow 0.1s ease-in-out;
}
.box-shadow-2 {
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 30%);
    transition: box-shadow 0.1s ease-in-out;
}

.box-shadow-3 {
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 40%);
    transition: box-shadow 0.1s ease-in-out;
}
.box-shadow-4 {
    box-shadow: 0 0 40px 0 rgb(0 0 0 / 50%);
    transition: box-shadow 0.1s ease-in-out;
}
.box-shadow-5 {
    box-shadow: 0 0 50px 0 rgb(0 0 0 / 60%);
    transition: box-shadow 0.1s ease-in-out;
}



@media (max-width: 1024px) {
    .news-highlights {
        padding: 0 .8rem;
    }

    .news-heading {
        font-size: calc(1.2rem + .6vw);
    }
}

@media (max-width: 425px) {
    .news-box {
        margin: 1rem;
    }

    .news-heading {
        height: auto;
    }
}


.medium-link {
    font-size: 14px;
}

.medium-link:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 2px;
    width: 30px;
    margin: -1px 0 0 7px;
    background-color: #ffc845;
    -webkit-transition: ease 0.3s;
    -o-transition: ease 0.3s;
    transition: ease 0.3s;
}

.medium-link:hover:after {
    width: 46px;
    background-color: #002c77;
}


.large-link {
    font-weight: 800;
    font-size: 20px;
}

.large-link:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 2px;
    width: 38px;
    margin: -1px 0 0 7px;
    background-color: #ffc845;
    -webkit-transition: ease 0.3s;
    -o-transition: ease 0.3s;
    transition: ease 0.3s;
}

.large-link:hover:after {
    width: 56px;
    background-color: #002c77;
}

.arrow-up2:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 2px;
    width: 38px;
    margin: -1px 0 0 7px;
    background-color: #ffc845;
    -webkit-transition: ease 0.3s;
    -o-transition: ease 0.3s;
    transition: ease 0.3s;

}

.breadcrumb-bar {
    position: relative;
    background-color: #ffc845;
    z-index: 200;
}

.breadcrumb {
    margin-top: unset;
    margin: 0.2rem 0;
}


.breadcrumb-item+.breadcrumb-item::before {
    content: "\2022";
}
@media (min-width: 1921px) {
	.logo-left {
        width: 300px;
    	height: 100px;
        top: 100px;
		left: 100px;		
        background-size: 300px auto;
    }		
}
@media (max-width: 1920px) {
	.logo-left {
        width: 300px;
        height: 100px;
        top: 80px;
		left: 100px;
        background-size: 300px auto;
    }
}
@media (max-width: 1440px) {	
    .logo-left {
        width: 300px;
        height: 100px;
        top: 60px;
		left: 100px;
        background-size: 300px auto;
    }

}
@media (max-width: 1024px) {
	.logo-left {
        width: 300px;
        height: 100px;
        top: 60px;
		left: 100px;
        background-size: 300px auto;
    }
}
@media (max-width: 768px) {
	.logo-left {
        width: 250px;
        height: 100px;
        top: 24px;
		left: 39px;
        background-size: 250px auto;
    }
}
@media (max-width: 600px) {
	.logo-left {
        width: 114px;
    	height: 100px;
    	top: 8px;
    	left: 35px;
    	background-size: 115px auto;
    }
}


/*Calendar in News room*/
.calendar .calendar-header {
    padding-top: 10px;
    padding-bottom: 6px;
    background-color: var(--color-blue);
}

.calendar .time-period {
    color: #fff;
    line-height: 1.1;
    font-size: 10.5pt;
}

.calendar .year {
    font-size: 3.5rem;
    font-weight: 300;
    width: auto;
    color: var(--color-yellow);
    line-height: .8;
}

.calendar .arrows {
    height: 100%; margin-top: auto; margin-bottom: auto;
}


@media (max-width: 1024px) and (min-width: 769px) {
    .calendar .time-period {
        font-size: 8pt;
    }

    .calendar .year {
        font-size: 2.7rem;
    }

    .prev {
        top: 18px;
        left: 10px;
    }

    .next {
        left: 27px;
    }

}

@media (max-width: 425px) {
    .calendar {
        padding: 0 24px;
    }
}

/*End Calendar in News room*/


@media (max-width: 425px) {
    .news-box {
        /*margin: 1rem;*/
    }

    .news-heading {
        height: auto;
    }
}


.page-banner {
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    height: 350px;
}



.banner-text {
    height: 100%;
    position: relative;
}
.banner-heading {
    font-size: 5rem;
    font-weight: 200;

    margin: 0;
    position: absolute;


    bottom: 0;
    -ms-transform: translateY(8px);
    transform: translateY(8px);
    line-height: .9;
    color: #ffc845;
    left: 0;
    top: 279px;
    padding-left: 12px;
    z-index: 100;
    text-transform: uppercase;

    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;

}



@media(max-width: 1600px) {
    .banner-heading {
        top: 285px;
        font-size: 4.5rem;
        -ms-transform: translateY(7px);
        transform: translateY(7px);
    }
}



@media(max-width: 1200px) {
    .banner-heading {
        top: 285px;
        font-size: 4rem;
    }
}


@media(max-width: 1024px) {
    .banner-heading {
        top: 292px;
        font-size: 3.7rem;
        transform: translateY(6px);
    }
}


@media(max-width: 768px) {
    .banner-heading {
        margin: 0;
        top: 305px;
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .banner-heading {
        margin: 0;
        top: 323px;
        font-size: 2rem;
        -ms-transform: translateY(3px);
        transform: translateY(3px);
    }
}

.show-hide {
    display:none;
}

.news-links, .news-links ul {
    position: sticky;
    top: 0;
}

.admissions-link {

    background-color: #ececec;
}
.admissions-link >li> a {
    color: #000;
}

.admissions-link > li .active {
    color: #fff;
    background-color: #00205b;
}

hr.yellow {
    width: 120px;
    background-color: #ffc845;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #ffc845;
    border-radius: 2px;
    opacity: unset;
    margin-top: 1.5rem;
}

.table-dark {
    --bs-table-bg: #293594;
    --bs-table-striped-bg: #3245b6;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #3a53d3;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #1e38c0;
    --bs-table-hover-color: #fff;
    color: #fff;
    border-color: #3a53d3;
}


.table-dark-2nd {
    --bs-table-bg: #369;
    --bs-table-striped-bg: #3a73af;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #4786ce;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #307cc9;
    --bs-table-hover-color: #fff;
    color: #fff;
    border-color: #4786ce;
}
