/* 
* HWCOE Faculty Research Styles
*/

.facrespostimg {
    margin: auto;
    float: none;
}

.fancyboxcont {
    display: none;
}

.fancybox-opened {
    width: 60% !important;
}

.fancybox-inner {
    width: 100% !important;
}

.fancybox-opened .fancybox-skin {
    padding: 0px !important;
}

html.fancybox-lock {
    overflow-y: scroll !important
}

.popupcont {
    display: flex;
}

.popupcont {
    line-height: 25px;
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-bottom: 20px;
    padding-top: 25px;
    text-align: justify;
    font-family: "gentona", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: #000;
}

.popupcont p {
    text-align: left;
}

.facrescont {
	width: 100%;
}
p.co-func-fancy-op {
    margin: 0;
}

.faculty-research-tab {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

.facresbox {
    min-height: 280px;
    padding: 10px;
    width: 250px;
    margin: 0 5px 10px;
    background: rgba(255, 255, 255, 0.40);
    -moz-box-shadow: 2px 2px 4px rgba(0, 0, 0, .30);
    -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, .30);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .30);
}

.facresbox:hover {
    background: rgba( 0, 0, 0, 0.15);
    -moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, .20);
    -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, .20);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .20);
}

.fitimage {
	width: 230px;
	height: 345px;
}

.facresbox img {
    width: 100%;
	height: 100%;
	object-fit: cover;		
}

.facresbox a, .facresbox a:hover {
    text-decoration: none !important;
    color: #000;
}

.facresbox h1 {
    margin: 0 0 5px;
	padding: 10px 0 0;
    letter-spacing: 0;
    line-height: 27px;
	text-transform: none;
    text-align: center;
    font-size: 18px;
	font-weight: 400;
    font-family: "gentona", "Helvetica Neue", Helvetica, Arial, sans-serif;
    min-height: 54px;
	color: #fff;
	background: #00529b;
}

.facresbox p {
    margin-bottom: 0 !important;
    font-size: 14px;
    text-align: center;
}

.fancyboxcont {
    padding: 0px;
    width: 75%;
    max-width: 1100px;
    background: #FAF8F2 url(../img/bg-texture.png)
}


@media(max-width:1030px) {
    .popupcont {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        align-items: center;
    }
    .popupcont-img {
        margin-right: 0;
    }
    .popupcont img {
        width: 100%;
    }
    .popupcont h1 {
        text-align: center;
    }
}


@media(max-width:767px) {
    .fancybox-opened {
        width: 85% !important;
        left: 7% !important;
    }
}


@media(max-width:460px) {
	.facresbox p {
		font-size: 15px;
	}
	.popupcont h1 {
        font-size: 34px;
        line-height: 40px;
    }
}