body {
	padding-top:60px;
}

.common-page-footer {
	border-top: 1px solid rgb(200,200,200);
	background-image: linear-gradient(bottom, rgb(250,250,250) 0%, rgb(230,230,230) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(250,250,250) 0%, rgb(230,230,230) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(250,250,250) 0%, rgb(230,230,230) 100%);
	text-align: center;
}

.single-container {
	min-height: 610px;
}

a.dropdown-toggle.header-avatar-dropdown-toggle {
    padding-top: 5px;
    padding-bottom: 5px;
}

.header-user-wrapper {
    padding: 2px;
    border: solid 2px red;
    display: inline-block;
    border-radius: 20px;
    border: solid 2px transparent;
}

.header-user {
	white-space: nowrap;
	overflow: hidden; 
	text-overflow: ellipsis;
	/*max-width: 200px;*/
	display: inline-block;
	vertical-align: bottom;
    width: 32px;
    height: 32px;
    background-size: contain;
    border-radius: 16px;
    display: inline-block;
}

.header-notifications {
    width: 40px;
    height: 40px;
    background-image: url(/img/svg-buttons/notifications.svg);
    background-size: cover;
    position: relative;
}

.header-notifications-count {
    position: absolute;
    height: 20px;
    background-color: #c00000;
    color: white;
    right: 0;
    top: 0;
    font-size: 10px;
    padding: 0px 4px 0px 4px;
    border-radius: 10px;
    min-width: 20px;
    max-width: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    border: solid 1px white;
}

.header-new-image-link {
	color: #337ab7 !important;
	font-weight: 600;
}

.header-new-image-link:hover {
	color: #23527c !important;
	font-weight: 600;
}

.header-right-margin {
    width:20px;
    height: 10px;
    float: right;
}


.grid-selector-wrapper {
	display:inline-block;
	border: solid 1px #CCC;
	box-shadow: 0 0 10px rgba(0, 0, 0, .2);
	margin: 15px;
	height:120px;
	width:190px;
	cursor: pointer;
}


.painter-canvas-wrapper {
	overflow : scroll; 
	padding-left:2px;
	margin-left: 220px !important;
}

.painter-canvas-wrapper #canvas {
	position: relative;
}

.painter-toolbar-full {
	position: fixed;
	left:0;
	width:220px;
	overflow-y: auto;
}

.painter-toolbar-full::-webkit-scrollbar {
	width: 8px;
}

.painter-toolbar {
	display:inline-block;
	z-index: 1;
	width:200px;
	/*margin:10px;*/
	margin-top:10px; 
	padding:0;
	/*padding: 10px 5px 5px 10px;*/
	text-align:center;
	border: solid 1px #CCC;
	box-shadow: 0 0 10px rgba(0, 0, 0, .2);
	background-color: white;
}

.painter-toolbar #shapes-toolbar {
	padding: 10px 5px 5px 10px;
}

.painter-toolbar #selected-color {
	float:left;	
	width:30px;	
	height:30px; 
	cursor:pointer; 
	overflow:hidden; 
	border:1px solid #666666;	
	margin:1px;
}

.painter-toolbar #color-palette div {
	float:left;
	width:13px;
	height:13px;
	cursor:pointer;
	overflow:hidden; /* for IE6 */
	border:1px solid #666666;
	margin:1px;
}

.painter-toolbar #color-picker-text {
	width: 100%;
}

.painter-toolbar-header {
	background-color: #f0f0f0;
	padding-left: 5px;
	padding-right: 5px;
}

.painter-toolbar-container {
	padding: 2px;
}

.painter-toolbar-form {
	margin-bottom:4px;	
}

.painter-toolbar-form label {
	width:150px;
	text-align: left;
	margin-left: 4px;
}

.painter-toolbar-form input {
	text-align: left;
	width:150px;
	margin-bottom:0;
}

.painter-btn-tool {
	padding: 5px;
}

.grid-shape-button {
}

/* 
 * Thumbnails
 */

/*
.thumb-container {
	min-height:610px;
}
*/

.thumbnail-wrapper .thumbnail.thumb-button {
	/*border:1px solid white;*/
	box-shadow: none;
}

