button#referencesmanager, button#referencesmanagerEdit {
z-index: 20;
position: relative;
cursor: pointer;
margin-bottom: 20px;
}
/*
.referencedetailstage.video {
background-color: #f1f2f3;
height:489px
}*/
#stageImage img, #stageCarousel img {
width: 100%;
vertical-align: middle;
}
#stageCarousel .hoverright {
margin-right: 15%;
}

/*
.referencedetailtitle h2{
font-size: 30px;
line-height:36px;
position:relative;
padding: 0 60px 8px 0;
}
*/

h5#subtitle.confirmed {
margin-right: 100px;
}
.referencedetailtitle span.countersigned {
margin-top: -70px;
}
.countersignstatements .carousel-control-prev, .countersignstatements .carousel-control-next {
width: 5%;
}
.countersignstatement blockquote {
margin: 0;
}
.countersignstatement p {
margin: 0 80px;
font-size: 21px;
font-family: 'Georgia';
line-height: 32px;
}
.countersignstatements .countersigned {
right: 20px;
top: 70px;
position: absolute;
z-index: 20;
}
.countersignstatement footer {
margin: 0 80px 0 89px;
}

.mediafiles-1 img, .mediafiles-2 img, .mediafiles-6 img, .image-portrait-inline img {
width: 100%;
margin-bottom: 20px;
}
.download ul {
list-style: none;
margin: 0;
padding: 0;
}
.download li {
margin-bottom: 20px;
clear: both;
min-height: 64px;
}
.download li:last-child {
margin-bottom: 0;
}
.download li div, .awards li div {
margin-left: 74px;
}
.download .card-title {
margin-bottom: 8px;
}
.download img {
margin: 0 10px 0 0;
width: 64px;
float: left;
}
.download li a, .awards li a {
color:#000;
}
.download a.edit, .awards a.edit {
margin: 10px 10px 0 0;
}
.awards li i {
float: left;
color: #999999;
}
.awards .card-title {
margin-bottom: 2px;
font-size: 1.2rem;
}
.awards .list-group-item:first-child {
border-top: 0;
}
.videolink i, .pano360link i {
top: 50%;
left: 50%;
position: absolute;
margin-left: -35px;
margin-top: -50px;
}

.project table:not(.extended) tr:first-child th, .project table:not(.extended) tr:first-child td {
border-top: none;
}
.project table {
margin: -10px;
}
.project .descriptionlongtext table {
margin: 0;
}
.project table.extended {
margin-top: 10px;
}
.project table th {
width: 35%;
}
.project .card-columns {
column-count: 2;
}

.project .markercomment, .project .additionalfields {
background-color: #fcf8e3;
border-color: #f1b53d;
color: #c09853;
}

.project h4.smsectitle {
font-size: 1.1rem;
margin-bottom: .5rem;
font-weight: 600;
line-height: 1.2;
}
/*
.project ul{
list-style:none;
margin:0 0 21px;
}
*/
.project .description ul {
list-style:disc;
margin:0 0 21px 25px;
}
.project .internal ul {
list-style:disc;
margin:0 0 2px 25px;
}
.project .description ul li, .project .internal ul li {
padding-left: 4px;
}
/*
.project .services ul {
margin:0 0 31px;
}
.project .services ul li {
clear: both;
}
.services .popover-inner {
width: 270px;
}
.project ul li a{
background: url(../../img/bgi/sprite.png) no-repeat 0 -375px;
color:#000;
font-size:12px;
padding-left:8px;
display:inline;
line-height:20px;
}
.project .services ul li a {
background: url("../../img/bgi/sprite.png") no-repeat scroll 0 -373px rgba(0, 0, 0, 0);
float: left;
clear: both;
}
.project ul li a.more {
background: none;
color:#999999;
padding-left:4px;
}
.project .services ul li a.more {
float: left;
clear: none;
}

.clientbox figure {
margin:10px 0 !important;
float: none;
}
*/

