/*////////////////////////////////////////////////////////////////////////////////////

    Modules css - Medienreformer

/////////////////////////////////////////////////////////////////////////////////////*/

/*-----------------------------------------------------------------------------------*/
/*	MODULES - Accordion
/*-----------------------------------------------------------------------------------*/

.accordion {
	border-top: 1px solid #f7f7f7;
	border-right: 1px solid #f7f7f7;
	border-left: 1px solid #f7f7f7;
}

.accordion:last-child {
	border-bottom: 1px solid #f7f7f7;
}

.accordion .trigger {
	
}

.accordion .trigger, 
.accordion .trigger-link{
    margin: 0;
    padding-right: 85px;
    position: relative;
	line-height: 1.6;
}

.accordion .trigger, 
.accordion .trigger-link {
    cursor: pointer;
    margin-bottom: 0;
    padding: 20px;
}

.accordion .trigger,
.accordion .toggle_container {
	background-color: #ffffff;
}

.accordion .toggle_container {
    width: 100%;
    padding: 20px;
}

.accordion .toggle_container p {
	margin-top: 0;
}

/* animation */
.accordion .trigger {
	display: flex;
	justify-content: space-between;
}
    
.icon:hover {
    cursor: pointer;
}
        
.trigger_active .icon:before { 
	transform: rotate(90deg); 
}
.trigger_active .icon:after { 
	transform: rotate(180deg); 
}

.icon {
    position: relative;
    width: 16px;
    height: 16px;
    margin-right: 20px;
    margin-left: 20px;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
}

.icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.icon:before {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    margin-left: -1px;
}

.icon:before, 
.icon:after {
    content: "";
    position: absolute;
    background-color: var(--btn-secondary-bgcolor);
    transition: transform 0.15s ease-out;
}

.icon:after {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    margin-top: -1px;
}

