/*CLEARFIX AT END OF FILE */

.targetBlank { display:none!important; }

#content-wrapper { font-family:'Lato', sans-serif!important; font-weight:400; }
#content-wrapper p { font-weight:400!important; color:#737582!important; }

ul.download-or-abstract { display:inline-block; margin:0!important; padding:0!important; list-style:none!important; }
ul.download-or-abstract li { float:left; padding:0!important; margin:0!important; }
#content-wrapper ul.download-or-abstract li a { padding:6px 15px!important; font-size: 13px!important; margin:0!important; text-decoration:none!important; color:#fff!important; background:#373942; }
#content-wrapper ul.download-or-abstract li a:hover { background: #282a31; }
#content-wrapper ul.download-or-abstract li a.show-abstract { background:#6cb5f4; }
#content-wrapper ul.download-or-abstract li a.show-abstract:hover { background:#62a6e0; }
#content-wrapper ul.download-or-abstract li a.video { background:#ee3433; }
#content-wrapper ul.download-or-abstract li a.video::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 5px; background-image: url(/fac/soc/economics/css/images/play-icon.png); background-repeat: no-repeat; background-size: 8px; background-position: center; }

ul.download-or-abstract li:first-child a { border-top-left-radius:3px; border-bottom-left-radius: 3px; }
ul.download-or-abstract li:last-child a { border-top-right-radius:3px; border-bottom-right-radius: 3px; }

.abstract {
	margin: 10px 0 0 0;
}

.timeline {
	position: relative;
	background: #e9eaee;
	padding: 20px 0 0 0;
	margin: -30px -10px -10px -10px;
}

