.fl { float: left; }
.fr { float: right; }
.tc { text-align: center; }
.tl { text-align: left; }
.tr { text-align: right; }

.mt0 { margin-top: 0px !important;}

.pos_r0 { right: 0 !important; }
.pos_l0 { left: 0 !important; }

.h60 {height: 60px;}
.h140 {height: 140px;}

a.inherit {
    color: inherit !important;
}
a.block {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100%;
}

.fullSize {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}


.justified {
    display: block !important;
    text-align: justify;
}

.inline {
    display: inline-block !important;
}


textarea.vertical {
    resize: vertical;
}

textarea.fullbox {
    box-sizing: border-box;
    -moz-box-sizing: border-box;

    width: 100%;
}


#session {
    position: relative;
    top: -10px;
    margin: 0;
}



#session li > a {
    color: inherit !important;
}





/*.searchResultList > li {
    height: 140px;
}

.searchResultList > li .resultItem {
    position: relative;
    left: 0;
    top: 0;

    width: 100%;
    border: 1px solid transparent;

    transition: width .2s linear 0s, left .2s linear 0s, top .2s linear 0s;
    -webkit-transition-property: width .2s linear 0s, left .2s linear 0s, top .2s linear 0s;
}

.searchResultList > li:hover .resultItem {
    left: -10%;
    top: -10%;
    z-index: 2;

    width: 100%;
    border: 1px solid #efefef;

    background-color: white;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
	-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
}

.searchResultList > li .resultItem .resultItem-image {
    position: relative;
    
    padding: 6px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
}


.searchResultList > li .resultItem .resultItem-detail {
    display: none;
    padding: 5px;
    background-color: white;
}

.searchResultList > li:hover .resultItem .resultItem-detail {
    display: block;
}


.searchResultList > li .previewImage {
    width: 100%;
}*/


button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active, a.button:active, .pressed {			
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3), 0 1px 0px rgba(255, 255, 255, 0.2);
    border-radius: 3px;
	-moz-box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3), 0 1px 0px rgba(255, 255, 255, 0.2);
	-webkit-box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3), 0 1px 0px rgba(255, 255, 255, 0.2);
	text-decoration: none !important;          
}

.resultList > li {
}

.resultItem {
    position: relative;
    left: 0;
    top: 0;

    width: 100%;
    border: 1px solid transparent;

    transition: width .2s linear 0s, height .2s linear 0s, left .2s linear 0s, top .2s linear 0s;
    -webkit-transition-property: width .2s linear 0s, height .2s linear 0s, left .2s linear 0s, top .2s linear 0s;
}

.resultItem .resultItem-image {
    position: relative;
    left: 0;
    top: 0;
    
    width: 128px;
    height: 128px;
    margin: 6px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;

    transition: width .2s linear 0s, height .2s linear 0s;
    -webkit-transition-property: width .2s linear 0s, height .2s linear 0s;
}

.resultItem .resultItem-detail {
    display: none;

    width: 100%;
    padding: 6px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.resultItem:hover {
    left: -10%;
    top: -10%;
    z-index: 2;

    width: 120%;
    border: 1px solid #efefef;

    background-color: white;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
	-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
}

.resultItem:hover .resultItem-image {
    width: 156px;
    height: 156px;
}

.resultItem:hover .resultItem-detail {
    display: block;
}











@media (max-width: 768px) {
    .searchResultList > li:hover .resultItem {
        left: 0;
        top: 0;
        z-index: 2;

        width: 100%;
        border: 1px solid #efefef;

        background-color: white;
	    box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
	    -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
	    -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
    }

    .searchResultList > li .resultItem .resultItem-image {
        text-align: left;
    }

    .searchResultList > li:hover .resultItem .resultItem-image {
        display: inline-block;
        width: 128px;
        height: 128px;
    }
    
    .searchResultList > li:hover .resultItem .resultItem-detail {
        display: inline-block;
    }

    .previewImage {
        max-width: 128px;
        max-height: 128px;
    }
}














/* Comments
--------------------------------------------------------------------------------*/
.comments .profilePicture {
    width: 60px;
    height: 60px;
}

.comments .media {
    border-top: 1px solid #efefef;
    padding-top: 2px;
}



/* Detail pages
--------------------------------------------------------------------------------*/
#brandImage {
    width: 100%;
    height: 75px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#alternativeImages li {
    cursor: pointer;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#alternativeImages [data-function="3D"] {
    background: url('images/3D.png') center center no-repeat transparent;
}

