/* 
 Theme Name:     Divi Child
 Author:         Morten Balle 
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 


.mejs-inner {
    pointer-events: none;
}

#alternativ #main-header,#alternativ #main-header .nav li ul,#alternativ .et-search-form,#alternativ #main-header .et_mobile_menu {
    background-color: rgba(183, 77, 77, 0.44);
}

code {
    background: #efefef;
    display: block;
    padding: 20px;
}
.green-circle-column {
    background: #eee;
    position: relative;
}

.package_popular {
    background: #00ff00;
    display: block;
    height: 75px;
    width: 75px;
    text-align: center;
    padding: 13px;
    border-radius: 40px;
}

.green-circle {
    position: absolute;
    top: -40px;
    right: -40px;
}

.green-circle-pseudo:after {
    right: -70px;
    top: -70px;
    position: absolute;
    content: url(https://www.badgemaster.co.uk/pub/media/wysiwyg/BadgeHome/icon-design-a-badge.png);
}

.green-circle-pseudo:after {
    right: -40px;
    position: absolute;
    content: 'HEY';
    width: 75px;
    height: 75px;
    max-width: 75px;
    max-height: 75px;
    display: block;
    text-align: center;
    background: aquamarine;
    border-radius: 45px;
    top: -40px;
}




/*image aspect ratio square 1:1*/

.pa-image-1-1 .et_pb_image_wrap {
  padding-top: 100%;
  display: block;
}

.pa-image-1-1 .et_pb_image_wrap img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/*image aspect ratio landscape 16:9*/

.pa-image-16-9 .et_pb_image_wrap {
  padding-top: 56.25%;
  display: block;
}

.pa-image-16-9 .et_pb_image_wrap img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/*image aspect ratio landscape 3:4*/

.pa-image-3-4 .et_pb_image_wrap {
  padding-top: 133.33%;
  display: block;
}

.pa-image-3-4 .et_pb_image_wrap img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}


.op75 .et_pb_image_wrap img {object-position:75% 50%}





.et_post_meta_wrapper.featured-skjul > img:nth-of-type(1) {
display: none !important;
}


#footer-bottom {
    padding: 15px 0 40px;
}
/* typed */

ul.et-social-icons:before {
    content: 'Følg os her:';
    font-weight: bold;
    font-size: 1.2em;
}

@keyframes type {
from { width: 0; }
}

@keyframes caret {
50% { border-color: transparent; } }

h1 {color:#000;}

.typed h2 {
border-right: .1em solid #fff;
width: 266px;
margin: 0 auto;
white-space: nowrap;
overflow: hidden;
animation: type 4s steps(23, end),
caret .3s step-end infinite alternate;
}

@media only screen and (min-width: 981px) {
}

@media only screen and (max-width: 981px) {

}



/*------------------------------------------------*/


/*----Fixed Slide-In Contact Form by Divi Soup----*/


/*------------------------------------------------*/


/*Section position*/

.ds-slide-section {
    position: fixed;
    left: 0;
    top: 50%;
    z-index: 99;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    -webkit-transform: translate(-100%, -50%);
    transform: translate(-100%, -50%);
}


/*Section position when open*/

.ds-slide-section.open {
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}


/*Module content alignment*/


/*If you are using a success message and want the container to be taller, adjust the min-height value*/

.ds-slide-section .ds-slide-module {
    min-height: 150px;
    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: center;
    -ms-flex-pack: center;
    justify-content: center;
}



/*Button position*/

.ds-slide-section .ds-slide-module h4 {
    position: absolute;
    left: 100%;
    top: 50%;
    padding: 10px;
    background: inherit;
    text-align: center;
    cursor: pointer;
    -webkit-transform: translateX(-50%) rotate(-90deg);
    transform: translateX(-50%) rotate(-90deg);
    -webkit-transform-origin: top;
    transform-origin: top;
}


/*Mobile styling*/

@media all and (max-width: 767px) {
    /*Section position*/
    .ds-slide-section {
        width: 100%;
        top: auto;
        bottom: 0;
        left: 50%;
        -webkit-transform: translate(-50%, 100%);
        transform: translate(-50%, 100%);
    }
    /*Section position when open*/
    .ds-slide-section.open {
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    /*Button position*/
    .ds-slide-section .ds-slide-module h4 {
        left: 50%;
        bottom: 100%;
        top: auto;
        -webkit-transform: translateX(-50%) rotate(0);
        transform: translateX(-50%) rotate(0);
    }
}



.et_mobile_menu {
    position: unset;
}

@media screen and (min-width: 1024px) {
    .bdev-whatsapp {
	display: none !important;
    }
}

.bdev-link {
    padding: 2px 8px 4px 8px !important;
    color: white;
    font-size: 12px;
    border-radius: 5px;
    margin-right: 5px;
    cursor: pointer;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
    -moz-box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
    margin-top: 2px;
    display: inline-block;
    text-decoration: none;
}

.bdev-link:hover,.bdev-link:active {
    color: white;
}

.bdev-twitter {
    background: #00aced;
}

.bdev-twitter:hover,.bdev-twitter:active {
    background: #0084b4;
}

.bdev-facebook {
    background: #3B5997;
}

.bdev-facebook:hover,.bdev-facebook:active {
    background: #2d4372;
}

.bdev-pinterest {
    background: #bd081c;
}

.bdev-pinterest:hover,.bdev-pinterest:active {
    background: #bd081c;
}

.bdev-linkedin {
    background: #0074A1;
}

.bdev-linkedin:hover,.bdev-linkedin:active {
    background: #006288;
}

.bdev-whatsapp {
    background: #43d854;
}

.bdev-whatsapp:hover,.bdev-whatsapp:active {
    background: #009688;
}

.bdev-social {
    margin: 20px 0px 25px 0px;
    -webkit-font-smoothing: antialiased;
    font-size: 12px;
}


/* THREE COLUMN PORTFOLIO GRID LAYOUT */
 
@media only screen and ( min-width: 768px ) {
 
.three-column-grid .et_pb_grid_item {
width: 28.333% !important;
margin: 0 7.5% 7.5% 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n) {
margin-right: 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
clear: left;
}
 
.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
clear: unset !important;
}
 
}

.single-awpcp_listing #classiwrapper {
display: flex;
flex-direction: column-reverse;
}