/*!
 * Start Bootstrap - Business Casual Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */
body {
    font-family: "Andalus", Times, serif;
    background: url('../img/bg.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-family: "Andalus", Times, serif;
    font-weight: 700;
    letter-spacing: 1px;
}

p ,
li{
    font-size: 1.25em;
    line-height: 1.6;
    color: #000;
}

hr {
    max-width: 400px;
    border-color: #999999;
}

ul > .widget {
  list-style: none;
}

.brand,
.address-bar {
    display: none;
}

.navbar-brand {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
}

.navbar-nav {
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 3px;
}

.img-full {
    min-width: 100%;
}

.brand-before,
.brand-name {
    text-transform: capitalize;
}

.brand-before {
    margin: 15px 0;
}

.brand-name {
    margin: 0;
    font-size: 4em;
}

.tagline-divider {
    margin: 15px auto 3px;
    max-width: 250px;
    border-color: #999999;
}

.box {
    margin-bottom: 20px;
    padding: 30px 15px;
    background: #fff;
    background: rgba(249,255,233,0.8);
}

.intro-text {
    text-transform: uppercase;
    font-size: 2.0em;
    font-weight: 400;
    letter-spacing: 1px;
}

.img-border {
    float: none;
    margin: 0 auto 0;
    border: #999999 solid 1px;
}

.img-left {
    float: none;
    margin: 0 auto 0;
}

footer {
    background: #fff;
    background: rgba(249,255,233,0.8);
}

footer p {
    margin: 0;
    padding: 50px 0;
}

@media screen and (min-width:768px) {
    .brand {
        display: inherit;
        margin: 0;
        padding: 30px 0 10px;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        font-family: "Andalus", Times, serif;
        font-size: 5em;
        font-weight: 700;
        line-height: normal;
        color: #fff;
    }

    .top-divider {
        margin-top: 0;
    }

    .img-left {
        float: left;
        margin-right: 25px;
    }

    .address-bar {
        display: inherit;
        margin: 0;
        padding: 0 0 40px;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        text-transform: uppercase;
        font-size: 1.25em;
        font-weight: 400;
        letter-spacing: 3px;
        color: #fff;
    }

    .navbar {
        border-radius: 0;
    }

    .navbar-header {
        display: none;
    }

    .navbar {
        min-height: 0;
    }

    .navbar-default {
        border: none;
        background: #fff;
        background: rgba(249,255,233,0.8);
    }
    .nav>li>a {
        padding: 35px 10px 35px 10px;
    font-size: 0.7em;
    }
  
    .navbar-nav>li>a {
        line-height: normal;
    }

    .navbar-nav {
        display: table;
        float: none;
        margin: 0 auto;
        table-layout: fixed;
        font-size: 1em;
    }
}

.navbar-nav {
        display: table;
        float: none;
        margin: 0 auto;
        table-layout: fixed;
        font-size: 1.25em;
    }
@media (min-width: 992px) {
  .nav>li>a {
        padding: 35px 15px 35px 15px;
    font-size: 0.75em;
    }
  
  .container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 1999px) {
  .nav>li>a {
        padding: 35px 20px 35px 20px;
    font-size: 1.25em;
    }
}

.box:after {
  content: '';
  display: table;
  clear: both;
}

#map-container {
  width: 90%;
  margin: auto auto;
  margin-top: 20px;
}

@media(max-width: 400px) {
  #map-container {
    display: none;
  }
}

.wpcf7-form-control {
  max-width: 100%;
}

#contact-us-thing-container {
  padding-left: 40px;
}

#contact-us-directions {
  padding-top: 15px;
}

.required {
  color: red;
}

#majutus-calendar-intro {
  padding: 50px;
}

#majutus-content {
  padding: 20px;
}

#hinnakiri-content {
  padding: 20px;
}

#hinnakiri-content li {
font-size: 1.20em;
  margin-bottom: 15px;
}

#majutus-parem-container li {
  font-size: 1em;
  margin-bottom: 5px;
}

//Some changes

.home .intro-text {
  display: none;
  
}

.home .main-hr {
  display: none;
}

.homepage-intro-text {
  text-transform: uppercase;
    font-size: 2.0em;
    font-weight: 400;
    letter-spacing: 1px;
}

.lang-item {
  list-style-type: none;
  display: inline;
  float:right;
  margin-right:10px;
}

.sub-menu > li {
  display:block;
}