/*
Theme Name: AG-Reha (WS)
Theme URI: https://winning-solutions.de/
Author: Winning Solutions
Author URI: https://winning-solutions.de
Description:  Eigens programmiertes Theme mit gleichem Design der vorherigen Drupal-7-Site.
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ws
Tags: one-page, custom-menu, featured-images, custom-background, theme-options, full-width-template
*/

/* html { font-size: 26px; } */
@media screen and (min-width:1921px) { html { font-size: 18px; } }
@media screen and (max-width:1920px) { html { font-size: 16px; } }
/*  base colors */
body {
    --text: #212121; /*rgba(0, 0, 0, 0.87);*/
    --light_text: rgba(0, 0, 0, 0.4);
    --heading: #000;
    --brand: #4bb5c2;
    --brand2: #066C9C;
    --light-brand: #96C8DA;
    --green1: #21BA45;
    --green2: #16ab39;
    --grey1: #E0E1E2;
    --grey2: #CACBCD;
    --link: #4183C4;
    --link_hover: #1e70bf;
    --border: #D4D4D5;

}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-smooth: never;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

a {
  background-color: transparent;
  color: var(--link);
  text-decoration: none;
  cursor: pointer;
  transition: color .5s
}
a:active,
a:hover {
  outline: 0;
  text-decoration:none;
  color:var(--link_hover);
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}


button[disabled],
html input[disabled] {
  cursor: default;
}

input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

fieldset {
  border: 1px solid var(--border);
  margin: 0 2px;
  padding: 0.75rem 0.625rem 0.75rem;
}

legend {
  border: 0;
}

optgroup {
  font-weight: 400;
}


td,
th {
  padding: 0;
}
strong, b, dt {
	/* font-weight:bolder; */
    font-weight: 600;
}

code {
    font-family: inherit;
    font-weight: 500;
}
/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/

