/* RCA CMS Styles v1.0.0 */

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
a, a:link {
	text-decoration: none;
}
select {
	max-width: 100%;
}
/* 
 * Adjust container to stop the child 
 * rows flowing beyond viewport width 
 * Also set height and bottom margin
 * to enable sticky footer
*/
#container {
	width: 100%;
	padding: 0 15px;
	min-height: 100%;
    margin-bottom: -75px;
}
/* Some admin fixes/adjustments */
body#admin textarea {
    width: 286px;
	height: 120px;
    margin-bottom: 10px;
    padding: 5px;
    float: left;
	font-size: 12px;
}
body#admin .popup select {
	max-width: 286px;
}
body#admin .custom-textarea textarea {
	width: 100%;
	height: 160px;
}

/* Header Styles */
header {
	margin: 0 0 30px;
	padding: 0 0 15px;
	background: #375975;
}
header h1 img {
	max-width: 197px;
}
header .logout {
	margin-top: 20px !important;
}
header .view {
	margin: 20px 10px 0 0 !important;
}

/* Footer Styles */
footer {
    height: 15px;
    margin-top: 60px;
	background: #375975 !important;
}

/* Tweak the menu style */
body#admin #nav li a {
	color: #ffffff;
	border-bottom: none;
	-webkit-transition: color 0.35s;
	-moz-transition: color 0.35s;
	transition: color 0.35s;
}
body#admin #nav li a:hover,
body#admin #nav li a.active {
    color: #ffd400;
}

/* Add drop down feature */
body#admin #nav li.has-child {
	position: relative;
}
body#admin #nav li .sub-menu {
	position: absolute;
	display: block;
	width: auto;
	opacity: 0;
	padding: 5px 10px;
	border: 1px solid #f9f9f9;
	background: #ffffff;
	z-index: 0;
	-webkit-box-shadow: 3px 3px 3px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 3px 3px 3px 0px rgba(0,0,0,0.33);
    box-shadow: 3px 3px 3px 0px rgba(0,0,0,0.33);
	-webkit-transition: all 0.35s;
	-moz-transition: all 0.35s;
	transition: all 0.35s;
}
body#admin #nav li.has-child:hover > .sub-menu {
	opacity: 1;
	z-index: 999999;
	-webkit-transition: all 0.65s;
	-moz-transition: all 0.65s;
	transition: all 0.65s;
}
body#admin #nav li .sub-menu .sub-nav {
	margin: 0;
	padding: 0;
}
body#admin #nav li .sub-menu .sub-nav li {
	display: block;
    float: none;
    margin: 0;
	padding: 5px;
}
body#admin #nav li .sub-menu .sub-nav li a {
	color: #2d2d2d;
	white-space: nowrap;
}
body#admin #nav li .sub-menu .sub-nav li a:hover,
body#admin #nav li .sub-menu .sub-nav li a.active {
    color: #e8b600;
}

/* Tweak Summary/Boxes */
body#admin #overview, body#admin .box {
    margin: 0 0 30px !important;
}

/* CMS Title Header */
.cms-header {
	margin: 0 !important;
	padding: 15px;
    background: #f5f5f5;
    font-size: 24px !important;
	color: #375975;
}

/* CMS Notification */
.cms-notification {
	width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
	color: #ffffff;
}
.cms-notification.error {
	background: #cc0000;
}
.cms-notification.warning {
	background: #ffd400;
	color: #000000;
}
.cms-notification.success {
	background: #008000;
}
.cms-notification .cms-delete {
	color: #cc0000;
}
.cms-notification .cms-delete:hover {
	text-decoration: underline;
}
/* Form Validation Messages */
.cms-notification span.error {
	color: #cc0000;
	font-weight: bold;
}

/* CMS Record Count */
.cms-record-count {
	display: inline-block;
    color: #375975;
    font-size: 16px;
}
.cms-record-count span {
	font-weight: bold;
}

/* CMS Body Content */
.cms-body {
	margin: 30px 0 60px;
	color: #375975;
}
.builder_footer .cms-body {
	margin: 0 0 60px;
}
.cms-body table td {
	padding: 10px 8px !important;
}
.cms-body table i {
	font-size: 15px;
}
.cms-body table .btn {
	margin-right: 5px;
}
.cms-body table .btn i {
	font-size: 13px;
}
.cms-body .form-group {
	margin-bottom: 15px !important;
}
.cms-body label {
	float: none !important;
    height: auto !important;
    margin-bottom: 5px !important;
	min-width: unset !important;
}
.cms-body .form-control {
	height: auto;
}
.cms-body select,
.cms-body textarea,
.cms-body input[type=text] {
	margin-bottom: 0 !important;
	padding: 10px !important;
    width: 100% !important;
    float: none !important;
	font-size: 14px !important;
}
.cms-body form h4 {
	margin-bottom: 20px;
	color: #3d3d3d;
	font-weight: 700;
}
.menu-form-sidebar {
	padding-right: 30px;
	border-right: 1px solid #eee;
}
@media only screen and (max-width: 991px) {
	.menu-form-sidebar {
		padding-right: 0;
		border-right: 0px solid #eee;
	}
}
#cms-edit-menu-item {
	display: none;
}

/* Builder */
#page-builder-iframe {
	height: 700px;
	margin-top: 30px;
	border: 1px solid #375975;
    width: 99.5%;
	transition: all ease 0.3s;
}
.cms-height-adjuster {
	margin-top: -60px;
}
.cms-height-adjuster button {
	color: #375975;
	background: #efefef;
	border: 1px solid #375975;
}
.cms-height-adjuster button:hover {
	background-color: #ffd400;
}
.cms-height-adjuster button#cms-height-plus {
	border-right: none;
}

