#allinone_window .modal-body {
	padding-bottom: 0;
}
#allinone_window .modal-dialog {
	max-width: 550px;
}
#allinone_window .fa-msr-icon {
	cursor: pointer;
}

#allinone_close_btn {
	position: absolute;
	top: 0;
	right: 0;
	width: 52px;
	height: 52px;
	text-align: center;
	line-height: 50px;
	font-size: 24px;
	color: #999999;
	cursor: pointer;
	z-index: 1;
}
#allinone_close_btn:hover {
	color: #3c3c3c;
}

/* comment */
.crbox {

}
.crbox .crbox-title {
	margin-bottom: 10px;
}
.crbox .crbox-stars {
	float: left;
	width: 180px;
	text-align: center;
	padding-top: 3px;
}
/*
.crbox .crbox-stars.crbox-stars-hint-visible .mfb-star-rating {
	margin-top: -11px;
	transition: margin 0.5s;
}
*/
.crbox .crbox-stars-hint {
	font-size: 12px;
	color: #4e4e4e;
	text-align: left;
}
.crbox .crbox-text {
	width: 100%;
}
.crbox-input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #dedede;
	line-height: 20px;
	font-size: 14px;
}
.crbox-textarea {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	min-height: 78px;
	padding: 8px 10px;
	overflow-x: hidden;
	border: 1px solid #dedede;
	line-height: 20px;
	font-size: 14px;
}
.crbox-heading {
	font-size: 14px;
	color: #002c3e;
	display: inline-block;
	margin-bottom: 5px;
	font-weight: bold;
}
/*
.crbox-char-counter {
	padding: 3px 10px 0 0;
	color: #cacaca;
}
.crbox-article-link {
	float: left;
	width: calc(100% - 115px);
	padding: 5px 0 3px 0;
}
.crbox-buttonbox {
	float: right;
	width: 115px;
	padding: 0 0 0 10px;
}
*/
.crbox-btn {
	padding: 0 12px;
	background-color: #002c3e;
	border-radius: 3px;
	border: none;
	color: #fff;
	font-size: 14px;
	line-height: 29px;
}
.crbox-btn:hover {
	background-color: rgba(0, 44, 62, 0.85);
}

.crbox-btn.crbox-btn-red {
	background-color: #da423d;
}
.crbox-btn.crbox-btn-red:hover {
	background-color: #d9534f;
}

/*#crbox_comment_save {float: right;}*/

.crbox-header {
	margin-bottom: 20px;
}
.crbox-header-left {
	float: left;
	width: 100px;
	margin-right: 15px;
}
.crbox-header-left img {
	width: 100px;
}
.crbox-header-right {
	position: relative;
	float: left;
	width: calc(100% - 115px);
}
.crbox-movie-rating {
	display: block;
	position: absolute;
	top: 5px;
	left: 0;
	width: 30px;
	height: 30px;
	padding: 0;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	line-height: 30px;
	color: #fff;
	cursor: default;
}
h3.crbox-movie-title {
	margin: 0;
	padding: 4px 0 0 0;
	text-transform: none;
	font-size: 26px;
	line-height: 32px;
	font-weight: bold;
}
h3.crbox-movie-title span.crbox-rating-placeholder {
	width: 38px;
	display: inline-block;
}
h3.crbox-movie-title span.crbox-movie-year {
	display: inline-block;
	font-size: 15px;
	color: #777;
}

.crbox-footer {
	width: 100%;
	padding: 4px 0 0 0;
}
.crbox-footer-counter {
	float: left;
	width: 130px;
	padding-top: 4px;
	color: #ababab;
}
.crbox-footer-btn {
	float: left;
	width: calc(100% - 130px);
	text-align: right;
}
.crbox-footer-link {
	padding-top: 5px;
}
.crbox .alert {
	margin-bottom: 2px;
	border-radius: 0;
}

.crbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.75);
	z-index: 100;
}

.allinone-content-divider {
	position: relative;
	margin: 0;
    padding: 8px 15px;
    background-color: #eaeaea;
    color: #4e4e4e;
    font-size: 15px;
    border-bottom: 1px solid #e4e4e4;
}
.allinone-content-divider .fa {
	position: absolute;
	top: 12px;
	right: 12px;
	display: none;
}
/*
#crbox-library-box {
	padding: 10px 15px 15px 15px;
}
*/
#crbox-fav-wish-box {}
#filmoteka_box_btn {
	font-weight: 500;
	font-size: 20px;
	color: #5b5b5b;
	margin: 0 0 10px 0;
	padding: 0;
}

