/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         FÆRD
 Author URI:     https://xn--frd-yla.no/
 Template:       Divi
 Version:        1.0.0
*/

/**********************************/
/********** ALL SUBSITES **********/

/** CLASS FOR VERTICAL ALIGNMENT **/
/* Top */
.vertical_top {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
/* Center */
.vertical_center {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
/* Bottom */
.vertical_bottom {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}


/****** DIVI SLIDESHOW BUG FIX ******/
.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none;
}


/****** HEADER MENU FIX ******/
#absolute-header
{
    position: absolute;
    width: 100%;
}


/****** TOP MENU ******/
/* Desktop Top menu vertical align to logo */
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    padding: 31px 0 0 0 !important;
}

/* Mobile Top menu vertical align to logo */
@media (max-width: 980px) {
    .et_pb_menu .et_mobile_nav_menu {
        padding: 31px 0 0 0;
    }
}

/* Top menu hover underline */
.et-menu a:hover {
    text-decoration: underline;
}


/****** DIVI SINGLE LINE CONTACT FORM STYLING ******/
.single_line_contact .et-pb-contact-message {
    color: #ffffff;
}

.single_line_contact.et_pb_contact_form_container input {
    position:absolute !important;
    Max-width: 99%;
    height: 42px !important;
    Float: left;
    Margin-top: -1.5%;
    margin-right: -20%;
    margin-right: 0px;
    border-radius: 3px 0 0 3px;
    Clear: none!important;
}
    
.single_line_contact .et_pb_contact_submit.et_pb_button {
    height: 42px !important;
    margin-left: -5px;
    border-radius: 0 3px 3px 0 !important;
}

.single_line_contact .contact_form_errors {
    display:none;
}

/****** GREEN POST LINKS STYLING ******/
.green_teaser {
    transition: transform 300ms ease 0ms!important;
}

.green_teaser .entry-title {
    float:left;
    padding: 20px;
    width: 90%;
}

/** plusstegnet etter tittelen **/
.green_teaser .entry-title:after {
    content: "\35";
    color: inherit;
    float:right;
    position: absolute;
    right:20px;
    top:37%;
    font-family: ETmodules!important;
    font-size:1.6em;
    speak: none;
    font-style: normal;
    font-weight: 400;
}

.green_teaser:hover {
    transform: scaleX(1.01) scaleY(1.01)!important;
}

.green_teaser .et_pb_post {
    margin-bottom: 0px!important;
}

/** Make full module clickable **/
.green_teaser .et_pb_post {
    position: relative;
}

.green_teaser .et_pb_post .entry-title a:after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.green_teaser .et_pb_post:hover {
cursor: pointer;
}

/****** OPEN/CLOSE MODULES ******/

/** Numbered lists **/
.entry-content ol {
    margin-left: 18px;
}

.entry-content ul {
    margin-left: 18px;
}

.entry-content ol li {
    padding-bottom: 12px;
}

.entry-content ul li {
    padding-bottom: 12px;
}

/****** NINJA FORMS ******/

/* Padding and placement for the form */
.nf-form-content {
    padding: 0px !important;
    margin: 0 0 0 0 !important;
    max-width: 820px !important;
}

/* Progress bar background color */
.nf-fu-progress {
    background-color: transparent !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #ffffff !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    margin-top: 8px !important;
}

/* File uploaded */
.files_uploaded {
    font-weight: 700 !important;
}

.delete {
    margin-left: 12px !important;
    color: #e80000 !important;
}

/* Rounded boxes */
.ninja-forms-field {
    border-radius: 8px !important;
}

/* Form buttons */
.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
    color: #ffffff!important;
    border-width: 0px!important;
    font-weight: 600!important;
    text-transform: uppercase!important;
    background-color: #2FA77D !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.nf-form-content button:hover, .nf-form-content input[type=button]:hover, .nf-form-content input[type=submit]:hover {
    background-color: #238966 !important;
}



/******** ALL SUBSITES END ********/
/**********************************/


/**********************************/
/********* NO CURE NO PAY *********/

/** ANIMATED SCROLL DOWN ARROW **/
.arrow{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.arrow span{
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid #2FA77D;
    border-right: 5px solid #2FA77D;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

@keyframes animate {
    0%{
        opacity: 0;
        transform: rotate(45deg) translate(-20px,-20px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(45deg) translate(20px,20px);
    }
}

/******* NO CURE NO PAY END *******/
/**********************************/