#alternativeImages [data-function="add"] {
    background: url('images/add.png') center center no-repeat transparent;
    border: 1px dashed #808080;
}

#alternativeImages [data-function="delete"] {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 10px;
    height: 10px;
    font-size: 10px;
    font-weight: bold;
    line-height: 10px;
    color: rgb(255,0,0);
    background-color: rgba(255,0,0,0.1);
}
#alternativeImages [data-function="delete"]:hover {
    background-color: rgba(255,0,0,0.5);
}



#temporaryPicture {
    height:200px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


.likeBar {
    width: 100px;
    padding: 0 !important;
}
.likeBar .progress {
    width: 100%;
    height: 5px !important; 
    border-radius: 0 !important;
    margin: 0 !important;

    background-color: #DD514C;
    background-image: linear-gradient(to bottom, #EE5F5B, #C43C35);
    background-repeat: repeat-x;
}


.likecount  {
    left: 0 !important;
    padding: 3px;
    line-height: 1em;
}
.dislikecount  {
    right: 0 !important;
    padding: 3px;
    line-height: 1em;
}



.bgImage, .bg-center {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}














/* WebGL viewer
--------------------------------------------------------------------------------*/
.gsViewer, #profilePicture, #libraryPicture {
    width: 100%;
    height: 220px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


#tagCloud ul {
    text-align: justify;
    line-height:2.5em;
}
#tagCloud li {
    display: inline !important;
    margin-right: 20px;
}
#tagCloud a {
    color: #777777;
}


/* Login popup window
--------------------------------------------------------------------------------*/

