body {
	overflow: hidden;
	background-color: #fcfcfc;
	margin: 0;
	padding: 0;
}

.pattern {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background-size: 500px 500px;
	background-repeat: repeat;
	background-image: url(../pics/pattern.jpg);
	opacity: 0.15;
}

.school-logo {
	position: fixed;
	top: 15px;
	left: 20px;
}

@media only screen and (max-width: 600px) {
	.school-logo img {
		width: 50vw;
	}
}

@media only screen and (min-width: 601px) {
	.school-logo img {
		width: 20vw;
	}
}

.text-right {
	bottom: 0 !important;
	right: 0 !important;
	position: absolute;
	margin-right: 1rem;
	margin-bottom: 1rem;
	z-index: 9;
}

.text-right a {
	font-size: 1rem;
	color: black;
	text-decoration: none;
	opacity: 50%;
}

#loader-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;

}

.loader-text {
	color: #fff;
	position: absolute;
	z-index: 10000;
	left: 50%;
	top: 80%;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	/* font-size: 1.25rem; */
	text-align: center;
}

#loader {
	display: block;
	position: relative;
	left: 50%;
	top: 50%;
	width: 150px;
	height: 150px;
	margin: -75px 0 0 -75px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #7e3029;

	-webkit-animation: spin 2s linear infinite;
	/* Chrome, Opera 15+, Safari 5+ */
	animation: spin 2s linear infinite;
	/* Chrome, Firefox 16+, IE 10+, Opera */

	z-index: 1001;
}

#loader-logo {
	position: absolute;
	z-index: 10000;
	left: 50%;
	top: 50%;
	width: 150px;
	height: 150px;
	background-image: url(../pics/logo.png);
	background-repeat: no-repeat;
	background-size: 140px 140px;
	background-position: center center;
	transform: translate(-50%, -50%);
}

#loader:before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #dc362f;

	-webkit-animation: spin 3s linear infinite;
	/* Chrome, Opera 15+, Safari 5+ */
	animation: spin 3s linear infinite;
	/* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
	content: "";
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	bottom: 15px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #ffccee;

	-webkit-animation: spin 1.5s linear infinite;
	/* Chrome, Opera 15+, Safari 5+ */
	animation: spin 1.5s linear infinite;
	/* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
		/* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(0deg);
		/* IE 9 */
		transform: rotate(0deg);
		/* Firefox 16+, IE 10+, Opera */
	}

	100% {
		-webkit-transform: rotate(360deg);
		/* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(360deg);
		/* IE 9 */
		transform: rotate(360deg);
		/* Firefox 16+, IE 10+, Opera */
	}
}

@keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
		/* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(0deg);
		/* IE 9 */
		transform: rotate(0deg);
		/* Firefox 16+, IE 10+, Opera */
	}

	100% {
		-webkit-transform: rotate(360deg);
		/* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(360deg);
		/* IE 9 */
		transform: rotate(360deg);
		/* Firefox 16+, IE 10+, Opera */
	}
}

#loader-wrapper .loader-section {
	position: fixed;
	top: 0;
	width: 51%;
	height: 100%;
	background: #403a80;
	z-index: 1000;
	-webkit-transform: translateX(0);
	/* Chrome, Opera 15+, Safari 3.1+ */
	-ms-transform: translateX(0);
	/* IE 9 */
	transform: translateX(0);
	/* Firefox 16+, IE 10+, Opera */
}

#loader-wrapper .loader-section.section-left {
	left: 0;
}

#loader-wrapper .loader-section.section-right {
	right: 0;
}

/* Loaded */
.loaded #loader-wrapper .loader-section.section-left {
	-webkit-transform: translateX(-100%);
	/* Chrome, Opera 15+, Safari 3.1+ */
	-ms-transform: translateX(-100%);
	/* IE 9 */
	transform: translateX(-100%);
	/* Firefox 16+, IE 10+, Opera */

	-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.loaded #loader-wrapper .loader-section.section-right {
	-webkit-transform: translateX(100%);
	/* Chrome, Opera 15+, Safari 3.1+ */
	-ms-transform: translateX(100%);
	/* IE 9 */
	transform: translateX(100%);
	/* Firefox 16+, IE 10+, Opera */

	-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.loaded #loader {
	opacity: 0;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.loaded #loader-wrapper {
	visibility: hidden;

	-webkit-transform: translateY(-100%);
	/* Chrome, Opera 15+, Safari 3.1+ */
	-ms-transform: translateY(-100%);
	/* IE 9 */
	transform: translateY(-100%);
	/* Firefox 16+, IE 10+, Opera */

	-webkit-transition: all 0.3s 1s ease-out;
	transition: all 0.3s 1s ease-out;
}

#canvas {
	display: block;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.magazine-viewport {
	margin: auto;
	top: 50%;
	bottom: 50%;
	transform: translateY(-50%);
}


