/**
 * @copyright   (C) 2011 - 2018 Mike Feng Jinglong - All rights reserved.
 * @license  GNU General Public License, version 3 (http://www.gnu.org/licenses/gpl-3.0.html)
 * @author  Mike Feng Jinglong <mike@simbunch.com>
 * @url   http://www.simbunch.com/license/
*/
.simbunch-wrapper .mfp-wrap.theater-wrap {z-index:1200;top:0;bottom:0;right:0;left:0;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-content {width:100%;height:100%;max-width:none;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-counter {position:relative;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-hits {color:#fff;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-container {height:100%;padding:10px 6px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-close {color:#4d4d4d;width:24px;height:24px;margin:0;padding:0;right:5px;top:5px;cursor:pointer !important;font-size:28px;text-align:center;z-index:1200;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-arrow {top:50%;transform:translateY(-50%);margin:0 !important;}

.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-figure.row {margin:0;display:flex;flex-wrap:wrap;height:100%;cursor:default;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-figure.row > section {position:relative;display:flex;flex-direction:column;line-height:1.5;height:100%;}

.simbunch-wrapper .mfp-wrap.theater-wrap .theater-body {padding:0;width:0;overflow:hidden;height:100px;background:#000 url("../images/browse-loading.gif") no-repeat scroll 50% 50%;flex-grow:1}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-body .photo-container {height:100%;display:inline-block;margin:0 auto;position:relative;max-width:100%;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-body .photo-container .mfp-img {cursor:pointer;padding:0;max-height:100% !important;max-width:100%;margin:auto;width:auto;height:auto;position:relative;top:50%;transform:translateY(-50%)}

.simbunch-wrapper .mfp-wrap.theater-wrap #bottom-bar {transition:visibility 0s, opacity 0.3s linear;opacity:0;visibility:hidden;cursor:default;position:absolute;bottom:0;left:0;right:0;background-color:rgba(0,0,0,0.7);z-index:1200;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-body:hover #bottom-bar {visibility:visible;opacity:1}
.simbunch-wrapper .mfp-wrap.theater-wrap #bottom-bar .v-divider {padding:0;margin-left:7px;background-color:#fff;height:22px;width:1px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .tagging-message {padding:4px;line-height:28px;color:#fff;font-size:14px;}

.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-video .theater-body {display:flex;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-video .mfp-iframe-scaler {position:relative;flex-grow:1;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-video #bottom-bar {position:relative;opacity:1;visibility:visible;background-color:rgba(255,255,255,0.1)}
.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-video .modal {width:100%;}

.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions {display:flex;flex-wrap:wrap;height:100%;line-height:28px;padding:4px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions > [class*='col-'] {flex-direction:column;height:100%;}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions > div > * {padding:4px 7px;vertical-align:middle;line-height:18px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions > div > a {color:#fff;}

.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions > div.actions-section-left {font-size:12px;display:flex;flex-direction:row;height:auto}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions > div.actions-section-left > * {height:28px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions > div.actions-section-left .mfp-title {flex-grow:1;}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions > div.actions-section-left .mfp-title > a {font-weight:bold;color:#fff;font-size:14px;}

.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions > div.actions-section-right {font-size:13px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions > div.actions-section-right > a, .simbunch-wrapper .mfp-wrap.theater-wrap .media-actions .action-options {font-weight:500;border-width:1px;border-style:solid;border-color:transparent;border-radius:3px;margin-left:7px}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions > div.actions-section-right > a:hover, .simbunch-wrapper .mfp-wrap.theater-wrap .media-actions .action-options:hover, .simbunch-wrapper .mfp-wrap.theater-wrap .media-actions .action-options.open {text-decoration:none;border-color:#fff;background-color:rgba(255,255,255,0.15);}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions .action-options {position:relative;cursor:pointer;display:inline-block;padding:0}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions .action-options > a {padding:3px 7px;line-height:19px;display:inline-block;color:#fff;text-decoration:none}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions .action-like {margin-left:7px;border-width:1px;border-style:solid;border-radius:3px}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions .action-like:hover {border-color:#fff;background-color:rgba(255,255,255,0.15)}
.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions .action-like[data-liked="1"] {color:#337ab7;}

.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer {background-color:#fff;padding:10px;font-size:80%;width:350px;visibility:visible}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer > .footer-loader {position:relative;top:50%;transform:translateY(-50%)}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .media .pull-left {padding-right:5px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .tagged-info {min-height:32px;margin-bottom:5px}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .tagged-info .media-object {width:32px;height:32px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .tagged-info .media-body {padding-right:15px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .comment-section {flex-grow:1;overflow:hidden;position:relative;display:flex;flex-direction:column;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .comment-section .comments-info-wrapper {display:flex;flex-direction:column;height:100%}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .comment-section .comments-info-wrapper .media-object {width:36px;height:36px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .comment-section .comments-info-wrapper .comments-wrapper {width:100% !important;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .comment-section .panel-heading {padding:3px 8px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .comment-section .panel-body {padding:5px;flex-grow:1;overflow:hidden;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .media-edit-form textarea {height:91px;overflow:auto;resize:none;}

/*
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-body {padding:0;background-color:#000;width:calc(100% - 320px);height:100%;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-body div.mfp-img-container {display:block;overflow:hidden;vertical-align:bottom;background:rgba(0, 0, 0, 0) url("../images/browse-loading.gif") no-repeat scroll 50% 50%;position:relative;height:100%;text-align:center;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-body div.mfp-img-container #photo-container {position:relative;top:50%;transform:translateY(-50%);max-height:100%;max-width:100%;display:inline-block;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-body .mfp-img {padding:0;cursor:pointer;transition:all 200ms;height:auto !important;width:auto !important;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-body .tagging-message {background-color:#121212;color:#999;font-size:14px;height:35px;opacity:1;bottom:0;left:0;line-height:35px;position:absolute;text-align:center;width:100%;z-index:10;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer {cursor:default;width:320px;background-color:#FFF;padding:8px 10px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer #comment-textarea {max-height:90px;height:40px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .comments-list-ul.comment-entry-ul {display:table;width:100%;height:auto;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer .photo-description {max-height:200px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .theater-footer #description-textarea {max-height:100px;}

.simbunch-wrapper .mfp-wrap.theater-wrap #pn-tag-selector.dropup {top:auto;bottom:100%;margin:0 0 15px;}
.simbunch-wrapper .mfp-wrap.theater-wrap #pn-tag-selector.dropup .arrow {top:auto;bottom:-6px;transform:rotate(225deg);}
.simbunch-wrapper .mfp-wrap.theater-wrap #pn-tag-selector.dropup .inner {padding:5px 5px 7px;margin:0;}
.simbunch-wrapper .mfp-wrap.theater-wrap #pn-tag-selector.dropup #tagit-selection > ul {top:auto !important;bottom:98% !important;display:flex;flex-direction:column-reverse;}
.simbunch-wrapper .mfp-wrap.theater-wrap #pn-tag-selector.dropup #tagit-selection > ul > li {flex:0 0 auto;}

.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions {padding:5px 10px;color:#ccc;font-size:14px;justify-content:space-between;position:absolute;left:0px;bottom:0px;width:100%;background-color:rgba(0, 0, 0, 0.6);}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions a:hover {text-decoration:none !important;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions > * {height:2em;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .actions-section-left {padding:5px;text-align:left}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .actions-section-left > * {display:inline-block;position:relative;top:50%;transform:translateY(-50%);}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .actions-section-left .mfp-title {margin-right:15px;padding:0;display:inline-block;max-width:80%;white-space:nowrap;text-overflow: ellipsis;overflow:hidden;vertical-align:bottom;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .actions-section-left .mfp-title a {color:#fff !important;font-size:16px;font-weight:bold;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .actions-section-left .mfp-counter {font-size:14px;margin-right:15px;position:relative;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .actions-section-left .mfp-hits {font-size:13px;}

.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .actions-section-right {padding:5px;text-align:right;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .actions-section-right a {color: #ccc !important;font-weight:bold;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .actions-section-right > .fa-spin {font-size:20px;width:20px;height:20px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .actions-section-right > *:not(.fa-spin) {display:inline-block;padding:2px 5px;border-radius:3px;color:#ccc;margin:0px 3px;text-align:center;border:1px solid transparent;position:relative;top:50%;transform:translateY(-50%);z-index:1200;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .actions-section-right > *:not(.disabled):not(.boundary-pipe):hover {background-color:#555;color:#fff;text-decoration:none !important;border:1px solid #ccc;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions ul.dropdown-menu {left:-70%;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions ul.dropdown-menu a {color:#666 !important;font-weight:normal;padding:3px 15px;font-weight:13px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions ul.dropdown-menu i.fa {width:16px;text-align:center;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions ul.dropdown-menu .divider {border-bottom:1px solid #ccc;margin:5px;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .boundary-pipe {border-left:1px solid #999 !important;margin:0 5px -12px !important;height:30px !important;border-radius:0 !important;padding:0 !important;}
.simbunch-wrapper .mfp-wrap.theater-wrap .mediaactions .phone-btn {width:1.5em;line-height:1.5em;height:1.5em;}

.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-iframe-holder {max-width:none;}
.simbunch-wrapper .mfp-wrap.theater-wrap #browse-footer > .mCustomScrollBox {width:100%;}
*/
/* Extra Small */
@media(max-width:767px) {
	.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-figure.row > section {width:100%;}
	.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-figure.row > .theater-footer {z-index:1100;visibility:hidden;position:absolute;top:0;left:0;}
	.simbunch-wrapper .mfp-wrap.theater-wrap .media-actions > * {margin:0 auto;}
}
/* Small */
@media(min-width:768px) and (max-width:991px) {
	.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-figure.row > .theater-footer {visibility:visible !important}
}
/* Medium */
@media(min-width:992px) and (max-width:1199px) {
	.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-figure.row > .theater-footer {visibility:visible !important}
}
/* Large */
@media(min-width:1200px) {
	.simbunch-wrapper .mfp-wrap.theater-wrap .mfp-figure.row > .theater-footer {visibility:visible !important}
}