body {
    position: relative;
    min-width:360px;
    font-family: "Open Sans", sans-serif;
    padding: 130px 0 0 0 !important;
    margin: 0 !important;
    font-size: 13px;
    color:#4d4d4d;
    cursor:default;
}
body.waiting * {
    cursor: progress!important;
}
h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom:20px;
}
h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}
p {
    font-family: "Open Sans", sans-serif;
    padding: 0;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight:400;
    line-height: 1.42857143;
}
img {
    display: inline;
}
select {
    letter-spacing: unset;
}
select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 50%;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
    padding-right: 1.5em;
}
label {
    left:unset;
    top:unset;
    width:unset;
}
.bold {
    font-weight:600;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    font-weight:600;
    color:#111;
}
.form-horizontal .control-label {
    top:7px;
    text-align: left;
}
.form-control.input-fat {
    height:50px;
}
.control-label .label-sub {
    display: block;
    font-style: italic;
    color: #888;
    font-weight: 300;
}
.modal-stacked {
    margin-top:10px;
    backdrop-filter: blur(2px);
    background-color: #00000020;
}
.modal-footer.borderless {
    border-top: none;
}

#modal-login {
    margin-top:calc(50vh - 204px);
}
#modal-login .modal-dialog .modal-body {
    padding:20px 40px;
}
#modal-login .form-title {
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    margin: 10px 0;
}
#modal-login .form-group,
#modal-login .form-actions {
    /*width: 100%;*/
    margin-top: 30px;
}

#modal-login .form-group label {
    width: 100%;
    font-weight: 600;
    font-size: 13px;
    color:#111;
}
#modal-login .form-group label a {
    float:right;
    font-size: 12px;
    font-weight: 400;
}
#modal-login .form-control {
    height: 50px;
    border-radius: 5px;
    letter-spacing: unset;
}
#modal-login .form-actions .btn {
    min-height: 50px;
    border-radius: 50px;
    margin-top: 20px;
}
#modal-login .verification-code{
    margin-top:60px;
}
#modal-login .verification-code input::-webkit-outer-spin-button,
#modal-login .verification-code input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#modal-login .verification-code .verification-codes {
    float:left;
    width:15%;
    text-align:center;
    font-size:16px;
    color:#000;
    padding:25px 0;
    -moz-appearance: textfield;
}
#modal-login .verification-code .verification-codes:nth-child(-n+3) {
    margin-right:1.66666%;
}
#modal-login .verification-code .verification-codes:nth-child(n+4) {
    margin-left:1.66666%;
}
.input_error {
    background-color: #ffbfc0!important;
}

#gallery-nav-toggle {
    display:none;
}
#gallery-nav {
    position: fixed;
    width: 100%;
    top: 94px;
    z-index: 100;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    padding-top:0;
}
#gallery-nav .nav-tabs {
    width:1180px;
    margin:0 auto;
    border:none;
}
#gallery-nav .nav-tabs li {
    margin-top:-1px;
}
#gallery-nav .nav-tabs li a {
    color:#333;
    padding:25px 10px 27px 10px;
    border-radius: 0;
}
#gallery-nav .nav > li > a:hover {
    background-color: #666!important;
    color:#f7be39;
}
#gallery-nav .nav-tabs li a .badge {
    margin-left:5px;
}


.library-wrapper {
    min-height:500px;
    margin-top:20px;
    margin-bottom:40px;
}


.input-group.input-search input[type="text"] {
    height: 42px;
    margin: 2px 0;
    padding-right: 50px;
}
.input-group.input-search .input-group-btn {
    z-index: 2;
}
.input-group.input-search .btn {
    margin: 2px 0;
    padding: 10px;
    border-width: 1px;
    min-width: 50px;
}
.input-group.input-search .btn-search-clear {
    background: none;
    position: absolute;
    right: 50px;
    z-index: 2;
    color: #888;
}
.library-wrapper .dropdown {
    display: inline-block;
}
.library-wrapper .dropdown-menu {
    margin-top:5px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px #00000020;
    overflow: hidden;
    min-width: 100%;
}
.library-wrapper .dropdown-menu li > a {
    padding:6px 13px;
}
.library-wrapper .dropdown-menu li > a:hover {
    background-color: #eee!important;
    color:#333!important;
}

