/* ---- grid ---- */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/* 5 columns, percentage width */
.grid-item,
.grid-sizer {
    width: 20%;
    border: 4px solid #fff
}

.grid-item {
    float: left;
}

.photo-container {
    position: relative;
    cursor: pointer;
}

.hover-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #000;
    pointer-events: none;
    border: 5px solid #008CBA;
}

.photo-container:hover .hover-overlay{
    opacity: .5;
}

.reactions-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.reactions-container .fa
,.photo-viewer .fa{
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #fff;
    font-size: 20px;
    padding-right: 5px;
}

.reactions-container .label {
    background-color: #fff!important;
    border-color: #fff!important;
    color: #005D79 !important;
}

.copy-line-2 {
    text-transform: unset;
    margin-top: -40px;
}

.copy-line-3, .social-icons {
    display: inline-block;
    padding: 0 10px;
}

.photo-uploader h1 {
    padding-bottom: 0;
}

.photo-uploader .field {
    padding: 0 100px;
}

.photo-uploader #file-select {
    display: none;
}

.photo-uploader .fa-cloud-upload-alt{
    font-size: 30px;
    color: #92CFE3;
}

.photo-uploader .close, .photo-viewer .close{
    margin: 5px;
    top: 0 !important;
    right: 0 !important;
    z-index: 2 !important;
}

.photo-uploader .dropzone {
    padding: 25px 25px;
    min-height: unset;
}

.dropzone .dz-preview .dz-error-message {
    top: 180px!important;
}

.photo-viewer .owl-carousel {
    max-height: 800px;
    padding: 30px;
}
.photo-viewer .photo-options {
    max-height: 750px;
}

.photo-viewer .photo-primary-container {
    border-right: #e5e5e5 solid 1px;
}

.photo-viewer .photo-primary-container {
    position: relative;
}
.photo-viewer .photo-primary-container {
    z-index: 1;
}
.photo-viewer .photo-primary-container .photo-primary-info-bar
,.photo-viewer .photo-primary-container .photo-primary-info {
    position: relative;
    margin: -25px 0 0;
    padding: 5px;
    height: 25px;
    text-align: center;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
}
.photo-viewer .photo-primary-container .photo-primary-info-bar  {
    z-index: 2;
    background-color: #000;
    opacity: 0.5;
}
.photo-viewer .photo-primary-container .photo-primary-info {
    z-index: 3;
    color: white;
}

.photo-viewer .fa-angle-left, .photo-viewer .fa-angle-right {
    color: #ababab !important;
    font-size: 50px !important;
}

.owl-next i {
    margin-left: 20px;
}

.photo-viewer .logo-mobile
,.photo-viewer .logo-desktop {
    max-height: 55px;
    width: auto !important;
}

.photo-viewer .logo-desktop {
    display: inline-block !important;
}

.photo-viewer .logo-mobile {
    display: none !important;
}

.photo-viewer .photo-primary {
    height: auto !important;
    width: auto !important;
}

.photo-viewer .photo-primary
,.photo-viewer .photo-primary-container .photo-primary-info-bar {
    max-height: 500px;
    max-width: 800px;
}

.photo-viewer .photo-viewer-title {
    font-size: 20px;
    padding: 10px 0;
}

.photo-viewer .photo-secondary {
    max-height: 150px;
    max-width: 400px;
    width: auto !important;
}

.photo-viewer .photo-thumb,
.photo-viewer .no-image{
    max-height: 50px;
    max-width: 50px;
}

.photo-viewer .photo-thumb-name {
    font-size: 12px;
}

.photo-viewer .photo-options {
    overflow-y: auto;
}

.photo-viewer .social-container {
    align-items: flex-end;
    padding-top: 20px;
}

.photo-viewer  .no-image {
    font-size: 10px;
    border: 1px solid gray;
    padding: 4px;
    display: inline-block;
}

.photo-viewer  .product-options {
    text-align: center;
    display: block;
}

.ui.message {
    margin-bottom: -20px;
}

.reaction-message {
    padding-top: 10px;
}

/*
    .fade-in {
        opacity: 1;
        animation-name: fadeInOpacity;
        animation-iteration-count: 1;
        animation-timing-function: ease-in;
        animation-duration: 1s;
    }

    @keyframes fadeInOpacity {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
*/


@media screen and (max-width:768px) {

    .copy-line-2 {
        font-size: 16px;
    }

    .photo-uploader h1 {
        font-size: 32px;
        margin-bottom: -10px;
    }

    .photo-uploader .dropzone {
        padding: 0 0;
        min-height: unset;
    }

    .ui.modal > .content {
        overflow-y: auto;
    }

    .photo-viewer .logo-mobile {
        display: inline-block !important;
        max-width: 280px;
        text-align: center;
        padding: 0 10px;
    }

    .photo-viewer .logo-desktop {
        display: none !important;
    }

    .photo-viewer .photo-options {
        overflow-y: unset;
    }

}

@media screen and (max-width:767px) {
    .photo-uploader .field {
        padding: 0 0;
    }

    .photo-viewer .photo-primary, .photo-viewer .photo-secondary
    ,.photo-viewer .photo-primary-container .photo-primary-info-bar {
        max-width: 240px;
    }

    /* 3 columns, percentage width */
    .grid-item,
    .grid-sizer {
        width: 50%;
        border: 4px solid #fff
    }

    .photo-viewer .photo-primary-container {
        border-right: unset;
    }

    .photo-viewer .photo-primary-container .photo-primary-info {
        font-size: 9px;
    }

    .photo-viewer .photo-primary-container .photo-primary-info-bar
    ,.photo-viewer .photo-primary-container .photo-primary-info {
        margin: -30px 0 0;
        height: 30px;
    }

    .photo-viewer .logo-mobile {
        padding-bottom: 10px;
    }

    .at-style-responsive .at-share-btn {
        padding: 0;
        margin-right: 0;
    }

    .photo-viewer .button {
        margin-top: 3px !important;
    }
}

