/**
 * Light blue:  #5878c2;
 * Blue: 		#4a5b85;
 * Dark blue:	#333f5a;
 * Orage:		#ac5a0d;
 * Dark Orage:	#713803  
 */

@font-face {
    font-family: 'ErasDemi';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/ERASDEMI.woff') format('woff'), url('../fonts/ERASDEMI.ttf') format('truetype');
}

html {
    overflow-y: scroll;
    background-color: #4a5b82;
}

body {
    margin: 0;
    font-family: 'Dosis';
    font-size: 100%;
    letter-spacing: 1px;
    background-image: url('../img/bg_body.jpg');
}

/** Navigation */
nav ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

nav ul li {
    float: left;
    margin: 0px;
    padding: 0px;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #5878c2;
    padding: 8px 15px;
    display: inline-block;
    border-radius: 3px;
}

nav a:hover {
    color: #fff;
    background-color: #ac5a0d;
}

/** Subnav */
#subnav {
    background-color: #4a5b82;
    width: 100%;
    height: 50px;
}

#subnav.stuck {
    position: fixed;
    top: 80px;
    z-index: 1001;
    background-color: rgba(74, 91, 130, 0.95);
}

#subnav nav ul li {
    margin-top: 10px;
    margin-right: 5px;
}

#subnav a {
    color: #fff;
}

#subnav a:hover {
    background-color: #333f5a;
}

#subnav a.active {
    background-color: #333f5a;
}

/** Header */
body > header {
    background: #fff;
    background-image: url('../img/bg_body.jpg');
    position: fixed;
    top: 0;
    z-index: 1000;
    height: 80px;
    width: 100%;
}

body > header h1 {
    font-family: 'ErasDemi';
    font-weight: 700;
    font-size: 185%;
    text-shadow: 0 1px 0 #fff;
    letter-spacing: -2px;
    margin-top: 22px;
    color: #ac5a0d;
}

body > header .row {
    padding: 0px 0;
}

body > header nav {
    padding: 23px;
}

body > header nav ul {
    float: right;
}

body > header nav ul li {
    margin-right: 0px;
    margin-left: 2px;
}

body > header a {
    color: #ac5a0d;
}

body > header a.active {
    color: #333f5a;
}

body > header a.active:hover {
    color: #fff;
}

body > header li.download {
    margin-left: 25px;
}

body > header li.download a {
    background-color: #999;
    color: #fff;
}

body > header li.download a:hover {
    background-color: #666;
}

body > header li.language a {
    padding-left: 5px;
    padding-right: 5px;
    color: #777;
    background-color: rgba(0, 0, 0, .1);
}

body > header li.language a:hover,
body > header li.language a.active:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, .4);
}

body > header li.language a.active {
    background-color: rgba(0, 0, 0, .3);
    color: #fff;
}

/** Footer */
body > footer {
    background-color: #4a5b82;
    border-top: 4px solid #333f5a;
    height: 100px;
    padding-top: 30px;
}

body > footer a {
    color: #fff;
}

body > footer nav ul li a:hover {
    background-color: #333f5a;
}

body > footer nav.author ul {
    float: right;
}

body > footer nav.author ul li a {
    background-color: rgba(255, 255, 255, 0.2);
    color: #333f5a;
}

body > footer nav.author ul li a:hover {
    background-color: #333f5a;
    color: #fff;
}

/** Hero */
#hero {
    margin-top: 60px;
    position: relative;
    height: 240px;
}

#hero > div {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    padding-top: 30px;
}

#hero .hero-image {
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    z-index: 0;
}

#hero .hero-image.image-home {
    background-image: url('../img/hero.jpg');
    background-position: center top;
}

#hero .hero-image.image-contact {
    background-image: url('../img/lunapic_137011858320480_1.png');
    background-position: center 30%;
}

#hero .hero-logo {
    color: #fff;
    text-shadow: 0 1px 0 #333;
}

#hero .hero-logo h1 {
    font-family: 'ErasDemi';
    font-weight: 700;
    font-size: 350%;
    letter-spacing: -2px;
    margin-top: 55px;
    margin-bottom: 0px;
}

