@import url('https://fonts.googleapis.com/css?family=Roboto');

.modalBoxPostImg {
    cursor: pointer;
    transition: 0.1s;
}

.modalBoxPostImg:hover {
    opacity: 0.7;
}

.modalBoxBigImg {
    margin: 10px;
}

.modalBoxSmallImg:after, .attached_image:after {
    content: '';
    display: block;
    clear: both;
}

.grid-sizer, .modalBoxSmallImg {
    width: 33.333%;
}

.modalBoxSmallImg {
    float: left;
    height: 110px;
    overflow: hidden;
}

.modalBoxSmallImg .attached_image {
    max-width: 160%;
    height: auto;
}

.attached_image {
    display: block;
    max-width: 100%;
}

.modalbox {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100% !important;
    min-height: 100%;
    min-width: 660px;
    z-index: 100;
    table-layout: fixed;
}

/* The Modal (background) */
.modalbox-backdrop {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
}

.modalbox.open {
    display: table;
}

.container-modalbox {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.modalbox-content {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
    display: inline-block;
    margin: 20px;
    position: relative;
    text-align: left;
}

.uiContextualLayerParent {
    position: relative;
}

.inner-modalbox {
    background-color: #000;
    height: 100%;
    width: calc(100% - 360px);
    min-height: 480px;
    position: relative;
    text-align: center;
    -webkit-user-select: none;
    z-index: 2;
    float: left;
    font-family: 'Roboto', sans-serif;
}

.stage {
    display: block;
    cursor: pointer;
    font-size: 0;
    width: 100%;
    height: 100%;
    min-height: 402px;
    position: relative;
    text-align: center;
}

.modalbox-content .image-box {
    height: 100%;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.modalbox-content .sidebar-box {
    background: #ffffff;
    width: 360px;
    text-align: left;
    position: relative;
    overflow: auto;
    min-height: 100%;
    word-wrap: break-word;
}

.modalbox-content:after {
    content: '';
    display: block;
    clear: both;
}

.controls {
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -25px;
    cursor: pointer;
    width: 28px;
    height: 45px;
    padding: 10px;
    opacity: 0.6;
}

.controls.arrow-left {
    background: url("../images/left.png") no-repeat;
}

.controls.arrow-right {
    background: url("../images/right.png") no-repeat;
    left: auto;
    right: 10px;
}

.modalbox-content img.modalbox-photo:hover .arrow-right,
.modalbox-content img.modalbox-photo:hover .arrow-left {
    opacity: 0.6;
}

.arrow-right:hover, .arrow-left:hover {
    opacity: 1;
}

.modalbox-content img.modalbox-photo {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
}

.modalbox-content .sidebar-box .inner-sidebar {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 10px;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close-modalbox {
    position: fixed;
    top: 15px;
    right: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    opacity: 0.6;
    z-index: 3;
}

.close-modalbox:hover,
.close-modalbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.sidebar-user {
    position: relative;
    margin-bottom: 10px;
}

.sidebar-user .user-avatar {
    overflow: hidden;
    width: 40px;
    height: 40px;
    float: left;
    margin-right: 10px;
}

.sidebar-user .user-info {
    position: relative;
    max-height: 40px;
    float: left;
    max-width: 250px;
    font-family: 'Roboto', sans-serif;
}

.sidebar-user .user-info .name {
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.sidebar-user .user-info .post-datetime {
    font-size: 13px;
    color: #717171;
    font-family: 'Roboto', sans-serif;
    margin-top: 3px;
}

.divider-h-line {
    margin: 10px auto 5px;
}

.settings-post {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.sidebar-post-desc {
    font-size: 14px;
    line-height: 1.25;
    font-family: 'Roboto', sans-serif;
    color: #464646;
}

.sidebar-share {
}

.tq4 {
    float: left;
    width: 40%;
    min-height: 38px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    /*padding-right: 5px;*/
}

.tq4 .social-icons {
    width: 34px;
}

.tq4 .green-like {
    padding-left: 5px;
}

.tq4 .like, .tq4 .comment-but {
    padding: 10px 0;
    font-weight: bold;
    font-size: 12px;
    color: #717171;
}

.tq4.share-social-btn {
    width: 20%;
}

.green {
    color: #88c840 !important;
}

.sidebar-documents > li > a {
    font-size: 11px;
    color: #5049ff;
    text-decoration: underline;
}

.sidebar-documents > li:hover > a {
    color: #3f3ac0;
    text-decoration: none;
}

.attached_files_documents {
    margin-top: 5px;
    padding-left: 15px;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 768px) {
    .modalbox {
        min-width: 100%;
        /*position: absolute;*/
    }

    .modalbox-photo {
        max-width: 100%;
    }

    .sidebar-box {
        max-width: 100%;
        width: 100%;
    }

    .modalbox-content .uiContent {
        width: 100% !important;
        height: auto !important;
    }

    .inner-modalbox {
        width: 100%;
    }

    .modalbox-content .sidebar-box {
        width: 100%;
    }
}