/*
Theme Name: Gastra
Version: 1.0
Description: A child theme of Flatsome
Template: flatsome
Author: Administrator
*/
@import url("../flatsome/style.css");
/* Your awesome customization starts here */


@keyframes slideUp {
    from {top: -50px; height: 50px;}
    to {top: -150px; height: 150px;}
}

@keyframes slideDown {
    from {top: -150px; height: 150px;}
    to {top: -50px; height: 50px;}
}

* {
	box-sizing: border-box!important;
}

.payment-icons {
	display: none;
}
.footer-primary {
	width: 100%;
}
.footer-primary .copyright-footer > div {
	float: right;
	width: 25px;
}

body {
	overflow-x: hidden!important;
}

/*
SCHRIFTARTEN
*/
@font-face {
    font-family: GreatVibes;
    src: url(assets/fonts/GreatVibes-Regular.otf);
}
@font-face {
    font-family: HelveticaNeue;
    src: url(assets/fonts/HelveticaNeue.ttf);
}

@font-face {
    font-family: OswaldRegular;
    src: url(assets/fonts/oswald/Oswald-Regular.ttf);
}
@font-face {
    font-family: OswaldBold;
    src: url(assets/fonts/oswald/Oswald-Bold.ttf);
}
@font-face {
    font-family: OswaldLight;
    src: url(assets/fonts/oswald/Oswald-Light.ttf);
}

#content {
	background-color: #eeeeee;
}

.headerslider .text-inner > p:first-of-type {
	font-family: GreatVibes;
	font-size: 25px;
    margin-top: 15px!important;
    margin-bottom: 0px!important;
}
.headerslider .text-inner > h3 {
	/*font-family: OswaldRegular;*/
	font-family: GreatVibes;
}

ul.nav a {
	font-family: OswaldBold!important;
}
ul.nav a i {
	display: none;
}
@media (min-width: 769px) {
	ul.nav li ul {
		padding: 0px;
		width: 100%;
		min-width: 0px;
		max-width: 100%;
		margin-left: 15px;
		background-color: rgb(227,0,26);
		border: none;
	}
	ul.nav li ul li a {
		font: .8em OswaldRegular!important;
		color: white;
	}
	ul.nav li {
		min-width: 100px;
		text-align: center;
		margin: 0px;
		padding: 0px 20px;
	}
	ul.nav a:before {
		color: rgb(227,0,26)!important;
		background-color: rgb(227,0,26)!important;
		height: 6px!important;
	}
	ul.nav li ul li {
		padding: 0px;
		transition: 0.125s;
	}
	ul.nav li ul li:hover, ul.nav li ul li.active {
		background-color: rgb(148,4,16);
	}

	ul.nav li ul li.active a {
		color: white;
	}
	ul.nav li ul li:hover a {
		color: white;
	}
}


.headerslider .text-box {
	display: none;
}
.displaytext .text-box{
	display: block;
}
.hiddentext .text-box{
	display: none;
}


.dienstleistungen h3:before {
    content: '';
    width: 60px;
    border-bottom: solid 1px black;
    position: absolute;
    top: 50%;
    z-index: 1;
    transform: rotate(90deg);
    right: -30px;
}
.dienstleistungen .row > .medium-3:last-of-type h3:before,
.dienstleistungen .row > .medium-4:last-of-type h3:before {
	display: none;
}


.slider-nav-light .flickity-page-dots .dot.is-selected {
	background-color: rgb(227,0,26);
}

#html1 > span:first-of-type {
	color: rgb(227,0,26);
}
#html1 > span {
	font-size: 17px;
	font-family: OswaldBold;
}

#html2 > span:last-of-type {
	color: rgb(227,0,26);
	font-size: 20px;
}
#html2 > span {
	font-family: OswaldBold;
}

