@import url(https://fonts.googleapis.com/css?family=Alegreya:400italic,700italic,400,700&subset=latin,latin-ext);
/* ==========================================================================
HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

a:link, a:focus, a:active{
    outline: 0;
}
/* ==========================================================================
Author's custom styles
========================================================================== */

body {
    background-color: #e6e6e6;
    color: #222;
    font: 16px 'Roboto', sans-serif;
    font-weight: 300;
}
a {
    color: #642f18;
    text-decoration: underline;
}
.wrapper {
    width: 1000px;
    margin: 0 auto;
    position: relative;
    -webkit-box-shadow: 0 0 40px rgba(0,72,154,.1);
    -moz-box-shadow: 0 0 40px rgba(0,72,154,.1);
    box-shadow: 0 0 40px rgba(0,72,154,.1);
    background: #f5f5f5 url(../img/bg-top.png) no-repeat top left;
}

nav.main {
    height: 40px;
    background-color: #444;
    padding: 6px 0 0 29px;
    position: fixed;
    width: 971px;
    z-index: 100;
    left: 50%;
    margin-left: -500px;
    top: 0;
    font-family: 'Alegreya', serif;
}
header {
    margin-top: 45px;
    position: relative;
    height: 159px;
}
nav.mobilemenu {
    display: none;
}
div.mobileheader {
    display: none;
}
div.halfwidth {
    width: 50%;
    float: left;
}
div.googlemap {
    display: block;
}
div.mapmobile {
    display: none;
}
.slidemobile {
    display: none;
}
div.message {
    display: none;
}
.logo {
    position: absolute;
    top: 21px;
    left: 31px;
}
.sitename {
    position: absolute;
    top: 38px;
    left: 173px;
}
.sitename h1 {
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: #642f18;
    font-size: 29px;
    text-transform: uppercase;
}
.sitename h1 span {
    font-size: 34px;
}
.sitename h2 {
    font-size: 26px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    color: #666666;
}
.slogan {
    position: absolute;
    top: 52px;
    left: 753px;
    font-size: 13px;
    color: #642f18;
    font-family: 'Alegreya', serif;
    text-transform: uppercase;
    width: 230px;
    font-style: italic;
}
.slogan span {
    font-style: italic;
}
.slogan2 {
    position: absolute;
    left: 717px;
    top: 22px;
    width: 250px;
    font-size: 23px;
    color: #000;
    font-family: 'Alegreya', serif;
    text-transform: uppercase;
    text-align: right;
}
.fbicon {
    position: absolute;
    top: 8px;
    left: 948px;
}
nav.main ul {
    margin: 0;
    padding: 0;
}

nav.main ul li {
    list-style-type: none;
    float: left;
    margin-right: 5px;
    white-space: nowrap;
}
nav.main ul li a {
    text-decoration: none;
    display: block;
    float: left;
    padding: 7px 14px;
    color: white;
    font-size: 16px;
    font-weight: 400;
    -webkit-transition: background-color 300ms ease-out;
    -moz-transition: background-color 300ms ease-out;
    -ms-transition: background-color 300ms ease-out;
    -o-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;
    /*
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    */
    background-color: transparent;
}
/*
nav.main ul li a:hover {
background-color: #202020;
}
*/
article {
    margin: 0 30px;
    position: relative;
}
footer.desktop {
    height: 209px;
    margin-top: 35px;
    background: url(../img/footer-bg.jpg) no-repeat left bottom;
    font-size: 12px;
    font-weight: 400;
    line-height: 21px;
}
footer.mobile {
    display: none;
}
footer article {
    border-top: 1px solid #e8e8e8;
}
footer span {
    color: #642f18;
    font-weight: bold;
}
.footer-infoblock-1 {
    width: 200px;
    position: absolute;
    top: 64px;
    left: 520px;
}
.footer-infoblock-2 {
    width: 310px;
    height 100px;
    position: absolute;
    top: 52px;
    left: 724px;
}
.home-box-1 {
    width: 409px;
    height: 285px;
    background-color: #ededed;
    margin-right: 35px;
    margin-top: 35px;
    float: left;
    padding: 22px;
}
.home-box-2 {
    height: 203px;
    background-color: #ededed;
    float: left;
    margin-top: 35px;
    padding: 22px;

}
.home-box-3 {
    width: 306px;
    height: 246px;
    background-color: #ededed;
    margin-right: 35px;
    margin-top: 35px;
    float: left;
    padding: 22px;
}
.home-box-4 {
    width: 511px;
    height: 246px;
    background-color: #ededed;
    margin-top: 35px;
    float: left;
    padding: 22px;
}
.home-box-5 {
    width: 246px;
    height: 246px;
    background-color: #ededed;
    margin-top: 35px;
    float: left;
    padding: 22px;
}
.content {
    width: 576px;
    background-color: #ededed;
    margin-top: 0px;
    margin-right: 30px;
    float: left;
    padding: 22px;
    margin-bottom: 50px;
}
.content h2 {
    color: #642f18;
    font-size: 22px;
    line-height: 25px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}
.home-row h3 {
    color: #642f18;
    font-size: 18px;
    line-height: 20px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}
.home-row p {
    margin: 0;
}
.aside {
    width: 246px;
    min-height: 246px;
    background-color: #ededed;
    margin-top: 0px;
    float: left;
    padding: 22px;
    /*
    position: fixed;
    margin-left: 650px;
    z-index: 100;
    */
}

#slider88 .slide-desc {
    width: 270px !important;
    height: 400px;

}
#slider88 .slide-desc-bg {
    height: 400px !important;
}
#slider88 .slide-desc-text {
    padding: 23px 20px 20px 20px;
}
.slide-desc .slide-desc-text .slide-title {
    color: #FFFFFF;
}
.slide-desc-text p {
    margin: 0;
}
.slide-desc-text .slide-title {
    margin-bottom: 10px !important;
}
#djslider96 #cust-navigation96 {
    top: 365px;
    left: 89px;
}
#cust-navigation96 span.load-button.load-button-active {
    background-color: #642f18;   
}
#cust-navigation96 span.load-button {
    background-color: white;
    margin-right: 13px;
    border: 0;
}
.home .content {
    display: none;
}
#fieldset1 label {
    float: left;
    width: 80px;
}
#fieldset1 input, #fieldset1 textarea {
    width: 380px;
    resize: none;
    margin-bottom: 10px; 
}
dt.captcha, dd.captcha {
    margin-left: 80px;
    margin-bottom: 10px;
}
dd.submit input {
    margin-left: 40px;
}
dd.captcha input {
    width: 157px;
}
div.qlform div.message {
    color: red;
    font-weight: bold;
}
#footbox {
    display: none;
    position: fixed;
    bottom: 0;
    height: 70px;
    width: 70px;
    right: 50%;
    opacity: 0.7;
    margin-right: -590px;
    /*
    -webkit-animation: fadein 2s;
    -moz-animation: fadein 2s; 
    -ms-animation: fadein 2s; 
    -o-animation: fadein 2s;
    animation: fadein 2s;
    */
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 0.7; }
}

