/*
Theme Name: AS Asbest
Theme URI: http://www.as-asbest.de
Author: goYippi Design
Author URI: http://www.goyippi.net
Description: The template for AS Asbest
Version: 1.0

Fonts:
font-family: 'Source Sans Pro', sans-serif;
*/

/* source-sans-pro-regular - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-pro-v11-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
       url('fonts/source-sans-pro-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/source-sans-pro-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/source-sans-pro-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/source-sans-pro-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/source-sans-pro-v11-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-italic - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/source-sans-pro-v11-latin-italic.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro Italic'), local('SourceSansPro-Italic'),
       url('fonts/source-sans-pro-v11-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/source-sans-pro-v11-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/source-sans-pro-v11-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('fonts/source-sans-pro-v11-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/source-sans-pro-v11-latin-italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-600 - latin_latin-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-sans-pro-v11-latin_latin-ext-600.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
       url('fonts/source-sans-pro-v11-latin_latin-ext-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/source-sans-pro-v11-latin_latin-ext-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/source-sans-pro-v11-latin_latin-ext-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/source-sans-pro-v11-latin_latin-ext-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/source-sans-pro-v11-latin_latin-ext-600.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-600italic - latin_latin-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/source-sans-pro-v11-latin_latin-ext-600italic.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro SemiBold Italic'), local('SourceSansPro-SemiBoldItalic'),
       url('fonts/source-sans-pro-v11-latin_latin-ext-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/source-sans-pro-v11-latin_latin-ext-600italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/source-sans-pro-v11-latin_latin-ext-600italic.woff') format('woff'), /* Modern Browsers */
       url('fonts/source-sans-pro-v11-latin_latin-ext-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/source-sans-pro-v11-latin_latin-ext-600italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* material-icons-regular */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/material-icons-regular.eot'); /* IE9 Compat Modes */
  src: local('Material Icons'), local('MaterialIcons-Regular'),
       url('fonts/material-icons-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/material-icons-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/material-icons-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/material-icons-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/material-icons-regular.svg#SourceCodePro') format('svg'); /* Legacy iOS */
}

/* ---- Resets ----*/
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ---- Pace
.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #ebebeb;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 30px;
}

