body {
	margin: 0;
}
html {
	overflow-y: auto;
}

.wrapper {
	min-height: 100%;

	/* Equal to height of footer */
	/* But also accounting for potential margin-bottom of last child */
	margin-bottom: -50px;
}

.push {
	height:50px;
}

.hide {
    display: none !important;
}

.disabled {
   pointer-events: none;
   cursor: default;
}

.hideSpace {
    visibility: hidden !important;
}

/* +++++++++++++ Anchor +++++++++++++++++ */

a.top {
	position: relative;
	top:-100px;
	display: block;
	height: 0;
	width:0;
}

/* +++++++++++++ PROGRESS ++++++++++++++++ */

.uk-progress::-webkit-progress-bar {
	background-color:white !important;
}
.uk-progress::-webkit-progress-value {
	background-color:#34D1BF !important;
}
.uk-progress::-moz-progress-bar {
	background-color:#34D1BF !important;
}
.uk-progress::-ms-fill {
	background-color:#34D1BF !important;
}

/* +++++++++++++ Background ++++++++++++++++ */

.index_body {
	background: url(images/bg.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

/* +++++++++++++++ Boxes +++++++++++++++++++ */

.small-box {
    padding: 10px;
    border-radius: 5px;
    margin: 0px 0px 0px 0px;
    -webkit-box-shadow: 0px 1px 2px 0 rgb(221, 221, 221);
    box-shadow: 0px 1px 2px 0 rgb(221, 221, 221);
    background-color: #ffffff;
	transition: .3s;
}

.small-box.evid:hover {
    -webkit-box-shadow: 0px 0px 30px #888888;
    box-shadow: 0px 0px 30px #888888;
    background-color: #ffffff;
}

.front-badge {
	margin:7px;
	display:inline-block;
	background-color:#fafbfc;
	width:31%;
}


/* ++++++++++++ TEXT +++++++++++++++++++ */

em {
	color: inherit !important;
}

/* +++++++++++++ Evidence Links ++++++++++++++++ */

.evidenceLink:hover {
	color: rgb(107, 159, 255) !important;
	transition: 300ms;
}

/* +++++++++++++ Detail Box Links +++++++++++++++ */

.detailBox:hover {
	background-color: rgb(198, 213, 255) !important;
	transition: 300ms;
}

/* +++++++++++++ BUTTONS ++++++++++++++++ */

.admin-button {
	margin:7px 3px !important;
	border-radius:7px !important;
	background-color: white !important;
	padding: 0px 3px !important;
	width:200px;
}

.admin-button.icon {
	width:60px;
}

.admin-button[disabled]:not(.active):hover {
	border-radius:7px !important;
	background-color: white !important;
	border-color: #c9c9c9 !important;
	color: #c9c9c9 !important;
	font-weight: normal;
}

.admin-button.active {
	background-color: rgba(1, 77, 217) !important;
	color: white !important;
	border-color: rgb(1, 77, 217) !important;
	transition: .3s;
	font-weight:bold;
}
.admin-button:not(.active):hover {
	background-color: rgba(1, 77, 217, 0.5) !important;
	color: white !important;
	border-color: rgb(1, 77, 217, 0.5) !important;
	transition: .3s;
	font-weight:bold;
}

.admin-button.cancel:hover {
	background-color: rgba(217, 1, 1, 0.5) !important;
	color: white !important;
	border-color: rgba(217, 1, 1, 0.5) !important;
	transition: .3s;
	font-weight:bold;
}

/* ++++++++++++ Sign In Modal +++++++++++ */

#signInModalButton{
	margin-top:-45px;
}

/* ++++++++++++++ VIDEO EMBED ++++++++++++++ */

.embed-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
	margin: 20px 0px;
} 

.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}

/* +++++++++++++ g-grid ++++++++++++++ */

.g-container {
    width: 70vw;
    margin: auto !important;
}

.g-flex-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.g-col {
    flex: 10;
    padding: 7px;
}

.g-half-col {
    flex: 5;
    padding: 7px;
}

.g-third-col {
    flex: 3.30;
    padding: 7px;
	max-width: 33%;
}

.g-two-thirds-col {
    flex: 6.66;
    padding: 7px;
	max-width: 66%;
}

.g-quarter-col {
    flex: 2.5;
    padding: 7px;
	max-width: 25%;
}

.g-three-quarter-col {
    flex: 7.5;
    padding: 7px;
	max-width: 75%;
}

.g-fifth-col {
    flex: 2;
    padding: 7px;
	max-width: 20%;
}

.g-two-fifths-col {
    flex: 4;
    padding: 7px;
	max-width: 40%;
}

.g-three-fifths-col {
    flex: 6;
    padding: 7px;
	max-width: 60%;
}

.g-four-fifths-col {
    flex: 8;
    padding: 7px;
	max-width: 80%;
}

.g-eighth-col {
    flex: 1.25;
    padding: 7px;
	max-width: 12.5%;
}

.g-seven-eighths-col {
    flex: 8.75;
    padding: 7px;
	max-width: 87.5%;
}

#content {
	padding:25vh 0px;
}

/* ++++++++++++++++++ FOOTER +++++++++++++++++++++++++++++++ */

.footer {
	height: 70px;
	background-color:#071A32;
	color: rgb(192, 202, 212);
	padding:0px;
	font-size:80%;
}

.footer-image {
	width: 70%;
	opacity: 0.7;
}

a.footer-link:hover,
a.footer-link {
	color: rgb(192, 202, 212);
}

/* ++++++++++++++++++++++ Max Width 1000px +++++++++++++++++++++ */

@media (max-width: 1000px) {

    .g-flex-grid {
        display: block;
    }

	.front-badge {
		margin:7px;
		display:block-inline;
		background-color:#fafbfc;
		width:45%;
	}

	.footer {
		padding: 15px 0px 0px 0px;
	}

	.footer-column {
		display: none !important;
	}

	.footer-image {
		width: 30%;
	}

	.index-header {
		display:block;
	}

    .no-stack {
        display: flex !important;
        flex-direction: row;
    }

    .g-small-container,
    .g-container {
        width:95vw;
    }

	#content {
		padding:5vh 0px;
	}
}

@media (max-width: 767px) {
	.topBottomBox {
		height: 260px !important;
		margin: 0px -14px 14px !important;
	}
}

@media (max-width: 600px) {
	.uk-modal-dialog {
		padding: 10px 10px !important;
	}

	.front-badge {
		margin:7px;
		display:block;
		background-color:#fafbfc;
		width:95%;
	}

	#headerTitle span {	
		display: none;
	}

	#headerTitle:after {

		content: 'ELN MC Portal';
	}

	#signInModalButton{
		margin-top: 0px;
	}
	/* #courseIcon {
		width:100%
	} */

	#initSubmitButton {
		content:'Submit';
	}

	.footer-image {
		width: 50%;
	}

	.login-logo {
		width:40% !important;
	}

	.g-half-col,
	.g-quarter-col,
	.g-third-col,
	.g-half-col,
	.g-three-quarter-col,
	.g-three-fifths-col,
	.g-four-fifths-col,
	.g-two-fifths-col,
	.g-two-thirds-col {
		flex: 10;
		padding: 7px;
		max-width:100%
	}
}