/* Firefox */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 0.7; }
}

/* Safari and Chrome */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 0.7; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 0.7; }
}
.slide-desc-text .slide-title {
    line-height: 1.2em;
}
.slide-desc-text p {
    margin-bottom: 5px;
}
ul.dropdown-menu.actions {
    display: none;
}
.fsf_main a {
    color: black;
    text-decoration: none;
}


/* ==========================================================================
Media Queries
========================================================================== */

@media only screen and (max-width: 987px) {

    div.halfwidth {
        width: 100%;
        float: none;
    }
    #nav-toggle {
        cursor: pointer;
        padding: 10px 35px 16px 0px;
        margin-top: 8px;
    }
    #nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
        cursor: pointer;
        border-radius: 1px;
        height: 4px;
        width: 30px;
        background: white;
        position: absolute;
        display: block;
        content: '';
    }
    #nav-toggle span:before {
        top: -7px;
    }
    #nav-toggle span:after {
        bottom: -7px; 
    }
    #nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
        transition: all 500ms ease-in-out;
    }
    #nav-toggle.active span {
        background-color: transparent;
    }
    #nav-toggle.active span:before, #nav-toggle.active span:after {
        top: 0;
    }
    #nav-toggle.active span:before {
        transform: rotate(45deg);
    }
    #nav-toggle.active span:after {
        transform: rotate(-45deg);
    }
    .wrapper {
        width: 94%;
        padding: 50px 3% 20px 3%;
    }
    .home-box-1, .home-box-2, .home-box-3, .home-box-4, .home-box-5, .home-box-3-mobile {
        float: none;
        width: 90%;
        height: auto;
        padding: 5%;
    }
    .home-box-5 iframe {
        width: 100% !important;
    }
    .home-box-3 {
        display: none;
    }
    .home-box-3-mobile {
        display: block;
    }
    footer {
        width: 100%;
        display: none;
    }
    footer.mobile {
        display: block;
        background-color: #444;
        color: white;
        width: 94%;
        margin: 0;
        padding: 3%;
        font-size: 80%;
    }
    footer.mobile a {
        color: white;
    }
    #footbox {
        display: none;
    }
    article {
        margin: 0;
    }
    .slideshow {
        display: none;
        margin-top: 30px;
        height: auto;
        position: relative;
        max-width: 100%;
        width: 100%;
    }
    .slide-desc-text p {
        float: left;
        margin-right: 10px;
    }
    #slider96 .slide-desc {
        width: 100% !important;
        height: auto !important;
        top: 0;
        left: 0;
        font-size: 70%;
    }
    #slider96 .slide-desc-text {
        padding-top: 6%;
    }
    #djslider96 #cust-navigation96 {
        top: auto;
        left: 42%;
        bottom: -20px;
    }
    #cust-navigation96 span.load-button {
        background-color: #444;
        width: 8px;
        height: 8px;
        margin-right: 8px;
    }
    header {
        display: none;
    }
    nav.main {
        display: none;
    }
    div.mobileheader {
        display: block;
        height: 50px;
        background-color: #444;
        padding: 10px 0 0 10px;
        position: fixed;
        width: 100%;
        z-index: 100;
        top: 0;
        left: 0;
    }
    div.mobileheader img.mobilelogo {
        height: 40px;
        width: auto;
        margin-right: 10px;
    }
    div.mobileheader a {
        color: white;
        text-decoration: none;
    }
    nav.mobilemenu {
        -webkit-transition: right 0.5s;
        -moz-transition: right 0.5s;
        transition: right 0.5s;
        text-transform: uppercase;
        font-weight: bold;
        background-color: #444;
        color: white;
        overflow-y: auto;
        top: 60px;
        right: -100%;
        display: block;
        position: absolute;
        width: 100%;
        height: 290px;
        z-index: 100;
    }   
    nav.mobilemenu.active {
        display: block;
        right: 0;
    }
    nav.mobilemenu ul li a {
        color: white;
        display: block;
        padding: 8px;
        border-bottom: 1px dotted white;
        text-decoration: none;
    }
    nav.mobilemenu ul li span {
        color: white;
        display: block;
        padding: 8px;
    }
    nav.mobilemenu > ul {
        margin: 0;
        padding: 0;
    }
    nav.mobilemenu ul li ul {
        margin: 0;
    }
    div.title {
        color: white;
        width: 190px;
        line-height: 20px;
        white-space: nowrap;
    }
    .content {
        width: auto;
        margin-top: 0px;
        margin-right: 0px;
        float: none;
        padding: 22px 22px 40px 22px;
        margin-bottom: 20px;
    }
    article img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    div.aside {
        width: auto;
        float: none;
    }
    div.aside img {
        width: 100%;
        height: auto;
    }
    div.googlemap {
        display: none;
    }
    div.mapmobile {
        display: block;
    }
    div.mapmobile img {
        width: 100%;
        height: auto;
    }
    table.rendeles {
        width: 100% !important;
    }
    .slidemobile {
        display: block;
        margin-top: 30px;
    }
    .slidemobile img {
        width: 100%;
        height: auto;
    }
    div.message {
        display: none;
    }
    div.fbfull iframe {
        width: 100% !important;
    }
}

/* ==========================================================================
Helper classes
========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
Print styles
========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
    * Don't show links for images, or javascript/internal links
    */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
table a{
    word-break: break-all;
}