:root {
	--at-main-color: #1C617B;
	--at-light-color: rgba(28, 97, 123, .1);
	--at-dark-color: #384452;
}

/*------------------------------------------------------
General
------------------------------------------------------*/

body { 
	background: #F3f3f3;
	background-color: var(--at-light-color);
	margin: 0; 
	margin-top: 40px;
	margin-bottom: 54px;
	height: 100%; 
	color: var(--at-dark-color);
	font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
	font-weight: 400;
	font-size: 12px;
	}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}

h2 {
	color: var(--at-main-color);
	font-weight: 400;
    font-size: 1.5rem;
}
h3 {
font-size: 1.25rem;
font-weight: 400;
}

p { 
	padding: 0; 
	margin-bottom: 12px; 
	font-weight: 400;
	font-size: 14px; 
	line-height: 24px;
	color: var(--at-dark-color); 
	margin-top: 10px; 
}

img {
	height: auto;
	max-width: 100%;
}

a { 
	padding: 0;
	margin: 0;
	text-decoration: none; 
	-webkit-transition: background-color .4s linear, color .4s linear;
	-moz-transition: background-color .4s linear, color .4s linear;
	-o-transition: background-color .4s linear, color .4s linear;
	-ms-transition: background-color .4s linear, color .4s linear;
	transition: background-color .4s linear, color .4s linear;
	color: var(--at-main-color);
}
a:hover,
a:focus {
  text-decoration: none;
  color: var(--at-main-color);
}

::-moz-selection  {
	color: #fff;
	text-shadow:none;
	background:#2B2E31;
}
::selection {
	color: #fff;
	text-shadow:none;
	background:#2B2E31;
}

.centered {
	text-align: center
}

.d-quiet {
	opacity: .5;
}
.d-quiet:focus {
	opacity: 1;
}
.glyphicon {
	display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1rem;
}
.glyphicon.glyphicon-remove::before {
    content: "\f00d";
}

