/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/* Begin Program Styles */

.accordion-item {
    border-bottom: none;
}

.accordion-header {
    cursor: pointer;
    padding: .5em;
    background: #f2f2f2;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    display: block;
    width:100%;
    transition: background .3s;
}

.accordion-header.active {
    background: #e0e0e0;
}

.chevron {
    transition: transform .3s ease;
}

.accordion-header.active .chevron {
    transform: rotate(180deg);
}

.accordion-content {
    display: none; /* closed by default */
    padding: 1em;
    background: #fff;
    border-bottom: none;
}

.subject-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.course-item {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.course-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/*
.image-overlay {
  position: relative;
  background-image: url('your-image.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  overflow: hidden;
}
*/

.image-overlay::before {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top/right/bottom/left: 0 */
  background-color: rgba(39, 99, 144, 0.7);
}


/* modal popup styles */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
}

.custom-modal-content {
  background: #fff;
  max-width: 500px;
  margin: 8% auto;
  padding: 30px;
  border-radius: 10px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.fancy-header .fancy-title {
    letter-spacing:.2em;
}

.fancy-title-head {
    max-width:45%;
}

.section-head {
    text-transform:uppercase;
}

article.programs > .post-thumbnail {
	display:none;
	visibility:hidden;
}

.sw-acf-field-label {
	display:block;
	text-transform:uppercase;
	color: var(--the7-accent-color);
	font-weight: var(--the7-h4-font-weight);
}

.vcenter {
    justify-content:center;
    align-items:center;
}

.hero-content {
    container-type:inline-size;
    margin-top:-50px !important;
    margin-bottom:90px !important;
}

.hero-content-block {
    background-color:#FFFFFF; 
    padding:15px; 
    width:95%;
}

.hero-content-row {
    display:flex;
    flex-direction:row;
    align-items:center;
    border-bottom:2px solid #EDEDED;
    padding-bottom:8px;
    padding-top:8px;
}

.hero-content-row:last-child {
    border-bottom:none;
}

.hero-content-details {
    width:100%;
}

.tax-subjects-list ul {
	list-style-type:none;
	margin-left:0;
}

.tax-subjects-list ul::after {
	clear:both;
}

.tax-subjects-list ul li {
	float:left;
}

.tax-subjects-list ul li::after {
	content: ", \00a0";
}

.tax-subjects-list ul li a {
	pointer-events: none;
	text-decoration:none;
	color: var(--the7-base-color);
}

/* Program Page Social Media Icons */

.soc-ico {
    margin-top:15px;
}

.content .soc-ico a:before {
    background-color: var(--kiis-color-semester);
}

.content .soc-ico a:not(:hover) .soc-font-icon {
    color:#FFFFFF;
}

.content .soc-ico a:before {
    background-color: var(--kiis-color-semester);
}

.soc-ico a:hover:before {
    width:35px;
    height:35px;
}

#footer .soc-ico a:hover .soc-font-icon {
    color: var(--the7-base-color);
}

.soc-ico a {
    margin-right:6px;
    width:35px;
    height:35px;
    line-height:35px;
}

#footer .soc-ico a:after {
    background-color: rgba(255, 255, 255, 0.15);
}

.soc-ico a:after {
    margin-right:6px;
    width:35px;
    height:35px;
    line-height:35px;
}

.soc-ico a:before {
    width:35px;
    height:35px;
}
/*

div.social ul {
	margin:12px 0 0 0; 
    padding:0; 
	list-style:none;
}
div.social ul li {
	display:inline-block; 
	font-size:1.5rem; 
	margin:0 0.5rem;
}
div.social ul li a {
	color:#FFFFFF;
	text-decoration:none;
}
div.social ul li a span.hidden {
	display:none;
}
div.social ul li a:hover {
	color:#FFFFFF;
}

.soc-font-icon {
	margin-left:-30px;
}
    */

li.nav-item {
	/* background-color: #E5B561; */
    background-color: var(--kiis-color-semester);
	border-radius: 200px;
	font-size: 24px;
	padding: 8px;
}

.director-list ul li {
	list-style-type: none;
}

.director-list ul {
	margin-left:0;
}

.full-width-container {
    width: 100vw;
    padding: 0;
    margin-left: calc(50% - 50vw);
    text-align: center;
}

.container {
    display:block;
    margin:0 auto;
    max-width:1230px;
}

.container-flex {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1230px;
}

.layout-column-2 {
    position:relative;
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    min-width: 450px;
}

.program-overview-grid {
    display:grid;
    /* grid-template-columns: 1fr 1fr; */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    column-gap:30px;
    width:100%
}

.program-overview-column {
    padding:20px;
    box-sizing: border-box;
}