.magazine-viewport .container {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 922px;
	height: 600px;
	margin: auto;
}

.magazine-viewport .magazine {
	width: 922px;
	height: 600px;
	left: -461px;
	top: -300px;
}

.magazine-viewport .page {
	width: 461px;
	height: 600px;
	background-color: white;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.magazine-viewport .zoomer .region {
	display: none;
}

.magazine .region {
	position: absolute;
	overflow: hidden;
	background: #0066FF;
	opacity: 0.2;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
	cursor: pointer;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
	filter: alpha(opacity=20);
}

.magazine .region:hover {
	opacity: 0.5;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
}

.magazine .region.zoom {
	opacity: 0.01;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
	filter: alpha(opacity=1);
}

.magazine .region.zoom:hover {
	opacity: 0.2;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
	filter: alpha(opacity=20);
}

.magazine .page {
	-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	-ms-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	-o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.magazine-viewport .page img {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin: 0;
}

.magazine .even .gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background: -webkit-gradient(linear, left top, right top, color-stop(0.95, rgba(0, 0, 0, 0)), color-stop(1, rgba(0, 0, 0, 0.2)));
	background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
	background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
	background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
	background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
	background-image: linear-gradient(left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
}

.magazine .odd .gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background: -webkit-gradient(linear, right top, left top, color-stop(0.95, rgba(0, 0, 0, 0)), color-stop(1, rgba(0, 0, 0, 0.15)));
	background-image: -webkit-linear-gradient(right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
	background-image: -moz-linear-gradient(right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
	background-image: -ms-linear-gradient(right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
	background-image: -o-linear-gradient(right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
	background-image: linear-gradient(right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
}

.magazine-viewport .zoom-in .even .gradient,
.magazine-viewport .zoom-in .odd .gradient {

	display: none;

}

.magazine-viewport .loader {
	background-image: url(../pics/loader.gif);
	width: 22px;
	height: 22px;
	position: absolute;
	top: 280px;
	left: 219px;
}

.magazine-viewport .shadow {
	-webkit-transition: -webkit-box-shadow 0.5s;
	-moz-transition: -moz-box-shadow 0.5s;
	-o-transition: -webkit-box-shadow 0.5s;
	-ms-transition: -ms-box-shadow 0.5s;

	-webkit-box-shadow: 0 0 20px #ccc;
	-moz-box-shadow: 0 0 20px #ccc;
	-o-box-shadow: 0 0 20px #ccc;
	-ms-box-shadow: 0 0 20px #ccc;
	box-shadow: 0 0 20px #ccc;
}

.next-button,
.previous-button {
	width: max-content;
	height: max-content !important;
	position: absolute;
	z-index: 100000000000000;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgb(180, 180, 180);
}

.next-button {
	top: 50%;
	transform: translateY(-50%);
	right: 0;
	/* -webkit-border-radius:0 15px 15px 0;
	-moz-border-radius:0 15px 15px 0;
	-ms-border-radius:0 15px 15px 0;
	-o-border-radius:0 15px 15px 0;
	border-radius:0 15px 15px 0; */
}

.previous-button {
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	/* -webkit-border-radius:15px 0 0 15px;
	-moz-border-radius:15px 0 0 15px;
	-ms-border-radius:15px 0 0 15px;
	-o-border-radius:15px 0 0 15px;
	border-radius:15px 0 0 15px; */
}

.previous-button-hover,
.next-button-hover {
	color: black;
}

/* .previous-button-hover,
 .previous-button-down{
	background-image:url(../pics/arrows.png);
	background-position:-4px 284px;
	background-repeat:no-repeat;
} */

/* .previous-button-down,
.next-button-down{
	background-color:rgba(0,0,0, 0.4);
} */

/* .next-button-hover,
 .next-button-down{
	background-image:url(../pics/arrows.png);
	background-position:-38px 284px;
	background-repeat:no-repeat;
} */

.zoom-icon-out~.next-button,
.zoom-icon-out~.previous-button {
	display: none !important;
}

.animated {
	-webkit-transition: margin-left 0.5s;
	-moz-transition: margin-left 0.5s;
	-ms-transition: margin-left 0.5s;
	-o-transition: margin-left 0.5s;
	transition: margin-left 0.5s;
}

.thumbnails {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 140px;
	z-index: 1;
}

.thumbnails>div {
	width: 1050px;
	height: 100px;
	margin: 20px auto;
}

.thumbnails ul {
	margin: 0;
	padding: 0;
	text-align: center;
	-webkit-transform: scale3d(0.5, 0.5, 1);
	-moz-transform: scale3d(0.5, 0.5, 1);
	-o-transform: scale3d(0.5, 0.5, 1);
	-ms-transform: scale3d(0.5, 0.5, 1);
	transform: scale3d(0.5, 0.5, 1);
	-webkit-transition: -webkit-transform ease-in-out 100ms;
	-moz-transition: -moz-transform ease-in-out 100ms;
	-ms-transition: -ms-transform ease-in-out 100ms;
	-o-transition: -o-transform ease-in-out 100ms;
	transition: transform ease-in-out 100ms;
}

.thumbanils-touch ul {
	-webkit-transform: none;
	-moz-transform: none;
	-o-transform: none;
	-ms-transform: none;
	transform: none;
}

.thumbnails-hover ul {
	-webkit-transform: scale3d(0.6, 0.6, 1);
	-moz-transform: scale3d(0.6, 0.6, 1);
	-o-transform: scale3d(0.6, 0.6, 1);
	-ms-transform: scale3d(0.6, 0.6, 1);
	transform: scale3d(0.6, 0.6, 1);
}

.thumbnails li {
	list-style: none;
	display: inline-block;
	margin: 0 5px;
	-webkit-box-shadow: 0 0 10px #ccc;
	-moz-box-shadow: 0 0 10px #ccc;
	-ms-box-shadow: 0 0 10px #ccc;
	-o-box-shadow: 0 0 10px #ccc;
	box-shadow: 0 0 10px #ccc;
	-webkit-transition: -webkit-transform 60ms;
	-moz-transition: -webkit-transform 60ms;
	-o-transition: -webkit-transform 60ms;
	-ms-transition: -webkit-transform 60ms;
	transition: -webkit-transform 60ms;
}

.thumbnails li span {
	display: none;
}

.thumbnails .current {
	-webkit-box-shadow: 0 0 10px red;
	-moz-box-shadow: 0 0 10px red;
	-ms-box-shadow: 0 0 10px red;
	-o-box-shadow: 0 0 10px red;
	box-shadow: 0 0 10px red;
}

.thumbnails .thumb-hover {
	-webkit-transform: scale3d(1.3, 1.3, 1);
	-moz-transform: scale3d(1.3, 1.3, 1);
	-o-transform: scale3d(1.3, 1.3, 1);
	-ms-transform: scale3d(1.3, 1.3, 1);
	transform: scale3d(1.3, 1.3, 1);

	-webkit-box-shadow: 0 0 10px #666;
	-moz-box-shadow: 0 0 10px #666;
	-ms-box-shadow: 0 0 10px #666;
	-o-box-shadow: 0 0 10px #666;
	box-shadow: 0 0 10px #666;
}

.thumbanils-touch .thumb-hover {
	-webkit-transform: none;
	-moz-transform: none;
	-o-transform: none;
	-ms-transform: none;
	transform: none;
}

.thumbnails .thumb-hover span {
	position: absolute;
	bottom: -30px;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 30px;
	font: bold 15px arial;
	line-height: 30px;
	color: #666;
	display: block;
	cursor: default;
}

.thumbnails img {
	float: left;
}

.exit-message {
	position: absolute;
	top: 10px;
	left: 0;
	width: 100%;
	height: 40px;
	z-index: 10000;
}

.exit-message>div {
	width: 140px;
	height: 30px;
	margin: auto;
	background: rgba(0, 0, 0, 0.5);
	text-align: center;
	font: 12px arial;
	line-height: 30px;
	color: white;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
}

.zoom-icon {
	position: absolute;
	z-index: 1000;
	width: 22px;
	height: 22px;
	top: 10px;
	right: 10px;
	background-image: url(../pics/zoom-icons.png);
	background-size: 88px 22px;
}

.zoom-icon-in {
	background-position: 0 0;
	cursor: pointer;
}

.zoom-icon-in.zoom-icon-in-hover {
	background-position: -22px 0;
	cursor: pointer;
}

.zoom-icon-out {
	background-position: -44px 0;
}

.zoom-icon-out.zoom-icon-out-hover {
	background-position: -66px 0;
	cursor: pointer;
}

.zoom-icon-out~.bottom {
	display: none;
}

.bottom {
	display: block;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 5%;
	width: 80%;
	max-width: 600px;
	z-index: 100000000000000;
}

@media screen and (max-width:700px) {
	.bottom {
		bottom: 60px;
	}
}

input[type=range] {
	padding: 0;
	outline: 0;
	margin: 0;
	width: 100%;
	-webkit-appearance: none;
}

input[type=range]::focus {
	outline: 0;
}

input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 2px;
	cursor: pointer;
	box-shadow: none;
	background: rgb(0, 0, 0);
	border-radius: 2px;
	border: 0px solid rgb(0, 0, 0);
}

input[type=range]::-moz-range-track {
	width: 100%;
	height: 2px;
	cursor: pointer;
	box-shadow: none;
	background: black;
	border-radius: 2px;
	border: 0px solid #000000;
}

input[type=range]::-webkit-slider-thumb {
	box-shadow: none;
	border: 0px solid #666666;
	box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
	height: 15px;
	width: 15px;
	border-radius: 50%;
	background: rgb(148, 148, 148);
	cursor: pointer;
	-webkit-appearance: none;
	margin-top: -6px;
}

input[type=range]::-moz-range-thumb {
	box-shadow: none;
	border: 0px solid #ffffff;
	box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
	height: 30px;
	width: 15px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 1);
	cursor: pointer;
	-webkit-appearance: none;
	margin-top: -6px;
}

input[type=range]::-moz-focus-outer {
	border: 0;
}

#thumbnail-container {
	position: relative;
	width: 400px;
	height: 144px;
	padding: 10px;
	border-radius: 10px;
	background-color: #666666;
	display: none;
	transform: translateX(-50%);
}

#thumbnail-container.show {
	display: block;
}

#thumbnail {
	height: 100%;
	width: 100%;
	background-image: url(../mags/preview.png);
}

.container-socials {
	align-items: center;
	/*       background: #F1EEF1;
	border: 1px solid #D2D1D4;
	*/
	display: flex;
	height: 360px;
	justify-content: center;
	width: 360px;
	position: fixed;
	z-index: 1;
	bottom: 0;
	left: 0;
}

.email {
	background: #ffffff;
	border-radius: 16px;
	height: 40px;
	overflow: hidden;
	position: absolute;
	width: 40px;
	bottom: 5%;
	left: 5%;
	-webkit-tap-highlight-color: transparent;
	transition: width 300ms cubic-bezier(0.4, 0.0, 0.2, 1),
		height 300ms cubic-bezier(0.4, 0.0, 0.2, 1),
		box-shadow 300ms cubic-bezier(0.4, 0.0, 0.2, 1),
		border-radius 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.email:not(.expand) {
	cursor: pointer;
}

.email:not(.expand):hover {
	background: #C2C0C2;
}

.from {
	position: absolute;
	transition: opacity 200ms 100ms cubic-bezier(0.0, 0.0, 0.2, 1);
}

.from-contents {
	display: flex;
	flex-direction: row;
	transform-origin: 0 0;
	transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.to {
	opacity: 0;
	position: absolute;
	transition: opacity 100ms cubic-bezier(0.4, 0.0, 1, 1);
}

.to-contents {
	transform: scale(.55);
	transform-origin: 0 0;
	transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.avatar {
	border-radius: 12px;
	height: 24px;
	left: 8px;
	position: relative;
	top: 7px;
	width: 24px;
}

.name {
	font-size: 14px;
	line-height: 32px;
	margin-left: 10px;
}

.top {
	background: #403a80;
	display: flex;
	flex-direction: row;
	height: 50px;
	transition: height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
	width: 300px;
}

.avatar-large {
	border-radius: 21px;
	height: 30px;
	margin-left: 12px;
	position: relative;
	top: 10px;
	width: 30px;
	color: white;

}

.name-large {
	color: #fff;
	font-size: 18px;
	line-height: 50px;
	margin-left: 20px;
}

.x-touch {
	align-items: center;
	align-self: center;
	cursor: pointer;
	display: flex;
	height: 50px;
	justify-content: center;
	margin-left: auto;
	width: 50px;
}

.x {
	background: #ffffff;
	border-radius: 10px;
	height: 20px;
	position: relative;
	width: 20px;
}

.x-touch:hover .x {
	background: #b82c2c;
}

.line1 {
	background: #403a80;
	height: 12px;
	position: absolute;
	transform: translateX(9px) translateY(4px) rotate(45deg);
	width: 2px;
}

.line2 {
	background: #403a80;
	height: 12px;
	position: absolute;
	transform: translateX(9px) translateY(4px) rotate(-45deg);
	width: 2px;
}

.bottom-socials {
	background: #FFF;
	color: #444247;
	font-size: 14px;
	height: 200px;
	padding-top: 5px;
	width: 300px;
}

.row {
	align-items: center;
	display: flex;
	flex-direction: row;
	height: 38px;
}

.link {
	margin-left: 16px;
}

.link a {
	color: #444247;
	text-decoration: none;
}

.link a:hover {
	color: #403a80;
}

.email.expand {
	border-radius: 6px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10), 0 6px 6px rgba(0, 0, 0, 0.16);
	height: 250px;
	width: 300px;
}

.expand .from {
	opacity: 0;
	transition: opacity 100ms cubic-bezier(0.4, 0.0, 1, 1);
}

.expand .from-contents {
	transform: scale(1.91);
}

.expand .to {
	opacity: 1;
	transition: opacity 200ms 100ms cubic-bezier(0.0, 0.0, 0.2, 1);
}

.expand .to-contents {
	transform: scale(1);
}