/* Default Styles
   ========================================================================== */

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
    display: block
}

audio,
canvas,
progress,
video {
    display: inline-block
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects
}

a:active,
a:hover,
a:visited:hover,
a:active:hover {
    text-decoration: none;
    outline-width: 0
}

b,
strong {
    font-weight: inherit
}

b,
strong {
    font-weight: bolder
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -0.25em
}

sup {
    top: -0.5em
}

a img {
    border-style: none;
}

svg:not(:root) {
    overflow: hidden;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

button,
input,
select,
textarea {
    font: inherit;
    margin: 0
}

optgroup {
    font-weight: bold
}

button,
input {
    overflow: visible
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText
}

textarea {
    overflow: auto
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-input-placeholder {
    color: inherit;
    opacity: 0.54
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

html {
    width: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* Page Layout & Utility
   ========================================================================== */

body {
    width: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0;
    background: #fff;
    -ms-font-feature-settings: 'liga' 1, 'kern';
    -o-font-feature-settings: 'liga' 1, 'kern'; /* FF old */
    font-feature-settings: 'liga' 1, 'kern';
}

.main-container {
    position: relative;
    width: 100%;
    min-width: 1024px;
    height: 100%;
    min-height: 400px;
    padding: 0;
    margin: 0 auto;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #3f4040;
}

.wide {
    position: relative;
    width: 100%;
    min-width: 1024px;
    padding: 0;
    margin: 0 auto;
}

.container {
    position: relative;
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
}

.mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .wide, .main-container {
        width: 100%;
        min-width: 0;
    }

    .container {
        width: 540px;
    }

    .flex{
        flex-flow: column wrap;
        -webkit-flex-flow: column wrap;
    }

    .flex > div{
        width: 100% !important;
        text-align: center;
    }

    .footer-address,
    .search-block{
        margin-bottom: 25px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }
}

/*  Header
   ========================================================================== */

#pri_Spacer {
    height: 115px;
}

.primary {
    position: absolute;
    padding-top: 0;
    display: block;
    background-color: #e1dfd4;
    z-index: 3000;
    transition: .25s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.primary > .container {
    width: 80%;
    overflow: visible;
    min-width: 1090px;
}

#logo {
    position: absolute;
    top: 0;
    left: 0;
    padding: 12px 0;
    line-height: 1;
    vertical-align: middle;
    z-index: 200;
    transition: .2s cubic-bezier(.4, 0, .2, 1);
    width: 240px;
}

#logo.shrink {
    width: 140px;
}

#logo a {
    display: block;
}

#logo img {
    width: 100%;
    height: auto;
}

.primary.scrolled #logo {
    width: 140px;
    padding: 7px 0;
}

@media (max-width: 768px) {
    #pri_Spacer {
        height: 78px;
    }

    .primary {
        padding: 0;
        display: block;
    }

    .primary .container {
        width: 100%;
        padding: 0;
        min-width: 0;
    }
    
    .primary #logo,
    .primary.scrolled #logo {
        width: 120px;
        padding: 19px 0;
        margin-left: 20px;
    }
}

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

/*  Navigation
   ========================================================================== */

#primary, #primary.fixed {
    position: fixed;
}

#primary.scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}



.primary.scrolled .navigation > ul > li > a {
    padding: 25px 12px;
}

#menu {
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.navigation {
    position: relative;
    width: 76%;
    display: block;
    float: right;
    z-index: 100;
    text-align: right;
}

.navigation ul {
    position: relative;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    overflow: visible;
    font-size: 0;
}

.navigation ul li {
    display: inline-block;
}

.navigation > ul > li > a,
.navigation ul li {
    text-align: center;
    font-size: 16px;
}

.navigation > ul > li > a {
    position: relative;
    display: block;
    padding: 53px 12px 47px;
    margin: 0;
    color: #4d4d4d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: .12s cubic-bezier(.4, 0, .2, 1);
}

.navigation > ul > li:hover > a,
.navigation > ul > li > a.active {
    color: #787878;
}

