/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Parallax Master Class ==============================================
   Author: Petr Tichy - ihatetomatoes.net
   ========================================================================== */

body {
    font: 16px/1.5 'Raleway', Helvetica, Helvetica Neue, Arial, sans-serif;
    background-color: #222222;
}

.wrapper {
    width: 90%;
    margin: 0 auto;
    max-width: 1140px;
}

/* =General */
.info {
    display: none;
}
#fixedElement {
    position: fixed;
    top: 0;
    left: 50%;
    width: 200px;
    text-align: center;
    margin-left: -100px;
    background-color: rgba(34,34,34,0.4);
    color: rgba(255,255,255,0.7);
    padding: 5px;
    z-index: 3;
    font-size: 12px;
}
/* =Header */
header {
    background: #222222 url('../../img/amir-vs-floyd-final/bcg_header_s.jpg') no-repeat top center;
    color: #fff;
    text-align: center;
    padding: 140px 0 20px 0;
    position: relative;
    z-index: 2;
}
    header h1 {
        font-size: 1.5em;
        line-height: 1.2em;
        text-transform: uppercase;
    }
    header p {
        color: #f3cc11;
        line-height: 1.2em;
    }

/* =Profiles */
main { }
    #profiles {
        background: url('../../img/amir-vs-floyd-final/bcg_profiles.png') repeat-y top center;
        background-attachment: fixed;
        color: #fff;
        background-size: auto 45px;
        z-index: 2;
    }
    .boxer {
        width: 45%;
        margin: 0 5%;
        padding: 210px 0 20px 0;
        position: relative;
        overflow: hidden;
    }
    .boxerA {
        margin-left: 0;
    }
    .boxer h2 {
        margin-top: 0;
        font-size: 1.2em;
        line-height: 1.2em;
        text-transform: uppercase;
        text-align: center;
    }
    .boxer p {
        font-family: 'Open Sans', sans-serif;
        font-weight: 300;
    }
    .boxerA { float: left; margin-left: 0;}
    .boxerB { float: right; margin-right: 0;}
    .boxerImg {
        width: 128px;
        height: 141px;
        position: absolute;
        top: 30px;
        left: 50%;
        margin-left: -64px;
    }
    #profiles:after {
        content: 'VS';
        display: block;
        position: absolute;
        top: 218px;
        left: 50%;
        width: 75px;
        margin-left: -39px;
        text-align: center;
        font-size: 1.5em;
        font-family: 'Open Sans', sans-serif;
    }
    .boxerA .boxerImg {
        background: url('../../img/amir-vs-floyd-final/img_boxerA.png') no-repeat top left;
        background-size: 128px 141px;
    }
    .boxerB .boxerImg {
        background: url('../../img/amir-vs-floyd-final/img_boxerB.png') no-repeat top left;
        background-size: 128px 141px;
    }

/* =Boxing Ring */
#boxingRing {
    background-color: #e7e7e7;
    position: relative;
    overflow: hidden;
    z-index: -1;
}
    #stage {
        width: 300px;
        height: 273px;
        background: url('../../img/amir-vs-floyd-final/bcg_ring.png') no-repeat top right;
        background-size: 300px 273px;
        position: absolute;
        top: 35px;
        left: 50%;
        margin-left: -150px;
    }
    .boxerTop {
        width: 60px;
        height: 51px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -117px 0 0 -84px;
        z-index: 1;
    }
        .boxerTopA {
            background: url('../../img/amir-vs-floyd-final/img_boxerA-top.png') no-repeat 0 0;
            background-size: 60px 51px;
        }
        .boxerTopB {
            background: url('../../img/amir-vs-floyd-final/img_boxerB-top.png') no-repeat 0 0;
            background-size: 60px 51px;
            margin: 24px 0 0 30px;
        }
    .indicator,
    #round1,
    #round2 {
        display: none;
    }
    .winnersText {
        margin: 350px -6% 0 -6%;
        color: #fff;
        background-color: rgba(31,31,31,1);
        padding: 20px;
    }
        .winnersText h2 {
            color: #f3cc11;
        }

/* =Footer */
footer {
    background-color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 2;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
    /* =General */

    /* =Header */

    /* =Profiles */

    /* =Boxing Ring */

    /* =Footer */
}