#html2 {
	 text-align: right;
}
#content > .slider-wrapper {
	opacity: 0.99;
}
#content > .slider-wrapper .text-box {
	/*background-color: white;*/
	padding-bottom: 20px;
	padding-top: 20px;
	margin-bottom: 10px;
	bottom: 50px!important;
	top: auto;
	width: 90%;
}
#content > .slider-wrapper .text-box p, .text-box h3 {
	color: black;
	margin: 0;
	background: white;
    padding: 30px 20px 20px 20px;
}
@media (min-width: 768px) {
	#content > .slider-wrapper .text-box {
		width: auto;
	}
	#content > .slider-wrapper .text-box p, .text-box h3{
		white-space: nowrap;
	}
}



#content > .slider-wrapper .flickity-page-dots {
	margin-bottom: 50px;
}

.header-bottom-text {
	margin-top: 0px!important;
    height: 50px;
    position: relative;
    bottom: 50px;
    z-index: 2;
    background-color: rgb(227,0,26);
    color: white;
    font-size: 20px;
    padding-top: 10px;
	text-align: center;
}
.header-bottom-text p {
	font-family: OswaldRegular;
}



.dienstleistungen .box-image {
	margin: 22%;
}
.dienstleistungen .medium-4 .box-image {
	margin-top: 0;
}
.dienstleistungen .box-image img {
	filter: grayscale(100%);
	transition: .25s;
}
.dienstleistungen .box:hover .box-image img {
	filter: grayscale(0%);
}
.dienstleistungen .box {
	cursor: pointer;
}
.dienstleistungen .row > .col {
	padding: 0px 0px 30px 0px;
}





.jahre30 .box-text {
	padding: 0px;
	position: relative;
	bottom: 50px;
}
.jahre30 .box-text .row {
	padding-bottom: 15px;
	padding-top: 8px;
	height: 50px;
	filter: grayscale(100%);
	background-color: rgba(51,51,51, 0.85);
	transition: .25s;
}
.jahre30 .box-text p {
	color: white;
	font-size: 20px;
	font-family: OswaldRegular;
}
.jahre30 .box:hover .row {
	filter: grayscale(0%);
	background-color: rgba(227, 0, 26, 1);
}
.jahre30 .box {
	cursor: pointer;
}
.jahre30 .section-content > p {
	text-align: center;
    font-family: GreatVibes;
    font-size: 35px;
    margin-bottom: 20px;
}
.jahre30, .impressionen {
	padding-bottom: 0px!important;
	margin-bottom: -40px!important;
}



.impressionen h1 {
	font-family: GreatVibes;
	    text-align: center;
    font-size: 37px;
    font-weight: 500;
}


.impressionen .flickity-page-dots {
	display: none;
}
.impressionen .col-inner > .row {
	margin: 0px;
    position: relative;
    bottom: 50px;
    height: 50px;
    padding-top: 5px;
	background-color: rgba(51,51,51,0.85);
    text-align: center;
    color: white;
    font-size: 20px;
	transition: .25s;
	cursor: pointer;
}
.impressionen .col-inner > .row:hover {
	background-color: rgba(227, 0, 26, 1);
}
.dvImpressionenRow .hiddenCol {
	display: none;
}


.partner .gallery-icon {
    height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner .gallery-item img {
	filter: grayscale(100%);
	transition: .25s;
}
.partner .gallery-item img:hover {
	filter: grayscale(0%);
}
.partner p {
	font-family: GreatVibes;
    text-align: center;
    font-size: 37px;
    font-weight: 500;
	color: white;
	margin-bottom: 5px;
}



.kunden .col-inner h4 {
	text-align: center;
	font: 35px OswaldLight;
}
.kunden .col-inner p {
	text-align: center;
	font-family: OswaldRegular;
}
.kunden .section-content > .row:last-of-type {
	box-shadow: 2px 3px 11px 3px #ccc;
}
.kunden .section-content > .row .medium-4 {
	padding: 0px;
	left: 1px;
}

.kunden .large-12 p {
	font-family: GreatVibes;
    text-align: center;
    font-size: 37px;
    font-weight: 500;
	margin-bottom: -10px;
}





.produkte .large-12 .col-inner > p {
	font-family: GreatVibes;
    text-align: center;
    font-size: 37px;
    font-weight: 500;
	margin-bottom: -10px;
}

#scmtitle {
	font-family: GreatVibes;
    text-align: center;
    font-size: 37px;
    font-weight: 500;
	margin-bottom: -10px;
}
.banner {
	background-color: #333;
}
.banner h3 {
	font-size: 2.5em;
}








