/*!
 * Qatar University Homepage Layout
 * Copyright 2015 Qatar University.
 * Created: 			20-01-2015
 * Last Modified: 		20-09-2015
 * --------------------------------
 * !This Style file only controls the layout!
 */
/* Homepage Specific Start */
#showarea_wrapper .text-holder {
	position: relative;
	font-size: 12px;
}
#showarea_wrapper .heading {
	font-size: 1.55em;
}
@media only screen and (min-width : 991px) {
	#showarea_wrapper .item img {
		width: 100%;
	}
	#showarea_wrapper .text-holder {
		position: absolute;
		bottom: 0;
		width: 100%;
		zoom: 1; /* Triggers "hasLayout" in IE 7 and lower */
		padding: 25px;
	}
	#showarea_wrapper .heading {
		font-size: 2.7em;
	}
	#showarea_wrapper .carousel-indicators {
		margin: 0;
		left: auto;
		right: 10px;
		width: auto;
		bottom: 5px;
	}
}
#banner .carousel-indicators {
    margin: 0;
    left: initial;
    right: 10px;
    width: auto;
    bottom: 0;
    background: rgba(0,0,0,0.5);
	padding: 6px;
    line-height: 0;
}
#banner .carousel-indicators li,
#banner .carousel-indicators li.active {
	margin: 0;
}
.arrow-right {
	width: 0; 
	height: 0; 
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 10px solid #00718f;
	position: absolute;
	right: -10px;
}
#announce-slider .close {
	position: absolute;
	right: 0;
	top: 0;
}
.carousel-indicators li {
	background-color: rgba(255,255,255,0.6);
	border: 0;
	margin: 3px;
	width: 15px;
	height: 15px;
}
.carousel-indicators .active {
	width: 15px;
    height: 15px;
	margin: 3px;
}
#prog_finder {
	padding: 15px 0;
}
#prog_finder .glyphicon-search {
	padding: 6px 12px;
    font-size: 16px;
	margin-right: 10px;
}
.flash_msg .row {
	position: relative;
}
.flash_msg span {
	display: block;
	line-height: 45px;
	padding-left: 20px;
	padding-right: 50px;
	font-size: 1.7em;
}
.flsh-msg-cls {
	position: absolute;
	right: 0;
	top: 0;
	width: 45px;
	height: 100%;
	border: 0;
	background: url(/file_source/qu/global/images/close.png) center #006d85 no-repeat;
}
#stories_wrapper article img {
	width:100%;
}
#stories_wrapper .story-thumb {
	display: block;
	padding: 25% 0;
	margin: 10px 0;
	background-size: cover;
	background-position: center;
}
#stories_wrapper .center-block,
#quick_nav .center-block {
	float: none;
}
@media only screen and (max-width : 991px) {
	#showarea_wrapper .heading {
		font-weight: 500;
	}
	#showarea_wrapper .block.font-md {
		display: initial;
		color: #222;
		font-size: 17px;
	}
	#stories_wrapper .pull-left:not(#stories),
	#stories_wrapper .pull-right:not(#stories),
	#quick_nav .pull-left,
	#quick_nav .pull-right {
		float: none !important;
	}
}
@media only screen and (min-width: 768px and max-width : 991px) {
	#stories_wrapper .center-block,
	#quick_nav .center-block {
		float: right !important;
	}
}
#research_container img {
	width: 100%;
}
#research_container .swiper-button-next,
#research_container .swiper-button-prev {
	float: right;
	margin-left: 2px;
	margin-top: 0;
	width: 43px;
	height: 43px;
}
#research_container .swiper-button-next {
	    background: url("/file_source/qu/global/images/right-arrow.png") #DDD no-repeat center;
}
#research_container .swiper-button-prev {
	    background: url("/file_source/qu/global/images/left-arrow.png") #DDD no-repeat center;
}
#showarea_wrapper .carousel-control:focus {
	color: #FFF;
}
#showarea_wrapper .carousel-control {
	background: none;
}
.carousel-control .icon-next, .carousel-control .glyphicon-chevron-right {
	padding: 5px;
	background: #333;
	top: 0;
	right: 0;
	margin-right: 0;
	margin-top: 0;
	font-size: 20px;
}
.carousel-control .icon-prev, .carousel-control .glyphicon-chevron-left {
	padding: 5px;
	background: #333;
	top: 0;
	left: 0;
	margin-left: 0;
	margin-top: 0;
	font-size: 20px;
}
@media only screen and (max-width : 1200px) {
	#showarea_wrapper .text-holder {
		font-size: 12px;
	}
}
@media only screen and (max-width : 990px) {
	.heading strong {
		font-weight: 100;
	}	
	#flash_msg {
		font-size: 12px;
	}
	#flash_msg span {
		line-height: 1.7em;
	}
	
	#middle_wrapper > .container {
		padding: 0;
	}
	#research_container,
	#events_container {
		padding-right: 30px;
		padding-left: 30px;
	}
}
.control-wrapper {
	text-align: right;
}
#events_container aside {
	float: left;
	width: 4.25em;
}
#events_container aside .day {
	font-size: 2.5em;
	font-weight: 300;
}
#events_container aside .month {
	font-size: 1.2em;
	font-weight: 100;
}
#events_container aside span {
	text-align: center;
	display: block;
}
#events_container .details {
	margin-left: 5em;
	overflow: hidden;
}
#events_container .details .time {
	margin: 0;
	line-height: 1em;
	font-size: 1em;
}
#events_container .details p {
	margin-top: 0.25em;
	margin-bottom: 0;
}
.explore-btn#calendar {
	background-image: url(/file_source/qu/global/images/calendar-icon.png);
}
.explore-btn#stories {
	background-image: url(/file_source/qu/global/images/stories-icon.png);
}
.qik-linx  {
	background-image:url(/file_source/qu/global/images/quicklinks.png);
	background-repeat:no-repeat;
	height: 79px;
}
#coe {
	background-position: left top;
	background-color: #377c2b;
}
#alumni {
	background-position: left center;
	background-color: #f39200;
}
#quprogs { 
	background-position: left bottom;
	background-color: #00718f;
}
.qik-fact-icn {
	background-image: url(/file_source/qu/global/images/factsicons.png);
	width: 57px;
	height: 59px;
	border-right: 1px solid #00718f;
}
@media only screen and (min-width: 451px) and (max-width : 540px) {
	.qik-fact-icn + .inline-block {
		font-size: 10px
	}
}
@media only screen and (max-width : 450px) {
	.qik-fact-icn {
		display: none;
	}
}
#qik-colleges {
	background-position: 0px -11px;
}
#qik-programs {
	background-position: -57px -11px;
}
#qik-students {
	background-position: -114px -11px;
}
#qik-edu { 
	background-position: -171px -11px;
}
#qik-alumni {
	background-position: -228px -67px;
}
#qik-center {
	background-position: -285px -67px;
}
#qik-proj {
	background-position: -342px -67px;
}
#qik-pub {
	background-position: -399px -67px;
}
#prog_finder button {
	height: 27px;
}
#prog_finder .selectBox-dropdown {
	top: -2px;
}
#find_prog {
	background-color: #E7E7E7;
}
#find_prog form {
	padding: 0 1em;
}
#find_prog .selectBox {
	width: 100% !important;
	margin: 0.4em 0;
}
#find_prog button {
	height: 34px;
	width: 100px;
	color: #FFF;
}
#find_prog .gly-button .glyphicon:before {
    position: absolute;
    top: -8px;
    margin-top: 50%;
    left: 0;
    right: 0;
}
#find_prog .selectBox-label {
	width: 100% !important;
}
#quickfacts-slider #quickfacts-arrows {
	position: absolute;
	right: 0;
	top: 0;
}
#quickfacts-slider .h3 {
	line-height: 135%;
}
@media only screen and (min-width : 992px) {
	#quickfacts-slider .carousel-inner {
		margin-right: 200px;
		width: auto;
	}
}
@media only screen and (max-width : 767px) {
	#quickfacts-slider .h1 {
		font-size: 1.4em;
	}
	#quickfacts-slider .h3 {
		font-size: 1.2em;
	}
}
#quickfacts-arrows a {
	font-size: 54px;
}
.quicklinks-thumb {
	display: block;
	padding: 25% 0;
	margin: 0;
	background-size: cover;
	background-position: center;
}
.yb-thumb {
    border: 0;
    background-color: transparent;
    padding: 0;
    width: 100%;
	max-width: 100%;
}
.yb-thumb div {
	background-size: cover !important;
	background-repeat: no-repeat !important;
}
@media only screen and (max-width: 1201px) {
	.yb-thumb div {
		height: 253px !important;
	}
}
/* Homepage Specific End */