/*------------------------------------------------------
Bootstrap Override
------------------------------------------------------*/
.form-control {
	font-size: inherit;
}
.form-control[required] {
	border-color: var(--at-main-color);
}
.form-group.center {
    display: flex;
    align-items: center;
    height: 100%;
}
.form-group.center label {
    margin:0;
}
select.form-control {
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 16px 12px;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
input.hasDatepicker {
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 16px 12px;
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20448%20512%22%3E%0A%20%20%3Cpath%20d%3D%22M148%20288h-40c-6.6%200-12-5.4-12-12v-40c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v40c0%206.6-5.4%2012-12%2012zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6%200-12%205.4-12%2012v40c0%206.6%205.4%2012%2012%2012h40c6.6%200%2012-5.4%2012-12zm96%200v-40c0-6.6-5.4-12-12-12h-40c-6.6%200-12%205.4-12%2012v40c0%206.6%205.4%2012%2012%2012h40c6.6%200%2012-5.4%2012-12zm-96%2096v-40c0-6.6-5.4-12-12-12h-40c-6.6%200-12%205.4-12%2012v40c0%206.6%205.4%2012%2012%2012h40c6.6%200%2012-5.4%2012-12zm-96%200v-40c0-6.6-5.4-12-12-12h-40c-6.6%200-12%205.4-12%2012v40c0%206.6%205.4%2012%2012%2012h40c6.6%200%2012-5.4%2012-12zm192%200v-40c0-6.6-5.4-12-12-12h-40c-6.6%200-12%205.4-12%2012v40c0%206.6%205.4%2012%2012%2012h40c6.6%200%2012-5.4%2012-12zm96-260v352c0%2026.5-21.5%2048-48%2048H48c-26.5%200-48-21.5-48-48V112c0-26.5%2021.5-48%2048-48h48V12c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v52h128V12c0-6.6%205.4-12%2012-12h40c6.6%200%2012%205.4%2012%2012v52h48c26.5%200%2048%2021.5%2048%2048zm-48%20346V160H48v298c0%203.3%202.7%206%206%206h340c3.3%200%206-2.7%206-6z%22%2F%3E%0A%3C%2Fsvg%3E");
}

.fw-semibold {
	font-weight: 500;
}
.navbar {
	margin-bottom: 0px;
	color: #FFF;
	min-height: 40px;
}
.navbar-logo {
	max-height: 24px;
	margin-right: 1rem;
}
.navbar-brand, .navbar-brand:hover {
	font-weight: 100;
	font-size: 12px;
	color: #FFF !important;
}

.navbar-toggler {
	color: #FFF;
}
.navbar-toggler:focus {
	box-shadow: none;
}

.navbar-header .navbar-brand {
	color: white;
}

.navbar-default .navbar-nav > li > a {
	color: white;
	font-weight: 100;
	font-size: 12px;
	text-transform: uppercase;
	line-height: 1;
}

.navbar-default .navbar-nav > a:hover {
	color: #FFF;
}



.navbar-default {
	background-color: var(--at-main-color);
	border-color: transparent;
}
.dropdown-divider {
	border-top: 1px solid #ddd;
}

.page-header {padding-top: .75rem; margin-bottom: 1rem;}
.page-header h2 {
	font-weight: 100; font-size: 1.5rem;
	padding-left: 0.5rem;
    border-left: 4px solid var(--at-main-color);
    line-height: 1;}

.dropdown-menu {
	background: var(--at-dark-color);
}

.dropdown-menu > li > a {
	color: white;
	font-weight: 100;
	font-size: 12px;
}

.btn {
    color: var(--at-dark-color);
    background-color: #fff;
    border-color: #ccc;
	font-size: inherit;
}

.btn-primary {
  color: #fff;
  background-color: var(--at-main-color);
}
.btn-secondary {
  color: var(--at-dark-color);;
  background-color: var(--at-light-color);
}

.btn.db-log {
	position: fixed;
    bottom: 0;
    right: 0;
}

.btn-theme {
  color: #fff;
  background-color: var(--at-dark-color);
  border-color: var(--at-dark-color);
  margin: 4px;
}
.btn-theme:hover,
.btn-theme:focus,
.btn-theme:active,
.btn-theme.active,
.open .dropdown-toggle.btn-theme {
  color: #fff;
  background-color: var(--at-main-color);
  border-color: var(--at-main-color);
}

.btn .badge-danger, .badge-danger {
	background-color: red;
}

.form-group {
    margin-bottom: .5rem;
}
label {
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 500;
}

.mtb {
	margin-top: 80px;
	margin-bottom: 80px;
}

.mb {
	margin-bottom: 60px;
}

.mt {
	margin-top: 60px;
}

.hline {
	border-bottom: 2px solid var(--at-dark-color);
}

.hline-w {
	border-bottom: 2px solid #ffffff;
	margin-bottom: 25px;
}

.hidden {display: none !important;}

.table {
	background-color: #FFF;
}

.table .btn:hover, .btn:hover {
  background-color: var(--at-dark-color);	
  color: #FFF;
}

.table tr:hover {background-color:#EEE;}

.table>tbody>tr>td, .table>tbody>tr>th {vertical-align:middle;}
.table>tbody>tr>td {padding: 5px;}
.table .btn {margin: 1px;
    font-size: .75rem;
    padding: 0.125rem 0.5rem;
	background-color: var(--at-light-color);
}
.table tr:first-child,
.table tr.sticky {
	position: sticky;
    top: 56px;
	z-index: 1;
	box-shadow: 0px 4px 8px 0px rgb(0 0 0 / 25%);
	background-color: #FFF;
}
.table tbody tr:first-child {
	box-shadow: none;
	/* background-color: inherit; */
	position: inherit;
}
.table>:not(:first-child) {
	border-top: 0;
}
.cats_edit .sticky-bottom {
	position: sticky;
    bottom: 1rem;
    z-index: 1;
    box-shadow: 0px 4px 8px 0px rgb(0 0 0 / 25%);
    padding: .5rem;
    text-align: center;
    display: flex;
    background: #f1f1f1;
    justify-content: center;
    grid-gap: 5px;
    border-radius: 0.25rem;
}

.pagination .pagination-item {
	background-color: #fff;
    border: 1px solid #eee;
    border: 0;
	display: inline-flex;
	justify-content: center;
    align-items: center;
	margin-bottom: .25rem;
}

.pagination .pagination-item.block,
.pagination .pagination-item.current,
.pagination .pagination-item.disabled {
	padding: 0.25rem 0.5rem;
}
.pagination .pagination-item.current {
    background-color: var(--at-main-color);
	color: #FFF;
}

.pagination .pagination-item a {
	padding: 0.25rem 0.5rem;
	font-weight: 500;
}

.pagination .pagination-item select {
	border: 0;
}
.pagination .pagination-item .pagination-search input {
	padding: 0;
    border: 0;
}

.pagination .pagination-link {
	color: var(--at-main-color);
	display: flex;
    height: 100%;
    align-items: center;
}

.pagination-form {
    margin-top: 15px;
    margin-bottom: 15px;
}

.upsert_date,
.upsert_by {font-size: 12px;}

textarea#moduledata {
	font-family: monospace;
    font-size: 12px;
    tab-size: 24px;
	background-color: var(--at-dark-color);
    color: #EEE;
    padding: 5px;
}
textarea#moduledata.expand {
	height: 406px;
}

