
/**************************************/
/* Default styles for news extension */
/**************************************/
.news .clear {
	clear: both;
}

.news .nav ul {
	float: left;
	display: inline;
	margin: 0;
}

.news .nav li {
	float: left;
}

.news .nav a {
	float: left;
	display: block;
}

.news .nav:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.news .article {
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.news .article:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
}

.news .article:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.news .article .news-img-wrap {
	float: left;
	margin: 3px 12px 5px 0;
	background: #fff;
}

.news .article .news-img-wrap a {
	display: block;
	float: left;
	padding: 4px;
	border: 1px solid #ddd;
	background: #fff;
}

.news .article .news-img-wrap img {
	float: left;
	height: auto;
	width: auto;
}

.news .article .teaser-text {
	margin: 0 0 10px 0;
}

.news .article h3 {
	margin-bottom: 0;
}

.news .footer {
	clear: both;
	padding: 10px 0 0 0;
	border-top: 1px solid #eee;
	margin-top: 15px;
	color: #888;
}

.news .footer p {
	line-height: 1em;
}

.news .footer span {
	display: inline-block;
	padding-right: 8px;
	margin-right: 8px;
	border-right: 1px solid #ddd;
}

.news .footer span:last-child {
	border-right: 0;
}

.news .footer .news-category a {
	text-transform: uppercase;
}

.news .no-news-found {
	color: #DB0202;
	font-style: italic;
}

.news .page-navigation p {
	float: left;
}

.news .page-navigation ul {
	float: right;
}

.news .page-navigation ul li {
	float: left;
	display: block;
	padding: 0 2px;
	background: none;
}

.news .page-navigation ul li a {
	display: block;
}

/* category menu view */
.news-category-view ul li {
	padding: 5px 8px;
}

.news-category-view ul li li {
	padding: 2px 8px 2px 12px;
}

.news-category-view > ul > li:nth-child(even) {
	background: #f9f9f9;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.news-category-view .category-desc {
	padding-left: 10px;
	margin-left: 10px;
	border-left: 1px solid #ddd;
}

/* single view */
.news-single .footer {
	margin-bottom: 20px;
	margin-top: 5px;
	padding: 10px 0 0 0;
	border-bottom: 0;
	border-top: 1px solid #eee;
}

.news-single .article .news-img-wrap {
	float: right;
	width: 282px;
	margin: 0 0 0 25px;
}

.news-single .article .news-img-wrap img {
	float: none;
}

.news-single .teaser-text {
	font-size: 15px;
	color: #888;
}

.news-text-wrap {
	margin-bottom: 10px;
}

.news-img-caption {
	color: #888;
}

/* related news + files */
.news-related-wrap {
	display: table;
	margin-top: 20px;
	width: 100%;
}

.news-related {
	width: 50%;
	padding: 15px;
	border: 1px solid #eee;
	display: table-cell;
}

.news-related ul li {
	line-height: 1em;
	margin-bottom: 12px;
}

.news-related ul li span {
	border-right: 1px solid #DDDDDD;
	display: inline-block;
	margin-right: 8px;
	padding-right: 8px;
	color: #888;
}

.news-related ul li span:last-child {
	border-right: 0;
	padding-right: 0;
}

.news-related h4 {
	margin-bottom: 10px;
}

.news-related-files ul li {
	margin-bottom: 20px;
}

.news-related-files .news-related-files-link .jpg {
	background-position: 0 0;
}

.news-clear {
	clear: both;
}