.pagination > li > a.active {
    color: #2a6496;
    background-color: #eee;
    border-color: #ddd;
}

#main-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(23%, 1fr));
    grid-gap: 20px;
}
#main-gallery .image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 100%;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
#main-gallery .image:hover {
    transform: scale(1.03,1.03);
}

#image-details-modal .modal-dialog {
    width:100%;
    max-width:1200px;
}
#image-details-modal .modal-content {
    padding:30px;
}
#image-details-modal .modal-header {
    display: flex;
    border-bottom: none;
    min-height: 60px;
    padding:0;
}
#image-details-modal .modal-header-wrapper {
    display: flex;
    flex-basis: 100%;
    flex-shrink: 1;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 20px;
}
#image-details-modal .modal-header .title {
    flex-basis: 30%;
    flex-shrink: 1;
    flex-grow: 1;
}
#image-details-modal .modal-header .title .user-name {
    font-weight: 900;
    font-size: 20px;
    padding-top:5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#image-details-modal .modal-header .button-bar {
    display:flex;
    flex-basis: 40%;
    flex-shrink: 0;
    flex-grow: 1;
    justify-content: flex-end;
}
#image-details-modal .modal-header .button-bar .btn {
    /*font-size:16px;*/
    height:50px;
    margin-right:10px;
    padding: 6px 28px;
}
#image-details-modal .modal-header .button-bar .download-menu .btn {
    margin-right:0;
}
#image-details-modal .modal-header .button-bar .btn-collect .fa,
#image-details-modal .modal-header .button-bar .btn-like .fa {
    font-size: 22px;
    line-height: 22px;
    vertical-align: bottom;
    margin-right:18px;
}
#image-details-modal .modal-header .button-bar .btn-collect .fa.fa-bookmark,
.collection-card .options .btn.btn-collect .fa.fa-bookmark,
.download-card .options .btn.btn-collect .fa.fa-bookmark {
    color: #89c4f4;
}
#image-details-modal .modal-header .button-bar .btn-like .fa,
.collection-card .options .btn.btn-like .fa,
.download-card .options .btn.btn-like .fa {
    color: #fc186f;
}
#image-details-modal .modal-header .button-bar .btn-like #like-count {
    color:#666;
    margin-left:20px;
}
#image-details-modal .modal-header .btn.btn-close {
    width:60px;
    height:60px;
    font-size: 30px;
    padding:0;
    margin:0 -20px 0 10px;
}
#image-details-modal .modal-header .btn-close:hover {
    background-color: #ff5e5e;
}

#image-details-modal .modal-body {
    padding:30px 0 0 0;
}

#image-details-modal .preview-pane .preview {
    width: 100%;
}

#image-details-modal .detail-pane {

}

#image-details-modal .detail-pane .detail-row {
    display:flex;
    margin-bottom: 12px;
    color: #666;
}
#image-details-modal .detail-pane .detail-row .detail-label {
    font-weight: 700;
    width: 135px;
    flex-shrink: 0;
}
#image-details-modal .detail-pane .detail-row .detail-value {
}
#image-details-modal .detail-pane .detail-row .detail-value .tag {
    display:inline-block;
    padding:5px 10px;
    border:1px solid #ccc;
    border-radius: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Download menu */