.objekte .box-text {
	padding: 0px;
    background-color: rgba(51,51,51,0.85);
    position: relative;
    bottom: 50px;
    height: 50px;
	transition: .25s;
}
.objekte .box-text p {
	color: white;
    font-family: OswaldRegular;
    font-size: 16px;
    padding-top: 12px;
}
.objekte .box:hover .box-text {
	background-color: rgb(227,0,26);
}
.objekte .large-12 p {
	font-family: GreatVibes;
    text-align: center;
    font-size: 37px;
    font-weight: 500;
	margin-bottom: -10px;
}

.objekte.projekte .box-text-inner {
    overflow: hidden;
    height: 50px;
}
.objekte.projekte .box-text-inner > .row {
	position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
}
.objekte.projekte .box-text-inner > .row > .gallery-col {
	padding: 0;
    top: -170px;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    flex-basis: 100%;
    height: 220px;
    overflow: hidden;
}
.objekte.projekte .box-text-inner > .row > .gallery-col:not(:first-of-type) {
	display: none;
}


.matterport iframe {
	border: none;
	width: 100%;
	height: 700px;
}
.button:hover {
	background-color: rgb(227,0,26)!important;
	border-color: rgb(227,0,26)!important;
}



#footer .col:before {
	    content: '';
    width: 115px;
    border-bottom: solid 1px grey;
    position: absolute;
    top: 38%;
    z-index: 1;
    transform: rotate(90deg);
    right: calc(104px / 2 * -1);
}
#footer .icon-box-image, #footer .icon-box-text {
	display: table-cell;
}
#footer .icon-box {
	display: table;
}
.footerblock {
	padding-top: 40px;
    padding-bottom: 20px;
}
.footerblock .icon-box-text p {
	font-family: OswaldBold;
}
.footerblock .icon-box-text p span:first-of-type {
	color: red;
}
.footerblock .col-inner > p {
	font-family: OswaldRegular;
	font-size: 13px;
}


.footer-primary {
	color: white;
}


/*==============================
				Dienstleistungen
==============================*/
.dienst1 .icon-box {
	text-align: center;
}
.dienst1 .icon-box-img {
	margin: 0 auto;
	padding-bottom: 20px;
}
.dienst1 h3 {
	color: rgb(227,0,26);
	font-family: OswaldRegular;
}
.dienst1 .icon-box-text p {
	font-family: OswaldRegular;
}
.realisationBtn, .begleitungBtn, .shopBtn, .planungBtn {
	background-color: #333;
}
.dienst1 .button span {
	position: relative;
    top: -12px;
}
.dienst1 .realisationBtn span:before {
	background-image: url("http://gastra.ch.fahrenheit.sui-inter.net/wp-content/uploads/2018/06/Realisation-weiss.png");
}
.dienst1 .planungBtn span:before {
	background-image: url("http://gastra.ch.fahrenheit.sui-inter.net/wp-content/uploads/2018/06/Planung-weiss.png");
}
.dienst1 .begleitungBtn span:before {
	background-image: url("http://gastra.ch.fahrenheit.sui-inter.net/wp-content/uploads/2018/06/Begleitung-weiss.png");
}
/*.dienst1 .shopBtn span:before {
	background-image: url("http://gastra.ch.fahrenheit.sui-inter.net/wp-content/uploads/2018/06/Shop-weiss.png");
}*/
.dienst1 .button span:before {
	content: " ";
	display: block;
	width: 30px;
	height: 30px;
	background-size: 30px 30px;
	position: relative;
    top: 27px;
    left: -32px;
}





