/*
Theme Name:Child Theme for Divi
Theme URI: http://www.diviwarriors.com/
Description: Child Theme For Divi
Author: Faisal H
Author URI: http://wordpress-style.net
Template: Divi
Version: 1.0
*/

/* Start your custom CSS bellow this comment
============================================ */

.cist-school-letter-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 1em 1em 0;
}

.cist-school-letter-link {
	/*border: 1px solid rgb(216, 233, 243);*/
	color: #0f4b8a;
	font-size: 14px;
	line-height: 1;
	min-width: 24px;
	padding: 6px 3px;
	text-align: center;
	text-decoration: none;
}

.cist-school-letter-link:hover,
.cist-school-letter-link:focus,
.cist-school-letter-link.is-active {
	background: #0f4b8a;
	border-color: #333;
	color: #fff;
}

.cist-school-section-head {
	border-bottom: 3px solid #72bbdf;
	border-top: 3px solid #72bbdf;
	clear: both;
	margin: 26px 0 18px;
	padding: 10px 0;
}

.cist-school-section-head h3 {
	color: #0f4b8a;
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	margin: 0;
	padding: 0;
}

.cist-school-photo img{
	width:200px;
}

.cist-school-photo {
	display: block;
}

.cist-business-directory {
	margin:18px 0;
}
.cist-business-category-section {
	margin: 0 0px;
}

.cist-business-description {
	margin-bottom:1em;
}

.cist-business-category-heading {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	list-style: none;
	background-color:#d8e9f3;
	border-bottom: 1px solid #72bbd9;
	border-top: 1px solid #72bbd9;
	margin: 6px 0 6px;
	padding: 10px 18px;
}

.cist-business-category-heading h3 {
	color: #0f4b8a;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
	padding: 0;
}

.cist-business-category-heading::-webkit-details-marker {
	display: none;
}

.cist-business-directory .cist-business-category-heading::after {
	content: "+";
	font-weight: 400;
	margin-left: 18px;
}

.cist-business-directory .cist-business-category-section[open] .cist-business-category-heading::after {
	content: "-";
}

.cist-business-category-panel {
	padding-bottom: 4px;
}

.cist-business-card {
	margin: 18px 18px 18px 0;
}

.cist-business-name {
	font-size: 20px;
	line-height: 1.25;
	margin-bottom: 6px;
	padding-bottom: 0;
}

.cist-business-category,
.cist-business-contact,
.cist-business-address,
.cist-business-contact-info {
	margin-bottom: 10px;
}

.cist-school-name a {
	color: inherit;
	text-decoration: none;
}

.cist-school-name a:hover,
.cist-school-name a:focus {
	text-decoration: underline;
}

.cist-school-profile {
	margin: 48px 0;
}

.cist-school-profile-back {
	display: inline-block;
	margin-bottom: 24px;
}

.cist-school-profile-layout {
	align-items: flex-start;
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(160px, 240px) minmax(0, 400px);
	justify-content: start;
	background-color:rgb(216, 233, 243);
	padding:18px;
}

.cist-school-profile-photo {
	grid-column: 1;
	grid-row: 1;
}

.cist-school-profile-photo img {
	display: block;
	height: auto;
	max-width: 100%;
}

.cist-school-profile-text {
	grid-column: 2;
	grid-row: 1;
}

.cist-school-profile-text h1 {
	margin-top: 0;
}

.cist-school-profile-department,
.cist-school-profile-alumni,
.cist-school-profile-phone {
	font-size: 17px;
	margin-bottom: 10px;
}

.cist-school-profile-section {
	padding-top: 0;
}

.cist-school-profile-section + .cist-school-profile-section {
	margin-top: 18px;
}

.cist-school-card {
	margin:0 0 36px 0;
}


@media (max-width: 700px) {
	.cist-school-profile-layout {
		grid-template-columns: 1fr;
	}

	.cist-school-profile-photo,
	.cist-school-profile-text {
		grid-column: auto;
		grid-row: auto;
	}

	.cist-school-profile-photo {
		max-width: 220px;
	}
}
