/**
 * @copyright 2015 MarkCon
 * @link http://www.markcon.hu
 */

@CHARSET "UTF-8";

/* Exam oldal

    Mindegyik elején: #competition
    Alváltozatok: #competition.Index, #competition.Details
*/

/*  ----------  INDEX  ----------  */

#competition.Index .TabsContainer {
    min-height: 494px;
}

#competition.Index .Missions {
    position: relative;
}

#competition.Index .Mission {
    margin: 10px;
}

#competition.Index .Mission.Information {
    position: absolute;
    left: 0;
    top: 0;
}

#competition.Index .Missions .Mission.Information .Description {
    margin-bottom: 0;
}

/*#competition.Index .Mission .Picture .Lock {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    margin: 5px;
    background-image: url("image/lock.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}*/

#competition.Index .Tab h2 {
    margin: 1em 0;
}

#competition.Index  .Tab.Competition-History {
    padding: 0;
}

#competition.Index .ResultTable .Column.Title {
    width: 50%;
}

#competition.Index .ResultTable .Column.Subject {
    width: 25%;
}

#competition.Index .ResultTable .Column.Year {
    width: 10%;
}

#competition.Index .ResultTable .Column.Type {
    width: 15%;
}

/* Responsive */

@media (max-width: 992px) and (min-width: 768px) {
    #competition.Index .Missions {
       padding-left: 0;
    }

    #competition.Index .Missions .Mission.Information {
        position: static;
        float: none;
        width: auto;
        height: auto;
        padding: 0;
    }

    #competition.Index .Mission .Content {
        position: static;
        top: auto;
        -moz-transform: none;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }

    #competition.Index .Missions .Mission.Information .Title {
        font-size: 26px;
    }

    #competition.Index .Missions .Mission.Information .Description {
        font-size: 18px;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    #competition.Index .Mission .Content {
        padding: 10px;
    }

    #competition.Index .Missions .Mission.Information .Description {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    #competition.Index .Missions {
        padding-left: 235px;
    }
}

@media (min-width: 1200px) {
    #competition.Index .Missions {
        padding-left: 285px;
    }
}

@media (max-width: 768px) {
    #competition.Index .Mission.Information {
        position: static;
    }

    #competition.Index .Mission {
        margin: 10px auto;
        float: none;
    }

    #competition.Index .ResultTable .Column {
        width: 100% !important;
    }
}

/*  ----------  DETAILS  ----------  */

#competition.Details {
    padding-top: 50px;
}

#competition.Details .Header {
    margin-bottom: 2em;
}

#competition.Details .Header .IconContainer {
    width: 50px;
    height: 56px;
    float: left;
}

#competition.Details .Header .Title,
#competition.Details .Header .Description {
    line-height: 1.85em;
    padding-left: 74px;
}

#competition.Details .Header .Title {
    padding-top: 8px;
}

#competition.Details .Header .Name {
    color: #42b3e5;
    font-size: 36px;
}

#competition.Details .Header .Category {
    color: #21deb5;
    text-transform: uppercase;
    font-size: 26px;
}

#competition.Details .Header .Category .Point {
    font-weight: bold;
}

#competition.Details .Header .Description {
    color: #21deb5;
    font-size: 26px;
}

#competition.Details .Stat .Data {
    display: table;
    width: 100%;
    font-size: 26px;
    font-family: 'PT Sans Narrow';
    line-height: 1.2em;
    margin: 14px 0;
}

#competition.Details .Stat .Data .Label,
#competition.Details .Stat .Data .Value {
    display: table-cell;
}

#competition.Details .Stat .Data .Label {
    color: #21deb5;
    text-align: left;
}

#competition.Details .Stat .Data .Value {
    color: #3db9de;
    text-align: right;
    font-weight: bold;
}

#competition.Details .Description {
    color: #9f9f9f;
    font-size: 18px;
    line-height: 1.4em;
    margin-bottom: 15px;
}

#competition.Details .Categories {
    font-family: 'PT Sans Narrow';
}

#competition.Details .Categories .Label {
    color: #21deb5;
    font-size: 26px;
    font-weight: normal;
    line-height: 1.2em;
    text-transform: uppercase;
}

#competition.Details .Categories .Category {
    font-size: 22px;
    margin: 5px 0;
    color: #3db9de;
    line-height: 1.2em;
    position: relative;
    padding-left: 1em;
}

#competition.Details .Categories .Category:before {
    background-color: #21deb5;
    border-radius: 50%;
    content: "";
    left: 0;
    top: 0.4em;
    position: absolute;
    width: 0.4em;
    height: 0.4em;
}

#competition.Details .Categories .Category a {
    color: #3db9de;
}

#competition.Details .Footer {
    height: 102px;
    margin-top: 50px;
    text-align: right;
}

#competition.Details .Footer:before {
    content: " ";
    position: absolute;
    left: -50%;
    right: -50%;
    height: 100%;
    background-color: #fefefe;
    z-index: -1;
    box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.1);
}

