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

@CHARSET "UTF-8";

/* Index oldal

    Mindegyik elején: #index
*/

    #index{
        position: relative;
    }

/*  ----------  POPUP  ----------  */
#index .index-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    /*background: rgba(243, 243, 243, 0.9);*/
    background: rgba(0,0,0,0.75);
    z-index: 1001;
    display: none;
}

#index .index-popup .content {
    position: relative;
    top: 50%;
    padding: 15px;
    max-width: 800px;
    max-height: 100%;
    margin: 0 auto;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

#index .index-popup .content img {
    max-width: 90vw;
    max-height: 90vh;
    height: auto;
    margin: 10px auto 5px;
    border-radius: 15px;
    -webkit-box-shadow: 1px 1px 10px 0px rgba(50, 50, 50, 0.45);
    -moz-box-shadow: 1px 1px 10px 0px rgba(50, 50, 50, 0.45);
    box-shadow: 1px 1px 10px 0px rgba(50, 50, 50, 0.45);
}

#index .index-popup .closeButton {
    content: '';
    position: absolute;
    top: 48px;
    right: 10px;
    width: 44px;
    height: 44px;
    background: #3085c7 url('../../../../../static/images/close-button.png') no-repeat center;
    cursor: pointer;
    z-index: 1000;
    border-radius: 50%;
}

@media (max-width: 460px) {
    #index .index-popup .closeButton{
        top: -42px;
        right: 22px;
    }
}

/*  ----------  VIDEO  ----------  */

    #index .Video video {
        min-width: 100%;
        width: 100% !important;
        height: auto !important;
        z-index: 0;
        position: relative;
        top: 0;
        display: block;
}

/*  ----------  SLIDER  ----------  */

    #index .Slider {
        /*margin-top: -38px;*/
    }

    #index .Video + .Slider{
        margin-top: 4.5%;
        position: absolute;
        top:0;
    }
    #index .Video + .Slider .nivoSlider img{opacity: 0;}

    #index .Slider .nivo-caption .Container,
    #index .Slider .nivo-caption .Row,
    #index .Slider .nivo-caption .Column {
        height: 100%;
    }

    #index .Slider .nivo-caption .Caption {
        position: absolute;
        right: 15px;
        bottom: 40px;
        background-color: rgba(94,32,123,0.6);
        padding: 20px;
    }

    #index .Slider .nivo-caption .Caption .Title {
        color: #fff;
        text-transform: uppercase;
        font-family: 'PT Sans Narrow', 'Arial', 'Verdana';
        font-size: 112px;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
        line-height: 1em;
        margin-top: -0.05em;
    }

    #index .Slider .nivo-caption .Caption .Description {
        color: #fff;
        text-transform: uppercase;
        font-size: 28px;
        font-family: 'PT Sans Narrow', 'Arial', 'Verdana';
        line-height: 1em;
        margin: -0.2em 0 0.5em 0;
        font-weight: normal;
    }

    #index .Slider .nivo-caption .Caption .Button {
        margin: 0;
        font-size: 28px;
        font-weight: bold;
    }

    @media (max-width: 768px) {
        #index .Slider .nivo-caption {
            position: relative;
        }

        #index .Slider .nivo-directionNav a {
            top: 22%;
            margin: 0 15px;
        }

        #index .Slider .nivo-caption .Caption {
            position: relative;
            right: auto;
            bottom: auto;
            margin: 0 -15px;
            text-align: center;
            background-color: rgba(94,32,123,1);
        }

        #index .Slider .nivo-caption .Caption .Title {
            font-size: 60px;
        }
    }

/*  ----------  SCROLL DOWN ARROW  ----------  */
    @-moz-keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            -moz-transform: translateY(0);
            transform: translateY(0);
        }
        40% {
            -moz-transform: translateY(-30px);
            transform: translateY(-30px);
        }
        60% {
            -moz-transform: translateY(-15px);
            transform: translateY(-15px);
        }
    }
    @-webkit-keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            -webkit-transform: translateY(0);
            transform: translateY(0);
        }
        40% {
            -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
        }
        60% {
            -webkit-transform: translateY(-15px);
            transform: translateY(-15px);
        }
    }
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            -moz-transform: translateY(0);
            -ms-transform: translateY(0);
            -webkit-transform: translateY(0);
            transform: translateY(0);
        }
        40% {
            -moz-transform: translateY(-30px);
            -ms-transform: translateY(-30px);
            -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
        }
        60% {
            -moz-transform: translateY(-15px);
            -ms-transform: translateY(-15px);
            -webkit-transform: translateY(-15px);
            transform: translateY(-15px);
        }
    }

    #index .ScrollDown{
        content: '';
        background-image: url("../../Global/image/down-arrow.png");
        background-size: 32px;
        background-repeat: no-repeat;
        background-position: center 15px;
        background-color: rgba(28, 228, 174, .65);
        display: block;
        z-index: 100;
        width: 46px;
        height: 46px;
        overflow: hidden;
        text-indent: 100%;
        white-space: nowrap;
        position: absolute;
        top:30px;
        left: 50%;
        margin-left: -23px;
        border-radius: 50%;
        cursor: pointer;

        -moz-animation: bounce 2s infinite;
        -webkit-animation: bounce 2s infinite;
        animation: bounce 2s infinite;
    }

