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

@font-face {
    font-family: 'Gill Sans MT Pro Condensed';
    src: url('font/subset-GillSansMTPro-BoldCondensed.woff2') format('woff2'),
    url('font/subset-GillSansMTPro-BoldCondensed.woff') format('woff'),
    url('font/subset-GillSansMTPro-BoldCondensed.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans MT Pro';
    src: url('font/subset-GillSansMTPro-Bold.woff2') format('woff2'),
    url('font/subset-GillSansMTPro-Bold.woff') format('woff'),
    url('font/subset-GillSansMTPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans MT Pro';
    src: url('font/subset-GillSansMTPro-HeavyItalic.woff2') format('woff2'),
    url('font/subset-GillSansMTPro-HeavyItalic.woff') format('woff'),
    url('font/subset-GillSansMTPro-HeavyItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Gill Sans MT Pro';
    src: url('font/subset-GillSansMTPro-MediumItalic.woff2') format('woff2'),
    url('font/subset-GillSansMTPro-MediumItalic.woff') format('woff'),
    url('font/subset-GillSansMTPro-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Gill Sans MT Pro';
    src: url('font/subset-GillSansMTPro-Medium.woff2') format('woff2'),
    url('font/subset-GillSansMTPro-Medium.woff') format('woff'),
    url('font/subset-GillSansMTPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans MT Pro';
    src: url('font/subset-GillSansMTPro-BoldItalic.woff2') format('woff2'),
    url('font/subset-GillSansMTPro-BoldItalic.woff') format('woff'),
    url('font/subset-GillSansMTPro-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Gill Sans MT Pro';
    src: url('font/subset-GillSansMTPro-Light.woff2') format('woff2'),
    url('font/subset-GillSansMTPro-Light.woff') format('woff'),
    url('font/subset-GillSansMTPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans MT Pro Condensed';
    src: url('font/subset-GillSansMTPro-Condensed.woff2') format('woff2'),
    url('font/subset-GillSansMTPro-Condensed.woff') format('woff'),
    url('font/subset-GillSansMTPro-Condensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans MT Pro Book';
    src: url('font/subset-GillSansMTPro-Book.woff2') format('woff2'),
    url('font/subset-GillSansMTPro-Book.woff') format('woff'),
    url('font/subset-GillSansMTPro-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KG Life Is Messy';
    src: url('font/KGLifeisMessy.eot');
    src: url('font/KGLifeisMessy.eot?#iefix') format('embedded-opentype'),
    url('font/KGLifeisMessy.woff') format('woff'),
    url('font/KGLifeisMessy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    width: 100%;
    height: 100%;
    background-color: #fff;
    color: #585858;
    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;
    transition: all 150ms;
}

a:hover {
    text-decoration: none;
    color: #f39832;
}

a.ForgottenPassword {}

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: center;
    background-size: cover;
    z-index: auto;
    /*padding: 2.15rem 0 2rem 0;*/
}

/* HEADER */
#header {
    position: absolute;
    left: 5.9rem;
    right: 5.9rem;
    height: 2.15rem;
    line-height: 2.15rem;
    z-index: 2;
    /*color: #fff;*/
    /*background-color: #89183e;*/
}

#header .Brand {
    position: absolute;
    width: 2.95rem;
    height: 2.95rem;
    background-color: #fff;
    border-radius: 50%;
    top: 0;
    left: 0;
    opacity: 0;
    margin: 1rem 0 0 -4.4rem;
    box-shadow: 1px 1px 1rem 0 rgba(0,0,0,0.2);
}

#header .Brand:after {
    content: "";
    position: absolute;
    width: 3.73rem;
    height: 1.2rem;
    background-image: url("image/icons/brand.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: 1.8rem;
    top: 3.2rem;
}

#header .Navigation {
   /* float: left; */
    position: absolute;
    right: 50%;
    top: 0;
    transform: translateX(50%);
}

#header .Navigation ul li {
    float: left;
    margin-right: 2rem;
}

#header .Navigation ul li:last-child {
    margin-right: 0;
}

#header .Navigation ul li.Information{
    /*left: 25rem;*/
    /*position: absolute;*/
}

#header .Navigation ul li a {
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.6rem;
    color: #000;
}

#header .Navigation ul li a .Icon {
    display: inline-block;
    width: 1.33rem;
    height: 1.33rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 50%;
    /*background-color: #007c35;*/
    margin-right: 0.4rem;
    vertical-align: middle;
    transition: all 150ms;
}

#header .Navigation ul li a:hover .Icon {
    /*background-color: #f39832;*/
}

