@font-face {
    font-family: Geomanist;
    src: url('../fonts/geomanist-regular.woff2') format('woff2'), 
    	 url('../fonts/geomanist-regular.woff') format('woff'), 
    	 url('../fonts/geomanist-regular.ttf')  format('truetype')
}

@font-face {
    font-family: Geomanist;
    src: url('../fonts/geomanist-bold.woff2') format('woff2'), 
         url('../fonts/geomanist-bold.woff') format('woff'), 
         url('../fonts/geomanist-bold.ttf')  format('truetype');
    font-weight: bold;
}

* {
	margin: 0;
	padding: 0;
	/*border: 0;*/
	box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.5em;
	font-family: Geomanist, "Calibri Light", Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-size: 100%;
	color: #5b5b5b;
	height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.content {
    flex: 1 0 auto;
}
footer {
    flex-shrink: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

ul{
	padding-top: 0.3em; 
}

li{
	margin-left: 1.4em;
}

p, table{
	font-size: 0.9em;
}

input, textarea, select, button{
	font-size: 1em;
	font-family: Geomanist, "Calibri Light", Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif;
}

a{
	text-decoration: none;
	color: #afafaf;
}
a:hover{
	text-decoration: underline;
	color: #afafaf;
}

/*.form a{
    border-bottom: 1px solid #afafaf;
}
.form a:hover{
    text-decoration: none;
    border-bottom: 2px solid #afafaf;
}*/

h1, h2{
	font-size: 1.2em;
    text-align: center;
    color: #808080;
    font-weight: normal;
    margin: 1.5em 2em;
    font-weight: bold;
}

h2{
	font-size: 1.1em;
	text-align: center;
	margin-top: 0;
}
h2 a{
    color: #808080;
    cursor: pointer;
}

hr{
	border-style: none;
	height: 0.08em;
    background: linear-gradient(to right, white, #d2d2d2, #d2d2d2, white);
}

#header li{
	margin-left: 1.7rem;
}

.logo_head {
    display: inline-block;
    margin-top: -0.5em;
}

.logo_head span{
	border-left: 1px solid #808080;
    display: inline-block;
    vertical-align: top;
    line-height: 1.5em;
    font-weight: bold;
    color: #808080;
    font-size: 0.8em;
    margin-left: 0.4em;
    padding-left: 1.2em;
}

.logo{
    height: 2.13em;
    display: inline-block;
    margin: 0.2em 0.4em 0 0 ;
    /*margin-top: 0.3em;
    margin-left: 0em;
    margin-right: 0.5em*/;
}

#alt_menu_container{
	display: inline-block;
	vertical-align: top;
	margin-top: -0.5em;
	font-size: 1.0em;
}

#alt_user_menu{
	background-image: url(../img/person_icongray.png);
    width: 3em;
    display: inline-block;
    vertical-align: top;
    margin: -0.2em 0;
    background-size: 3em;
    height: 3em;
    outline: none;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    border: 0;
}

.user_menu .user_buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#user_buttons{
    display: none;
}

nav.site_nav {
    white-space: nowrap;
}

#header ul{
	display: inline;
}

#header{
	font-family: Geomanist, 'Verdana', 'Helvetica', Arial, sans-serif;
	display: inline-flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    padding: 0.5em 0.5em 0.1em;
    position: fixed;
    z-index: 50;
    top: 0;
    background-color: white;
}
#header > div > ul li{
	display: none;
}
#header div ul li{
	text-transform: uppercase;
	vertical-align: top;
}
#header div ul li a {
    font-size: 1.1rem;
    text-decoration: none;
    color: #a4a4a4;
}
#header div ul li a:hover{
	color: #808080;
}
#header .menu_right > ul li:nth-child(3){
	display: none;
}
#header #alt_user_menu{
	display: inline-block;
}

.menu_left, .menu_right{
    margin-top: 0.5em;
}
.menu_right{
    margin-right: 0.2em;
}

#alt_menu {
	width: 2.3em;
	height: 1.8em;
	border: 0;
	border-top: 5px solid #808080;
	background-color: transparent;
	position: relative;
	margin-top: 0.4em;
	cursor: pointer;
	margin-left: 0;
	z-index: 5;
	outline: none;
	-webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

