/*
Theme Name: There for You Theme
Template: shapely
Author: CONTENT CONTROL GmbH
Author URI: https://contentcontrol.berlin/
*/

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

hr {
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul, ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul, li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */

#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget {
    margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

/* Make sure embeds and iframes fit their containers. */

embed, iframe, object {
    max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*!
// Contents
// ------------------------------------------------
 1. Global Styles
 5. Sections
 6. Buttons
 7. Nav
 11. Icon Features
 12. Widgets
 18. Blog
 19. Image Blocks
 21. Footer
 22. Spacing
 23. Other
/*!---------- 1. GLOBAL STYLES ----------*/

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 21px;
    overflow-x: hidden;
    font-weight: 400;
}

ul {
    list-style: disc;
}

hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0 0 24px 0;
    width: 100%;
}

.bg-dark hr {
    border-color: #555;
}

.content hr {
    width: 128px;
    max-width: 60%;
    height: 2px;
    background: #ddd;
    margin: 50px auto;
    border: 0;
}

.right {
    right: 0;
}

.relative {
    position: relative;
    z-index: 2;
}

.container {
    position: relative;
}

/*!---------- 5. SECTIONS ----------*/

section {
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

@media all and (max-width: 767px) {
    section {
        padding: 80px 0;
    }
}

/*!---------- 6. BUTTONS ----------*/

.btn, .button {
    font-family: inherit;
    padding: 0 26px;
    min-width: 150px;
    line-height: 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    text-align: center;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    margin-bottom: 24px;
    white-space: normal;
}

.module.widget-handle {
    padding: 0 5px;
    cursor: pointer;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
}

@media all and (max-width: 1100px) {
    .module.widget-handle {
        padding: 0 16px;
    }
}

.module.widget-handle i {
    font-size: 14px;
    line-height: 53px;
    opacity: 1;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    color: #3a52bf;
}

.module.widget-handle:hover i,
.module.widget-handle:focus i {
    opacity: 1;
}

.widget-handle .function {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    cursor: default;
    width: 200px;
    background: #0e1015;
    position: absolute;
    z-index: 99;
    opacity: 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transform: translate3d(0, -200%, 0);
    -webkit-transform: translate3d(0, -200%, 0);
    -moz-transform: translate3d(0, -200%, 0);
    margin-top: -2px;
    right: 0;
}

.module.widget-handle:hover .function,
.module.widget-handle:focus .function,
.module.widget-handle .function.active {
    opacity: 1;
    transform: translate3d(0, 0px, 0);
    -webkit-transform: translate3d(0, 0px, 0);
    -moz-transform: translate3d(0, 0px, 0);
    visibility: visible;
}

.module.widget-handle .title {
    font-family: inherit;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    display: none;
    opacity: .5;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
}

.module.widget-handle .title:hover,
.module.widget-handle .title:focus {
    opacity: 1;
}

/* Search bar */

.search-form {
    display: inline-block;
    width: 100%;
}

.widget-handle .search-form input[type="text"] {
    font-size: 16px;
}

.search-widget-handle button.searchsubmit {
    min-width: 17%;
    padding: 0;
    line-height: 48px;
    margin: -2px 0 0 8px;
}

.search-widget-handle button.searchsubmit .screen-reader-text {
    position: relative !important;
    width: auto;;
    height: auto;
    clip: initial;
    clip-path: none;
    -webkit-clip-path: none;
}

/*Search Page */

.search #primary {
    padding-top: 0
}

/* Widget Menu */
.widget_nav_menu .sub-menu,
.widget.widget_pages ul.children {
    border-top: 1px solid #ebebeb;
    padding-top: 20px;
    margin-top: 20px;
}


@media all and (max-width: 991px) {
    .module.widget-handle {
        border-left: none;
        line-height: 40px;
        min-height: 40px;
    }

    .module.widget-handle i {
        line-height: 40px;
    }

    .module.widget-handle .title {
        display: inline-block;
        position: relative;
        bottom: 3px;
        margin-left: 8px;
    }

    .widget-handle .function {
        width: 100%;
        max-width: 300px;
        position: relative;
        opacity: 1;
        transform: translate3d(0, 0px, 0);
        -webkit-transform: translate3d(0, 0px, 0);
        -moz-transform: translate3d(0, 0px, 0);
        visibility: visible;
        margin-top: 0;
        display: none;
        box-shadow: none !important;
    }

    .toggle-search .function {
        display: block;
    }

    .search-widget-handle .search {
        padding: 0 15px;
    }

    .mobile-toggle {
        border: none;
        background: transparent;
    }

    .mobile-toggle i {
        line-height: 53px !important;
    }

    #site-navigation .container > .flex-row {
        flex-wrap: wrap;
    }

    .navbar-collapse {
        margin-top: 20px;
    }
}

/*!---------- 11. ICON FEATURES ----------*/

.page-title {
    padding: 0;
}

/*!---------- 12. WIDGETS ----------*/

.main-container .nolist > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget {
    margin-bottom: 0;
}

.widget hr {
    margin-bottom: 12px;
}


/*!---------- 18. BLOG ----------*/

video:-webkit-full-screen, audio:-webkit-full-screen {
    -webkit-transform: translateY(0%);
}

iframe {
    border: none;
}

.content p.intro {
    padding-bottom: 20px;
    border-bottom: 3px double #ddd;
    margin-bottom: 20px;
    font-size: 1.2em;
    line-height: 155%;
    font-weight: 700;
    color: #745cf9;
}

.content blockquote {
    padding: 30px 30px 30px 90px;
    background: #fafafa;
    border: 1px solid #eee;
    position: relative;
    font-style: italic;
}

.content q {
    background: #fafafa;
    font-style: italic;
}

.content blockquote cite {
    display: block;
    margin-top: 1.1em;
    font-size: 0.75em;
    line-height: 120%;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content blockquote cite:before {
    content: "— ";
}

.content ul, .content ol {
    margin-left: 1.5em;
}

.content ul {
    list-style: disc;
}

.content ul ul {
    list-style: circle;
}

.content ol {
    list-style: decimal;
}

.content ol ol {
    list-style: lower-alpha;
}

.content ul ul, .content ul ol, .content ol ul, .content ol ol {
    margin-bottom: 0;
}

.content li {
    margin-bottom: 0.5em;
    line-height: 170%;
}

.content ol > li:last-child, .content ul > li:last-child {
    margin-bottom: 0;
}

.content ol > li:first-child, .content ul > li:first-child {
    margin-top: 0.5em;
}

/* WordPress Tables */

.content table {
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    font-size: 0.9em;
    width: 100%;
    margin-bottom: 1.1em;
}

.content th, .content td {
    padding: 2%;
    margin: 0;
    overflow: visible;
    line-height: 120%;
    border-bottom: 1px solid #ddd;
}

.content th {
    padding-top: 0;
}

.content th {
    font-weight: bold;
    color: #111;
}

.content table tbody > tr:nth-child(odd) > td {
    background: #f9f9f9;
}

.page-title {
    margin-bottom: 0 !important;
}

/*!---------- 22. SPACING ----------*/

.mb24 {
    margin-bottom: 24px;
}

/*
* Content
*/
.post-content {
    margin-bottom: 20px; }

.post-content .entry-header {
    position: relative; }

.post-content .entry-header img {
    width: 100%; }

.post-content .entry-content .post-title {
    font-size: 30px;
    line-height: 35px;
    margin-top: 25px;
    margin-bottom: 10px; }

.post-content .entry-content .post-title a {
    font-weight: 300;
    color: #001c28; }

.widget .text-center .img-responsive {
    margin-left: auto;
    margin-right: auto;
}
