/* General stuff */

body, p {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    color: black;
}
strong, b, h1, h2, h3, h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: black;
}


/* Overrides */

#caravan {
    padding-left: 0px;
    padding-right: 0px;
}

#caravan .container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

#caravan .carousel {
    margin-bottom: 0px;
}


/* Header */

#header {
    min-height: 70px;
    padding-top: 80px;
}

@media (max-width: 767px) {
    #header {
	padding-top: 20px;
    }
}

#header h1 {
    padding: 0;
    margin: 0;
    font-size: 40.36px;
}

#logo {
    min-height: 70px;
    padding-left: 60px;
}

@media (max-width: 767px) {
    #logo {
	padding-left: 20px;
    }
}

@media (max-width: 767px) {
}

#header .button {
    width: 36px;
    height: 32px;
    display: block;
    float: left;
    text-decoration: none;
    background: url(../images/btn_sprite.png);
}

#header .fixedheight {
    height: 70px;
}

#header .button.functions {
    background-position: 0px 0px;
}

#header .button.location {
    background-position: 86px 0px;
}

#header .button.love {
    background-position: 37px 0px;
}

#header .button.functions:hover {
    background-position: 0px 32px;
}

#header .button.location:hover {
    background-position: 86px 32px;
}

#header .button.love:hover {
    background-position: 37px 32px;
}

@media (max-width: 767px) {
    #header .buttons {
	padding-left: 20px;
    }
}

#header .buttons {
    min-height: 70px;
    min-width: 140px;
}

#menu {
    border-top: solid 1px #8d8d8d;
    min-height: 63px;
    background-color: #aaaaaa;
}

#menu .item {
    margin-top: 21px;
    text-align: center;
}

#menu .item a {
    font-weight: 700;
    color: white;
    font-size: 21px;
    text-transform: uppercase;
    text-decoration: none;
}

#menu .item a:hover {
    font-weight: 700;
    color: black;
    font-size: 21px;
    text-transform: uppercase;
    text-decoration: none;
}

/* carousel */

#myCarousel {
    height: 628px;
}

#call-to-action {
    padding-top: 200px;
}

#call-to-action h1 {
    font-size: 48px;
}

#call-to-action p {
    font-size: 20px;
    padding-top: 10px;
    padding-left: 10px;
}

#call-to-action a {
    font-size: 24px;
}

/* Footer */

#footer {
    background-image: url(../images/bg_pattern.png);
    background-repeat: repeat;
    font-size: 32px;
    line-height: normal;
    border-top: 1px solid #d5d3d3;
}

#footer #motto {
    padding-top: 75px;
    padding-left: 60px;
    padding-bottom: 60px;
}

#footer .logo {
    text-align: center;
    padding-top: 110px;
    padding-bottom: 110px;
}

#footer address {
    line-height: normal;
}

#footer .post {
    font-size: 21px;
    margin-top: 40px;
    margin-bottom: 25px;
}

#footer .email {
    font-size: 18px;
    margin-bottom: 0;
}

/* Panels */

.gridPanel {
    position: relative;
    -webkit-background-size:cover;
       -moz-background-size:cover;
            background-size:cover;
    }
    .gridPanel .panelBackground {
        padding-top: 61.8%; /* keeps the aspect ratio of the box even without an <img> */
                            /* trick from http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
        background-color: transparent;
        opacity: 0;
        transition: opacity 0.3s, background-color 0.3s;
        -webkit-transition: opacity 0.3s, background-color 0.3s;
        -moz-transition: opacity 0.3s, background-color 0.3s;
        -o-transition: opacity 0.3s, background-color 0.3s;
        }
    .gridPanel .panelContent {
        position: absolute;
        top: 3%; bottom: 3%; left: 3%; right: 3%;
        overflow: hidden;
        }
        .gridPanel h2 {
            position: absolute;
            -webkit-transition: bottom 0.3s, left 0.3s, color 0.3s;
            -moz-transition: bottom 0.3s, left 0.3s, color 0.3s;
            transition: bottom 0.3s, left 0.3s, color 0.3s;
            }
        .gridPanel .panelWords {
            position: absolute;
            -webkit-transition: bottom 0.3s, left 0.3s, color 0.3s;
            -moz-transition: bottom 0.3s, left 0.3s, color 0.3s;
            transition: bottom 0.3s, left 0.3s, color 0.3s;
            }
            .gridPanel .panelWords p {
                /*text-align: justify;*/
                }
.gridPanel:hover {
    cursor: pointer;
    }
    .gridPanel:hover .panelBackground {
        background-color: white;
        opacity : 0.8;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        }
        .gridPanel:hover h2 {
            color: black;
            }

#panelAbout {
    background-image: url('/images/teapot.png');
    }
    #panelAbout h2 {
        bottom: 0;
        color: white;
        }
    #panelAbout .panelWords {
        bottom: -100%;
        }
    #panelAbout:hover h2 {
        bottom: 80%;
        color: black;
        }
    #panelAbout:hover .panelWords {
        bottom: 0;
        }

#panelLorem {
    }
    #panelLorem .panelWords {
        width: 100%;
        left: 100%;
        bottom: 0;
        }
        #panelLorem .panelWords p { text-align: justify; }
    #panelLorem:hover .panelWords {
        left: 0;
        }