#alt_menu::before, #alt_menu::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-top: 5px solid #808080;
  transition: 0.2s transform linear;
  transform: translateY(0.4em);
}

#alt_menu::after {
  transform: translateY(1.1em);
}

#header .lang_btn, .lang_btn{
    margin-right: 1em;   
    margin-top: 0.1em;
    list-style: none;
}
#header .lang_btn a, .lang_btn a{
    border: 1px solid #c3c3c3;
    padding: 0.2em 0.5em;
    text-transform: capitalize;
    font-size: 0.9em;
    border-radius: 0.3em;
    text-decoration: none;
    color: #c3c3c3;
}

.logo_head .lang_btn{
    position: absolute;
    right: 4em;
    top: 1em;
}
.logo_head .lang_btn a{
    border-color: #fafafa;
    color: #fafafa;
}

.main_menu .logo_head a span{
    display: none;
}

.form{
	width: auto;
    margin: 1em 2em 5em;
    border-radius: 0.3em;
    font-size: 0.9em;
    padding: 0em;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    position: relative;
}

#panelRegister{
    position: relative;
}

@keyframes form_silde_out{
	from {
		opacity: 1;
	}

	to{
		opacity: 0;
		transform: translate(-8em,0);
        /*transform: rotate3d(1, 1, 0, 90deg);*/
	}

}
@keyframes form_silde_in{
	from {
		opacity: 0;
		transform: translate(8em,0);
        /*transform: rotate3d(1, 1, 0, -90deg);*/
	}
	to {
		opacity: 1;
	}
}

.form label{
	display: inline-block;
	margin-right: 0.5em;
	/*min-width: 9em;*/
    text-align: justify;
    margin-bottom: 0.3em;
}

#panelRegister.form label[for=regAccept]{
    white-space: nowrap;
}

/*label.required:after{
    color: #e32;
    content: '*';
    padding-left: 2px;
    display:inline;
}*/

.field {
	/*-webkit-box-shadow: inset 0px 0px 11px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: inset 0px 0px 11px 0px rgba(0,0,0,0.15);
	box-shadow: inset 0px 0px 11px 0px rgba(0,0,0,0.15);*/
	display: block;
    padding: 0.5em;
    border-radius: 0.3em;
    outline: none;
    width: 17em;
    border: 1px solid #e3e3e3;
    /*margin-bottom: 1.5em;*/
}
.form label:nth-child(n+3){
	margin-top: 0.7em;
}

.form input[type=submit], .form input[type=button]{
    margin: 1em auto 0;
    display: block;
    padding: 0.3em 1.2em 0.4em 1.2em;
    background-color: rgb(0,176,80);
    border-radius: 0.3em;
    color: white;
    /* text-transform: uppercase; */
    font-size: 1em;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
}

.form input[type=button].other{
    background-color: #f6f6f6;
    color: #454545;
    border: 1px solid #c5c5c5;
}

.form input[type=submit]:hover{
    background-color: #00d15e;
}

.form input[type=button].small, .form button.small{
    display: inline;
    font-size: 0.8em;
    padding: 0.3em 0.6em;
    background-color: #f8f8f8;
    color: #676565;
    border: 1px solid lightgrey;
}
.form input[type=button].small:hover, .form button.small:hover{
    background-color: #fcfcfc;
}

form input[type=submit]:nth-child(4){
    font-size: 1.1em;
}
form input[type=submit]:last-child{
    font-size: 0.96em;
}

form input[type=submit].arrow{
    background-image: url(../img/arrow_right_white.png);
    background-repeat: no-repeat;
    background-size: 9%;
    background-position: right 0.5em center;
    padding-right: 1.7em;
}

form div.text{
    margin-left: 0.8em;
    text-align: center;
    margin-top: -1.4em;
    margin-bottom: 0.7em;
}

.error{
	color: red;
    text-align: center;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 0.6em;
}

#login_footer div{
    font-size: 0.9em;
    text-align: right;
    margin-right: 3em;
    margin-top: 0.5em;
    margin-bottom: 0.6em;
}

/*#passCheck{
    display: none;
    position: absolute;
    width: 10.2em;
    border: 1px solid #e0e0e0;
    border-radius: 0.3em;
    padding: 0.8em 1em;
    white-space: nowrap;
    background-color: #fafafa;
    right: -8em;
}*/

