
.overflow-scroll{
	overflow: scroll;
	overflow-x: hidden!important;
	overflow-wrap: break-word;
	padding-right: 0.5rem;
}

/* width */
::-webkit-scrollbar {
	width: 16px;
	z-index: 10;
}

/* Track */
/*::-webkit-scrollbar-track {*/
/*	background: rgba();*/
/*}*/

/* Handle */
::-webkit-scrollbar-thumb {
	background: #797979;
	border-radius: 1rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #797979;
}

.input-bar {
    background-color: black;
    border-radius: 0;
    color: white;
    border: none;
    width: 100%;
    height: 2em;
    font-family: monospace;
}

.input-bar:focus {
    outline: none;
}

.codepage-author {
	/*color: #84cbee;*/
}

.block-label {
	font-size: 0.6em;
	color: #777777;
	margin-top: 0;
}

.codepage-block-container {
	vertical-align: top;
	padding: 0 16px 1px;
}

.code-block {
    background-color: #151515;
    padding-bottom: 0.5em;
    border-radius: .7rem!important;
	font-size: 14px;
}

.code-block-controller {
    background: #393939;
    border-top-left-radius: .7rem!important;
    border-top-right-radius: .7rem!important;
}

.code-control-resize {
    border: none;
    background: transparent;
    color: #e0e0e0;
    vertical-align: middle;
    margin-right: 1em;
    padding: 0
}

.code-control-name {
    border: none;
    background: transparent;
    color: #8c8c8c;
    margin-right: 1em;
    padding: 0;
}

.code-control-button {
    width: 1rem;
    height: 1rem;
    border: none;
    margin: 0.5em;
}

.code-control-button:focus {
    outline:none
}

.play-button {
    background: url("/static/img/dynamicode/play_button.png") no-repeat;
    background-size: contain;
    filter: brightness(130%);
}

.stop-button {
    background: url("/static/img/dynamicode/stop_button.png") no-repeat;
    background-size: contain;
}

.play-button:disabled {
    filter: grayscale(70%);
}

.stop-button:disabled {
    filter: grayscale(70%);
}

#postDiv {
    margin: 2vw;
}

.post-code-block-container {
    width: 100%;
}

.slider-label {
	min-width: 4em;
	color: #328fb7;
}

.slider-label.center {
	padding-left: 0.8em;
	padding-right: 0.8em;
}

.slider-label.right {
	margin-right: 1em;
}

.slider-label.left {
	margin-left: 1em;
}

.comment-text {
	white-space: pre-line;
}

.more-less-button {
	padding-left: 0;
	padding-bottom: 0;
	margin: 10px 0 0;
}

/*********************/
/*** SANDBOX STYLES **/
/*********************/

.codepage-item {
	background-color: #014F86;
	padding: 15px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.editable-drag-target {
	width: 100%;
	height: 10px;
	border-radius: 10px;
}

.editable-drag-active {
	height: 40px;
	margin-top: 10px;
	margin-bottom: 10px;
	border: 4px dashed #2C7DA0;
}

.editable-drag-hover {
	background-color: #014F86;
}

.editable-block-name {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 0;
	margin-left: 10px;
}

.editable-block-name-input {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 0;
	padding-left: 5px;
	width: 30px;
	border: none;
}

.editable-block-textarea {
	outline: none;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border: 0;
	width: 100%;
	padding: 5px;
	vertical-align: top;
}

.editable-block-textarea.post-comment {
	border-radius: 10px;
}

#editable-image {
	max-height: 500px;
	overflow: hidden;
}

#editable-image > img.hover{
    filter: alpha(opacity=0); /* IE stuff */
    opacity: 0;
    z-index: 1;
	position: absolute;
	transition: .5s ease;
	margin: auto;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
}

#editable-image:hover > img.normal{
    filter: alpha(opacity=0);
    opacity: 0;
    z-index: 1;
}

#editable-image:hover > img.hover{
    filter: alpha(opacity=100);
    opacity: 1;
    z-index: 2;
}

.editable-block-textarea--border-0 {
	outline: none;
	border: 0;
	width: 100%;
	padding: 5px;
	vertical-align: top;
}

