html {
	overflow-y: hidden;
}

body {
	background-color:#FFFFFF;
	margin:0;
	/*font-family: 'Open Sans Condensed', sans-serif;*/
	font-family: Ubuntu,arial,sans-serif;
	font-size: 20px;
	min-width: 480px;
}

.background_0 {
	background: #640036;
}
.background_1 {
	background: #E6E6E6;
}
.background_2 {
	background: #F3F3F3;
}

.element_full {
	max-width: 1162px;
	margin: 0 auto;
}

.pe_header_holder {
	height: 50px;
}
.pe_header {
	height: 50px;
	margin: 0 auto;
}

.energadlaciebie {
	background-image: url("../img/edc-logo.png");
	width:100px;
	height:50px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	float: left;
}

.pe_header_button {
	width: 40px;
	height: 40px;
	margin: 5px;
	background: #FFFFFF;
	float: right;
}
.pe_header_button_login {
	width: 85px;
	height: 40px;
	margin: 5px;
	background: #C1D62F;
	float: right;
	text-align: center;
	line-height: 40px;
	font-size: 14px;
	color: #FFFFFF;
}
.pe_header_button_alert {
	background-image: url("../img/btn_alert.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.pe_header_button_profil {
	background-image: url("../img/btn_profil.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.pe_header_button_help {
	background-image: url("../img/btn_help.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.pe_header_socials {
	width: 150px;
	margin-right: 70px;
	float: right;
}
.pe_header_social {
	width: 40px;
	height: 40px;
	margin: 5px;
	float: left;
}
.pe_header_social_facebook {
	background-image: url("../img/ico-fb--big.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.pe_header_social_youtube {
	background-image: url("../img/ico-yt--big.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.pe_header_social_instagram {
	background-image: url("../img/app-icon2.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.pe_banner {
	position: relative;
}

.pe_map_holder {
	height: 640px;
	position: relative;
	overflow: hidden;
	background: #61A311;
}
.pe_map {
	height: 640px;
	width: 1680px;
	position: absolute;
	top: 0px;
	left: 50%;
	margin-left: -840px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	image-rendering: -webkit-optimize-contrast;
}

.pe_map_video_buttons {
	width: 130px;
	height: 60px;
	position: absolute;
	left: 50%;
	bottom: 20px;
	margin-left: -500px;
}
.pe_map_video_button_intro {
	width: 60px;
	height: 60px;
	background-image: url("../img/btn_film.png");
	/*background-color: rgba(255,255,255,.5);*/
	border-radius: 10px;
	position: absolute;
	left: 0px;
	top: 0px;
	cursor: pointer;
}
.pe_map_video_button_outro {
	width: 60px;
	height: 60px;
	background-image: url("../img/btn_film.png");
	/*background-color: rgba(255,255,255,.5);*/
	border-radius: 10px;
	position: absolute;
	left: 85px;
	top: 0px;
	cursor: pointer;
	display: none;
}
.pe_map_video_tooltip {
	color: #ffffff;
	text-align: center;
	font-size: 10px;
	position: absolute;
	top: 55px;
	left: 50%;
	transform: translateX(-50%); 
	box-sizing: border-box;
	text-shadow: 0px 0px 15px #000000;
	white-space: nowrap;
}
.pe_map_video_popup_holder {
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.5);
	position: fixed;
	top: 0px;
	z-index: 9997;
}
.pe_map_video_popup {
	width: 960px;
	height: 540px;
	position: absolute;
	left: 50%;
	top: 25%;
	margin-left: -480px;
	margin-top: -100px;
    background-color: lightgray;
}
.pe_map_video_popup video {
	width: 100%;
	height: 100%;
}
.pe_map_video_skip {
	width: 100px;
	height: 30px;
	background: #640036;
	position: absolute;
	top: 0px;
	right: 0px;
	color: #ffffff;
	text-align: center;
	line-height: 30px;
	font-size: 16px;
	cursor: pointer;
}
.pe_map_video_skip:hover {
	background: #4B0028;
}

.pe_map_element {
	position: absolute;
	pointer-events: none;
}
.pe_map_element_deactivated img{
	filter: grayscale(100%);
	opacity: .8;
}
.pe_map_element_inactive {
	
}
.pe_map_element_inactive img {
	/*tu jest usuwanie filtrow dla krain, ktore nie sa w ogole jeszcze aktywne, jesli to wywalic, to beda tez wyszarzone jak krainy nieodwiedzone*/
	filter: none !important;
	opacity: 1;
}
.pe_map_element_inactive .pe_map_element_hitarea {
	pointer-events: none;
}
.pe_map_element_inactive .pe_map_element_battery {
	display: none;
}
.pe_map_element_substitute_img {
	display: none;
}
.pe_map_element_battery {
	width: 37px;
	height: 76px;
	position: absolute;
	right: 0px;
	top: 0px;
	background-image: url("../img/bateria.png");
	cursor: pointer;
	pointer-events: auto;
}

.pe_map_element_battery_deactivated {
	filter: grayscale(100%);
	opacity: .5;
	pointer-events: none;
}
.pe_map_element_hitarea {
	position: absolute;
	width: 100%;
	left: 0px;
	bottom: 0px;
	/*background: rgba(255,0,0,.5);*/
	cursor: pointer;
	border-radius: 150px / 50px;
	pointer-events: auto;
}
.pe_map_element_tooltip {
	color: #ffffff;
	font-weight: bold;
	font-size: 16px;
	position: absolute;
	bottom: 5px;
	left: 50%;
	transform: translateX(-50%); 
	padding: 0px 5px;
	box-sizing: border-box;
	text-shadow: 0px 0px 15px #000000;
	display: none;
    white-space: nowrap;
}
.pe_map_element_hitarea:hover > .pe_map_element_tooltip {
	display: block;
}


/*baner na homepage pod menu!*/

.pe_map_element_baner {
    width: 678px;
    height: 90px;
    left: 260px;
    top: 105px;
    position: absolute;
	pointer-events: all;
}



/**/

.pe_map_element_polanka {
	width: 206px;
	height: 106px;
	left: 951px;
	top: 149px;
}

.pe_top_menu {
	height: 100px;
	width: 1162px;
	position: absolute;
	top: 0px;
	left: 50%;
	margin-left: -581px;
	z-index: 9;
}

.pe_top_menu_short {
	top: 60px;
}
.pe_top_menu_scrolled {
	position: fixed;
	/*width: 100%;*/
	height: 50px;
	top: 0px;
	/*left: 0px;
	margin-left: 0px;*/
	z-index: 999;
}
.pe_top_menu_logo {
	width: 275px;
	height: 100px;
	background-image: url("../img/logo_ep_2.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	float: left;
	position: absolute;
	left: 0px;
	top: 0px;
}
.pe_top_menu_logo_scrolled {
	width: 150px;
	height: 50px;
}
.pe_top_menu_list_mobile {
	position: absolute;
	right: 20px;
	bottom: 5px;
	width: 40px;
	height: 40px;
	display: none;
	cursor: pointer;
	background: #640036;
}
.mobile_bar1, .mobile_bar2, .mobile_bar3 {
	width: 40px;
	height: 5px;
	background-color: #ffffff;
	margin: 6px 0;
	transition: 0.4s;
}
.mobile_change .mobile_bar1 {
	-webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
	transform: rotate(-45deg) translate(-9px, 6px) ;
}
.mobile_change .mobile_bar2 {
	opacity: 0;
}
.mobile_change .mobile_bar3 {
	-webkit-transform: rotate(45deg) translate(-8px, -8px) ;
	transform: rotate(45deg) translate(-8px, -8px) ;
}
.pe_top_menu_list {
	margin: 0;
	padding: 0;
	float: left;
	margin-top: 70px;
	color: #FFFFFF;
	font-size: 1rem;
	box-sizing: border-box;
	margin-left: 300px;
	width: calc(100% - 300px);
	text-align: center;
	display: block;
}
.pe_top_menu_list_scrolled {
	margin-top: 20px;
}
.pe_top_menu_list li {
	display: inline-block;
	padding: 5px;
}
.pe_top_menu_list li:hover {
	background: #4B0028;
}
.pe_top_menu_list a {
	color: #ffffff;
	text-decoration: none;
}

.pe_user_tiles {
	text-align: center;
	padding-top: 30px;
	padding-bottom: 20px;
}

.pe_tiles_header {
	font-size: 30px;
	font-weight: bold;
}

.pe_element_tile {
	width: 33%;
	float: left;
	font-size: 16px;
	margin-top: 20px;
	padding: 0 20px;
	box-sizing: border-box;
}
.pe_user_tile_image {
	width: 210px;
	height: 210px;
	margin: 0 auto;
}
.pe_user_tile_image_teacher {
	background-image: url("../img/circle_teacher.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.pe_user_tile_image_student {
	background-image: url("../img/circle_student.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.pe_user_tile_image_parent {
	background-image: url("../img/circle_parent.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.pe_user_tile_header {
	font-size: 18px;
	margin: 10px 0;
	font-weight: bold;
}

.pe_circles_header {
	color: #F78F1E;
}

.pe_info {
	text-align: center;
	padding: 20px 0;
	font-size: 16px;
}
.pe_info_header {
	margin-bottom: 20px;
	color: #7C0040;
}

.pe_howto {
	text-align: center;
	padding: 20px 0;
	font-size: 16px;
}
.pe_howto_header {
	margin-bottom: 20px;
	color: #F78F1E;
}
.pe_howto_image img {
	width: 100%;
	image-rendering: -webkit-optimize-contrast;
}
.pe_howto_planet {
	width: 215px;
	height: 173px;
	background-image: url("../img/logo_planeta.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin: 30px auto 0 auto;
	image-rendering: -webkit-optimize-contrast;
}

.pe_map_element_image {
	overflow: hidden;
	position: absolute;
	width: 100%;
	height: 100%;
}

.pe_map_element_image_baner{
	overflow: visible;
	width: 100%;
	height: 100%;
}

.pe_textfile_header_margin {
	height: 150px;
}
.pe_textfile_header {
	margin-bottom: 0px;
	padding-bottom: 20px;
}
.pe_textfile_content_holder {
	padding-bottom: 20px;
}
.pe_textfile_content {
	background: #FFFFFF;
	padding: 20px 20px;
	box-sizing: border-box;
	font-size: 16px;
}
.pe_textfile_content_date {
	font-size: 12px;
	color: #D1D1D1;
}
.pe_textfile_content_header {
	font-weight: bold;
	color: #7C0040;
	margin-bottom: 20px;
	font-size: 20px;
}

.pe_bottom_menu {
	height: 50px;
	text-align: center;
	line-height: 50px;
	color: #999999;
	font-size: 16px;
}
.pe_bottom_menu a {
	text-decoration: none;
	color: inherit;
}
.pe_bottom_menu a:hover {
	text-decoration: underline;
	color: #666666;
}

.clearfloat {
	clear: both;
}


div.nivo-caption {
	background: rgba(255,255,255,0);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: initial;
}

div.nivo-controlNav {
	display: flex;
	flex-direction: column;
    left: auto;
    position: absolute;
    right: 80px;
    top: 50%;
    z-index: 8;
}


.slide-0-main {
	position: relative;
	left: 30%;
	top: 30%;
	width: 40%;
	height: 200px;
	color: black;
	text-align: center;
}

.slide-0-buttons {
	display: flex;
	justify-content: center;
}

/*button position calculated by taking position and sizes of button on original image and dividing it by image size */
.slide-1-main .button {
	position: absolute;
	left: 10.5%;
	top: 66.5%;
	width: 21%;
	height: 10.5%;
	cursor: pointer;
	border: none !important;
}

.slide-2-main .button {
	position: absolute;
	left: 13%;
	top: 64%;
	width: 13%;
	height: 10%;
	cursor: pointer;
	border: none !important;
}

h2 {
	font-size: 1.4em;
}

.slide-button {
	width: 190px;
	height: 50px;
	margin-right: 10px;
	display: flex;
	justify-content: center;
	vertical-align: center;
}

span.mission-title {
	display: block;
}

div.slide-button a.mission-redirect {
	text-decoration: none;
	border-bottom: none;
	line-height: 50px;
	display: block;
	width: 100%;
	height: 100%;
	font-size: 13px;
}

@media all and (max-width: 1680px) {
	.slide-0-main {
		top: 25%;
		width: 50%;
		left: 25%;
	}
}

/*@media all and (max-width: 1180px) {*/
@media all and (max-width: 1200px) {
	.pe_top_menu {
		width: 100%;
		left: 0px;
		margin-left: 0px;
		z-index: 9;
	}

    div.pe_banner {
        padding-top: 100px;
    }

	.pe_map_video_popup {
		width: 100%;
		height: auto;
		left: auto;
		margin-left: 0;
		margin-top: 0;
	}

	.slide-0-main {
		left: 25%;
		top: 5%;
		width: 50%;
	}
}

@media all and (max-width: 1240px) {
	.pe_map {
		transform: scale(0.8);
	}

    .pe_map_holder {
        height: 578px;
    }
}

@media all and (max-width: 990px) {
	.pe_map_video_popup {
		top: auto;
	}

	.pe_top_menu_list {
		display: none;
	}

	.pe_top_menu_list_mobile {
		display: block;
	}

	.pe_top_menu_list {
		width: 150px;
		background: #640036;
		float: right;
		margin-top: 100px;
		margin-right: 20px;
		display: none;
	}
	.pe_top_menu_list_scrolled {
		margin-top: 50px;
	}
	.pe_top_menu_list_mobile_change {
		display: block;
	}
	.pe_top_menu_list li {
		display: block;
	}
	.pe_top_menu_list span {
		display: none;
	}
	.pe_top_menu_list_mobile {
		display: block;
	}

	.pe_element_tile {
		width: 100%;
	}

	.pe_map {
		transform: scale(0.6);
		top: -78px;
	}

    .pe_map_holder {
        height: 432px;
    }
	.slide-0-main {
		left: 15%;
		top: 5%;
		width: 70%;
	}
	h3 {
		font-size: 1em;
	}
}

@media all and (max-width: 800px) {
	.pe_map {
		transform: scale(0.45);
		top: -90px;
	}

    .pe_map_holder {
        height: 375px;
    }

	.slide-0-main {
		left: 5%;
		top: 0;
		width: 90%;
	}

	h2 {
		font-size: 1.2em;
	}

	h3 {
		font-size: 0.75em;
	}

	.slide-button {
		width: 150px;
		height: 35px;
	}

	div.slide-button a.mission-redirect {
		line-height: 35px;
		font-size: 0.5em;
	}
}