#header .Navigation ul li.Toplist a .Icon { background-image: url("image/icons/toplist.png") }
#header .Navigation ul li.Game a .Icon { background-image: url("image/icons/game.png") }
#header .Navigation ul li.Prize a .Icon { background-image: url("image/icons/prize.png") }
#header .Navigation ul li.Practice a .Icon { background-image: url("image/icons/practice.png") }
#header .Navigation ul li.Test a .Icon { background-image: url("image/icons/test.png") }
#header .Navigation ul li.Information a .Icon { background-image: url("image/icons/information.png") }

#header .Logout {
    position: absolute;
    display: block;
    right: 1.4rem;
    top: 0;
    padding-left: 1.9rem;
    text-align: center;
    color: #000;
    background-image: url("image/icons/logout.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1.36rem;
}

#header .Logout:hover {
    /*background-color: #f39832;*/
}

#header .Logout span {
/*    position: relative;
    top: 50%;
    transform: translateY(-50%);*/
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.6rem;
    color: #000;
}

/*#header .Logout span:before {
    content: "x";
    display: block;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
}*/

/* PLAYER */
#player {
    margin-left: 1.35rem;
    float: left;
    padding-left: 0;
    margin-right: 2rem;
    min-width: 10rem;
    font-size: 0;
}

#player .Avatar {
    display: inline-block;
    width: 1.33rem;
    height: 1.33rem;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    background-color: #007c35;
    margin-right: 0.4rem;
    vertical-align: middle;
    background-size: 0.9rem
    /* width: 0; */
    /* margin: 0; */
}

#player .Name {
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.6rem;
    vertical-align: top;
    color: #000;
}

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

/*  ----------  FOOTER  ----------  */
#footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2rem;
    padding: 0.4rem 0.7rem;
    z-index: 1;
    background-color: #007c35;
    color: #f3e964;
}

#footer > div {
    height: 100%;
}

#footer .Copyright {
    /*float: left;*/
}

#footer .Menu {
    float: right;
}

#footer ul {
    display: table;
    table-layout: fixed;
    height: 100%;
    margin: 0 auto;
}

#footer ul li {
    display: table-cell;
    vertical-align: middle;
    font-size: 0.6rem;
    position: relative;
    padding: 0 0.7rem;
    line-height: 1.1;
}

#footer ul li a {
    color: #4d4d4f;
    text-decoration: none;
    display: inline-block;
}

#footer ul li a:hover,
#footer ul li.Project a:hover {
    color: #f39832;
}

#footer ul li.Project {
    border-right: 1px solid #fff;
}

#footer ul li.Project a {
    /*font-weight: bold;*/
    /*text-transform: uppercase;*/
    color: #fff;
    display: block;
    text-align: right;
}

#footer ul li.Social a {
    display: block;
    height: 1rem;
    line-height: 1rem;
    padding-left: 1.3rem;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1rem;
}

#footer ul li.Social.Facebook a {
     background-image: url("image/icons/facebook.png");
}

#footer ul li.Social.Instagram a {
    background-image: url("image/icons/instagram.png");
}

#footer ul li.Brand a {
    display: block;
    width: 3rem;
    height: 1rem;
    background-image: url("image/icons/brand.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 0;
    color: transparent;
}

/* 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;
}

/* CONTACT */
.Contact{
    position: absolute;
    bottom: 16.4%;
    left: 81.4%;
    right: 7.2%;
    text-align: center;
    padding: 0.6rem 0;
    line-height: 1.5;
    border-top: 1px solid #aaaaaa;
}

.Contact *{
    display: block;
    font-size: 0.6rem;
    color: #343740;
}

.Contact .Logo{
    width: 3.6rem;
    height: 0.8rem;
    margin: 0.2rem auto;
    text-indent: -9999%;
    background-image: url("image/logo-contact-mc.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* FEEDBACK MESSAGE & ERRORS */
.FeedBackMessage,
.Errors li {
    margin: 0.65rem auto;
    font-size: 0.65rem;
    line-height: 1.1;
    font-weight: bold;
}

.Dialog .FeedBackMessage,
.Dialog .Errors li {
    margin: 0.65rem 0;
}

.FeedBackMessage.Error, .Errors li { color: #e8403d; }
.FeedBackMessage.Success { color: #9dcf76; }
.FeedBackMessage.Warning { color: #f49833; }
