/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&subset=latin-ext');

/* GENERAL */
html {
    width: 100%;
    height: 100%;
    overflow: auto;
    font-size: 14px;
}

body {
    width: 100%;
    height: 100%;
    background-color: #fff;
    color: #6f6f6f;
    font-family: 'Open Sans', sans-serif;
    font-feature-settings: "kern";
    -moz-font-feature-settings: "kern";
    -webkit-font-feature-settings: "kern";
}

body * {
    image-rendering: -moz-crisp-edges;
    image-rendering: optimizeQuality;
    image-rendering:   -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    cursor: pointer;
    color: inherit;
}


a:hover {
    text-decoration: none;
}

b, strong {
    font-weight: bold;
}

*, *:after, *:before {
    box-sizing: border-box;
}

hr {
    background-image: url("image/hr.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    border: 0 none;
    margin: 0;
    height: 0.16rem;

}

.Clearfix:before, .Clearfix:after {
    display: table;
    content: " ";
    clear: both;
}

/* FRAME */
#sizer {
    position: absolute;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
}

#frameContent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.PageBackground {
    position: relative;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    z-index: auto;
    padding: 5% 6.1% 2.8% 2.6%;
}

#prize.PageBackground {
    background-image: url("image/nyeremenyek-pedagogus.jpg");
}

/* HEADER */
#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.1rem;
    z-index: 2;
    background: #ff6008;
}

#header .Logo{
    content: '';
    position: relative;
    top: 0;
    left: 0;
    width: 5.3%;
    height: 100%;
    display: inline-block;
    background: url("image/logo-ptemarker.png") no-repeat center;
    background-size: 40%;
    text-indent: -9999%;
    cursor: pointer;
}

#header .Navigation {
    position: absolute;
    left: 29.3%;
    top: 0;
    width: 49.4%;
    height: 100%;
}

#header .Navigation ul {
    margin: 1rem 0 0 0.5rem;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

#header .Navigation ul li {
    display: inline-block;
    color: #333;
    margin: 0 0.2rem;
    cursor: pointer;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

#header .Navigation ul li .Icon {
    width: 1.1rem;
    height: 1rem;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}

#header .Navigation ul li span {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    transition: all 0.25s;
}

/*#header .Navigation ul li.Current .Icon {
    background-position: center bottom;
}*/

#header .Navigation ul li:hover .Icon {
    background-position: center bottom;
}

#header .Navigation ul li.Intro .Icon {
    background-image: url("image/navigation/intro.png");
}

#header .Navigation ul li.Select .Icon {
    background-image: url("image/navigation/select.png");
    background-size: 70% auto;
}

#header .Navigation ul li.Leaderboard .Icon {
    background-image: url("image/navigation/leaderboard.png");
    background-size: 100% auto;
}

#header .Navigation ul li.Shop .Icon {
    background-image: url("image/navigation/shop.png");
    background-size: 100% auto;
}

#header .Navigation ul li.Prize .Icon {
    background-image: url("image/navigation/prize.png");
    background-size: 100% auto;
}

#header .Navigation ul li.Video .Icon {
    background-image: url("image/navigation/video.png");
    background-size: 100% auto;
}

#header .Navigation ul li .Label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.58rem;
    line-height: 1;
    margin-left: 0.3rem;
    margin-right: 0.5rem;
    padding-top: 0.1rem;
}

/*#header .Navigation ul li.Current .Label {
    color: #232221;
}*/

#header .Navigation ul li:hover .Label {
    color: #fff;
}


#header .Logout {
    position: absolute;
    right: 1.2rem;
    top: 0;
    right: 0;
    height: 100%;
    width: 3.4rem;
    background-color: #333333;
    background-image: url("image/logout.png");
    background-repeat: no-repeat;
    background-position: center  0.8rem;
    background-size: 0.8rem;
    font-size: 0.53rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding-top: 1.9rem;
    text-transform: uppercase;
    -webkit-transition: all 250ms;
    -moz-transition: all 250ms;
    -ms-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
}

#header .Logout:hover {
    color: rgba(255, 255, 255, 1);
}

/* PLAYER */
#player {
    position: absolute;
    top:0;
    left: 5.3%;
    width: 24%;
    height: 100%;
    padding: 0.46rem 0.9rem;
    background: #333333;
    display: inline-block;
}