.impressionen .box-text {
	height: 50px;
    padding: 0;
    position: relative;
    /*top: -50px;*/
    background-color: rgba(51,51,51,0.85);
    color: white;
    /* Da sonst Titel in Textbox verschoben
	padding-top: 12px;*/
    font: 16px OswaldRegular;
	transition: .25s;
}
.impressionen .large-12 p {
	font-family: GreatVibes;
    text-align: center;
    font-size: 37px;
    font-weight: 500;
    margin-bottom: -10px
}
.impressionen .large-12 h4 {
	font: 16px OswaldRegular;
	padding-top: 5px;
	color: white;
	margin: 0;
    padding-top: 10px;

    white-space: nowrap;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}
.impressionen .gallery-col {
	display: none;
}
.impressionen .gallery-col:nth-child(-n+9) {
    display: block;
}
.moreImpBtn {
	color: #333;
	font-family: OswaldRegular;
	border-color: #333;
}
.primary.is-outline {
	color: #333;
}
.impressionen .gallery-col .col-inner:hover .box-text {
	background-color: rgb(227,0,26);
}





.historyImg > .col {
	padding: 0px;
}



/*========================
						TEAM
========================*/
.team .box-text p {
	color: #eeeeee;
	padding-top: 12px;
	font-family: OswaldLight;
}
.team .box-text {
	background-color: rgba(51,51,51,0.85);
    padding: 0px;
    /*height: 50px;*/
    position: relative;
    /*top: -50px;*/
	animation: slideDown 0.25s linear forwards;
}
.team .box-text h3 {
	color: white;
	font: 16px OswaldRegular;
	padding-top: 12px;
}
.team .box:hover .box-text {
	background-color: rgba(227,0,26,0.85);
	animation: slideUp 0.25s linear forwards;
}
.team .box {
	height: 0px;
	padding-bottom: 66%;
}




a.quick-view {
	background-color: rgb(227,0,26);
}
input[type='button'].button, input.qty {
	border: 1px solid #333;
}
input[type='button'].button:hover {
	background-color: #333!important;
	border-color: #333!important;
	color: white;
}
button[name=add-to-cart] {
	background-color : white!important;
	border: 1px solid #333;
	color: #333;
}
p.buttons  a {
	background-color: white;
	border: 1px solid #333;
	color: #333;
}
p.buttons a.checkout {
	background-color: #333;
	color: white;
}
.button.alt {
	background-color: rgb(227,0,26);
}


input[type='submit'] {
	background-color: #333;
	transition: .25s;
}
input[type='submit']:hover {
	background-color: rgb(227,0,26);
}


/*===========================================================
						Mobile Ansicht
===========================================================*/

html .header-main .cart-icon strong {
	border-color: black!important;
	color: black!important;
}
html .header-main .cart-icon strong:after {
	border-color: black!important;
}

html li.cart-item {
	display: none;
}

@media (max-width: 768px) {
	.header-bottom-text p {
		font-size: 0.85em;
	}
	.jahre30 .box-text p {
		font-size: 1.3em;
	}
	.jahre30 .section-content > p {
		font-size: 2em!important;
	}
	.impressionen h1 {
		font-size: 2em!important;
	}
	.produkte .large-12 .col-inner > p {
		font-size: 2em!important;
	}


	ul.nav.nav-sidebar > .header-search-form,
	ul.nav.nav-sidebar > .account-item,
	ul.nav.nav-sidebar > .header-newsletter-item,
	ul.nav.nav-sidebar > .header-social-icons {
		display: none!important;
	}
	.off-canvas .sidebar-menu {
		padding: 0px;
	}
	#html2 {
		text-align: left!important;
	}


	ul.nav a i {
		display: block;
	}
	html .header-main .nav > li > a > i:not(.icon-angle-down) {
		color: black!important;
		font-size: 40px;
	}


	.kunden .img .img-inner {
		margin-left: -1px;
	}
	.kunden .col-inner h4 {
		padding-top: 25px;
		font-size: 2em;
	}

	.header-bottom-text {
	    height: 75px;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    flex-wrap: nowrap;
	    padding: 0;
	}
	.header-bottom-text > .col {
		padding-bottom: 0;
	}
	.header-bottom-text > .col p {
		margin: 0;
	}
	.section.impressionen .news__list {
		height: 200px!important;
	}


	.gallery-item {
		display: inline-block;
		width: calc(100% / 3);
	}
	.gallery-icon img {
		width: 100%;
	}


	#footer .col.medium-2 {
		padding: 0px;
		margin: 0px 70px 15px 70px;
		border-top: 1px solid black;
		padding-top: 15px;
	}
	#footer .col:before {
		display: none;
	}
	#footer .col p {
		text-align: center;
	}
}