.login {
    width: 75%;
	padding: 0 13px 0 0;
	
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.loginRegister {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 13px;
       
	width: 25%;
	min-height: 240px;
	padding: 0 0 0 13px;
	/*border-left: 1px solid #e5e5e5;*/
	
	line-height: 240px;
    
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.loginRegister span {
	display: inline-block;
	
	vertical-align: middle;
	line-height: 30px;
}

/* Bootstrap extension
--------------------------------------------------------------------------------*/
/* buttons */
.authenticatorButtons {
    width:300px;
    margin: auto;
}

.authenticatorButtons .btn img {
    height: 32px;
}

.btn-GRAPHISOFT.active,
.btn-Facebook.active,
.btn-Google.active {
    color: rgba(255, 255, 255, 0.75);
}

/* GRAPHISOFT button */
.btn-GRAPHISOFT {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #435b81;
    *background-color: #3b5072;
    background-image: -moz-linear-gradient(top, #4b648d, #3b5072);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4b648d), to(#3b5072));
    background-image: -webkit-linear-gradient(top, #4b648d, #3b5072);
    background-image: -o-linear-gradient(top, #4b648d, #3b5072);
    background-image: linear-gradient(to bottom, #4b648d, #3b5072);
    background-repeat: repeat-x;
    border-color: #3b5072 #3b5072 #ad6704;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4b648d', endColorstr='#3b5072', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-GRAPHISOFT:hover,
.btn-GRAPHISOFT:focus,
.btn-GRAPHISOFT:active,
.btn-GRAPHISOFT.active,
.btn-GRAPHISOFT.disabled,
.btn-GRAPHISOFT[disabled] {
    color: #ffffff;
    background-color: #3b5072;
    *background-color: #354867;
}

.btn-GRAPHISOFT:active,
.btn-GRAPHISOFT.active {
    background-color: #2e405b \9;
}

/* Facebook button */
.btn-Facebook {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #617ab6;
    *background-color: #3e5fae;
    background-image: -moz-linear-gradient(top, #8f9dc5, #3e5fae);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#8f9dc5), to(#3e5fae));
    background-image: -webkit-linear-gradient(top, #8f9dc5, #3e5fae);
    background-image: -o-linear-gradient(top, #8f9dc5, #3e5fae);
    background-image: linear-gradient(to bottom, #8f9dc5, #3e5fae);
    background-repeat: repeat-x;
    border-color: #3e5fae #3e5fae #ad6704;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8f9dc5', endColorstr='#3e5fae', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-Facebook:hover,
.btn-Facebook:focus,
.btn-Facebook:active,
.btn-Facebook.active,
.btn-Facebook.disabled,
.btn-Facebook[disabled] {
    color: #ffffff;
    background-color: #3e5fae;
    *background-color: #3a579b;
}

.btn-Facebook:active,
.btn-Facebook.active {
    background-color: #3b4f84 \9;
}

/* Google button */
.btn-Google {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #e6edf2;
    *background-color: #e3e3e3;
    background-image: -moz-linear-gradient(top, #f7f9fa, #e3e3e3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f7f9fa), to(#e3e3e3));
    background-image: -webkit-linear-gradient(top, #f7f9fa, #e3e3e3);
    background-image: -o-linear-gradient(top, #f7f9fa, #e3e3e3);
    background-image: linear-gradient(to bottom, #f7f9fa, #e3e3e3);
    background-repeat: repeat-x;
    border-color: #e3e3e3 #e3e3e3 #ad6704;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f9fa', endColorstr='#e3e3e3', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-Google:hover,
.btn-Google:focus,
.btn-Google:active,
.btn-Google.active,
.btn-Google.disabled,
.btn-Google[disabled] {
    color: #ffffff;
    background-color: #e3e3e3;
    *background-color: #94b0c5;
}

.btn-Google:active,
.btn-Google.active {
    background-color: #90a6b4 \9;
}

/* Google button */
.btn-dragndrop {
    width: 48px;
    height: 48px;
    padding: 4px 4px;

    border-style: dashed;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.1);
    -moz-box-shadow: 3px 3px 3px rgba(0,0,0,0.1);
    -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.1);

    cursor: url("images/icon-move.png"), auto;
}

.btn-dragndrop .icon-BC-dragndrop {
    opacity: 0.5;
    filter: Alpha(opacity=50);
}


.btn-dragndrop:hover,
.btn-dragndrop:focus,
.btn-dragndrop:active,
.btn-dragndrop.active,
.btn-dragndrop.disabled,
.btn-dragndrop[disabled] {
    color: #ffffff;
    background-color: transparent;
    *background-color: transparent;

    background-image: none;
    border-color: #B3B3B3;

    box-shadow: 3px 3px 3px rgba(0,0,0,0);
    -moz-box-shadow: 3px 3px 3px rgba(0,0,0,0);
    -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0);
}

.btn-dragndrop:hover .icon-BC-dragndrop,
.btn-dragndrop:focus .icon-BC-dragndrop,
.btn-dragndrop:active .icon-BC-dragndrop,
.btn-dragndrop.active .icon-BC-dragndrop,
.btn-dragndrop.disabled .icon-BC-dragndrop,
.btn-dragndrop[disabled] .icon-BC-dragndrop {
    opacity: 1;
    filter: Alpha(opacity=100);
}







.form-wide .control-group .control-label{
    width: 50% !important;
}
.form-wide .control-group .controls{
    float: left;
    margin-left: 20px !important;
}



/*icons*/
[class^="icon-BC"], [class*=" icon-BC"] {background-image: url("images/icon-sprites.png") !important;}
.icon-BC-large {width: 45px !important; height: 45px !important;}
.icon-BC-dragndrop {background-position:0 -15px; width: 45px !important; height: 45px !important;}
.icon-BC-like { background-position: -45px -15px; margin-top: 1px;}
.icon-BC-dislike { background-position: -60px -15px; margin-top: 2px;}