.thumb-image {
	width:200px; 
	height:150px; 
	text-align: center;
	margin: auto;
	position: relative;
	background-size: contain;
	background-position: center;
    background-repeat: no-repeat;
}

.thumb-image img {
	display: block;
	position: absolute;
	left:0;
	right:0;
	top: 0;
	bottom: 0;
	margin: auto;
}


.thumb-title {
	/*width:200px;*/ 
	white-space: nowrap; 
	overflow: hidden; 
	text-overflow: ellipsis;
	font-size:12pt;
	font-weight: bold;
	text-align: center;
	height: 14pt;
	color: black;
}

.thumb-author {
	font-size:10pt;
	text-align: center;
	white-space: nowrap;
	overflow: hidden; 
	text-overflow: ellipsis;
}

.thumb-date {
	font-size:8pt;
	text-align: center;
}

.thumbnail-wrapper a, .thumbnail-wrapper a:active, .thumbnail-wrapper a:visited, .thumbnail-wrapper a:hover {
	text-decoration: none;
	color: #888;
}

.thumbnail-folder-background {
	height:150px;
	background-image: url("/img/folder-thumbnail.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	position: relative;
}

.thumbnail-folder-background .thumbnail-folder-image-wrapper {
    padding-top: 10px;
    position: absolute;
    width: 100px;
    height: 75px;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.thumbnail-folder-background .thumbnail-folder-image-wrapper .thumbnail-folder-image {
	width: 100px;
    height: 75px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.thumbnail-folder .thumb-title {
    font-weight: normal;
    color: #666;
    height: 15pt;
    margin-bottom: 10px;
}


/**
 * 	Image details classes
 */

.image-details-image {
	position: relative;
	min-height: 400px;
}

.image-details-image .main-image {
	max-width: 100%;
	height: auto;
	position: absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	margin:auto;
}

.image-details-image .pixel-image {
	position: absolute;
	bottom: 0;
	right: 0;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: white;
}

.image-details-image .pixel-image img {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.image-details-header {
	border-radius: 5px;
	margin: 10px 0 10px 0;
	padding:0;
	background-color: #f0f0f0;
	overflow: hidden;
	box-shadow: 1px 1px 2px #c0c0c0;
	min-height: 64px;
}

.image-details-header-avatar {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background-size: cover;
    margin: 10px;
}

.image-details-header h3 {
	margin-top:10px;
	margin-bottom:0;
	margin-left: 65px;
}

.image-details-header .artist {
	font-weight: bold;
}

.image-details-header .details {
	color: #808080;
	margin-left: 65px;
}

.image-details-header .details-delimiter {
    padding-top: 10px;
    border-bottom: 1px solid lightgray;
}

.image-details-header .description-text {
	padding: 4px 100px 4px 10px;
}

.image-details-actions {
	margin: 10px 0 10px 0;
}

.image-details-actions .btn {
	margin-bottom: 5px;
}

.image-details-comments {
	margin: 10px 0 10px 0;
}

.image-details-comments .comment-wrapper {
	position: relative;
}

.image-details-comments .comment-wrapper .comment-actions-panel {
	position: absolute; 
	top: 0; 
	right: 0; 
	padding: 4px;
}

.image-details-comments .comment {
	background-color: #f4f4f4;
	border-radius: 5px;
	margin-bottom: 10px;
	position: relative;
	box-shadow: 1px 1px 2px #c0c0c0;
}

.image-details-comments .comment.hidden-comment {
	opacity: 0.5;
}

.image-details-comments .comment .comment-header {
	background-color: #e8e8e8;
	padding: 2px 10px 2px 50px;
	font-size: 9pt;
	overflow: hidden;
}

.image-details-comments .comment .comment-header h2 {
	font-size: 14pt;
	font-weight: bold;
	margin:0;
	line-height:18pt;
	min-height: 18pt;
}

.image-details-comments .user-avatar-in-comment {
	position: absolute;
	left: 10px;
	top: 4px;
	float: unset;
}

.image-details-comments .user-avatar-in-comment.bordered {
	width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 4px solid #f4f4f4;
    left: 6px;
}

.image-details-comments .comment .comment-action-buttons {
	padding: 4px 10px 4px 50px;
	border: none;
	background: none;
	font-size: 12pt;
	margin-bottom: 0;
}

.image-details-comments .comment .comment-text {
	padding: 4px 10px 4px 50px;
	border: none;
	background: none;
	font-size: 12pt;
	margin-bottom: 0;
	overflow: hidden;
}

.image-details-comments .comment .comment-meta {
	padding: 4px 10px 4px 50px;
	border: none;
	background: none;
	font-size: 12pt;
	margin-bottom: 0;
	overflow: hidden;
}

.image-details-comments .comment .comment-meta#text_hidden,
.image-details-comments .comment .comment-meta#text_hidden a:hover,
.image-details-comments .comment .comment-meta#text_hidden a:link,
.image-details-comments .comment .comment-meta#text_hidden a:visited,
.image-details-comments .comment .comment-meta#text_hidden a:active {
	color: red;
}



.image-details-comment-add {
	margin: 10px 0 10px 0;
	width: 100%;
	display: inline-block;
}

.image-details-favorite-wrapper {
	z-index: 1000;
}

.image-details-favorite-count {
	font-size: 30px;
	display: inline-block;
	vertical-align: top;
	margin-top: -2px;
}

.image-details-favorite {
	width: 32px;
	height: 32px;
	display: inline-block;
}

.image-details-favorite-hint {
	background-color: #666666;
	background: linear-gradient(to right, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.1) 100%);
	color: white;
	border-radius: 3px;
	padding-left:10px;
	padding-right:10px;
	padding-top:2px;
	padding-bottom:2px;
	text-align: left;
	display: inline-block;
	vertical-align: top;
	margin-top: 5px;
}

.star-favorite {
	background-image: url('/img/stars/star4.png');
}

.star-not-favorite {
	background-image: url('/img/stars/star0.png');
}


/*
 * Misc styles
 */

.delimiter {
	box-shadow: 0 0 10px rgba(0, 0, 0, .5);
	width:80%;
	height:1px;
	margin-top:20px;
	margin-bottom:20px;
	margin-left:auto;
	margin-right:auto;
	background-color: #a0a0a0;
	border: 1 solid #a0a0a0;
}

.empty-page-message {
	padding-top:60px;
	text-align:center;
	font-size: 32pt; 
	color: #e0e0e0; 
	font-weight: bold;
	line-height: 40pt;
	text-shadow: #a0a0a0 1px 2px 2px;
}

.save-dialog-special-properties-frame {
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 15px 0 15px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.save-dialog-expandable-label {
	cursor: pointer;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
	width: 100%;
}

.save-dialog-expandable-label-gradient {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 85%, rgba(255,255,255,100) 100%);
}

.save-dialog-expandable-content-preview {
    font-weight: normal;
    color: #c0c0c0;
}

/*
 * Flat scrollbars 	
 */

::-webkit-scrollbar {
      width: 12px;
      height: 12px;
} 
::-webkit-scrollbar-track {
      background-color: #e0e0e0;
} 
::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, 0.2);
	  -webkit-border-radius: 8px;
	  border-radius: 8px;
} 
/*
::-webkit-scrollbar-button {
      background-color: #808080;
      -webkit-border-radius: 8px;
} */
::-webkit-scrollbar-corner {
      background-color: #606060;
} 