.project ul li a.productlink {
display: block;
color:#999999;
margin:-1px 0 4px 0;
font-size:12px;
white-space: nowrap;
overflow: hidden;
width: 100%;
text-overflow: ellipsis; /* todo */
}
.project .col-md-4 ul  {
margin-bottom: 0;
}
.project .col-md-4 .table th {
vertical-align: top;
}

figure.logo img {
max-height: 120px;
max-width: 250px;
object-fit: contain;
}
.clientbox figure .logo {
max-height: 120px;
}
.partnerbox .partnerlogo {
max-width: 75%;
max-height: 120px;
margin: 10px 0 10px;
}
.partnerbox {
margin-bottom: 8px;
}

.sidebarBox .popover h3 {
margin-bottom: 1px !important;
}
.sidebarBox .popover .close {
font-size: 16px;
margin-top: -3px;
}
.project a{
color:#000;
}
.project a:hover{
text-decoration:underline;
color:#000;
}
.project a i{
color:#fff;
}
.project .descriptionlongtext a{
color:rgb(100, 176, 242);
}
.project .descriptionlongtext a:hover{
color:#007bff;
}
.project .additionalfields, .project .description {
margin-bottom: 20px;
}

.edelem {
position: relative;
}
.btn-group.hoverright {
position: absolute;
right: 0;
top: 0;
z-index: 10;
padding: 0;
opacity: 0;
transition: opacity .25s ease-in-out;
-moz-transition: opacity .25s ease-in-out;
-webkit-transition: opacity .25s ease-in-out;
}
.project .servicedetails .btn-group.hoverright {
top: -7px;
}
.companysection .span6 .btn-group.hoverright {
padding-right: 20px;
}

.edlist .btn-group.hoverright {
padding-top: 20px;
}
.edlist .edelem:first-child .btn-group.hoverright {
padding-top: 0;
}
.references-list li .btn-group.hoverright {
padding-top: 14px;
}
.edelem:hover .btn-group.hoverright {
opacity: 1;
}
/* 2del
.image-big-inline .btn-group.hoverright a.btn {
-webkit-border-bottom-left-radius: 1px;
border-bottom-left-radius: 1px;
-moz-border-radius-bottomleft: 1px;
-webkit-border-top-left-radius: 1px;
border-top-left-radius: 1px;
-moz-border-radius-topleft: 1px;
-webkit-border-top-right-radius: 1px;
border-top-right-radius: 1px;
-moz-border-radius-topright: 1px;
}
*/
#referencevideos .edelem .videoplay {
top: 32px;
}

.inlinereferencelist h2 {
font-size: 20px;
letter-spacing: 0;
}

p.internal, .internalinfo p, div.internal {
background-color: #fcf8e3;
color: #c09853;
margin: -4px;
padding: 4px;
}
.releasedinfo p {
margin: -4px;
padding: 4px;
}

/* reference print view */
.print .row {
clear: both;
}
.print h1 {
margin: 0 0 30px;
}
.print .stage {
margin-bottom: 30px;
}
.print .stage .contentimage .imagefooter {
margin: 10px 0 6px;
text-align: center;
}
.print .project .row > h3, .print .project .row .card > h3 {
border-bottom: 1px solid #000;
font-size: 16px;
font-weight: 600;
margin-bottom: 21px;
text-transform: uppercase;
letter-spacing: normal;
page-break-after: avoid;
padding-bottom: 5px;
width: 100%;
}
.print figure.logo img {
max-height: 100px;
max-width: 200px;
margin-right: 20px;
margin-bottom: 24px;
}
.print .companysection .logo, .print .clientbox .logo {
margin-right: 20px;
}
.print .servicedetails th {
vertical-align: top;
width: 17.5%;
}
.print .servicedetails td {
vertical-align: top;
}