@media only screen and (min-width: 768px) {
    /* =General */
    #fixedElement {
        top: 30px;
        padding: 10px;
        margin-left: -110px;
        font-size: 1em;
    }
    .indicator {
        display: block;
        position: fixed;
        bottom: 50%;
        left: 50%;
        height: 5px;
        width: 10px;
        background-color: #ABCC14;
        margin: 0 0 0 -350px;
    }
        .indicator p {
            text-align: center;
            margin: 0 0 0 -30px;
            position: absolute;
            bottom: -34px;
            text-transform: uppercase;
        }
    .indicatorB {
        margin: 0 0 0 350px;
    }
    /* =Header */
    header {
        background-image: url('../../img/amir-vs-floyd-final/bcg_header.jpg');
        padding: 420px 0 20px 0;
    }
    header h1 {
        font-size: 3.125em;
    }
    header p {
        font-size: 2em;
        line-height: 1.2em;
    }
    /* =Profiles */
    #profiles {
        background-size: auto auto;
    }
        #profiles:after {
            top: 170px;
            width: 150px;
            margin-left: -78px;
            font-size: 3.75em;
        }
        .boxer {
            padding-top: 380px;
        }
        .boxer h2 {
            font-size: 2.5em;
            line-height: 1.12em;
            text-align: left;
        }
        .boxer p {
            font-family: 'Raleway', Helvetica, Helvetica Neue, Arial, sans-serif;
            font-weight: normal;
        }
        .boxerImg {
            width: 276px;
            height: 305px;
            top: 60px;
            margin-left: -138px;
            background-size: 100% 100%;
        }
        .boxerA .boxerImg,
        .boxerB .boxerImg {
            background-size: 100% 100%;
        }
    /* =Boxing Ring */
    #boxingRing {
        background-color: #e7e7e7;
        position: relative;
        height: 4650px;
        overflow: hidden;
    }
        #stage {
            width: 718px;
            height: 654px;
            background: url('../../img/amir-vs-floyd-final/bcg_ring.png') no-repeat top right;
            background-size: 718px 654px;
            position: fixed;
            top: 50%;
            left: 50%;
            margin-left: -359px;
            margin-top: -327px;
        }
        .boxerTop {
            width: 142px;
            height: 123px;
            margin: -240px 0 0 -200px;
        }
            .boxerTopA {
                background: url('../../img/amir-vs-floyd-final/img_boxerA-top.png') no-repeat 0 0;
                background-size: 142px 123px;
            }
            .boxerTopB {
                background: url('../../img/amir-vs-floyd-final/img_boxerB-top.png') no-repeat 0 0;
                background-size: 142px 123px;
                margin: 50px 0 0 70px;
            }
        #round1,
        #round2 {
            display: block;
            padding: 20px 30px;
            font-size: 2em;
            background-color: #222222;
            color: #fff;
            text-transform: uppercase;
            width: 170px;
            text-align: center;
            position: fixed;
            top: 50%;
            left: 50%;
            margin: -80px 0 0 -110px;
        }
        #moves {
            width: 313px;
            height: 295px;
            position: absolute;
            top: 50%;
            left: 50%;
            margin: -180px 0 0 -150px;;
            background: url('../../img/amir-vs-floyd-final/img_move1.png') no-repeat 0 0;
        }
        #winnersTrophy {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(31,31,31,0.5);
            

  -webkit-transform: translateY(100%); 
      -ms-transform: translateY(100%); 
          transform: translateY(100%);

        }
            .winnersText {
                position: fixed;
                top: 320px;
                left: 50%;
                max-width: 500px;
                margin: 0 0 0 -250px;
                background-color: transparent;
                padding: 0;
                text-align: center;
                z-index: 2;
            }
                .winnersText h2 {
                    font-size: 40px;
                    margin-bottom: 0;
                }
            #belt,
            #beam {
                width: 537px;
                height: 221px;
                background: url('../../img/amir-vs-floyd-final/img_belt.png') no-repeat 0 0;
                position: fixed;
                top: 30px;
                left: 50%;
                margin-left: -272px;
            }
            #beam {
                background: url('../../img/amir-vs-floyd-final/img_beam.png') no-repeat 0 0;
                width: 819px;
                height: 354px;
                margin-left: -409px;
                top: 0;
            }
    /* Remove fixed positioning for touch devices */
    .touch #stage {
        position: absolute;
        top: 40px;
        margin-top: 0;
    }
    .touch #boxingRing {
        height: 1154px; /* experimential value set at the end of tweaking iPad Styles */
    }
    .touch .indicator,
    .touch #belt,
    .touch #beam,
    .touch #winnersTrophy {
        display: none;
        margin-left: -9999em;
    }
    .touch .winnersText {
        position: absolute;
        top: 704px; /* stage height 654px + 50px */
        background-color: transparent;
        padding: 20px;
        width: 100%;
        max-width: none;
        left: 0;
        margin: 0;
        text-align: center;
        color: #222222;
    }
        .touch .winnersText h2 {
            color: #222222;
        }
        .touch .winnersText p {
            max-width: 550px;
            margin: 0 auto;
        }
        .touch .info {
            display: block;
        }

    /* =Footer */
}

@media only screen and (min-width: 1140px) {
    /* =General */

    /* =Header */

    /* =Profiles */

    /* =Boxing Ring */

    /* =Footer */
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}