#player .Avatar {
    width: 2.3rem;
    height: 2.3rem;
    float: left;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 2.3rem;
    margin-right: 0.8rem;
    transition: all 0.25s;
}

#player .Avatar.Female {
    background-image: url("image/avatar-female.png");
}

#player .Avatar.Male {
    background-image: url("image/avatar-male.png");
}

#player a:hover .Avatar {
    background-position: center bottom;
}

#player .Name {
    color: #fff;
    font-size: 0.66rem;
    line-height: 1;
    margin-top: 0.4rem;
    font-weight: 600;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

#player a:hover{
    text-decoration: none;
}

#player .Steps {
    margin-top: 0.2rem;
}

#player .Steps ul {
    float: left;
}

#player .Steps ul li {
    float: left;

    width: 0.8rem;
    height: 1rem;

    font-size: 0;
    color: transparent;


    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#player .Steps ul li.Inactive {
    background-image: url("image/step-inactive.png");
}

#player .Steps ul li.Completed {
    background-image: url("image/step-completed.png");
}

#player .Steps ul li.Current {
    background-image: url("image/step-current.png");
    width: 1rem;
    margin: 0 0.1rem;
}

#player .Logout {
    display: table-cell;
    background-image: url("image/logout.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 42%;
    text-decoration: none;
    background-color: rgba(255,255,255,0.1);
    cursor: pointer;
    font-size: 1em;
    width: 2.75em;
    text-indent: -9999px;
    overflow: hidden;
}

#player .Logout:hover {
    background-color: rgba(255,255,255,0.2);
}

#player .Logout:active {
    background-color: rgba(255,255,255,0);
}

/*  ----------  FOOTER  ----------  */

#footer {
    bottom: 0;
    height: 1.9rem;
    left: 0;
    right: 0;
    position: absolute;
    background-color: #333;
    padding: 0 1rem;
    color: #fff;
    z-index: 1;
}

#footer a {
    opacity: 0.75;
}

#footer a:hover {
    opacity: 1;
}

#logo-irany {
    float: left;
    display: block;
    text-indent: -9999px;
    width: 2rem;
    height: 1rem;
    margin-top: 0.5rem;
    background-image: url("image/logo-irany-footer.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

#logo-markcon {
    position: absolute;
    top: 0.2rem;
    right: 1.3rem;
    display: block;
    text-indent: -9999px;
    width: 3.53rem;
    height: 1.5rem;
    background-image: url("image/logo-mci.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    margin-left: 1.4rem;
}

#logo-pte {
    position: absolute;
    top: 0.2rem;
    right: 5.8rem;
    display: block;
    text-indent: -9999px;
    width: 5.43rem;
    height: 1.5rem;
    background-image: url("image/logo-pte.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    margin-left: 1.4rem;
}

#copyright {
    float: left;
    line-height: 2rem;
    margin-left: 1rem;
    margin-top: -0.1rem;
    font-size: 0.46rem;
    color: #cecece;
}

#footer-menu {
    position: absolute;
    top: 0.15rem;
    right: 19.2%;
}

#footer-menu li {
    float: left;
    line-height: 1.5rem;
    padding-right: 0.46rem;
    margin-right: 0.36rem;
    position: relative;
}

#footer-menu li:after{
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 5px;
    height: 5px;
    margin: -2px 0 0 -3px;
    background: #ff6008;
    border-radius: 50%;
}

#footer-menu li:last-child:after {
    margin-right: 0;
    padding-right: 0;
    background: transparent;
}

#footer-menu li a {
    display: block;
    color: #fff;
    font-size: 0.46rem;
}

/* TABS */
.Tabs {
    position: relative;
    overflow: hidden;
    margin: 0 -1.8%;
}

.Tabs > .Tab {
}

.Tabs > .Tab > .Title {
    float: left;
    position: relative;
    z-index: 1;
    color: #bebdbd;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1.4em;
    margin-left: -1px;
    background-color: transparent;
    white-space: nowrap;
    font-weight: 900;
    height: 2em;
    line-height: 2em;
    border-top-left-radius: 0.2em;
    border-top-right-radius: 0.2em;
    padding: 0 1.2em;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 1);
}