/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0 0 60px; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url('../../../fileadmin/template_digitalesdaenemark/components/FlexSlider/images/bg_direction_nav.png') no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
.flex-direction-nav .flex-prev {left: -36px;}
.flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}
html, body {margin:0; padding:0;}
body {font-family:Ubuntu, arial, verdana, sans-serif; font-weight:300; font-size:15px; line-height:1.6; color:#686867;}

figure {margin:0px;}
img {border:0px none;}

iframe {width:100% !important; max-height:100%; border:0px none;}

ul, ol {padding-left:18px; list-style-position: outside;}
li {padding-left:10px;}

hr.clearer {border:0px none; height:1px; clear:both; margin:0px; padding:0px;}

a {/*color:#4f7595; font-weight:400;*/ color:inherit; text-decoration:underline;}
a:active, a:hover {text-decoration:underline;}

b, strong {font-weight:400;}

.nav, .nav li {list-style:none; margin:0px; padding:0px;}

h1 {text-transform:uppercase; font-family:inherit; font-size:41px; line-height:52px; font-weight:inherit;}
.content-teaser h1 {text-align:center;}
h2 {font-weight:inherit; font-size:21px; line-height:33px; margin-bottom:55px;}
h3 {text-transform:uppercase; font-size:18px; line-height:25px; font-weight:inherit; margin-top:45px; margin-bottom:15px;}
.box h3 {font-size:16px;}
/*.grid-sidebar h3 {margin-top:0px;}*/
.indent + h3 {margin-top:45px;}

#logo-link, #logo-link-footer {display:block; width:220px; float:left;}
#logo-link-footer {float:none; width:168px;}
    #logo-link img, #logo-link-footer img {display:block; width:100%;}

#outer {margin:0 8%;}
    #header {padding:40px 0px 80px 0px; position: relative;}
    #footer {padding:85px 0px 70px 0px;}



/*--- Topsearch ---*/
#topsearch {display:inline-block; position:absolute; right:0px; top:38px; margin-right:120px; font-size: 16px;}
    #topsearch-control {text-transform:uppercase; margin-right:5px; text-decoration:none;}
    #topsearch form {margin-left:10px; display: inline-block;}
        #topsearch input {border:0px none; border-bottom:1px solid #686867; width:auto; /*display:none;*/ margin-right:10px; padding:0px; border-radius:0px;}
        #topsearch input.submit {display:none;}
#topsearch-button {width:18px; display: inline-block; vertical-align:bottom; position: relative; top:-2px;}
#topsearch-button img {display: block; width: 100%;}



/*--- Mainnav ---*/
#mainnav-control {
    display:none; position: absolute; right:0px; margin-top:-40px; text-transform:uppercase;
    background: url('../../../fileadmin/template_digitalesdaenemark/img/icon-menu.svg') no-repeat right top;
    background-size:50px auto;
    padding-right:40px;
    height:50px;
}
.mainnav-sub-control {
    border-left:1px solid #686867; width:37px; height:41px; display:inline-block;
    background:url('../../../fileadmin/template_digitalesdaenemark/img/icon-down.svg') no-repeat center center; float:left;
}
li:hover .mainnav-sub-control {background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-up.svg');}
li:hover .current .mainnav-sub-control, .current .mainnav-sub-control {background-color:#F1F1F1;}
#mainnav {float:right; margin-top:80px; position: relative;}
    #mainnav li {display:inline-block; margin-left:25px; position: relative;}
    #mainnav a {
        text-transform:uppercase; color:inherit; text-decoration:none;
        display:inline-block; padding:5px 10px 5px 15px; font-size:16px; height:31px; line-height:31px; width:175px; font-weight:300; float:left;
    }
    #mainnav a:hover {background-color:#F1F1F1;}
    #mainnav .current a {background-color:#F1F1F1;}
    #mainnav > li {border: 1px solid #686867;}

    #mainnav > li:last-of-type {
        border:0px none; background:transparent;
                position: absolute; top:-90px; right:0px;
    }
    #mainnav > li:last-of-type a {
        background:url('../../../fileadmin/template_digitalesdaenemark/img/icon-brief.svg') no-repeat right center;
        background-size:20px auto;
        width: auto;
        padding-right: 30px;
    }
    /*#mainnav > li > a {text-align:center;}*/

    .mainnav-sub {
        display:none;
        position:absolute; 
        background:rgba(255, 255, 255, 0.8); 
        left:0px;
        width:100%;
        z-index:50;
        padding:10px 0px;
        top:42px;
    }
    #mainnav li:hover .mainnav-sub {display:block;}

        #mainnav .mainnav-sub li {margin-left:0px;}
        #mainnav .mainnav-sub a {border:0px none; background:none;}
        #mainnav .mainnav-sub a:hover {text-decoration:underline;}
        #mainnav .mainnav-sub .current a {background:rgba(241, 241, 241, 0.8); }