.loader {
    background: #fff none repeat scroll 0 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}

.pace-done .loader {
    display: none;
    opacity: 0;
}

.a_all {
    opacity: 0;
    transition: opacity 0.75s;
}

.pace-done .a_all {
    opacity: 1;
    transition: opacity 0.75s;
} ---- */

/* ---- Basics ---- */
html {
  font-size: 100%;
  opacity: 0;
  transition: opacity 0.5;
}

html.page-loaded {
  opacity: 1;
  transition: opacity 0.5;
}

.no-js {
  opacity: 1;
}

body {
	font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 19px;
  font-size: 1.188rem;
  line-height: 1.158;
	color: #595959;
	background-color: #ebebeb;
	text-align: center;
	min-width: 0;
	padding: 0;
	margin: 0;
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-osx-font-smoothing: grayscale;
}

#browser-warning,
.screen-reader-text {
	display: none;
}

.hide-desktop {
  display: none !important;
}

/* ---- Links ---- */
a {
	color: #e60000;
	text-decoration: none;
	outline: none;
}

a:hover {
	text-decoration: underline;
	outline: none;
}

a.contains-image:hover {
	text-decoration: none;
}

.wp-caption a {
	color: #FFF;
  width: 100%;
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.wp-caption a:hover {
	text-decoration: none;
}

.post-title a {
	color: #000;
}

.post-title a:hover {
	color: #e60000;
	text-decoration: none;
}

a[href^="tel:"],
a[href^="mailto:"],
.header-widget a {
  color: #595959;
}

.a_footer .widget a {
  font-size: 16px;
  font-size: 1rem;
  color: #595959;
}

.a_navi a {
  color: #000;
  position: relative;
}

.a_navi a:hover {
	text-decoration: none;
}

.a_navi a:after {
  content: '';
  display: block;
  border-bottom: 3px solid #e60000;
  width: 0;
  max-width: 100%;
  overflow: hidden;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -3px;
}

.a_navi a:hover:after,
.a_navi .current-active-item a:after {
  width: 100%;
  transition: width 0.3s;
}

.touch .a_navi a:after,
.touch .a_navi a:hover:after {
  width: 0;
  transition: none;
}

.touch .a_navi .current-active-item a:after {
  width: 100%;
  transition: width 0.3s;
	transition-delay: 0.3s;
}

.button a {
	color: #FFF;
}

.button a, a.button {
	color: #fff;
	padding: 5px 12px;
	margin: 14px 0 14px;
	background-color: #e60000;
	display: inline-block;
	cursor: pointer;
	transition: color 0.5s, background-color 0.5s;
}

.button a:hover, a.button:hover {
	color: #FFF;
	background-color: #000;
  text-decoration: none;
	transition: color 0.5s, background-color 0.5s;
}

/* ---- Navigation ---- */
.a_navi {
  color: #000;
  text-align: right;
  margin-left: 200px;
}

.a_navi li {
  display: inline-block;
  margin-left: 26px;
  /*font-size: 20px;
  font-size: 1.25rem;*/
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 100px;
  text-transform: uppercase;
}

.navi-button {
  display: none;
	position: absolute;
	right: 20px;
	top: 21px;
	z-index: 1;
  cursor: pointer;
}

.navi-button:after {
  font-family: 'Material Icons';
  content: '\e5d2';
  font-size: 48px;
  width: 48px;
  height: 48px;
  display: block;
}

.navi-button-inner span {
  display: none;
}

/* ---- Structure ---- */
.a_all {
	position: relative;
	min-height: 100%;
}

.a_header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
	width: 100%;
	text-align: left;
  background-color: #FFF;
}

.header-inner {
	max-width: 1200px;
  min-height: 100px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}

.admin-bar .a_header {
  top: 32px;
}

.a_header .logo {
	text-align: left;
  position: absolute;
  left: 40px;
  top: -16px;
}

.a_header .logo img {
  height: 132px;
  width: auto;
}

.a_wrapper {
  padding-top: 130px;
	text-align: left;
  background-color: #FFF;
}

.a_content_inner {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	padding: 40px 20px;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 26px 20px;
}

.js-active .footer-inner {
  padding-bottom: 240px;
}

/* ---- Blog Layout ---- */
.author .author-archive-link {
	display: none;
}

.blog .a_wrapper_inner, .archive .a_wrapper_inner, .single .a_wrapper_inner {
  max-width: 1200px;
	margin: 0 auto;
}

.blog .a_content, .archive .a_content, .single .a_content {
  width: 66.355%;
  float: left;
}

.blog .a_content_inner, .archive .a_content_inner, .single .a_content_inner {
  padding-left: 0;
  padding-right: 0;
}

.a_sidebar {
  width: 24.299%;
  float: right;
  padding: 40px 0;
}

.search .a_sidebar, .error404 .a_sidebar {
  display: none;
}

/* ---- Post Layout ---- */
.a_content .post, .a_content .attachment, .search .a_content .page {
	padding-bottom: 40px;
	clear: both;
}

.a_content .page {
	padding-bottom: 0;
	clear: both;
}

.has-post-thumbnail .post-thumbnail {
	width: 31.4%;
  float: left;
}

.has-post-thumbnail .post-content-inner {
	width: 65.6%;
  float: right;
}

.post-meta span {
	display: block;
}

.post-meta-footer {
  font-size: 16px;
	font-size: 1rem;
	margin-top: 10px;
}

.tag-links {
	margin-top: 6px;
	display: block;
}

.navigation {
	border-top: 1px solid #000;
	padding-top: 10px;
	margin: 30px 0;
}

.navigation div.alignleft, .navigation div.alignright {
	width: 49%;
}

.next-posts {
	float: left;
}

.previous-posts {
	float: right;
	text-align: right;
}

/* ---- Page Layout ---- */
.page .page {
	padding: 45px 20px;
}

.page .ignore-margin-top {
  padding-top: 0;
}

.page .ignore-margin-bottom {
  padding-bottom: 0;
}

.field-wrapper {
	max-width: 1200px;
	margin: 0 auto;
}

.content-slider-wrapper {
	max-width: 1200px;
	margin: 0 auto !important;
	background-color: transparent !important;
	position: relative;
}

.page .fullsize {
	padding: 0;
}

.fullsize .field-wrapper, .fullsize .content-slider-wrapper {
	max-width: none;
}

.fullsize .post-content-inner, .boxed-1000.content-slider .title-header {
	max-width: 1200px;
	margin: 0 auto;
}

.boxed-800 .post-inner, .search .single-item, .search .post, .error404 .post {
  max-width: 800px;
}

/* ---- Custom Post Type Layout ---- */
.content-feed,
.single-custom-post-type .single-item {
	max-width: 1200px;
	padding: 0 20px;
	margin: 0 auto;
}

.content-feed {
	padding: 40px 20px 0;
}

/* ---- Spalten ---- */
.col-2 {
	width: 48.75%;
	float: left;
}

.col-3 {
	width: 31.034%;
	float: left;
}

.col-right {
	float: right;
}

.col-30-60 .col-2 {
	width: 31.034%;
}

.col-30-60 .col-right {
	width: 65.948%;
}

.col-60-30 .col-2 {
	width: 65.948%;
}

.col-60-30 .col-right {
	width: 31.034%;
}

.col-30-60 .no-padding {
	width: 31.666%;
}

.col-30-60 .col-right.no-padding {
	width: 65.417%;
}

.col-60-30 .no-padding {
	width: 65.417%;
}

.col-60-30 .col-right.no-padding {
	width: 31.666%;
}

.col-30-30-30 .col-left {
	margin-right: 3.449%;
}

/* ---- Textelements ---- */
.post-title,
.page .post-list .post-title {
  font-size: 32px;
  font-size: 2rem;
  line-height: 1.2;
  color: #000;
  display: inline-block;
  border-bottom: 3px solid #e60000;
	padding-bottom: 4px;
  margin-bottom: 20px;
}

.archive-title {
	padding-bottom: 30px;
}

.post-content h1, .post-content h2 {
  font-size: 32px;
  font-size: 2rem;
  line-height: 1.2;
  color: #000;
  margin-bottom: 20px;
}

.col-2 h1, .col-2 h2 {
  display: inline-block;
  border-bottom: 3px solid #e60000;
	padding-bottom: 3px;
  margin-bottom: 20px;
}

.post-content h3, .post-content h4 {
  font-size: 22px;
  font-size: 1.375rem;
  line-height: 1.2;
  font-weight: 600;
  color: #000;
	padding-bottom: 10px;
}

.col-3 h3 {
	padding: 10px;
  background-color: #cccccc;
  text-align: center;
}

.post-content h5, .post-content h6 {
  font-size: 20px;
	font-size: 1.25rem;
  line-height: 1.25;
	padding-bottom: 10px;
}

.post-content .no-margin {
	margin-bottom: 0;
	padding-bottom: 0;
}

.post-content p {
	padding-bottom: 20px;
}

.no-padding p:last-child {
	padding-bottom: 0;
}

strong, b {
  font-weight: 600;
}

em, italic {
  font-style: italic;
}

.small, small {
  font-size: 16px;
	font-size: 1rem;
}

blockquote {
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.post-content blockquote p {
	max-width: none;
}

.post-content ul, .post-content ol {
	padding-bottom: 20px;
	max-width: 900px;
}

.post-content ul ul, .post-content ol ol {
	padding-bottom: 0px;
}

.post-content ul li {
  padding-left: 1em;
  text-indent: -1em;
	list-style: none;
	padding-bottom: 4px;
}

.post-content ul li:before {
	content: '●';
  font-size: 1em;
  color: #e60000;
	padding-right: 8px;
}

.android .post-content ul li {
  text-indent: -0.75em;
}

.android .post-content ul li:before {
	content: '•';
}

.post-content ol li {
	position: relative;
	left: 20px;
	list-style: decimal;
}

.sep {
	padding: 0 10px;
}

.post-content .table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.post-content .table-row {
    display: table-row;
}

.post-content .table-cell {
    display: table-cell;
    width: 33%;
    padding-right: 40px;
    vertical-align: top;
}

/* ---- Images ---- */
.post-content img, .post-thumbnail img, .a_header img {
	max-width: 100%;
	height: auto;
}

.post-content iframe {
	max-width: 100%;
}

.post-content img {
	margin-bottom: 20px;
}

.no-box-padding .post-content img {
  margin-bottom: 30px;
}

.no-box-padding .post-content img:last-child {
	margin-bottom: 0;
}

.post-content .thumbnail img {
	margin-bottom: 10px;
}

.aligncenter, div.aligncenter {
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

img.alignnone {
  display: block;
}

img.alignleft, .post-content div.alignleft {
	margin: 4px 10px 20px 0;
}

img.alignright, .post-content div.alignright {
	margin: 4px 0 10px 20px;
}

.wp-caption {
	text-align: left;
	max-width: 100%;
  width: auto !important;
  position: relative;
  margin-bottom: 14px;
}

.wp-caption img {
  display: block;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
}

.wp-caption-text {
  opacity: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  font-size: 26px;
  font-size: 1.625rem;
  color: #FFF;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.75s;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.ie-9-lower .wp-caption-text {
  display: none;
}

.wp-caption:hover .wp-caption-text {
  opacity: 1;
  cursor: pointer;
}

.wp-caption p {
	padding-bottom: 0;
}

/* ---- Widgets ---- */
.recentcomments a{
	display:inline !important;
	padding:0 !important;
	margin:0 !important;
}

.widget {
	margin-bottom: 30px;
}

.header-widget {
	background-color: #ebebeb;
}

.header-widget .header-inner {
  min-height: 30px;
}

.header-widget .widget {
  font-size: 16px;
  font-size: 1rem;
  padding: 4px 0 5px;
  margin-bottom: 0;
  text-align: right;
}

.header-widget .widget p {
  padding-bottom: 0;
}

.a_footer .widget {
  font-size: 18px;
  font-size: 1.125rem;
	text-align: center;
	margin-bottom: 0;
}

.widget_text {
	padding-bottom: 1px;
	margin-bottom: 20px;
}

.error404 .a_top .widget_search, .search-no-results .a_top .widget_search {
	display: none;
}

.widget h3.widget-title {
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #000;
	padding-bottom: 10px;
}

.widget p {
	padding-bottom: 10px;
}

.widget li {
	padding-left: 0;
	text-indent: 0;
}

.widget_calendar table {
	width: 270px;
}

.widget_calendar td, .widget_calendar th {
	text-align: center;
}

.widget_calendar th, .widget_calendar td a {
	font-weight: bold;
}

.widget_calendar caption {
	margin-bottom: 6px;
}

.widget_calendar tfoot td {
	padding-top: 12px;
}

.widget_calendar tfoot #prev {
	text-align: left;
}

.widget_calendar tfoot #next {
	text-align: right;
}

/* ---- Comments ---- */
#comments, #respond {
	margin-top: 80px;
}

