.hero {
	min-height: 100px;
	padding-bottom: 50px;
	background-size: cover;
	background-position: center;
	position: relative;
	margin-right: -20px;
	margin-left: -20px;
	margin-bottom: -50px;
	background-color: #eee;
}

.fa-times {
	color: red;
}

.rmod {
	font-size: 80%;
}

.rmods a {
	text-decoration: none;
}

.hero:before {
	width: 100%;
	content: ' ';
	display: block;
	position: absolute;
	height: 100%;
	background: linear-gradient(4deg, rgba(216,239,233,0) 0%, rgba(98,41,105,0.8) 50%, rgba(98,41,105,1) 85%);
}

.hero:after {
	background: url(https://warwick.ac.uk/fac/soc/law/images/white_w.png);
	background-position: right;
	width: 100%;
	position: absolute;
	content: ' ';
	bottom: -1px;
	display: block;
	height: 50px;
	
}

.hero input {
	width: calc(100% - 100px);
	background-color: transparent;
	border:0;
	border-bottom: 1px solid #ccc;
}


.title {
    color: white;
    text-align: right;
    padding: 30px 30px;
	position: relative;
	margin-bottom: 0;
}

.title > * {
	padding-left: 10px;
}

.edited {
	font-style: italic;
	color: #888;
}

.light {
    font-weight: 300;
    color: #7ecbb6;
}

.flex {
	display: flex;
	justify-content: flex-end;
}

.cats, .terms, .prereqs {
    padding: 0 30px 30px;
    margin-top: -30px;
    position: relative;
	text-align: right;
}

.prereqs, .prereqs a {
	color: #e4dee7;
}

.prereqs:before {
	content: 'Prerequisite Modules: ';
	color: #ad98b4;
}

.preq {
	display: inline-block;
}
.preq+.preq:before {
	content: ", ";
}

.terms {
	font-weight: 300;
	color: #e4dee7;
}

.term+.term:before {
	content: " & ";
}

.shorttext {
	font-weight: 300;
	border-bottom: 1px dashed #ccc;
	padding: 0 22px 22px 22px;
	margin-bottom: 22px;
	font-size: 115%;
}

.shorttext p:last-child {
	margin-bottom: 0;
}

.maintext {
	position: relative;
	padding-top: 22px;
	line-height:1.8;
}

.maintext > :first-child {
	padding-right: 160px;
}
.maintext > .row:first-child {
	padding-right: 0;
}
.maintext > .row:first-child > div:first-child {
	padding-right: 182px;
}

.maintext .row {
	display: flex;
	flex-direction:column;
}

.rhs {
	order: 1;
	padding-top: 50px;
}


.shorttext + .row .rhs {
	padding-top: 0;
}

@media screen and (min-width: 768px) {
	.maintext > .row:first-child > div:first-child {
		padding-right: 0;
	}
	.maintext > .row:first-child > div:last-child {
		padding-top: 50px;
	}
	.hero {
		margin-right: 0;
		margin-left: 0;
	}
	
	.maintext .row {
		flex-direction: row;
	}
	.rhs {
		order: 3;
		padding-top: 0;
	}

}

.lhs {
	order:2;
}

.a_opt {
	font-size: 90%;
}

.a_opt:after {
	display: block;
	content: "- OR -";
	text-align: center;
	padding: 10px;
}

.a_opt:last-child:after {
	display: none;
}


.a_part {
	text-align: left;
	display: flex;
}

.a_part>.fa {
    display: none;
    margin-right: 10px;
    padding: 6px 0;
    border-radius: 50%;
    margin-bottom: 2px;
    color: #5b3069;
    width: 32px;
	height: 32px;
}


.a_part.E .fa.E, .a_part.A .fa.A, .a_part.LX .fa.E, .a_part.Essay .fa.A, .a_part.Exami .fa.E, .a_part.Oral .fa.E, .a_part.Refle .fa.A, .a_part.Other .fa.A, .a_part.Stude .fa.A, .a_part.InCla .fa.E, .a_part.Local .fa.E, .a_part.TakeH .fa.A, .a_part.Proje .fa.A, .a_part.Pract .fa.E, .a_part.Portf .fa.A, .a_part.Disse .fa.A, .a_part.Prese .fa.E{
	display: inline-block;
}

.lhs {
	padding-left: 22px;
	padding-right: 22px !important;
	padding-bottom: 22px;
}

.ass_desc b {
	display: none;
	font-weight: normal;
	font-size: 80%;
}

.ass_desc:hover b {
	display: inline-block;
}

.ass_desc:hover i {
	display: none;
}



.photo {
	height: 80px;
	width: 80px;
	background-size: cover;
	background-color: #eee;
	border-radius: 50%;
	background-position: center center;
}

.btn-primary {
	width: 100%;
	margin-bottom: 22px;
}

.lhs > * {
	border-bottom: 1px dashed #eee;
	margin-bottom: 22px;
}


.term:last-child:after {
	display: none;
}

.convenor {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 11px;
    padding-bottom: 11px;
    border-bottom: 1px dashed #e4dee7;
}

.convenor:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.boxstyle_.box8 {
	border: 1px solid #e4dee7;
	padding: 22px;
}

.bigpicture {
	height: 300px;
	width: 100%;
	background-position: center center;
	background-size: cover;
	background-color: #eee;
	border-bottom: 0;
}

.editable {
	position: relative;
	z-index:1;
}

.editable .edit {
	display: none;
}

.canedit .editable .edit {
	display: inline-block;
	content: 'Edit';
	opacity: 0.6;
	background-color: #ccc;
	padding: 3px 5px;
	position: absolute;
	right: 0;
	border: 1px solid #666;
	border-radius: 3px;
	line-height: 1;
    font-size: 11px;
	font-weight: normal;
	font-style: normal;
    color: #333;
	cursor: pointer;
	top: 0;
}

.canedit .edit.btnUpload {
	opacity: 0.6;
}

.canedit .editable:hover .edit, .canedit .edit.btnUpload:hover {
	opacity: 0.9;
}

.editable.active .edit {
	display: none;
}

.maintext textarea {
	width: 100%;
	height: 200px;
}

.weightage:before {
	content: ' (';
}

.weightage:after {
	content: '%)';
}

.a_part .ass_title {
	flex: auto;
}

input.weightage {
    width: 38px;
    text-align: center;
}

.editing .fa.fa-times {
	background: transparent;
	border: 0;
	display: inline-block;
	color: red;
    width: fit-content;
    margin-right: 0;
}

.tabs {
	display: flex;
}

.tab {
    background: rgba(98,41,105,1);
    border: 1px solid #fff;
    border-bottom: 0;
    border-left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 3px 15px;
    color: #7ecbb6;
    cursor: pointer;
	opacity: 0.6;
}

.tab.active {
	opacity: 1;
}

.yoption:after {
	content:", ";
}

.yoption:last-child:after {
	content: "";
}

.learning_outcomes th:nth-child(1), .learning_outcomes th:nth-child(2) {
	width: 40%;
}

.id7-page-title {
	display: none;
}

.video {
	margin-bottom: 22px;
}

.yoption.C {
	color: red;
	font-weight: bold;
}

.yoption.OC {
	color: orange;
	font-weight: bold;
}