/*
[Table of contents]
1. Typography ----------------
2. Skip Content --------------
3. Header --------------------
4. Sidebar -------------------
5. Hero ----------------------
6. Footer --------------------
7. Modal --------------------
8. Cookie Alert -------------
*/

:root {
	/*--primary-color: #249A52;*/
	--primary-color: #676767;
	--secondary-color: #909090;
	--text-color: #000;
	--text-light-color: #fff;
	--highlight-color: #909090;
	--dark-primary-color: #262626;
}
/******************************************************************************
  Typography
*******************************************************************************/
html {
	overflow-y: scroll;
}
body {
	font-family: Helvetica, sans-serif;
}
@media (max-width: 767.98px) {
	.is-hidden {
		overflow: hidden;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
	}
}

input, select, button {
	color: var(--text-color);
}

.btn-primary,
.btn-secondary,
.btn-highlight {
	min-width: 170px;
	padding-top: 12px;
	padding-bottom: 12px;
	border-radius: 30px;
}

.btn-primary {
	color: var(--text-light-color);
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
	
	&:hover {
		color: var(--secondary-color);
		background-color: var(--text-light-color);
		border-color: var(--secondary-color);
	}
}

.btn-secondary {
	color: var(--text-color);
	background-color: var(--text-light-color);
	border-color: var(--text-light-color);
	
	&:hover {
		color: var(--text-light-color);
		background-color: var(--text-color);
		border-color: var(--text-light-color);
	}
}

.btn-highlight {
	color: var(--text-color) !important;
	background-color: var(--primary-color);
	border-color: var(--primary-color);

	&:hover {
		color: var(--primary-color) !important;
		background-color: var(--text-color);
		border-color: var(--primary-color);
	}
}

.btn-chevron {
	position: relative;

	.fa-chevron-right {
		position: absolute;
		right: 1rem;
		top: 50%;
		transform: translateY(-50%);
	}
}

.link-more {
	color: var(--text-color);
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2rem;
}

.link-default {
	color: var(--highlight-color);
	font-weight: bold;
	text-decoration: none;
}

.link-more:hover,
.link-default:hover {
	color: var(--primary-color);
	
	.fa-arrow-right-long {
		animation: arrow-float 0.5s ease-in-out infinite;
	}
}

.bg-primary {
	background-color: var(--dark-primary-color) !important;
}
.bg-secondary {
	background-color: var(--secondary-color) !important;
}

@keyframes arrow-float {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 767.98px) {
	.btn-primary,
	.btn-secondary,
	.btn-highlight {
		min-width: 130px;
	}
}

/******************************************************************************
  Skip Content
*******************************************************************************/
a.skip {
	position: absolute;
	top: -1000px;
	left: -1000px;
	height: 1px;
	width: 1px;
	text-align: left;
	overflow: hidden;
	z-index: 999;
	
	&:active,
	&:focus,
	&:hover {
		left: 0;
		top: 0;
		width: auto;
		height: auto;
		overflow: visible;
		z-index: 1021;
	}
}

/******************************************************************************
  Header
*******************************************************************************/
.header-brand {
	margin-top: -0.5rem;
}
.header-brand img {
	width: 280px;
	transition: opacity 500ms ease-out;
	
	&:hover {
		opacity: 0.8;
	}
}
.header-menu {
	display: flex;

	.navbar-toggler {
		background-color: var(--secondary-color);
		padding: 0 1.5rem;
		cursor: pointer;
		font-size: 36px;
		line-height: 0;
		border: none;
		box-shadow: none;
		border-radius: 0;
		color: var(--text-light-color);
	}
}

.header-nav {
  	gap: 40px;
}

.header-nav a {
	font-size: 1.2rem;
	text-decoration: none;
	
	&:hover{
		text-decoration: underline;
/* 		text-underline-offset: 1em;
		text-decoration-thickness: 2px;
		text-decoration-color: var(--highlight-color); */
	}
}

.navbar-menu {
	border: none;
	background: none;

	.fa-bars {
		font-size: 2rem;
	}
}

