/*
Theme Name: BRF Onsö 1
Description: Tema för Wordpress byggd speciellt för bostadsrättsföreningen Onsö 1 baseras på grundtemat Understrap
Author: Mattias Kallio
Template: understrap

Colors: dark blue: #003366 light blue: #b5d9ff lighter blue: #b6d9ff
*/
body {
	color: #2b2b2b;
	background-color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 17px;
}

h1, h2, h3, h4{
	font-family: "Merriweather", sans-serif;
	color: #323232;
}

h1, h2{
	margin: 30px 0;
	color: #003366;
}
h1{
	text-align: center;
	overflow: hidden;
}

h4{
	border-bottom: 3px solid #009ee3;
}

h1:after {
	background: none repeat scroll 0 0 #3968af;
	bottom: -10px;
	content: "";
	display: block;
	height: 3px;
	position: relative;
	margin: 5px auto;
	margin-bottom: 40px;
	width: 55px;
}

img{
	max-width: 100%;
	display: -webkit-box;
}

li.widget{
	list-style: none;
}

/**
* Gutenberg
*/
.entry-content .alignwide {
	margin-left  : -80px;
	margin-right : -80px;
}
.entry-content .alignfull {
	margin-left  : calc( -100vw / 2 + 100% / 2 );
	margin-right : calc( -100vw / 2 + 100% / 2 );
	max-width    : 100vw;
	width:auto;
}


.alignfull img {
	width: 100vw;
}


.entry-meta{

	padding: 2px 10px;
    background: #009ee3;
    color: white;
    text-align: right;
    font-size: 13px;
}

.entry-meta a {
    color: #ffffff;
}

.bg-dark {
	/* background-color: #003366!important; */
	background-color: #002f5f!important;
}

.fixed-top {
	top: auto;
}

.navbar{
	z-index: 100;
	padding: 5px 0 0px;
	border-bottom: 2px solid white !important;
}

.navbar-brand img{
	display: inline-block;
	max-width: 150px;
}

.menu-toppmenyn-container{
	margin-top: -7px;
}

.menu {
	display: block;
	list-style-type: none;
	margin-bottom:0;
}
.menu li{
	display: inline;
}
.menu a{
	margin-left:20px;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 13px;
}
.menu a:hover{
	color: #009ee3;
	transition: color 2s;
	text-decoration: none;
}

#mega-menu-wrap-primary .mega-menu-toggle {
	background: #002f5f;
}

.site-main{
	min-height:700px;
	margin-top: 81px;
}

.single .site-main{
	margin-top:123px;
}

.big_top_splash{
	margin-top: -140px;
}

.post-title{
	margin-top: 20px;
	text-align: left;
}

.wrapper {
	padding: 5px 0;
}

.wp-block-cover, .wp-block-cover-image {
	/* background-color: #444444; */
	filter: grayscale(0%);
	background-color: #00264c;
	transition: filter 2s;
	margin-bottom: 40px;
}
.wp-block-cover:hover, .wp-block-cover-image:hover {
	/* background-color: #444444; */
	filter: grayscale(100%);
	background-color: #00264c;
	transition: filter 2s;
}
.wp-block-cover.has-background-dim:before {
	opacity: 0.0;
	transition: opacity 2s;
}
.wp-block-cover.has-background-dim:hover:before {
	opacity: 0;
	transition: opacity 2s;
}
.wp-block-cover-text{
	text-shadow: 0px 0px 5px black;
	display: none;
}

.blockboxar .wp-block-column, .blockboxar .wp-block-column:not(:last-child) {
    margin-right: 0px;
    padding: 20px;
    background: whitesmoke;
	border-radius: 10px;
}

.wpcf7-form-control-wrap {
    position: relative;
    margin-bottom: 10px;
    display: inline-block;
}
.btn, .wpcf7 input[type=submit] {
	width:auto;
}
.btn-outline-primary, .wpcf7 input[type=submit]{
	color: #002f5f;
    background-color: transparent;
    background-image: none;
    border-color: #009ee3;
}
.btn-outline-primary:hover, .wpcf7 input:hover[type=submit] {
    color: #fff;
    background-color: #002f5f;
    border-color: #009ee3;
}

ul{
	padding: 0;
	padding-left: 15px;
	list-style-type: none;
}

a {
	color: #009ee3;
}
a:hover {
	color: #003366;
	text-decoration: none;
}

#wrapper-footer-full, #wrapper-static-hero {
	background-color: #eaeaea;
	padding-top: 30px;
	color: #848484;
}

#footer-full-content{
	padding-bottom: 20px;
	font-size: 14px;
}

#footer-full-content h3{
	font-size: 21px;
    color: #353535;
}

#footer-full-content a {
    color: #009ee3;
}

#footer-full-content a:hover {
    color: #0eb0f5;
}

#footer-full-content h4 {
	color: #404040;
    font-size: 15px;
    border-bottom: 0;
    margin-bottom: 2px;
    margin-top: 15px;

}

.site-info{
	text-align: center;
    font-size: 12px;
    color: gray;
}

.toppslider{
	margin-bottom:60px;
}


@media (max-width:600px){
	h1{
		font-size: 28px;
	}
	h4{
		text-align: center;
	}
	.bkr_description_inner {
		color: #afafaf;
		margin-top: 2px;
	}
	.bkr_logo img {
		margin-top: 0px;
	}

	.navbar {
		padding: 5px 0 0px;
		border-bottom: none;
	}
	.navbar-brand {
		width: 100%;
		text-align: center;
	}
	.navbar-brand img{
		display: inline-block;
		max-width: 150px;
	}
	.fixed-top {
		position: initial;
	}
	.site-main {
		margin-top: -5px;
	}

	#footer-full-content {
		text-align: center;
	}
	.footer-widget{
		margin-bottom:20px;
	}
}
