/**********************/
/******** LAYOUT*******/
/**********************/

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
	width: 95%;
}

@media (min-width: 768px) {
	.container-small {
		width: 300px;
	}
	.container-medium {
		width: 800px;
		max-width: 800px;
	}
	.container-large {
		width: 970px;
	}
}

@media (min-width: 992px) {
	.container-small {
		width: 500px;
	}
	.container-medium {
		width: 1000px;
	}
	.container-large {
		width: 1170px;
	}
}

@media (min-width: 1200px) {
	.container-small {
		width: 500px;
	}
	.container-medium {
		width: 1100px;
	}
	.container-large {
		width: 1500px;
	}
}

@media (min-width: 576px){
	.col-sm {
		flex: 1 0 100%;
	}
}

@media (min-width: 1200px){

	.col-sm {
		flex: .33 0 10%;
	}
}

/**********************/
/**********************/

/* width */
::-webkit-scrollbar {
	width: 16px;
	z-index: 10;
}

/* Track */
/*::-webkit-scrollbar-track {*/
/*	background: rgba();*/
/*}*/

/* Handle */
::-webkit-scrollbar-thumb {
	background: #fff;
	border-radius: 1rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #d0d0d0;
}
/**********************/
/*****MODAL'S**********/
/**********************/


.modal-content{
	background-color: #014F86!important;
}
.modal-header{
    border: 1px solid #2C7DA0!important;
}
.modal-footer{
    border: 1px solid #2C7DA0!important;
}

/**********************/
/*****GENERAL STYLE****/
/**********************/
.spread {display:flex; justify-content: space-between;}
small{
	font-size: .7em;
}

.overflow-scroll{
	overflow: scroll;
	overflow-x: hidden!important;
	overflow-wrap: break-word;
	padding-right: 0.5rem;
}

body {
	color: white;
	font-size: 15pt;
	font-family: Roboto, sans-serif;
	background: #013A63!important;
}

.border-primary{
	border-color: #2C7DA0!important;
}

a{
	text-decoration: none;
	color: white;
}

a:hover{
	color: white;
	text-decoration: none;
}

a.a-underline {
	text-decoration: underline;
	transition: color 100ms ease;
}

a.a-underline:hover {
	text-decoration: underline;
	color:#2C7DA0;
}

::placeholder {
	color: #e0e0e0;
}

input:focus {
	outline: none;
}

.rounded-3{
	border-radius: .7rem!important;
}

.rounded-5{
	border-radius: 2rem;
}

.like-count:hover:after{
	content: '+';

}

.like-count:hover:before{
	content: '';

}

.text-muted{
	color: #ddd!important;
}

.text-complete {
	color: #01c001;
}

.list-group{
	padding-left: 1rem;
	flex-direction: row;
	list-style: none;
}

.list-group-item+.list-group-item,.list-group-item:last-child,.list-group-item:first-child{
	background-color: #014F86;
	color: white;
	border-radius: 1rem;
	border: none;
	margin-bottom: 1rem;
	display: list-item;
	list-style: none;
}

.text-truncate{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.list-group-item > a{
	color :#fff;

}

.list-group-item > a:hover{
	text-decoration: none;

}


.input-bar {
    background-color: black;
    border-radius: 0;
    color: white;
    border: none;
    width: 100%;
    height: 2em;
    font-family: monospace;
}

.input-bar:focus {
    outline: none;
}

.text-left {
	text-align: left!important;
}

.text-right {
	text-align: right!important;
}

.ml-1 {
	margin-left: 0.2em;
}

.mr-1 {
	margin-right: 0.2em;
}

.ml-2 {
	margin-left: 0.4em;
}

.mr-2 {
	margin-right: 0.4em;
}

.ml-3 {
	margin-left: 1em;
}

.mr-3 {
	margin-right: 1em;
}

.text-main {
	color: #84cbee;
}

.text-btn {
	background-color: #00000000;
	border: none;
	color: white;
}

.text-btn:hover {
	color: #84cbee;
}

.text-btn:disabled {
	color: white;
}


/**********************/
/***POST BLOCK STYLES**/
/**********************/

.codepage-author {
	color: #84cbee;
}

.block-label {
	font-size: 0.6em;
	color: #328fb7;
	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;
}

.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/images/play_button.png") no-repeat;
    background-size: contain;
    filter: brightness(130%);
}

.stop-button {
    background: url("/static/images/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;
}
.col.btn{
	display: flex;
	flex-direction: column;
}
.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;
}

/**********************/
/********NAVBAR********/
/**********************/

.navbar{
	font-size: 20pt;
	position: sticky;
	top:0;
	z-index: 10;
	box-shadow:0px 5px 55px rgba(0, 0, 0,.2), inset 0px -5px 15px rgba(255, 255, 255, 0.1);
}

.nav-link,.navbar-light .navbar-brand {
	color: #fff;
	transition: all 250ms ease;
	text-shadow: 0px 0px 0px rgba(255, 255, 255, 0.50);
}
.navbar-light .navbar-brand:hover{
	color: #fff;

}
.nav-link img{
	filter: drop-shadow(0px 0 0 rgba(255, 255, 255, 0.2));

	transition: all 250ms ease;

}
.nav-link img:hover{ 
	filter: drop-shadow(0px 15px 15px rgba(255, 255, 255, 0.3));

}
.nav-link:hover{
	text-decoration: none;
	color: #fff;
	text-shadow: 0px 10px 35px rgba(255, 255, 255, 0.4);
}

.navbar > ul > li > a {
	line-height: 50px;
}

.navbar-brand:hover{
	text-decoration: none;
	text-shadow: 0px 10px 35px rgba(255, 255, 255, 0.4);
}

.navbar-brand {
	color: white;
	font-size: 22pt;
	text-shadow: 0px 0px 0px rgba(255, 255, 255, 0.50);
}

.active{
	color: #2C7DA0;
}

.nav-link:focus{
	color: #2C7DA0;
}

/**********************/
/***BACKGROUND COLORS**/
/**********************/

.bg-black {
	color: white;
	background-color: #000000 !important;
}

.bg-dark{
	color: white;
	background-color: #013A63 !important;
}

.bg-light{
	color: white;
	background-color: #014F86!important;
}

.bg-extra-light{
	color: white;
	background-color: #2C7DA0!important;
	border-color: #2C7DA0!important;
}

code {
    color: #79c2e1 !important;
}

/***************/

/***PROGRESS BAR *****/

/***************/
.progress-bar {
	height: 8px;
	border-radius: 8px;
	background-color: rgba(0, 0, 0, 0.3);
	box-shadow: inset 4px 4px 4px rgba(0, 0, 0, 0.2);
	margin: 0px;
}
.progress-bar .col {
	width:unset;
	display: flex;
	background-color:#34ff7e;
	height:100%;
}