#comments h3, #respond h3 {
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #000;
  padding-bottom: 10px;
}

#comments p, #respond p {
	padding-bottom: 10px;
}

#respond p.form-submit {
	margin-bottom: 30px;
}

.commentlist .comment_inner {
	margin-bottom: 20px;
}

.commentlist .children {
	margin: 0 0 30px 75px;
}

.comment-gravatar img {
	width: 60px;
	float: left;
	margin-right: 15px;
	border-radius: 30px;
}

.comment-data {
	overflow: hidden;
}

#cancel-comment-reply-link {
	margin-left: 10px;
}

.form-allowed-tags {
	display: none;
}

/* ---- Forms ---- */
input[type=text], input[type=email], input[type=password], textarea {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 19px;
  font-size: 1.188rem;
	border-radius: 0;
  border: 1px solid #000;
	background-color: #FFF;
	width: 99%;
	padding: 3px 1px;
	margin-bottom: 6px;
  -webkit-appearance: none;
}

textarea {
	height: 120px;
}

button, input[type=submit] {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 19px;
  font-size: 1.188rem;
	color: #fff;
	padding: 5px 12px;
	margin-bottom: 10px;
	background-color: #e60000;
  border: 0;
	width: auto;
	cursor: pointer;
	transition: color 0.5s, background-color 0.5s;
  border-radius: 0;
  -webkit-appearance: none;
}