.editable-block-button {
	box-shadow: none !important;
	font-size: 1.1rem;
	color: white;
	font-family: Roboto, sans-serif;
	text-decoration: none;
	border: none;
	text-align: center;
	vertical-align: middle;
	border-radius: 5px;
	padding-left: 10px;
	padding-right: 10px
}

.editable-code-end {
	width: 100%;
	vertical-align: top;
}

.editable-code-end--bar {
	background-color: #313335;
	width: 32px;
	height: 10px;
	border-bottom-left-radius: 10px;
}

.editable-code-end--block {
	background-color: #2B2B2B;
	width: 100%;
	height: 10px;
	border-bottom-right-radius: 10px;
}

.editable-header-code {
	background-color: #393939;
	color: white;
}

.editable-header-light {
	background-color: #2C7DA0;
	color: white;
}

button.editable-header-light {
	border-radius: 10px;
}

button.editable-header-code {
	border-radius: 10px;
}

button.editable-header-code:hover {
	background-color: #5f5f5f;
	color: white;
}

button.editable-header-light:hover {
	background-color: #5aadd1;
	color: white;
}

button.editable-end-button {
	border-bottom-right-radius: 0;
}

.editable-start-button {
	border-bottom-left-radius: 0;
}

.editable-block-bottom-container {
	padding: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	background-color: #014F86;
	border-top: 1px solid #2C7DA0;
}

.editable-choice-minus {
	color: white;
	background-color: #2C7DA0;
	border-color: #2C7DA0;
}

.editable-choice-plus {
	color: white;
	background-color: #2C7DA0;
	border-color: #2C7DA0;
	height: 2em;
}

.drag-and-drop-block {
	height: 2em;
	padding: 5px;
	border-radius: 5px;
	width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.drag-block-icon {
	width: 20%;
}

#editMenu {
	height: fit-content;
}

.max-width-100 {
	max-width: 100%;
}

.codepage-block-container > * > * > img {
	max-width: 100%;
}

.codepage-block-container > * > * > a {
	text-decoration: underline;
	color: #84cbee;
}

.codepage-block-container > * > * > a:hover {
	color: #d0eeff;
}

.codepage-title {
	margin-right: 10px;
}

.codepage-edit {
	color: #84cbee;
}

.codepage-edit:hover {
	color: #d0eeff;
}

.codepage-block-container > select {
	margin-bottom: 20px;
}

/**********************/
/********BUTTONS*******/
/**********************/

/*.btn {*/
/*	font-size: 1.1rem;*/
/*	color: white;*/
/*	font-family: Roboto, sans-serif;*/
/*	background-color: #2C7DA0;*/
/*	border-color: #2C7DA0;*/
/*	box-shadow: 0 3px 2px 1px rgba(0,0,0,.2);*/
/*	text-decoration: none;*/
/*}*/

.btn-danger {
	background-color: #b96767;
	border-color: #b96767;
}

.btn-success {
	background-color: #01c001;
}

.btn-lg{
	font-size: 1.5rem;
}

.btn:focus{
	color: white;
	background-color: #5aadd1;
	border-color: #5aadd1;
}

.btn:hover{
	color: white;
	background-color: #5aadd1;
	border-color: #5aadd1;
	text-decoration: none;
}

.btn-danger:hover{
	color: white;
	background-color: #d97e7e;
	border-color: #d97e7e;
}

.btn-success:focus {
	background-color: #01c001;
}

.btn-success:hover {
	background-color: #08f308;
}

.vert-text-top {
	vertical-align: text-top;
}

.vert-text-bottom {
	vertical-align: text-bottom;
}


/**********************/
/***BACKGROUND COLORS**/
/**********************/

.bg-black {
	color: white;
	background-color: #000000 !important;
}

.dc-bg-dark{
	color: #000000;
	font-weight: bold;
	background-color: #bebebe !important;
	border-radius: 5px;
}

.dc-bg-light{
	color: black;
	background-color: #eeeeee !important;
}

.bg-extra-light{
	color: white;
	background-color: #2C7DA0!important;
	border-color: #2C7DA0!important;
}

code {
    color: #79c2e1 !important;
}
