:root {
	--main-bg-color: #36393f;
	--secondary-bg-color: #2f3136;
	--modal-bg-color: #1e2229;
	--item-bg-color: #494949;
	--item-bg-color-hover: #535353;

	--button-bg-color: #373737;
	--button-bg-color-hover: #666666;

	--main-text-color: #f8f8f8;
	--muted-text-color: #7c7e83;
	--link-text-color: #80c0cf;
	--link-text-color-hover: #6aa4b1;

	--avatar-size: 9rem;
	--avatar-size-sm: 3rem;
	--avatar-size-xs: 1.9rem;

	--box-border-color: #eaeaea;
	/* change this value anything, e.g., 100px, 10rem, etc. */
}


html, body {
	height: 100%;
	background-color: var(--main-bg-color) !important;
}


h1, h2 {
	color: var(--main-text-color);
}

h3 {
	font-size: 1.6rem;
}
h4 {
	font-size: 1.1rem;
	margin-top:25px;
	font-weight: 700;
}




@media only screen and (min-width: 0px) {
	main {
		height: 100vh;
		height: -webkit-fill-available;
		max-height: 100vh;
		overflow-x: auto;
		/* overflow-y: hidden; */
	}

	.sidebar {
		background-color: var(--secondary-bg-color);
		height:100%;
		width: 280px;

		position: fixed;
		margin-left: -300px;
		transition: 0.5s;
	}


	#main-wrapper {
		transition: 0.4s;
	}
	#main {
		height: 100vh;
		padding:1rem 1rem 100px 1rem;
		margin-bottom:100px;
	}
	.active-nav {
		margin-left: 0;
	}
	/* for main section */
	.active-cont {
		margin-left: 300px;
		margin-right: -300px;
	}

	#menu-btn {
		display: inline-block;
		color:#fff;
		font-size:1.5rem;
		/* padding: 1rem; */
	}

	h2 {
		margin-top: 0px;
		margin-bottom: 30px;
	}
}


@media only screen and (min-width: 992px) {
	.sidebar {
		margin-left: 0px;
	}

	#main-wrapper {
		margin-left: 300px;
		margin-right: 0px;
	}

	#menu-btn {
		display: none;
	}

	h2 {
		margin-top: 30px;
		margin-bottom: 30px;
	}
}







#main a.link {
	text-decoration: none;
	color:var(--link-text-color);
	border-bottom: 1px dotted rgb(234, 243, 255);
}

#main a.link:hover {
	text-decoration: none;
	color:var(--link-text-color-hover);
	border-bottom: 1px dotted rgb(234, 243, 255);
}




.muted, .form-text {
	font-size: 0.7rem;
	color: var(--muted-text-color);
}

.form-text a {
	color: rgb(130, 188, 255);
}

.form-text a:hover {
	color: rgb(98, 171, 255);
}

.help {
	font-size: 0.9rem;
	color: var(--muted-text-color);
}


.page-content-loader {
	text-align: center;
	margin-top:10%;
}




body .modal-content {
	background-color: var(--modal-bg-color);
}

body .modal-content .modal-header,
body .modal-content .modal-footer {
	border-color: #424242;
}

body .form-control {
	background-color: #282d36;
	border-color: #282d36;
	color:#fff;
}



label.form-label {
	text-transform: uppercase;
	font-size: 0.9rem;
	font-weight: 600;
	margin-top:25px;
}



a.cal-item {
	text-decoration: none;
}

@media only screen and (min-width: 0px) {
	.cal-item {
		display: flex;
		flex-direction: row;
		/* padding:10px 20px; */
		background-color: var(--item-bg-color);
		/* padding: 10px 10px; */
		border-radius: 8px;
		margin-bottom: 12px;
	}
	.cal-item:hover {
		background-color: var(--item-bg-color-hover);
	}
	.cal-item .color-indicator {
		flex: 0 0 15px;
		border-top-left-radius: 8px;
		border-top-right-radius: 0px;
		border-bottom-left-radius: 8px;
		border-bottom-right-radius: 0px;
		margin-left:-10px;
		cursor: move;
	}
	.cal-item .icon {
		flex: 0 0 80px;
		font-size: 2.1rem;
		text-align: center;
		padding-top:15px;
	}
	.cal-item .icon .pp {
		margin-left:8px;
		margin-top:15px;
	}
	.cal-item .icon-wide {
		flex: 0 0 140px;
	}
	.cal-item .content {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
	}

	.cal-item .content-inner {
		flex: 1 1 auto;
		padding:10px;
	}

	.cal-item .tools {
		display: flex;
		flex: 1 1 auto;
		text-align: left;
		font-size: 0.7rem;
		padding-top:15px;
		padding-bottom:15px;
	}

	.cal-item .icon img {
		width: 80%;
		border-radius: 3px;
	}

	.cal-item .content .title {
		font-size: 1.1rem;
	}
	.cal-item .content .type {
		color: #b6b6b6;
		margin-top:1px;
		font-size: 0.7rem;
	}
	.cal-item .content .resource {
		color: #b6b6b6;
		margin-top:3px;
		font-size: 0.7rem;
		/* white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 400px; */
		word-break: break-all;
	}

	.cal-item a {
		text-decoration: none;
		color:rgb(234, 243, 255);
		border:0;
		border-radius: 10px;
	}

	.cal-item .tools a {
		display: inline-block;
		background-color: var(--button-bg-color);
		font-size: 0.7rem;
		padding: 6px 10px;
		margin-left: 10px;
		border:0px !important;
	}

	.cal-item .tools a .tool-title {
		display: inline-block;
	}

	.cal-item .calendar-item {
		margin-right: 10px;
	}
}