@font-face {
    font-family: 'Lato';
    src: local('Lato Regular'), local('Lato-Regular'),
    src: url('inc/assets/fonts/Lato_regular.woff2') format('woff2'),
         url('inc/assets/fonts/Lato_regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: local('Lato Bold'), local('Lato-Bold'),
    src: url('inc/assets/fonts/Lato_700.woff2') format('woff2'),
         url('inc/assets/fonts/Lato_700.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: local('Lato Italic'), local('Lato-Italic'),
        url('inc/assets/fonts/subset-Lato-Italic.woff2') format('woff2'),
        url('inc/assets/fonts/subset-Lato-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: local('Lato Bold Italic'), local('Lato-BoldItalic'),
        url('inc/assets/fonts/subset-Lato-BoldItalic.woff2') format('woff2'),
        url('inc/assets/fonts/subset-Lato-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h6, .h5 {
    font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    line-height: 1.2857;
    clear: both;
    margin: 0;
    /* margin-bottom: 1.5rem; */
}
h1, h2, h3, .h1, .h2, .h3 {
    color: var(--brand2);
}
h4, h5, h6, .h4, .h6, .h5 {
    color: var(--text);
}
h1,.h1 {
    line-height: 1;
    margin-bottom: 2.5rem;
}
h1:not(#page-title) {
    margin-top: 2.5rem;
}
h2, .h2 {
    line-height: 1.3;
    margin: .5rem 0;
}
h3, .h3 {
}

h4, .h4 {
    line-height: 1.30;
}
h5, .h5 {
    line-height: 1.4;
}
h6, .entry-content h6, .entry-content h6 a,.h6 {
    line-height: 1.4;
}

@media (min-width: 320px) and (max-width:1199px) {
    h1,.h1 {
        font-size: clamp(1.35rem, calc(1.35rem + (.15rem * ((100vw - 320px) / 1280px))), 1.5rem);
    }
    h2, .h2 {
        font-size: clamp(1.5rem, calc(1.5rem + (.4rem * ((100vw - 320px) / 1280px))), 1.9rem);
    }
    h3, .h3 {
        font-size: clamp(1.15rem, calc(1.15rem + (.05rem * ((100vw - 320px) / 1280px))), 1.2rem);
    }
    h4, .h4 {
        font-size: clamp(1.055rem, calc(1.055rem + (0.015rem * ((100vw - 320px) / 1280px))), 1.071rem);
    }
    h5, .h5, h6, .entry-content h6, .entry-content h6 a,.h6 {
        font-size: 1rem;
    }

    .pt-large {
        padding-top: clamp(3rem, calc(3rem + (3rem * ((100vw - 320px) / 1280px))), 6rem);
    }
    .pb-large {
        padding-bottom: clamp(3rem, calc(3rem + (3rem * ((100vw - 320px) / 1280px))), 6rem);
    }
    .pt-medium {
        padding-top: clamp(1.5rem, calc(1.5rem + (2.5rem * ((100vw - 320px) / 1280px))), 4rem);
    }
    .pb-medium {
        padding-bottom: clamp(1.5rem, calc(1.5rem + (2.5rem * ((100vw - 320px) / 1280px))), 4rem);
    }
    .mt-medium {
        margin-top: clamp(1.5rem, calc(1.5rem + (2.5rem * ((100vw - 320px) / 1280px))), 4rem);
    }
    .mb-medium {
        margin-bottom: clamp(1.5rem, calc(1.5rem + (2.5rem * ((100vw - 320px) / 1280px))), 4rem);
    }
    .mb-small {
        margin-bottom: clamp(1.25rem, calc(1.25rem + (.75rem * ((100vw - 320px) / 1280px))), 2.5rem);
    }
    .mt-small {
        margin-top: clamp(1.25rem, calc(1.25rem + (.75rem * ((100vw - 320px) / 1280px))), 2.5rem);
    }
    .pt-small {
        padding-top: clamp(1.75rem, calc(1.75rem + (1.25rem * ((100vw - 320px) / 1280px))), 3rem);
    }
    .pb-small {
        padding-bottom: clamp(1.75rem, calc(1.75rem + (1.25rem * ((100vw - 320px) / 1280px))), 3rem);
    }
    .mb-xsmall, .wpb-content-wrapper .vc_row {
        margin-bottom: clamp(1rem, calc(1rem + (1rem * ((100vw - 320px) / 1280px))), 2rem);
    }
    .mt-xsmall, .wpb-content-wrapper .vc_row {
        margin-top: clamp(1rem, calc(1rem + (1rem * ((100vw - 320px) / 1280px))), 2rem);
    }
    .pl-large {
        padding-left: clamp(1.5rem, calc(1.5rem + (2.5rem * ((100vw - 320px) / 1280px))), 4rem);
    }
    .pr-large {
        padding-right: clamp(1.5rem, calc(1.5rem + (2.5rem * ((100vw - 320px) / 1280px))), 4rem);
    }
    /* h1:not(:first-child),.h1:not(:first-child), h2:not(:first-child), .h2:not(:first-child),
    h3:not(:first-child), .h3:not(:first-child), h4:not(:first-child), .h4:not(:first-child) {
        margin-top: clamp(1.75rem, calc(.75rem + (.75rem * ((100vw - 320px) / 1280px))), 2.5rem);
    }
    h5:not(:first-child), .h5:not(:first-child), h6:not(:first-child), .h6:not(:first-child) {
        margin-top: clamp(1.5rem, calc(1.5rem + (.75rem * ((100vw - 320px) / 1280px))), 2.25rem);
    } */

}

@media (min-width: 1200px) {
    h1,.h1 {
        font-size: 1.5rem;
    }
    h2, .h2 {
        font-size: 1.9rem;
    }
    h3, .h3 {
        font-size: 1.2rem;
    }
    h4, .h4 {
        font-size: 1.071rem;
    }
    h5, .h5 {
        font-size: 1rem;
    }
    h6, .entry-content h6, .entry-content h6 a,.h6 {
        font-size: 1rem;
    }
    .pt-large {
        padding-top: 6rem
    }
    .pb-large {
        padding-bottom: 6rem
    }
    .pt-medium {
        padding-top: 4rem
    }
    .pb-medium {
        padding-bottom: 4rem
    }
    .mt-medium {
        margin-top: 4rem;
    }
    .mb-medium {
        margin-bottom: 4rem;
    }
    .pt-small {
        padding-top: 3rem
    }
    .pb-small {
        padding-bottom: 3rem
    }
    .mt-small {
        margin-top: 2.5rem;
    }
    .mb-small {
        margin-bottom: 2.5rem
    }
    .mb-xsmall, .wpb-content-wrapper .vc_row {
        margin-bottom: 2rem
    }
    .mt-xsmall, .wpb-content-wrapper .vc_row {
        margin-top: 2rem
    }
    .pl-large {
        padding-left: 5rem
    }
    .pr-large {
        padding-right: 5rem
    }
    /* h1:not(:first-child),.h1:not(:first-child), h2:not(:first-child), .h2:not(:first-child),
    h3:not(:first-child), .h3:not(:first-child), h4:not(:first-child), .h4:not(:first-child) {
        margin-top: 2.5rem
    }
    h5:not(:first-child), .h5:not(:first-child), h6:not(:first-child), .h6:not(:first-child) {
        margin-top: 2.25rem
    } */

}
.ws-single-with-toc .wpb-content-wrapper > .vc_row:first-child {
    margin-top: 0
}

.body-text,
.body-font-size {
    font-size: 1rem;
}
p {
    margin-bottom: 1.5rem
}
/**/

.width-768 {
    width: 768px;
    max-width: 100%;
    margin-left:auto;
    margin-right: auto;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
    font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4285;
    color: var(--text);
    overflow-x: hidden;
    background-color: #fff;
}
.container {
    margin-left: auto !important;
    margin-right: auto !important;
}
.container {
    padding-left: 15px;
    padding-right: 15px;
}
.brand-color {
    color:var(--brand2)
}
img {
  height: auto;
  max-width: 100%;
}

figure {
  margin-top: 1rem;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch",Courier,monospace;
    margin-bottom: 1.6em;
    overflow: auto;
    max-width: 100%;
    padding: 1.6em;
}

ul, ol {
    margin: 0 0 1.5rem 2.5rem;
    padding: 0;
}

#content ul ul {
    padding-top:18px;
    padding-left: 30px;
    margin-bottom:0
}
#content ul li:last-child {
    padding-bottom: 0
}

ol {
    list-style-type: decimal;
    list-style-position: inside;
}
ol li ol {
    padding: 2px 0 2px 1.5rem;
}
ol li {
    margin-bottom: .25rem;
	padding-left: 0;
}

a.button, .button, input[type="submit"] {
    display: inline-flex!important;
    justify-content: center;
    align-items: center;
    padding: 0.925rem 1.25rem;
    background-color: var(--brand);
    border: 1px solid var(--brand);
    border-radius: .25rem;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1!important;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all .5s;
    box-shadow: 0px 0em 0px 0px rgba(34, 36, 38, 0.15) inset;
}
.button.width100 {
    width: 100%
}
.button.small-button {
    padding: 0.575rem 1rem;
    font-size: .875rem;
}
a.button:hover, .button:hover, input[type="submit"]:hover {
    background-color: var(--brand2);
    border-color: var(--brand2);
    color: #fff;
    text-decoration: none;
}

a.button.darkbrand-button , .button.darkbrand-button {
    background: var(--brand2)!important;
    border-color: var(--brand2)!important;
    color: #fff!important;
}
a.button.darkbrand-button:hover, .button.darkbrand-button:hover,
a.button.darkbrand-button:focus, .button.darkbrand-button:focus {
    background: #04608c!important;
    color: #fff!important;
}

a.button.green-button , .button.green-button {
    background: var(--green1)!important;
    border-color: var(--green1)!important;
    color: #fff!important;
}
a.button.green-button:hover, .button.green-button:hover,
a.button.green-button:focus, .button.green-button:focus {
    background: var(--green2)!important;
}

a.button.gray-button , .button.gray-button {
    background: var(--grey1)!important;
    border-color: var(--grey1)!important;
    color: rgba(0,0,0,0.6)!important;
}
a.button.gray-button:hover, .button.gray-button:hover,
a.button.gray-button:focus, .button.gray-button:focus {
    background: var(--grey2)!important;
    color: rgba(0,0,0,0.8)!important;
}
a.button.red-button , .button.red-button {
    background: #DB2828!important;
    border-color: #DB2828!important;
    color: #fff!important;
}
a.button.red-button:hover, .button.red-button:hover,
a.button.red-button:focus, .button.red-button:focus {
    background: #b21e1e!important;
    color: #fff!important;
}
.button i {
    vertical-align: text-bottom;
    position: absolute;
    height: 100%;
    line-height: 1;
    border-radius: 0;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.57rem;
    background-color: rgba(0, 0, 0, 0.05);
    box-shadow: -1px 0px 0px 0px transparent inset;
}

.button.left-iconposition {
    padding-left: 4rem;
    padding-right: 1.5rem
}
.button.small-button.left-iconposition {
    padding-left: 3.5rem;
    padding-right: 1rem;
}
.button.left-iconposition i {
    left: 0;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}
.button.right-iconposition {
    padding-right: 4rem;
    padding-left: 1.5rem;
}
.button.small-button.right-iconposition {
    padding-right: 3.5rem;
    padding-left: 1rem;
}
.button.right-iconposition i {
    right: 0;
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
}
button:focus {
    outline: none;
}
.button.align-center {
    display: table!important;
    margin-left: auto!important;
    margin-right: auto!important;
}
.back-button {
    font-size: .875rem;
    font-weight: 600;
    color: var(--dark-grey);
    display: inline-flex;
    align-items: center;
    padding: .25rem 0;
    margin-left: .25rem;
    transition: margin-left .3s
}
.back-button svg {
    margin-right: .75rem;
    margin-left: -.25rem;
    transition: margin-right .3s
}
.back-button:hover {
    margin-left: 0;
}
.back-button:hover svg {
    margin-right: 1rem;
}
.nowrap {
    white-space:nowrap;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
#page {
    z-index: 1;
    position: relative;
    padding-top: 8.25rem;
}
#page #main .main-container > *:first-child {
    margin-top:2.5rem
}
@media (min-width: 1200px) {
    #page {
        padding-top: 5.125rem;
    }
}
@media (max-width: 1199px) {
    #page {
        padding-top: 5rem;
    }
}
@media (max-width:767px) {
    #page #main .main-container > div:first-child:not(.page-hero-block) {
        margin-top:2rem
    }
}
/* .page-template-page-home #page {
    padding-top: 4rem;
} */
a.page-scroller {
  color: #333;
  font-size: 2.6rem;
  display: inline-block;
  margin-top: 2rem;
}

