/* 
 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 --------------------------- */ 

/* Fonts first. Base size */

body {font-size: 14px;}
/* base font size on desktops and above */
@media all and (min-width: 981px) {body { font-size: 16px; }}
/* base font size for tablets and phones in landscape mode */
@media all and (max-width: 980px) {body { font-size: 14px; }}
/* base font size for mobile phones in portrait mode */
@media all and (max-width: 479px) {body { font-size: 12px; }}
/* font size for title elements: */
h1, .et_pb_section .et_pb_text h1 { font-size: 3em; }
h2, .et_pb_section .et_pb_text h2 { font-size: 1.6em; }
h3, .et_pb_section .et_pb_text h3 { font-size: 1.4em; }
h4, .et_pb_section .et_pb_text h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1em; }

/* End fonts */
html {
	overflow-y:scroll;
}
.et_pb_video_overlay {
    background-color: #fff;
}
.et_pb_text ul, .et_pb_text ol {
    padding: 1em 0 1em 1em;
    line-height: 1.8em;
}
.home #logo {
    max-height: 0;
}
.home .et-fixed-header #logo {
    max-height: 80%;
}

span.footergdpr {
    font-weight: 300;
    float: right;
}

#footer-info span.footergdpr a  {
    font-weight: 400;
}

div#footer-info {
    width: 100%;
}

#julemrk .et_pb_image_wrap  {
position: absolute;
    right: 10vw;
    top: -110px;
    width: 100px;
  } 

.v-align { 
margin-top: 13px;
}

/**** Caldera ****/

#caldera_form_1.caldera-grid .form-control {
    font-size:16px!important;
    background: #8c99a5!important;
    font-weight:400!important;
    padding: 15px !important;
	color:#fff !important;
}
input#fld_7908577_1 {
    color: #216883!important;
    border-width: 8px!important;
    border-color: rgba(0,0,0,0);
    border-radius: 0px;
    letter-spacing: 4px;
    font-size: 16px;
    font-family: 'Teko',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    text-transform: uppercase!important;
    background-color: #ffffff;
    transition: all 300ms ease 0ms;
    float:right;
}
input#fld_7908577_1:hover {
    padding-right: 13px!important;
    padding-left: 13px!important;
        color: #222222!important;
    background: rgba(255,255,255,0)!important;
    border-color: #000000!important;
    border-radius: 0px;
}
#caldera_form_1.caldera-grid .alert-success {
    background-color: #dff0d800;
    border-color: rgba(0,0,0,0);
    color: #fefefe;
}
#caldera_form_1.caldera-grid .form-control::-webkit-input-placeholder {
   color: #fefefe;
}

#caldera_form_1.caldera-grid .form-control:-moz-placeholder { /* Firefox 18- */
   color: #fefefe;  
}

#caldera_form_1.caldera-grid .form-control::-moz-placeholder {  /* Firefox 19+ */
   color: #fefefe;  
}

#caldera_form_1.caldera-grid .form-control:-ms-input-placeholder {  
   color: #fefefe;  
}

/**** Table CSS ****/
table.dataTable tbody th, table.dataTable tbody td {
    padding: 5px 5px !important;
}
#kursusbeskrivelser table {
    width: 25% !important;
    border: unset;
}
#kursusbeskrivelser table td {
    border: unset;
    padding: 0;
}
#kursusbeskrivelser table td a {
    color:#000;
}

/**** END TABLE ****/

.centercontent{
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}

.nav li li {
    line-height: 1.2em;
}
#top-menu li li a {
    padding: 8px 20px;
}

/*** ARTIKLER TABS & ACCORDION ***/

.et_pb_blog_grid .et_pb_post {
    margin-bottom: 3% !important;
    border: 0;
}

article.et_pb_post {
    width: 18%;
    float: left;
    margin: 10px 3.5%;
    min-height: 345px;
}

/**************************** toggle custom 3 **************************/

.toggle_custom_3.et_pb_toggle {
    border: none;
    border-bottom: 4px solid #296a8c !important;
    transition: 0.4s
}

.toggle_custom_3.et_pb_toggle_open{
    border-bottom: 4px solid #3a91bf !important;
    }