#navigation > ul > li .subNav {
    position: absolute;
    opacity: 0;
    width: 200px;
    min-width: 230px;
    padding: 8px 0;
    visibility: hidden;
    background: #fff;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12);
    transition: opacity .15s cubic-bezier(0, 0, .2, 1),
    -webkit-transform .15s cubic-bezier(0, 0, .2, 1);
    transition: transform .15s cubic-bezier(0, 0, .2, 1),
    opacity .15s cubic-bezier(0, 0, .2, 1);
    transition: transform .15s cubic-bezier(0, 0, .2, 1),
    opacity .15s cubic-bezier(0, 0, .2, 1),
    -webkit-transform .15s cubic-bezier(0, 0, .2, 1);
    -webkit-transform: translateY(-12px);
    -ms-transform: translateY(-12px);
    transform: translateY(-12px);
    overflow: hidden;
}

#navigation > ul > li:hover .subNav {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

#navigation > ul > li .subNav li {
    display: block;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
}

#navigation > ul > li .subNav li a {
    display: block;
    padding: 14px 28px;
    margin: 0;
    color: #4d4d4d;
    line-height: normal;
    text-decoration: none;
    transition: .15s cubic-bezier(0, 0, .2, 1);
}

#navigation > ul > li .subNav li a:hover {
    color: #892829;
}

.subnavOpen {
    display: none;
}


