/*
Theme Name: Brinken
Author: Marten Olofsson
Description: Brinken bostadsrättförening
Version: 0.0.1
Tags: brinken
*/

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;
}

* {
    box-sizing: border-box;
}
html,
body {
   margin:0;
   padding:0;
   height:100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.3;
  position: relative;
  font-size: 14px;
}

.blog-post {
  margin-bottom:20px;
  border-bottom: 1px solid #e4e4e5;
}

.image-container {
  position: relative;
	padding-bottom: 32.33%;
  height:0;
  margin-bottom: 20px;
  overflow: hidden;
}

.image-container.image-container-full {
  margin-top:-30px;
}

.image-container img {
  position:absolute;
  top:0;
  left:0;
  width: 100%;
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
  word-break: break-word;
}
h2 {
  font-size: 24px;
	margin-bottom: 10px;
}
h3 {
  font-size: 22px;
	margin-bottom: 10px;
}
h4 {
  font-size: 20px;
}
p {
  margin-bottom: 20px;
  line-height: 1.7;
}
i {
  font-style: italic;
}
strong, b {
  font-weight: bold;
}
small {
	font-size: 14px;
	color: gray;
}
img.full{
	max-width: 100%;
  height: auto;
}
i, em {
	font-style: italic;
}
.alignright {
	margin-left: 10px;
	float:right;
}
.contact-listing-page h2 {
  margin-bottom: 20px;
}
.home-link {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
}

.home-link img {
  height: auto;
   width: 140px;
   left: 25px;
   top: 50%;
   position: absolute;
   display: block;
   transform: translateY(-50%);
}

.menu-huvudmeny-container .search-icon {
  position:absolute;
  right: 0;
  top: 0;
  display: block !important;
}

.menu-huvudmeny-container .search-icon img {
  height: auto;
  width: 40px;
  right:25px;
  top: 50%;
  position: relative;
  display: block;
  transform: translateY(-50%);
  cursor: pointer;
}

.search-form {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s;
  background-color: #f5f6f7;
}

.searchform {
  margin-top:30px;
  height:100px;
}

.search-form.visible {
  max-height: 100px;
}

.search-page-title {
  font-style: italic;
  margin-bottom: 10px;
}
.search-hit {
  border-bottom:1px solid #e4e4e5;
  position:relative;
  padding:10px 0;
}
.search-hit:first-child {
  border-top:1px solid #e4e4e5;
}
.search-hit p {
  margin:0;
}
.search-hit h3 {
  margin-bottom: 10px;
}

.search-hit > a {
  position: absolute;
  height: 100%;
  width: 100%;
  top:0;
  left:0;
}

/*testing*/
.contact {
  padding: 10px;
  position:relative;
  text-align: center;
  background-color: #f5f6f7;
  height: 100%;
}

.contact-image {
  overflow: hidden;
  margin: 0px auto;
  height: 150px;
  width: 150px;
}
.contact img {

  border-radius: 50%;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.contact a {
  position: absolute;
  height: 100%;
  width: 100%;
  top:0;
  left:0;
}

input[type=button],input[type=submit], button {
	padding: 10px;
	border:none;
	background:#3581bf;
	color: #FFF;
	cursor: pointer;
}
input[type=button]:hover ,input[type=submit]:hover , button:hover {
	background:#3f93d8;
}

.contact-form
{
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.25);
    border: 1px solid #d4d4d4;
    padding: 10px;
		border-radius: 4px;
}

ul.paging {
  text-align: center;
  margin-top:20px;
}

ul.paging li {
  display:inline-block;
  padding:5px;
}
ul.paging li.previous:before {
  content:"\25C0 ";
}
ul.paging li.next:after {
  content:" \25BA";
}

#newsarea {
  background-color: #f5f6f7;
  padding:40px 0;
}

#newsarea h2 {
  margin-bottom: 15px;
}

.blog-post {
  height:100%;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,.25);
  transition: box-shadow .1s ease-in-out;
  background-color: white;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom:10px;
}

.blog-post-content {
  padding:10px;
}
.blog-post a {
  position: absolute;
  height: 100%;
  width: 100%;
  top:0;
  left:0;
  z-index: 1;
}

.blog-post .image-wrapper {
  height: 0;
  padding-bottom: 75%;
  position: relative;
}

.blog-post .image-wrapper .image {
  background-size: cover;
  background-position: 50%;
  width: 100%;
  height: 100%;
  position: absolute;
}

.blog-post:hover {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,.25);
}

.blog-post .blog-post-meta {
  font-size: 10px;
  color: gray;
  text-transform: uppercase;
  margin-bottom:5px;
}

.blog-post .readmore {
  color:#007bff;
}

#wrapper {
  min-height:100%;
  position:relative;
}

#brinken-content {
  padding-bottom: 100px;
}

footer {
  background: #3581bf;
  width: 100%;
  height: 100px;
  position: absolute;
  bottom: 0;
  left: 0;
}
.footer {
  color:white;
  padding:40px 0;
  text-align: center;
}

#primary {
  margin-bottom:50px;
}

.es_textbox_class {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#brinken-content ol:not([class]), #brinken-content ul:not([class]) {
	margin-bottom: 20px;
}
#brinken-content ul:not([class]) li:not([class]), #brinken-content ol:not([class]) li:not([class]) {
	margin-bottom: 5px;
	padding-left:20px;
	position: relative;
	background-image: url('/wp-content/themes/brinken/assets/checkbox.svg');
	background-repeat: no-repeat;
	background-size: 15px;
	background-position: left
}

#cookieInfoContainer {
	text-align: center;
	background-color: #FFFFFF;
	box-shadow: 0px 2px 8px 4px rgba(0,0,0,.25);
	width: 100%;
	padding: 35px 10px;
	z-index: 1;
	position: fixed;
	bottom:0;
}
