﻿.website-header {
    position: fixed;
    z-index:5;
    width:100%;

    @media screen {
        @media (max-width:959px) {
            top:0;
            background: @color-dblue;
            box-shadow:0 0 10px fade(@color-black, 20%);

            &.scrolled{
                .website-header--bottom{
                    padding-top:10px;
                    padding-bottom:$padding-top;
                }

                .logotype {
                    height: 60px;
                }
            }
        }

        @media (min-width:960px) {
            position: absolute;
            max-width: @larguraContent;
            left: 0;
            right: 0;
            margin: auto;
        }
    }
}

.website-header--bottom {
    @media screen {
        @media (max-width:959px) {
            padding: 20px 5px;
            transition:.3s padding;
        }

        @media (min-width:960px) {
            display: flex;
            justify-content: space-between;
        }
    }
}

.website-header--internal {
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: fixed;
    background-size:cover;
    position: relative;

    .content {
        &:extend(.cf all);
        padding: 30px 15px;
    }

    &.bg-default {
        background-image: url(/images/header/materdei.jpg);
    }

    &:after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: @color-dblue;
        z-index: -1;
    }

    @media screen{
        @media (max-width:959px){
            &.at-cursos{
                margin-top:40px;
            }
        }

        @media (min-width:960px){
            height: 425px;

            .content {
                padding-top: 275px;
            }
        }
    }
}

.website-header--content {
    @media screen{
        @media (max-width:699px){
            text-align:center;

            .internal-title{
                margin-bottom:0;
            }
        }

        @media (min-width:700px){
            float: left;
        }
    }
}

.website-header--ico{
    max-width:70px;
    max-height:40px;
    display:block;
    margin:0 auto 15px;

    @media screen{
        @media (min-width:700px){
            float:left;
            margin:0 20px 0 0;
            max-height:70px;

            & + .website-header--content{
                width:~'calc(100% - 90px)';
            }
        }
    }
}

.at-servico-escola {
    .website-header--ico{
        max-width: 100px;
        max-height:80px;
        @media screen{
            @media (min-width:700px){
                max-height:90px;
    
                & + .website-header--content{
                    width:~'calc(100% - 120px)';
                }
            }
        }
    }
}