/* custom styles and quick fixes */
/* Tweak home teaser with image to align it's height with two teasers and subscribe form to the right*/

.mac .navbar .container .navbar-nav .li5{
	margin-left:23px;
}
.main-wrap .top-links-wrap .red-btn-da :nth-child(2){
	background-color: #bb1d2c;    
    padding: 0 10px;
    color: #fff;
}
.align-info-block > div:first-of-type {
    display: block;
    height: 210px;
}
.align-info-block img
{
    max-width: 100%;
    height: 200px;
    margin: 0px auto;
    display: block;
}
.align-info-block h2 {
    margin-bottom: 15px;
    margin-top: 30px;
	text-align: center;
	height: 100px;
}
.align-info-block span{
	text-align: center;
    display: block;
	
	/*test css for ...*/
	-webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.text-container-gradient {
	height: 90px;
	position: relative;
	overflow: hidden;
}

.text-container-gradient::after {
	content: "";
	width: 100%;
	position: absolute;
	display: block;
	bottom: 0;
	left: 0;
	height:40px;
	background: rgb(255,255,255);
	background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 100%);
}

/*Splash to front pages of Open Site (DK, SE, NO)*/
.e-splash {
    position: absolute;
    left: -80px;
    top: -75px;
    display: table;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    font-size: 24px;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    padding: 15px;
    background: #bb1d2c;
	margin-top: inherit;
}

.e-splash span {
    display: table-cell;
    vertical-align: middle;
    z-index: 888;
    line-height: 23px;
}

.e-splash.norge, .e-splash.sverige{
    left: -120px;
    top: -95px;
}
.e-splash a, .e-splash a:visited, .e-splash a:hover, .e-splash a:active {
    display: table-cell;
    text-decoration: none;
    font-weight: 400;
    border: none;
    color: #fff;
    outline: 0;
    vertical-align: middle;
}
@media screen and (max-width: 1325px) {
	.e-splash, .e-splash.norge, .e-splash.sverige{
		display:none;
	}	
}
/*END Splash to front pages of Open Site (DK, SE, NO)*/

.home-news-section .teaser-block-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
}
.home-news-section .teaser-block-wrapper .content-wrapper {
    padding-top: 8px;
    /* Fix for inline-block extra space */    
    font-size: 0;
}
.home-news-section .teaser-block-wrapper .headline p {
    min-height: 0 !important;
}
.home-news-section .teaser-block-wrapper .text {
    display: none;
}
.home-news-section .teaser-block-wrapper .btn-primary {
    margin-top: 0;
}
.content-wrap .grid-section [data-highlighted-block="1"] {
    background-color: rgba(255, 255, 255, .8);
    padding: 10px 40px 20px 40px;
    margin: 60px 0 0;
}
.owl-item {
    height: 560px;
}
.content-wrap .grid-section > [data-row-under-nav] {
    min-height: 670px;
}
.content-wrap .grid-section > [data-row-under-nav] .owl-item {
    height: 670px;
}
.content-wrap {
    min-height: 597px;
}
.owl-carousel {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
}
/* EBOO-13506, remove two empty groups on senders page on sverige/sv */

.show-only-first-div>div:first-child {
    display: block !important;
}
.show-only-first-div>div {
    display: none !important;
}
/*EBOI-4873, expand to 3 logos in the 'Who can I receive mail from' overview */

.senders-row .column div:first-child img {
    margin: 9px 0;
}
.senders-row .column div:first-child {
    min-height: 345px;
}
/*senders page*/

.sender-header {} .senders-block .container {
    width: 100% !important;
}
.sender-anim-header .btn-link-sender-film {
    background: #fff;
    border: 1px solid #000;
    color: #000;    
}
.sender-anim-header .btn-link-sender-film:hover {
    background: #000;
    color: #fff;
    text-align: center;
}
.sender-anim-header .btn-primary {
    border: 1px solid #bb1d2c;
}
#animate-block {    
    font-size: 42px !important;    
    margin-bottom: 5px;
    font-weight: 600 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#animate-block .title {
    display: inline-block;
    float: left;
    padding-right: 5px !important;
	width:auto;
}
#animate-text {
    overflow: hidden;
    position: relative;
    height: 62px !important;
    padding-left: 8px !important;
}
.sender-list {
    position: relative;
    bottom: 0;
    /*background: #F2F2F7;*/
    width: 100%;    
}
.sender-logos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    width: 100%;
    height: 7em;
    margin: 0 auto;
    padding-left: 0px !important;
}
.sender-logos li {
    list-style: none;
    vertical-align: middle;
    text-align: center;
    padding: 0;
    padding-right: 5px;
    margin-bottom: 0px !important;
    display: inline-block;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: grayscale(1);
    /* Firefox 4+ */
    
    filter: gray;
    /* IE 6-9 */
}
.sender-logos .btn-success.gray {
    background-color: #212121;
}
.no .top-links-block-layout,
.sv .top-links-block-layout {
    padding-left: 0;
}
.no .divider-vertical,
.sv .divider-vertical {
    padding-left: 10px !important;
}
.no .sender-anim-header,
.sv .sender-anim-header {
    position: relative !important;
    left: 20px !important;
}
.no .top-links-wrap .top-links-block-layout a,
.sv .top-links-wrap .top-links-block-layout a {
    padding-left: 0px !important;
}
.mac #animate-block {
	font-size: 40px !important;
}
.mac #fxsize {
	font-size: 24px !important;
}
.mac #animate-text.en {
	padding-left: 5px !important;
}
@media not all and (min-resolution: .001dpcm) {   
	#animate-block {
		font-size: 40px !important;
	}
	#fxsize {
		font-size: 24px !important;
	}
	#animate-text.en {
		padding-left: 0px !important;
	}    
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .sv .navbar-right {
        margin-right: 0px;
    }
}
#video-container.hide-video-block {
    display: none;
}
#video-container {
    display: inline-flex;
    z-index: 9999;
    top: 50%;
    left: 50%;
    padding: 0px;
    margin: 0px;
    position: fixed;
    box-shadow: 0 0 0 99999px rgba(0, 0, 0, .93);
    background-color: #fff;
    transform: translate(-50%, -50%);
}
#video-container iframe {
    width: 800px;    
	height: 450px;/*height: 600px;*/
}
.video-close {
    position: absolute;
    top: -30px;
    right: 0px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}
