/* 

General

*/

#navbar {
	border-bottom: 0 !important;
}

.sidebar *,
.content *,
.app * {
	font-family: 'Roboto', sans-serif;
}

.content__copy,
.content__list-item {
	line-height: 1.6;
	color: #000;
	opacity: .87;
	font-size: 16px;
}

.sidebar__copy {
	font-size: 14px;
	line-height: 1.4;
	color: #000;
}

.calc-wrapper {
	margin: 0 auto;
	height: auto;
	width: 987px;
	float: left;
	background: #FFF;
	padding-bottom: 30px;
}

.cao-calc #btn_wrapper_SectorsProfile,
.qqi-calc #btn_wrapper_SectorsProfile {
	border-color: #306189 !important;
}

.cao-calc #backBtn_SectorsProfile,
.qqi-calc #btn_wrapper_SectorsProfile {
	background: #306189 !important;
}

.media--box {
	width: 100%;
	background: #F7F7F7;
	transition: .1s ease-in-out;
	padding: 1em;
	box-sizing: border-box;
}

.media--box a {
	width: 50%;
	margin: 0 auto;
}

.media--box:hover {
	opacity: .9;
}

.media--img {
	width: 100%;
	height: auto;
}

/* 

Page title

*/

.page-title {
	box-sizing: border-box;
	/* padding: 64px 20px 19px; */
	background-color: #306189;
	width: 100%;
	margin-bottom: 20px;
	padding: 3em 2em 2em 262px;
}

.page-title h1 {
	font-family: 'Montserrat', sans-serif;
	color: #FFF;
	/* font-size: 32px; */
	font-size: 42px;
	margin-top: 5px;
	margin-bottom: 5px;
	letter-spacing: .5px;
	text-align: left;
}

/* 

Sidebar

*/


.sidebar__menu {
	display: flex;
	flex-direction: column;
	margin-top: 10px;
}

.sidebar__link {
	background: #F4F4F4;
	padding: 1em 3em !important;
	font-size: 16px !important;
	margin-bottom: 2px;
	color: #306189 !important;
	transition: .1s ease-in-out;
	position: relative;
	margin-top: 0 !important;
}

.points-info .sidebar__link {
	padding: 1.5em 2em 1.5em 3em !important;
}

.sidebar__info--icon {
	display: inline-block;
	width: 15px;
	padding: 10px;
	color: #FFF;
	font-family: serif;
	font-style: italic;
	font-size: 28px;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	background-color: #0d968e;
	text-align: center;
	line-height: 47px;
	transition: .1s ease-in-out;
	text-decoration: none;
}

.sidebar__image--small {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 35px;
	padding-left: 6px;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	text-decoration: none;
}

.sidebar__image--small img {
	width: 100%;
	height: auto;
}

.sidebar__link:hover {
	/*background: #306189;*/
	/*color: #FFF !important;*/
	text-decoration: underline !important;
}


/* 

Content

*/

.content {
	padding-top: 0px !important;
}

.content__heading {
	font-family: 'Montserrat', sans-serif;
	font-weight: normal;
	color: #306189;
	margin-top: 0;
}

.content__heading:not(:first-of-type) {
	margin-top: 2em;
}

