/*
Theme Name:     Layout
Version:        1.0.0
Description:    Theme for bvo.ch
Author:         artesmedia.ch
Author URI:     https://artesmedia.ch/
Template:       enfold
*/
@media only screen and (min-width: 989px) {
#top .frontpage-colorsection-special .flex_column_table {
    margin-top: -250px!important;
	}
}
@media only screen and (max-width: 989px) {
#top .frontpage-colorsection-special .flex_column_table {
    margin-top: -170px!important;
	}
}
@media only screen and (min-width: 989px) {
#top .frontpage-colorsection-special02 .flex_column_table {
    margin-top: -200px!important;
	}
}
@media only screen and (max-width: 989px) {
#top .frontpage-colorsection-special02 .flex_column_table {
    margin-top: -280px!important;
	}
}
#top .frontpage-colorsection-special02 {
	border-top:9px solid #ff0000!important;
}


/* remove news-thumb
--------------------------------------------------------------*/
.newsbox .news-thumb {
	display:none;
}
/* END news-thumb
--------------------------------------------------------------*/

/* rough & ready
--------------------------------------------------------------*/
h1 { hyphens: auto!important; }
h3 { hyphens: auto!important; }
/* END rough & ready
--------------------------------------------------------------*/
.alternate_color {
	border-top:9px solid #e11a27;	
}

/* slider on top of page
--------------------------------------------------------------*/

/* END slider on top of page
--------------------------------------------------------------*/


body {
	background:#fff;
}


/* grid standard in main & alternate color
--------------------------------------------------------------*/
.av-layout-grid-container {
	border-top:0px solid #e11a27;	
}
.av-layout-grid-container + .av-layout-grid-container {
	border-top:0px solid #e11a27;
}
/* END grid standard in main & alternate color
--------------------------------------------------------------*/


/* = changing column order in grid-element
--------------------------------------------------------------*/ 
/*.flexcontainer .flexfirst {
	padding-left:20%!important;
}*/
@media only screen and (max-width:989px) {
	.flexcontainer {
		display:flex!important;
		flex-wrap:wrap!important;
	}
	.flexfirst {
		order:2!important;	
	}
	.flexlast {
		order:1!important;	
	}
}
/* = END changing column order in grid-element
--------------------------------------------------------------*/ 


/* color sections in main & alternate color
--------------------------------------------------------------*/
#top #wrap_all #main .avia-section.main_color.avia-no-border-styling {
	border-top:0px solid #e11a27;
}
#top #wrap_all #main .avia-section.alternate_color.avia-no-border-styling {
	border-top:0px solid #e11a27;
}
#top #wrap_all #main .frontpage-colorsection-special.avia-section.main_color.avia-no-border-styling {
	border-top:9px solid #e11a27;
}
#top #wrap_all #main .frontpage-colorsection-special.avia-section.alternate_color.avia-no-border-styling {
	border-top:9px solid #e11a27;
}
/* END color sections in main & alternate color
--------------------------------------------------------------*/


/* layout stretched
----------------------------------------------------------*/  
#wrap_all {
	margin:0 auto;
	max-width:1920px;
}
#header {
	margin:0px auto;
	max-width:1920px;
}
@media only screen and (min-width:1600px) and (max-width:1920px) {
	.html_stretched #main {
		padding-left:130px;
		padding-right:130px;
		background:#fff;
	}
		#header {

		background:#fff;
	}
}
/* END layout stretched
----------------------------------------------------------*/



/* headings
--------------------------------------------------------------*/
h1 {
	font-size:36px;
	letter-spacing: 0.5px;
}
h2 {
	font-size:30px;
	letter-spacing: 0.2px;
	
}
h3 {
	font-size:25px;
}
/* END headings
--------------------------------------------------------------*/


/* masonry news
--------------------------------------------------------------*/
#masonry-news.frontpage {
	margin-top:80px;
}
#masonry-news {
	
}

#top .alternate_color .container .av-inner-masonry-content, 
#top .alternate_color .container .av-masonry-load-more, 
#top .alternate_color .container .av-masonry-sort, 
#top .alternate_color .container .av-masonry-entry .avia-arrow {
    background-color:#fcfcfc;
}
#top .alternate_color .av-masonry-entry {
	background:#fcfcfc;
}
#top .main_color .container .av-inner-masonry-content, 
#top .main_color .container .av-masonry-sort, 
#top .main_color .container .av-masonry-entry .avia-arrow {
    background-color:#fff;
}
#top .main_color .av-masonry-entry {
	background:#fff;
}
#top .main_color .container .av-masonry-load-more  {
	background:#e11a27;
}
#top .av-masonry-load-more {
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 13px;
    visibility: hidden;
    opacity: 1;
    overflow: hidden;
    width: 150px;
    background:#e11a27;
    margin: 0 auto;
    color:#fff;
}