/*
::-webkit-scrollbar-track-piece {
	-webkit-border-radius: 0;
	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
}*/


/*
 * For place ads to the right
 */



/*
.row-fluid > .sidebar-nav {
    position: relative;
    top: 0;
    left:auto;
    width: 180px;
}

/*
.left {
    float:left;
}

.right {
    float:right;
}

.fixed-fluid {
    margin-left: 180px;
}*/

/*
.fixed-fixed {
    margin: 0 180px;
}*/


/**
 * 	Bootstrap 2.3.3 issue
 */

.typeahead.dropdown-menu { z-index: 200000; }
.modal-body{overflow-y: inherit;}



.index-page-section {
background: linear-gradient(to bottom, rgba(237,237,237,0.65) 0%,rgba(255,255,255,0) 100%); 
border-radius: 10px;
margin-top: 20px;
}

.index-page-section#editor_choice {
background: linear-gradient(to bottom, rgba(150,200,0,0.25) 0%,rgba(150,200,0,0) 100%); /* W3C */
}

.index-page-section#top_favorites {
background: linear-gradient(to bottom, rgba(200,200,0,0.25) 0%,rgba(200,200,0,0) 100%); /* W3C */
}

.index-page-section#recent_favorites {
background: linear-gradient(to bottom, rgba(237,180,0,0.2) 0%,rgba(237,180,0,0) 100%); /* W3C */
}

