/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

body {
    color: #444;
    -webkit-font-smoothing: antialiased;
}

.tm-headerbar {
    margin-top: 0;
    margin-bottom: 0;
    padding: 15px 0;
    border-bottom: 6px solid #d0d0d2;
}

.tm-navbar {
    float: right;
    margin-top: 15px;
    margin-bottom: 0;
    background-color: transparent;
}
.uk-navbar-nav {
    float: right;
}
.uk-navbar-nav > li {
    margin-left: 5px;
}
.uk-navbar-nav > li > a {
    border-radius: 50px;
}
.uk-navbar-nav > li.uk-active > a {
    background-color: transparent;
    font-weight: bold;
}
.uk-navbar-nav > li.uk-active > .tm-homelink {
    color: #bcbdbd;
    font-weight: normal;
}

.uk-navbar-nav > li > .tm-homelink {
    font-size: 0;
    padding: 0 32px 0 16px;
    margin-right: 35px;
    color: #bcbdbd;
}
.uk-navbar-nav > li > .tm-homelink:before  {
    font-family: FontAwesome;
    font-size: 18px;
    display: block;
    position: absolute;
    content: '\f015';
}
.uk-navbar-nav > li > .tm-homelink:after  {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 60px;
    border-right: 1px solid #cccccc;
    content: '';
}

.tm-navbar .uk-subnav {
    float: right;
    clear: right;
    margin-bottom: 0;
    margin-right: 15px;
}
.tm-navbar .uk-subnav > li {
    padding-left: 15px;
}
.tm-navbar .uk-subnav > li > a {
    color: #abacac;
    font-size: 14px;
}
.tm-navbar .uk-subnav > li > a:hover,
.tm-navbar .uk-subnav > li > a:active {
    color: #5c5c5d;
}

.uk-navbar-center {
    max-width: 260px;
}

.tm-search {
    padding: 40px 0;
    background-color: #0e9cca;
    text-align: center;
}
.uk-search {
    width: 50%;
    text-align: center;
    margin-bottom: 20px;
}
.uk-search::before {
    width: 50px;
    line-height: 50px;
    font-size: 20px;
}
.uk-search .uk-search-field,
.uk-search .uk-search-field:focus,
.uk-search.uk-active .uk-search-field {
    background-color: #fff;
    border-radius: 50px;
    width: 100%;
    border: 2px solid #d0d0d2;
    height: 50px;
    padding-left: 45px;
}
.uk-search .uk-search-field:focus,
.uk-search.uk-active .uk-search-field {
    border-color: #888;
}
.uk-dropdown-search {
    width: calc(100% - 40px);
    margin: 0 20px;
}

.tm-search .uk-button {
    color: #fff;
}
.tm-search .uk-button:hover,
.tm-search .uk-button:focus {
    color: #5c5c5d;
}
.tm-search .uk-dropdown {
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 10px;
}

.tm-middle {
    margin-top: 35px;
    margin-bottom: 35px;
}

.tm-full-width {}

.tm-bottom-a-wrap {
    background-color: #f5f5f5;
    padding: 40px 0;
}

.tm-bottom-b-wrap {
    background-color: #0e9cca;
    color: #fff;
    padding: 40px 0;
}
.tm-bottom-b-wrap h3 {
    margin-bottom: 5px;
    color: #fff;
    font-family: inherit;
    font-weight: bold;
    font-size: 20px;
}
.tm-bottom-b-wrap .uk-list {
    margin-top: 5px;
}
.tm-bottom-b-wrap .tm-social-links {
    margin-top: 5px;
}
.tm-bottom-b-wrap .tm-social-links .uk-icon-button {
    background-color: #fff;
    color: #0e9cca;
}
.tm-bottom-b-wrap .tm-social-links .uk-icon-button:hover,
.tm-bottom-b-wrap .tm-social-links .uk-icon-button:active {
    background-color: #efefef;
    color: #0e9cca;
    text-decoration: none;
}
.tm-bottom-b-wrap a {
    color: #fff;
}
.tm-bottom-b-wrap a:hover,
.tm-bottom-b-wrap a:active {
    color: #fff;
    text-decoration: underline;
}

.tm-footer {
    margin-top: 0;
    margin-bottom: 0;
    padding: 30px 0;
    background-color: #037fa7;
    color: #fff;
}
.tm-footer a {
    color: #58d2fa;
}
.tm-footer a:hover,
.tm-footer a:active {
    color: #58d2fa;
}

.tm-footer .uk-subnav > li > a {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}
.tm-footer .uk-subnav > li > a:hover,
.tm-footer .uk-subnav > li > a:active {
    color: #fff;
    text-decoration: underline;
}