#hero .hero-logo h1 a {
    color: #fff;
}

#hero .hero-logo h2 {
    margin-top: 0px;
    margin-left: 80px;
    font-weight: 400;
    font-size: 140%;
    letter-spacing: 0px;
}

#hero .hero-logo h2 em {
    font-family: 'Dancing Script';
    font-size: 130%;
}

/** Body */
section#body {
    margin-bottom: 100px;
}

section#body header {
    text-align: center;
    padding: 30px;
    background-color: rgba(0, 0, 0, .3);
}

section#body h1 {
    color: #ac5a0d;
    font-weight: 300;
    font-size: 220%;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

section#body h2 {
    margin-top: 40px;
}

section#body em {
    font-weight: 600;
    color: #ac5a0d;
    text-transform: uppercase;
}

section#body p, section#body ul {
    margin-bottom: 30px;
}

section#body p, section#body label, section#body li {
    line-height: 150%;
    font-weight: 300;
    letter-spacing: 0px;
    font-size: 110%;
    text-align: justify;
}

section#body li li {
    font-size: 100%;
}

section#body li {
    margin-bottom: 20px;
}

section#body li h1 {
    color: #222;
    font-weight: 300;
    font-size: 100%;
    text-decoration: underline;
}

section#body li h2 {
    color: #222;
    font-weight: 600;
    font-size: 100%;
}

section#body a {
    color: #ac5a0d;
}

section#body a:hover {
    text-decoration: underline;
}

section#body .odd, section#body .even {
    margin: 15px 0px;
    padding: 15px 0px;
}

section#body .even {
    background-color: rgba(0, 0, 0, 0.1);
}

section#body .img {
    margin: 30px;
    padding: 30px;
    background-color: #fff;
    border: 5px solid rgba(0, 0, 0, 0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

section#body figure {
    margin: 30px;
    display: table;
    background-color: #fff;
    border: 5px solid rgba(0, 0, 0, 0.2);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

section#body figure img {
    margin: 30px;
}

section#body figure figcaption {
    text-align: center;
    padding: 3px;
    background-color: rgba(0, 0, 0, 0.2);
}

/** Directions */
section#body .directions .direction {
    margin-top: 80px;
}

section#body .directions, section#body .directions p {
    text-align: center;
    height: 50px;
}

/** General */
a, a:hover {
    text-decoration: none;
    -moz-transition: background-color 0.25s ease-out;
    -o-transition: background-color 0.25s ease-out;
    -webkit-transition: background-color 0.25s ease-out;
    transition: background-color 0.25s ease-out;
}

.hide-large {
    display: none;
}

ul.messages {
    list-style: none;
    margin-bottom: 30px;
}

ul.messages li {
    margin-left: 0px;
    margin-bottom: 5px;
}

ul.messages li span {
    padding: 10px;
    color: #fff;
    font-weight: 600;
    display: block;
}

ul.messages li span.info {
    background-color: #6aad6b;
}

ul.messages li span.error {
    background-color: #c90c0c;
}

/** Buttons */
section#body a.btn, a.btn, section#body span.btn, span.btn {
    background-color: #4b66a5;
    box-shadow: 0 2px 0 #333f5a;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    padding: 0 20px;
    line-height: 42px;
    user-select: none;
    height: 40px;
}

section#body a.btn:hover, a.btn:hover {
    background-color: #ac5a0d;
    box-shadow: 0 2px 0 #713803;
    text-decoration: none;
}

section#body a.btn-disabled, a.btn-disabled, section#body span.btn-disabled, span.btn-disabled {
    background-color: #999;
    box-shadow: 0 2px 0 #333;
}

section#body a.btn-primary, a.btn-primary {
    background-color: #ac5a0d;
    box-shadow: 0 2px 0 #713803;
}

section#body a.btn-primary:hover, a.btn-primary:hover {
    background-color: #4b66a5;
    box-shadow: 0 2px 0 #333f5a;
    text-decoration: none;
}

