#bulletin-board{
	position: fixed;
	right: 0px;
	top: 150px;
	z-index: 999;
	background: white;
	padding: 15px;
	box-shadow: 0px 0px 10px black;
	width: 100%;
	max-width: 80%;
	min-width: 400px;
	height: calc(100% - 170px);
	transition: .5s;

}
#bulletin-board.minimized{
	top: calc(100vh - 70px);
	width: 0px;
	width: 50%;
	background: var(--coil-blue) !important;
}
#bulletin-board.minimized .ui-fullscreen{
    display: none;
}
#bulletin-board.minimized #add-post,
#bulletin-board.minimized #video-guide{
	display: none;
}
#bulletin-board.minimized .ui-minimize{
	transform: rotate(-90deg)
}

#bulletin-board .ui-fullscreen{
	position: absolute;
	right: 60px;
	top: 0px;
	font-weight: bold;
    transform: none;
	border: 3px solid #797979;
	width: 40px;
	height: 40px;
	font-size: 1.5rem;
	padding-bottom: 8px;
}
#bulletin-board .ui-fullscreen:hover{
	background: #2f2f2f;
}

#bulletin-board.fullscreen{
/*     border: 2px solid red; */
    width: calc( 100% - 20px );
    max-width: 100%;
    height: calc( 100vh - 20px );
    top: 10px;
    left: 10px;
    z-index: 99999;
}


/* #bulletin-board>div:nth-of-type(2){ */
#bb-content{
	height: calc(100% - 210px);
	overflow-y: auto;
	padding-top: 10px;
}

#bulletin-board .clarification{
	margin-bottom: 20px;
	font-size: .9rem;
}
#bulletin-board .alert-close{
	position: fixed;
	top: 150px;
	right: 10px;
}
#bboard-header{
	margin-top: 0px;
	cursor: pointer;
	transition: 1s;
	font-size: 1.15rem;
	font-weight: initial;
}
.minimized #bboard-header{
	color: white;
}
#bulletin-board h4{
/* 	margin-bottom: 10px; */
}
#bulletin-board h4{
	margin: 10px 0;
/*     line-height: 1.4rem; */
}
.bulletin-post{
    padding: 5px 10px;
    position: relative;
/*     font-size: .9rem; */
    width: 95%;
    margin-left: 5%;
    background: aliceblue;
    overflow: visible;
/*     background: #e2ebf3; */
}
.bulletin-post:nth-of-type(odd){
/* 	background: #cbdafa; */
/* 	background: #c4dcf6; */
	background: #d8e8f8;
}
.bulletin-post span{
/* 	font-size: .9rem; */
}
.post-inst{
	position: absolute;
	right: 5px;
}
.post-subject{
	font-weight: bold;
    font-size: 1.2rem;
}
#bulletin-board #add-post{
	position: fixed;
	bottom: 30px;
/* 	float: right; */
	margin-top: 10px;
	font-size: .9rem;
}

#bulletin-board #video-guide{
	position: absolute;
	bottom: 10px;
	left: 150px;
	font-weight: bold;
	cursor: pointer;
	color: #008500;
/* 	text-decoration: underline; */
}
#bulletin-board #video-guide:hover{
	color: #4ac34a;
}
#video-guide img{
	max-width: 30px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
}
.modal.video .modal-content{
    max-width: 1000px;
}

.bulletin-post:hover{
/* 	background: #a2afbb; */
/* 	cursor: pointer; */
}
.bulletin-post .post-dropdown{
	position: absolute;
	left: -4%;
	transition: .3s;
	font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
}
.bulletin-post.dropped .post-dropdown{
	transform: rotate(90deg);
}

.bulletin-post .button{
/* 	float: right; */
    display: inline-block;
    margin-left: 10px;
}

.action-wrapper{
	text-align: right;
}

.bulletin-post.is-user .action-wrapper{
/* 	display: block; */
}

.bulletin-post .left-column,
.bulletin-post .right-column,
.bulletin-post .header,
.bulletin-post .footer,
/* .bulletin-post .post-content, */
.bulletin-post .action-wrapper{
	display: none;
}

.bulletin-post.dropped .left-column,
.bulletin-post.dropped .right-column,
.bulletin-post.dropped .header,
.bulletin-post.dropped .footer{
	display: inline-block;
	padding: 0 10px;
}
.bulletin-post.is-admin.dropped .action-wrapper,
.bulletin-post.is-user.dropped .action-wrapper{
    display: block;
}

/* .post-form{
	position: fixed;
	z-index: 9999;
	bottom: 0%;
	left: 0%;
	width: 100%;
	min-width: 300px;
	height: 100%;
	background: rgba(0, 0, 0, .5);
}
.post-wrapper{
	position: absolute;
	width: 80%;
	max-height: 80%;
	overflow-y: auto;
	top: 5%;
	padding: 3%;
	left: 10%;
	background: white;
	box-shadow: 0px 0px 10px;
} */
/* .post-form input{
	width: 100%;
	margin-bottom: 10px;
	padding: 14px !important;
}
.post-form input[type=text]::placeholder{
    font-style: italic;
	font-family: sans-serif
}
.post-form .ql-container{
	min-height: 100px;
}

 */