@media only screen and (min-width: 992px) {
	.cal-item {
		flex-direction: row;
	}

	.cal-item .color-indicator {
		flex: 0 0 15px;
		border-top-left-radius: 8px;
		border-top-right-radius: 0px;
		border-bottom-left-radius: 8px;
		border-bottom-right-radius: 0px;
	}

	.cal-item .content {
		flex-direction: row;
	}

	.cal-item .icon img {
		width: 80%;
	}

	.cal-item .tools {
		flex: 0 0 120px;
		justify-content: right;
		padding-right: 15px;
	}

	.cal-item .tools a {
		background-color: transparent;
		padding: 0px 5px;
		font-size: 1.1rem;
	}

	.cal-item .tools a .tool-title {
		display: none;
	}
}



@media only screen and (min-width: 0px) {
	a.img-select {
		display: inline-block;
		border:6px solid transparent;
		border-radius: 4px;
		text-decoration: none;
		margin-right:8px;
		margin-bottom:8px;
	}
	a.img-select:hover {
		border: 6px solid #464950;
	}

	a.img-select.active {
		border: 6px solid #25bb25;
	}

	a.img-select img {
		max-width: 83px;
	}

	a.img-select div {
		color:#fff;
		font-size: 0.7rem;
		text-align: center;
		background-color: #1a1a1b;;
	}
}


@media only screen and (min-width: 992px) {
	a.img-select img {
		max-width: 100px;
	}
}




a.big-btn {
	display: flex;
	border: 2px solid #464950;
	background-color: var(--item-bg-color);
	border-radius: 6px;
	text-decoration: none;
	margin-right:8px;
	margin-bottom:8px;
	color:white;
	padding:8px 20px;
}
a.big-btn:hover {
	border: 2px solid #4769b8;
}

a.big-btn.active {
	border: 2px solid #25bb25;
}

a.big-btn img {
	max-width: 83px;
}

a.big-btn div {
	color:#fff;
	font-size: 0.7rem;
	text-align: center;
	background-color: #1a1a1b;;
}

a.big-btn .icon {
	flex: 0 0 50px;
}

a.big-btn .icon img {
	text-align: center;
	max-width: 80%;
}

a.big-btn .info {
	flex: 1 1 auto;
	padding-left:15px;
}

a.big-btn .info .title {
	font-size: 1.3rem;
	display: block;
}

a.big-btn .info .desc {
	font-size: 0.7rem;
	display: block;
}



a.icon-picker {
	color: #fff;
	display: inline-block;
	padding:2px;
	margin:1px;
	border:0;
}




.form-control:disabled, .form-control[readonly] {
	background-color: #282d36;
}


.iframe-preview {
	aspect-ratio: 16 / 9;
	width: 100%; /* change this to a fixed width, or create a container with a width. */
	height: 100%;
}

.fluidMedia {
    position: relative;
    padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
    height: 0;
    overflow: hidden;
	border:7px solid rgb(99, 99, 99);
	border-radius: 5px;
}

.fluidMedia iframe {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
}





.pp {
	display:inline-block;
	
	background-repeat: no-repeat !important;
	
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;

	background-position: center center !important;
	border-radius: 50%;
	width: 100%;
	height: 100px;
}

.pp-xxxs { width: 18px; height: 18px; }
.pp-xxs { width: 25px; height: 25px; }
.pp-xs { width: 50px; height: 50px; }
.pp-sm { width: 100px; height: 100px; }
.pp-md { width: 200px; height: 200px; }
.pp-lg { width: 400px; height: 400px; }

.pp-xxxs img  { width: 18px !important; height: 18px !important; }
.pp-xxs img   { width: 25px !important; height: 25px !important; }
.pp-xs img    { width: 50px !important; height: 50px !important; }
.pp-sm img   { width: 100px !important; height: 100px !important; }
.pp-md img   { width: 200px !important; height: 200px !important; }
.pp-lg img   { width: 400px !important; height: 400px !important; }

.pp-shadow {
	box-shadow: 0 0 8px rgba(0, 0, 0, .8);
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
	-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
}