.content__button {
	display: block;
	height: 101px;
	margin: 0 auto 1.5em;
	background: rgb(75,153,216);
	padding: 16px;
	font-size: 14px;
	color: #FFF;
	position: relative;
	transition: .1s ease-in-out;
	line-height: 1.2;
	box-sizing: border-box;
	position: relative;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

.button__text {

}

.text--calculator {
	display: block;
	font-size: 22px;
}

.button--bottom {
	position: absolute;
	display: block;
	width: 100%;
	box-sizing: border-box;
	bottom: 0;
	left: 0;
	padding: 8px 16px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
}

.highlight--lc {
	color: #FFB642;
	/*background: #224562;*/
}

.highlight--qqi {
	color: #F9F20B;
	/*background: #456c82;*/
}

.button--cao {
	background: #306189;
}

.button--qqi {
	background: #5686A2;
}

.content__button::before {
	content: '';
	display: inline-block;
	position: absolute;
	top: 16px;
	right: 16px;
	background-image: url('../courses/images/branding/calc-icon.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	height: 35px;
	width: 35px;
}

.button--cao::before {
	background-image: url('../courses/images/branding/lc-logo.png');
}

.button--qqi::before {
	background-image: url('../courses/images/branding/qqi-logo.png');
}

.content__button:hover {
	color: #FFF;
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 5px 10px rgba(0, 0, 0, .5)
}

.content__button::after {
	content: "\f054";
	font-family: FontAwesome;
	position: absolute;
	bottom: 10px;
	right: 16px;
	color: #FFF;
	visibility: hidden;
	transition: .1s ease-in-out;
} 

.content__button:hover::after {
	visibility: visible;
}

.content__link {
	display: block;
	width: auto;
	color: #306189;
	line-height: 1.6;
}

.link--inline {
	display: inline;
}

.content__link:hover {
	color: #306189;
	text-decoration: underline;
}

section {
	padding: 1em;
	margin-bottom: 2em;
}

section:first-of-type {
	background: #f7fdff;
}

section:nth-of-type(2) {
	background: #ffe3f5;
}


.section__heading {
	font-weight: bold;
	color: #000;
	opacity: .87;
	margin-top: .75em;
}

.content__table {
	width: 100%;
	border-collapse: collapse;
}

.content__table thead tr {
	background: #0d968e;
}

.content__table thead tr:nth-of-type(2) {
	background: #25bbb2;
}

.content__table thead tr th {
	color: #FFF;
}

.content__table tbody tr:nth-of-type(odd){
	/*background: #F7F7F7;*/
}

.content__table thead tr th {
	padding: 6px 16px;
	text-align: left;
}

.content__table tbody tr td  {
	border-top: 1px solid rgba(0,0,0,0.06);
	padding: 6px 16px;
	text-align: left;
}

.content__table tbody tr:hover {
	background: #bae3f1;
}

.content__table.table--indent {
	width: 90%;
	margin-left: 40px;
	margin-bottom: 1em;
}

.content--alert {

}

.content__list-item {
	margin-bottom: .8em;
}

/* 

Right bar

*/

.right-sidebar {
	width: 222px;
	float: left;
	height: auto;
	margin-left: 20px;
	margin-top: 10px;
}

.right-sidebar--qqi {
	border-top: 10px solid #0d968e;
	background: #F7F7F7;
	box-sizing: border-box;
	padding: 1em;
}

.right-sidebar__panel {
	font-size: 16px;
}

.right-sidebar__link {
	font-size: 15px !important;
	color: #306189 !important;
	transition: .1s ease-in-out;
}

.app__title {
	background-color: #0D968E;
	margin: 0;
	color: #FFF;
	text-align: center;
	padding: 12px 0;
}

.app__image {
	width: 222px;
	vertical-align: middle; /* this is only necessary for the info page ?? */
}

.app__image--mobile {
	display: none;
}

.app__info {
	background: #0D968E;
	color: #FFF;
	padding: 10px 10px 20px;
}

.app__text {
	padding: 15px;
	font-size: 18px;
}

.app__icon {
	width: 80px;
	display: none;
}

.app__links a {
	width: 173px;
	height: 63px;
	display: block;
	margin: 0 auto;
	background-size: cover;
	background-repeat: no-repeat;
	margin-bottom: 10px;
	border-radius: 2px;
}

.app__links a:hover {
	-webkit-filter: brightness(1.2);
	-moz-filter: brightness(1.2);
	-o-filter: brightness(1.2);
	-ms-filter: brightness(1.2);
	filter: brightness(1.2);
}

.app__android {
	background: url('../courses/images/icons/play-store@0,33x.png');
}

.app__ios {
	background: url('../courses/images/icons/iOS@0,33x.png');
}

.grades-explorer {
	margin-top: 1em;
}

/* qqi calculator page */

.qqi-calc .content {
	line-height: 1.6;
	font-size: 16px;
}

.fetac-calc {
	width: 100%;
}

#fetacpointscalc {
	width: 100%;
	background: #F7F7F7;
	padding-bottom: 10px;
}

#fetacpointscalc > table,
#fetacpointscalc > table > tbody > tr > td > table {
	width: 100%;
}