/* File Manager */
#file-manager-iframe {
	min-height: 700px;
	border: 1px solid #375975;
    width: 99.5%;
}

/* Menu Manager */
#cms-right-menu {
	margin-top: 60px;
}
.cms-menu-level {
	padding: 15px 15px 45px;
    background: #f4faff;
    border: 1px dashed #375975;
    margin-bottom: 15px;
	border-radius: 5px;
}
.cms-menu-level .menu-item {
	height: 32px !important;
	padding: 5px;
    margin: 10px 0;
    border: 1px solid #375975;
	background: #ebf2f8;
    border-radius: 5px;
}
.cms-menu-level .ui-state-highlight {
	height: 32px;
	padding: 5px;
    margin: 10px 0;
	border-radius: 5px;
}
.cms-menu-level .menu-item .fa-expand-arrows-alt {
	margin-right: 10px;
	cursor: move;
}
.cms-menu-level .menu-item .fa-pencil-alt,
.cms-menu-level .menu-item .fa-power-off,
.cms-menu-level .menu-item .fa-trash-alt,
.cms-menu-level .menu-item .fa-chevron-right {
	float: right;
	margin: 4px 4px 3px;
	cursor: pointer;
}
.cms-menu-level .menu-item .fa-trash-alt {
	color: #ff5200;
}
#menu-cancel-btn {
	margin-left: 5px;
}
#reset-menu-level-two {
	display: none;
	float: right;
	margin: 5px 0 5px 5px;
}
#cms-edit-menu-item h4 {
	font-size: 18px;
	color: #375975;
}

/* logo Management */
#current-logo {
	margin-bottom: 15px;
}

/* Theme FileManager Fields */
input[type=text].file-manager {
	display: inline-block;
	width: calc(100% - 102px) !important;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.btn-select-file {
	width: 102px;
	height: 42px;
    margin-top: -4px;
	line-height: 30px;
    border-left: none;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/* Select2 */
.select2-container {
	margin-bottom: 10px;
	z-index: 99999;
}
.cms-form .select2-container {
	margin-bottom: 0;
}
.select2-container--default .select2-selection--single {
	padding-top: 7px;
	height: 43px;
	border: 1px solid #ccc;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 8px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #555;
}
.select2-dropdown,
.select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid #ccc;
}

/* Uploader */
.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
	color: #ffffff;
    background-color: #375975;
    border-color: #375975;
}
.fileinput-button:hover {
	color: #375975;
    background-color: #edf7ff;
    border-color: #375975;
}
.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}
.dropspace {
	width: 100%;
    margin: 15px 0;
    border: 3px dashed #375975;
    background-color: #edf7ff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: All 0.35s ease;
    -moz-transition: All 0.35s ease;
    -ms-transition: All 0.35s ease;
    -o-transition: All 0.35s ease;
    transition: All 0.35s ease;
}
.dropspace:hover,
.dropspace:hover span,
.dropspace:hover span i {
	color: #375975 !IMPORTANT;
}
.dropspace.hover {
    color: #ffffff !IMPORTANT;
	border: 3px dashed #008000;
    background-color: #008000;
	-webkit-transition: All 0.35s ease;
    -moz-transition: All 0.35s ease;
    -ms-transition: All 0.35s ease;
    -o-transition: All 0.35s ease;
    transition: All 0.35s ease;
}
.dropspace span {
	display: block;
    text-align: center;
    padding: 75px 0;
    font-size: 110%;
}
.dropspace:hover span {
	color: #fff;
}
div.files {
	width: 100%;
}
div.files .file-name {
	display: inline-block;
	width: 78%;
	height: 100%;
}
div.files .file-remove {
	display: inline-block;
	width: 20%;
	height: 100%;
}
div.files .file-upload {
	margin-bottom: 4px;
	padding: 4px;
	border: 1px solid #1ab6ec;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
div.files .file-upload i {
	margin-right: 2px;
	float: right;
	font-size: 22px;
}
.progress {
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
}
.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    -webkit-box-shadow: inset 0 -1px 0 rgb(0 0 0 / 15%);
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 15%);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}
.progress-bar-success {
    background-color: #5cb85c;
}

/* Form Alterations */
body#admin .popup {
	width: 60% !IMPORTANT;
	left: 20% !IMPORTANT;
    right: 20% !IMPORTANT;
}
body#admin input[type='text'],
body#admin textarea,
body#admin select,
body#admin label {
    float: none !IMPORTANT;
}
body#admin .popup textarea {
	width: 100% !IMPORTANT;
}

/* Editor */
.tox-tinymce {
	z-index: 10002 !IMPORTANT;
}
.tox-tinymce-aux {
	z-index: 13000 !IMPORTANT;
}
.tox-statusbar__branding {
	display: none !IMPORTANT;
}

/* Some Globals */
.cms-cen {
	text-align: center !IMPORTANT;
}
.cms-bold {
	font-weight: bold !IMPORTANT;
}
.cms-italic {
	font-style: italic !IMPORTANT;
}
.cms-blue {
	color: #375975;
}
.cms-green {
	color: #008000;
}
.cms-yellow {
	color: #ffd400;
}
.cms-red {
	color: #cc0000;
}
.cms-blue-bkg {
	background: #375975;
}
.cms-green-bkg {
	background: #008000;
}
.cms-yellow-bkg {
	background: #ffd400;
}
.cms-red-bkg {
	background: #cc0000;
}