#passCheck{
    position: static;
    width: 15.2em;
    border: 1px solid #e0e0e0;
    border-radius: 0.3em;
    padding: 0.8em 1em;
    white-space: nowrap;
    background-color: #fafafa;
    margin: 0 auto;
    display: none;
}

.checkBar{
    width: 1.4em;
    border: 1px solid #e6e6e6;
    display: inline-block;
    height: 0.5em;
    background-color: #fbfbfb;
    vertical-align: middle;
}
#verdict{
    /*font-weight: bold;*/
    font-size: 0.8em;
    display: none;
    margin-top: 0.5em;
}
.psw_container{
    display: inline;
    position: relative;
}

.registered{
    text-align: center;
    line-height: 1.8em;
}

.maskedBlock {
    /*float: left;*/
    margin-right: 0.444em;

}
.maskedBlock *{
    display: block;
    width: 1.5em;
    text-align: center;
}
.maskedBlock .field{
    margin-bottom: 0.2em;
    padding-left: 0;
    padding-right: 0;
}
#maskedPassword{
    display: inline-flex;
    /*vertical-align: -webkit-baseline-middle;
    vertical-align: -moz-middle-with-baseline;*/
    vertical-align: bottom;
    margin-top: 1em;

    margin-left: -3.6em;
}
#maskedPassword .small{
    display: inline-block;
    height: 2.2em;
    margin-left: 0.3em;
}

.footnote{
    font-size: 0.8em;
    color: #8c8c8c;
    display: block;
    text-decoration: none;
    position: absolute;
    left: 0.7em;
    bottom: -2.2em;
}
.footnote:hover{
    text-decoration: underline;
}



.main_menu_wraper{
    position: relative;
}

.menu{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: #b7b7b7;
    z-index: 100;
    padding: 1em 0.5em 0.8em; 
    display: none;
}

.menu.active{
    top: 0;
    display: block;
}

.menu .logo_head span{
    color: white;
}

.menu ul, .menu ol {
    list-style: none;
}
.menu ul li {
    list-style: none;
    color: white;
    margin: 0;
    margin-bottom: 0.2em;
    font-weight: bold;
}

.menu .menu_line2 div > ul{
    margin-top: 1em;
}

.menu .menu_line1 ul, .menu .menu_line2,
.menu .menu_line1 > ol > li, .menu .menu_line1 > ol, .menu .menu_line2 div{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.menu .menu_line1 > ol > li{
    margin-left: 0;
}

.menu .menu_line1 ul li, .menu .menu_line2 ul{
    width: 12em;
    margin-left: 1.5em;
    margin-right: 1.5em;
}
.menu .menu_line2 div:nth-child(3) ul{
    margin-left: 1.5em;
    margin-right: 1.5em;
}

.menu_line1{
    margin-top: 1em;
}
.menu_line1 a{
    text-transform: uppercase;
}

.menu_line1 ul li {
    margin-bottom: 1em;
}

.menu_line2 ul ul {
    margin-left: 0.7em;
}

.menu_line1 a, .menu_line2 a{
    text-decoration: none;
    color: white;
    text-align: center;
}
.menu_line2 a{
    color: #fafafa;
    font-weight: normal;
}
.menu_line1 a:hover, .menu_line2 a:hover{
    border-bottom: 1px solid white;
    font-weight: bold;
}
.menu div.copyr{
    color: white;
    text-align: right;
    margin-top: 1em;
}

.menu_line2 li a {
    margin-left: 0;
}

.menu ul, .menu ol {
    text-align: center;
}

.fifth_element{
    display: none;
}

.logo_head .close_menu_btn {
    width: 2.5em;
    height: 2.5em;
    border: 0;
    background-color: transparent;
    margin-top: 0.5em;
    cursor: pointer;
    margin-left: 2.6em;
    z-index: 5;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    transform: rotate(45deg);
    position: absolute;
    right: 1.5em;
    top: 0.5em;
}

.logo_head .close_menu_btn::before, .logo_head .close_menu_btn::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-top: 5px solid white;
  transform: rotate(-90deg) translateX(-1em);
}

.logo_head .close_menu_btn::after {
  transform: translateY(1em);
}

.centered{
    width: 95%;
    margin: 0 auto 2em;
}