.index-page-section#recent_images {
background: linear-gradient(to bottom, rgba(237,110,0,0.14) 0%,rgba(237,110,0,0) 100%); /* W3C */
}

.index-page-section#newsfeed {
background: linear-gradient(to bottom, rgba(172, 174, 251, 0.25) 0%,rgba(172, 174, 251,0) 100%); /* W3C */
}

.index-page-section#important_notice {
background: linear-gradient(to bottom, rgba(237,0,0,0.14) 0%,rgba(237,0,0,0) 100%); /* W3C */
}



.thumbnail-wrapper .thumbnail.index-page-thumb-button {
	border:0;
	box-shadow: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-color: transparent;
}

#recent_images .index-page-thumb-button {
	background-image: url(/img/svg-buttons/more-recent-images.svg);
}

#recent_favorites .index-page-thumb-button {
	background-image: url(/img/svg-buttons/more-recent-favorites.svg);
}

#top_favorites .index-page-thumb-button {
	background-image: url(/img/svg-buttons/more-top-favorites.svg);
}

#editor_choice .index-page-thumb-button {
	background-image: url(/img/svg-buttons/more-editor-choice.svg);
}

#newsfeed .index-page-thumb-button {
	background-image: url(/img/svg-buttons/more-newsfeed.svg);
}





.rich-comment {
	clear: both;
	min-height: 88px;
}

.rich-comment .rich-comment-image {
	width: 110px;
	height: 84px;
	float: left;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 4px;
	background-color: white;
}

.rich-comment .comment {
	margin-left: 118px;
}


.dummy-banner {
	background-color: #6B9CE7;
	color: white;
	font-size: 32px;
	padding: 20px;
	left: 0;
    right: 0;
    margin: auto;
}

.dummy-banner.dummy-banner-bottom {
	width: auto;
	height: 150px;
	background-image: url(/img/sample-banner-horz.svg)
}

.thumbnail-wrapper {
	width: 240px;
	float: left;
	padding-left: 15px;
	padding-right: 15px;
}

.thumbnail-wrapper .thumbnail {
	cursor: pointer;
	cursor: pointer;
    box-shadow: 1px 1px 4px #c0c0c0;
    border: transparent;
}

.index-featured-artists-wrapper {
	float: left;
	padding-left: 15px;
	padding-right: 15px;
}

#search-form {
	display: none;
}

#index-logo-image {
	float: left;
	margin-right: 10px;
}

.index-main-news-container {
	/*margin: 0 -10px;*/
}

.index-main-news-container div {
	padding: 0;
}

.index-main-news-container .index-main-news {
    padding: 10px;
    border-radius: 10px;
    min-height: 150px;
	margin: 0 10px;
	min-height: 220px;
    max-height: 220px;
}

.index-main-news .image {
    text-align: center;
}

.index-main-news .text {
    text-align: center;
}


.nocollapse {
	margin:0;
}
.nocollapse > li {
	float:right;
    display:inline-block;
}
.nocollapse > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
}
.nocollapse > li.open > ul.dropdown-menu {
  position: absolute;
  left: auto;
  right: 0;  
  border: 1px;
  background-color: white;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}



.alternative-emails .alert-info:last-child {
	margin-bottom: 0;
}

.alternative-emails #alternative-email {
	max-width: calc(100% - 30px);
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    display: inline-block;
}