/* .post-form textarea{
	width: 100%;
    display: inline-block;
    vertical-align: bottom;
    padding: 10px;
} */

/* .post-form .clarification{
	margin-bottom: 10px;
	color: green;
}

.post-form textarea,
.post-form input{
	border-radius: 0px;
	border: 1px solid lightgrey;
	font-family: Alata;
	padding: 5px;
}
.post-form .button{
    display: inline-block;
    vertical-align: bottom;
    margin-top: 10px;
} */

.new-post{
	border-left: 5px solid green;
}


#bulletin-board.minimized.new-posts{
    animation: 2s infinite linear fade;
}
#bulletin-board.minimized{
    animation: 2s infinite linear subtle-fade;
	
}

@keyframes subtle-fade {
	0%{
		background: #fde0cc;
	}
	50%{
		background: white;
	}
	100%{
		background: #fde0cc;
	}
}

@keyframes fade {
	0%{
		background: #fdc298;
	}
	50%{
		background: white;
	}
	100%{
		background: #fdc298;
	}
}

body.admin #bulletin-board{
	position: relative;
	top: auto;
	right: auto;
	box-shadow: 0px 0px 0px;
	width: 100%;
	max-width: 100%;
	height: auto;
}

body.admin #bulletin-board .ui-minimize{
	display: none;
}

img.template-option{
	border: 2px solid white;
	margin: 5px;
	border-radius: 8px;
	cursor: pointer;
	max-width: 130px;
	box-shadow: 0px 0px 5px black;
}
.template-option.selected{
	border: 3px solid #5cd81c;;
	box-shadow: 0px 0px 10px black;
}

.modal.post-editor .ql-container{
/* 	max-height: 400px; */
}
.modal.post-editor .modal-content{
    max-width: 80%;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.quill-container{
	max-height: 200px !important;
}

#quill-post-subject{
	margin-bottom: 20px;
	padding: 14px !important;
	font-family: sans-serif;
	border: 1px solid lightgrey;
}

.modal.post-editor .header .quill-container,
.modal.post-editor .footer .quill-container{
    max-height: 140px !important;
}
.modal.post-editor h3{
	text-align: center;
}
.explain-wrapper{
/* 	border: 1px solid blue; */
	width: 550px;
	text-align: left;
	display: inline-block;
	margin-top: 20px;
}
.modal.post-editor .button{
	float: right;
	margin: 0;
	margin-top: 10px;
}
.modal.post-editor .button.proceed{
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.modal.post-editor .button.publish{
	margin-left: 10px;
}

.ql-toolbar{
    height: 0px;
    overflow: hidden;
    padding: 0px !important;
}
.quill-layout-section{
	position: relative;
}
.quill-layout-section:focus-within .ql-toolbar{
	height: initial;
	padding: initial !important;
	position: absolute;
	bottom: 100%;
	background: white;
	overflow: visible;
}

.template-options{
    text-align: center;
}

body.account .post-editor .modal-content{
    height: calc(100% - 50px)
}

.bulletin-post.dropped{
	background: white;
}

.bulletin-post p{
	margin: 0;
}
.bulletin-post h1,
.bulletin-post h2{
	margin: 0;
}
.bulletin-post h1{
	font-size: 1.4rem;
}
.bulletin-post h2{
	font-size: 1.15rem;
}
.bulletin-post.dropped .coil-row{
	padding-top: 20px;
}

.pin-actions{
    position: absolute;
    top: 0;
    right: 20%;
    display: none;
    width: 180px;
    background: teal;
    width: auto;

}
.pin-actions *{
	display: inline-block;
	/* font-size: 1.4rem; */
	margin: 0 10px;
	cursor: pointer;
	user-select: none;
	color: white; 
/* 	font-weight: bold; */
}
.bulletin-post:hover .pin-actions{
    display: inline-block;
}
.pin-actions .up{
	transform: rotate(-90deg)
}
.pin-actions .down{
	transform: rotate(90deg)
}
.pin-actions .down,
.pin-actions .up,
.pin-actions .cancel{
	font-size: 2rem;
}
.pin-actions>div:hover{
	opacity: .5;
}
#pin-post{
	padding: 10px;
}

#pin-post input{
	display: inline-block;
	width: auto;
}




#full-explain{
    position: absolute;
    top: 5px;
    right: 110px;
	font-weight: bold;
    font-size: .9rem
}
.minimized #full-explain,
.fullscreen #full-explain{
	display: none;
}

.pin-icon{
	display: none
}

.pinned .pin-icon{
	display: initial;
	position: absolute;
	z-index: 99;
	right: 100px;
	top: -10px;
	transform: rotate(12deg);
	width: 35px;
}

/* .bulletin-post.pinned{
	background: #f8c9d1;
}
.bulletin-post.pinned:nth-of-type(odd){
	background: #f9eaed;
} */

@media screen and ( max-width: 800px ){
	#bulletin-board{
	    max-width: 95%;
	    min-width: 0px;
	    top: 80px;
	    height: calc(100% - 100px);
	    z-index: 9999;
	}
	#bulletin-board.minimized{
		width: 80%;
		top: calc(100vh - 45px);
	}
	#bulletin-board h2{
		font-size: 1rem;
	}
	#bulletin-board h4{
		margin: 5px 0;
	}
}