button:hover, input[type=submit]:hover {
	color: #FFF;
	background-color: #000;
	transition: color 0.5s, background-color 0.5s;
}

select {
  font-size: 16px;
	font-size: 1rem;
	width: 100%;
	padding: 2px;
}

label {
	padding-bottom: 3px;
}

.wpcf7 p {
	margin-bottom: 4px;
}

/* ---- Divider ---- */
.clear {
	height: 0px;
	overflow: hidden;
	clear: both;
}

.divider {
	height: 30px;
}

.line {
	margin: 20px 0;
	border-top: 1px solid #000;
}

hr {
	display: none;
}

.gallery .clear {
	height: auto;
}

.clearfix:after {
	content: " ";
    display: block;
    height: 1px;
    clear: both;
}

/* ---- Thickbox ---- */
#TB_overlay {
	z-index: 1000 !important;
}

#TB_window {
	font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px !important;
	font-size: 1rem !important;
	color: #000 !important;
	z-index: 1002 !important;
}

#TB_window img#TB_Image {
	border: 0 !important;
}

#TB_caption {
    height: auto !important;
    padding: 7px 15px 10px !important;
}

#TB_title {
	background-color: transparent !important;
}

#TB_secondLine {
	font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px !important;
  font-size: 1rem !important;
	color: #000 !important;
}