/*Animation styles start*/

.senders-animation .images {
    position: absolute;
    padding-left: 30px;
    padding-right: 30px;
    top: 30px;
}
.senders-animation .images img {
    height: 70px;
    display: inline;
}
.senders-animation .images div {
    text-align: center;
    padding: 10px;
    background: #fff;
    border-radius: 3px;
    -webkit-box-shadow: 0px 2px 63px -14px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 0px 2px 63px -14px rgba(0, 0, 0, 0.24);
    box-shadow: 0px 2px 63px -14px rgba(0, 0, 0, 0.24);
    width: 200px;
}
.senders-animation .images div:first-child {
    margin-bottom: 20px;
}
.senders-animation .images-wrapper {
    position: relative;
    width: 100%;
    margin: 70px auto 0 auto;
    overflow-x: hidden;
    height: 270px;
    opacity: 0;
}
.senders-animation .container {
    width: 100% !important;
}
/*Animation styles end*/

.form-cstm-footer-text{
	display:none;
}

/*Features section styles*/
.features-wrapper h2{
	padding-bottom:10px;
}
.features-safe .container{
	padding:0px;
}

.features-info-block {
	display: inline-block;
}
.features-info-block .f-img{
	float: left;
	min-height: 35px;
}
.features-info-block .f-img img{
	margin-right: 10px;
}
.features-info-block .f-info{
	height: 55px;
}
/*Nav dropdwon changes*/

.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    display: none;
}
.dropdown-submenu > .dropdown-menu {
    top: 5px;
    left: 100%;
    margin-top: -6px;
}
@media (min-width: 1200px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 4px 0 4px 4px;
        border-left-color: #000;
        margin-top: 7px;
        margin-right: -20px;
    }
}

@media (min-width:993px) and (max-width: 1199px)  {

     .dropdown-submenu {
        padding-right: 0px !important;
    }

    .dropdown-submenu > .dropdown-toggle {
        width: 40px;
        text-align: center;
        outline: none !important;
        border: none;
    }

    .dropdown-submenu .dropdown-menu.open-menu {
        display: block;
    }
        .dropdown-submenu .caret {
            border-left: 4px dashed;
            border-bottom: 4px solid transparent;
            border-top: 4px solid transparent;
            margin-bottom: 4px
        }
}

@media (max-width: 992px) {
    .dropdown-submenu > .dropdown-toggle {
        width: 40px;
        text-align: center;
        outline: none !important;
        border: none;
    }

    .dropdown-submenu .dropdown-menu.open-menu {
        display: block;
    }

    .dropdown-submenu .caret {
        border-top: 4px dashed;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
    }
}

/*Nav dropdown changes end*/
/*Features section styles end*/
@media (max-width: 425px) {
	.mac #animate-block,
    #animate-block {
        font-size: 31px !important;
    }
	.mac #animate-text,
    #animate-text {       
        height: 45px !important;
    }
}
@media (max-width: 345px) {
    .mac #animate-text.sv,
	#animate-text.sv,
    .mac #animate-text.en,
	#animate-text.en{
        height: 38px !important;
    }
	.mac #animate-block,
    #animate-block {
        font-size: 25px !important;
    }
	
}
@media (max-width: 768px) {
	.no .sender-anim-header,
    .sv .sender-anim-header {
        position: relative !important;
        left: 0px !important;
    }
	
	.section-block-info-content{
		padding: 0 0 0 0 !important;
	}
}
@media (min-height: 994px) {
    .content-wrap > [eboks-carousel-wrap] .umb-grid {
        min-height: 273px;
    }
}
@media (max-width: 993px) {
    .footer-wrap .col-md-6 {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .footer-wrap .col-md-6 p {
        padding-left: 0px !important;
    }
    .sender-logos {        
        display: inline-table;
    }
    #video-container {
        width: 100%;
        background-color: #000;
        top: 40%;
    }
    #video-container iframe {
        width: 100%;
        height: 300px;
    }
    #video-container iframe {
        margin: 0px auto;
    }
}
@media (max-height: 993px) {
    .content-wrap {
        min-height: 500px;
    }
}
/*Fix for pressroom image bank*/

@media (min-width: 1200px) {
    .pressroom-image-bank .col-md-6 img {
        height: 273px;
    }
    .pressroom-image-bank .col-md-6 > div {
        margin: 0 -1%;
    }
}
@media (max-width: 1199px) {
    .pressroom-image-bank .col-md-6 img {
        height: 223px;
    }
    .pressroom-image-bank .col-md-6 > div {
        margin: 0 -1%;
    }
    #animate-text {
        padding-left: 0px !important;        
    }
}
@media (max-width: 993px) {
    .pressroom-image-bank .col-md-6 img {
        height: auto;
    }
}
/* Smartphones (landscape) */

@media only screen and (max-width: 568px) and (orientation: landscape) {
    .popup-overlay .welcome-popup .btn-link-wrap {
        width: 50% !important;
        float: left;
    }
}
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */