@media screen and (max-width: 1024px) {
    #footer .elementor-section.elementor-section-boxed > .elementor-container
    {
	    max-width: 100%;
	    width: 750px;
	    flex-direction: column;
    }
    #footer .elementor-column.elementor-col-33, .elementor-column[data-col="33"]
    {
        width: 100%;
        padding: 8px 40px;
    }
}
@media screen and (max-width: 768px) {
    #footer .elementor-section.elementor-section-boxed > .elementor-container
    {
	    max-width: 100%;
	    width: 750px;
	    flex-direction: column;
    }
    #footer .elementor-column.elementor-col-33, .elementor-column[data-col="33"]
    {
        width: 100%;
    }
}
.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1340px;
}
.elementor-section .elementor-container {
	display: flex;
	margin-right: auto;
	margin-left: auto;
	position: relative;
}
.elementor-column {
	position: relative;
	min-height: 1px;
	display: flex;
}
.elementor-column.elementor-col-33, .elementor-column[data-col="33"] {
	width: 33.333%;
}
.elementor-element {
	--widgets-spacing: 20px 20px;
}
.elementor-536 .elementor-element .elementor-widget-container p strong {
	color: #000;
	font-weight: 700;
	font-size: 20.8px;
}
#footer .elementor-element a {
	color: #2f62a6;
	padding-left: 0px;
}
#footer .elementor-element p, #footer .elementor-element p:last-child { margin-bottom: 16px;}
.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
	padding: 10px;
}
body.order-success #mainwrap {
    background: #fff !important;
}
.checkout-success { display: none; }
body.order-success .checkout-success { display: block;  }
.checkout-success { background-color: #f5f5f5; }
.checkout-success #leftcolumn, .checkout-success #rightcolumn { background-color: #f5f5f5; color:#3e64a1; }
.checkout-success #leftcolumn h2 {
    font-size: 35px;
    margin-bottom: 10px;
    line-height: 20px;
}
.checkout-success a.btn {
    position: relative;
    right: auto;
    bottom: auto;
    padding: 7px 10px;
    font-weight: bold;
    text-transform: inherit;
    font-size: 20px;
}
.checkout-success #rightcolumn h3 {
    font-size: 20px;
    margin-bottom: 0px;
    line-height: 15px;
}


.department-button {
    right: 5px !important;
    bottom: 5px !important;
}

body {
	box-sizing: border-box;
    font-family: 'Open Sans', sans-serif !important;
}
h1, h2, h3, h4, h5, h6, #leftcol .headline {
    font-family: 'Alegreya Sans', sans-serif !important;
}
html,
body {
	height: 100%;
}

#mainwrap {
	margin: 0 auto;
	background-color: #f5f5f5;
}

body,
#mainwrap,
#footer .top {
	background-color: #f5f5f5 !important;
}
#header > div,
#topmenu > div,
#back-to-home > div,
#leftcol,
#footer > div {
	background-color: #fff;
    border-radius: 0 5px 5px 0;
}

#topmenu > div > img {
	margin-right: 10px;
}


#header {
    padding: 10px 0;
    background: #fff;
}
#back-to-home {
	padding: 0px 10px;
}
#back-to-home a {
	padding: 10px 0px;
	margin: 10px 0px;
	color: #282828;
}

#topmenu {
	padding: 0px 10px 10px 10px;
}
.product {
	padding-top: 15px;
	padding-bottom: 15px;
}
.product > div {
    background-color: #fff;
    padding: 20px;
    box-shadow: 3px 5px 10px rgb(0 0 0 / 0.2);
    width: 100%;
}
#footer h3,
#footer p {
	margin: 5px 0px;
    font-family: 'Open Sans', sans-serif;
font-weight: 300;
}
.hr {
	border-top: 1px solid gray;
}

#footer li {
    font-size: 16px;
    line-height: 25px;
list-style-type: none;
    margin-bottom: 0;
    font-family: 'Open Sans', sans-serif;
font-weight: 300;
}

#footer ul {
padding: 0 !important;
    list-style-position: outside;
margin: 0;
}

#footer ul li::before {
    content: "- ";
}
#footer a {
    color: #585858;
}

#footer a:hover {
    color: #2f62a6;
}

#footer .col-md-3.col-sm-6 {
    border-right: 1px solid #e0e5e5;
    height: 100px;
    margin-bottom: 20px;
    padding-left: 40px;
}