/* Testimonials Grid */

.tm-testimonials-grid {
    border: 2px solid #e2e2e2;
    background-color: #fff;
    margin: 40px 0;
}
.tm-testimonials-grid .uk-panel-space {
    padding: 50px;
    text-align: center;
}

/* Homepage Banner */

.homepage-banner {
    background-color: #f8f6fc;
}
.homepage-banner .uk-container {
    position: relative;
}
.homepage-banner__image {
    max-width: none;
    float: right;
}
.homepage-banner__text {
    position: absolute;
    width: 55%;
    right: 0;
    top: 50%;
    transform: translate(0,-50%);
    text-align: center;
}
.homepage-banner__subtext {
    margin-left: 70px;
    margin-right: 70px;
}

@media (max-width: 1219px) {
    .homepage-banner__text {
        width: 65%;
    }
}
@media (max-width: 965px) {
    .homepage-banner {
        padding: 20px 0;
    }
    .homepage-banner__image {
        display: none;
    }
    .homepage-banner__text {
        position: relative;
        width: auto;
        transform: translate(0,0);
    }
    .homepage-banner__subtext {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Uncover Banner */
.uncover-banner {}
.uncover-banner .uk-cover-background {
    min-height: 570px;
    background-image: url(/images/banners/uncover-banner.jpg);
}
.uncover-banner__content {
    color: #fff;
    font-size: 58px;
    line-height: 65px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 100px 130px 80px;
}

/* How It Works Banner */
.howitworks-banner {
    text-align: center;
    color: #fff;
    background: url(/images/banners/how-it-works-banner.jpg) no-repeat center;
    background-size: cover;
    padding: 40px 0;
}
.howitworks-banner h2,
.howitworks-banner h3 {
    color: #fff;
}

.howitworks-banner a {
    color: #fff;
}

/* Zoo Styling */

.category-link {
    display: block;
    padding: 40px;
    font-size: 24px;
    text-align: center;
    color: #fff;
    background-color: #73b744;
}
.category-link:hover,
.category-link:focus {
    color: #fff;
    background-color: #649e3a;
    text-decoration: none;
}

body {
  counter-reset: book;
}

.book-default .title {
    text-align: center;
    margin-bottom: 0;
}

.book-default .pos-title {
    text-align: center;
    color: #9a9a9a;
    font-size: 30px;
}

.book-related {
    border: 5px solid #069dcb;
    padding: 10px 20px 10px 90px;
    margin-bottom: 20px;
    overflow: auto;
    position: relative;
}

.book-related .sub-pos-count:before {
    counter-increment: book;
    content: counter(book);
}
.book-related .sub-pos-count {
    width: 40px;
    height: 60px;
    padding-right: 10px;
    border-right: 3px solid #ccc;
    color: #ccc;
    font-size: 32px;
    line-height: 60px;
    text-align: center;
    position: absolute;
    top: 25px;
    left: 20px;
}

.book-related .sub-pos-media {
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    float: right;
    margin-left: 15px;
    position: relative;
    z-index: 100;
}
.book-related .sub-pos-media img {
    max-height: 300px;
    width: auto;
}

.book-related .sub-pos-title {
    margin-top: 15px;
    margin-bottom: 0;
}

.book-related .sub-pos-meta {
    margin-top: 0;
    font-size: 14px;
}
.book-related .sub-pos-meta > span {
    border-right: 1px solid #ccc;
    padding-right: 5px;
    margin-right: 10px;
}
.book-related .sub-pos-meta > span:last-child {
    border-right: none;
}

.book-related .sub-pos-review {
    padding-bottom: 45px;
}

.book-related .sub-pos-links {
    padding: 5px 10px;
    background-color: #f8f6fc;
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    z-index: 0;
}

.book-related .sub-pos-links-comments a {
    -webkit-appearance: none;
    margin: 0;
    border: none;
    overflow: visible;
    font: inherit;
    text-transform: none;
    display: inline-block;
    box-sizing: border-box;
    padding: 0 12px;
    vertical-align: middle;
    line-height: 30px;
    min-height: 30px;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
}

.book-teaser {
    border: 5px solid #069dcb;
    padding: 10px 20px;
    margin-bottom: 20px;
    overflow: auto;
    position: relative;
}

.book-teaser .sub-pos-media {
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    float: right;
    margin-left: 15px;
    position: relative;
    z-index: 100;
}
.book-teaser .sub-pos-media img {
    max-height: 300px;
    width: auto;
}

.book-teaser .sub-pos-title {
    margin-top: 15px;
    margin-bottom: 0;
}

.book-teaser .sub-pos-meta {
    margin-top: 0;
    font-size: 14px;
}
.book-teaser .sub-pos-meta > span {
    border-right: 1px solid #ccc;
    padding-right: 5px;
    margin-right: 10px;
}
.book-teaser .sub-pos-meta > span:last-child {
    border-right: none;
}

.book-teaser .sub-pos-review {
    padding-bottom: 45px;
}

.book-teaser .sub-pos-links {
    padding: 5px 10px;
    background-color: #f8f6fc;
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    z-index: 0;
}

.book-teaser .sub-pos-links-comments a {
    -webkit-appearance: none;
    margin: 0;
    border: none;
    overflow: visible;
    font: inherit;
    text-transform: none;
    display: inline-block;
    box-sizing: border-box;
    padding: 0 12px;
    vertical-align: middle;
    line-height: 30px;
    min-height: 30px;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
}

.book-full .sub-pos-media {
    float: right;
    margin-left: 30px;
    position: relative;
    z-index: 100;
}
.book-full .sub-pos-media img {
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    max-height: 500px;
    width: auto;
}

.book-full .sub-pos-title {
    margin-top: 15px;
    margin-bottom: 0;
}

.book-full .sub-pos-meta {
    margin-top: 0;
    font-size: 14px;
}
.book-full .sub-pos-meta > span {
    border-right: 1px solid #ccc;
    padding-right: 5px;
    margin-right: 10px;
}
.book-full .sub-pos-meta > span:last-child {
    border-right: none;
}

.book-full .sub-pos-review {
    padding-bottom: 25px;
}

.issue-teaser .pos-content-danny {
    float: left;
}
.issue-teaser .pos-content {
    position: relative;
    display:inline-block;
    max-width: calc(100% - 136px);
    margin-left: 24px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f6fc;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
.issue-teaser .pos-content::before
{
    content: "";
    position: absolute;
    top: 25px;
    left: -14px;
    border-style: solid;
    border-width: 15px 15px 15px 0;
    border-color: transparent #f8f6fc transparent;
    display: block;
    width: 0;
    z-index: 0;
}

.uk-pagination > li > a,
.uk-pagination > li > span {
    padding: 0 18px;
    line-height: 35px;
    min-height: 35px;
    font-size: 0.9rem;
    border-radius: 50px;
}

/* UI Kit Mods & Additions */

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.pagination > li {
    display: inline;
}
.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #444;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-radius: 4px 0 0 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-radius: 0 4px 4px 0;
}
.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    z-index: 2;
    color: #444;
    background-color: #eee;
    border-color: #ddd;
}
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    font-weight: bold;
    background-color: #069dcb;
    border-color: #069dcb;
    cursor: default;
}

