﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

main.main {
    background-color: #FFFFFF;
    margin-top: 5rem;
    padding-top: 5rem;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 45rem;
}

div.checkbox input[type="checkbox"] {
    margin-left: 0;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* buttons and links extension to use brackets: [ click me ] */
.btn-bracketed::before {
    display: inline-block;
    content: "[";
    padding-right: 0.5em;
}

.btn-bracketed::after {
    display: inline-block;
    content: "]";
    padding-left: 0.5em;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

.container--extra-narrow {
    max-width: 45rem;
    margin-bottom: 5rem;
    padding: 0;
}

.language-bar {
    padding-left: 0;
    margin-bottom: 3rem;
}

.bottom-margin {
    margin-bottom: 2rem;
}

h2.invoice-header {
    margin-top: 0;
}

.top-padded {
    padding-top: 5rem;
}

.footer__legal {
    text-align: center;
}

.footer .footer__row .footer__item {
    margin: auto;
    max-width: 45rem;
    border-top: 1px solid #ddd;
    padding: 1.5rem;
}

hr.grey {
    border-color: #ddd;
}

.language-item {
    position: relative;
    display: inline-block;
    padding: 8px 15px;
    margin-bottom: 0.5rem;
    background-color: #fff;
    border-right: 1px solid #ddd;
    width: 11rem;
}

    .language-item:last-child {
        border-right: none;
    }

    .language-item:hover {
        background-color: #f5f5f5;
        text-decoration: none;
    }

.right-top {
    float: right;
    padding-right: 10px;
    margin-top: -25px;
}

.right-bottom {
    float: right;
    padding-right: 10px;
}


/* Disable chrome autofill yellow background */
#main input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #F2F2F2 inset;
}

/* Apply grey background to inputs */
#main input[type=text], #main input[type=password], #main input[type=email] {
    background-color: #F5F5F5;
    width: 100%;
}

.uppercase {
    text-transform: uppercase;
}

section.rounded-box {
    border-radius: 1rem;
    border: 1px #ddd solid;
    padding: 2rem;
}

    section.rounded-box.text {
        width: 30px;
        margin-top: -10px;
        margin-left: 5px;
        background: white;
    }

a.button--full, button.button--full {
    border-style: none;
    max-width: none;
    width: 100%;
}

.validation-summary-errors {
    border: 2px solid #d01947;
    padding: 1.2rem;
    margin-bottom: 2rem;
}


/* Center Logo for smaller screens */
@media screen and (max-width: 991px) {
    nav .utility .search {
        display: none;
    }

    nav.utility .utility__logo {
        margin: auto;
    }

    .language-item {
        border: 1px solid #ddd;
        font-size: 1.4rem;
        width: 10rem;
    }

        .language-item:last-child {
            border: 1px solid #ddd;
        }
}


/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/* Reduce font-size and padding on small screen to fit within the form */
@media only screen and (max-width: 500px) {
    .container--extra-narrow {
        font-size: 1.35rem;
    }

    h2.login-header {
        font-size: 2.6rem;
    }

    section.rounded-box {
        padding: 1rem;
    }

    .footer .footer__row .footer__item {
        font-size: 1.4rem;
    }
}

/* Reduce font-size on small screen to fit within the form */
@media only screen and (max-width: 375px) {
    .container--extra-narrow {
        font-size: 1.1rem;
    }
}