/** Team */
section#team .team-member {
    margin-top: 80px;
    text-align: center;
}

section#team .team-member h1 {
    height: 60px;
}

section#team .team-member h2 {
    color: #4a5b85;
    margin-bottom: 50px;
}

section#team .team-member ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

section#team .team-member li {
    text-align: center;
    margin: 0px 20px 15px 20px;
    line-height: 25px;
}

/** Contact banner */
section#contact-banner {
    margin-top: 0px;
    text-align: center;
}

section#contact-banner header {
    padding: 10px 0 40px 0px;
    background-color: rgba(0, 0, 0, .1);
}

section#contact-banner header h1 {
    color: #5878c2;
    font-size: 200%;
    font-weight: 500;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

section#contact-banner footer {
    padding: 5px;
    background-color: rgba(0, 0, 0, .3);
}

section#contact-banner footer h1 {
    color: #fff;
    font-size: 120%;
    font-weight: 300;
}

section#contact-banner .openinghours div.row {
    margin: 1px;
}

section#contact-banner .openinghours div.row div {
    padding: 6px;
}

section#contact-banner .openinghours .day {
    font-weight: 600;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
}

section#contact-banner .openinghours > div:nth-of-type(1) .day {
    border-radius: 5px 0 0 0;
}

section#contact-banner .openinghours > div:nth-of-type(1) .hours {
    border-radius: 0 5px 0 0;
}

section#contact-banner .openinghours > div:nth-of-type(2) .day {
    border-radius: 0 0 0 5px;
    box-shadow: 0 2px 0 #999;
}

section#contact-banner .openinghours > div:nth-of-type(2) .hours {
    border-radius: 0 0 5px 0;
    box-shadow: 0 2px 0 #999;
}

section#contact-banner .openinghours .hours {
    color: #444;
    background-color: rgba(255, 255, 255, 0.3);
}

/** Contact block */
section#body .contact-information {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 5px 20px;
    margin-bottom: 20px;
}

section#body .contact-information p, section#body .contact-information div.row {
    color: #fff;
    font-size: 120%;
    font-weight: 300;
}

section#body .contact-information h1 {
    color: #5878c2;
    font-size: 200%;
    font-weight: 500;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

section#body .contact-information em {
    font-style: normal;
    font-weight: normal;
    text-transform: none;
    text-decoration: underline;
}

section#body .contact-form h1 {
    margin-top: 0px;
}

section#body .contact-form {
    padding-left: 40px;
}

section#body .contact-form textarea {
    height: 170px;
}

section#body .contact-form input, section#body .contact-form textarea {
    font-size: 100%;
}

section#body .contact-form input.ng-dirty.ng-invalid {
    border: 1px solid #c90c0c;
}

#map-canvas {
    height: 400px;
    width: 100%;
    margin-bottom: 60px;
}

/** Mobile navigation */
.mobile-nav {
    position: absolute;
    bottom: 0px;
    height: 43px;
    width: 100%;
}

#mobile-nav-container {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

#mobile-nav {
    padding: 5px;
}

#mobile-nav-active {
    float: left;
    margin-left: 15px;
    color: #fff;
    text-shadow: 0px 1px 0px #333;
    height: 43px;
    line-height: 43px;
}

#mobile-nav-icon {
    text-indent: -9999px;
    float: right;
    text-align: center;
    width: 40px;
    padding: 8px;
    margin: 5px;
    border-radius: 5px;
    background: url('../img/mobile-nav-bg.png') #999;
    color: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}

#mobile-nav nav {
    margin-top: 5px;
    padding: 0px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

#mobile-nav nav ul {
    margin: 0px;
    padding: 0px;
    display: none;
}

#mobile-nav nav ul li, #mobile-nav nav ul li.download {
    width: 100%;
    padding: 5px;
    margin-left: 0px;
    border-bottom: 1px solid #eee;
}

#mobile-nav nav ul li.download a {
    background-color: #999;
    color: #fff;
}

#mobile-nav nav ul li a {
    width: 100%;
}

/** Angular JS cloak */
.ng-cloak {
    display: none;
}

