@charset "UTF-8";
@import "/static/css/fonts.css";

* {
	max-height: 100000px;
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
}

body {
	font-family: 'Graphik', sans-serif;
	background: #fafafa;
}

p {
	font-size: 1.1em;
	font-weight: 300;
	line-height: 1.7em;
	color: #999;
}

a,
a:hover,
a:focus {
	color: inherit;
	text-decoration: none;
	transition: all 0.3s;
}

.navbar {
	padding: 15px 10px;
	background: #fff;
	border: none;
	border-radius: 0;
	margin-bottom: 40px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
	box-shadow: none;
	outline: none !important;
	border: none;
}

.line {
	width: 100%;
	height: 1px;
	border-bottom: 1px dashed #ddd;
	margin: 40px 0;
}

/* ---------------------------------------------------
	SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
	display: flex;
	width: 100%;
}

#sidebar {
	width: 250px;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	z-index: 999;
	background: #357082;
	color: #fff;
	transition: all 0.3s;
}

#sidebar.active {
	margin-left: -250px;
}

#sidebar .sidebar-header {
	padding: 20px;
	background: #285563;
}

#sidebar ul.components {
	padding: 20px 0;
	border-bottom: 1px solid #47748b;
}

#sidebar ul p {
	color: #fff;
	padding: 10px;
}

#sidebar ul li a {
	padding: 10px;
	font-size: 1.1em;
	display: block;
}

#sidebar ul li a:hover {
	color: #357082;
	background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
	color: #fff;
	background: #306879;
}

a[data-toggle="collapse"] {
	position: relative;
}

#sidebar li a.current {
	background: #FAFAFA;
	color: #306879;
}

#sidebar .dropdown-toggle::after {
	display: block;
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
}

ul ul:not(.jodit_toolbar) a {
	font-size: 0.9em !important;
	padding-left: 30px !important;
	background: #306879;
}

ul.CTAs {
	padding: 20px;
}

ul.CTAs a {
	text-align: center;
	font-size: 0.9em !important;
	display: block;
	border-radius: 5px;
	margin-bottom: 5px;
}

a.download {
	background: #fff;
	color: #357082;
}

a.article,
a.article:hover {
	background: #306879 !important;
	color: #fff !important;
}

/* ---------------------------------------------------
	CONTENT STYLE
----------------------------------------------------- */

#content {
	width: calc(100% - 250px);
	padding: 10px 40px;
	min-height: 100vh;
	transition: all 0.3s;
	position: absolute;
	top: 0;
	right: 0;
}

#content.active {
	width: 100%;
}

/* ---------------------------------------------------
	MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
	#sidebar {
		margin-left: -250px;
	}
	#sidebar.active {
		margin-left: 0;
	}
	#content {
		width: 100%;
	}
	#content.active {
		left: 250px;
		/*width: calc(100% - 250px);*/
	}
	#sidebarCollapse span {
		display: none;
	}
}

table .btns {
	white-space: nowrap;
}

.template_images_list .image.delete {
	opacity: 0.3;
}

#floating-functions {
	position: fixed;
	bottom: 50px;
	right: 50px;
}

tr.processing {
	opacity: 0.3;
}

tr.processing td.processing {
	position: relative;
}

tr.processing td.processing:after {
	content: "\eaf3";
	font-family: Linearicons!important;
	speak: none;
	font-style: normal;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: absolute;
	top: 10px;
	top: calc(50% - 16px);
	left: 10px;
	left: calc(50% - 16px);
	font-size: 200%;
	text-align: center;
	color: green;
}

.kv-upload-progress {
	margin-bottom: 10px;
}

.hide {
	display: none !important;
}

.ql-container {
	box-sizing: border-box !important;
	height: auto;
	margin-bottom: 20px;
}

.ql-container p {
	color: #1b1b1b;
}

.ql-showHtml {
	width: auto !important;
}

.ql-showHtml:after {
	content: "[HTML]";
}

.ql-beautyHtml {
	width: auto !important;
}

.ql-beautyHtml:after {
	content: "[BEAUTY]";
}

.ql-custom .CodeMirror {
	width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	border: none;
	display:none;
	z-index: 100;
}

.jodit_wysiwyg p {
	color: #1b1b1b;
}

.form-check {
	padding-top: 5px;
}
.voices .delete, .faxes .delete, .emails .delete {
	position: relative;
	top: 5px;
}

.history-padding {
	visibility: hidden;
	position: relative;
}

.history-padding:after {
	content: "";
	position: absolute;
	bottom: 7px;
	height: 1px;
	left: 0;
	right: 5px;
	border-bottom: 1px dashed rgba(0,0,0,0.2);
	visibility: visible;
}

.history-insert {
	font-weight: normal;
	padding: 0 5px;
	color: #28a745!important;
}

.history-replace {
	font-weight: normal;
	padding: 0 5px;
	color: #ffc107!important;
}

.history-delete {
	font-weight: normal;
	padding: 0 5px;
	color: #dc3545!important;
}

.table a {
	text-decoration: underline;
}

.admin-log-table th {
	width: 180px;
	vertical-align: top;
	white-space: normal;
}

.admin-log-table td {
	vertical-align: top;
}

.admin-log-payload {
	margin-bottom: 0;
	padding: 12px 14px;
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	white-space: pre-wrap;
	word-break: break-word;
	overflow-wrap: anywhere;
	max-width: 100%;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #212529;
	box-sizing: border-box;
}

.is-invalid {
	color: #dc3545 !important;
}