.sms {
    background: transparent url(https://www.soernestrafikskole.dk/images/grafik/sms-icon.png) no-repeat scroll 0px center / 14px auto;
    padding-left: 16px;
}

.phone {
    background: transparent url(https://www.soernestrafikskole.dk/images/grafik/phone-icon.png) no-repeat scroll left center / 11px auto;
    padding-left: 16px;
}

.mail {
    background: transparent url(https://www.soernestrafikskole.dk/images/grafik/mail-icon.png) no-repeat scroll left center / 11px auto;
    padding-left: 16px;
}

.payment-container {
	margin: 15px;
}
	.content-row {
		padding: 40px;
	}
#leftcol .headline {
    
    font-size: 25px;
    padding-top: 30px;
    padding-left: 15px;
    margin-bottom: 50px;
}
	
	#leftcol .headlineright {
		height: 30px;
		text-align: right;
		font-size: 15px;
		padding-top: 5px;
		padding-right: 40px;
		background-image: url('/gfx/headline_right.png');
		background-repeat: no-repeat;
	}

	#leftcol .headlineright a {
		color: #282828;
		text-decoration: none;
	}

	#leftcol .fancyhr {
		height: 30px;
		background-image: url('/gfx/leftcol_fancy_hr.png');
		background-repeat: no-repeat;
	}

	#leftcol .content {
		margin: 10px;
		min-height: 220px;
	}

	#leftcol .content h1 {
		font-size: 18px;
		font-weight: 700;
		margin: 0px;
	}
	#leftcol .content h2 {
		font-size: 13px;
		font-weight: 700;
		margin-top: 10px;
		margin-bottom: 0px;
	}
	#leftcol .content p,li,td,th {
		font-size: 13px;
		color: #282828;
		line-height: 20px;
		margin-top: 0px;
		margin-bottom: 10px;
	}
	#rightcol > div {
		padding: 15px;
		background-color: white;
		border: 3px solid LightGray;
	}
	#rightcol a {
		color: #000000;
	}

#footer {
	clear: both;
    padding: 30px 0 10px;
    background-color: #fff;
}

#footer h3 {
font-size: 25px;
    line-height: 25px;
    font-weight: 300;
    position: relative;
    margin-bottom: 5px;
    color: #2f62a6;
    margin-top: 0;
    font-family: 'Alegreya Sans', sans-serif;
}

#footer p {
    color: #585858;
    font-size: 14px;
    line-height: 21px;
    margin: 0 0 18px;
}

.content-row #rightcol {
top: 15px;
position: sticky;
z-index:1;
}

#footer p:last-child {
margin-bottom: 0;
}

hr {
    float: left !important;
    margin-top: 15px;
    width: 100% !important;
    border-color: #e0e5e5 !important;
    margin-bottom: 20px;
    border-top: 1px solid #eee;
}

.productprice {
	font-weight: 700;
	color: #000;
    position: absolute;
    bottom: -7px;
    font-size: 16px;	
}
.productbox-bottom{
    position:relative;
    min-height: 50px;
}
@media only screen 
    and (max-device-width : 600px)
{
.productprice {
	/*bottom: 75px;*/
	text-align: center;
	/*width: calc(100% - 70px);*/
}  
.checkoutpage {
    display:flex;
    flex-direction:column;
    position:relative;
}
.checkoutpage #leftcol {
  order:2;  
}
.checkoutpage #rightcol {
    order:1;
	top: 0px;
	z-index: 1;
	position: relative;
	margin-bottom: 35px;
}
}
.fixedcontent {
    position:fixed !important;
}

}
.producthr {
	clear: both;
	border-bottom: 1px solid #f2f2f2;
	line-height: 0;
	font-size: 1px;
}

.stdtable th {
	font-weight: 700;
	border-top: 1px solid #EEEEEE;
	border-bottom: 1px solid #EEEEEE;
	padding: 3px 10px;
}
.stdtable td {
	border-bottom: 1px solid #EEEEEE;
	padding: 3px 10px;
}

.statusok {
	color: #008000;
}

.payment-container .row .col-xs-6 .viabill-pricetag-optional-styles {
	float:right;
}

html .btn-primary {
    color: #fff;
    background-color: #0062AA;
    border-color: #0062AA;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    position: absolute;
    bottom: -20px;
    line-height: 1;
    padding: 15px 50px;
    display: inline-block;
    right: -20px;
}

.col-md-6.col-sx-12.product {
    display: flex;
    align-items: stretch;
    /*min-height: 250px;*/
    width: 50%;
}

@media (max-width: 768px) {
    .col-md-6.col-sx-12.product {
        display: flex;
        align-items: stretch;
        /*min-height: 350px;*/
        width: 50%;
    }
}

.main-menu a {
    display: inline-block;
    margin-left: 30px;
    font-size: 20px;
    font-weight: 300;
    color: #000;
    transition: 300ms;
}

.main-menu a:hover {
    color: #2f62a6;
    transition: 300ms;
    text-decoration: none;
}
a:hover {
    text-decoration: none !important;
}
.main-menu {
    text-align: right;
    margin-top: 23px;
}

.col-sm-8.menuarea {
}



@media (min-width: 1430px) {
.container {
    width: 1400px !important;
}
}

/***topbar**/

.topbar {
    margin-bottom: 0px;
    margin-top: 0;
    width: 53%;
}
.topbar a {
    color: #2f62a6;
    font-weight: 300;
}
.topbar a:hover {
    color: #000;
}
a {
    transition: 300ms !important;
}
a:hover {
    transition: 300ms !important;
}
.topbar p {
    margin: 0;
    line-height: 20px;
}
.topbar .module_container {
    border-bottom: 1px solid #eef2f2;
    padding-bottom: 7px;
    text-align: right;
}