#breadcrumb {clear:right; font-size:13px; padding-top:30px; float:left; margin-left:30px;}
    #breadcrumb li {display: inline-block; text-transform: uppercase;}
    #breadcrumb a {text-transform: uppercase;}



/*--- Elements ---*/
.box {
    background-size:cover; position:relative; xfont-size:17px; xline-height:23px; margin-bottom:15px !important; overflow-y:hidden;
}

.box a:after, body .news-list-view .article a::after {
    content:" "; display:block; width:40px; height:40px; position:absolute; bottom:13px; right:0px;
    /*background: url('../../../fileadmin/template_digitalesdaenemark/img/icon-more.svg');*/
    background:url('../../../fileadmin/template_digitalesdaenemark/img/icon-down.svg') no-repeat right top;
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
body .news .article::after {display: none;}

.box a {font-weight:300;}

.bigbox, .shortbox {}
.shortbox {margin-bottom:15px;}
    .box a {
        bottom: 0;
        color: inherit;
        display: block;
        left: 0;
        position: absolute;
        right: 0;
        text-decoration: none;
        top: 0;
        overflow-y:hidden;
    }
.box h3 {margin-top:15px; margin-bottom:12px;}
.box h3 + p {margin-top:12px;}

/* box text */
.box .boxtext, .box .teaser-text {padding:10px 30px 10px 25px;}

/* box label */
.box .boxlabel {
    font-style: italic;
    position:absolute;
    top:0px;
    left:0px;
    right:0px;
    color:white;
    text-transform:uppercase;
    padding:25px 20px 20px 70px;
    background:url('../../../fileadmin/template_digitalesdaenemark/img/icon-news-white.svg') no-repeat 20px 15px;
    background-size:40px auto;
}
.shortbox .boxlabel {color:inherit; background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-news-gray.svg');}



/*--- Grid ---*/
.grid-24-col.box a {color:inherit; text-transform:none; display:block; min-height:250px;}
.grid-24-col.box .boxtext, .grid-24-col.article .teaser-text {
    background: rgba(255, 255, 255, 0.85);
    margin:0px;
    position:absolute;
    bottom:-1px;
    left:0px;
    right:0px;
}
.bigbox.article, .longbox {
    background: rgba(255, 255, 255, 1.0);
    border-bottom:1px solid #686867;
}
.bigbox.article .teaser-text {
    background: rgba(255, 255, 255, 1.0);
}


.grid-14-col, .grid-24-col, .grid-34-col, .news-list-view .article, .grid-16-col {margin-right:1.1%;}
.grid-14-col:last-of-type, .grid-24-col:last-of-type, .grid-34-col:last-of-type, .grid-16-col:last-of-type {
    margin-right:0% !important;
}
.grid-16-col:last-of-type {width:22%;}

/* grid-14-col */
.grid-14-col {width:24.1%; float:left;}
.grid-14-col:nth-of-type(4n+4) {margin-right:0px; /*border:1px solid red;*/}
.grid-24-col + .grid-14-col:nth-of-type(2n+1) {margin-right:0px; border:1px solid red;}
.grid-24-col:nth-of-type(1)+.grid-14-col+.grid-14-col,
    /*.grid-24-col:nth-of-type(2n+1)+.grid-14-col+.grid-14-col {margin-right:0px;}*/
.grid-24-col:nth-of-type(1)+.grid-14-col:nth-of-type(2n+3) {clear:both;}
.partner-sub {float:right; margin-right:0px;}
    .grid-14-col .grid-14-col {width:100%; margin-right:0px !important; float:none;}

.grid-34-partner + #sidebar {float:right;}

/* grid-24-col */
.grid-24-col {width:49.3%; float:left;}
.grid-24-col:nth-of-type(2n+2) {margin-right:0px;}
    .grid-24-col .grid-14-col {width:49.2%; margin-right:1.6%;}
    .grid-24-col .grid-14-col:nth-of-type(2n+2) {margin-right:0px;}

    .grid-24-col .grid-24-col {width:100%; margin-right:0px; float:none;}

/* grid-34-col */
.grid-34-col {width:74.5%; float:left;}
.grid-34-partner {width:72.3%; margin-right:3.3%;}
    /* inside 34-cols all boxes are 14-cols */
    .grid-34-col .box {width:32.3%; margin-right:1.5%;}
    .grid-34-col .box:nth-of-type(3n+3) {margin-right:0px;}

/* grid-16-col */
.grid-16-col {width:15.7%; float:left;}



/*--- Sections ---*/
.content-teaser, .news-single .teaser-text {padding-bottom:60px; font-size:21px; line-height:33px; text-align:center;}
.news-single .teaser-text {text-align:left; padding-bottom:20px;}
.grid-main {width:67.2%; margin-right:8.4%;}

#footer {font-size:13px; line-height:21px;}
    #footer b {font-size:14px; text-transform:uppercase; display:block; margin-top:-5px; margin-bottom:10px;}

    #footer .embassy {margin-left:4.5%; padding-left:50px;}
    #footer .embassy a {display:block; position:relative; left:-50px;}

    #footer .nav a {text-decoration:none;}
    #footer .nav a:hover {text-decoration:underline;}



/*--- TYPO3 Styles ---*/
.content-1col img, #logo-link-footer, .mediaelement img {display:block; max-width:100%; height:auto !important;}
.frame:first-of-type h1 {margin-top:-10px;}

/* images main content */
.ce-gallery {margin-bottom:15px;}
.intro .ce-gallery, .grid-34-partner img {margin-bottom:55px;}

.grid-34-col .ce-gallery[data-ce-columns="2"] .ce-column,
.grid-34-col .ce-gallery[data-ce-columns="3"] .ce-column,
.grid-34-col .ce-gallery[data-ce-columns="4"] .ce-column {
    float:left; width:22%; margin-right:3%;
}




/*--- flexslider ---*/
body .flexslider {
    background:transparent; border:0px none; border-radius:0px;
    box-shadow:none; margin:0px; margin-bottom:85px;
}
.slides li {padding:0px;}
    .slides img {height:auto !important;}
    .slide-caption {
        font-size:28px; line-height:35px; color:white;
        text-align: center; position:absolute; bottom:0px; padding-left:50px; padding-right:50px; padding-bottom:60px; padding-top:100px;
        left:0px; right:0px; 
            background: rgba(0, 0, 0, 0) linear-gradient(0deg, rgba(79, 117, 149, 0.8) 0%, rgba(79, 117, 149, 0) 100%) repeat scroll 0 0;
        text-transform: uppercase;
    }
        .slide-caption p {margin-top:0px;}
        .slide-caption p:last-child {margin-bottom:0px;}
        .slide-caption a {
            border:1px solid white; text-decoration:none; color:inherit; display:inline-block;
            margin:0px auto;
            padding:3px 15px;
            font-weight:inherit;
            text-transform: uppercase;
            font-size: 22px;
        }
        .slide-caption a:hover {background:white; color:#686867;}

body .flex-direction-nav a {
    opacity:1 !important;
    background:url('../../../fileadmin/template_digitalesdaenemark/img/icon-arrow-prev.svg') no-repeat;
}
body .flex-direction-nav .flex-prev {left:0px !important;}
body .flex-direction-nav .flex-next {
    right:0px !important;
    
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}



/*--- Ext: partner ---*/
.partner {position:relative;}
.partner .boxlogo, .boxlabel-wrapper {
    background: rgba(0, 0, 0, 0) linear-gradient(180deg, rgba(79, 117, 149, 0.8) 0%, rgba(79, 117, 149, 0) 100%) repeat scroll 0 0;
    top: 0;
    color: white;
    height: 80px;
    left: 0;
    margin: 0;
    padding: 10px 5% 10px 40%;
    position: absolute;
    width: 55%;
    background-blend-mode: multiply; 
}
.shortbox .boxlabel-wrapper {background:none; color:inherit;}
.partner .boxlogo img {
    height: 55px !important;
    left: 25px;
    position: absolute;
    top: 5px;
    width: auto !important;
}
.bigbox .partner .boxlogo {height:157px;}
.bigbox .partner .boxlogo img {
    height: 110px !important;
    top:0px;
}

.address-item {font-size:18px; margin:28px 0px;}
.address-item:last-of-type {margin-bottom:12px;}

.personal-contact {margin:18px 0px;}
.personal-contact img {margin-bottom:16px;}
.personal-contact:last-of-type {margin-bottom:120px;}

.partner-social li {display:inline-block; /*margin-right:10px;*/}
.partner-social a {display:inline-block; width:36px; height:36px; background:left top no-repeat;}
.partner-social .xing {background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-social-xing.svg');}
.partner-social .instagram {background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-social-instagram.svg');}
.partner-social .facebook {background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-social-facebook.svg');}
.partner-social .linkedin {background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-social-linkedin.svg');}
.partner-social .twitter {background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-social-twitter.svg');}
.partner-social .mail {background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-social-mail.svg'); margin-left:20px;}




/*--- Ext: news ---*/
body .news .article {margin-bottom:0px; margin-top:0px; padding:0px;}
body .news-list-view .article {margin-bottom:15px !important;}
body .news .article .news-img-wrap {float:none; margin:0px;}
body .news .article .news-img-wrap a {float:none; padding:0px; border:0px none;}
body .news .article .news-img-wrap img {float:none; width:100% !important;}

body .news .article.shortbox a {background:#f0f0f1; /*padding:10px;*/ padding-top:40px;}
body .news .article.shortbox { margin-bottom:15px;}
body .news .shortbox h3 { font-size: 15px; line-height:1.6; margin-top:20px; text-transform:uppercase;}

.news .article {position:relative;}

.news-meta {margin-top:50px;}

/* images (detail page) */
.news-img-caption, .image-caption {font-size: 13px; font-style: italic; margin-top:12px;}

/* image gallery detail page */
.image-4cols {margin-top:50px;}
.image-4cols .mediaelement {float:left; width:22%; margin-right:3%; margin-bottom:3%;}
.image-4cols .news-img-caption {display:none;}




/*--- Forms ---*/
form, fieldset, legend, label {margin:0px; padding:0px; border:0px none;}
    legend {display:none;}

    legend, label, input, textarea {font-family:inherit; font-size:inherit; color:inherit; font-weight:inherit;}

label { display: block; margin-bottom:5px;}
.powermail_label {display: none;}
input, textarea, #ke_search_sword {box-sizing: border-box; width:100%;  padding:10px 10px; border:1px solid #686867; border-radius:0px; box-shadow:none;}

#kesearch_submit, .resetbutt {display:none;}


    input.powermail_submit, .resetbutt a, .submitbutt input {
         padding:8px 55px; cursor:pointer; text-transform:uppercase;
        background: white !important; font-family:inherit !important; font-size:inherit !important; color:inherit !important; font-weight: inherit !important;
        width:auto;
}
input.powermail_submit:hover {background:#F1F1F1  !important;}
.powermail_fieldwrap_type_submit {float:none !important; clear:both; margin-top:38px;}

.powermail_fieldwrap_type_check .powermail_label, .powermail_fieldwrap_type_radio .powermail_label {display: block;}

.powermail_fieldwrap_type_radio .powermail_label {float:left; margin-right:15px;}

/* Powermail */
.powermail_form h3 {display:none;}
    .powermail_fieldwrap {width:48%; margin-right:2%; float:left; margin-bottom:20px;}
    .powermail_fieldwrap:nth-of-type(2n+2) {float:right; margin-right:0px;}
    .powermail_fieldwrap:nth-of-type(2n+3) {clear:both;}
.powermail_fieldwrap_type_textarea, .powermail_fieldwrap_type_check {float:none; width: 100%;}
.powermail_fieldwrap_type_textarea {margin-bottom:35px;}

.powermail_form .radio {display: inline-block; margin-right:20px;}
.powermail_form .radio input, .powermail_form .checkbox input {width:auto;}

.powermail_form .checkbox {margin-top: 10px;}
.powermail_form .checkbox input {margin-left:-20px;}
.powermail_form .checkbox label {padding:0px; padding-left:20px;}


/*--- js:uiTotop ---*/
#toTop {
    background:url('../../../fileadmin/template_digitalesdaenemark/img/icon-up.svg') no-repeat scroll transparent;
    background-size:45px auto;
    border:medium none;
    bottom:20px;
    display:none;
    height:45px;
    overflow:hidden;
    position:fixed;
    right:20px;
    text-decoration:none;
    text-indent:-999px;
    width:45px;
    z-index:100;
    border: 1px solid #686867;
}

#toTopHover {
    xbackground:url('../../../fileadmin/template_digitalesdaenemark/img/ui.totop.square.png') no-repeat scroll transparent;
    background-position:-50px -401px;
	display:block;
    float:left;
    height:45px;
    opacity:0;
    overflow:hidden;
    width:45px;
    border: 1px solid #686867;
}

.footer-social a {display: block; display:inline-block; background:no-repeat; width:22px; height:22px; background-size:22px 22px; margin-right:10px;}
.footer-social .facebook {background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-share-facebook.svg');}
.footer-social .twitter {background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-share-twitter.svg');}
.footer-social .youtube {background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-share-youtube.svg');}
.footer-social .mail {background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-share-mail.svg'); margin-left:25px;}




/* Toggles / Accordion */
.toggle, .accordion {margin-top:45px;}
    .ui-accordion-header {cursor:pointer; border: 1px solid #686867; padding:10px 20px; margin-bottom:20px; background:url('../../../fileadmin/template_digitalesdaenemark/img/icon-down.svg') right center no-repeat;}
    .ui-accordion-header:hover {background-color:#F1F1F1;}
    .ui-accordion-header-active {background-color:#F1F1F1; background-image:url('../../../fileadmin/template_digitalesdaenemark/img/icon-up.svg');}
        .ui-accordion-header h3 {margin:0px;}
.ui-accordion-content {margin-bottom:30px;}






@media screen and (max-width: 1440px) {
    /*#mainnav li:first-child {display: none;}*/
    .longbox .boxtext p, .longbox .teaser-description {display: none;}
}

@media screen and (max-width: 1180px) {
    #logo-link {width:180px;}
    #mainnav {margin-top:50px;}
    #mainnav > li:last-of-type {top:-60px;}
}

@media screen and (max-width: 1150px) {
    /*--- turn 1/2 to fullwidth ---*/
    .grid-24-col, #sidebar-top {float:none; width:auto; margin-right:0px; margin-bottom:4.5%;}
    #sidebar-top {margin-bottom:60px;}
    .company-contact {float:left; margin-right:50px;}
    /*.grid-24-col.box {height:auto !important}*/
    .indent {margin-top:60px;}
    .partner-sub .indent {margin-top:0px;}

    /*--- turn 1/4 to 1/2 ---*/
    .grid-14-col, .image-4cols .mediaelement {width:49.3%; margin-right:1.1%;}
    .grid-14-col:nth-of-type(2n+2), .image-4cols .mediaelement:nth-of-type(2n+2) {margin-right:0px;}

    /*--- turn 3/4 to fullwidth ---*/
    .grid-34-col {/*width:67.2%;*/ /*width:60.2%;*/}
    .grid-sidebar {/*width:24.1%;*/ /*width:31.1%;*/}
    .grid-34-partner + #sidebar {float:left; width:100%;}
    .grid-34-partner + #sidebar .news {display:none;}
    .personal-contact img {float:left; margin-right: 40px;}
    .company-contact:first-of-type {margin-bottom:0px;}

    /*#personal-contact h3 {margin-top:0px;}*/
    .personal-contact:last-of-type {margin:0px;}
    
    .grid-34-col, .grid-sidebar {float:none; width:auto; margin-right:0px; margin-bottom:4.5%;}
    .grid-sidebar .grid-14-col {width:48.9%; float:left; margin-right:1.1% !important;}

    /* contact page */
    .grid-sidebar h3 {margin-top:0px;}
    
    /* slider */
    .slide-caption {padding-top:0px; padding-bottom:30px; padding-top:30px;}
    
    /* boxes */
    .longbox, .shortbox {height:auto !important; margin-bottom:30px !important;}
    .longbox a, .shortbox a {position:static;}
    
    /* footer */
    .grid-16-col {width:22.1%; margin-bottom:20px;}
    #footer .embassy {width:18.6%; /*margin-left:0px;*/}
    .grid-16-col:nth-of-type(4n+4) {margin-right:0px;}
    .grid-16-col:last-of-type {float:none; clear:both; width:auto;}
}

@media screen and (max-width: 1150px) { 
    #logo-link {float:none; width:200px;}
    #topsearch {margin-right:0px;}
    
    #mainnav-control {display: block;}
    #mainnav {float:none; clear:both; display:none;}
        #mainnav li {display: block; float:none; width:auto; margin-left:0px;}
        #mainnav > li {margin-top:30px;}

        #mainnav a {display:block; padding-right:45px; float:none; width:auto;}
            .mainnav-sub-control {position:absolute; right:0px; top:0px;}
            .mainnav-sub {position: static; border-top: 1px solid #686867;}
            #mainnav li:hover .mainnav-sub {display:none;}
    
    #mainnav > li:last-of-type {position: static; border:1px solid #686867;}
    #mainnav > li:last-of-type a {font-size:inherit; background:none;}
    #breadcrumb {margin-left:0px;}
}

@media screen and (max-width: 1000px) {
    .slide-caption {position:static; font-size:18px; line-height:28px; padding-top:80px; margin-top:-50px; }
        .slide-caption a {font-size:14px;}
}

@media screen and (max-width: 850px) {
    .grid-16-col {width:49.3%;}
    .grid-16-col:nth-of-type(2n+2) {margin-right:0px;}
    #footer .embassy {margin-left:0px; padding-left:0px;}
    #footer .embassy a {left:0px;}
}

@media screen and (max-width: 700px) {
        #logo-link {width:40%; float:none;}
    #topsearch {display:none;}
    
    .bigbox {height:auto !important; border-bottom:1px solid #686867;}
    .bigbox a, .bigbox .boxtext {position:static !important;}
}

@media screen and (max-width: 650px) {
    /*--- turn 1/4 and 3/4 to fullwidth ---*/
    .grid-14-col, .grid-24-col .grid-14-col, .grid-34-col, .image-4cols .mediaelement, .grid-sidebar .grid-14-col {
        float:none; width:auto; margin-right:0px; margin-bottom:4.5%;
    }
    .grid-sidebar {margin-top: 75px;}
    .image-4cols img {width:100% !important;}
    
.personal-contact img {float:none; margin-right: 0px;}
    /*.box {height:auto !important}*/
    
    #logo-link {
        width: 50%;
    }
    .bigbox .partner .boxlogo img {top:-10px;}
    
    /* forms */
    .powermail_fieldwrap_type_radio .powermail_label {display:none;}
}

@media screen and (max-width: 450px) {
    .grid-16-col:first-of-type {display:none;}
    .grid-16-col {float:none; clear:both; width:auto;}
    
    #breadcrumb {display:none;}
}