#content {
    position: relative;
    z-index: 1;
    background: url(inc/assets/images/ag_content_bg.jpg) no-repeat right top;
    min-height: 80vh;
}
body:not(.single.single-post) #content {
    overflow-x: clip;
}

/**/
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
.comment-content.card-block {
  padding: 20px;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}

/*--------------------------------------------------------------
# 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;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.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: 400;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.text-right {
    text-align: right;
}
.text-center {text-align: center}

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/**/
blockquote {
    padding: 2.25rem 1.25rem;
    margin-bottom: 0;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 400;
    color: var(--dark-grey)
}

.single .wpb_single_image img,
.single img.alignright, .single img.alignleft, .single img.alignnone, .single img.aligncenter {
    border-radius: .75rem
}
img.alignright, .wp-caption.alignright {
  margin: 0 0 1.5rem 1.5rem!important;
}
img.alignleft, .wp-caption.alignleft {
  margin: 0 1.5rem 1.5rem 0!important;
}
img.alignnone, .wp-caption.alignnone,
img.aligncenter, .wp-caption.aligncenter {
  margin: 3rem auto;
}

img.alignright:first-child, .wp-caption.alignright:first-child,
img.alignleft:first-child, .wp-caption.alignleft:first-child,
img.alignnone:first-child, .wp-caption.alignnone:first-child,
img.aligncenter:first-child, .wp-caption.aligncenter:first-child {
  margin-top: 0;
}