.label_btn_container{
    display: inline-block;
    margin-top: 0.8em;
    text-align: right;
    margin-right: 0.3em;
}

.form .label_btn_container input[type=button]{
    display: block;
    margin-top: 0.6em;
}

#panelLogin #code{
    margin-top: 1.4em;
    vertical-align: top;
}

.message_mask {
    left: 0;
    right: 0;
    /*background-color: #b9363666;*/
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    display: flex;
}
.message{
    border-radius: 4px;
    position: absolute;
    min-width: 16em;
    max-width: 30em;
    min-height: 4.4em;
    -webkit-box-shadow: 0px 0px 13px -1px rgba(120,118,120,1);
    -moz-box-shadow: 0px 0px 13px -1px rgba(120,118,120,1);
    box-shadow: 0px 0px 13px -1px rgba(120,118,120,1);
    background-color: rgba(255, 255, 255, 1);
    /* display: none; */
    z-index: 101;
    border: 1px solid #008040;
    padding: 0.6em 1em 0.6em 4em;
    display: flex;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    /*text-align: center;*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.message::before {
    content: '';
    position: absolute;
    z-index: 101;
    width: 32px;
    height: 32px;
    background-image: url(../img/ok-error.png);
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: 0 -32px;
    left: 1em;
    top: 1.7em;
}

#message.err .message::before {
    background-position: 0 0;
}
#message.err .message {
    border: 1px solid #ff1f1f;
}

.zyskuj_container{
    display: flex;
    flex-wrap: wrap;
    /* max-width: 30em; */
    justify-content: center;
    margin-top: 3em;

}
.zyskuj_container > div{
    width: 30em;
    margin-left: 1em;
    margin-right: 1em;
    /*position: relative;*/
    /*background-color: #fbfbfb;*/
    padding: 0.8em 0.8em 0.5em;
    border-radius: 0.6em;
    /*border: 1px solid #e3e3e3;*/
    margin-bottom: 2em;
}

.zyskuj_container h2{
    border-width: 0 0 3px 0;
    border-style: none none solid none;
    -moz-border-image: -moz-linear-gradient(#d2d2d2, transparent) 1;
    -o-border-image: -o-linear-gradient(#d2d2d2, transparent) 1;
    border-image: linear-gradient(to right, #d2d2d2, transparent) 1;
    font-weight: bold;
    text-align: left;
    margin-left: 0;
    margin-bottom: 1em;
}
.zyskuj_container > div a:hover{
    text-decoration: none;

}
.zyskuj_container > div a > span {
    cursor: pointer;
    display: flex;
    color: #5b5b5b;
}
.zyskuj_container > div a > span span:last-child {
    flex: 1;
    /*margin-left: 1em;*/
}

.zyskuj_container > div span .image {
    content: '';
    position: static;
    width: 120px;
    height: 120px;
    background-image: url(../img/programy.png);
    background-repeat: no-repeat;
    background-size: 363px;
    display: inline-block;
}
.zyskuj_container div span:hover .image{
    background-position-y: -121px;
}
span.program2 .image{
    background-position-x: -121px;
}
span.program3 .image{
    background-position-x: -242px;
    
}
.zyskuj_container .rhead{
    text-align: center;
    display: block;
    margin-bottom: 1em;
    font-weight: bold;

}
.zyskuj_container .rtext{
    display: block;
    text-align: right;
    font-size: 0.9em;
}

.logout_section{
    max-width: 45em;
    /*margin: 0 auto;*/
    margin-bottom: 0;
    padding: 1em;
}
.logout_section div:first-child{
    font-weight: bold;
    margin-bottom: 0.5em;
}
.logout_section a{
    margin-right: 2em;
    margin-top: 1em;
    display: inline-block;
}

.small_gap{
    display: block;
    margin-top: 0.6em;
}

.mobile{
    display: inline-block !important;
}
.desktop{
    display: none !important;
}

@media screen and (min-width:561px) {
    .mobile{
        display: none !important;
    }
    .desktop{
        display: inline-block !important;
    }

    .form{
        width: 34em;
        border: 1px solid #e3e3e3;
        padding: 1.5em;
        /*margin: 1em auto 3em;
        border-radius: 0.3em;
        font-size: 0.8em;
        animation-duration: 0.2s;
        animation-fill-mode: both;
        position: relative;*/
    }

    #maskedPassword{
        margin-left: 0;
    }

    .field {
        display: inline-block;
       /* padding: 0.5em;
        border-radius: 0.3em;
        outline: none;
        width: 17em;
        border: 1px solid #e3e3e3;*/
    }

    .form label{
        min-width: 9em;
        margin-bottom: 0;
    }

    .form label:nth-child(n+3){
        margin-top: 1.5em;
    }

    #panelRegister .ui-checkboxradio-label{
        display: block;
        text-align: left;
        margin-top: 1.8em;
        width: 19em;
        margin: 1.8em auto 0.4em;
    }
}


@media screen and (min-width:768px) {

    #alt_menu_container > div:first-child{
        display: none;
    }

    #header #alt_user_menu{
        display: none;
    }

    #header .menu_right li{
        display: inline-block;
    }

    hr.optional{
        display: none;
    }

    #header .menu_right ul li:nth-child(3){
        display: inline-block;
    }

    /*.menu ul {
        text-align: left;
    }*/

    #user_buttons{
        display: inherit;
    }

    .main_menu .logo_head a span{
        display: inline-block;
    }
}