@media (min-width: 992px) {
	
	.accordion .toggle_container {
	    padding-right: 60px;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	Widget tabs vertical
/*-----------------------------------------------------------------------------------*/

.tabs-vertical {
  	position: relative;
	border-bottom: 1px solid #eee;
	background-color: #fff;
}

.tabs-vertical .tabs-list {
	background-color: #FFF;
	margin: 0;
	padding: 0;
}

.tabs-vertical .tabs-list li {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	padding: 15px;
	margin: 0;
  	cursor: pointer;
  	border-bottom: 1px solid #eee;
}

.tabs-vertical .tabs-list li:first-child {
  	border-top: 1px solid #eee;
}

.tabs-vertical .tabs-list li a {
  	color: #404040;
	display: block;
	cursor: pointer;
}

.tabs-vertical .tabs-list li:hover,
.tabs-vertical .tabs-list li.active {
  	background-color: #fff;
}

.tabs-vertical .tab-content {
  	padding: 15px;
  	background-color: #FFF;
  	border-right: 1px solid #eee;
  	border-left: 1px solid #eee;
}

.tabs-vertical .tab-content h3 {
	margin: 1rem 0;
}

.tabs-vertical .tabs-navigation {
	border-right: 1px solid #eee;
  	border-left: 1px solid #eee;
}

@media (min-width: 992px) {

	.tabs-vertical {
		display: -ms-flexbox;
		display: flex
	}
	
	.tabs-vertical .tabs-navigation {
		width: 40%;
		-ms-flex-negative: 0;
		flex-shrink: 0;
		border-right: none;
	}
	
	.tabs-vertical .tabs-list {
		display: -ms-flexbox;
		display: flex;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		-ms-flex-direction: column;
		flex-direction: column
	}
	
	.tabs-vertical .tabs-list li:last-child {
	  	border-bottom: none;
	}
	
	.tabs-vertical .tab-content {
	  	border-right: 1px solid #eee;
	  	border-top: 1px solid #eee;
	  	border-left: 1px solid #eee;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	Widget tabs horicontal
/*-----------------------------------------------------------------------------------*/

.tabs-horizontal {
  	position: relative;
	border-bottom: 1px solid #eee;
}

.tabs-horizontal .tabs-list {
	background-color: #FFF;
}

.tabs-horizontal .tabs-list li {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	padding: 15px;
  	cursor: pointer;
  	border-left: 1px solid #eee;
  	border-right: 1px solid #eee;
  	border-bottom: 1px solid #eee;
}

.tabs-horizontal .tabs-list li:first-child {
  	border-top: 1px solid #eee;
}

.tabs-horizontal .tabs-list li a {
  	color: #404040;
	display: block;
	cursor: pointer;
}

.tabs-horizontal .tabs-list li:hover,
.tabs-horizontal .tabs-list li.active {
  	background-color: #fff;
}

.tabs-horizontal .tab-content {
  	padding: 15px;
  	background-color: #FFF;
  	border-right: 1px solid #eee;
  	border-left: 1px solid #eee;
}

@media (min-width: 992px) {

	.tabs-horizontal {
		display: block
	}
	
	.tabs-horizontal .tabs-navigation {
		display: -ms-flexbox;
		display: flex;
		width: auto;
		background: transparent;
	}
	
	.tabs-horizontal .tabs-list {
		display: -ms-inline-flexbox;
		display: inline-flex;
		-ms-flex-direction: row;
		flex-direction: row;
	}
	
	.tabs-horizontal .tabs-list li {
	  	border-top: 1px solid #eee;
	  	border-bottom: none;
	}
	
	.tabs-horizontal .tabs-list li a {
		display: inline-block;
	}
	
	.tabs-horizontal .tab-content {
	  	border-left: 1px solid #eee;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	Blocks testimonials by med
/*-----------------------------------------------------------------------------------*/

.testimonial {
	text-align: center;
	background-color: #f7f7f7;
	padding: 20px;
}

.testimonial .testimonial-blockquote {
	color: #808080;
}

.testimonial .testimonial-text {
	display: block;
	margin-bottom: 15px;
}

.testimonial .testimonial-author {
	font-weight: bold;
	display: block;
	margin-bottom: 15px;
}

.testimonials .item figure img {
	display: block;
  	margin-left: auto;
 	margin-right: auto;
}

.testimonials .item {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 5px;
}

.testimonials .item .text,
.testimonials .item .name {
	text-align: center;
}

@media (min-width: 992px) {

	.testimonials .item .text p,
	.testimonials .item .name p {
		max-width: 80%;
		margin-right: auto;
		margin-left: auto;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	Skillbar
/*-----------------------------------------------------------------------------------*/

.skillbar-area {
	padding-top: 30px;
}

.skillbar .skillbar-bar {
	background: #000;
	/*visibility: hidden;*/
}

.skillbar .skillbar-bar-bg {
	background: #ffffff;
}

.skillbar {
	position:relative;
	display:block;
	margin-bottom:15px;
	width:100%;
	background: transparent;
	height:35px;
	-webkit-transition:0.4s linear;
	-moz-transition:0.4s linear;
	-ms-transition:0.4s linear;
	-o-transition:0.4s linear;
	transition:0.4s linear;
}

.skillbar .skillbar-title {
	position:absolute;
	top:10px;
	left:0;
	color:rgba(0, 0, 0, 0.5);
	font-size:13px;
}

.skillbar .skillbar-bar {
    -webkit-transition: width 1s ease-in-out;
    -moz-transition: width 1s ease-in-out;
    -o-transition: width 1s ease-in-out;
    transition: width 1s ease-in-out;
}

.skillbar .skillbar-bar {
	position:absolute;
	left:0;
	top:0;
	height:5px;
	width:0px;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	z-index: 2;
}

.panel-01 .skillbar:nth-child(1) .skillbar-bar {
	width: 90%;
}

.panel-01 .skillbar:nth-child(2) .skillbar-bar {
	width: 70%;
}

.panel-01 .skillbar:nth-child(3) .skillbar-bar {
	width: 60%;
}

.panel-02 .skillbar:nth-child(1) .skillbar-bar {
	width: 90%;
}

.panel-02 .skillbar:nth-child(2) .skillbar-bar {
	width: 70%;
}

.panel-02 .skillbar:nth-child(3) .skillbar-bar {
	width: 60%;
}

.skillbar .skillbar-bar-bg {
	position:absolute;
	left:0;
	top:0;
	height:5px;
	width:100%;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	z-index: 1;
}

.skillbar .skill-bar-percent {
	position:absolute;
	right:0;
	top:0;
	font-size:11px;
	line-height:35px;
	color:#ffffff;
	color:rgba(0, 0, 0, 0.5);
}

/*-----------------------------------------------------------------------------------*/
/*	Tiles
/*-----------------------------------------------------------------------------------*/

.tiles {
	background-color: #eee;
}

.tile {
  	align-items: stretch;
  	display: block;
  	flex-basis: 0;
  	flex-grow: 1;
  	flex-shrink: 1;
  	min-height: -webkit-min-content;
  	min-height: -moz-min-content;
  	min-height: min-content;
}

.tile.is-ancestor {
  	margin-left: -0.75rem;
  	margin-right: -0.75rem;
  	margin-top: -0.75rem;
}

.tile.is-ancestor:last-child {
  	margin-bottom: -0.75rem;
}

.tile.is-ancestor:not(:last-child) {
  	margin-bottom: 0.75rem;
}

.tile.is-child {
  	margin: 0 !important;
}

.tile.is-parent {
  	padding: 0.75rem;
}

.tile.is-vertical {
  	flex-direction: column;
}

.tile.is-vertical > .tile.is-child:not(:last-child) {
  	margin-bottom: 1.5rem !important;
}

.tile.box {
    background-color: #fff;
    display: block;
    padding: 1.25rem;
}

@media screen and (min-width: 769px), print {
  .tile:not(.is-child) {
    display: flex;
  }
  .tile.is-1 {
    flex: none;
    width: 8.33333%;
  }
  .tile.is-2 {
    flex: none;
    width: 16.66667%;
  }
  .tile.is-3 {
    flex: none;
    width: 25%;
  }
  .tile.is-4 {
    flex: none;
    width: 33.33333%;
  }
  .tile.is-5 {
    flex: none;
    width: 41.66667%;
  }
  .tile.is-6 {
    flex: none;
    width: 50%;
  }
  .tile.is-7 {
    flex: none;
    width: 58.33333%;
  }
  .tile.is-8 {
    flex: none;
    width: 66.66667%;
  }
  .tile.is-9 {
    flex: none;
    width: 75%;
  }
  .tile.is-10 {
    flex: none;
    width: 83.33333%;
  }
  .tile.is-11 {
    flex: none;
    width: 91.66667%;
  }
  .tile.is-12 {
    flex: none;
    width: 100%;
  }
}

/*-----------------------------------------------------------------------------------*/
/*	GRID - Feed
/*-----------------------------------------------------------------------------------*/

.feed {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: 350px;
	grid-gap: 15px;
	margin: 40px 0 40px 0;
}

.feed-item {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	padding: 20px;
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	position: relative;
}

.feed-item:hover {
	cursor: pointer;
	-webkit-box-shadow: 0px 30px 18px -8px rgba(0,0,0,0.1);
	        box-shadow: 0px 30px 18px -8px rgba(0,0,0,0.1);
	-webkit-transform: scale(1.02);
	-o-transform: scale(1.02);
	transform: scale(1.02);
}

.feed-item .feed-category,
.feed-item .feed-title {
	color: #ffffff;
	z-index: 10;
}

.feed-item .feed-category {
	font-size: 16px;
	line-height: 18px;
	font-weight: 700;
}

.feed-item .feed-title {
	font-size: 24px;
	line-height: 30px;
	font-weight: 300;
	margin: 10px 0 0 0;
}

.feed-item:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0; 
	background-image: -webkit-gradient(linear,  left top, left bottom,  from(rgba(10,10,10,0)), color-stop(50%, rgba(10,10,10,0)), to(rgba(10,10,10,0.7))); 
	background-image: -o-linear-gradient(top,  rgba(10,10,10,0) 0%, rgba(10,10,10,0) 50%, rgba(10,10,10,0.7) 100%); 
	background-image: linear-gradient(to bottom,  rgba(10,10,10,0) 0%, rgba(10,10,10,0) 50%, rgba(10,10,10,0.7) 100%);
}

.feed-item:nth-child(1),
.feed-item:nth-child(6),
.feed-item:nth-child(7) {
	-ms-grid-column: span 6;
	 grid-column-start: span 6;
}

.feed-item:nth-child(2),
.feed-item:nth-child(3),
.feed-item:nth-child(4),
.feed-item:nth-child(5),
.feed-item:nth-child(8),
.feed-item:nth-child(9) {
	-ms-grid-column: span 3;
	 grid-column-start: span 3;
}

@media (max-width: 991px) {
	
	.feed-item:nth-child(n) {
		-ms-grid-column: span 6;
		grid-column-start: span 6;	
	}
}

@media (max-width: 767px) {

	.feed-item:nth-child(n) {
		-ms-grid-column: span 12;
		grid-column-start: span 12;	
	}
}

/*-----------------------------------------------------------------------------------*/
/*	GRID - 01
/*-----------------------------------------------------------------------------------*/

@media (min-width: 992px) {

	.grid-1 {
		display: -ms-grid;
		display: grid;
		grid-template-columns: repeat(13, 1fr);
		grid-template-rows: repeat(10, 1fr);
		grid-column-gap: 0px;
		grid-row-gap: 0px;
		min-height: 80vh;
	}
	
	.grid-1 .grid-item:nth-child(1) {
		grid-area: 1 / 1 / 5 / 4;
	}
	
	.grid-1 .grid-item:nth-child(2) {
		grid-area: 5 / 1 / 11 / 4;
	}
	
	.grid-1 .grid-item:nth-child(3) {
		grid-area: 7 / 4 / 11 / 7;
	}
	
	.grid-1 .grid-item:nth-child(4) {
		grid-area: 1 / 4 / 7 / 7;
	}
	
	.grid-1 .grid-item:nth-child(5) {
		grid-area: 1 / 7 / 5 / 11;
	}
	
	.grid-1 .grid-item:nth-child(6) {
		grid-area: 5 / 7 / 9 / 11;
	}
	
	.grid-1 .grid-item:nth-child(7) {
		grid-area: 3 / 11 / 9 / 14;
	}
}

@media (max-width: 991px) {

	.grid-1 {
		display: flex;
		flex-wrap: wrap;
	}
	
	.grid-1 .grid-item:nth-child(n) {
		min-height: 140px;
		width: 50%;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	GRID - 02
/*-----------------------------------------------------------------------------------*/

.grid-2 {
	display: -ms-grid;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-auto-rows: 100px;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	grid-template-areas:
	"box1 box2 box3 box4"
	"box1 box2 box3 box4"
	"box1 box2 box3 box4"
	"box1 box2 box3 box4"
	"box5 box6 box7 box8"
	"box5 box6 box7 box8"
	"box5 box6 box7 box8"
	"box5 box6 box7 box8"
}

.grid-2 .grid-item:nth-child(1) {
	grid-area: box1;
}

.grid-2 .grid-item:nth-child(2) {
	grid-area: box2;
}

.grid-2 .grid-item:nth-child(3) {
	grid-area: box3;
}

.grid-2 .grid-item:nth-child(4) {
	grid-area: box4;
}

.grid-2 .grid-item:nth-child(5) {
	grid-area: box5;
}

.grid-2 .grid-item:nth-child(6) {
	grid-area: box6;
}

.grid-2 .grid-item:nth-child(7) {
	grid-area: box7;
}

.grid-2 .grid-item:nth-child(8) {
	grid-area: box8;
}

@media (max-width: 767px) {
	.grid-2 {
	grid-auto-rows: 100px;
	grid-template-areas:
	"box1 box1 box2 box2"
	"box1 box1 box2 box2"
	"box3 box3 box4 box4"
	"box3 box3 box4 box4"
	"box5 box5 box6 box6"
	"box5 box5 box6 box6"
	"box7 box7 box8 box8"
	"box7 box7 box8 box8"
	}	
}

@media (min-width: 992px) {

	.grid-2 {
		min-height: 80vh;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	Timeline
/*-----------------------------------------------------------------------------------*/

.timeline {
    position: relative;
    padding: 80px 0;
}

.timeline .container {
    position: relative;
}

.timeline .container::before {
    content: '';
    background: #2d2d2d;
    width: 1px;
    height: 109%;
    position: absolute;
    left: 50%;
    top: -10px;
}

.timeline-item {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.timeline-item::after {
    content: '';
    display: block;
    clear: both;
}

.timeline-img {
    width: 15px;
    height: 15px;
    background: #2d2d2d;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -7px;
}

.timeline-content {
	position: relative;
	width: 46%;
	padding: 30px;
	border-radius: 4px;
	background: #fff;
	-webkit-box-shadow: 0 20px 25px -15px rgba(0,0,0,.3);
	box-shadow: 0 20px 25px -15px rgba(0,0,0,.3);
}

.timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 48%;
    right: -15px;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent #fff;
    color: #fff;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
    padding: 30px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 48%;
    left: -15px;
    border-width: 15px 15px 15px 0;
    border-color: transparent #fff transparent transparent;
}


@media screen and (max-width: 768px) {
	
	.timeline .timeline-content {
	    max-width: 100%;
	    width: auto;
	    margin-left: 32px;
	}
	
	.timeline-item:nth-child(odd) .timeline-content::after {
		left: -15px;
		border-width: 15px 15px 15px 0;
    	border-color: transparent #fff transparent transparent;
	}
	
	.timeline .timeline-item:nth-child(even) .timeline-content {
    	float: none;
	}
	
	.timeline .container::before {
	    left: 15px;
	}
	
	.timeline .timeline-img {
    	left: 0; 
    }
}

/*-----------------------------------------------------------------------------------*/
/*	Timeline horizontal
/*-----------------------------------------------------------------------------------*/

.timeline-h {
    justify-content: center;
}

.timeline-h > * {
	text-align: center;
	position: relative;
	padding-top: 20px;
	padding-bottom: 20px;
	min-height: 80px;
}

.timeline-h-img {
    width: 14px;
    height: 14px;
    background: #2d2d2d;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: -7px;
    margin-left: -7px;
}

.line--top .timeline-h-img {
    top: -7px;
    margin-left: -7px;
}

.timeline-h .timeline-h-content {
	position: absolute;
	width: 40px;
	height: 40px;
	background-color: #fff;
	border-radius: 10px;
	line-height: 40px;
	z-index: 5;
	right: 50%;
	transform: translateX(50%);
}

.timeline-h .line--top:after,
.timeline-h .line--bottom:after {
	content: "";
	position: absolute;
	width: 1px;
	height: 50%;
	background-color: #000;
	top: 0;
	right: 50%;
	margin-left: -1px;
	z-index: 0;
}

.timeline-h .line--bottom:after {
	top: 50%;
}

.line--top .timeline-h-content {
	bottom: 10px;
}

.line--bottom .timeline-h-content {
	top: 10px;
}

@media (min-width: 992px) {

	.line--bottom {
		border-bottom: 1px solid black;
	}
}