/*
.print .project h3 {
page-break-before: auto;
page-break-after: avoid;
letter-spacing: normal !important;
}
*/
.print .project table {
margin: -10px 0 10px;
}
.print .project table th {
padding-left: 0;
}
.print .countersignstatements, .print .markerlistcomments {
page-break-inside: avoid;
}
.print .photos {
margin-bottom: 20px;
}
.print .photos .contentimage {
margin-bottom: 10px;
display:block;
page-break-inside:avoid;
}
.print .photos .contentimage img, .print .referencedetailstage .contentimage img {
display:block;
margin:auto;
max-width: 100%;
}
.print .contentimage .imagefooter {
display:block;
margin: 8px auto 20px;
text-align: center;
}
.print .downloads a {
font-size: 11px;
display:block;
margin-bottom: 10px;
line-height: 18px;
}
.print .downloads a .label {
font-size: 16px;
}
.print .project ul {
list-style: disc outside;
margin: 0 0 21px 13px;
}
.project .table.extended ul {
margin: 0;
padding-left: 14px;
}
.print .project ul li a {
background: none;
float: none;
padding-left: 0;
}
.print .clientbox, .print .internalinfo, .print .releasedinfo, .print .specificinfo, .print .quote, .print #referencevideos {
margin-bottom: 20px;
}
.print .countersignstatements .countersigned {
top: 44px;
}
.print .categorypath {
margin: 0;
}
.print .categorypath ul li a {
background: none;
padding: 0 5px 0 0;
color: #000;
}
.print .dby-well {
margin-top: 0px;
background: none;
box-shadow: none;
}
.print .internal {
background-color: #fff;
color: #000;
margin: 0px;
padding: 0px;
}
footer {
padding: 10px 0;
}
footer .companylink {
font-size: 14px;
padding: 10px 0;
}

/* compact - check if necessary
.print.compact, .print.compact .companysection .main, .print.compact .description, .print.compact .project .label, .print.compact .project p, .print.compact .project ul li a {
font-size: 11px;
line-height: 16px;
}
.print.compact .referencedetailtitle h2 {
font-size: 20px;
line-height: 24px;
}
.print.compact .blackborder {
border-top: 2px solid #000;
padding-top: 20px;
}
.print.compact p {
margin: 0 0 5px;
}
.print.compact .photos .contentimage {
display: block;
width: 48%;
float: left;
margin: 0 10px 10px 0;
}*/

/* large */
.print.large, .print.large .companysection .main, .print.large .description, .print.large .project .label, .print.large .project p, .print.large .project ul li a {
font-size: 20px;
line-height: 28px;
}
.print.large .project .row > h3, .print.large .project .row .card > h3 {
font-size: 24px;
line-height: 32px;
}
.print.large ul.downloads li a {
font-size: 14px;
line-height: 24px;
}
.print.large .referencedetailtitle h2 {
font-size: 36px;
line-height: 42px;
}
.print.large p {
margin: 0 0 10px;
}
.print.large .internalinfo, .print.large .quote, .print.large #referencevideos {
margin-bottom: 40px;
}
.print.large .contentimage .imagefooter {
margin: 10px 0 26px;
}
.print.large .categorypath ul li a	{
font-size: 20px;
line-height: 28px;
}

@media (max-width: 1500px) {
	figure.logo img {
	max-width: 200px;
	}
}
/* mobile */
@media (max-width: 991px) { /* < 992 px */
	.countersignstatement p {
	margin: 0 30px 0 0;
	}
	figure.logo img {
	max-height: 100px;
	max-width: 200px;
	object-fit: contain;
	}
    .workfieldservices .card-body, .publicadditionalfields .card-body, .additionalfields .card-body, .publicadditionalfields .card-header .text-muted {
    font-size: 14px;
    }
    .project table.extended {
    table-layout: fixed;
    width: 100%;
    }
    .project table.extended td {
    overflow-wrap: break-word;
    word-break: break-word;
    }
}