em {
    color: inherit;
}

@media (min-width: 768px) {
    .uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) {
        border-left: 1px solid #d0d0d2;
    }
}

.uk-button {
    background-color: transparent;
    color: #8b8b8e;
    padding: 0 18px;
    line-height: 35px;
    min-height: 35px;
    font-size: 0.9rem;
    border: 2px solid #eeeeee;
    border-radius: 50px;
}

.uk-nav-offcanvas .uk-button-primary {
    font-size: 16px;
    text-align: left;
    color: #fff;
}
.uk-navbar-nav > li > .uk-button,
.uk-navbar-nav > .uk-active > .uk-button-primary,
.uk-button-primary {
    background-color: #73b744;
    color: #ffffff;
    font-weight: normal;
    border: none;
}
.uk-navbar-nav > li > .uk-button-primary:hover,
.uk-navbar-nav > li > .uk-button-primary:active,
.uk-navbar-nav > .uk-active > .uk-button-primary:hover,
.uk-navbar-nav > .uk-active > .uk-button-primary:active,
.uk-button-primary:hover,
.uk-button-primary:active {
    background-color: #649e3a;
    color: #fff;
    font-weight: normal;
}

.uk-button-large {
    min-height: 65px;
    padding: 0 60px;
    line-height: 65px;
    font-size: 24px;
}

.uk-panel-box {
    background-color: transparent;
    border: 1px solid #d0d0d2;
}

.text-color1 {
    color: #0e9cca;
}

.uk-form legend:after {
    border-bottom: 1px solid #eee;
}

/* AcyMailing Module */

.acymailing_module .inputbox {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 16px 6px;
}
.acymailing_module .onefield {
    margin: 0;
}
.acymailing_module .subbutton {
    border-radius: 50px;
    padding: 10px 29px;
}
.acymailing_module .acysubbuttons {
    margin: 0;
}