.navbar-toggler {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
	.header-navbar {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}
	.header-brand {
		margin-top: -1rem;
	}
	.header-brand img {
		width: 467px;
	}
	.header-link {
		width: 150px;
	}
}
@media (min-width: 992px) and (max-width: 1199.98px) {
	.header-brand img {
		width: 300px;
	}
}
/******************************************************************************
  Sidebar
*******************************************************************************/
.sidebar {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 5;
	top: 0;
	right: 0;
	background-color: var(--dark-primary-color);
	overflow-x: hidden;
	transition: 0.5s;
	padding-top: 60px;

	a {
		padding: 1rem 1rem 1rem 2rem;
		text-decoration: none;
		/* font-size: 25px; */
		color: #f1f1f1;
		display: block;
		transition: 0.3s;
		
		&:hover {
			/* color: #f1f1f1; */
			background-color: rgba(0, 0, 0, 0.2);
		}
	}

	.closebtn {
		position: absolute;
		top: 0;
		right: 0;
		padding: 1rem 2rem;
		font-size: 36px;
		line-height: 1;
		margin-left: 50px;
	}
}
/******************************************************************************
  Hero
*******************************************************************************/

.bg-hero {
	background-color: var(--secondary-color);
}

/* @media (min-width: 768px) {
	.bg-hero {
		background-image: url('/_resources/images/hero-background.jpg');
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
	}
} */


/******************************************************************************
  Homepage
*******************************************************************************/
/* .hero-homepage */
.hero-homepage {
    padding-top: 1.5rem;

    .tool-search {
        position: relative;
        width: 100%;
        max-width: 335px;
        margin: 0 auto;
    }
    .tool-ask-ai {
        position: relative;
        margin-top: 1rem;

        .btn {
            width: 100%;
            max-width: 335px;
        }
    }
    .form-control {
        padding: 16px 44px 16px 24px;
        border-radius: 30px;
    }
    .form-submit {
        background: none;
        border: none;
    }
    .form-submit {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
    }
    .figure {
        overflow: hidden;
        width: 100%;
        max-width: 1024px;
        height: 250px;
        vertical-align: bottom;
    }
}

