/*
 * 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.
 */
@import 'fonts';
@import 'grid';

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', Helvetica, Arial;
    font-weight: 300;
    color: rgb(128,128,128);
    position: relative;
    height: 100%;
}

h1 {
    font-weight: 300;
    font-size: 2.4em;
    color: rgb(96,96,96);
}

h2 {
    font-weight: 400;
    font-size: 2em;
    color: rgb(96,96,96);
}

p {
    line-height: 1.8em;
}

a {
    color: rgb(0,103,140);
    text-decoration: none;

    &:hover {
        text-decoration: underline;
    }

    img {
        border: none;
    }
}

.Home-Grid {
    min-height: 100vh;

    .Gradient {
        flex: 0 0 100%;
        height: 16px;
        background: url('../img/gradient.jpg') no-repeat;
        background-size: cover;

        @media (min-width: 48em) {
            flex: 0 0 16px;
            height: auto;
        }
    }

    .Logos {
        padding: 10% 20% 2% 20%;

        @media (min-width: 48em) {
            padding: 6%;
        }
    }

    #sling-logo {
        display: block;
        margin-bottom: 32px;
        margin-right: -8%; // Account for the TM offset

        @media (min-width: 48em) {
            margin-bottom: 180px;
        }
    }

    #asf-logo {
        display: block;
    }

    .Main-Content {
        padding: 0 16px;

        @media (min-width: 48em) {
            padding: 0 16px 0 0;
        }

        @media (min-width: 62em) {
            padding: 0;
        }
    }

    ul {
        margin: 0;
        padding: 0;
        list-style: none;
        line-height: 1.8em;
        margin-bottom: 1em;
    }

    #Logout {
        display: none;
    }
}