﻿@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,700&subset=latin,latin-ext);

body {
    margin: 5px;
    padding: 0;
    position: relative;
    display: block;
    min-width: calc(100% - 10px);
    max-width: calc(100% - 10px);
    font-size: 17px;
    font-family: 'Open Sans';
    transition: 0.75s ease-in-out all;
}

#header {
    min-height: 139px;
    max-height: 139px;
    position: relative;
    min-width: 70%;
    max-width: 70%;
    margin: 0 auto;
    clear: both;
}

#headerLogo {
    position: relative;
    float: left;
    background-image: url('/images/ar-kapital-logo.png');
    background-position: center;
    background-repeat: no-repeat;
    min-width: 229px;
    max-width: 229px;
    min-height: 84px;
    max-height: 84px;
    padding-top: 46px;
}

#headerContact {
    text-align: right;
    font-weight: 700;
    font-size: 1.76rem;
    color: #999;
    line-height: 2rem;
}

    #headerContact span:first-child {
        color: #0099cc;
        font-size: 1.18rem;
        position: relative;
        top: 7px;
    }

#content {
    display: block;
    overflow: hidden;
    min-width: 70%;
    max-width: 70%;
    margin: 0 auto;
    position: relative;
    clear: both;
    margin-top: 70px;
}

#contentText, #contentGoogle {
    position: relative;
    float: left;
    min-width: 50%;
    max-width: 50%;
    text-align: justify;
    color: #666;
    transition: 0.75s ease-in-out all;
}

#contentText {
    padding-right: 30px;
    min-width: calc(50% - 30px);
    max-width: calc(50% - 30px);
    line-height: 1.5rem;
    font-size: 0.95rem;
}

#contentGoogle {
    overflow: hidden;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
}

.title {
    font-size: 1.05rem;
    line-height: 1.5rem;
    font-weight: 700;
    display: block;
    padding: 10px;
    background-color: #0099cc;
    color: #fff;
    margin-bottom: 20px;
}

#centeredBlue {
    font-weight: 700;
    color: #0099cc;
    text-align: center;
    font-size: 1.5em;
    display: block;
    position: relative;
    margin: 20px 0;
}

#infoEnd {
    font-weight: 700;
    text-align: right;
    font-size: 1.15em;
    display: block;
    position: relative;
}

a {
    text-decoration: none;
    color: #999;
    transition: 0.75s ease-in-out all;
}

    a:hover {
        color: #0099cc;
    }

#footer {
    position: relative;
    bottom: 0;
    background-image: url('/images/ar-kapital-footer-logo.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    min-height: 402px;
    max-height: 402px;
    left: 0;
    right: 0;
    background-size: contain;
}

#footerText {
    position: absolute;
    bottom: 10px;
    right: 56%;
    min-width: 500px;
    max-width: 500px;
    text-align: right;
    font-size: 0.7em;
}

    #footerText a {
        color: #0099cc;
    }

        #footerText a:hover {
            color: #333;
        }

@media all and (orientation: portrait) {
    body {
        min-width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #header {
        min-width: 100%;
        max-width: 100%;
        overflow: hidden;
        min-height: initial;
        max-height: initial;
        position: relative;
        box-shadow: 0 0 20px 0 rgba(0,0,0,0.5);
        padding-top: 20px;
        background-color: #fff;
    }

    #headerContact span:first-child {
        top: 0;
    }

    #headerLogo {
        float: none;
        clear: both;
        background-image: url('/images/ar-kapital-logo.png');
        margin: 0 auto;
        padding-top: 0;
    }

    #headerContact {
        text-align: center;
        margin-top: 20px;
        padding-top: 0;
        font-size: 1.3em;
        padding-bottom: 20px;
        line-height: 1.5rem;
    }

    #content {
        min-width: 90%;
        max-width: 90%;
        padding: 5%;
        margin-top: 30px;
    }

    #contentText, #contentGoogle {
        position: relative;
        float: none;
        clear: both;
        min-width: 100%;
        max-width: 100%;
        font-size: 1.05rem;
        line-height: 1.75rem;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding-bottom: 20px;
    }

    .title {
        font-size: 1.25rem;
        text-align: center;
        padding: 20px;
        margin-bottom: 40px;
    }

    #contentText {
        padding-right: 0;
    }

    #contentGoogle {
        margin-top: 30px;
        text-align: center;
    }

    #infoEnd {
        text-align: center;
    }

    #footer {
        background-image: none;
        overflow: hidden;
        max-height: initial;
        min-height: initial;
    }

    #footerText {
        position: relative;
        text-align: center;
        bottom: initial;
        right: initial;
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 30px;
        display: block;
        font-size: 0.8rem;
        line-height: 1.5rem;
    }
}