.badge.post-date {
	display: none;
}
.entry-image {
	width: 50%;
	display: inline-block;
}

.seminar-wrapper {
	display: inline-block;
}
.seminar-wrapper .seminar-thumb {
	background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: white;
	height: 300px;
}
.seminar-wrapper .seminar-text {
	background-color: rgba(0,0,0,0.6);
    color: white;
    text-align: center;
    height: 50px;
    position: relative;
    top: -50px;
    font-size: 20px;
    line-height: 47px;
	transition: .15s;
}
.seminar-wrapper:hover .seminar-text {
		background-color: rgba(0,0,0,0.8)
}
.seminar-formular {
	bottom: 0;
	width: 45%;
    left: 55%;
	position: absolute;
}


.seminareSection h2 {
	color: #e3001a;
	margin-top: 30px;
}
.seminareSection p {
	padding: 0 30px;
}
.seminareSection h6 {
    border: 1px solid rgba(0,0,0,0.2);
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    max-width: 250px;
    text-transform: none;
    margin-bottom: 12px;
}
.seminareSection img {
	height: 150px;
    width: 100%;
    object-fit: cover;
    transition: all .2s;
}
.seminareSection .row .col.medium-6 {
    border: 1px solid rgba(0,0,0,0.2);
    padding: 0px;
    margin: 0 20px 40px 20px;
    /*width: calc(50% - 40px);*/
    /*min-width: calc(50% - 40px);*/
    /*max-width: calc(50% - 40px);*/
    transition: all .2s;
}
@media (min-width: 768px) {
	.seminareSection img {
		height: 300px;
	}
	.seminareSection .row .col.medium-6 {
	    width: calc(50% - 40px);
	    min-width: calc(50% - 40px);
	    max-width: calc(50% - 40px);
	}
}
.seminareSection .row .col.medium-6:hover {
	box-shadow: 0 0 10px 0px #afafaf;
}
.seminareSection .row .col.medium-6:hover img {
	transform: scale(1.1);
}
.seminareSection .row .col.medium-6 h6:last-of-type {
	border: none;
}
.seminareSection .row .col.medium-6 a {
	font-size: 18px;
	transition: all .2s;
}
.seminareSection .row .col.medium-6 a:before {
    content: ' ';
    position: relative;
    width: 12px;
    height: 12px;
    border: 1px solid rgb(85,85,85);
    left: -12px;
    display: inline-block;
    top: 0px;
    background: #e0e0e0;
    border-radius: 50%;
}



.entry-header {
	position: relative;
}
.eventorganiser-event-meta {
	display: none;
}
.wpcf7-form > p:nth-of-type(3) {
	display: none;
}

@keyframes newsLoaderProgress {
	from {width: 0;}
	to {width: 100%;}
}

.section.impressionen .news__list {
	list-style: none;
	margin-bottom: 0px;
	height: 400px;
	overflow: hidden;
	position: relative;
}
.section.impressionen .news__list li {
	margin: 0px;
	transition: all 1s;
	position: absolute;
	height: inherit;
	opacity: 0;
}
.section.impressionen .news__list li.active {
	opacity: 1;
}
.section.impressionen .news__list li.active:before {
	content: ' ';
	position: absolute;
	height: 3px;
	background: #e2001a;
	animation: newsLoaderProgress 7s linear 0.5s;
	bottom: 0px;
	z-index: 1
}
.section.impressionen .news__list a {
	width: 100%;
	height: 100%;
}
.section.impressionen .news__list img {
	width: 100%;
	height: 100%;
}
.section.impressionen .news__list li a h4,
.section.impressionen .news__list li a p {
	display: none;
}