.dropdown-header {color:#ccc;}
.stream_frame {border: 1px solid #ccc; width:100%;}

.user-created-color {
    background: #e5e5e5;
    padding: 5px 10px;
}
.published-color {
    background: #e6f5e9;
    padding: 5px 10px;
}
tr td.user-created {
    background: #e5e5e5;
}
tr td.published {
    background: #e6f5e9;
}

.form-group input[type=checkbox],
.form-group input[type=radio] {
	margin: 0 10px;
}

.mtb {margin-top:40px;}


.well {
	-webkit-box-shadow: none;
	box-shadow:none;
}
.ui-datepicker select.ui-datepicker-month, 
.ui-datepicker select.ui-datepicker-year {
color: #000;
}

.error-message {color: #a94442;}

.box {
	background: #f6f6f6;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 4px;
}
.container.narrow {
	max-width: 848px;
	box-shadow: 0px 4px 8px 0px rgb(0 0 0 / 25%);
	padding-bottom: 1rem;
	background-color: #FFF;
}

.result-close {margin: 12px 22px;}
.result-status .btn {margin-bottom: 5px;}
.result-body {max-height: 120px; overflow-y: auto;}

.separator {border-bottom: 1px solid #ccc;margin: 20px 0;}

li.token-input-token-facebook {padding: 2px 8px;}
li.token-input-token-facebook span.glyphicon-remove {margin: 0;}

.search-form, .bulk-update-form {
	background-color: var(--at-light-color);
    box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 25%);
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: .25rem;
}

@media (min-width: 1200px) {
}

@media (min-width: 768px){
.form-inline .form-control {margin: 0 5px;}
.sm-pad-top {margin-top: 34px;}
}


@media (max-width: 767px){
.navbar-default .navbar-nav .open .dropdown-menu>li>a {color: #eee;}
}

@media (max-width: 991px) {
   
}


/* WIDGET */

.scripts-run-status .panel-body {
	overflow-y: scroll;
    max-height: 200px;
}
.scripts-run-status .panel-body hr {
	margin: 10px 0;
	border-color: #ddd;
}

/* widgets controller */
.ttd #contentform_div div {
	margin-right:15px;
	margin-bottom:5px;
    margin-top: 5px;
	float:left;
}
/*.ttd #contentform_div input, 
.ttd #contentform_div select, 
.ttd #contentform_div textarea, 
.ttd #ttd_input_contenttype, 
.ttd #ttd_preview_form input {
	padding: 3px;
	margin-top: 4px;
}*/
.ttd #contenttype_div {
	float:left;
	margin-right:15px;
	margin-bottom:5px;
    margin-top: 5px;
}

.ttd .ttd_row,  
.ttd #result{
	margin-top:5px;
	margin-bottom:5px;
	padding:10px;
	border:1px #CCC solid;
	display: table;
	width:100%;
}
.ttd .ttd_row {
	padding-left:34px;
	background: url(http://catsdev4.americantowns.com/images/sortpanel_gray.png) left repeat-y #FFF;
}
.ttd #ttd_preview_form,
.ttd  #ttd_preview {
	padding-bottom:10px;
}
#ttd_json_result { 
display:none;
margin-top:10px;
padding:10px;
border:1px solid #ccc;
}
.pointer {cursor: pointer;}
.alert {
	position: absolute;
    right: 1rem;
    top: 4rem;
    padding: 0.5rem 2.25rem 0.5rem 0.5rem;
	max-width: 400px;
    margin-left: 1rem;
}
.alert-dismissible .btn-close {
	padding: 0.75rem;
}

.animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

.animate-slow {
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

@keyframes slide-in {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }

  100% {
    transform: translateY(0rem);
    opacity: 1;
  }

  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
}

@-webkit-keyframes slide-in {
  0% {
    -webkit-transform: transform;
    -webkit-opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
  }

  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
  }
}

.slide-in {
  -webkit-animation-name: slide-in;
  animation-name: slide-in;
}