/* ==================================== General ==================================== */

html {
   background: #12193c;
}

body {
   font-family:'Goudy W01';
   font-size: 16px;
   line-height: 22px;
   font-weight: 200;
   padding-top: 117px;
}

.uk-container {
   max-width: 1650px;
}

h1, h2, h3, h4, h5, h6 {
   font-family: "Arial Black",arial,sans-serif;
   font-weight: 900;
   color: #12193c;
}

.uk-panel-title {
    border-bottom: 5px solid #12193c;
    font-family: "Arial Black",arial,sans-serif;
    font-size: 26px;
    font-weight: 900;
    padding-bottom: 15px;
    color: #12193c;
}

.uk-article-title {
    font-family: "Arial Black",arial,sans-serif;
    font-weight: 900;
    color: #12193c;
    border-bottom: 5px solid #12193c;
}

em {
   color: #444
}

a {
    color: #6874b3;
}
a:hover, a:active, a:focus {
    color: #515b8d;
}

/* ==================================== Logo ==================================== */

.tm-headerbar {
   margin-top: 25px;
   margin-bottom: 25px !important;
}

.tm-logo p {
  margin: 0px;
}
.tm-logo-small > * {
    display: inline-block;
}
/* ==================================== Nav ==================================== */

.nav-wrapper {
   background: #ebebeb;
   border-bottom: 2px solid #c8c8c8;
   box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
   position: fixed;
   width: 100%;
   z-index: 10;
   top: 0;
   left: 0;
   right: 0;
}

.tm-navbar {
   margin-top: 35px;
   margin-bottom: 35px !important;
}

.uk-navbar {
   background: none;
}

.uk-navbar-nav {
   float: right;
}

.uk-navbar-nav > li > a {
   text-transform: uppercase;
   font-family:'Goudy W01';
   font-size: 16px;
   font-weight: 200;
   border-top: 3px solid transparent;
}

.uk-navbar-nav > li:hover > a, .uk-navbar-nav > li > a:focus, .uk-navbar-nav > li.uk-open > a {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border-top: 3px solid #323856;
}

.uk-navbar-nav > li.uk-active > a {
  background-color: rgba(0, 0, 0, 0.07);
  color: #444444;
}

.uk-navbar-nav > li:last-child > a {
  background: rgba(50, 56, 86, 1);
  border: 3px solid #fff;
  color: #fff;
  outline: medium none;
}

.uk-navbar-nav > li:last-child:hover > a, .uk-navbar-nav > li:last-child > a:focus, .uk-navbar-nav > li:last-child.uk-open > a {
     background: rgba(50, 56, 86, 0.85);
}
.uk-dropdown.uk-dropdown-navbar a:hover, .uk-dropdown.uk-dropdown-navbar a:focus, .uk-dropdown.uk-dropdown-navbar a:active {
    background-color: #12193c;
}
/* ==================================== Justified Nav ==================================== */

.uk-navbar-nav {
   -ms-flex-wrap:wrap;
   -webkit-flex-wrap:wrap;
   display:-ms-flexbox;
   display:-webkit-box;
   display:-webkit-flex;
   display:flex;
   flex-wrap:wrap;
   list-style:none;
   margin:0;
   padding:0;
   position:relative;
   width: 100%;
}

.uk-navbar-nav > li > a {
   -ms-flex-align:center;
   -ms-flex-pack:center;
   -webkit-align-items:center;
   -webkit-box-align:center;
   -webkit-box-pack:center;
   -webkit-justify-content:center;
   align-items:center;
   display:-ms-flexbox;
   display:-webkit-box;
   display:-webkit-flex;
   display:flex;
   justify-content:center;
   text-decoration:none;
}

.uk-navbar-nav > li {
   -ms-flex:1 1 auto;
   -webkit-box-flex:1;
   -webkit-flex:1 1 auto;
   flex:1 1 auto;
   position:relative;
}

/* ==================================== Offcanvas ==================================== */

.uk-offcanvas-bar {
    background-color: #323856;
    border-right: 2px solid #c8c8c8;
}