.Tabs > .Tab > .Title > .Icon {
    width: 1.2em;
    height: 1.2em;
    float: left;
    margin: 0.4em 0.4em 0 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.5;
}

.Tabs > .Tab.Active > .Title > .Icon {
    opacity: 1;
}

.Tabs > .Tab:first-child > .Title {
    margin-left: 2.7em;
}

.Tabs > .Tab.Active > .Title {
    background: #fff;
    z-index: 11;
    color: #747676;
    border: 1px solid #d3d7da;
    border-bottom: 0 none;
}

.Tabs > .Tab > .Content {
    background: #fff;
    position: absolute;
    left: 0;
    top: 2.8em;
    bottom: 0;
    right: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s;
    border: 1px solid #d3d7da;
    margin-top: -1px;
    padding: 1% 3.85%;
    border-radius: 0.28em;
}

.Tabs > .Tab.Active > .Content {
    opacity: 1;
    z-index: 10;
}

/* PROGRESS */
#progress {
    position: absolute;
    background: url("image/preloader.gif") center center no-repeat no-repeat, #f5f5f5;
    background-size: 1.5em;
    border-radius: 0.25em;
    left: 50%;
    top: 50%;
    margin: -1.5em 0 0 -1.5em;
    width: 3em;
    height: 3em;
    display: none;
    z-index: 1000;
}

/* UPDATE */
#update {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #373b3c;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #d3d3d3;
    text-align: center;
    padding: 50px 20px;
}

#update p {
    font-size: 1.8em;
    line-height: 1.4em;
    margin: 1.4em 0;
}

#update p span {
    color: #fff;
    font-weight: 600;
}

#update p.Small {
    font-size: 1.4em;
}

#update .Icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background-image: url("image/maintenance.png");
    background-repeat: no-repeat;
}

/* CONTENT PANELS */
.PanelContainer:before, .PanelContainer:after {
    display: table;
    content: " ";
    clear: both;
}

.ContentPanel {
    background-color: #fff;
    position: relative;
    float: left;
    border: 1px solid #ddd;
    height: 100%;
    border-radius: 0.1em;
    padding: 1% 1.5%;
    margin: 0 1.7% 1.7% 0;
}

.ContentPanel.PanelThird {
    width: 32.2%;
}

.ContentPanel.PanelHalf {
    width: 49.15%;
}

.ContentPanel.PanelFull {
    width: 100%;
    float: none;
    margin-right: 0;
}

.ContentPanel.PanelThird:nth-child(3n),
.ContentPanel.PanelHalf:nth-child(2n) {
    margin-right: 0;
}

.ContentPanel.PanelThird:nth-last-child(1),
.ContentPanel.PanelThird:nth-last-child(2),
.ContentPanel.PanelThird:nth-last-child(3),
.ContentPanel.PanelHalf:nth-last-child(1),
.ContentPanel.PanelHalf:nth-last-child(2),
.ContentPanel.PanelFull:nth-last-child(1) {
    margin-bottom: 0;
}

.ContentPanel > .Header {
    color: #6f6f6f;
    text-transform: uppercase;
    margin-bottom: 1em;
}

.ContentPanel > .Header:before, .ContentPanel > .Header:after {
    display: table;
    content: " ";
    clear: both;
}

.ContentPanel > .Header .Title {
    float: left;
    font-size: 1.2em;
    line-height: 1em;
    color: #6f6f6f;
}

.ContentPanel > .Header .Title span {
    color: #2bc191;
}

/* ERROR MONOLITH */
.ErrorMonolith {
    padding: 2.5% 25%;
    text-align: center;
    line-height: 1.2;
}

.ErrorMonolith a {
    color: #6f6f6f;
    text-decoration: none;
    font-weight: bold;
}

.ErrorMonolith .Image {
    width: 100%;
    height: 21.5em;
    background-image: url("image/error-monolith.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    margin-bottom: 2em;
}

.ErrorMonolith .Text {
    font-size: 1.2em;
    margin: 0.5em 0;
}

.ErrorMonolith .Exception,
.ErrorMonolith .ErrorText {
    font-size: 1.2em;
    margin: 0.5em 0;
    color: #e2001a;
    font-weight: bold;
}

.ErrorMonolith .LinkToHome {
    font-size: 1em;
    margin: 0.5em 0;
}