/* ---- Flexsilder ---- */
.flexslider {
	border: 0 !important;
	box-shadow: none !important;
}

.flexslider .slides {
    margin-bottom: 0;
}

.flexslider .slides img {
	height: auto;
}

.post-content .flexslider ul.slides li {
	list-style: none;
	padding: 0;
	text-indent: 0;
}

.post-content .flexslider ul li:before {
	padding: 0;
	content: "";
}

.post-content .flex-control-nav li {
	left: 0;
	position: static;
}

.flex-control-nav a {
  border-bottom: 0;
}

.flex-direction-nav a {
	text-shadow: none;
  border-bottom: 0;
	color: #FFF;
	opacity: 1;
	width: 42px;
	height: 42px;
}

.flexslider:hover .flex-direction-nav .flex-prev,
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 1;
}

.flex-direction-nav a:hover {
  text-decoration: none;
}

.flex-direction-nav a:before {
	font-family: 'Material Icons';
	content:'\e5cb';
	text-shadow: none;
	line-height: 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.flex-direction-nav a.flex-next:before {
	font-family: 'Material Icons';
	content:'\e5cc';
}

.flex-direction-nav a:hover:before {
	color: #4b3e44;
}

.flex-control-nav {
  bottom: 30px;
}

.flex-control-nav a:hover {
  text-decoration: none;
}

.flex-control-paging li a {
  background-color: transparent;
  border: 1px solid #FFF;
}

.flex-control-paging li a:hover {
  background: #000;
}

.flex-control-paging li a.flex-active {
  background-color: #e60000;
}

/* ---- Galerie ---- */
.gallery {
	display: table;
	clear: both;
	overflow: hidden;
	margin: 0 auto 0;
  padding-bottom: 20px;
}

.gallery .gallery-row {
	display: table-row;
	clear: both;
	overflow: hidden;
	margin: 0;
}

.gallery .gallery-item {
  display: table-cell;
	margin: 0;
	text-align: center;
	list-style: none;
	padding: 0;
  position: relative;
  vertical-align: middle;
  float: none;
}

.gallery .gallery-item .gallery-icon a, .gallery .gallery-item .gallery-icon a:hover {
	background-color: transparent;
  border-bottom: 0;
}

.gallery .gallery-item .gallery-icon img {
	width: auto;
	max-width: 90%;
	height: auto;
	margin: 0 auto;
	padding: 5% 2% 3%;
  vertical-align: middle;
}

.gallery-item:hover .wp-caption-text {
    opacity: 1;
}

.gallery .col-0 { width: 100%; }
.gallery .col-1 { width: 100%; }
.gallery .col-2 { width: 50%; }
.gallery .col-3 { width: 33.33%; }
.gallery .col-4 { width: 25%; }
.gallery .col-5 { width: 20%; }
.gallery .col-6 { width: 16.66%; }
.gallery .col-7 { width: 14.28%; }
.gallery .col-8 { width: 12.5%; }
.gallery .col-9 { width: 11.11%; }
.gallery .col-10 { width: 10%; }
.gallery .col-11 { width: 9.09%; }
.gallery .col-12 { width: 8.33%; }
.gallery .col-13 { width: 7.69%; }
.gallery .col-14 { width: 7.14%; }
.gallery .col-15 { width: 6.66%; }
.gallery .col-16 { width: 6.25%; }
.gallery .col-17 { width: 5.88%; }
.gallery .col-18 { width: 5.55%; }
.gallery .col-19 { width: 5.26%; }
.gallery .col-20 { width: 5%; }
.gallery .col-21 { width: 4.76%; }
.gallery .col-22 { width: 4.54%; }
.gallery .col-23 { width: 4.34%; }
.gallery .col-24 { width: 4.16%; }
.gallery .col-25 { width: 4%; }
.gallery .col-26 { width: 3.84%; }
.gallery .col-27 { width: 3.7%; }
.gallery .col-28 { width: 3.57%; }
.gallery .col-29 { width: 3.44%; }
.gallery .col-30 { width: 3.33%; }

.item-float {
    text-align: center;
}

.item-float .gallery-item {
    display: inline-block;
    float: none;
    width: auto;
    margin: 0 10px 20px;
}

.item-float .gallery-item .gallery-icon img {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.item-float .wp-caption-text {
    padding: 0;
    width: 100%;
    height: 100%;
    color: #000;
    background-color: rgba(124,239,170,0.9);
    text-align: center;
    line-height: 210px;
}

.item-float .caption-inner {
    display: inline-block;
    vertical-align: middle;
    padding: 10px 10px 12px;
    line-height: 1em;
}

/* --- Page Gallery --- */
.page .gallery-field {
  padding: 0 0 40px;
}

.gallery-wrapper {
	border: 0;
	padding-top: 0;
	margin-bottom: 0 !important;
}

.gallery-wrapper img {
	display: block;
	width: 100%;
	height: auto;
}

.gallery-wrapper .slider-image a {
	width: 100%;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}

.gallery-wrapper .slider-image .button a {
	width: auto;
  position: static;
  display: inline-block;
}

.gallery-wrapper .post-wrapper img {
    width: auto;
}

.gallery-wrapper .slides > li {
	position: relative;
}

.gallery-wrapper .flex-direction-nav .flex-prev {
	left: 10px !important;
}

.gallery-wrapper .flex-direction-nav .flex-next {
	right: 10px !important;
}

.gallery-wrapper .flex-direction-nav a:before {
	color: #FFF;
}

.gallery-wrapper .flex-direction-nav a:hover:before {
	color: #FFF;
}

.content-slider-wrapper img {
    float: none;
}

.content-slider-wrapper li {
    display: table !important;
}

.content-slider-wrapper .title-header {
    margin: 0 auto;
}

.content-slider-wrapper .slides .field-inner {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
}

.content-slider-wrapper .flex-direction-nav .flex-prev {
	left: -70px !important;
}

.content-slider-wrapper .flex-direction-nav .flex-next {
	right: -70px !important;
}

.gallery-wrapper .image-claim {
  position: absolute;
  top: 0;
  left: 0;
  color: #FFF;
  background-color: rgba(0,0,0,0.6);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 1s;
}

.ie-9-lower .gallery-wrapper .image-claim {
  display: block;
  text-align: center;
}

.gallery-wrapper .image-claim .inner {
  padding: 20px 20px 0;
  font-size: 48px;
  font-size: 3rem;
}

.ie-9-lower .gallery-wrapper .image-claim .inner {
  padding-top: 15%;
}

.gallery-wrapper .claim-active .image-claim {
	opacity: 1;
	transition: opacity 1s;
	transition-delay: 2s;
}

/*-- Language Switcher --*/
.a_navi .main .lang-switch {
  text-transform: lowercase;
}

.a_navi .main .lang-switch li a:after {
  content: '^';
  background-color: transparent;
}

.a_navi .main .lang-switch li a:hover:after {
  background-color: transparent;
}

/*-- Custom Colors --*/
.grey,
.grey-column .col-2,
.grey-column .col-3,
.grey-box .field-wrapper {
	background-color: #f2f2f2;
}

.grey-column .post-inner-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.ie-9-lower .grey-column .post-inner-wrapper {
  display: block;
}

.grey-column .col {
  float: none;
}

.ie-9-lower .grey-column .col {
  display: inline-block;
  vertical-align: top;
}

.ie-9-lower .grey-column .col-left {
  margin-right: 2.5%;
}

.grey-box .field-inner,
.grey-column .col-inner {
  padding: 20px;
}

.no-box-padding .field-inner {
  padding: 0;
}

.no-box-padding .col-inner {
  padding: 20px;
}

.no-box-padding .post-content .col-inner :last-child {
	margin-bottom: 0;
  padding-bottom: 0;
}

.post-inner-wrapper .no-padding .col-inner {
  padding: 0;
}

/* ---- Media Queries: Smaller than 1240px ---- */
@media (max-width: 1240px) {
  .blog .a_wrapper, .archive .a_wrapper, .single .a_wrapper {
  	padding-left: 20px;
    padding-right: 20px;
  }

  .gallery-wrapper .image-claim .inner {
    font-size: 3.871vw;
  }

  .a_navi li {
    margin-left: 16px;
    font-size: 16px;
    font-size: 1.452vw;
  }

  .wp-caption-text {
    font-size: 26px;
    font-size: 2.097vw;
  }

  .col-3 h3 {
    font-size: 22px;
    font-size: 1.774vw;
  }
}

/* ---- Media Queries: Smaller than 1020px ---- */
@media (max-width: 1020px) {
  /* -- Mobile Navi -- */
  .a_navi {
    text-align: left;
    margin-left: 0;
  }

  .a_navi li {
    line-height: inherit;
    margin: 0 0 10px;
    padding: 10px 0 0;
    display: block;
    font-size: 20px;
    font-size: 1.25rem;
    border-top: 1px solid #cccccc;
  }

  .a_navi .current-active-item a:after  {
      width: 0%;
  }

  .a_navi .current-active-item a:hover:after {
      width: 100%;
  }

  .navi-button {
    display: block;
  }

  .navi-inner {
    max-height: 0px;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.25s;
  }

  .main {
    padding-top: 132px;
  }

  .navi-open {
    overflow: hidden;
  }

  .navi-open .a_header {
    height: 100%;
    overflow: auto;
  }

  .navi-open .navi-button:after {
    content:'\e5cd';
  }

  .navi-open .navi-inner {
    max-height: 100000em;
    opacity: 1;
    overflow: visible;
    transition: opacity 0.5s;
  }
}

/* ---- Media Queries: Smaller than 782px ---- */
@media (max-width: 782px) {
  html {
  	font-size: 80%;
	}

  .header-widget .widget p {
    padding-top: 2px;
  }

  .admin-bar .a_header {
    top: 46px;
  }

  .post-content ul li:before {
  	padding-right: 6px;
  }
}

/* ---- Media Queries: Smaller than 610px ---- */
@media (max-width: 610px) {
  .hide-desktop {
  	display: block !important;
  }

  .hide-mobile {
  	display: none !important;
  }

  .header-inner {
    min-height: 66px;
  }

  .a_header .logo {
    left: 20px;
  }

  .a_header .logo img {
    height: 99px;
  }

  .header-widget .sep {
    padding: 0 5px;
  }

  .header-widget .header-inner {
    padding-bottom: 16px;
  }

  .navi-button {
    top: 5px;
  }

  .main {
    padding-top: 112px;
  }

	/* -- General -- */
  .a_wrapper {
    padding-top: 112px;
  }

	.page .a_content_inner {
		padding-top: 0 !important;
	}

  .page .a_content {
    margin-bottom: 20px;
  }

	.page .page {
		padding-top: 20px;
		padding-bottom: 20px;
	}

  .page .gallery-field {
    padding: 0 0 20px;
  }

  .page .ignore-margin-top {
		padding-top: 0;
	}

  .blog .a_content, .archive .a_content, .single .a_content, .a_sidebar {
    width: 100%;
    float: none;
  }

	.col-2, .col-3, .col-left, .col-middle, .col-right {
    float: none;
    width: 100% !important;
		margin-right: 0 !important;
    margin-bottom: 20px;
    padding: 0 !important;
	}

  .col-right {
    margin-bottom: 0;
  }

  .col-3 h3 {
    font-size: 22px;
    font-size: 1.375rem;
  }

  .page .grey-box, .page .grey-column {
    padding-left: 0;
    padding-right: 0;
  }

  .grey-column .post-inner-wrapper {
    display: block;
  }

  .has-post-thumbnail .post-thumbnail,
  .has-post-thumbnail .post-content-inner {
    float: none;
    width: 100%;
  }

  .has-post-thumbnail .post-thumbnail {
    margin-bottom: 10px;
  }

	.widget {
		width: 100%;
		margin-right: 0;
		float: none;
	}

	.post-content iframe {
		height: auto;
	}

  .sharer .sharer-navigation {
    bottom: 44px;
  }

  .gallery, .gallery-row, .gallery-item {
    display: block !important;
    width: 100% !important;
  }

  .gallery .gallery-item .gallery-icon img {
  	max-width: 100%;
  	padding: 5% 0 3%;
  }

  .post-content .table, .post-content .table-row, .post-content .table-cell {
    display: block;
    width: auto;
  }

  .wp-caption-text {
    font-size: 24px;
    font-size: 3.934vw;
  }

	/* ---- Page Gallery ---- */
  .flex-control-nav {
    bottom: 6px;
  }

  .flex-control-nav li {
    margin: 0 3px;
  }

  .flex-control-paging li a {
    width: 7px;
    height: 7px;
  }
}

@media print {
	html {
    font-size: 75%;
	}

	.loader, .a_footer, .a_navi, .navi-button, .flex-direction-nav, .a_sidebar, #respond, .header-widget, .gallery-wrapper {
    display: none;
	}

	.a_all {
		opacity: 1;
	}

	.a_header {
		padding-top: 0;
    position: static;
	}

  .a_header .logo {
    position: static;
  }

  .a_header .logo img {
    height: 99px;
  }

  .a_wrapper {
    padding-top: 0 !important;
  }

	.header-inner,
	.a_content_inner,
	.page .page,
	.footer-inner {
		padding-left: 0;
		padding-right: 0;
	}

  .page .page,
  .a_content_inner {
  	padding: 40px 0 40px;
  }

  .page .ignore-margin-top {
    padding-top: 0;
  }

  .page .ignore-margin-bottom {
    padding-bottom: 0;
  }

  .grey-box .field-inner,
  .grey-column .col-inner,
  .no-box-padding .col-inner {
    padding: 0;
  }

  .col-3 h3 {
    padding: 0 0 10px;
    text-align: left;
  }

	.button a, a.button,
	button, input[type=submit] {
		visibility: hidden;
		height: 0;
		overflow: hidden;
	}

	.flexslider,
	.flexslider .flex-viewport {
		height: auto !important;
	}

	.flexslider ul.slides,
	.flexslider ul.slides li {
		width: 100% !important;
		transform: none !important;
	}

	.flexslider li {
		display: none !important;
	}

	.flexslider li.flex-active-slide {
		display: block !important;
	}
}