.my-profile-menu-text {
	font-weight: 600;
}

.my-profile-menu-email {
	font-size: 12px;
	color: #888;
}

.notification-container .notification-icon {
	font-size: 28px;
	float: left;
	width: 32px;
	height: 32px;
	text-align: center;
}

.notification-container .notification-icon .icon-comment {
	color: #62b6ff;
}

.notification-container .notification-icon .icon-star {
	color: #ffc75d;
}

.notification-container .notification-icon .icon-warning-sign {
	color: #ff7d3d;
}

.notification-container .notification-icon .icon-user {
	color: #67da69;
}

.notification-container .notification-icon .icon-ok {
	color: #67da69;
}

.notification-container .notification-icon .icon-certificate {
	color: #ff6a00;
}

.notification-container .notification-icon .icon-picture {
	color: #44a8ff;
}

.notification-container .notification-icon .icon-remove {
	color: #ff5757;
}

.notification-container .comment {
	margin-left: 40px;
}

.notification-container .notification-remove {
	float: right;
	cursor: pointer;
}

.notification-container .notification-date {
    color: gray
}

.notification-container .notification-header-text {
    font-size: 12pt;
}

.notification-container .notification-header-artwork {
    font-size: 12pt;
}

.btn-tiny {
	padding: 2px 10px;
}

.set-image-as-tag-cover {
    position: absolute;
    width: 16px;
    height: 16px;
    background: url('/img/svg-buttons/set-folder-cover-normal.svg');
    background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 100;
}