@media (max-width: 767px) {
    blockquote {
        padding: 1rem;
    }
    img.alignnone, .wp-caption.alignnone,
    img.aligncenter, .wp-caption.aligncenter {
      margin: 2rem auto;
    }

}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget select {
  max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
  display: none;
}
/* widget menu */
.widget_nav_menu ul {
    padding-left: 0;
    padding-top: 5px;
}
.widget_nav_menu ul li {
    margin-bottom:10px;
    list-style-type: none
}
.widget_nav_menu ul li a {
    font-family: 'Lato',sans-serif;
    font-weight: 400;
    color: var(--brand2);
    padding: 0;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
  margin-top: 0;
}

.posted-on, .byline, .comments-link {
  color: #9a9a9a;
}

.entry-title > a {
  color: inherit;
}
/**/

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comment-body .pull-left {
  padding-right: 0.625rem;
}

.comment-list .comment {
  display: block;
}

.comment-list {
  padding-left: 0;
}

.comments-title {
  font-size: 1.125rem;
}

.comment-list .pingback {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
  border: medium none;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  text-align: center;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}
.wp-caption figcaption, .wpb_single_image .vc_figure-caption {
  font-size: .875rem!important;
  line-height: 1.2;
  color: var(--text);
  margin: .5rem 0 0!important;
  text-align: left;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-item .gallery-columns-2 {
  max-width: 50%;
}
.gallery-item .gallery-columns-3 {
  max-width: 33.33333%;
}
.gallery-item .gallery-columns-4 {
  max-width: 25%;
}
.gallery-item .gallery-columns-5 {
  max-width: 20%;
}
.gallery-item .gallery-columns-6 {
  max-width: 16.66667%;
}
.gallery-item .gallery-columns-7 {
  max-width: 14.28571%;
}
.gallery-item .gallery-columns-8 {
  max-width: 12.5%;
}
.gallery-item .gallery-columns-9 {
  max-width: 11.11111%;
}

.gallery-caption {
  display: block;
}

.entry-meta {
    font-size: 16px;
    color: rgba(0,0,0,0.5);
    margin-top:10px
}
/**/
/*  404 page */
.error-404 {
    display:flex;
    -webkit-flex-direction: column;
    flex-direction:         column;
    align-items: center;
    justify-content: center;
}
.error-404 .page-content {
    text-align: center;

}


/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
@media only screen and (max-width: 574px) {
    * {
        word-break: break-word;
        hyphens: auto;
    }
}
@media only screen and (max-width:767px) {
    #content {
        min-height: calc(100dvh - 340px);
    }
    .container {
        max-width: 100%;
    }
    #page {
        padding-top: 5rem;
    }
    /*a.button, .button,*/ input[type="submit"] {
        padding: 0.5rem 1.25rem;
    }

    .desktop-show { display:none!important}

    .error-404 {
        min-height: 300px;
    }

    img.alignleft, .wp-caption.alignleft,
    img.alignright, .wp-caption.alignright {
        margin: 0 auto 15px!important;
        display: block;
        float: none;
    }
    .single-post article {
        margin: 0;
    }
}
@media only screen and (max-width:574px) {
}
@media only screen and (min-width:768px) {
    .mobile-show { display:none!important}
    .error-404 {
        min-height: 500px;
    }
    .container {
        max-width: calc(100vw - 2rem);
    }
    /* .wpb-content-wrapper > * > .vc_row {
        max-width: calc(100vw - 1rem);
    } */

}
@media only screen and (min-width:768px) and (max-width: 1199px) {
    #content {
        min-height: calc(100vh - 317px);
    }
}

