@import url("https://use.typekit.net/rmh5zwa.css");
.social-media-panel {
    display: grid;
    grid-template-columns: repeat(4, 250px);
	gap:12px;
    margin: 0 auto;
    font-family: Effra, sans-serif;
}

.social-media-center {
    display: grid;
    padding: 3rem 0 4rem;
    background-color: #dedede;
}

.title-hero {
	text-align: center !important;
    padding: 8rem 0;
    background: linear-gradient(0deg, rgba(255,255,255,0.4),rgba(255,255,255,0.7)), url(https://www.stonybrook.edu/commcms/_todd2/_images/social-media-cebter-background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
	background-position: 50% 50%;
}

.title-header {
    background-color: rgba(255, 255, 255, 0.75);
    max-width: 1000px;
	height:225px;
    margin: 0 auto;
    padding: 1rem;
	border:1px solid #333;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.title-hero h1 {
	text-align: center !important;
    color: #900 !important;
    font-size: 60px !important;
    font-weight: bold;1important;
    margin: 1rem 0 .5rem !important;
}

.title-hero h2 {
    font-family: "Museo Slab","museo-slab", "Museo Slab W01" !important;
    color: #333;
	font-size: 30px !important;
	font-weight: 600 !important;
}
.title-hero p{
	font-size: 16px !important;
}
.title-hero a {
    color: #900;
    text-decoration: none;
    font-weight: 400 !important;
}

.social-media-type {
    text-align: center;
    max-height:54px;
    color: #fff;
    background-color: #777;
}

.social-media-type i {
    color: #fff;
	font-size: 1.2rem;
	padding-right: 10px;
}

.social-media-type h3 {
    padding: 1.1rem 1rem !important;
    font-family: "Museo Slab","museo-slab", "Museo Slab W01" !important;
    font-weight:500 !important;
    text-transform: uppercase  !important;
    font-size: 1.3rem  !important;
    width: auto !important;
    display: block !important;
    margin: 0 !important;
}

.social-media-type a:link,
.social-media-type a:visited {
    color: #fff;
    text-decoration: none;
    display: block;
}

.main-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.connect-banner {
    background-image: linear-gradient(to right, #6c000d, #d52027);
    text-align: center;
    padding: 1rem 0;
}

.connect-title,
.social-media-list-title {
    font-size: 32px !important;
    text-align: center;
    color: #900;
    margin-top: 0px;
	font-family: "Effra", "Effra W01", Helvetica, sans-serif !important;
}
.connect-title{
	padding: 1rem 0 !important;
}
.social-media-list-title{
	padding: 4rem 0 1.5rem !important;
}
table.social-media-table {
    max-width: 100%;
    width: 100%;
    padding: 1rem;
    border: 1px solid #fff;
    border-collapse: collapse;
}

table.social-media-table tr {
    padding: 1rem;
    border-bottom: 1px solid #900;
}

table.social-media-table tr:last-child {
    border-bottom: none;
}

table.social-media-table td {
    padding: .5rem;
    text-align: center;
}

table.social-media-table td:nth-of-type(1) {
    width: 75%;
    text-align: left;
}

table.social-media-table h3 {
    font-family: "Museo Slab","museo-slab", "Museo Slab W01" !important;
    font-size: 26px;
    line-height: 1em;
    letter-spacing: 0;
    font-weight: 400;
    color: #900;
    text-transform: none;
    margin-top: 0;
    margin-bottom: 0px !important;
}

.social-media-table img {
    max-width: 96px !important;
    max-height: 32px !important;
}

.social-media-list {
    max-width: 70%;
    margin: auto;
    padding: 1rem 0;
}

.social-flex-container {
    display: flex;
            flex-wrap: wrap;
            /* Allows items to wrap to the next line */
            justify-content: space-between;
            /* Distributes space between items */
            gap: 5px;
            /* Optional: Adds a gap between items */
            max-width: 1500px;
            margin: 0 auto;
}

.social-flex-item {
    display: flex;
            flex-direction: row;
            /*gap: 5px;*/
            padding: 1rem;
            border-top: 1px solid #c5c5c5;
            height: 57px;
            align-items: center;
            flex-basis: calc(50% - 10px);
            /* Sets each item to roughly 50% width, accounting for gap */
            /* Or, for simpler equal width without accounting for gap directly: */
            /* width: 50%; */
            /* max-width: 50%; */
            box-sizing: border-box;
            /* Ensures padding and border are included in the width */      
            text-align: center;
}
.social-flex-item:nth-of-type(22), .social-flex-item:nth-last-of-type(1){
	/*border-bottom:1px solid #c5c5c5;*/
}
.social-flex-item .title{
    width:70%;
    text-align:right;
}

.social-flex-item h3 {
    margin: 0 !important;
    text-align: right;
    padding-right: 1rem !important;
    font-family: "Museo Slab","museo-slab", "Museo Slab W01" !important;
    font-size: 16px !important;
    line-height: 1em !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    color: #000 !important;
    text-transform: none !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
	display:inline-block !important;
	width: auto !important;
}
.link-bank{
    display: flex;
    flex-direction: row;
    width:30%;
}
.social-flex-item a:link {
    display: block;
}

.social-flex-item i {
    color: #777;
    padding: 0 .5rem;
    font-size: 1.3rem;
	transition: 200ms linear 50ms;
}

/* fontawesome hover effects  */
.fa-facebook-f:hover{
	color:#0866ff;
}
.fa-linkedin-in:hover{
	color:#0a66c2;
}
.fa-x-twitter:hover{
	color:#0f1419;
}
i.fa.fa-instagram:hover{
	background-image: linear-gradient(to right, #fd0b70 , #1266de);
	background-clip: text;
}
@media screen and (max-width:480px) {
    .social-media-panel {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
.social-flex-container {
    max-height: fit-content;
		width:400px !important;
    margin: auto;
}
	.social-flex-item{
		height: 85px;
	}
	.social-mediatype h3{
		font-size: 1rem  !important;
	}
	.link-bank{
		flex-wrap: wrap;
		gap: 5px;
	}
    .main-content {
        max-width: 400px;
        margin: auto;
    }
	.title-hero h1 {
    font-size: 36px !important;
    margin: 1rem 0 .5rem !important;
}
	.title-hero h2 {
    font-size: 20px !important;
}
	.social-media-type h3 {
    font-size: 1rem  !important;
}
}
@media screen and (max-width:720px)
	{
		.social-flex-item {
    display: flex;
    height: 78px;
			flex-direction:column;
			flex-basis:100%;
			width:100%;
}
		.social-flex-item .title {
    width: 100%;
    text-align: center;
}
		.link-bank {
    display: flex;
    flex-direction: row;
    width: 100%;
			justify-content:center;
}
		.social-flex-item h3{
			text-align:center;
		}
	}

@media screen and (max-width:1024px) {
	.social-media-panel {
        grid-template-columns:repeat(2, 1fr);
        gap: 1rem;
    }
	.social-flex-container {
    max-height: fit-content;
		max-width:800px;
    margin: auto;
}
}
@media (min-width: 1025px) and (max-width:1200px){
	.social-flex-item {
    width:400px;
}
	.link-bank {
    flex-wrap: wrap;
}
	.social-media-panel {
    grid-template-columns: repeat(4, 200px);
}
}