/**
 * @copyright   (C) 2011 - 2016 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/
*/
.mfp-wrap.theater-wrap {z-index:9999;}
.mfp-wrap.theater-wrap .fa-spin {filter:blur(0);}
.mfp-wrap.theater-wrap .mfp-content.container {width:100%;height:100%;overflow:hidden;line-height:normal;}
.mfp-wrap.theater-wrap .mfp-container {height:100%;padding:10px 6px;}
.mfp-wrap.theater-wrap .mfp-container .mfp-content {height:100%;}
.mfp-wrap.theater-wrap .mfp-container .mfp-content #simgallery-wrapper {height:100%;}
.mfp-wrap.theater-wrap .mfp-close {color:#4d4d4d;width:24px;height:24px;line-height:24px;text-align:center;margin:0;padding:0;right:8px;top:8px;cursor:pointer !important;}

.mfp-wrap.theater-wrap .mfp-figure.row {cursor:default;line-height:normal;display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;flex-wrap: wrap;height:100%;}
.mfp-wrap.theater-wrap .mfp-figure.row > [class*='col-'] {display: flex;flex-direction: column; overflow:hidden;}

.mfp-wrap.theater-wrap .theater-body {padding:0;background-color:#000;width:calc(100% - 320px);height:100%;}
.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;}
.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;}
.mfp-wrap.theater-wrap .theater-body .mfp-img {padding:0;cursor:pointer;transition:all 200ms;height:auto !important;width:auto !important;}
/* .theater-wrap .theater-body .mfp-img {margin:auto;height:auto;width:auto;cursor:pointer;padding:0;transition:all 200ms;} */
.mfp-wrap.theater-wrap .theater-body .tagging-message {background-color:#121212;color:#999;font-size:14px;height:35px;opacity:1;bottom:0;left:0;display:none;line-height:35px;position:absolute;text-align:center;width:100%;z-index:10;}
.mfp-wrap.theater-wrap .theater-footer {cursor:default;width:320px;background-color:#FFF;padding:8px 10px;}
.mfp-wrap.theater-wrap .theater-footer #comment-textarea {max-height:90px;height:40px;}
.mfp-wrap.theater-wrap .theater-footer .comments-list-ul.comment-entry-ul {display:table;width:100%;height:auto;}
.mfp-wrap.theater-wrap .theater-footer .photo-description {max-height:200px;}
.mfp-wrap.theater-wrap .theater-footer #description-textarea {max-height:100px;}

.mfp-wrap.theater-wrap #pn-tag-selector.dropup {top:auto;bottom:100%;margin:0 0 15px;}
.mfp-wrap.theater-wrap #pn-tag-selector.dropup .arrow {top:auto;bottom:-6px;transform:rotate(225deg);}
.mfp-wrap.theater-wrap #pn-tag-selector.dropup .inner {padding:5px 5px 7px;margin:0;}
.mfp-wrap.theater-wrap #pn-tag-selector.dropup #tagit-selection > ul {top:auto !important;bottom:98% !important;display:flex;flex-direction:column-reverse;}
.mfp-wrap.theater-wrap #pn-tag-selector.dropup #tagit-selection > ul > li {flex:0 0 auto;}

.mfp-wrap.theater-wrap .mfp-content .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);}
.mfp-wrap.theater-wrap .mfp-content .mediaactions a:hover {text-decoration:none;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions > * {height:2em;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions .actions-section-left {padding:5px;text-align:left}
.mfp-wrap.theater-wrap .mfp-content .mediaactions .actions-section-left > * {display:inline-block;position:relative;top:50%;transform:translateY(-50%);}
.mfp-wrap.theater-wrap .mfp-content .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;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions .actions-section-left .mfp-title a {color:#fff;font-size:16px;font-weight:bold;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions .actions-section-left .mfp-counter {font-size:14px;margin-right:15px;position:relative;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions .actions-section-left .mfp-hits {font-size:13px;}

.mfp-wrap.theater-wrap .mfp-content .mediaactions .actions-section-right {padding:5px;text-align:right;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions .actions-section-right a {color: #ccc;font-weight:bold;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions .actions-section-right > .fa-spin {font-size:20px;width:20px;height:20px;}
.mfp-wrap.theater-wrap .mfp-content .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%);}
.mfp-wrap.theater-wrap .mfp-content .mediaactions .actions-section-right > *:not(.disabled):not(.boundary-pipe):hover {background-color:#555;color:#fff;text-decoration:none;border:1px solid #ccc;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions ul.dropdown-menu {left:-70%;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions ul.dropdown-menu a {color:#666;font-weight:normal;padding:3px 15px;font-weight:13px;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions ul.dropdown-menu a:hover {color:#fff;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions ul.dropdown-menu i.fa {width:16px;text-align:center;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions ul.dropdown-menu .divider {border-bottom:1px solid #ccc;margin:5px;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions .boundary-pipe {border-left:1px solid #999 !important;margin:0 5px -12px !important;height:30px !important;border-radius:0 !important;padding:0 !important;}
.mfp-wrap.theater-wrap .mfp-content .mediaactions .phone-btn {width:1.5em;line-height:1.5em;height:1.5em;}

.mfp-wrap.theater-wrap .mfp-iframe-holder .mfp-content {max-width:none;}

@media screen and (max-width:767px) {
	.mfp-wrap.theater-wrap {width:100vw;height:100vh;top:0px !important;position:fixed !important;}
	.mfp-wrap.theater-wrap .mfp-container {height:100%;width:100%;padding:0px;}
	.mfp-wrap.theater-wrap .mfp-content {padding:0;width:100%;}
	.mfp-wrap.theater-wrap .mfp-figure {width:100%;}

	.mfp-wrap.theater-wrap .mfp-figure.row > .theater-body {width:100%;height:100%;}
	.mfp-wrap.theater-wrap .mfp-figure.row > .theater-footer {display:none;position:absolute;top:0px;left:0px;height:100%;width:100%;padding-right:10px;}
	.mfp-wrap.theater-wrap .mfp-content .mediaactions > * {text-align:center !important;}
}

.mfp-wrap.theater-wrap .mfp-content #browse-footer > .mCustomScrollBox {width:100%;}