/* custom css for SBU's theme requirement*/

.node__content h1 {
	line-height: normal;
	font-size: 20px;
}

h1 {
	color: #990000;
	font-weight: bold;
	/* kalyan */
	font-family:museo-slab;
}

h2 {
	color: #000000;
	font-size: 1.5em;
	font-weight: bold;
}

a:hover {
	text-decoration: underline;
}

#content-aside {
	width: 200px;
}

.page-content {
	min-height: 75vh;
}
/*
 front page title
 */
.front-column-title {
    background-image: url(https://www.stonybrook.edu/commcms/_resources/images/rays/button-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 40px;
    line-height: 35px;
    padding: 7px 0px 1px 12px;
    color: #fff;
    letter-spacing: 0.025em;
    font-size: 18px;
    /*position: relative;*/
    margin: 0px 0px 20px;
    text-align: center;
    text-transform: uppercase;
    font-family: museo-slab;
}

.front-column-title h2 {
	display: block;
	font-size: 18px;
    font-weight: bold !important;
	margin: auto;
}

/* Override for college name header*/
div.logo-container {
    background: url("/sites/default/files/2021-09/white-rays-top-nav.jpg") no-repeat center center;
    background-size: 100% 100%;
    position: relative;
    padding-left: calc((100% - 960px)/2 + 23px);
}

a.college-name {
    text-decoration: none;
    color: #000;
    font-family: 'CenturyExpandedLTW01-Ro';
    line-height: 1.5rem;
}

h1.college-name {
	display: block;
	width: 100%;
	text-transform: none;
	font-size: 18px;
	font-family: 'CenturyExpandedLTW01-Ro';
	margin: 7px 0 0;
	-webkit-margin-before: 0px;
	padding: 16px 22px 14px 0;
	color: #000;
}

.serif {
    font-size:1em;
    font-style:normal;
    font-weight:normal;
	font-family: 'CenturyExpandedLTW01-Ro';
}

/* Members Only Area and Search */
.members-login p {
	margin-top: 1em;
	margin-bottom: 1rem;
}

.members-login a:hover {
	text-decoration: underline;
}

.members-login .default-button {
	display: inline-block;
	box-sizing: border-box;
	padding: 8px 18px 10px;
	font-family: "Effra W01", sans-serif;
	font-size: inherit;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
	cursor: pointer;
	border-radius: 2px;
	background: #900;
	border: 1px solid #800;
	color: #fff !important;
	margin: 0 0 5px;
	position: relative;
}

@media screen and (min-width: 960px) {
    div.top-most-header-rightside {
        position: absolute;
        top: 25%;
        right: 0%;
    }
}

/* SBU logo */
#header-brand div.container {
    margin: 0.67em auto;
    padding: 20px;
    
}


@media screen and (max-width: 1119px) {
    #header-brand div.container {
        max-width: 900px;
    }
}

@media screen and (min-width: 768px) {
    #header-brand a.department-name {
        font-size: 28px !important;
        border-left: 1px solid #333;
        padding-left: 16px;
    }
}

@media screen and (max-width: 767px) {
    #header-brand a.department-name {
        font-size: 24px !important;
        margin-top: 12px;
    }
}

#header-brand a.department-name {
    font-family: effra, Arial, "sans-serif" !important;
    font-weight:200;
    color: #1c1c1b; /*add the color */
    padding-top: 0;
    padding-bottom: 0;
}

#header-brand img.logo {
	height: 38px !important;
    width: 222px !important;
}

/* Department of Computer Science header override*/
#header-brand a.navbar-brand {
	font-weight: 500;
    font-size: 1.5rem;
    text-transform: none;
    text-decoration: none;
	margin-right: 0;
}

/* Front page banner */
#content-banner .banner-text-container {
	position: absolute;
    left: 10%;
    display: block;
    padding-top: 30px;
	z-index: 2;
}

#content-banner .banner-title {
	font-weight: 900;
	font-size: 2.8em;
	padding: 0vw 0vw;
	max-width: 600px;
    line-height: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 10px;
}

#content-banner .banner-secondary-text {
	padding: 0vw 0vw;
    max-width: 600px;
    line-height: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 10px;
}

main.front-page {
	background-color: #eee;
	padding-bottom: 24px;
}

/* Override for footer*/
/* Changes by Kazi 3.1.23 for fixing footer page size */
.footer-image-view-block {
       max-width: 2400px;
       margin: 0 auto;
}

