/* Fix for contactimage */

#contactimage,
.contactimage {
    position: relative;
    width: 50px;
    height: 50px;
    overflow: hidden;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    float: left;
    margin-top: 10px;
    margin-right: 10px;
}
#contactimage img,
.contactimage img {
    position: absolute;
    left: 49%;
    top: 51%;
    height: 102%; /* 5% extra to hide the white line on the profile images */
    width: auto;
    -webkit-transform: translate(-51%,-49%);
    -ms-transform: translate(-51%,-49%);
    transform: translate(-51%,-49%);
}

#contactimage img.portrait,
.contactimage img.portrait {
    width: 102%;  /* 5% extra to hide the white line on the profile images */
    height: auto;
}
#contactinfo,
.contactinfo {
    float: left;
    vertical-align: top;
	/*
    margin-top: 8px;
    margin-top: 10px\9;
	*/
	margin-bottom: 1em;
	width: 60%;
    width: calc(100% - 60px);  	
}

/* Always display bold text in bold */
b, 
strong,
b *,
strong * {
font-weight: bold !important;	
}

/* Remove top-margin on first paragraphs and headings */
p:first-child,
h1:first-child, 
h2:first-child, 
h3:first-child, 
h4:first-child, 
h5:first-child, 
h6:first-child { 
	margin-top: 0 !important;}

/* Break word if URL to homepage is too long */
#url {
    word-break: break-all;	
}	

/* Cookie settings */
#ctl00_ctl00_Div_ChangeCookieConsentPreference {
	z-index: 99999;
}

#CybotCookiebotDialog #CybotCookiebotDialogBody a, #CybotCookiebotDialog #CybotCookiebotDialogBody a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}


/* Wait to run animations until page is loaded */
.animation-loading,
.animation-loading *,
.animation-loading *:before,
.animation-loading *:after {
  animation-play-state: paused !important;
}

/* If image is added inside advertisement */
#AdvertisementInnerContent img {
    max-width: 100%;
}

/* WCAG */
*:focus-visible {
    outline: 2px solid #000;
}

/* If in preview - delay cookie-warning  */
.previewdelay #CybotCookiebotDialog,
.previewdelay #ctl00_ctl00_Div_ChangeCookieConsentPreference {
display: none !important;
}

/* Override Responsive CSS styling - Don't change the font-size on mobile devices */
@media (max-device-width: 767px) {
html body, html td, html p, html span, html li, html ul, html a, html .ProjectList a, html .ProjectList_Header TD, html .ProjectList_AlternatingRow td, html .ProjectList_Row TD, html #ListFilterWrapper, html .ListFilterHeader, html #DepartmentFilterWrapper, html #LocationFilterWrapper, html #CategoryFilterWrapper, html #AdvertisementInnerContent, html #column1, html #column2, html #footer, html #footer * {
    font-size: initial !important;
}
}