/*****************************************************
LESS compilation failed due a JavaScript error!

Input: /apps/atvi/crash/ctr/components/content/grandprix/grandprix-hero-component/clientlibs/css/grandprixhero.less
Error: RuntimeError: No matching definition was found for `.center(fixed)` in /apps/atvi/crash/ctr/components/content/grandprix/grandprix-hero-component/clientlibs/css/grandprixhero.less on line 115, column 9:
114         height: auto;
115         .center(fixed);
116         z-index: 12;


(uncompiled LESS src is included below)
*****************************************************/
@import "/apps/atvi/crash/clientlibs/common/css/crash-utils.less";

.hero-header-container {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
    min-height: 800px;
    height: 100vh;
    max-height: 1080px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
	&:after {
      content: "";
      background: url("../../../../../../../../content/dam/atvi/Crash/crash-touchui/ctr/common/checkerboard-pattern-border.jpg") center center no-repeat;
      background-size: cover;
      height: 52px;
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      z-index: 10;
      transform: translate(0, 100%);
    }
    .bg-video-container {
            position: absolute;
    		width: 100%;
    		height: 100%;
    		left: 0;
    		top: 0;
    		z-index: 0;
    		overflow: hidden;

        .ctr-bgvid {
            width: auto;
    		height: auto;
    		min-width: 100%;
    		min-height: 100%;
    		position: absolute;
    		left: 50%;
    		top: 0;
            transform: translate(-50%, 0);
    		z-index: 0;

        }

	}

    .content-container {
        position: absolute;
    	left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    	width: 100%;
    	max-width: 850px;
    	z-index: 1;

        .logo-image {
            width: 50%;
    		max-width: 270px;
    		margin: 0 auto 0;
            img{
				width: 100%;
            }

        }

        .header-image {
            text-indent: -200%;
    		background-size: contain;
    		background-repeat: no-repeat;
    		background-position: center center;
    		overflow: hidden;
    		color: transparent;
    		font-size: 12px;
    		width: 100%;
    		max-width: 750px;
    		margin: 0 auto;
    		height: 16vw;
    		max-height: 150px;
            z-index: 1;
        }

        .ctr-subheading {
            margin-top: 10px;
    		margin-bottom: 20px;
    		color: #ffffff;
    		font-family: "CCGeekSpeak", Helvetica, sans-serif;
    		font-size: 35px;
    		text-transform: uppercase;
    		//text-shadow: 3px 3px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    		text-align: center;
        }

        .play-button {
            z-index: 2;
            display: block;
    		width: 75px;
    		height: 75px;
    		background-image: url(../../../../../../../../content/dam/atvi/Crash/crash-touchui/ctr/common/play-btn.png);
    		cursor: pointer;
    		margin: 0px auto 30px;
    		background-size: contain;
    		background-position: center center;
    		background-repeat: no-repeat;

		}

    }

    .crash-trailer-overlay{
        width: 80%;
        max-width: 1000px;
        height: auto;
        .center(fixed);
        z-index: 12;
        top: -1000px;
        background-image: url("../../../../../../../../content/dam/atvi/Crash/gallery-frame.png");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        padding: 1%;
        background-color: @black;
        transition: top 1s ease;
        &.active{
            top: 55%;
        }
        
        @media only screen and (max-width: 500px) { 
            width: 65%;
        }
        
        .overlay-close{
            background-image: @sprite-path;
            background-position: -4px -234px;
            height: 35px;
            width: 40px;
            position: absolute;
            right: -50px;
            top: 0;
            cursor: pointer;
        }
        
        .tube-player-container {
            height: 0;
            width: 100%;
            padding-bottom: 56.25%;
            position: relative;
            
            #tubeplayer-player-container-1 {
                height: 100%;
                width: 100%;
                position: absolute;
                top: 0;
                right: 0;
                left: 0;
                bottom: 0;
            }
        }
    }
    .crash-trailer-overlay-bg{
        background: rgba(0,0,0,0.8);
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        display: none;
        z-index: 11;
    }

}

@media only screen and (max-width: 945px) {
    .hero-header-container .content-container .ctr-subheading {
        font-size: 36px;
    }
}

@media only screen and (max-width: 768px) {
    .hero-header-container .content-container .ctr-subheading {
        font-size: 30px;
    }
}

@media only screen and (max-width: 480px) {
    .hero-header-container{
        min-height: 600px;
        height: 80vh;

        .content-container {
            //height: 22vh;
            .ctr-subheading {
            	font-size: 24px;
                //height: 22vh; 

            }
        }
    }
}