.toggle_custom_3 .et_pb_toggle_title:before {
    font-size: 50px !important ;
    content: "3" !important;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.toggle_custom_3.et_pb_toggle_open .et_pb_toggle_title:before {
    color: #3a91bf !important ;
    -ms-transform: rotate(180deg) !important ;
    -webkit-transform: rotate(180deg) !important ;
    transform: rotate(180deg) !important ;
}

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

@media only screen and (max-width: 981px) {
	
article.et_pb_post {
    min-height: 190px;
}
}

@media only screen and (max-width: 500px) {
article.et_pb_post {
    min-height: 190px;
    width: 43%;
    float: left;
    margin: 0px 3.5%;
}
}	
	



/*--------------------------------------------------------------------*/
/*----------Tabs Module for Content Navigation by Divi Soup-----------*/
/*--------------------------------------------------------------------*/


/*Remove padding and set the background color for the tabs*/

.ds-tab-navigation .et_pb_all_tabs {
    padding: 110px 0 0 0;
    background: #fff !important;
    border-top: 0;
}

.ds-tab-navigation .et_pb_tab, 
.ds-tab-navigation .et_pb_tabs_controls a, 
.ds-tab-navigation .et_pb_tabs_controls .et_pb_tab_active a {
    padding: 0;
}

/*Remove the tabs border*/

.ds-tab-navigation.et_pb_tabs {
    border: none !important;
}


/*Remove the border for the tab controls*/

.ds-tab-navigation .et_pb_tabs_controls ul {
    border-bottom: none;
}


/*Style the tabs controls*/


.ds-tab-navigation ul.et_pb_tabs_controls {
    justify-content: center;
    display: flex;
    border: none;
    position: absolute;
    width: 100%;
    background: #a8b6c1;
    z-index: 10;
}

/*Style the individual tabs controls*/

.ds-tab-navigation .et_pb_tabs_controls li {
    height: 80px;
    text-align: center;
    padding: 5px 10px !important;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    -webkit-transition: background 0.3s, color 0.3s;
    transition: background 0.3s, color 0.3s;
}


/*Evenly space the tab controls*/


/*Replace the number 8 with the number of tabs you have*/


/*Divide 100 by the number of tabs you have and replace the width value with your result*/

.ds-tab-navigation .et_pb_tabs_controls li:first-child:nth-last-child(7), .ds-tab-navigation .et_pb_tabs_controls li:first-child:nth-last-child(7) ~ li {
    padding: 5px 2% !important;
    width: unset;
}


/*Position the active tab*/

.ds-tab-navigation .et_pb_tabs_controls li.et_pb_tab_active {
    position: relative;
    bottom: 0 !important;
    height: 80px;
    margin-top: 0;
}


/*Add the bottom line effect animation to the tabs*/

.ds-tab-navigation .et_pb_tabs_controls li:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #205877;
    -webkit-transform: scale3d(0, 4, 1);
    transform: scale3d(0, 4, 1);
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.5s;
    -webkit-transition-timing-function: cubic-bezier(1, 0.68, 0.16, 0.9);
    transition-timing-function: cubic-bezier(1, 0.68, 0.16, 0.9);
}


/*Animate the bottom line effect*/

.ds-tab-navigation .et_pb_tabs_controls li.et_pb_tab_active:before {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}


/* Tab Content */
.ds-tab-navigation article a {
    box-shadow: 0px 12px 30px -6px rgba(0,0,0,0.3);
}


/*Set the tab image to fullwidth for larger screens*/

.ds-tab-navigation img.ds-tabs-image {
    width: 100% !important;
    margin-bottom: -10px;
}


/*Style the tab text content*/

.ds-tab-navigation div.ds-tabs-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.ds-tab-navigation div.ds-tabs-text a,
.ds-tab-navigation div.ds-tabs-text h2 {
    color: #fff;
    text-transform: uppercase;
}


/*Style the tab text links*/

.ds-tab-navigation div.ds-tabs-text a {
    padding: 10px 20px;
}


/*Add the bottom line effect animation to the tab text links*/

.ds-tab-navigation div.ds-tabs-text a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40%;
    width: 20%;
    height: 3px;
    background: #205877;
    -webkit-transform: scale3d(0, 4, 1);
    transform: scale3d(0, 4, 1);
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.5s;
    -webkit-transition-timing-function: cubic-bezier(1, 0.68, 0.16, 0.9);
    transition-timing-function: cubic-bezier(1, 0.68, 0.16, 0.9);
}


/*Animate the bottom line effect on the tab text links*/

.ds-tab-navigation div.ds-tabs-text a:hover:before {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}


/*Adjust for smaller screens*/


/*This creates two rows of tabs, set the width percentage based on the number of tabs you want on each row, 25% = 4 tabs*/

@media only screen and (max-width: 1280px) {
    .ds-tab-navigation .et_pb_tabs_controls li:first-child:nth-last-child(8),
    .ds-tab-navigation .et_pb_tabs_controls li:first-child:nth-last-child(8) ~ li {
        width: 25%;
    }
    .ds-tab-navigation .et_pb_tabs_controls li,
    .ds-tab-navigation .et_pb_tabs_controls li.et_pb_tab_active {
        height: 40px;
        /*set the height of the tabs when using multiple rows*/
    }
}

@media only screen and (max-width: 1023px) {
    .ds-tab-navigation ul.et_pb_tabs_controls {
        height: 100%;
    }
    .ds-tab-navigation div.ds-tabs-text h2 {
        font-size: 80%;
    }
    .ds-tab-navigation div.ds-tabs-text a {
        font-size: 70%;
    }
    .ds-tab-navigation div.ds-tabs-text p {
        line-height: 1em !important;
    }
}


/*At this breakpoint, the tabs will stack one on top of the other, set the height of the tabs based on how many you have, 100 / 8 = 12.5*/

@media only screen and (max-width: 766px) {
    .ds-tab-navigation .et_pb_tabs_controls li,
    .ds-tab-navigation .et_pb_tabs_controls li.et_pb_tab_active {
        height: 12.5%;
    }
    .ds-tab-navigation p.ds-tabs-body {
        font-size: 70%;
    }
    .ds-tab-navigation .et_pb_tabs_controls li a {
        font-size: 70%;
    }
    .ds-tab-navigation div.ds-tabs-text {
        right: 0;
        width: 75%;
        padding: 10px;
    }
}


/*Hide the body text on smaller mobiles*/

@media only screen and (max-width: 500px) {
    .ds-tab-navigation p.ds-tabs-body {
        display: none;
    }
    .ds-tab-navigation .et_pb_tabs_controls li a {
        font-size: 50% !important;
    }
}


/*--------------------------------------------------------------------*/
/*--------End Tabs Module for Content Navigation by Divi Soup---------*/
/*--------------------------------------------------------------------*/



@media (min-width: 981px) {
.et_pb_gutters3 .et_pb_column_1_3, .et_pb_gutters3.et_pb_row .et_pb_column_1_3 {
    width: 29.567%;
}
}