.btn-download-menu .fa {
    border-left:1px solid #666;
    padding-left: 14px;
    margin-left: 11px;
    font-size: 28px;
    line-height: 26px;
    vertical-align: sub;
}
.download-menu {
    position: relative;
    display:inline-block;
}
.download-menu.open > .dropdown-menu {
    width: 300px;
    right: 0;
    left: auto;
    margin-top: 10px;
    padding:20px;
    border:none;
    box-shadow: 0 5px 10px #00000040;
    overflow: hidden;
}
.download-menu.open > .dropdown-menu.left {
    right: auto;
    left: 0;
}
.download-menu > .dropdown-menu h4 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}
.download-menu > .dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.download-menu > .dropdown-menu ul li {
    position: relative;
    margin:0;
    border-bottom: 1px solid #ddd;
    text-align: right;
    padding:12px 50px 12px 10px;
    cursor: pointer;
}
.download-menu > .dropdown-menu ul li span {
    float: left;
    font-weight: 600;
}
.download-menu > .dropdown-menu ul li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}
.download-menu > .dropdown-menu ul li:hover {
    background-color: #f9f9f9;
}
.download-menu > .dropdown-menu ul li.selected:after {
    position: absolute;
    font-family: "FontAwesome";
    font-size:20px;
    color:#333;
    content:'\f00c';
    top:7px;
    right:7px;
}
.download-menu > .dropdown-menu .buttons {
    margin:0 -20px -20px;
    padding:20px;
    border-top: 1px solid #ddd;
    background-color: #f9f9f9;
    white-space: wrap;
}
.download-menu > .dropdown-menu .buttons .btn {
    width: 100%;
    padding: 0;
    height: 50px!important;
    line-height: 1;
}
.download-menu > .dropdown-menu .buttons .btn + .btn {
    margin-top: 10px;
}


/* modals */
.modal2 .modal-dialog .modal-body {
    padding:0;
}
.modal2 .modal-dialog .modal-body h4 {
    font-weight:600;
    margin:0;
}
.modal2 .modal-dialog .modal-body hr {
    border-top-color:#ddd;
}
.modal2 .modal-dialog .form-group .control-label,
.modal3 .modal-dialog form:not(.form-horizontal) .form-group .control-label {
    font-weight:600;
    margin-bottom:5px;
}
.modal2 .modal-dialog .tab-pane.editing .form-group,
.modal3 .modal-dialog form:not(.form-horizontal) .form-group {
    padding-bottom:12px;
    border-bottom:none;
}
.modal2 .modal-dialog .form-group.last-item {
    margin-bottom:90px;
}
.modal3:before {
    position: fixed;
    left:0;
    right:0;
    top:0;
    bottom:0;
    content:" ";
    background-color:#33333388;
    backdrop-filter: blur(2px);
}
.modal3 .modal-body {
    padding-top:0;
    padding-bottom:0;
}
.modal2 .form-control:not(textarea),
.modal3 .form-control:not(textarea) {
    height:50px;
}
.modal2 .input-group .btn,
.modal3 .input-group .btn {
    width:50px;
    height:50px;
}
.modal2 .input-icon > i,
.modal3 .input-icon > i {
    margin-top:17px;
}
.modal3 .form-horizontal .control-label {
    top:unset;
    padding-top:16px;
}


#modal-profile-upload .btn-trans {
    font-size:16px;
    color:#666;
}
#modal-profile-upload .btn-trans .fa {
    font-size:20px;
    margin-right:5px;
}

.compact-grid .row {
    margin-left:-5px;
    margin-right:-5px;
}
.compact-grid .row [class^="col-"] {
    padding-left:5px;
    padding-right:5px;
}