.date-header { padding: 0; margin:10px 40px 40px 40px; }
.date-header h3 { color: #40404C!important }
.date-header em { font-style:normal; font-size:17px; padding: 0!important; color:#4c4c4c!important; }
.date-header em strong { font-weight:700!important; }

.activity-wrapper {
    margin: 0 30px!important;
    padding: 0!important;
    list-style: none!important;
    position: relative;
}

.activity-wrapper:before {
    content: '';
    position: absolute;
    top: 25px;
    bottom: 25px;
    width: 8px;
    background: #AFDCF8;
    left: 16%;
    margin-left: -8px;
    background: #afdcf8; /* Old browsers */
	background: -moz-linear-gradient(top,  #afdcf8 98%, #e9eaee 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(98%,#afdcf8), color-stop(100%,#e9eaee)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #afdcf8 98%,#e9eaee 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #afdcf8 98%,#e9eaee 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #afdcf8 98%,#e9eaee 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #afdcf8 98%,#e9eaee 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#afdcf8', endColorstr='#e9eaee',GradientType=0 ); /* IE6-9 */
}

.main-timeline-heading {
	position:relative;
	margin: 0 0 40px 0;
	min-height:60px;
}

.main-timeline-heading h2 {
	display: block;
	margin: 0 0 0 0;
	padding: 20px 0 8px 0;
	font-size: 24px;
	font-family:Arial!important;
	color: #5a5a58;
	text-shadow: 0 1px 2px #dedede;
}
.timeline-heading {
	position:relative;
	margin: 0 0 40px -110px;
	min-height:60px;
}

.timeline-heading h2 {
	display: block;
	margin: 0 0 0 210px;
	padding: 10px 0 8px 0;
	font-size: 22px;
	font-family:Arial!important;
	color: #5a5a58;
	text-shadow: 0 1px 2px #dedede;
}

.timeline-text {
	padding:30px 40px;
	line-height: 1.4em;
	font-size: 14px;
	font-weight:300;
	color:434343;
}

.timeline-heading .room {
	margin: 0 0 0 210px;
	color: #5a5a58;
	font-size:16px;
}

/* The date/time */
.activity-time {
 	display: block;
	width: 120px;
	position: absolute;
	left:-230px;
	top:15px;
}
 
.activity-time span {
	display: block;
	text-align: right;
}

.activity-time span:first-child {
	font-size: 26px;
	color: #545454;
	font-weight: 700;
}

.activity-time span:last-child {
	margin-top: 10px;
	font-size: 18px;
	color: #A0B4C0;
	font-weight: 400;
}

.activity-time span:last-child:before {
	content:"till ";
}

.activity-time:after {
	content: "";
	display: block;
	width: 15px;
	height: 15px;
	position: absolute;
	color: #FFF;
	background: #6CB5F4;
	border-radius: 50%;
	box-shadow: 0 0 0 10px #AFDCF8;
	text-align: center;
	right: -60px;
	top: 0;
	margin: 0;
}

.activity-time-no-till {
 	display: block;
	width: 120px;
	position: absolute;
	left:-230px;
	top:15px;
}
 
.activity-time-no-till span {
	display: block;
	text-align: right;
}

.activity-time-no-till span:first-child {
	font-size: 26px;
	color: #545454;
	font-weight: 700;
}

.activity-time-no-till span:last-child:before {
	content:"";
}
.activity-time-no-till:after {
	content: "";
	display: block;
	width: 15px;
	height: 15px;
	position: absolute;
	color: #FFF;
	background: #6CB5F4;
	border-radius: 50%;
	box-shadow: 0 0 0 10px #AFDCF8;
	text-align: center;
	right: -60px;
	top: 0;
	margin: 0;
}

.activity {
	position: relative;
	display: inline-block;
	margin: 0 0 30px 22%!important;
	min-width: 370px;
	border-radius: 3px;
	background: #FFF;
	color: #333!important;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.activity:after {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #fff;
    border-width: 10px;
    top: 18px;
}

.vid {
	position:absolute;
	top:0;
	right:0;
}

.vid a {
	display:block;
	width:65px;
	height:65px;
	background-image:url(http://www2.warwick.ac.uk/fac/soc/economics/play-button-icon.png);
	background-repeat:no-repeat;
	background-position:center center;
	background-size:50px;
	text-indent:-9999px;
}

.vid a:hover { background-image:url(http://www2.warwick.ac.uk/fac/soc/economics/play-button-hover.png); }

.activity h3 {
	display: inline-block;
	font-size: 18px!important;
	margin: 0!important;
	padding: 15px!important;
	font-family: 'Lato', san-serif!important;
	color: #40404C!important;
}

.activity h3 a { text-decoration:none!important; }

.activity-content {
	margin: 0!important;
	border-top: 2px solid #f4f4f4;
}


#main-content .activity-content > ul > li > h4 { font-size: 17px!important; color:#40404C!important; margin-bottom:0!important; }
#main-content .activity-content > ul > li > h5 { margin:0!important; }


.activity-content p { margin:0; padding:0; font-size: 15px; line-height: 1.4em; color: #333}
.activity-content a {display: inline-block; font-weight: 300; color:#46A4DA!important; font-size: 15px; text-decoration: none; margin-top:5px; }
.activity-content a:hover { color:#3594CB!important; text-decoration:none!important; }
.activity-content > ul { margin:0 20px!important; padding: 0!important; list-style: none!important;}
.activity-content > ul > li {
	position:relative;
	font-size: 15px;
	line-height: 1.4em;
	padding:15px 0!important;
	color:#555!important;
	margin-bottom: 0!important;
	border-bottom: 1px solid #efefef;
	font-weight: 300;
}
.activity-content > ul > li:last-child { border-bottom:none; }
.activity-content > ul > li strong { font-weight:500; }

.timeline .hidden { display:none;}

/**
 * Article page?
 */

.article-image {margin:0;}

/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}
	

@media screen and (max-width: 719px) {

	.timeline { width: 100%; display: block; padding: 0 }
	.timeline-heading { margin: 50px 0 40px 90px; border-left: 1px solid #ddd}
	.timeline-heading h2 { margin: 20px 0 20px 20px;}
	.date {top:0; left: -90px;}
	.timeline .room { display: block; margin: 0 0 0 20px}
	.timebar, .activity-stop, .stop-bar { display: none;}
	.timeline-text { margin: 30px 0; }

	.activity-wrapper { width: auto; margin: 0 20px; }
	.activity { display: block; min-width: 0; margin:0 0 20px 0!important; }
	.activity::after { display:none; }
	.activity h3 { display: block; text-align: left; }
	.activity-time { top: auto; left:auto; width:auto; display: block; position: relative; border: none; text-align:left; padding: 0 20px; }
	.activity-time p { margin: 0!important; border-radius: 4px 4px 0 0; border:none; }
	.activity-time span { text-align: left; display:inline-block; font-size:22px!important; margin-top:20px!important; }
	.activity-time span:last-child { margin-left: 5px; font-size:22px!important; }
	.activity-wrapper:before {
		left:50%;	
	}
	
	.date-header {
	  margin: 20px 0 15px 0;
  text-align: center;
}
	
}

/* PRINT */

@media print {
	body { font-size:10pt!important; }
	
	#footer, #header, .timebar, .activity-stop, .print-button, .stop-bar {
		display: none!important;
	}
	
	.timeline {
		padding: 0;
		width: 100%;
		background:#fff;
	}
	
	.main-timeline-heading { margin-bottom:10px;}
	.main-timeline-heading h2 {
		font-size: 15pt;
	}
	
	.timeline-heading { display: block; float: left; width: 100%; padding: 0; margin:0 0 10px 0; border-top: 1px solid #000; min-height:0; }
	.timeline-heading h2 { float: left; margin:0 0 0 20px; padding: 0; font-size: 9pt; line-height:30px; }
	
	.date {
		position: relative;
		float: left;
		border: none;
		border-radius: 0;
		left: auto; top: auto;
		margin:0; padding: 0;
		width: auto;
	}
	
	.date p {
		margin:0;
		padding: 0 20px;
		font-size: 9pt;
		color:#000;
		background:none;
		border:1px solid #000;
		border-top:none;
		line-height:30px;
	}
	
	.activity-wrapper { float: left; margin:0!important; padding:0!important; width: 100%; }
	
	.activity {
		float: left;
		padding: 0;
		display: block;
		border-radius: 0;
		border: none;
		margin-bottom:20px;
		box-shadow:none;
	
	}
	
	.activity-time {
		position:relative;
		display:block;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 120px;
		border-radius: 0;
		border: none;
	}
	
	.activity-time p {
		border: none;
		text-align:left;
		border-radius: 0;
		color: #000;
		background: none;
		font-size: 9pt;
		background-repeat: repeat;
		padding:0 0 0 10px; margin:0; 
	}
	
	.activity h3 {
		margin:0 30px;
		padding:5px 0 0 0;
		font-size:9pt;
	}
	
	.activity-content {
		margin:0 0 0 30px;
		display:block;
	}
	
	.activity-content ul { margin:0!important; padding:0!important; }
	
	.activity-content ul li {
		margin:0!important;
		list-style:none!important;
		padding: 7px 0 0 0!important;
		font-size: 8pt;
	}
	
	.timeline-heading .room { font-size: 15pt; font-weight: bold; display: block; margin:0; padding: 0; }
}