@media (max-width: 768px) {

    .main-container {
        transition: -webkit-transform .2s cubic-bezier(.4, 0, .2, 1);
        transition: transform .2s cubic-bezier(.4, 0, .2, 1);
        transition: transform .2s cubic-bezier(.4, 0, .2, 1),
        -webkit-transform .2s cubic-bezier(.4, 0, .2, 1);
    }

    /*
     * Menu Button
     */
    #menu {
        position: relative;
        float: right;
        z-index: 201;
        font: inherit;
        display: block;
        overflow: visible;
        margin: 0;
        padding: 29px 20px;
        cursor: pointer;
        transition-timing-function: linear;
        transition-duration: .15s;
        transition-property: opacity, -webkit-filter;
        transition-property: opacity, filter;
        transition-property: opacity, filter, -webkit-filter;
        text-transform: none;
        color: inherit;
        border: 0;
        background-color: transparent;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    #menu:focus,
    #menu:active {
        outline: 0;
    }

    .menu-bars {
        position: relative;
        display: block;
        width: 30px;
        height: 20px;
    }

    .menu-bar {
        display: block;
        top: 50%;
        margin-top: -1px;
    }

    .menu-bar,
    .menu-bar::before,
    .menu-bar::after {
        width: 30px;
        height: 2px;
        background-color: #000;
        border-radius: 4px;
        position: absolute;
        transition-property: transform;
        transition-duration: 0.15s;
        transition-timing-function: ease;
    }

    .menu-bar::before,
    .menu-bar::after {
        content: "";
        display: block;
    }

    .menu-bar::before {
        top: -8px;
    }

    .menu-bar::after {
        bottom: -8px;
    }

    /*
     * Menu Animation
     */
    #menu.active {
        background-color: transparent;

    }

    .active .menu-bar,
    .active .menu-bar::before,
    .active .menu-bar::after {
        background-color: #000;
    }

    .menu-bar {
        transition-duration: 0.1s;
        transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    .menu-bar::before {
        transition: top 0.1s 0.14s ease, opacity 0.1s ease;
    }

    .menu-bar::after {
        transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    .active .menu-bar {
        transform: rotate(45deg);
        transition-delay: 0.14s;
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    .active .menu-bar::before {
        top: 0;
        opacity: 0;
        transition: top 0.1s ease, opacity 0.1s 0.14s ease;
    }

    .active .menu-bar::after {
        bottom: 0;
        transform: rotate(-90deg);
        transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    /*.navigation {*/
        /*position: relative;*/
        /*display: block;*/
        /*margin: 0;*/
        /*width: 100%;*/
        /*max-width: 100%;*/
        /*max-height: 100%;*/
        /*height: 0px;*/
        /*float: none;*/
        /*background-color: transparent;*/
        /*transition: 0.4s ease-out;*/
        /*overflow: hidden;*/
        /*right: 0;*/
    /*}*/

    /*.navigation ul {*/
        /*height: auto;*/
        /*width: 100%;*/
        /*padding-top: 0;*/
        /*background-color: #fff;*/
    /*}*/

    /*.navigation ul .left,*/
    /*.navigation ul .right {*/
        /*float: none;*/
        /*width: 100%;*/
        /*display: block;*/
    /*}*/

    /*.navigation ul li {*/
        /*width: 100%;*/
        /*display: block;*/
        /*float: none;*/
        /*margin: 0;*/
    /*}*/

    /*.navigation ul li a {*/
        /*width: 100%;*/
        /*display: block;*/
        /*float: none;*/
        /*margin: 0 !important;*/
        /*padding: 18px 3% !important;*/
        /*color: #4d4d4d;*/
        /*font-size: 18px;*/
        /*line-height: 24px;*/
        /*text-align: center;*/
    /*}*/

    /*.navigation ul li a:hover,*/
    /*.navigation ul li a:focus,*/
    /*.navigation ul li a.active,*/
    /*.navigation ul li a.active:hover {*/
        /*color: #787878;*/
    /*}*/


    .main-container{
        transition: -webkit-transform .2s cubic-bezier(.4,0,.2,1);
        transition: transform .2s cubic-bezier(.4,0,.2,1);
        transition: transform .2s cubic-bezier(.4,0,.2,1),
        -webkit-transform .2s cubic-bezier(.4,0,.2,1);
    }

    .main-container.navActive{
        -webkit-transform: translate3d(-250px,0,0);
        -ms-transform: translate3d(-250px,0,0);
        transform: translate3d(-250px,0,0);
        position: fixed;
    }

    .navigation {
        position: fixed;
        top: 0;
        right: -319px;
        visibility: hidden;
        display: block;
        margin: 0;
        width: 250px!important;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        float: none;
        transition: visibility 0s linear .15s;
        overflow: hidden;
        background: #f5f5f5;
        z-index: -1;
    }

    .navigation.active {
        visibility:visible;
        transition:visibility 0s linear 0s;
        overflow: scroll;
    }

    .navigation ul {
        position:relative;
        height:auto;
        width:100%;
        margin: auto;
    }

    .navigation > ul > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .navigation > ul > li:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.5);
    }

    .navigation ul li,.navigation ul li a {
        width: 100%;
        display: block;
        float: none;
        margin: 0;
    }

    .navigation > ul > li > a {
        position: relative;
        width: 100%;
        display: block;
        color: #4d4d4d;
        float: none;
        box-sizing: border-box;
        margin: 0;
        padding: 12px 20px;
        font-size: 16px;
        line-height: 24px;
        text-align: left;
    }

    .navigation ul li a:hover {
        border: none;
    }

    .subnavOpen {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        font-size: 24px;
        text-align: right;
        padding-right: 5%;
    }

    .subnavOpen,
    .subnavOpen span {
        display: block;
        height: 100%;
        line-height: 48px;
    }

    .subnavOpen span {
        width: 100%;
        transition: .2s ease-out;
    }

    .subnavOpen.active {

    }

    .subnavOpen.active span {
        -webkit-transform: rotateX(180deg);
        transform: rotateX(180deg);
    }

    .subnavMask {
        position: relative;
        height: 0;
        overflow: hidden;
        transition: .3s ease-in-out;
    }


    #navigation > ul > li .subNav {
        position: relative;
        width: 100%;
        opacity: 1;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        visibility: visible;
        box-shadow: none;
        background: #fff;
    }

    .navActive #search{
        display: none;
    }
}

@media (max-width: 480px) {

}

/*  General Content Styles
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.overlay{
    background-color: rgba(0, 0, 0, 0.34);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}


#content .cb-body img {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-justify {
    text-align: justify !important;
}

/*  Buttons
   ========================================================================== */

a.button, a.button::after {
    display: inline-block;
    transition: .2s ease-out;
}

a.button {
    position: relative;
    display: inline-block;
    padding: 8px 0 8px 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    transition: .5s cubic-bezier(0.4, 0.0, 0.2, 1);
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    border-bottom: 2px solid #fff;
}