#contribution-gallery {
    display: grid;
    margin-top:40px;
    grid-template-columns: repeat(auto-fill, minmax(23%, 1fr));
    grid-gap: 20px;
}
.contribution-card {
    position: relative;
    border-radius: 5px;
    font-size:13px;
    overflow: hidden;
    box-shadow: 0 0 10px #00000020;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.contribution-card:hover {
    box-shadow: 0 0 15px #00000040;
}
.contribution-card.unapproved {
    cursor: not-allowed;
}
.contribution-card .thumb {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 100%;
}
.contribution-card .media_stats {
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color:#ebebe8d9;
    padding:10px 15px;
}
.contribution-card .media_stats .fa {
    font-size: 17px;
    line-height: 1;
    vertical-align: text-bottom;
    margin-right: 5px;
}
.contribution-card .media_stats .fa-heart {
    color: #fc186f;
}
.contribution-card .media_stats .fa-tags {
    color: #007bff;
}
.contribution-card .media_stats .fa-download {
    color: #28a745;
}
.contribution-card .media_status {
    position: absolute;
    top:0;
    width: 100%;
    text-align: center;
    font-weight:600;
    background-color:#ebebe8d9;
    padding:10px 15px;
}
.contribution-card .title {
    font-size:16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin:20px 20px 10px 20px;
}
.contribution-card .description {
    margin:10px 20px;
    color:#666;
    min-height:38px;
    max-height:39px;
    line-height: 19px;
    overflow:hidden;
}
.contribution-card .date {
    margin:10px 20px;
}