.program-overview-background {
    position:relative;
}

.program-overview-overlay {
    /* background-color:rgba(24, 112, 140, 0.8); */
    background-color: rgba(39, 99, 144, 0.7);
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.directors-column {
    display:grid;
    padding:10px;
    /* grid-template-columns: 50% 50%; */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.directors-box {
    background-color:#EDEDED;
    padding:20px;
}

.directors-image {
    float:left;
    height:257px;
    margin-right:20px;
}

.directors-content {
    float:left;
}

.courses-column {
    width:100%;
    display:grid;
    padding:10px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}



.courses-box {
    padding:20px;
    background-image: linear-gradient(to top, rgba(237,237,237,1), rgba(255,255,255,1));
    padding:0;
}

.courses-headline {
    min-height:60px;
    background-color:#18708C; 
    width:100%; 
    margin:0;
}

.courses-headline h5 {
    padding:10px;
}

.courses-faculty-member {
    margin-bottom:10px;
}

.courses-content {
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    padding:20px;
}

.courses-syllabus {
    margin-top:auto;
}

.excursion-block {
    display:block; 
    width:100%; 
}

.excursion-image {
    position:relative;
    display:block; 
    height:450px; 
    background-repeat:no-repeat; 
    background-size:cover;
	background-position:center bottom;
}

.excursion-image:hover {
    cursor:pointer;
}

.excursion-heading {
    min-height:30px;
    padding:20px;
    background-color: rgba(255, 255, 255, 0.65);
}

.excursion-content {
    position:absolute;
    bottom:0;
    left:0;
    min-height:150px;
    width:100%;
    line-height:1.3em;
    color:#FFFFFF;
    overflow:hidden;
    padding:10px;
    display: flex;
    flex-direction: column; /* Stacks children vertically */
    justify-content: flex-end; /* Pushes content to the bottom */
    align-items: center; /* Centers content horizontally */
}

.excursion-button {
    display: inline-flex;
    color:#FFFFFF;
    align-items:center;
    gap:16px;
}

.excursion-button:link { color:#FFFFFF;}
.excursion-button:visited { color:#FFFFFF;}
.excursion-button:hover { color:#FFFFFF;}
.excursion-button:active { color:#FFFFFF;}

.excursion-button:after {
    content: "➜";
    color:#000000;
    font-size: 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.whats_included {
    display: flex;
	flex-wrap: wrap; 
    flex-direction: row;
    justify-content: center;
    max-width: 100%;
    margin: 30px auto 10px auto;
    padding: 10px 20px;
}

.whats-included-background {
  background: linear-gradient(rgba(39,99,144,0.7), rgba(39,99,144,0.7)) , var(--image-url) center center;
  background-size: cover;
  color: white;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
/*
.whats-included-overlay {
    background-color:rgba(24, 112, 140, 0.8);
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
    */

.whats_included .item {
	flex: 1 1 calc(33.33% - 20px); 
	box-sizing: border-box;
	padding: 20px;
}

.whats_included .item .icon {
	margin: auto 20px auto 0;
	text-align:center;
	padding-bottom:20px;
}
.whats_included .item i {
	color: #FFFFFF;
  font-size: 40px;
}
.whats_included .item p {
	text-align:center;
	color: #FFFFFF;
    line-height:   1.2em;
	font-size:1.2em;
	font-weight:600;
}

.mobile-full-width {
        padding:60px;
        margin-bottom:40px;
    }

.twoColumns{
    -webkit-column-gap: 20px;
       -moz-column-gap: 20px;
            column-gap: 20px;
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
}

.student-voices-float {
    float:left;
}

.student-voices-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 275px;
    margin:25px 0;
    gap:70px;
}

.student-voices-content .image-container {
    width:50%;
}

.student-voices-content .content-container {
    width:50%; 
    text-align:left; 
    float:right;
}

.student-voices-bkgd {
    display:block; 
    background-repeat:no-repeat; 
    background-size:cover;
    padding:30px 0;
}

.student-voices-image {
    display:block; 
    width:100%; 
    height:275px;
    background-repeat:no-repeat; 
    background-size:cover;
}

.related-post-block {
    display:block; 
    width:100%; 
}

.related-post-image {
    display:block; 
    height:300px; 
    background-repeat:no-repeat; 
    background-size:cover;
}

.related-post-content {
    min-height:75px;
    background-image: linear-gradient(#FFFFFF,#EDEDED);
    padding:20px;
}

.flexslider ul.slides {
    margin-left:0;
}

.flexslider ul.slides li a:link{text-decoration:none;}
.flexslider ul.slides li a:visited{text-decoration:none;}
.flexslider ul.slides li a:hover{text-decoration:none;}
.flexslider ul.slides li a:active{text-decoration:none;}

.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

/* Fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

/* Program Search / List */
.search-container {
    display:flex;
    justify-content:center;
}

.search-item {
    margin-right:8px;
}

.select2-container {
    margin-right:10px;
}

.program-search-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0;
    max-width: 1200px;
    margin: auto;
}

.program-search-grid-item {
    background-color: #FFFFFF;
    padding: 0;
    /* text-align: center; */
    border: 1px solid #EDEDED;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.program-search-grid-image {
    margin-bottom:15px;
    overflow:hidden;
}

.program-search-grid-content {
    padding:20px;
}

.program-search-button {
    /* background-color:#85AD9D !important; */
    border:1px solid !important;
    background-color: var(--kiis-color-summer) !important;
    border-color: var(--kiis-color-summer) !important;
    font-family: var(--the7-btn-s-font-family) !important;
    font-size: var(--the7-btn-s-font-size) !important;
    font-weight: var(--the7-btn-s-font-weight) !important;
    line-height: var(--the7-btn-s-line-height) !important;
}

.program-search-button:hover {
    /* background-color:#85AD9D !important; */
    border:1px solid !important;
    background-color: var(--kiis-color-summer);
    border-color: var(--kiis-color-summer);
}

select.program-search-select {
    height:35px;
    padding:10px;
}

select.program-search-select .open {
    height:100px;
}

select.program-search-select option {
    display: none;
}

select.program-search-select option:first-of-type, .show {
    display: block;
    height:200px;
}

.select2-selection__rendered {
    display:block !important;
}

.button-apply-footer {
    font-size:1.3em !important;
    font-weight:600 !important;
    padding:15px 20px !important;
}

.footer-headline {
    font-size:3em;
    margin:30px 0;
}

/* Home Page - Featured People */
.vc_custom_1762371599931 {
    padding-left:0px !important;
    padding-right:0px !important;
    padding-top:0px !important;
    padding-bottom:0px !important;
}

/* Responsive Styles */

@media (max-width: 990px) {
    .courses-content {
        /*min-height:600px;*/
    }
}

@media (max-width: 778px) {
    
    /* Home Page - Featured People */
    .vc_custom_1762371599931 {
        padding-left:15px !important;
        padding-right:15px !important;
    }

    .search-container {
        flex-direction: column;
    }

    .search-item {
        margin-right:0;
    }
    /*
    .select2-container {
        margin-right:0;
    }
    */

    .program-search-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .program-search-select {
        width:100% !important;
    }

    .program-search-button {
		width:100%;
	}

    .container-flex {
        display:block;
    }

    .mobile-full-width {
        display:block;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        text-align: center;
        margin-bottom:40px;
        padding: 20px 0 40px 0;
    }

    .layout-column-2 {
        min-width:390px;
        padding:20px 0;
    }

    .hero-content {
        margin-top:300px !important;
    }

    .hero-content-block {
        width:inherit;
    }

    .fancy-title-head {
        max-width:100%;
    }
    /* 
    .fancy-header .fancy-title {
        font-size: 50px !important;
        line-height: 60px !important;
    }
    */

    .program-overview-background {
        min-height:600px !important;
    }

    .courses-column {
        width:inherit;
    }

    .courses-content {
        /*min-height:475px;*/
    }

    .whats_included {
        flex-direction:column;
    }

    .whats_included .item {
        flex:none;
    }

    .twoColumns {
        -webkit-column-count:1;
        column-count:1;
    }

    .student-voices-float {
        float:none;
    }

    .student-voices-content {
        flex-direction:column !important;
        height:auto;
        gap:0;
    }
    /*
    .student-voices-content .image-container {
        width:100%;
    }
    

    .student-voices-content .content-container {
        width:100%;
    }
    */

    .mobile-main-nav .next-level-button svg {
        color: var(--kiis-color-main-blue) !important;
        fill: var(--kiis-color-main-blue) !important;
    }
}

@media (max-width: 395px) {
    .layout-column-2 {
        min-width:370px;
        padding:20px;
    }

    .search-container {
        margin-left:12px;
    }

    /*
    .program-search-button {
        width:338px;
    }
    */
}

@media (min-width: 778px) {
    .courses-column {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:1000px) and (min-width:778px) {
    .fancy-header .wf-wrap {
        padding-top:0 !important;
        text-align:center;
    }
    
    .hero-content-right {
        margin-top:100px;
    }

    .fancy-title-head {
        max-width:100% !important;
    }

    .fancy-header .hgroup {
        margin-top:-100px;
    }
}
.courses-content {
	height: unset;
}
/* End Program Styles */