/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */

/* Global */
a,
.uk-panel-title a {
  color: inherit;
  text-decoration: none;
}
a:hover,
.uk-panel-title a:hover {
  color: inherit;
  opacity: 0.8;
}

/* Template */
.tm-top-block {
  margin: 15px 0px !important;
}
.tm-top-a {
  margin-top: 0px !important;
}
.tm-intro {
  margin-top: 0px !important;
}
.tm-main-top {
  background: none !important;
  box-shadow: none !important;
}
@media (max-width: 640px) {
  .uk-container {
    padding: 0px !important;
  }
  .tm-container {
    margin: 0px auto !important;
  }
  .tm-top-block {
    margin-top: 0px !important;
  }
  .tm-block-bottom {
    margin-top: 10px;
   }
}
.tm-content .uk-panel-box {
  box-shadow: 0 0 0 1px rgba(98, 68, 73, 0.16), 0 2px 5px rgba(98, 68, 73, 0.09);
}
.tm-block-footer {
  margin-top: 15px;
}
.tm-footer .uk-subnav {
  display: block;
  text-align: center;
}
.tm-footer .uk-subnav > li {
  display: inline-block;
  text-align: center;
  float: none;
}

/* Logo */
.uk-navbar-center {
  max-width: 75%;
}
.tm-logo-small {
  display: inline-block;
  max-width: 90% !important;
  height: 30px !important;
  line-height: 30px !important;
}
.tm-logo-small img {
  max-height: 30px;
}
.tm-logo-small span {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  font-size: 15px;
  letter-spacing: -1px;
  margin-left: 5px;
}


/* Panels */
.uk-panel-title {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.uk-panel-title a {
  color: #584f77;
  text-decoration: none;
}
.uk-panel-title a:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* Social icons */
.tm-social-icons {
  display: inline-block !important;
  margin: 0px 5px 0px 0px !important;
}
.uk-icon-facebook,
.uk-icon-facebook:hover,
.uk-icon-google-plus,
.uk-icon-google-plus:hover,
.uk-icon-pinterest,
.uk-icon-pinerest:hover,
.uk-icon-twitter,
.uk-icon-twitter:hover {
  box-shadow: 0 0 0 1px rgba(98, 68, 73, 0.16), 0 2px 5px rgba(98, 68, 73, 0.09);
  background: #6c6386;
  color: #ffffff;
  width: 33px;
  height: 33px;
  line-height: 33px;
}

/* Search */
.tm-search {
  height: 35px;
  line-height: 35px;
}

/* Breadcrumb */
@media (max-width: 640px) {
  .uk-breadcrumb {
    display: none;
  }
}

/* Article */
.uk-article:nth-child(n+2) {
	margin-top: 15px;
}
.uk-article-title {
  margin-bottom: 0px;
}
.uk-page-title {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Add blocks */
.tm-add-block-home-top .uk-panel,
.tm-add-block-home-bottom .uk-panel,
.tm-add-block-category-top .uk-panel,
.tm-add-block-category-bottom .uk-panel,
.tm-add-block-category-post-1 .uk-panel,
.tm-add-block-category-post-2 .uk-panel,
.tm-add-block-category-post-3 .uk-panel,
.tm-add-block-category-post-4 .uk-panel,
.tm-add-block-category-post-5 .uk-panel,
.tm-add-block-category-post-6 .uk-panel,
.tm-add-block-category-post-7 .uk-panel,
.tm-add-block-category-post-8 .uk-panel,
.tm-add-block-category-post-9 .uk-panel,
.tm-add-block-header .uk-panel,
.tm-add-block-sidebar .uk-panel,
.tm-add-block-footer .uk-panel {
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
}
.tm-add-block-category-bottom,
.tm-add-block-category-post-1,
.tm-add-block-category-post-2,
.tm-add-block-category-post-3,
.tm-add-block-category-post-4,
.tm-add-block-category-post-5,
.tm-add-block-category-post-6,
.tm-add-block-category-post-7,
.tm-add-block-category-post-8,
.tm-add-block-category-post-9,
.tm-add-block-header,
.tm-add-block-sidebar,
.tm-add-block-footer {
  margin: 15px auto !important;
}
@media (max-width: 640px) {
  .tm-add-block-home-top {
    margin-top: 0px !important;
    margin-bottom: 15px !important;
  }
  .tm-add-block-home-bottom {
    margin-top: 15px !important;
    margin-bottom: 0px !important;
  }
  .tm-add-block-header,
  .tm-add-block-footer {
    margin: 10px auto !important;
  }
}

/* Widgetkit */
.wk-slideshow .caption {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 5;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.8);
}
.wk-slideshow .caption h1 {
  color: #393643;
  margin: 0;
}
.wk-slideshow .caption a.uk-button {
  text-decoration: none;
  float: right;
  margin-top: 5px;
}

/* Contact form */
.wpcf7 .uk-button-primary {
  color: #ffffff !important;
}
.wpcf7 .uk-button-primary:focus,
.wpcf7 .uk-button-primary:hover,
.wpcf7 .uk-button-primary:active {
  color: #ffffff !important;
}
.wpcf7-not-valid-tip {
  color: #ffffff !important;
}
.wpcf7-response-output {
  padding: 10px;
  margin: 10px 0 !important;
}
.wpcf7-validation-errors {
  background: #fff1f0 !important;
  border: none !important;
  color: #a72d3a !important;
}
.wpcf7-mail-sent-ok {
  background: #f2fae3 !important;
  border: none !important;
  color: #659f13 !important;
}