/*
 Theme Name:     Divi Child
 Description:    Divi Child Theme
 Author:         AdMad Grafisk
 Author URI:     https://www.admad.dk
 Template:       Divi
 Version:        1.0.0
*/
/*---------wp cost estimation------------*/
#estimation_popup.wpe_bootstraped .genPrice {
    display: none!important;
}
#estimation_popup.wpe_bootstraped #mainPanel .genSlide div.selectable.checked .img {
    /* -webkit-filter: grayscale(100%); */
    -moz-filter: none;
    -ms-filter: none;
    -o-filter: none;
    /* filter: grayscale(100%); */
    filter: none;
}
#main-content #estimation_popup.wpe_bootstraped #mainPanel .genSlide .genContent .itemBloc.lfb_picRow {
    margin-bottom: 0px;
    margin-top: 0px;
}
#main-content #estimation_popup.wpe_bootstraped #mainPanel .genSlide .genContent .col-md-2 {
	padding: 8px;
}
/*-------------Call me form--------------*/
body #page-container .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module .et_pb_button {
    width: 100%;
}
.et_contact_bottom_container {
    float: none;
    margin-top: 0px;
    text-align: none;
}



/*---------topslider start------------*/
@media (min-width: 981px){
	.topslider-start .et_pb_slide {
	min-height:760px;
	}
}
@media (max-width: 600px){
	#et-main-area #main-content	.topslider-bilreklame{
		background-image: url("/wp-content/uploads/2018/11/background-bilreklame-phone.jpg")!important;
	}
}
/*---------instagram------------*/
 .owl-item{
	/*	margin-right:0px!important;}*/
}
/*---------second menu------------*/  
#et-info-phone {
    margin-right: 0px;
    background-color: #b33801;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 18px;
}
#et-info-email {
    position: relative;
    margin-right: 0px; 
    background-color: #333;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 18px;
}
@media (min-width: 981px){
	.et_fullwidth_secondary_nav #top-header .container {
		width: 100%;
		max-width: 100%;
		padding-right: 0px;
		padding-left: 0px;
	}
}
#top-header, #top-header #et-info, #top-header .container, #top-header .et-social-icon a {
    line-height: 1.2em;
}
#top-header .container {
    padding-top: .5em;
    font-weight: 600;
}
#top-header, #top-header #et-info, #top-header .container, #top-header .et-social-icon a {
    line-height: 1em;
    float: right;
    padding-right: 5px;
}
#et-info, #et-secondary-menu>ul>li a {
    display: block;
    padding-bottom: .65em;
}


/*---------second menu end------------*/ 




.et_pb_row {
    width: 100%!important;
}
/* ###### SEARCH RESULT PAGE ###### */
#main-content .search-content {
    padding-left: 50px;
		padding-right: 50px;
}
.container:before { background-color:transparent !important; }
.et_pb_widget_area_right { border-left:0 !important; }
.et_pb_widget_area_left { border-right:0 !important; }

.et_pb_post .post-meta {
    display: none;
}

/*Hide the Divi Footer*/
 #main-footer {
    max-width: 1440px!important;
    margin-left: auto!important;
    margin-right: auto!important;
		display:none;
	
}
/*-------------Blurb ----------------*/

@media (min-width: 767px) {
	.gq-blurb-hover .et_pb_main_blurb_image {
		position: relative;
		overflow: hidden;
}
	.gq-blurb-hover img.et-waypoint {
		margin-bottom: 0px;
		-webkit-transition: -webkit-transform 0.3s;
		transition: transform 1.3s;
		-webkit-transform: scale(1);
		transform: scale(1);
}
 
    .gq-blurb-hover img.et-waypoint:hover {
            -webkit-transform: scale(1.11) /*rotate(2deg)*/;
            transform: scale(1.11)/* rotate(2deg)*/
	}
}


/*--------------Flexbox customization --------------*/


.et_pb_main_blurb_image {
    margin-bottom: 10px;
}

/*--------------Boxed layout --------------*/
.et_pb_section.et_pb_section_0.et_section_regular.et_pb_section_first {
    padding-top: 0px!important;
}

.move-up {
	margin-top: -100px!important;
} 
.move-up-std {
	margin-top: -100px!important;
} 
.boxed {
	max-width: 1440px;
	float: none;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, 0%);
	z-index: 2;
}
            
@media only screen and (max-width : 1440px) {
    .boxed {
			max-width: 100%;
	}
}
 
    @media only screen
        and (min-device-width : 320px) 
        and (max-device-width : 1024px)
        and (-webkit-min-device-pixel-ratio: 1){
            .boxed {
                max-width: 100%;
                float: none;
                margin: 0;
                left: 0%;
                margin-right: 0%;
                transform: translate(0%, 0%);
	}
}

/*--------------TOPMENU EFFEKTER  --------------*/


 



@media (min-width: 981px){
	.et_fullwidth_nav #main-header .container {
    width: 100%;
    max-width: 1440px;
    padding-right: 30px;
    padding-left: 30px;
	}
}
@media only screen and (min-width: 981px){
	.et-fixed-header#main-header{
    background-color: rgba(0,55,95,0.0)!important;
		background-image:url("/wp-content/uploads/2018/06/topbaggrundmenu-2.png")!important;
		background-position	:top center!important;
		background-repeat:no-repeat!important;
	}
}
#top-menu .current-menu-item a::before,#top-menu .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 top: -70%;
 background: #ff7f00; /*** COLOR OF THE LINE ***/
 height: 7px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
#top-menu .sub-menu li a:before {
 background: none; /*** COLOR OF THE LINE ***/
}
#top-menu li a:hover {
 opacity: 1 !important;
}
#top-menu li a:hover:before {
 right: 0;
}
#top-menu li li a:before {
 bottom: 10%;
}
.et-fixed-header#main-header .nav .sub-menu{
	 background: #DB5214;
}



/*--------------Flexbox customization --------------*/


.Aligner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.Aligner-item {
}

.Aligner-item--top {
  align-self: flex-start;
}

.Aligner-item--bottom {
  align-self: flex-end;
}


/*--------------------------- show hide ------------------------------*/


.toggletarget{
	display:none;
}

body #page-container .toggle::after {
	color: #60b7b2;
}

body #page-container .toggle.toggled {
	background: white;
	color: #005869 !important;
}

body #page-container .toggle.toggled::after {
	transform: rotate(180deg);
}