.collection-folder-mini {
    display: flex;
    position: relative;
    border-radius: 5px;
    margin-top:20px;
    padding: 0 20px 0 0;
    box-shadow: 0 0 10px #00000020;
    width:100%;
    height:90px;
    align-items: center;
    overflow: hidden;
}
.collection-folder-mini .thumb {
    width: 100px;
    flex-shrink: 0;
    height: 90px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.collection-folder-mini .info {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    padding:0 20px;
}
.collection-folder-mini .info p {
    margin: 5px 0;
}
.collection-folder-mini .info .title,
.collection-folder .info .title,
.collection-card .info .title,
.download-card .info .title {
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.collection-folder-mini .info span {
    font-weight: 600;
}
.collection-folder-mini .btn-add {
    width: 100px;
}

.collection-folder,
.collection-card,
.download-card {
    display: flex;
    position: relative;
    border-radius: 5px;
    margin-top: 20px;
    padding: 0;
    box-shadow: 0 0 10px #00000020;
    width: 100%;
    cursor: pointer;
}
.collection-card,
.download-card {
    min-height:120px;
    cursor: default;
}
.collection-folder .collection-edit {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    padding: 14px;
    font-size: 16px;
    cursor: pointer;
}
.collection-folder .thumb,
.collection-card .thumb,
.download-card .thumb {
    width:150px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px 0 0 5px;
}
.collection-folder .info {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    padding: 20px;
}
.collection-card .content,
.download-card .content {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    row-gap: 20px;
    padding: 20px;
}
.collection-card .info,
.download-card .info {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-between;
}
.collection-folder .info .title,
.collection-card .info .title,
.download-card .info .title {
    font-size:14px;
    margin-bottom: 10px;
}
.collection-card .thumb,
.collection-card .title,
.download-card .thumb,
.download-card .title {
    cursor: pointer;
}
.download-card .title {
    height: 40px;
}
.collection-folder .info .description {
    min-height: 38px;
    max-height: 39px;
    line-height: 19px;
    overflow: hidden;
    margin-bottom: 10px;
}
.collection-folder .info .date,
.collection-folder .info .size,
.download-card .info .date,
.download-card .info .expiry {
    display: inline-block;
}
.collection-folder .info .date,
.download-card .info .date {
    margin-right: 20px;
}
.collection-card .options,
.download-card .options {
    text-align: right;
    white-space: nowrap;
}
.collection-card .options {
    align-self: center;
}
.collection-card .options .btn:not(.download-menu .btn) {
    margin:5px 10px 5px 0;
}
.download-card .options .btn:not(.download-menu .btn) {
    margin:0 10px 10px 0;
}
.collection-card .options .download-menu {
    margin:5px 0;
}
.download-card .options .download-menu {
    margin:0 0 10px 0;
    vertical-align: top;
}

.collection-card .options .btn .fa,
.download-card .options .btn .fa {
    font-size: 22px;
    line-height: 19px;
    vertical-align: bottom;
}
.collection-card .options .btn.btn-like,
.download-card .options .btn.btn-like {
    min-width:101px;
}
.collection-card .options .btn.btn-like .fa,
.download-card .options .btn.btn-like .fa {
    margin-right:10px;
}
.download-card .options .licence {
    margin-top:10px;
}

h3.collection-title {
    font-size:20px;
    font-weight:700;
    margin:20px 0;
}
h3.collection-title a {
    color:inherit;
}
h3.collection-title .fa-angle-right {
    font-size: 24px;
    vertical-align: middle;
    margin: -4px 5px 0;
}

.subscriptions {
    display: flex;
    row-gap: 20px;
    column-gap: 20px;
    margin-bottom:100px;
    justify-content: center;
}
.subscription-card {
    display: flex;
    flex-direction: column;
    position: relative;
    flex-basis:33%;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px #00000020;
}
.subscription-card .title {
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    margin-bottom:20px;
}
.subscription-card .description {
    margin-bottom: 30px;
    text-align: center;
}
.subscription-card .sub-footer {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: end;
    align-items: center;
}
.subscription-card .sub-footer .btn {
    width: 100%;
    height: 40px;
    border-radius: 40px;
    margin-top:40px;
}
.subscription-card .sub-footer .btn.disabled {
    color:#000;
    background-color: #dddddd;
    pointer-events: none;
}
.subscription-card .qty-selector {
    border: 1px solid #ddd;
    border-radius: 20px;
    height: 40px;
    padding:0 8px;
}
.subscription-card .qty-selector button {
    border: none;
    border-radius: 50%;
    background-color: transparent;
    width: 40px;
    height: 40px;
    font-size: 14px;
    text-align: center;
    padding: 0;
    margin: 0 2px;
    vertical-align: middle;
    cursor: pointer;
}
.subscription-card .qty-selector button.selected {
    background-color: #428bca;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    width: 60px;
    height: 60px;
    margin: -10px;
}
.subscription-card .btn-price {
    display: flex;
    padding: 0;
    background-color: #3cb951;
    color:#fff;
}
.subscription-card .btn-price span.price {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #6ceca2;
    color:#000;
    height: 40px;
    width: 90px;
    border-radius: 20px;
    font-weight: 600;
}
.subscription-card .btn-price span.btn-lbl {
    display: flex;
    flex-grow: 1;
    height: 40px;
    align-items: center;
    justify-content: center;
}
.subscription-card .btn-price:hover, .subscription-card .btn-price:focus, .subscription-card .btn-price:active, .subscription-card .btn-price.active {
    color: white;
    background-color: #2c9e3f ;
    border-color: #29913d;
}
.subscription-card .pro-credits {
    position: absolute;
    bottom: -30px;
    left:40px;
    height:30px;
    padding-top:5px;
    width:calc(100% - 80px);
    background-color: #ecbc29;
    color:#000;
    text-align: center;
    border-radius: 0 0 5px 5px;
    z-index: -1;
}

.portlet.box.borderless > .portlet-title {
    padding-top:20px;
    border-bottom: none;
}
.portlet.box.borderless > .portlet-body {
    /*padding-top: 0;*/
}

.checkout-breadcrumbs {
    margin:0 0 20px 0;
    padding:0;
    list-style: none;
}
.checkout-breadcrumbs li {
    display: inline-block;
    margin-right: 10px;
    color:#888;
}
.checkout-breadcrumbs li + li:before {
    content: "\f105";
    font-family: FontAwesome;
    margin-right: 10px;
    color: #666;
}
.checkout-breadcrumbs li.active {
    color:#ecbc29;
}
.checkout-breadcrumbs li.complete {
    color:#3cb951;
}

.avatar-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #000;
    margin-right: 20px;
    padding:5px;
    overflow: hidden;
}
.avatar-wrapper.default {
    padding:0;
    border:none;
}
.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.btn.pseudo-disabled {
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}

.margin-bottom-30 {
    margin-bottom:30px;
}

.form-group label.error {
    color: #ff0000;
    font-size: 12px;
    font-weight: 400;
    margin:0;
}

.order-summary {
    max-width:250px;
}
.order-summary .row {
    margin:10px 0 0 0;
    padding-top:10px;
    border-top: 1px solid #ddd;
}
.order-summary .row .col-xs-6 {
    padding:0;
}
.checkout-address p {
    margin: 0;
}

@media (min-width: 540px) {
    .modal3 .modal-dialog {
        width: 500px;
        margin:10px auto;
    }
}
@media(min-width:768px) {
    #modal-login .modal-dialog {
        width: 100%;
        max-width: 550px;
    }
    .modal2 .modal-dialog {
        width: 700px;
        margin-top:40px;
    }
}
@media (min-width: 992px) {
    .equal-md {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-wrap: wrap;
    }
    .equal-md > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
    #gallery-nav .nav-tabs {
        width:970px;
    }
}
@media (min-width: 1200px) {
    #gallery-nav .nav-tabs {
        width:1165px;
    }
}


