/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

@jumbotron-background-image: url("@{br-core-path-img}/brooklyn_bridge.png");

.jumbotron.with-background-image {

        height: 400px;
    min-height: 400px;
    max-height: 400px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;

    background-color: @brand-primary;
    background-image: @jumbotron-background-image;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0%;

    text-align: center;

    /* Flexbox align content center */
      display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 0;

    .align.center-center {
        max-width: 100%;
    }
    h1 {
    	text-shadow: rgba(0, 0, 0, 0.470588) 0px 2px 8px;
		color: white;
    	font-size: 50px;	
    	font-weight: 400;
    	line-height: 50px;
        margin-bottom: 20px;
        -webkit-font-smoothing: antialiased;
    }

    p {
        display: inline-block;
        color: white;
        font-size: 18px;
        font-style: italic;
        text-shadow: 0px 2px 8px rgba(0,0,0,0.47);
        letter-spacing: .01em;
        line-height: 24px;

    }
}

.big-header.full-width .jumbotron.with-background-image {
    max-width: 100%;
    background-color: @brand-primary;
    background-image: @jumbotron-background-image;

    h1 {
        text-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px;
        color: white;
        font-size: 50px;    
        font-weight: 600;
        line-height: 50px;
        margin-bottom: 20px;
        -webkit-font-smoothing: antialiased;
    }

    p {
        display: inline-block;
        color: white;
        font-size: 18px;
        font-style: italic;
        text-shadow: 0px 2px 8px rgba(0,0,0,0.2);
        letter-spacing: .01em;
        line-height: 24px;

    }
}

.big-header.full-width.fourofour .jumbotron.with-background-image {
  background-image: url("@{br-core-path-img}/brooklyn_404.jpg");
  margin-top: -22px;

  h1 {
    font-size: 170px;
    //font-size: 275px;
    color: #FFFFFF;
    text-shadow: 4px 4px 0px rgba(58,84,138,0.28);
    margin-bottom: 60px;
    margin-top: 60px;
  }

  p {
    margin-bottom: 0px;
  }
}