.uk-offcanvas-bar .uk-panel {
    background-color: #fff;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}
.uk-offcanvas-bar .uk-panel:last-child {
    background-color: transparent;
}
.uk-offcanvas-bar .uk-panel p, .uk-offcanvas-bar .uk-panel a:not([class]) {
    color: #fff;
}

.uk-offcanvas {
    background: rgba(0, 0, 0, 0.45) none repeat scroll 0 0;
}

.uk-nav-offcanvas > li > a {
    color: #fff;
    font-family: "Arial Black",sans-serif;
}
.uk-nav-offcanvas > .uk-open > a, html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover, html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus {
    background-color: #12141f;
    color: #fff;
}
html .uk-nav.uk-nav-offcanvas > li.uk-active > a {
    background-color: #6874b3;
}
html .uk-nav.uk-nav-offcanvas > li.uk-active > a:hover, html .uk-nav.uk-nav-offcanvas > li.uk-active > a:active, html .uk-nav.uk-nav-offcanvas > li.uk-active > a:focus {
    background-color: #12141f;
}
ul.uk-nav-sub {
    padding: 0;
}
.uk-nav-sub > li {
    padding: 0;
}
.uk-nav-sub > li > a {
    padding: 5px 0 5px 30px;
}
.uk-nav-sub > li > a:hover, .uk-nav-sub > li > a:focus, .uk-nav-sub > li > a:active {
    background-color: #212538;
}
/* ==================================== Banner ==================================== */

.banner-wrapper {
   border-bottom: 2px solid #c8c8c8;
}

.home .banner-wrapper .background-image .content {
   padding: 15% 0;
   text-align: center;
   background: rgba(0,0,0,0.4);
}

.offpage .banner-wrapper .background-image .content {
   padding: 6% 0;
   text-align: center;
   background: rgba(50,56,86,0.4);
}

.banner-wrapper .background-image .content h1 {
   border-bottom: 3px solid #ebebeb;
   padding-bottom: 10px;
}

.banner-wrapper .background-image .content a, .banner-wrapper .background-image .content .uk-container > * {
  color: #ebebeb;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.banner-wrapper .content .uk-container h3 a {
  font-family: "Goudy W01";
  font-weight: 200;
}
.wk-slideshow img {
    width: 100% !important;
}
.home .wk-slideshow .caption {
    position: static;
    transform: translateY(0);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.wk-slideshow .caption h1, .wk-slideshow .caption h3 {
  color: #fff;
}

.wk-slideshow .caption a {
  font-family: 'Goudy W01';
}


/* ==================================== Home ==================================== */

.home .content-wrapper {
   display: none;
}

.offpage .content-wrapper {
  padding: 35px 0;
  background: #FFF;
}

/* ==================================== Home Callouts ==================================== */

.tm-home-callouts.uk-grid {
   margin-left: 0;
}

.tm-home-callouts.uk-grid > * {
   padding-left: 0;
}

.tm-home-callouts .uk-panel {
   padding: 0;
   background: none;
}

.tm-home-callouts .background-image .content {
   padding: 25% 0;
   text-align: center;
   background: rgba(0,0,0,0.4);
}

.tm-home-callouts .background-image .content:hover, .tm-home-callouts .background-image .content:focus {
  background: rgba(0, 0, 0, 0.2) none repeat scroll 0 0;
}

.tm-home-callouts .background-image .content h3 {
   border-bottom: 3px solid #ebebeb;
   padding-bottom: 10px;
}

.tm-home-callouts .background-image .content a, .tm-home-callouts .background-image .content .uk-container > * {
   color: #ebebeb;
   text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

/* ==================================== Content ==================================== */

.uk-panel.uk-panel-box.widget_custom_post_widget {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
}

.tm-sidebar-b .uk-panel {
   padding: 0;
   background: none;
}
.tm-main, .tm-sidebar-b {
    width: 100%;
}
/* ==================================== Footer ==================================== */

.footer-wrapper {
   border-top: 2px solid #c8c8c8;
}

.tm-footer {
   text-align: left;
}

.tm-footer, .tm-footer a, .tm-footer h4, .copyright {
   color: #ebebeb;
}

.tm-footer h4 {
   border-bottom: 3px solid #ebebeb;
   padding-bottom: 10px;
}

.tm-footer .facebook:before {
   content: "";
   font-family: FontAwesome;
   width: 22px;
   margin-right: 10px;
   font-size: 25px;
   display: inline-block;
}

.tm-footer .instagram:before {
   content: "";
   font-family: FontAwesome;
   width: 22px;
   margin-right: 10px;
   font-size: 25px;
   display: inline-block;
}

.tm-footer .houzz:before {
   content: "";
   font-family: FontAwesome;
   width: 22px;
   margin-right: 10px;
   font-size: 25px;
   display: inline-block;
}
.wk-gallery.wk-gallery-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
/********* SITE BY TG ******/
#credits {width:100%; margin:0 auto;}
#siteby {float:left; margin-top: 20px;}
#siteby .sitebyTG {width:52px; height:72px; background:url("/wp-content/uploads/footerbadgesprite.png") no-repeat 0 0 transparent; display:block; position:relative;}
#siteby .sitebyTG:hover {background:url("/wp-content/uploads/footerbadgesprite.png") no-repeat 0 -73px transparent;}

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

@media (min-width: 768px) {
   .tm-footer .uk-panel + .uk-panel {
      margin-top: 0;
   }
}

@media (max-width: 1220px) {
   .uk-navbar-nav > li > a {
     font-size: 14px;
     padding: 0 8px;
   }
}

@media (max-width: 960px) {
   .nav-wrapper .uk-container {
      padding: 0;
   }
   .nav-wrapper .nav {
      width: 100%;
   }
   .tm-navbar {
      margin: 0 auto;
      margin-bottom: 0 !important;
   }
   body {
      padding-top: 47px;
   }
}

@media (max-width: 767px) {
   .tm-home-callouts .uk-grid-margin {
      margin-top: 0;
   }
   .caption h1 {
     font-size: 32px;
   }
   .caption h3 a {
     font-size: 24px;
   }
}

@media (max-width: 462px) {
  .caption h1 {
    font-size: 24px;
  }
  .caption h3 a {
    font-size: 18px;
  }
}

@media (max-width: 385px) {
  .caption h1 {
    line-height: 24px;
    padding-bottom: 10px;
    margin-bottom: 0px;
  }
  .caption h3 a {
    line-height: 18px;
    padding: 5px;
  }
  .caption h3 {
    margin-top: 5px;
    margin-bottom: 5px;
  }
}
@media screen and (min-width: 768px) {
.home .wk-slideshow .caption {
    position: absolute;
}
.tm-home-callouts .background-image .content .uk-container > h3 {
    font-size: 20px;
}
}
@media screen and (min-width: 960px) {   
.tm-main {
    width: 66.66666%;
} 
.tm-sidebar-b {
    width: 33.33333%;
}
}
@media screen and (min-width: 1220px) {
.tm-home-callouts .background-image .content .uk-container > h3 {
    font-size: 24px;
}
.wk-gallery.wk-gallery-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
}