.set-image-as-tag-cover.selected {
    background: url('/img/svg-buttons/set-folder-cover-selected.svg');
    background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.smiles-dropdown {
	max-width: 215px;
}

.smiles-dropdown li {
	display: inline-block;
	font-size: 18px;
}

.smiles-dropdown li a {
	padding-left: 5px;
	padding-right: 5px;
}

.form-field-hint {
	color: red;
	font-size: 0.9em;
}

.user-profile-avatar-container-wrapper {
    margin-bottom: 20px;
}

.user-profile-avatar-container {
	min-height: 150px;
	min-width: 150px;
	max-width: 150px;
	position: relative;
	margin: auto;
}

.user-profile-avatar {
    width: 150px;
    height: 150px;
    background-size: cover;
    border-radius: 75px;
    border: 1px solid #e0e0e0;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
}

.user-profile-avatar-change-mask {
	cursor: pointer;
    width: 150px;
    height: 150px;
    border-radius: 75px;
    border: 1px solid #e0e0e0;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    background-image: url('/img/white-plus.svg');
    background-size: cover;
    opacity: 0;
    cursor: pointer;
    transition-duration: 0.3s;
}

.delete-avatar-button {
    position: absolute;
    right: 0;
    width: 40px;
    height: 40px;
    background-image: url('/img/svg-buttons/delete-avatar.svg');
    background-size: cover;
    cursor: pointer;
    border: 2px solid white;
    border-radius: 20px;
    z-index: 100;
}

.delete-avatar-button:hover {
    filter: brightness(1.5);
}

.user-avatar-in-list {
    height: 20px;
    width: 20px;
    border-radius: 12px;
    background-size: cover;
    float: left;
    margin-right: 10px;
}

.user-avatar-in-comment {
	height: 32px;
	width: 32px;
	border-radius: 16px;
	background-size: cover;
	float: left;
	margin-right: 10px;
}

.user-in-title-wrapper {
	text-align: center;
}

.user-in-title {
	display: inline-block;
}

.user-name-in-title {
	height: 30px;
    line-height: 30px;
    margin-left: 35px;
    font-size: 14pt;
    overflow: hidden;
    text-overflow: ellipsis;
	max-width: 300px;
}

.user-avatar-in-title-wrapper {
	height: 30px;
    width: 30px;
    position: absolute;
}

.user-avatar-in-title-wrapper .user-avatar-in-title {
	width: 30px;
    height: 30px;
    background-size: cover;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    position: absolute;
    margin: 0 auto;
    right: 0;
}


/*
    Tag header
*/

.tag-header-icon-row {
    text-align: center;
    height: 68px;
}

.tag-header-icon-button-wrapper {
    width: 20px;
    height: 64px;
    display: inline-block;
}

.tag-header-icon-background {
    width: 64px;
    height: 64px;
    background-image: url("/img/folder-thumbnail.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	display: inline-block;
	position: relative;
}

.tag-header-icon-background .tag-header-icon-image-wrapper {
    padding-top: 5px;
    position: absolute;
    width: 48px;
    height: 32px;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.tag-header-icon-background .tag-header-icon-image-wrapper .tag-header-icon-image {
	width: 48px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/*
Group image status popup
*/

.group-image-online {
    position: fixed;
    top: 65px;
    right: 20px;
    min-height: 24px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 0 6px #c0c0c0;
}

.group-image-online #socketio-online {
    margin: 4px 10px;
    color: green;
}

.group-image-online #socketio-offline {
    margin: 4px 10px;
    color: red;
}

.group-image-online #call-collaborators {
    margin: 5px 5px 5px 26px;
}

.group-image-users-online {
    position: fixed;
    top: 105px;
    right: 20px;
    min-height: 40px;
    min-width: 40px;
    border-radius: 20px;
    background-color: white;
    box-shadow: 0 0 6px #c0c0c0;
}


.group-image-users-online .user-icon {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background-size: contain;
    margin: 5px;
}


/*
Group image chat
*/

.group-image-chat-wrapper {
	position: fixed;
	bottom: 20px;
	right: 20px;
	min-width: 300px;
}

.group-image-chat-show-button {
	position: absolute;
	border-radius: 12px;
    background-color: white;
	box-shadow: 0 0 6px #c0c0c0;
	width: 24px;
	height: 24px;
	text-align: center;
	line-height: 26px;
	cursor: pointer;
}

.group-image-chat-enter {
	min-height: 24px;
    border-radius: 12px;
    background-color: white;
	box-shadow: 0 0 6px #c0c0c0;
	padding: 6px;
	margin-left: 30px;
}

.group-image-chat-enter .input-group {
	width: 288px;
}

.group-image-chat-messages {
	height: 240px;
	border-radius: 12px;
    background-color: white;
	box-shadow: 0 0 6px #c0c0c0;
	padding: 6px;
	margin-bottom: 10px;
	position: relative;
	margin-left: 30px;
}

.group-image-chat-messages-container {
	overflow: auto;
    position: absolute;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
}

.group-image-chat-message {
	position: relative;
	margin-bottom: 5px;
}

.group-image-chat-message .chat-message-avatar {
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 10px;
	background-size: cover;
}

.group-image-chat-message .chat-message-content {
	border-radius: 5px;
	padding: 4px;
}

.group-image-chat-message .chat-message-author {
	font-weight: bold;
	font-size: 10px;
	overflow: hidden;
}

.group-image-chat-message .chat-message-text {
	font-weight: normal;
	overflow: hidden;
}




.group-image-chat-message.other-user .chat-message-avatar {
	top: 0;
	left: 0;
}

.group-image-chat-message.other-user .chat-message-content {
	margin-left: 25px;
	margin-right: 50px;
	background-color: #e6f1fb;
}

.group-image-chat-message.other-user .chat-message-author {
	text-align: left;
}

.group-image-chat-message.other-user .chat-message-text {
	text-align: left;
}




.group-image-chat-message.current-user .chat-message-avatar {
	top: 0;
	right: 5px;
}

.group-image-chat-message.current-user .chat-message-content {
	margin-left: 55px;
	margin-right: 30px;
	background-color: #fff6e4;
}

.group-image-chat-message.current-user .chat-message-author {
	text-align: right;
}

.group-image-chat-message.current-user .chat-message-text {
	text-align: right;
}


/*
Collaborator pointer
*/

.collaborator-pointer {
	position: absolute;
	width: 120px;
	height: 30px;
	transition: all 0.2s ease-out;
}

.collaborator-pointer .wrapper {
	position: relative;
}

.collaborator-pointer .nickname {
	position: absolute;
	height: 20px;
	background: #fff;
	font-size: 12px;
	width: 100%;
	padding-left: 24px;
	padding-top: 2px;
	border-radius: 9px;
	overflow: hidden;
    text-overflow: ellipsis;
	padding-right: 4px;	
	border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.collaborator-pointer .avatar {
	position: absolute;
	left: 2px;
	top: 2px;
	width: 16px;
	height: 16px;
	background-size: cover;
	border-radius: 8px;
}

.collaborator-pointer .arrow {
	position: absolute;
	top: 10px;
	width: 0; 
  	height: 0; 
  	border-left: 10px solid transparent;
  	border-right: 10px solid transparent;
  	border-top: 20px solid #fff;
}



/*
	Media rules for image lists
*/
@media (max-width: 400px) {
	.thumbnail-wrapper {
		/*float: none;*/
		display: inline-block;
		width: 70px;
		padding: 0;
		margin: 4px;
	}

	.thumbnail-wrapper .thumbnail {
		margin-bottom: 0;
	}
	
	.thumb-details {
		display: none;
	}
	
	.thumb-image {
		width: 64px;
		height: 64px;
	}

	.thumbnail-folder-background .thumbnail-folder-image-wrapper {
        width: 60px;
		height: 40px;
	}

	.thumbnail-folder-background .thumbnail-folder-image-wrapper .thumbnail-folder-image {
        width: 60px;
        height: 30px;
	}

	.thumbnail-folder-background {
        height: 70px;
	}
	
	.thumbnail-folder .thumb-title {
		font-size: 10pt;
	}

	.thumbnail-folder.thumb-button {
		height: 98px;
	}
}

@media (min-width: 400px) and (max-width: 510px) {
	.thumbnail-wrapper {
		/*float: none;*/
		display: inline-block;
		width: 86px;
		padding: 0;
		margin: 4px;
	}
	
	.thumb-details {
		display: none;
	}
	
	.thumb-image {
		width: 82px;
		height: 82px;
	}

	.thumbnail-wrapper .thumbnail {
		margin-bottom: 0;
	}

	.thumbnail-folder-background .thumbnail-folder-image-wrapper {
        width: 75px;
        height: 60px;
	}

	.thumbnail-folder-background .thumbnail-folder-image-wrapper .thumbnail-folder-image {
        width: 75px;
        height: 50px;
	}

	.thumbnail-folder-background {
        height: 100px;
	}
	
	.thumbnail-folder.thumb-button {
		height: 118px;
	}	
}



@media (min-width: 510px) and (max-width: 740px) {
	.thumbnail-wrapper {
		/*float: none;*/
		display: inline-block;
		width: 104px;
		padding: 0;
		margin: 4px;
	}
	
	.thumb-details {
		display: none;
	}
	
	.thumb-image {
		width: 96px;
		height: 96px;
	}

	.thumbnail-wrapper .thumbnail {
		margin-bottom: 0;
	}

	.thumbnail-folder-background .thumbnail-folder-image-wrapper {
        width: 75px;
        height: 60px;
	}

	.thumbnail-folder-background .thumbnail-folder-image-wrapper .thumbnail-folder-image {
        width: 75px;
        height: 50px;
	}

	.thumbnail-folder-background {
        height: 100px;
	}
	
	.thumbnail-folder.thumb-button {
		height: 128px;
	}	
}



/*
    Media rules
*/

@media (max-width: 400px) {
	.image-details-image {
		min-height: 400px;
	}

	.dummy-banner {
		width: 300px;
		height: 60px;
	}
	
	.sidebar-adv {
		margin-bottom: 10px;
	}
	
	.content {
		
	}
	
	.container {
		width: 320px;
	}
	
	.row {
		text-align: center;
	}
	
	.index-featured-artists-wrapper {
		width: 100%;
	}
	
	.single-container {
		padding-left: 0;
		padding-right: 0;
	}
	
	#index-logo-image {
		float: none;
		text-align: center;
		margin-right: 0;
	}
	
	.header-user-panel li a {
		padding-left: 5px;
		padding-right: 5px;
	}

    .header-right-margin {
        width:0;
    }
	
	.rich-comment .rich-comment-image {
		display: none;
	}
	
	.rich-comment .comment {
		margin-left: 0;
	}
}


@media (min-width: 400px) and (max-width: 510px) {
	.dummy-banner {
		width: 300px;
		height: 60px;
	}
	
	.sidebar-adv {
		margin-bottom: 10px;
	}
	
	.content {
		
	}
	
	.container {
		width: 400px;
	}
	
	.row {
		text-align: center;
	}
	
	.index-featured-artists-wrapper {
		width: 100%;
	}
	
	.single-container {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	#index-logo-image {
		float: none;
		text-align: center;
		margin-right: 0;
	}
	
	.header-user-panel li a {
		padding-left: 5px;
		padding-right: 5px;
	}

    .header-right-margin {
        width:0;
    }
	
	.rich-comment .rich-comment-image {
		display: none;
	}
	
	.rich-comment .comment {
		margin-left: 0;
	}
}


@media (min-width:510px) and (max-width: 740px) {
	.dummy-banner {
		width: 468px;
		height: 60px;
	}
	
	.sidebar-adv {
		margin-bottom: 10px;
	}
	
	.content {
		
	}
	
	.container {
		width: 480px;
	}
	
	.index-featured-artists-wrapper {
		width: 100%;
	}
	
	.row {
		text-align: center;
	}
}

@media (min-width: 740px) and (max-width: 920px) {
	.dummy-banner {
		width: 468px;
		height: 60px;
	}
	
	.sidebar-adv {
		margin-bottom: 10px;
	}
	
	.content {
		
	}
	
	.container {
		width: 720px;
	}
	
	.index-featured-artists-wrapper {
		width: 100%;
	}

}

@media (min-width: 920px) and (max-width: 1150px) {
	.dummy-banner {
		width: 160px;
		height: 600px;
		background-image: url('/img/banner-sample.png');
		background-size: cover;
	}
	
	.sidebar-adv {
	    position:absolute;
	    right:0; 
	    width: 180px;
	}
	
	.content {
	    margin-right: 180px;
	    margin-left:auto !important;
	}
	
	.container {
		width: 750px;
	}
	
	.index-featured-artists-wrapper {
		width: 100%;
	}
	
	.image-details-favorite-wrapper {
	}
}

@media (min-width: 1150px) {
	.dummy-banner {
		width: 160px;
		height: 600px;
		background-image: url('/img/banner-sample.png');
		background-size: cover;
	}
	
	.sidebar-adv {
	    position:absolute;
	    right:0; 
	    width: 180px;
	}
	
	.content {
	    margin-right: 180px;
	    margin-left:auto !important;
	}
	
	.container {
		width: 960px;
	}
	
	#search-form {
		display: block;
	}
	
	.index-featured-artists-wrapper {
		width: 50%;
	}
	
	.image-details-favorite-wrapper {
	}
}


/**
 * 	Spinner
 */

.spinner-fillscreen-wrapper {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.5;
	z-index: 10000;
}

.spinner-wrapper {
	position: relative;
	height: 150px;
}

.spinner{
    width: 80px;
    height: 80px;
    
    border: 2px solid #f3f3f3;
    border-top:3px solid #337ab7;
    border-radius: 100%;
    
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right: 0;
    margin: auto;
    
    animation: spin 1s infinite linear;
    pointer-events: none;
}

.spinner.wide {
    border-width: 6px;
    border-top-width: 7px;
}

@keyframes spin {
    from{
        transform: rotate(0deg);
    }to{
        transform: rotate(360deg);
    }
}

/*
Google Sign in button styles
*/

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  /*margin-right: 12px;*/
  margin-left: 4px;
  margin-right: 4px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

/*
Google Sign in button custom styles
*/

.login-button-full {
    margin-left: 10px;
    margin-top: 5px;
}

.login-button-small {
    margin-left: 10px;
    margin-top: 5px;
    padding: 5px !important;
}

@media (max-width: 599px) {
	.login-button-full {
		display: none !important;
	}
}

@media (min-width: 600px) {
	.login-button-small {
		display: none !important;
	}
}
