.portfoliotext > A.normgr:ACTIVE,.portfoliotext > A.normgr:LINK,.portfoliotext > A.normgr:VISITED,.modalDialog a:ACTIVE,.modalDialog a:LINK,.modalDialog a:VISITED {
	color: #6862e2;
}
.modalDialog a:ACTIVE,.modalDialog a:LINK,.modalDialog a:VISITED {
	color: #350C49;
	text-decoration:underline;
}
.modalDialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}
.modalDialog > div {
    max-width: 800px;
    position: relative;
    margin: 10% auto;
    padding: 6px;
    border-radius: 6px;
    background: #999;
    background: linear-gradient(#fff, #999); /* Standard syntax */
	box-shadow: 4px 4px 8px rgba(0, 0, 0, .2);
}
 a.close, a.close:ACTIVE, a.close:LINK, a.close:VISITED {
    color: #FFFFFF;
	text-decoration:none;
}
.close {
    background: #bb0022;
    line-height: 23px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    height: 24px;
    width: 24px;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.6);
}
.close:hover {
    background: #ff0066;
}
#overview, #modeloverview{
    margin: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.6);
}
#uidlink {
	vertical-align: text-top;
	margin-left:20px;
	display: inline-block;
}
.flashcontent {
	display: inline-block;
	vertical-align: text-bottom;	
	position:relative;
	z-index:10;
 
}
.flashtext {
	position:relative;
	top:-4px;
	vertical-align: text-top;
	display: inline-block;
}
.portfolioband{
	display: flex;
	flex-flow:row wrap;
	justify-content:flex-start;
	align-items:center;
}
.portfolioband-headnote{
	margin-left:10px;
}
ul.portfolioitems {
	padding: 0;
	margin:10px 0;
}
li.portfolioitem {
	list-style: none;
}
.portfolioitem .iconleft a img{
	width: 44px;
	height: 44px;
}
.portfolioitem-display {
	border:1px solid rgba(224,232,246,0.3);
	border-radius: 4px;
	background-color: rgba(255,255,255,0.5);
	margin:4px;
}
.portfoliointro {
	padding: 10px;
}
.portfolioitem, .item-selector{
	display:flex;
	flex-flow:row;
	align-items:center;
	align-content:center;
	justify-content:flex-start;
	cursor:pointer;
}
.item-selector, .portfoliotext{
	width:100%;
}
.portfolio-popup {
	background:#fff;
}
#detailsrow {
	clear:both;
	overflow:auto;
}
#otherdetails {
	clear:both;
	overflow:auto;
	display: flex;
	flex-flow:row wrap;
	justify-content:space-between;
	align-items:center;
	padding:4px;
	background:rgba(191,203,226,0.3);
	border-radius: 4px;
}
.otherdetitem {
	flex: 1 1 auto;
	text-align:center;
}
.itemname {
	font-weight : bold;
	font-size:115%;
}
.textImage {
	float:left;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.6);
	margin: 0 20px 20px 0;
	clear:both;
}
.iconleft{
	float: left;
	padding:4px 10px 0 4px;
}
#slideshow { 
    float:left; 
    max-width: 450px; 
    max-height: 400px; 
    padding: 10px; 
}
.onehalfline br{
    margin-bottom: 4px; /* Only works on FF */
}
/* Slideshow */
.slideshowlink {
	float: right;
}
.slide-container {
	background: rgb(200, 200, 200);
	border: 1px solid #999;
	border-radius: 4px;
	box-shadow: 4px 4px 4px rgba(100, 100, 100, .5);
	display: none;
	left: 2%;
	max-width: 96%;
    margin: auto;
	padding:1px;
	position: fixed;
	top: 10px;
	z-index:99999;
}
.w3-black {
    color: #fff!important;
    background-color: rgba(50,50,50,0.5)!important;
}
.w3-hover-black:hover {
    color: #000!important;
    background-color: #fff!important;
}
.w3-button:hover{color:#000!important;background-color:rgba(150,150,150,0.5)!important}
.w3-display-left {
    position: absolute;
    top: 50%;
    left: -2%;
    transform: translate(0%,-50%);
    -ms-transform: translate(-0%,-50%);
}
.w3-display-right {
    position: absolute;
    top: 50%;
    right: -2%;
    transform: translate(0%,-50%);
    -ms-transform: translate(-0%,-50%);
}
.w3-display-close {
    position: absolute;
    top: 1%;
    right: -2%;
    transform: translate(0%,-50%);
    -ms-transform: translate(-0%,-50%);
}
.w3-btn, .w3-button {
    border: 1px solid #999;
	border-radius: 2px;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

/* On PC - narrow */
@media only screen and (max-width : 850px) {
.modalDialog > div {
	overflow-y: auto;
	width:98%;
}
.close {
	right: 0px;
	top: 0px;
}
}
/* On PC - narrow */
@media only screen and (max-width : 701px) {
.modalDialog > div{
	background:#ddf;
	margin: 0 auto;
	max-height: 95%;
}	
.textImage{
	width:80%;
}	
}