/* filmoteka */
label.library-media {
	border: 1px solid #eaeaea;
	border-radius: 3px;
	-o-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	text-align: center;
	font-size: 14px;
	font-weight: 400;
	color: #999999;
	padding: 5px 8px;
	margin: 0 5px 0 0;
	cursor: pointer;
	transition: .15s ease-in-out;
}
label.library-media:hover {
	color: #002c3e;
	border-color: #002c3e;
}
label.library-media.active, label.library-media.active:hover {
	color: #fff;
	border-color: #002c3e;
	background-color: #002c3e;
}
label.library-media .fa-square-o {
	font-size: 18px;
	margin-left: 3px;
}
label.library-media .fa-check-square-o {
	font-size: 18px;
	margin-left: 5px;
}
.btn-bookmark-modal {
	border: 0;
	margin: 11px 15px 11px 0;
	padding: 0;
	background-color: #fff;
	color: #999;
	font-size: 14px;
	line-height: 18px;
	transition: .15s ease-in-out;
}
.btn-bookmark-modal:hover {color: #5b5b5b;}
.btn-bookmark-modal.btn-fav-modal.active,
.btn-bookmark-modal.btn-fav-modal.active:hover {color: #ED044E;}
.btn-bookmark-modal.btn-wish-modal.active,
.btn-bookmark-modal.btn-wish-modal.active:hover {color: #0090a7;}

.btn-bookmark-modal .btn-bookmark-modal-icon .fa {font-size: 24px;}
.btn-bookmark-modal .btn-bookmark-modal-text {
	padding: 2px 0 0 0;
	font-size: 13px;
}
.unwish-btns {
	display: none;
	position: absolute;
	left: 175px;
	top: -23px;
	background-color: #fff;
	border: 1px solid #e4e4e4;
	width: 162px;
	padding: 4px;
}
.unwish-btns .unwish-btns-triangle-background {
	position: absolute;
	top: calc(50% - 8px);
	left: -7px;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-right:8px solid #fff;
	z-index: 2;
}
.unwish-btns .unwish-btns-triangle-border {
	position: absolute;
	top: calc(50% - 8px);
	left: -8px;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-right:8px solid #e4e4e4;
	z-index: 1;
}
.unwish-btns .unwish-btn {
	width: 100%;
	cursor: pointer;
	padding: 4px 0;
	text-align: center;
	background-color: #fff;
}
.unwish-btns .unwish-btn.unwish-btn-watched {
	border: 1px solid #002c3e;
	color: #002c3e;
	margin-bottom: 4px;
}
.unwish-btns .unwish-btn.unwish-btn-watched:hover {
	background-color: #002c3e;
	color: #fff;
}
.unwish-btns .unwish-btn.unwish-btn-not-interested {
	border: 1px solid #999;
	color: #999;
}
.unwish-btns .unwish-btn.unwish-btn-not-interested:hover {
	background-color: #999;
	color: #fff;
}

/* comment editor (spoiler) */
.comment-editor {margin-bottom: 5px;}
.comment-editor textarea {
	border: 1px solid #dedede;
	width: 100%;
	min-height: 95px;
	margin: 0;
	padding: 10px;
	overflow-x: hidden;
	line-height: 20px;
	font-size: 14px;
	outline: none;
}
.comment-editor .comment-editor-buttons {
	background-color: #f5f5f5;
	border: 1px solid #dedede;
	border-top: 0;
	padding: 7px;
	margin-top: -6px;
}

.comment-editor .comment-editor-buttons button {
	padding: 3px 10px;
	border: 1px solid #ccd0d5;
	border-radius: 2px;
	background-color: #f5f6f7;
	color: #4b4f56;
	font-size: 13px;
}
.comment-editor .comment-editor-buttons button:hover {background-color: #ebedf0;}
.comment-editor .comment-editor-buttons label {
	margin: 0;
	font-weight: normal;
}

#crbox-stars-mobile-placeholder {margin-bottom: 5px;}
.crbox-stars-hint.crbox-stars-hint-mobile {
	float: left;
	width: calc(100% - 140px);
	line-height: 13px;
}
.crbox-stars-hint.crbox-stars-hint-mobile.crbox-stars-hint-one-line {
	padding-top: 9px;
	transition: padding 0.5s;
}
.crbox-stars-hint.crbox-stars-hint-mobile.crbox-stars-hint-two-lines {
	padding-top: 2px;
	transition: padding 0.5s;
}

/* tabs */
.crbox-tabs ul.crbox-tab-nav {
	width: 100%;
	height: 32px;
	border-bottom: 1px solid #eaeaea;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.crbox-tabs ul.crbox-tab-nav li {
	float: left;
	height: 32px;
	border: 1px solid rgba(255,255,255,0);
	border-bottom: 0;
	padding: 5px 15px;
	margin: 0 0 0 7px;
	cursor: pointer;
}
.crbox-tabs ul.crbox-tab-nav li:nth-child(1){margin-left: 15px;}
.crbox-tabs ul.crbox-tab-nav li:hover {border-color: #eaeaea;}
.crbox-tabs ul.crbox-tab-nav li.active {
	border-color: #eaeaea;
	border-bottom: 2px solid #fff;
}
.crbox-tab-content {padding: 15px;}

/* stars + fav/wish buttons */
.crbox-stars-buttons {
	width: 100%;
	padding: 5px 0;
}
.crbox-stars-buttons .crbox-stars {
	float: left;
	width: 182px;
	padding-top: 6px;
}
.crbox-stars-buttons .crbox-stars .mfb-star-rating {float: left;}
.crbox-stars-buttons .crbox-fav-wish-buttons {float: right;}

#crbox-login-alert {
	padding: 15px;
	margin-bottom: 15px;
	background-color: #fafafa;
}

/* standalone all-in-one button */
.mfb-btn-allinone.mfb-btn-allinone-standalone {
	position: absolute;
	top: 0;
	left: 0;
	width: 33px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	z-index: 1;
	background-image: url('/img/mafab_ribbon_icon.svg');
	background-repeat: no-repeat;
	background-size: contain;
}
.mfb-btn-allinone.mfb-btn-allinone-standalone:hover {

}
.mfb-btn-allinone.mfb-btn-allinone-standalone .fa {
	position: absolute;
	top: 8px;
	left: calc(50% - 9px);
	font-size: 20px;
	color: rgba(170,170,170,0.5);
}
.mfb-btn-allinone.mfb-btn-allinone-standalone[data-init="false"] .fa {color: #aaaaaa;}
.mfb-btn-allinone.mfb-btn-allinone-standalone[data-init="true"] .fa {color: rgba(255,255,255,0.75) !important;}
.mfb-btn-allinone.mfb-btn-allinone-standalone[data-init="true"][data-rating=""]:hover .fa {color: rgba(255,255,255,1) !important;}
.mfb-btn-allinone.mfb-btn-allinone-standalone[data-rating="0"] .fa {color: #d60515 !important; text-shadow: 1px 1px rgba(255,169,169,.75);}
.mfb-btn-allinone.mfb-btn-allinone-standalone[data-rating="1"] .fa {color: #dc0e0e !important;}
.mfb-btn-allinone.mfb-btn-allinone-standalone[data-rating="2"] .fa {color: #ff8400 !important;}
.mfb-btn-allinone.mfb-btn-allinone-standalone[data-rating="3"] .fa {color: #ffe203 !important;}
.mfb-btn-allinone.mfb-btn-allinone-standalone[data-rating="4"] .fa {color: #98CA1A !important;}
.mfb-btn-allinone.mfb-btn-allinone-standalone[data-rating="5"] .fa {color: #29A436 !important;}
.mfb-btn-allinone.mfb-btn-allinone-standalone[data-wish="1"] .fa {color: #57cfff !important;}

#login_modal .login-btn {
	background: #002c3e;
	border: none;
	color: #fff;
	margin-left: 5px;
	padding: 4px 30px;
	cursor: pointer;
	float: right;
	font-weight: 700;
}
#login_modal .modal-content {max-width: 380px; margin: 0px auto;}
#login_modal .modal-header {margin-left: -1px;}

#library_modal .modal-content.modal-mafab {
	max-width: 340px;
	margin: 0px auto;
}

.spoiler-wrapper {position: relative}
.spoiler-wrapper .spoiler-alert {
	position:absolute;
	z-index:1;
	top:0;
	left:0;
	width:100%;
	height:100%;
	padding: 20px 10px 10px 10px;
	background-color:rgba(243,243,243,0.3);
}
.spoiler-wrapper .spoiler-alert .spoiler-alert-inner {
	position: absolute;
	top: calc(50% - 29px);
	width: 100%;
	text-align: center;
	color: #333;
	text-shadow: 1px 1px rgba(255,255,255,.5);
}
.spoiler-wrapper .spoiler-alert .spoiler-alert-inner .mfb-btn.mfb-btn-show-spoiler {
	margin-top: 5px;
	font-size: 14px;
	color: #333;
}
.cmti-comment-spoiler.cmti-comment-spoiler {filter: blur(3px);}

@media all and (max-width:767px){
	.unwish-btns {
		left: 0;
		top: 33px;
	}
	.unwish-btns .unwish-btns-triangle-background {
		border-top: initial;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-bottom: 8px solid #fff;
		top: -6px;
		left: calc(50% - 8px);
	}
	.unwish-btns .unwish-btns-triangle-border {
		border-top: initial;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-bottom: 8px solid #e4e4e4;
		top: -7px;
		left: calc(50% - 8px);
	}
	.allinone-content-divider {cursor: pointer;}
	.allinone-content-divider .fa {display: inline-block;}
	.btn-bookmark-modal .btn-bookmark-modal-text {display: none;}
	.crbox-header-left {display: none;}
	.crbox-header-right {width: 100%;}
}
@media all and (max-width:400px){
	label.library-media {margin-right: 0;}
}