/* END masonry news
--------------------------------------------------------------*/


/* share link buttons
--------------------------------------------------------------*/
.av-share-box .av-share-link-description {
    margin-bottom: 20px;
    display: none;
}
/* END share link buttons
--------------------------------------------------------------*/


/* iconbox > remove symbol on smartphone
--------------------------------------------------------------*/
@media only screen and (max-width: 451px) {
	.iconbox_icon {
		display:none;
	}
}
@media only screen and (max-width: 451px){
#top .iconbox-special h3.iconbox_content_title a {
	color:#e11a27;
	}	
}
/* END iconbox > remove symbol on smartphone
--------------------------------------------------------------*/


/* textblock for page menu in top-grid
--------------------------------------------------------------*/
.menue-horizontal-textblock ul {
	margin:20px 0;
	padding:0px;
}	
.menue-horizontal-textblock li {
	margin:0px;
	padding:15px 0;
	list-style-type:none;
	display:inline-block;
}

.menue-horizontal-textblock a:link,
.menue-horizontal-textblock a:visited {
	margin: 0 20px 0 0;
	padding:10px;
	color:#fff;
	border:1px solid white;
}
.menue-horizontal-textblock a:hover {
	color:#e11a27;
	background:#fff;
}
.menue-horizontal-textblock a:active {
	color:#fff;
}

/* END textblock for page menu in top-grid
--------------------------------------------------------------*/


/* archives
--------------------------------------------------------------*/
.text-sep,
.comment-container,
.blog-categories,
.blog-author {
	display:none;
}
/* archives
--------------------------------------------------------------*/


/* news -> single news
----------------------------------------------------------*/ 
#top #wrap_all #farbsektion-news h1 {
	padding-bottom:10px;
}
#news-bild-main {
	margin-bottom:40px;	
}
#top #wrap_all #news-textblock-main h2 {
	font-size:20px;
	font-weight:600;
	line-height:1.4em;
	margin-bottom:8px;
	letter-spacing:0px;
}
#news-textblock-main bold,
#news-textblock-main strong  {
	color:#000;
}
#top #wrap_all #news-textblock-main p {
	line-height:1.6em;
	margin-top:0px;
}
.news-textblock-quellenangabe p {
	font-size:14px;
	font-weight:bold;
}
.news-textblock-quellenangabe a:link {
	font-weight:bold;
}
.news-textblock-quellenangabe a:hover {
	color:#e33642;	
}
#news-masonry-gallery {
	margin:50px 0 30px 0;
}
#news-teilen-buttons {
	margin-top:60px;
}
/* news -> single news
----------------------------------------------------------*/ 


/* seite nachrichtenarchiv -> wordpress archivseite
--------------------------------------------------------------*/
body.archive.category .category-term-description p {
	font-size:35px;
	font-weight:700;
	padding-bottom:40px;
}
#top #wrap_all #farbsektion-news h1 {
	font-size:35px;
	font-weight:700;	
}
#top.page-id-3947 #wrap_all #masonry-news,
#top.page-id-8173 #wrap_all #masonry-news{
	padding-top:0px;
	display:flex!important;
	flex-wrap:wrap!important;
}
#top.page-id-3947 #wrap_all #masonry-news div.av-masonry-container,
#top.page-id-8173 #wrap_all #masonry-news div.av-masonry-container{
	order:2!important;	
}
#top.page-id-3947 .av-masonry-container,
#top.page-id-8173 .av-masonry-container {
	padding-top:30px;
}
#top.page-id-3947 div.av-masonry-pagination,
#top.page-id-8173 div.av-masonry-pagination{
	order:1!important;	
}
#top.page-id-3947 .av-masonry-pagination,
#top.page-id-8173 .av-masonry-pagination {
	position:relative;
	clear: both;
    z-index:2;
    bottom:0px;
    right:0px;
    padding:0px 0 0px 0;
    display:inline-block;
    width:100%;
}



/* footer page
--------------------------------------------------------------*/
#top #main #footer-page.container_wrap {
	border:0px;
}
#footer-page .avia_textblock a {
	text-decoration:none;
}
/* END footer page
--------------------------------------------------------------*/