#competition.Details .Footer button {
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: contain;
    color: #3db9de;
    cursor: pointer;
    font-family: "PT Sans Narrow", "Arial", "Verdana";
    font-size: 44px;
    height: 59px;
    position: relative;
    text-transform: uppercase;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    white-space: nowrap;
}

#competition.Details .Footer button.Start {
    background-image: url("image/button-start.png");
    background-position: right center;
    padding-right: 70px;
    float: right;
}

#competition.Details .Footer button.Back {
    background-image: url("image/button-back.png");
    background-position: left center;
    padding-left: 70px;
    float: left;
}

#competition.Details .Result .Panel {
    background-color: #fff;
    border: 1px solid #d3d7da;
    margin-bottom: 30px;
}

#competition.Details .Result .Top {
    display: table;
    width: 100%;
}

#competition.Details .Result .Top.Current {
    background-color: #21deb5 !important;

}

#competition.Details .Result .Top:nth-of-type(2n) {
    background-color: #f6f6f6;
}

#competition.Details .Result .Top > div {
    display: table-cell;
    font-size: 24px;
    line-height: 1.2em;
    padding: 10px;
    vertical-align: middle;
    color: #42b3e5;
    font-family: 'PT Sans Narrow', 'Arial', 'Verdana';
}

#competition.Details .Result .Top.Current > div {
    color: #fff;
}

#competition.Details .Result .Top .ProfilePicture {
    display: inline-block;
    width: 40px;
    height: 45px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    background-image: url("../image/profile-picture.png");
    vertical-align: middle;
    margin-right: 5px;
}

#competition.Details .Result .Top .ProfilePicture:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 100%;
    background-image: url("../image/profile-picture-mask.png");
}

#competition.Details .Result .Top:nth-of-type(2n) .ProfilePicture:after {
    background-image: url("../image/profile-picture-mask-gray.png");
}

#competition.Details .Result .Top.Current .ProfilePicture:after {
    background-image: url("../image/profile-picture-mask-green.png") !important;
}


#competition.Details .Result .Top .Index {
    width: 10%;
    text-align: right;
    font-weight: bold;
}

#competition.Details .Result .Top .Name {
    width: 70%;
}

#competition.Details .Result .Top .Score {
    width: 20%;
    text-align: right;
}

#competition.Details .Result .Top .Score span {
    font-weight: bold;
}

/* Responsive */
@media (max-width: 767px) {
    #competition.Details .Header .IconContainer {
        display: none;
    }

    #competition.Details .Header .Title {
        padding: 0;
    }

    #competition.Details .Header .Name {
        font-size: 26px;
        line-height: 1.2em;
    }

    #competition.Details .Header .Category {
        display: block;
        font-size: 18px;
    }

    #competition.Details .Stat .Data {
        font-size: 18px;
    }

    #competition.Details .Footer {
        text-align: center;
        height: auto;
    }

    #competition.Details .Footer button {
        font-size: 30px;
        height: 45px;
        display: block;
        transform: none;
        -webkit-transform: none;
        margin: 15px auto;
    }

    #competition.Details .Footer button.Start {
        padding-right: 50px;
        float: none;
    }

    #competition.Details .Footer button.Back {
        padding-left: 50px;
        float: none;
    }

    #competition.Details .Result .Top > div {
        font-size: 18px;
        padding: 10px 5px;
    }

    #competition.Details .Result .Top .ProfilePicture {
        display: none;
    }

}

#competition .Sponsors,
#webshop .Sponsors {
    background-image: url("../../Global/image/pattern-blue.png");
    background-repeat: repeat;
    padding: 50px 0;
}

#competition .Sponsors h3,
#webshop .Sponsors h3{
    text-align: center;
    color: #ffffff;
    margin-bottom: 0.7em;
}

#competition .Sponsors .Logos,
#webshop .Sponsors .Logos {
    text-align: center;
    font-size: 0;
}

#competition .Sponsors .Logos li,
#webshop .Sponsors .Logos li {
    display: inline-block;
    /*background-image: url("image/logo-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;*/
    margin: 5px;
    width: 62px;
    height: 62px;
    line-height: 62px;
}

#competition .Sponsors .Logos li img,
#webshop .Sponsors .Logos li img {
    /*max-width: 90%;
    max-height: 90%;*/
    width: 100%;
    height: 100%;
    display: block;
    vertical-align: middle;
}

/* Responsive */
@media (min-width: 768px) {
    #competition .Sponsors .Logos li,
    #webshop .Sponsors .Logos li {
        width: 62px;
        height: 62px;
        line-height: 62px;
    }
}

@media (min-width: 992px) {
    #competition .Sponsors .Logos li,
    #webshop .Sponsors .Logos li {
        width: 84px;
        height: 84px;
        line-height: 84px;
    }
}

@media (min-width: 1200px) {
    #competition .Sponsors .Logos li,
    #webshop .Sponsors .Logos li {
        width: 104px;
        height: 104px;
        line-height: 104px;
    }
}