.footerSeparator {
    background-image: url("/sites/default/files/2021-09/red-rays-full.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
}

footer#page-footer {
    background-image: url("/sites/default/files/2021-09/black-rays-full.jpg");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 0 !important;
    color: white !important;
}

footer#page-footer .container {
	max-width: none;
}

.region-footer-center {
	padding: 0 !important;
}

.footerText {
    color: white;
    text-align: center;
    font-family: effra, Verdana,Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
	line-height: 1.5rem;
    margin-top: 1em;
    margin-bottom: 1em;
}

/* Override bold and strong tags -> effra doesn't have bolder*/
b, strong {
    font-weight: bold;
}

/* Override fonts for body*/
body {
    color: black;
    font-family: effra, Verdana, Arial, Helvetica, sans-serif;
    font-size:	1rem;
	line-height: 1.5rem;
}

/* banner SEE MORE btn */
.btn-danger {
    color: white;
    background-color: #990000;
    border-color: #990000;
}

.btn-danger:hover {
    background-color: rgba(153,0,0,0);
    border-color: white;
}

/* spotlight columns */
.front-page #page-content-left .view-content,.front-page #content_main_middle .view-content,.front-page #page-content-right .view-content {
	height: 600px;
}

.spotlight-card {
	background-color: #eee;
}

.spotlight-btn {
	color: #990000 !important;
	background-color: white;
	font-family: effra;
	font-size: 18px;
	font-weight: normal;
}

.spotlight-btn:hover {
	color: white !important;
}

/* poloroid */

.front-page-poloroid a {
	width: 100%;
	height: 100%;
	font-family: effra;
	font-size: 1.6rem;
	text-align: center;
	color: #900;
	display: block;
	position: relative;
}

.front-page-poloroid a:hover {
	text-decoration: underline;
}

.front-page-poloroid .slick-slide {
	padding-left: 20px;
	padding-right: 20px;
}

.front-page-poloroid img {
	display: block;
	margin: auto;
	border-bottom: 10px solid #900;
}

.front-page-poloroid #slick-views-spotlight-block-2-1 {
	position: relative;
}

.poloroid-hover-cover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #900;
    height: 100%;
    width: 100%;
    margin: auto;
    opacity: 0;
    transition: .2s ease;
}

.front-page-poloroid .slick-slide {
	padding-top: 10px;
	margin-bottom: 5px;
}

.front-page-poloroid .slick-slide:focus {
	outline: none;
	box-shadow: 0px 0px 0px 2px #900 inset;
}

.front-page-poloroid .slick-slide:hover .poloroid-hover-cover {
	opacity: 0.3;
}

.front-page #content-after {
	background-color: #fff;
}

.front-page-poloroid {
	width: 1160px;
	margin: auto;
	padding-top: 30px;
	padding-bottom: 30px;
}

.front-page .slick-next, .slick-prev {
	font-size: 0;
	line-height: 0;
	top: 50%;
	height: 20px;
	transform: translate(0, -50%);
	cursor: pointer;
	color: transparent;
	border: none;
	outline: 0;
	background: 0 0;
}

.front-page .slick-next:focus, .slick-prev:focus {
	outline: none;
}

.front-page .slick-next {
	right: -25px;
	position: absolute;
}

.front-page .slick-next::before {
	content: "\f105";
	font-family: FontAwesome;
	font-size: 50px;
	color: #000;
	font-weight: normal;
	line-height: 1;
	opacity: .75;
}

.front-page .slick-prev {
	left: -25px;
	position: absolute;
}

.front-page .slick-prev::before {
	content: "\f104";
	font-family: FontAwesome;
	font-size: 50px;
	color: #000;
	font-weight: normal;
	line-height: 1;
	opacity: .75;
}

.btn-outline-danger:focus, .btn-outline-danger.focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, .show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
    background-color: #990000;
    border-color: #990000;
}

.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-danger.dropdown-toggle:focus {
	-webkit-box-shadow: none;
    box-shadow: none;
}

article.node img {
  max-width: 100%;
}

/* changed by Kalyan for faculty page 2.20.23 */
.img-width{
    width: 150px
}

/* changed by Kalyan for faculty page 2.20.23 */
.row-cols-2 > * {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: auto;
    max-width: max-content;
}

@media (min-width: 768px) {
    /* changed by Kalyan for faculty page 2.20.23 */
    .row-cols-md-4 > * {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: auto;
        max-width: max-content;
    }
}