@media screen and (min-width:1030px) {
  
    #header{
        padding: 0.7em 1em 0.1em;
    }
    .menu{
        padding: 1.2em 1em 0.8em;
    }

    #header .menu_left ul li{
        display: inline-block;
    }

    #alt_menu_container > button{
        display: none;
    }

    #site_nav{
        display: none;
    }

    #alt_menu_container{
        display: none;
    }

    .logo_head .close_menu_btn {
        position: static;
    }
}

@media screen and (min-width:1232px) {
    .fifth_element{
        display: list-item;
    }
}



.spacer{
    margin-top: 70px;
}

#breadcrumb{
    margin: 0.5em 0 0.5em 1.5em;
    font-size: 0.9em;
}

.noeng{
    font-weight: bold;
    color: blue;
}

.mikro{
    color: red;
    font-size: 12px;
    font-weight: normal;
    display: none;
    padding: 1px 10px;
    border: 1px solid red;
    background: white;
    border-radius: 4px;
    position: absolute;
    z-index: 1000;
    line-height: 1.5em;

}
section[data-id]:hover{
    position: relative;
    background-color: rgba(255, 0, 0, 0.07);
}

section[data-id]:hover ~ .mikro, .mikro:hover{

    display: block;
}

div.login-info{
    border: 1px solid #ececec;
    background-color: #fcfcfc;
    padding: 0.2em 0.4em;
    text-align: center;
    font-size: 0.9em;
    width: 100%;
    margin: 0 auto;
}


div.gp_badge {
    width: auto;
    height: auto;
    display: block;
    text-align: center;
    background-color: #f4f4f4;
    line-height: 1em;
    border-radius: 0.6em;
    display: block;
    padding: 0.5em;
    margin: 0;
    color: #ffffff;
    font-size: 0.8em;
    /*margin-top: 3em;*/
}

.gp_badge img{
    width: 12em;
    height: auto;
}

.gp_badge p{
    line-height: 1.6em;
    font-size: 1.3em;
    text-align: left;
    padding: 0.6em 0.6em 0.1em 0.6em;
    color: #5b5b5b;
}

.gp_badge p img{
    width: 2em;
    vertical-align: middle;
    margin-right: 0.5em;
    border-radius: 0.6em;
}

.content_group{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.passhint{
    display: block;
    color: rgb(0,176,80);
    font-size: 0.9em;
}
.passerror{
    color: #e32;
}
.passhint:before{
    content: "✓";
}
.passerror:before{
    content: "•";
}


#panelRegister ul li{
    list-style: none;
}


#panelRegister ol li, #panelRegister li label.ui-checkboxradio-label{
margin-top: 0.2em;
    width: auto;
    /* margin: 0 0 0 1.4em; */
    font-size: 0.9em;
    line-height: 1.5em;
    text-indent: -2em;
}

#login-info-email-info-switch {
    display: block;
    text-align: center;
}

#login-info-email-info {
    border: 1px solid silver;
    border-radius: 0.2em;
    padding: 0.8em;
    background-color: #fafafa;
    cursor: pointer;
}