/* --------------------------------

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

/* --------------------------------

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/* --------------------------------

Main components

-------------------------------- */
#cd-timeline {
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
#cd-timeline::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #ccc;
}
.fa {
	margin-top: 10px;
	font-size: 20px;
}
@media only screen and (min-width: 1170px) {
	#cd-timeline {
		margin-top: 3em;
		margin-bottom: 3em;
	}
	#cd-timeline::before {
		left: 50%;
		margin-left: -2px;
	}
	.fa {
		font-size: 26px;
		margin-top: 16px;
	}
}

.cd-timeline-block {
  position: relative;
  margin: 2em 0;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-block {
    margin: 4em 0;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}

.cd-timeline-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
  text-align: center;
  background: #e2001a;
}
.cd-timeline-img img {
  display: block;
  /*width: 24px;
  height: 24px;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  margin-top: -12px;*/
}
.cd-timeline-img.cd-picture {
  background: #75ce66;
}
.cd-timeline-img.cd-movie {
  background: #c03b44;
}
.cd-timeline-img.cd-location {
  background: #f0ca45;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-img {
    width: 60px;
    height: 60px;
    left: 50%;
    margin-left: -30px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
  .cssanimations .cd-timeline-img.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}

@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -moz-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -moz-transform: scale(1.2);
  }

  100% {
    -moz-transform: scale(1);
  }
}
@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
.cd-timeline-content {
  position: relative;
  margin-left: 60px;
  background: #ffffff;
  border-radius: 0.25em;
  padding: 1em;
  box-shadow: 0 3px 0 #ccc;
}
.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  display: inline-block;
}
.cd-timeline-content .cd-read-more {
  float: right;
  padding: .8em 1em;
  background: #CC1A1A;
  color: white;
  border-radius: 0.25em;
}
.no-touch .cd-timeline-content .cd-read-more:hover {
  background-color: #bac4cb;
}
.cd-timeline-content .cd-date {
  float: left;
  padding: .8em 0;
  opacity: .7;
}
.cd-timeline-content::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid white;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-content {
    margin-left: 0;
    padding: 1.6em;
    width: 45%;
  }
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #ffffff;
  }
  .cd-timeline-content .cd-read-more {
    float: left;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: white;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
  .cssanimations .cd-timeline-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }
}

@media only screen and (min-width: 1170px) {
  /* inverse bounce effect on even content blocks */
  .cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    -moz-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }
}
@-webkit-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateX(20px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    -o-transform: translateX(-100px);
    transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -moz-transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateX(-20px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    -o-transform: translateX(-20px);
    transform: translateX(-20px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
.sub-menu {
	overflow: visible!important;
}


section.news .news__list {
	list-style: none;
	padding-bottom: 50px;
}
section.news .news__list li {
	width: 50%;
}
section.news .news__list li h4 {
	margin-top: 15px;
}
@media (max-width: 767px) {
	.section.news .news__list li {
		width: auto;
    	margin: 0;
	}
}

.video + p {
	position: absolute;
    bottom: 0;
    text-align: center;
    background: rgba(51,51,51,0.85);
    width: 100%;
    color: white;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 16px OswaldRegular;
    padding-top: 5px;
    color: white;
    margin: 0px;
    padding-top: 0;

}

@media (max-width: 767px) {
	.video + p {
		top: 100%;
	}
	.video {
		margin-bottom: 70px;
	}
	.flickity-viewport {
		height: 300px!important;
	}
	.flickity-viewport .banner {
		padding-top: 300px!important;
	}
	#footer .icon-box .icon-box-img {
		width: 40px!important;
		left: 50%;
		transform: translateX(-50%);
		padding-bottom: 10px;
	}
	#footer .icon-box .icon-box-text {
		width: 100%;
		display: block;
		padding: 0;
	}
}
.flickity-page-dots {
	pointer-events: all!important;
}
.socialContent .socialText {
	font-family: OswaldRegular;
}