@media(max-width:500px) {
    h1 {
        font-size: 24px;
    }
    #image-details-modal .modal-header .button-bar .btn {
        padding:16px;
    }
    #contribution-gallery {
        grid-template-columns: repeat(auto-fill, minmax(80%, 1fr));
    }
}
@media(max-width:600px) {
    .collection-card .options, .download-card .options {
        white-space: wrap;
        text-align:left;
    }
}
@media (max-width: 699px) {
    .modal2 .modal-dialog .form-group.last-item {
        margin-bottom:20px;
    }
}
@media(max-width:767px) {
    .form-horizontal label[class*="col-sm-"] {
        top:unset;
        margin-bottom:5px;
    }
    #modal-login .form-group .col-sm-6:nth-child(2) {
        margin-top: 30px;
    }
    .text-xs-right {
        text-align: right;
    }
    #contribution-gallery {
        grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    }
}
@media(max-width:782px) {
    body {
        padding-top:60px!important;
    }
}
@media(max-width:991px) {
    #image-details-modal .modal-header .button-bar {
        flex-basis:100%;
        flex-wrap: wrap;
        row-gap: 20px;
        justify-content: flex-start;
    }
    #image-details-modal .detail-pane {
        margin-top:30px;
    }
}
@media(max-width:992px) {
    body {
        padding-top:80px!important;
    }
    .form-horizontal label[class*="col-md-"] {
        top:unset;
        margin-bottom:5px;
    }
    #gallery-nav-toggle {
        display: block;
        position: fixed;
        font-size: 24px;
        line-height: 38px;
        text-align: center;
        width: 40px;
        height: 40px;
        border:1px solid #333;
        border-radius: 50%;
        bottom: 20px;
        left: calc(50% - 20px);
        background-color: #f7be39;
        box-shadow: 0 0 10px #00000090;
        z-index: 100;
    }
    #gallery-nav {
        position: fixed;
        width:200px;
        max-height:100vh;
        top:auto;
        bottom: 70px;
        left:calc(50% - 100px);
        overflow:hidden;
        background-color: #fff;
        border:none;
        border-radius:5px;
        box-shadow: 0 0 10px #00000040;
        transition: all 0.3s ease-in-out;
    }
    #gallery-nav:not(.open) {
        max-height:0;
        padding:0;
        box-shadow: none;
    }
    #gallery-nav .nav-tabs {
        width:100%;
    }
    #gallery-nav .nav-tabs li {
        float:none!important;
        border:none;
        border-radius:0;
        margin:0;
    }
    #gallery-nav .nav-tabs li a {
        display:block;
        padding:10px;
        margin:0;
        border-bottom: 1px solid #ddd;
        border-radius:0;
    }
    #gallery-nav .nav-tabs li.active a {
        background-color: #ddd;
        border:none;
        border-bottom: 1px solid #ddd;
    }
    #gallery-nav .nav-tabs li:last-child a,
    #gallery-nav .nav-tabs li.active:last-child a {
        border-bottom:none;
    }
    .subscriptions {
        flex-wrap: wrap;
    }
    .subscription-card {
        flex-basis: 100%;
    }
}