/* calc headings */
.gwt-Label.bold {

}

/* calc column one */
.gwt-Label {

}

/* calc column two */
.gwt-TextBox {

}

/* Using pseudoelements to create column headings */


/*

.gwt-RadioButton label {
	display: none;
}

radio input and label 
.gwt-RadioButton {
	display: inline-block;
	width: 60px;
}

#fetacpointscalc table table tbody tr:nth-of-type(2) td:nth-of-type(3) .gwt-RadioButton,
#fetacpointscalc table table tbody tr:nth-of-type(2) td:nth-of-type(4) .gwt-RadioButton,
#fetacpointscalc table table tbody tr:nth-of-type(2) td:nth-of-type(5) .gwt-RadioButton {
	position: relative;
}

#fetacpointscalc table table tbody tr:nth-of-type(2) td:nth-of-type(3) .gwt-RadioButton::after {
	content: 'Pass';
	position: absolute;
	top: -27px;
	left: 0;
	font-weight: bold;
}

#fetacpointscalc table table tbody tr:nth-of-type(2) td:nth-of-type(4) .gwt-RadioButton::after {
	content: 'Merit';
	position: absolute;
	top: -27px;
	left: 0;
	font-weight: bold;
}

#fetacpointscalc table table tbody tr:nth-of-type(2) td:nth-of-type(5) .gwt-RadioButton::after {
	content: 'Distinction';
	position: absolute;
	top: -27px;
	left: 0;
	font-weight: bold;
}
*/

/* Turn the labels into buttons */

#fetacpointscalc table table {
	border-collapse: collapse;
	background: #F7F7F7;
}


#fetacpointscalc table table tr td {
	padding: 6px;
}

#fetacpointscalc table table tbody tr:first-of-type {
	position: relative;
	background: #306189;
	color: white;
}

#fetacpointscalc table table tbody tr:first-of-type td {
	text-transform: uppercase;
}

#fetacpointscalc table table tbody tr td:nth-of-type(2) {
	width: 25px;
}

#fetacpointscalc table table tbody tr:last-of-type td:nth-of-type(2) input {
	width: 200% !important;
	color: #40505d;
	font-size: 150%;
	font-weight: bold;
	text-align: right;
}

#fetacpointscalc table table tbody tr td:nth-of-type(1) {
	padding-left: 15px;
}

/* score input */
.gwt-TextBox {
	/* width: 25px !important; */
	padding: 6px !important;
	border: 1px solid #DDD !important;
	border-radius: 2px;
	text-align: center;
	-webkit-transition: all 0.10s ease-in-out;
    -moz-transition: all 0.10s ease-in-out;
    -ms-transition: all 0.10s ease-in-out;
    -o-transition: all 0.10s ease-in-out;
}

.gwt-TextBox:focus {
	box-shadow: 0 0 5px #E83F6F;
	border: 1px solid #E83F6F !important; 
}

.gwt-RadioButton input {
	opacity: 0;
	width: 0;
	position: absolute;
}

.gwt-RadioButton label {
	padding: 6px 16px;
	background: #EEE;
	color: #000;
	border-radius: 2px;
	cursor: pointer;
	display: inline-block;
	/* width: 60px; */
	text-align: center;
}

.gwt-RadioButton label:hover {
	background: #DDD;
}