a.button:after {
    font-family: 'social-icons' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    content: "\e903";
    margin-left: 2px;
    font-size: 20px;
    vertical-align: -2px;

    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

a.button:hover::after {
    -webkit-transform: translateX(4px);
    -ms-transform: translateX(4px);
    transform: translateX(4px);
}

a.button:hover,
a.button:focus {
}

a.button.white{
    background-color: #f8f3ed;
    color: #63737a;
}

a.button.white:hover,
a.button.white:focus {
    background-color: #beb9b3;
}

/*  Footer
   ========================================================================== */

footer.wide {
    background: #575650;
    overflow: hidden;
    text-align: center;
}

#bottom {
    background: #393830;
    overflow: hidden;
    padding: 7em 0 3em;
}

.footer-row {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-flow: row nowrap;
    -webkit-flex-flow: row nowrap;
    flex-flow: row;
    -ms-flex-pack: justify;
    -webkit-justify-content: center;
    justify-content: center;
    text-align: center;
    margin-top: 35px;
}

.footer-header{
    color: #fff;
    font-size: 18px;
    text-align: center;
}

.footer-header div{
    padding: 0 10px;
    border-right: 1px solid #fff;
}

.footer-header div:last-of-type{
    border-right: 0 none;
}

.footer-col p {
    margin: .3em 0;
}

.footer-col a, .footer-col a:visited, .footer-col p {
    color: #ffffff;
    font-size: 15px;
    transition: color .15s ease-out;
}

.footer-col a:active, .footer-col a:focus, .footer-col a:hover {
    color: #63747b;
}

.footer-col ul{
    padding: 0;
    list-style: none;
    margin: 0 0 10px 0;
}

.footer-col li{
    padding: 2px 0;
}


.footer-col li a{
    font-weight: 300;
    text-decoration: none;
    font-size: 13px;
}

.footer-col li:first-child a,
.footer-col li strong{
    font-weight: 400;
    font-size: 15px;
}

.social-links {
    text-align: center;
    margin: 5px 15px;
}

.social-links a.social {
    display: inline-block;
    margin: 0 17px;
    font-size: 25px;
    color: #bba357;
    vertical-align: middle;
    transition: .2s ease-out;
    text-decoration: none;
}

.social-links a:active, .social-links a:focus, .social-links a:hover {
    color: #917d45;
}

#footer-info {
    background: #282825;
    overflow: hidden;
}

#footer-info .container{
    width: 900px;
}

#search {
    position: relative;
    width: 480px;
    margin: 0 0 25px;
}

#search #input {
    position: relative;
    width: 100%;
    padding: 12px 40px 12px 15px;
    font-size: 16px;
    line-height: 16px;
    color: #393939;
    outline: 0;
    box-sizing: border-box;
}

#search #input, #search_btn {
    margin: 0;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
}

#search_btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 210px;
    background: #bba357;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

#search_btn:hover{
    background: #9c874b;
}

#footer-info .copyright {
    text-align: center;
}

#footer-info .copyright p {
    display: inline-block;
    margin: 23px 15px 20px 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #fff;
    vertical-align: middle;
}

#footer-info .copyright a, #footer-info .copyright a:visited {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {

    #bottom {
        padding: 4em 0;
    }

    .footer-row {
        -ms-flex-flow: column;
        -webkit-flex-flow: column;
        flex-flow: column;
        text-align: center;
        margin-top: 0;
    }

    .footer-col {
        margin: 1em 0;
        font-size: 1.4em;
        line-height: 1.6;
    }

    .footer-header div{
        border-right: 0 none;
        padding: 5px;
    }

    .social-links {
        text-align: center;
    }

    .social-links a.social {
        margin: 0 10px;
    }

    #search {
        width: 90%;
        margin: 0 auto;
    }

    #footer-info .copyright {
        padding: 2em 0;
        float: none;
        text-align: center;
    }

    #footer-info .copyright p {
        display: block;
        margin: 10px auto;
        line-height: 1.8;
    }

    #search_btn{
        width: 110px;
        font-size: 12px;
        line-height: 1.2;
    }

    #search #input{
        font-size: 13px;
    }
}