/*  ----------  SEARCH  ----------  */

    #index .Search {
        position: relative;
        height: 88px;
        background: rgb(28,228,174);
        background: -moz-linear-gradient(left,  rgba(28,228,174,1) 0%, rgba(66,179,229,1) 100%);
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(28,228,174,1)), color-stop(100%,rgba(66,179,229,1)));
        background: -webkit-linear-gradient(left,  rgba(28,228,174,1) 0%,rgba(66,179,229,1) 100%);
        background: -o-linear-gradient(left,  rgba(28,228,174,1) 0%,rgba(66,179,229,1) 100%);
        background: -ms-linear-gradient(left,  rgba(28,228,174,1) 0%,rgba(66,179,229,1) 100%);
        background: linear-gradient(to right,  rgba(28,228,174,1) 0%,rgba(66,179,229,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1ce4ae', endColorstr='#42b3e5',GradientType=1 );
    }

    #index .Search .Container,
    #index .Search .Row,
    #index .Search .Column {
        height: 100%;
    }

    #index .Search .Column {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    #index .Search .Column .SearchSubmit {
        float: right;
        margin: 0;
    }

    #index .Search .Column .InputWrapper {
        position: absolute;
        left: 0;
        right: 208px;
        padding: 0 15px;
    }

    #index .Search .Column .InputWrapper input[type="text"] {
        padding: 0 20px;
    }

    /* Responsive */
    @media (max-width: 768px) {
        #index .Search .Column .SearchSubmit {
            min-width: 0;
            text-indent: -9999px;
            background-color: #1ce4ae;
            background-image: url("../../Global/Input/image/button-search.png");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 24px auto;
            position: absolute;
            top: 22px;
            right: 15px;
            width: 34px;
            height: 34px;
            margin: 5px;
            padding: 0;
        }

        #index .Search .Column .InputWrapper {
            right: 0;
        }

        #index .Search .Column .InputWrapper input[type="text"] {
            padding: 0 49px 0 10px;
        }
    }

/*  ----------  TEXT CAROUSEL  ----------  */

    #index .TextCarousel {
        width: 100%;
        min-height: 478px;
        background-image: url("../../Global/image/pattern-green.png");
        background-repeat: repeat;
        position: relative;
        padding: 70px 0 120px 0;
    }

    #index .TextCarousel .Info {
        text-align: center;
        padding: 0;
        width: 1140px;
    }

    #index .TextCarousel .Info .Title {
        color: #fff;
        text-transform: uppercase;
        font-family: 'PT Sans Narrow';
        font-weight: normal;
        font-size: 64px;
        line-height: 1.05em;
        margin: 0 0 0.5em 0;
    }

    #index .TextCarousel .Info .Description {
        color: #fff;
        font-size: 24px;
        line-height: 1.2em;
    }

    #index .TextCarousel .Info .Description {
        margin-top: 30px;
    }

    #index .TextCarousel .Info h3 {
        color: #fff;
        margin: 1em 0;
    }

    /* Responsive */
    @media (max-width: 768px) {
        #index  .TextCarousel .Container {
            width: 300px;
        }

        #index  .TextCarousel .Info {
            width: 270px;
        }

        #index  .TextCarousel .Info .Title {
            font-size: 32px !important;
        }

        #index  .TextCarousel .Info .Description,
        #index .CompetitionInfo p {
            font-size: 18px !important;
        }
    }

    @media (min-width: 768px) {
        #index  .TextCarousel .Info {
            width: 720px;
        }
    }

    @media (min-width: 992px) {
        #index  .TextCarousel .Info {
            width: 940px;
        }
    }

    @media (min-width: 1200px) {
        #index  .TextCarousel .Info {
            width: 1140px;
        }
    }

/*  ----------  BENEFIT  ----------  */

    #index .Benefit {
        padding: 50px 0;
    }

    #index .Benefit h2 {
        margin-bottom: 0.8em;
    }

    #index .Benefit .Column {
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #index .Benefit .Column .Icon {
        width: 164px;
        height: 178px;
        /*width: 62%;
        height: 0;
        padding-bottom: 67%;*/
        background-image: url("../../Global/image/hexagon-outline-blue.png");
        margin: 0 auto 15px auto;
        position: relative;
        background-size: contain;
    }

    #index .Benefit .Column .Icon:after {
        content: " ";
        position: absolute;
        width: 48%;
        height: 48%;
        left: 26%;
        top: 26%;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    #index .Benefit .Free .Icon:after {
        background-image: url("image/benefit-free.png");
    }

    #index .Benefit .VideoTeacher .Icon:after {
        background-image: url("image/benefit-video-teacher.png");
    }

    #index .Benefit .Exercises .Icon:after {
        background-image: url("image/benefit-exercises.png");
    }

    #index .Benefit .Missions .Icon:after {
        background-image: url("image/benefit-missions.png");
    }

    #index .Benefit .Column h3 {
        margin-bottom: 0.2em;
    }

    #index .Benefit .Column p {
        font-size: 22px;
    }

/*  ----------  MISSION CAROUSEL  ----------  */

    #index .MissionsCarousel .Container {
        width: 100%;
    }

/*  ----------  COMPETITION INFO  ----------  */

    #index .CompetitionInfo{
        background-image: url("../../Global/image/pattern-blue.png");
        background-repeat: repeat;
        padding: 70px 0;
    }

    #index .CompetitionInfo h2{
        color: #fff;
        margin-bottom: 0.8em;
    }

    #index .CompetitionInfo p{
        color: #fff;
        margin-bottom: 0.8em;
        text-align: center;
        font-size: 24px;
    }