/******************************** GENERAL ********************************/

.modalBackdrop {
	opacity: 0.25 !important; /* Note to Joe: this is the only legit case in this entire project for !important. Pls don't remove */
	z-index: 31415;
	position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
	left: 0;
    background-color: #000;
}

.coursicleModal {
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	transform: translate(0, 30%);
	z-index: -1;
	width: 400px;
	box-shadow: 0 5px 15px rgba(0,0,0,.5);
	background-color: white;
	border-radius: 6px;
	transition: opacity 0.5s, transform 0.5s, z-index 1s;
	font-family: 'Avenir', BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.coursicleModal div {
	box-sizing: border-box;
}

.coursicleModal p {
	/* Don't simplify to margin-bottom: 10px - needed to override other CSS*/
	margin: 0 0 10px 0;
}

.coursicleModal img {
	vertical-align: middle;
}

.coursicleModal h2 {
	line-height: 1.1;
}

.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
    float: left;
    margin: 11px !important;
}

.btn-danger:hover {
	color: #fff;
    background-color: #d2322d;
    border-color: #ac2925;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
	user-select: none;
	font: inherit;
	font-size: 14px;
}

.modalHeader {
	border-bottom: 1px solid rgba(0,0,0,.2);
}

.modalTitle {
	font-weight: 500;
	font-size: 30px;
	margin-top: 20px;
	margin-bottom: 10px;
}

.coursicleModal #subtitle{
	color: #777777;
}

.coursicleModal .dismissButton {
  border-color: #35adfd;
  font-family: 'Avenir', BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #fff;
  background-color: #35adfd;
  font-size: 14px;
  margin-bottom: 17px;
  border-style: none;
	border-radius: 4px;
}

.coursicleModal .dismissButton:hover{
	border-color: #56b6f7;
	background-color: #56b6f7;
}

.coursicleModal #notMeButton{
	border-color: #d9534f;
	background-color: #d9534f;
	border-style: none;
	border-radius: 4px;	


}

.coursicleModal #notMeButton:hover{
	border-color: #d26461;
	background-color: #d26461;
}

.coursicleModal #notMeButton:focus{
	outline: none;
}

.userAnswer {
	font-weight: 500 !important; 
	font-size: 17px !important;
	-webkit-box-shadow: 0 0 3px 3px #a8a8a8;
}

/******************************** CLASS CAPTCHA MODAL ********************************/

.modalUserID {
	position: default;
	display: inline-block;
	white-space: nowrap;
}

.modalUserClasses {
	margin-top: 10px;
}

#classCaptchaModal .modalBody #question {
	font-size: 26px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

#classCaptchaModal .modalTitle{
	color: #333;
    text-align: center;
    font-family: 'Avenir', BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#classCaptchaModal #subtitle{
	text-align: center;
    padding-top: 10px;
    padding-right: 40px;
    padding-bottom: 10px;
    padding-left: 40px;
}

.captchaClassRow {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	padding: 5px 0px 5px 0px;
}

.captchaClassRow > div{
	font-family: 'Avenir', BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	border-radius: 10px;
	padding: 5px 15px;
	transition: opacity 0.5s;
	opacity: 0;
}

#classCaptchaModal .modalBody {
	padding: 10px 0px 40px 0px;
	text-align: center;
}

#classCaptchaModal .modalFooter {
	border-top: 1px solid rgba(0,0,0,.2);
	padding: 0px;
}

#classCaptchaModal .modalBody p {
	font-size: 16px;
}

#modalUserPictureBig {
	width: 80px;
	margin-right: 15px;
	border-radius: 50%;
}

#modalPictureContainer {
	display: inline-block;
}

#modalUsernameAndIDContainer {
	display: inline-block;
	vertical-align: middle;
	text-align: left;
}

#modalUsername {
	font-size: 24px;
	font-weight: 800;
}

#modalUserID {
	font-size: 18px;
}

#modalUsernameBigWrapper {
	margin-bottom: 5px
}

#captchaModalDismissButton {
	float: right;
    margin: 11px;
}

#gridContainer.classes .gridItem, #gridContainer.professors .gridItem{
	color: #333 !important;
}


#classCaptchaModal .gridRow {
	width: 355px;
    height: 115px;
    margin: auto;
    padding-top: 10px;
}

#classCaptchaModal .gridItem {
    height: 100px;
    width: 100px;
    display: inline-block;
    margin-right: 10px;
    margin-left: 5px;
    border-radius: 10px;
    color: white;
    font-weight: 300;
    font-size: 16px;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
}

#classCaptchaModal .gridItem .gridItemLabel {
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90px;
}

#classCaptchaModal .modalBody #successMessage, #classCaptchaModal .modalBody #failureMessage {
	font-size: 20px;
	margin: 0px !important;
}

#dataRecoveredCheck{
	font-size: 79px;
	margin-top: 20px;
	color: #7ED321;
}

/******************************** ALERT MODAL ********************************/

#alertModal .modalTitle{
	font-size: 30px;
	font-family: 'Avenir', BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#alertModal .modalBody {
	padding: 20px 0px 20px 0px;
	text-align: center;
}

#alertModal .modalBody p {
	margin-bottom: 20px;
	padding-left: 35px;
	padding-right: 35px;
	font-size: 22px;
}

#alertModal .modalFooter {
	border-top: 1px solid rgba(0,0,0,.2);
	padding: 20px 0px;
}

#alertModal .modalHeader .modalTitle {
	margin-right: 55px;
    margin-left: 97px;
	margin-bottom: 20px;
	display: inline-block;
}

#alertModalXButton {
	font-size: 25px;
	color: #adadad;
	display: inline-block;
	cursor: pointer;
	padding: 0px !important;
}

#alertModal #alertModalDismissButton{
	font-size: 18px;
	border-radius: .25rem;
	padding: 6px 12px;
}

/******************************** RESPONSIVE ********************************/

@media (min-width: 768px){
	.coursicleModal {
		width: 615px;
	}
}


@media (max-height: 800px) {
	#classCaptchaModal{
	    transform: translate(0px, 1%) !important;
	}

	#classCaptchaModal .gridItem{
		height: 80px;
		width: 80px;
		margin-right: 4px;
    	margin-left: 0px;
    	font-size: 13px;
	}

	#classCaptchaModal .gridItemLabel{
		width: 80px !important;
	}

	#classCaptchaModal .gridRow{
		height: 88px;
		padding: 5px;
	}

	#classCaptchaModal .modalBody #question{
		margin-bottom: 0px;
	    font-size: 23px; 
	}

	#classCaptchaModal .modalBody {
	    padding: 10px 0px 15px 0px;

	}

	#classCaptchaModal #subtitle{
		padding-bottom: 0px;
    	margin-bottom: 0px;
	}

	.userAnswer{
		font-size: 14px !important;
	}

}

