.news__post {
position: relative;
width: 20%;
float: left;
box-sizing: border-box;
display: block;
color: #FFF;
background-position: 50% 50%;
background-size: cover;
background-repeat: no-repeat;
}
.news__post:before {
content: '';
position: relative;
padding-top: 80%;
width: 100%;
display: block;
-webkit-transition: all 450ms ease;
-moz-transition: all 450ms ease;
transition: all 450ms ease;
background: #000;
opacity: .25;
}
.news__post:hover:before {
opacity: 0;
}
.news__post-content {
display: block;
padding: 30px 40px;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
-webkit-transition: all 450ms ease;
-moz-transition: all 450ms ease;
transition: all 450ms ease;
}
.news__post-content:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
-webkit-transition: all 450ms ease;
-moz-transition: all 450ms ease;
transition: all 450ms ease;
}
.news__post:hover .news__post-content:before {
-webkit-transition: all 250ms ease 450ms;
-moz-transition: all 250ms ease 450ms;
transition: all 250ms ease 450ms;
opacity: .8;
}
.news__post:nth-child(1) .news__post-content:before {background: #2ab8e2;}
.news__post:nth-child(2) .news__post-content:before {background: #e04c59;}
.news__post:nth-child(3) .news__post-content:before {background: #3b7260;}
.news__post:nth-child(4) .news__post-content:before {background: #e09529;}
.news__post:nth-child(5) .news__post-content:before {background: #6a50ab;}
.news__post-content h3 {
position: relative;
color: #FFF;
font-family: 'Montserrat', sans-serif;
font-size: 20px;
font-weight: 700;
padding-bottom: 0;
margin-bottom: 15px;
-webkit-transition: all 450ms ease;
-moz-transition: all 450ms ease;
transition: all 450ms ease;
}
.news__post-content p {
font-family: 'Montserrat', sans-serif;
position: relative;
max-width: 75%;
line-height: 0;
margin-bottom: 0px;
max-height: 68px;
overflow: hidden;
-webkit-transition: all 450ms ease;
-moz-transition: all 450ms ease;
transition: all 450ms ease;
opacity: 0;
}
.news__post:hover .news__post-content p {
line-height: inherit;
opacity: 1;
margin-bottom: 20px;
}
.news__post-content .post__button {
font-family: 'Montserrat', sans-serif;
position: relative;
padding: 15px 30px;
line-height: 20px;
border: 2px solid #FFF;
box-sizing: border-box;
display: inline-block;
-webkit-border-radius: 27px;
-moz-border-radius: 27px;
border-radius: 27px;
-webkit-transition: all 200ms ease;
-moz-transition: all 200ms ease;
transition: all 200ms ease;
}
.news__post-content .post__button:hover {
background: #FFF;
color: #121212;
}
ul.sub-menu {
right: -70px;
}
@media screen and (max-width: 1700px) {
.news__post{width: 25%;}
.news__post:nth-child(5) {display: none;}
}
@media screen and (max-width: 1300px) {
.news__post{width: 33.333%;}
.news__post:nth-child(4) {display: none;}
}
@media screen and (max-width: 980px) {
.news__post{width: 50%;}
.news__post:nth-child(4) {display: block;}
}
@media screen and (max-width: 768px) {
.news__post-content p {display: none;}
.news__post{width: calc(100% - 60px);margin: 30px;}
.news__post:nth-child(3), .news__post:nth-child(4), .news__post:nth-child(5) {display: none;}
}
#post-161 > div > div.et_pb_section.et_pb_fullwidth_section.et_pb_section_0.et_pb_with_background.et_section_regular > section > div.et_pb_fullwidth_header_container.center > div > div > p {margin-top: 8px;}
#leftmargin  {margin-left: 50px;}
---------------Søg resultat siden-------------------------
.search #left-area
{
-moz-column-count: 1;
column-count: 1;
-moz-column-gap: 20px;
column-gap: 20px;
}
.search #left-area .et_pb_post a img {
float:left !important;
max-width:300px !important;
padding:10px;
}
.search #left-area ul  {
list-style-type: none !important;
}
.search .et_pb_post > a {
margin: -20px -20px 10px;
display: block;
}
.search #left-area .et_pb_post {
overflow: hidden;
page-break-inside: avoid;
break-inside: avoid-column;
width: 100%;
padding: 19px;
border-bottom: 1.5px solid #000000;
background-color: #fff;
word-wrap: break-word;
display: inline-block;
margin-bottom: 10px;
}
.search #left-area .et_pb_post h2{
font-size: 18px;
}
.search #left-area .et_pb_post.format-link,
.search #left-area .et_pb_post.format-quote,
.search #left-area .et_pb_post.format-audio,
{
padding: 0;
}
.search .et_pb_post .et_pb_image_container,
.search .et_pb_post .et_main_video_container,
.search .et_pb_post .et_audio_content,
.search .et_pb_post .et_pb_slider {
margin: -20px -20px 10px;
}
.search .et_pb_post .et_pb_slider .et_pb_slide {
min-height: 180px;
}
.search .pagination {
padding: 20px 0;
}
---------------Søg resultat siden-------------------------
.et_pb_section_1.et_pb_section 
{ padding-top: 51px; padding-right: 0px; padding-bottom: 49px; padding-left: 0px; }