.btn-social {
    padding-left: 36px;
}


.bfacebook {
    background: transparent url("/images/grafik/facebook-icon.png") no-repeat scroll 22px center / 7px auto;
    padding-right: 52px;
}


.bphone {
    background: transparent url("/images/grafik/phone-icon.png") no-repeat scroll 15px center / 12px auto;
}

.belevforum {
    background: transparent url("/images/grafik/elevforum-icon.png") no-repeat scroll 19px center / 9px auto;
}

.bkorelaere {
    background: transparent url("/images/grafik/korelaere-icon.png") no-repeat scroll 15px center / 16px auto;
}

.department-button {
    position: relative !important;
}

/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 600px) {
  .mod-214  {
    margin: 0 2rem;
  }
  
  .main-menu {
    text-align: left;
  }
  
  .bphone{
      display: inline-block;
  }
  
  .topbar .module_container {
    text-align: center;   
  }
  
  .col-md-6.col-sx-12.product{
      width: 100%;
  }
  
 #footer .col-md-3.col-sm-6 {
     height: auto;
 }
 
 .payment-button {
     position: relative !important;
    margin-top: 2rem;
 }
  
}
#header-logo {
	width: 320px;
	margin-left: -10px;
	margin-top: -6px;
}
.guide-department {
	/*background: #f5f5f5;
	border: 1px solid #eee;*/
	background-color: #B9E1FE;
}
/*.guide-department {
	border: 2px solid rgb(241, 113, 0);
	color: rgb(109, 118, 128);
	text-align: center;
	background: #fff;
}*/
.guide-department {
	border: 0 none;
	color: rgb(109, 118, 128);
	text-align: center;
	background: #B9E1FE;
}
#leftcol .content .buttons.guide-department-wrapper h1 {
    font-size: 15px;
    font-weight: 700;
    font-style: normal;
    line-height: 22px;
}
#leftcol .content .buttons.guide-department-wrapper p {
	font-size: 15px;
	line-height: 22px;
}
.guide-department:nth-child(2n+2) {
	width: 48%;
	float: right;
	margin-bottom: 4%;
	padding: 10px;
    /*-webkit-box-shadow: 10px 10px 19px 0px rgba(221,221,221,0.8);
    -moz-box-shadow: 10px 10px 19px 0px rgba(221,221,221,0.8);
    box-shadow: 10px 10px 19px 0px rgba(221,221,221,0.8);*/
}
.guide-department:nth-child(2n+1) {
	width: 48%;
	float: left;
	margin-bottom: 4%;
	padding: 10px;
    /*-webkit-box-shadow: 10px 10px 19px 0px rgba(221,221,221,0.8);
    -moz-box-shadow: 10px 10px 19px 0px rgba(221,221,221,0.8);
    box-shadow: 10px 10px 19px 0px rgba(221,221,221,0.8);*/
}
@media screen and (max-width: 600px) {
    #leftcol .content .guide-department
    {
        width: 100%;
    }
}
@media screen and (max-width: 374px) {
    .productprice{
        bottom:30px;
    }
}
 


.guide-department p { min-height: 30px; }
/*.guide-department p a.department-button {
	font-size: 18px;
	font-weight: normal;
	font-style: italic;
	fill: #FFFFFF;
	color: #FFFFFF;
	background-color: #1DB100;
	border-radius: 0px 0px 0px 0px;
	box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.0);
	text-transform: capitalize;
	padding: 12px 24px;
}*/
.guide-department p a.department-button {
	background-color: #0062AA;
	color: #fff;
	border-style: solid;
	border-width: 2px 2px 2px 2px;
	border-color: #0062AA;
	border-radius: 18px 18px 18px 18px;
	padding: 7px 30px 7px 30px;
	font-style: normal;
	font-size: 18px;
	text-transform: unset;
}
.checkoutpage .btn, .checkoutpage .btn:hover { 
	background-color: #0062AA;
	color: #fff;
	border-style: solid;
	border-width: 2px 2px 2px 2px;
	border-color: #0062AA;
	border-radius: 0px;
	/*border-radius: 18px 18px 18px 18px;*/
	padding: 7px 30px 7px 30px;
	font-style: normal;
	font-size: 18px;
}
.buttons.guide-department-wrapper h1 {
	color: #000;
	font-weight: bold;
	font-size: 16px !important;
}

@media screen and (max-width: 600px) {
    .content-row #rightcol {
    	top: 15px;
    	position: sticky;
    	z-index: 1;
    	padding: 0px;
    	margin-top: 30px;
    }
    .producthr {
    	clear: both;
    }   
    #leftcol::after {
    	content: "";
    	display: block;
    	clear: both;
    }    
    #leftcol .content::after {
    	content: " ";
    	display: block;
    	clear: both;
    }    
}
 