.gwt-RadioButton input:checked + label {
	background: #E83F6F;
	color: #FFF;
	opacity: 1;
}

.gwt-RadioButton input,
.gwt-RadioButton label {
	vertical-align: top;
}

/* radio input and label */
.gwt-RadioButton {

}

.gwt-RadioButton input {
	cursor: pointer;
}




/* reset button */
.gwt-Button {
	width: 100%;
	background: #666 !important;
	color: #EEE !important;
	border: 0 !important;
	border-radius: 2px !important;
	padding: 6px !important;
}

.gwt-Button:hover {
	background: #555 !important;
	color: #FFF !important;
	border: 0 !important;
}

/* media queries */

/* switch right sidebar to left */

@media screen and (min-width: 1021px) {
	.right-sidebar--mobile {
		display: none;
	}
}

@media screen and (max-width: 1020px) {
	.right-sidebar {
		display: none;
		position: static;
		top: initial;
		float: none;
		margin-left: 0;
		margin-top: 1em;
	}
	.right-sidebar--mobile {
		display: block;
	}
}

@media screen and (max-width: 1020px) and (min-width: 768px) {
	.calc-wrapper {
		width: 768px;
		height: 1000px; /* easiest way to ensure right sidebar won't overlap footer on main points calculator page - height: auto won't work here for some reason */
	}
	
	.points-info .calc-wrapper,
	.qqi-calc .calc-wrapper {
		height: auto;
	}
}

@media screen and (max-width: 767px) and (min-width: 480px) {
	.calc-wrapper {
		width: 480px;
		height: 900px;
	}
	
	.points-info .calc-wrapper,
	.qqi-calc .calc-wrapper {
		height: auto;
	}

	.page-title {
		padding: 1em 16px;
		margin-bottom: 0;
	}

	.content__table thead tr th {
		padding: 6px 6px;
		text-align: left;
	}

	.content__table tbody tr td  {
		border-top: 1px solid rgba(0,0,0,0.06);
		padding: 6px 6px;
		text-align: left;
	}
}


@media screen and (max-width: 479px) {
	
	.content__copy,
	.content__list-item {
		font-size: 15px;
		line-height: 1.4;
	}

	.calc-wrapper {
		border: none;
		width: 100%;
	}
	
	.page-title {
		padding: 1em 16px;
		margin-bottom: 0;
	}
	
	.sidebar {
		margin-bottom: 0 !important;
	}

	.sidebar__menu {
		padding: 10px;
	}

	.sidebar__link {
		padding: 1em 2em 1em 3em !important;
	}

	.sidebar__info--icon {
		line-height: 32px;
	}

	.content {
		box-sizing: border-box;
		padding: 16px !important;
		margin: 0;
		width: 100% !important;
	}

	.content__button {
		width: 100%;
	}

	.content__table thead tr th {
		padding: 6px 6px;
		text-align: left;
	}

	.content__table tbody tr td  {
		border-top: 1px solid rgba(0,0,0,0.06);
		padding: 6px 6px;
		text-align: left;
	}

	.right-sidebar {
		display: block;
		clear: both;
		margin-left: 0;
		width: 100%;
	}

	.right-sidebar--mobile {
		display: none;
	}

	.app__image {
		display: none;
	}

	.app__image--mobile {
		display: block;
	}

	.app__text {
		text-align: center;
		margin-bottom: .5em;
	}

	.grades-explorer a img {
		display: block;
		margin: 0 auto;
	}

	#fetacpointscalc table table tbody tr td {
		padding: 4px;
	}

	#fetacpointscalc table table tbody tr td:nth-of-type(1) {
		padding-left: 6px;
	}
	
	#fetacpointscalc table table tbody tr td:nth-of-type(2){
		width: 45px;
	}

	.gwt-TextBox {
		width: 15px !important;
	}

	.gwt-RadioButton label {
		padding: 6px 4px;
		width: initial;
	}
}