@media only screen and (min-width: 992px) {
    .container {
        width: calc(100vw - 2rem);
        max-width: 85rem;
    }

    /* two column text */
    .twocolumn {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 30px;
        -moz-column-gap: 30px;
        column-gap: 30px;
        text-align: left;
    }

}

@media only screen and (min-width: 1200px) {
    #content {
        min-height: calc(100vh - 16.9375rem);
    }
}

@media screen and (min-width:1921px) {
    .container {
        max-width: 91rem
    }
    #content {
        min-height: calc(100vh - 16.83rem);
    }

}

/* form settings */
/*************/
/*  form settings  */
/*************/
form input:focus, form textarea:focus, select:focus {
    outline-style:none;
    outline:0 !important;
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.2)!important;
    box-shadow: 0 0 4px rgba(0,0,0,0.2)!important;
 }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-animation: autofill 0s forwards;
    animation: autofill 0s forwards;
}
@keyframes autofill {
    100% {
        background: #fff;
        color: var(--text);
    }
}
@-webkit-keyframes autofill {
    100% {
        background: #fff;
        color: var(--text);
    }
}
/* placeholder */
*::-webkit-input-placeholder {
    color: #d3d3d3;
}
*:focus::-webkit-input-placeholder {
    color:#d3d3d3;
}

*:-moz-placeholder {
    /* FF 4-18 */
    color: #d3d3d3;
    opacity: 1;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: #d3d3d3;
    opacity: 1;
}
*:focus::-moz-placeholder {
    color:rgba(11, 11, 11, 0.60);
}
*:-ms-input-placeholder {
    /* IE 10+ */
    color: #d3d3d3;
}
*::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #d3d3d3;
}
*:focus::-ms-input-placeholder {
    color:#d3d3d3;
}
*::placeholder {
    /* modern browser */
    color: #d3d3d3!important;
}
*:focus::placeholder {
    color: rgba(11, 11, 11, 0.60);
}
/**/
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input, select, textarea {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text);
}
input, select {
    color: var(--text);
    width: 100%;
    height: 2.75rem;
    padding: 0 .75rem;
    line-height: 3rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.286rem;
}

input[type="radio"], input[type="checkbox"] {
    height: auto;
    line-height: 1.6;
    width: auto
}
input[type="file"] {
    border:none;
    padding: 0;
    margin: 10px 0;
}
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 0.286rem;
    width:100%;
    display: block;
    padding: 0.75rem;
	height: 11rem;
}
form input:focus, form textarea:focus, select:focus {
    outline-style:none;
    outline:0 !important;
    border-color: var(--light-grey);
 }

input[type="submit"] {
    height: 2.75rem;
    font-size: 1.125rem;
    padding: 0 1.5rem;
    width: auto;
    display: table;
}
label {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
}


label > input, label > textarea {
    margin-top: .5rem
}

@media (max-width: 767px) {
	input, select {
		height: 2.5rem;
		line-height: 2.5rem;
	}
}