/* .homepage-about */
.homepage-about {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* .homepage-donaors */
.homepage-donaors {
    .list {
        .item {
            margin-bottom: 1rem;
        }
    }
}

/* .homepage-support */
.homepage-support {
	.block {
		padding: 1.5rem;
    	background-color: #ffffffa1;
	}
	.video {
        position: relative;
    }
}

/* .footer-submission */
.footer-submission {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
	text-align: center;

    .group-button {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
	
	& + p {
		display: none;
	}
}

/* .footer-navigation */
.footer-navigation {
    text-align: center;
    
    .block {
        padding: 1.5rem;
    }

    .text {
        max-width: 500px;
        margin: 0 auto;
    }

    .nav-1 {
        background: #c2c2c2;
        background: linear-gradient(0deg,rgba(194, 194, 194, 1) 0%, rgba(235, 235, 235, 1) 100%);
    }

    .nav-2 {
        background: #EBEBEB;
        background: linear-gradient(0deg,rgba(235, 235, 235, 1) 0%, rgba(194, 194, 194, 1) 100%);
    }
	
	.nav-3 {
        background: #c2c2c2;
        background: linear-gradient(0deg,rgba(194, 194, 194, 1) 0%, rgba(235, 235, 235, 1) 100%);
    }
	
	& + p {
		display: none;
	}
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-homepage {
        padding-top: 3rem;
		
		.title {
			max-width: 600px;
			margin: 0 auto;
		}

        .tools {
            display: flex;
            justify-content: center;
        }
        .tool-search {
            margin: 0;
        }
        .tool-ask-ai {
            padding-left: 30px;
            margin-top: 0;
            margin-left: 30px;

            .btn {
                width: auto;
                height: 100%;
            }

            &::before {
                content: "";
                position: absolute;
                top: 50%;
                left: 0;
                transform: translateY(-50%);
                width: 1px;
                height: 50%;
                background-color: rgba(255, 255, 255, 0.5);
            }
        }
        .form-control {
            padding: 16px 44px 16px 24px;
            border-radius: 30px;
        }
        .form-submit {
            background: none;
            border: none;
        }
        .form-submit {
            position: absolute;
            top: 50%;
            right: 15px;
            transform: translateY(-50%);
        }
        .figure {
            overflow: hidden;
            width: 100%;
            max-width: 1024px;
            height: 250px;
            vertical-align: bottom;
        }
    }

    .homepage-about {
        padding-top: 3rem;
        padding-bottom: 0;

        .block {
            padding-left: 3rem;
            padding-right: 3rem;

            &::after {
                content: "";
                position: absolute;
                bottom: -75px;
                left: 0;
                width: 100%;
                height: 75px;
                background: white;
                clip-path: polygon(50% 100%, 0 0, 100% 0);
            }
        }

    }

    .homepage-donaors {
        padding-top: calc(2rem + 75px) !important;

        .title {
            position: relative;

            &::after {
                content: "";
                position: absolute;
                top: 50%;
                left: 0;
                right: 0;
                width: 100%;
                height: 1px;
                background-color: #6f6f6f; 
            }

            span {
                background-color: #0d6efd;
                padding: 0 15px;
                position: relative;
                z-index: 1;
            }
        }

        .list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px 50px;

            .item {
                flex: 0 0 auto;
            }
        }
    }

	.homepage-support {
		.block {
			padding: 3rem;
		}
	}

    .footer-submission {
        padding-top: 3rem;
        padding-bottom: 3rem;
        text-align: left;

        .block {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
		
		.title {
			max-width: 300px;
		}

        .group-button {
            flex-wrap: nowrap;
        }
    }
	
	.foot-navigation .block {
	  
	}

    .footer-navigation {
        .block {
            padding: 3rem;
			flex: 1 1 0;
        }
		
		/* Two elements */
		&:has(.block:nth-child(2):last-child) .block {
		  width: 50%;
		}

		/* Three elements */
		&:has(.block:nth-child(3):last-child) .block {
		  width: 33.33%;
		}
    }
}

/******************************************************************************
  About page
*******************************************************************************/
/* blockquote */
.my-qoute {
	.image {
		margin-top: 1.5rem;
		text-align: center;
	}
}

blockquote {
    flex: 1;
	font-size: 1.5rem;

	&::before,	
	&::after {
		position: relative;
		display: inline-block;
		font-family: 'Font Awesome 6 Sharp';	
		font-weight: 900;
		font-size: 1.5em;
		color: var(--secondary-color);
		line-height: 1;
	}
	&::before {
		content: '\f10d';
		top: -1rem;
		margin-right: 0.5rem;
	}	
	&::after {
		content: '\f10e';
		bottom: -1rem;
		margin-left: 0.5rem;
	}
}

@media (min-width: 992px) {
    .my-qoute {
        .text {
            order: 2
        }
        .image {
            order: 1;
            width: 320px;
			margin-top: 0;
        }
    }

    blockquote {
		font-size: 2rem;
	
		&::before,	
		&::after {
			font-size: 1.5em;
		}
	}
}
/******************************************************************************
  Footer
*******************************************************************************/
.footer {
	border-top: 1px solid #ccc;
	color: var(--text-light-color);
	text-align: center;

	.footer-brand img {
		width: 200px;
	}
	
	.footer-links {
		display: flex;
		flex-wrap: wrap;
		
		li {
			width: 50%;
			text-align: center;
		}
	}
	.link {
		text-decoration: none;
		
		&:hover{
			text-decoration: underline;
			text-underline-offset: 0.2em;
		}
	}
	.footer-bottom {
		padding: 1rem 0;
		background-color: #262626;
		font-size: 0.7rem;
	}
}

@media (min-width: 768px) {
	.footer {
		.footer-brand {
			margin-top: -1rem;
		}
		.footer-brand img {
			width: 380px;
		}
		.footer-links {
			gap: 20px;
			
			li {
				width: auto;
			}
		}
		.footer-bottom {
			font-size: 0.9rem;
		}
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {
	.footer-brand {
		margin-top: 0;
	}
	.footer-brand img {
		width: 300px;
	}
}
/******************************************************************************
  Modal
*******************************************************************************/
.top-right {
	position: absolute;
	right: 0;
	top: 0;
}

/******************************************************************************
  Cookie Alert
*******************************************************************************/
.cookiealert {
    position: fixed !important;
    bottom: 0; 
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 999;
    opacity: 0;
    border-radius: 0 !important;
    transform: translateY(100%);
	transition: all 500ms ease-out;
    color: #ecf0f1;
    background-color: rgba(0,0,0,.9);
	font-size: 0.8rem;
}
@media (min-width: 768px) {
	.cookiealert,
	.cookiealert .btn {
		font-size: 1rem;
	}
}
.cookiealert.show {
    opacity: 1;
    transform: translateY(0%);
    transition-delay: 1000ms;
}
.cookiealert a {
    text-decoration: underline;
    color: var(--text-light-color) !important;
}
.cookiealert .acceptcookies {
    margin-left: 0px;
	min-width: 80px;
}
.cookiealert .declinecookies {
	min-width: 80px;
}
#cookie-popup-alert #decline-button.btn-cookies {
    padding: 0;
    text-decoration: underline !important;
}


/******************************************************************************
  Video
*******************************************************************************/
.load-video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 112px;
	height: 112px;
	cursor: pointer;

	.icon {
		width: 100%;
		height: 100%;
	}
}

/******************************************************************************
  Search
*******************************************************************************/
/* Search Programs */
.programs-search {
	input, 
	select {
		width: 100%;
		padding: 1rem;
		border: none;
	}
	select {
		min-width: 200px;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		cursor: pointer;
	}
	.text-input-wrapper {
		position: relative;
	}
	.icon {
		width: 16px;
		position: absolute;
		top: 50%;
		right: 1rem;
		transform: translateY(-50%);
		color: var(--color-black);
		pointer-events: none;
	}
}
@media (max-width: 575.98px) {
	.programs-search {
		input, 
		select {
			padding: 0.5rem;
		}
	}
}

/* shows list */
.all-shows {
	margin-left: -1rem;
	margin-right: -1rem;

	.card {
		border: none;
	}
	
	.figure {
		min-height: 100px;
		background-color: var(--text-light-color);
	}

	.mix {
		/* width: 100%; */
		width: calc(100% / 2 - ((0.3rem) / 2));
		display: inline-block;
		vertical-align: top;
		/* margin-bottom: 1rem; */
	}
	
	.fail-message {
		text-align: center;
		opacity: 0;
		visibility: hidden;
	}
	&.mixitup-container-failed {
		.fail-message {
			opacity: 1;
			visibility: visible;
		}
	}
}
@media (max-width: 991.98px) {
	.all-shows { 
		margin-left: -0.3rem;
		margin-right: -0.3rem;
		
		.card-body {
			padding: 0.4rem 0.3rem;
		}
	}
	
}
@media (min-width: 992px) and (max-width: 1199.98px) {
	.all-shows .mix {
		width: calc(100% / 3 - ((1rem) / 3));
	}
}
@media (min-width: 1200px) {
	.all-shows .mix {
		width: calc(100% / 4 - ((1rem) / 4));
	}
}

/******************************************************************************
  Image Hover Effects
*******************************************************************************/
.image-hover-01 {
	.figure {
		overflow: hidden;

		img {
			-webkit-transform: scale(1);
			transform: scale(1);
			-webkit-transition: .3s ease-in-out;
			transition: .3s ease-in-out;

			&:hover {
				-webkit-transform: scale(1.1);
				transform: scale(1.1);
			}
		}
	}
}

/* load-video */
.load-video {
	img {
		opacity: 1;
		-webkit-transition: .3s ease-in-out;
		transition: .3s ease-in-out;

		&:hover {
			opacity: 0.5;
		}
	}
}

/* scroll-margin-top */
.scroll-mt{
	scroll-margin-top: 60px;
	scroll-snap-margin-top: 60px; /* iOS 11 and older */
}
@media (min-width: 768px) {
	.scroll-mt  {
		scroll-margin-top: 80px;
	}
}


/******************************************************************************
  Search Page
*******************************************************************************/
.faculty-search {
	.checkbox-wrapper {
		max-height: 200px;
		overflow: hidden;
	}
	.checkbox-wrapper.is-active {
		max-height: none;
	}
	.search-wrapper {
		padding: 1rem 0;
		background-color: #707070;
		color: #fff;
	}
	.filter-title {
		display: flex;
		justify-content: space-between;
		align-content: center;
		padding: 1rem 0;
	}
	.search {
		position: relative;
		padding: 0;

		label {
			font-size: 1.5rem;
		}
	}
	.form-submit {
		position: absolute;
		right: 0;
		bottom: 0;
		width: 42px;
		height: 42px;
		border: none;
		background: none;
		color: #BEBEBE;
		font-size: 1rem;
	}

	i[class*="fa-caret"] {
		font-size: 1rem;
	}
	h4[class*="js-order"] {
		cursor: pointer;
	}
}
.search-result {
	.row {
		padding: 1rem;
	}
	.row:nth-child(odd) {
		background-color: #fafafa;
	}
	.head-row {
		padding-right: 0 !important;
		padding-left: 0 !important;
		background-color: #707070 !important;
		color: #fff !important;
	}
	.head-text {
		margin-bottom: 0;
	}
}
#searchkey {
	padding: 0.5rem;
	font-size: 1rem;
}

@media (min-width: 768px) {
	.faculty-search {
		.search-wrapper {
			margin-bottom: 1.5rem;
			padding: 3rem 1.5rem;
		}
		.search label {
			min-width: 260px;
			font-size: 2rem;
		}
		.form-submit {
			width: 70px;
			height: 100%;
			font-size: 1.5rem;
		}
		.js-filter {
			pointer-events: none;
		}
	}
	.search-result {
		.row {
			padding: 1.5rem;
		}
		.head-row {
			padding-right: 1.5rem !important;
			padding-left: 1.5rem !important;
		}
	}
	#searchkey {
		padding: 1rem;
		font-size: 1.5rem;
	}
}
@media (max-width: 767.98px) {
	.filter-wrapper {
        position: fixed;
		top: 0;
        left: 100%;
        right: 0;
		bottom: 0;
		width: 100%;
        height: 100vh;
        overflow: hidden;
		z-index: 1050;
    }
	.filter-wrapper.is-active {
		left: 0;
	}
	.filter-inner {
        padding-top: 100px;
		background: #0000008a;
    }
	.filter-checkbox {
		height: calc(100vh - 185px);
		padding: 0 1rem 4rem;
		overflow-x: hidden;
		overflow-y: auto;
		background: white;
	}
	.filter-result {
		background: white;
		padding: 1rem;
	}
}
/******************************************************************************
  Bio page
*******************************************************************************/
.sns {
	gap: 10px;
	z-index: 10;
	
	li {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		background: var(--secondary-color);
		border-radius: 5px;
		color: var(--text-light-color);
		position: relative;
	}
	
	.btn-sns,
	.twitter-share-button,
	.twitter-share-button-rendered,
	.twitter-tweet-button,
	.fb-share-button,
	.fb_iframe_widget{
		position: absolute !important;
		opacity: 0 !important;
	}
}

@media (min-width: 768px) {
	.sns {
		margin-bottom: -40px;
	}
}

/******************************************************************************
  Others
*******************************************************************************/
.responsive-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

#directedit #de {
	color: var(--text-light-color);
	text-decoration: none;
	
	&:hover {
		text-decoration: underline;
	}
}