.admin-content {
    margin-top: 8rem;
}

.select2-drop.bigdrop {
    min-width: 600px !important;
}

/* .controls span {
    display: block;
    padding-top: 5px;
    margin-bottom: 5px;
}
 */
.controls .CodeMirror span {
    display: inline;
    padding-top: inherit;
    margin-bottom: inherit;
}
.controls .CodeMirror {
    border: 1px solid #ddd;
    font-size: 12px;
}

.role-wrapper .checkbox.inline {
    margin-bottom: 2px;
    padding-left: 25px;
    padding-right: 5px;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) #B3B3B3;
    border-image: none;
    border-radius: 4px 4px 4px 4px;
    border-style: solid;
    border-width: 1px;
}

#admin-account-index .control-group,
.admin-compact-form .control-group {
    margin-bottom: 0 !important;
}

#admin-account-index label,
.admin-compact-form label,
.admin-compact-form .help-block {
    font-size: 12px;
}

.admin-compact-form .help-block {
    margin: 0 0 5px 0 !important;
}

#admin-account-index input[type="text"],
.admin-compact-form input[type="text"] {
    font-size: 11px;
    height: 15px;
    line-height: 15px;
    margin-top: 1px;
}

#admin-account-index select,
.admin-compact-form select {
    font-size: 11px;
    height: 26px;
    line-height: 15px;
}

#admin-account-index .grid-view,
#admin-account-index .grid-view th,
#admin-account-index .grid-view td,

#appts-grid-wrapper .grid-view,
#appts-grid-wrapper .grid-view th,
#appts-grid-wrapper .grid-view td
 {
    font-size: 11px;
    line-height: 13px;
}

.small-select2 {
    font-size: 11px;
    /*line-height: initial;*/
    /*height: auto;*/
}
.small-select .select2-selection--single .select2-selection__rendered {
    font-size: 11px;
    /*line-height: initial;*/
    /*height: auto;*/
}

#admin-edition .bottom-buttons-panel {
    margin-bottom: 20px;
}

.edition-control-description {
}
.edition-control-htmlmixed {
    /*width: 100%;*/
    min-height: 150px !important;
}

.edition-uploaded-logo.svg-img {
    width: 400px;
    min-height: 50px;
}

.select2-container .select2-choice span {
    margin:0;
    padding:0;
}

#opp_stages .grid-view, #opp_stages .grid-view th, #opp_stages .grid-view td {
    font-size: 11px;
    line-height: 13px;
}

.lang-entity-value.loading {
    background-color: #f1f1f1;
    color: gray;
    opacity: 0.7;
}

.highlight { background-color: yellow }

.edition-extensions .nav-tabs, .edition-tags .nav-tabs {
    margin-bottom: 0;
}
.edition-extensions .tab-content, .edition-tags .tab-content {
    border: 1px solid #DDD;
    border-top: 0;
    padding: 20px;
}

.edition-features-wrapper label, .edition-subscriptions-wrapper label {
    display: block !important;
    margin-left: 0 !important;
}

.edition-tags .tab-content {
    max-height: 300px;
    overflow: auto;
}

.edition-subscriptions-wrapper .controls {
    max-height: 200px;
    overflow: auto;
    border: 1px dashed gray;
    padding: 0 5px;
    max-width: 400px;
}

.ui-menu {
    z-index: 999;
}

.ui-menu .ui-menu-item {
    list-style-image: initial !important;
    cursor: pointer;
}
.ui-menu .ui-menu-item:hover {
    background-color: #ddd;
}

.edition-logo, .brand-logo {
    vertical-align: middle;
    display: inline-block;
    max-height: 20px;
    max-width: 120px;
    margin-left: 10px;
}

.select2-drop.edition-trigger-lang-entities .select2-result:nth-child(even):not(.select2-highlighted) {
    background-color: #e8e8e8;
}
.select2-drop.edition-trigger-lang-entities .lang-entity-var {
    font-weight: bold;
    margin-bottom: 5px;
    word-break: break-word;
}

.copy-webhook-row {
    padding: 2px 0 0 4px;
}
.copy-webhook-row:nth-child(even) {
    background-color: #e8e8e8;
}

.trigger-log-viewmodal .modal-body p {
    margin: 0px;
    min-height: 15px;
}
.trigger-log-viewLogModal,
.trigger-log-viewmodal,
.big-viewmodal {
    min-width: 900px !important;
    margin-left: -450px !important;
}
.trigger-log-field {
    display: inline-block;
    padding: 0px 4px;
    border-radius: 2px;
    background-color: #555;
    color: #fff;
    vertical-align: middle;
}
.edition-trigger-deleted .controls {
    padding: 5px 10px;
    background-color: #FFC887;
    display: inline-block;
}

.mce-i-internal_trigger_preview:before {
    content: "\e019";
}

#language-entities-list td.lang-entity-value img {
    max-width: 300px;
}

#language-entities-list .text-value-wrapper {
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-row, .signup-feature-row {
    margin-bottom: 6px;
}
.feature-row {
    padding: 5px;
    margin: 0;
}
.feature-badge {
    border-radius: 5px;
    padding: 6px 10px;
    display: inline-block !important;
    vertical-align: top;
    margin-top: 3px;
    background-color: #fff;
    color: #000;
    margin: 0 !important;
    border: 1px solid #ccc;
    line-height: normal;
}
.feature-badge-enable {
    background-color: #B4FFB8;
}
.feature-badge-disable {
    background-color: #FFCEB4;
}

.label.label-upsell {
    display: inline-block !important;
    background-color: #ffaa1d;
}
.label.label-required {
    display: inline-block !important;
    background-color: #00a7d3;
}
.feature-row .label-upsell, .feature-row .label-required, .feature-row .label-feature-id {
    margin-left: 10px;
    vertical-align: middle;
}
.feature-row .col1 {
    word-wrap: break-word;
}
.label.label-feature-id {
    display: inline-block !important;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;

    background-color: transparent;
    text-shadow: none;
    color: #aaa;
    font-weight: normal;
}
.label.label-feature-id:hover {
    color: #333;
}

.admin-feature-search {
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border-bottom: 1px solid #acacac;
    font-weight: 700;
}
#search-feature-id {
    /*width: 400px;*/
}
.not-coded-icon {
    display: inline-block !important;
    margin-left: 10px;
    color: #555;
}

#brands-list .brand-id {
    width: 100px;
}

.modal.big {
    width: 800px !important;
    margin-left: -400px !important;
}

@-moz-keyframes spinner {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spinner {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spinner {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}
.spinner {
    -webkit-animation: spinner-loader 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;    
}

#ssl-cert-form #SslCertificateForm_ca_certificate_content,
#ssl-cert-form #SslCertificateForm_certificate_content,
#ssl-cert-form #SslCertificateForm_key_content {
    height: 150px;
}

#copyTriggerModal form {
    margin: 0;
}

.user-internal-triggers-btn {
    color: #BA62C4;
}
.user-regular-triggers-btn {
    color: #08c;
}
.trigger-settings-copy-group .select2-container {
    min-width: 500px !important;
}

.sf-menu#trigger-send-sms-menu li {
    white-space: normal;
}

#triggers-list td.trigger-command {
    white-space: nowrap;
}
/*
#triggers-list td.trigger-command .type-notification-inApp {
    color: #f89406;
}
*/
#triggers-list .trigger-active {
    min-width: 40px;
}
#CCEditionTrigger_active {
    width: 60px;
}
#CCEditionTrigger_category {
    min-width: 150px;
}
#triggers-list .fa-comment {
    color: #f89406;
    margin-right: 3px;
}
#triggers-list .fa-envelope {
    color: #00b9cc;
}

.override-feature {
    width: auto;
}
.override-feature[data-val="1"],
.override-feature[data-val="enabled"],
.override-feature[data-val="2"],
.override-feature[data-val="enabled_plus_signup"]
{
    background-color: #B4FFB8;
}
.override-feature[data-val="0"] {
    background-color: #FFCEB4;
}
.override-feature[data-val="-1"],
.override-feature[data-val="upsell"],
.override-feature[data-val="-3"],
.override-feature[data-val="upsell_plus_signup"]
{
    background-color: #FFEFB6;
}

.override-feature[data-val="-2"],
.override-feature[data-val="required"] 
{
    background-color: rgba(0, 204, 181, 0.2);
}

.billing-system-info {
}

/* language entity form */
#merge_field_title_wrapper {
    padding-left: 190px;
}
#merge_field_title_wrapper label {
    float: none;
    width: inherit;
    text-align: left;
}
#merge_field_title_wrapper .controls {
    margin: 0;
}

.admin-button-column {
    font-size:18px;
}
.admin-button-column.nowrap {
    white-space:nowrap;
}
.admin-button-column .fa {
    color: #555;
    margin:0 2px;
}

.admin-form-merge-controls .merge-field-wrapper {
    display: inline-block;
    vertical-align: top;
}

.admin-form-merge-controls .lang-entity-field-wrapper{ 
    display: inline-block;
    margin-left: 30px;
    vertical-align: top;
}
.admin-form-merge-controls .lang-entity-merge-field {
    width: 550px;
}

#edition-form .form-actions, #trigger-form .form-actions, #account-form .form-actions {
    position: fixed;
    bottom: 0;
    margin: 0;
    left: 0;
    padding-left: 50px !important;        
    /*background: none;*/
    box-shadow: 0px 1px 10px rgba(100, 100, 100, 30%);
}
#trigger-form .form-actions {
    padding-left: 20px !important;
}

.trigger-status-alert {
    display: inline-block;
    /*margin: 0 0 0 30px;*/
    /*padding:0;*/
    box-shadow: 0px 1px 3px rgba(100, 100, 100, 50%);
    /*margin-top: 20px;*/
    margin-left: 30px;
    margin-bottom: 0 !important;
    /*max-width: 130px;*/
    /*text-align: center;*/
    /*position: fixed;*/
    /*bottom: 0;*/
    /*margin: 0;*/
    /*left: 50%;*/
}

/* feature edit */
#feature-form .form-actions {
    position: fixed;
    bottom: 0;
    margin: 0;
    left: 0;
    padding-left: 50px !important;        
}

#feature-form .mce-toolbar { background-color: #f1f1f1;}
#feature-form .popover { max-width: 600px; }
#feature-form .sf-menu a {
    padding: 6px 10px 7px 10px !important;
}
#feature-form .sf-menu-loader {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ddd;
    text-align: center;
}
#feature-form .admin-form-merge-controls {
    margin-bottom: 20px;
}
#feature-form .group-zero-margin .control-group {
    margin-bottom: 0;
}
#feature-form .bullet-list-item {
    padding: 5px;
    margin-bottom: 5px;
}
/*
.bullet-list-item:after {
    content: " ";
    display: table;
    clear: both;
}*/
#feature-form .bullet-list-item .admin-form-merge-controls {
    margin-top: 4px;
    margin-bottom: 0;
}
#feature-form .bullet-list-item .admin-form-merge-controls .control-label {
    display:none;
}
#feature-form .bullet-list-item .admin-form-merge-controls .controls {
    margin: 0;
}
#feature-form .ui-sortable-helper {
    border: 1px solid #ddd;
    background-color: #e5e5e5;
    border-radius: 5px;
}
#feature-form .bullet-list-item .drag-handler {
    font-size: 9px;
    color: #ccc;
    position: absolute;
    height: 70px;
    width: 25px;
    line-height: 130%;    
    cursor: move;
    overflow: visible;
}
#feature-form .bullet-list-item .item-controls {
    padding-left: 10px;
}
#feature-form .bullet-list-item .drag-handler span {
    display: inline;
}

#feature-form .admin-form-merge-controls .sf-menu li {background-color: #ddd;}
#feature-form .admin-form-merge-controls .sf-menu li:hover, 
#feature-form .admin-form-merge-controls .sf-menu li.sfHover {background: #cecece;}
#feature-form .admin-form-merge-controls .sf-menu a {color: #444;}

.admin-form-merge-controls .features-loader {
    margin-left: 10px;
    opacity: 0.7;    
}

#feature-form .benefit-list .admin-form-merge-controls {margin:5px 0 0 0;}
#feature-form .benefit-list .admin-form-merge-controls .sf-menu {margin-bottom: 5px;}

#feature-form .benefit-list .admin-form-merge-controls .sf-menu a {padding:3px 6px;}
#feature-form .benefit-list .admin-form-merge-controls .control-label {display:none;}
#feature-form .benefit-list .admin-form-merge-controls .controls {margin:0;}
#feature-form .benefit-list .lang-entity-field-wrapper { margin: 0; display: block; }
#feature-form .benefit-list .lang-entity-merge-field { width:80%; }
#feature-form .benefit-list .drag-handler {
    font-size: 9px;
    color: #ccc;
    line-height: 130%;    
    cursor: move;
    display: block;
    margin-bottom: 3px;
}

.select2-container#s2id_FeatureForm_lang_entity_image .select2-choice,
.select2-container#s2id_FeatureForm_lang_entity_thumbnail .select2-choice,
.select2-container#s2id_FeatureForm_lang_entity_logo .select2-choice,
.select2-container.lang-entity-img-select .select2-choice,
.select2-container.feature-benefit-img .select2-choice
{
    height: auto !important;
}
.benefit-list .select2-container.feature-benefit-img {
    width: 200px !important;
}

#feature-form .benefits-table {
    background-color: #f1f1f1;
}
#feature-form .ques {
    color: #008AFF;
    font-size: 16px;    
}

#features_tree_container, #feature_cats_tree_container {
    margin-bottom: 40px;
}

#features_tree_container .jstree-icon.jstree-ocl {
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
    font-size: 18px;
    margin-top:4px;
}
#features_tree_container .jstree-wholerow-ul .jstree-icon.jstree-ocl {
    background: none !important;
}
#features_tree_container .jstree-open:not(.jstree-leaf) > .jstree-icon.jstree-ocl:before {
    content: "\f147";
}
#features_tree_container .jstree-closed:not(.jstree-leaf) > .jstree-icon.jstree-ocl:before {
    content: "\f196";
}

#features_tree_container .jstree-icon.fa-folder {
    font-size: 14px;
    color: #F86A06;
}
#features_tree_container .jstree-icon.fa-circle {
    font-size: 8px;
    color: #777;
}

#features_tree_container .feature-avail {
    background: #cef2cd !important;
}
#features_tree_container .feature-not-avail {
    background: #ffd0d0 !important;
}

.feature-statuses-container {
    margin-bottom: 30px;
    white-space: nowrap;
}
.feature-statuses-container > div {
    display: inline-block;
    vertical-align: top;
    border-left: 1px solid #ccc;
}
.feature-statuses-container > div:first-child {
    border-left: 0px none;
}
.feature-statuses-container .feature-list-item {
    padding: 1px 4px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}
.feature-statuses-container .feature-statuses-heading {
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    background-color: #eee;
    padding: 0 4px;
    min-height: 35px;
    line-height: 35px;
    text-align: center;
}
.edition-column .feature-statuses-heading button {
    padding-left: 1px;
    padding-right: 1px;
    outline:0px !important;
    -webkit-appearance:none;
}
.feature-list-item.pref-disabled {
    background-color: #ffe7e7;
}
.feature-list-item.pref-enabled {
    background-color: #e7ffe7;
}
.feature-list-item.pref-upsell {
    background-color: #fdf1d5;
}
.feature-list-item.pref-required {
    background-color: #dff8ff;
}


.settings-tree-container .jstree-icon.fa-cog {
    color: #777;
}

.label-inspect-feature-disabled {
    background-color: #d9534f !important;
}
.label-inspect-feature-enabled {
    background-color: #5cb85c !important;
}
.label-inspect-feature-upsell {
    background-color: #f0ad4e !important;
}
.label-inspect-feature-required {
    background-color: #6fc9d2 !important;
}
.label-inspect-feature-inherit {
}
.settings-tree-container .open-in-new-tab {
    text-decoration: underline;
}
.settings-tree-container .open-in-new-tab:hover {
    text-decoration: none;
}
.settings-tree-container .label {
    margin-left: 10px;
}
.settings-tree-container span {
    display: inline-block;
}



/* appt search */
.status_user .fa-check { color: green; }
.status_user .fa-close { color: red; }

/* fix colorpicker styles */
.colorpickerplus {
    max-width: 200px !important;
}
.colorpickerplus .input-group {
    padding-top: 5px;
}
.colorpickerplus input.colorpicker-element {
    width: 120px;
    margin: 0 5px 0 0;
}


.help-block {
    color: gray !important;
}


/* subscription form */
.subscription-billing-heading {
    margin-bottom: 5px;
}
.subscription-billing-info {
    margin-bottom: 20px;
    color: #888;
}


.brand-builder .navbar-inner {
    background: #323232;
    box-shadow: none !important;
}

.brand-builder .navbar .brand {
    color: #d7d7d7;
    text-shadow: none;
}

.brand-builder .navbar .nav>li>a {
    color: #d7d7d7;
    text-shadow: none;
}
.brand-builder .navbar .nav>li>a:focus, 
.brand-builder .navbar .nav>li>a:hover,
.brand-builder .navbar li.active>a {
    color: #fff;
    text-shadow: none;
    background: #323232;;
}

.dev-brand-builder .navbar-inner {
    background: #842516;
}

.results {
    margin-top: 15px;
}
.search-acc-result a {
    margin-right: 15px;
}

.user-badge {
    display: inline-block;
    border-radius: 3px;
    padding: 2px 5px;
    font-weight: 700;
    font-size: 12px;
    line-height: normal;
    margin-left: 5px;
    background-color: #c0eeff;
    color: #4a82b2;
}

.user-role {
    text-transform: capitalize;
}
.role-admin {
    font-weight: 700;
}

.appt-search-tbl {
    margin-top: 20px;
}
.appt-search-tbl .lft {
    width: 50px;
    white-space: nowrap;
    font-weight: 700;
    text-align: right;
}
.appt-search-tbl .tooltip-inner {
    text-align: left;
}

.attendee-tag .label {
    white-space: initial;
    word-break: break-all;
}
.attendee-tag {
    margin: 0 3px 3px 0;
    display: inline-block;
}

#legacy_accounts tr.selected td {
    background: #e1f3fc;
}

.grid-top-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.grid-top-layout .pagination {
    margin: 0;
}
#picked-accounts td {
    background: #fffff0;
}

.alert a {
    text-decoration: underline;
}

.big-data-modal .modal-body {
    word-break: break-all;
}

/* dataTable common */
table.dataTable thead .sorting_desc {
    background-position: right center;
}
/* calendar activities log */
.dataTable thead th {
    padding: 5px 5px !important;
}
.dataTable thead th input {
    width: calc(100% - 25px);
    box-sizing: border-box;
    padding: 5px;
    height: auto;
}
.dataTable .column-id,
.dataTable .column-appt-id,
.dataTable .column-action-id,
.dataTable .column-user-id,
.dataTable .column-trace-id {
    min-width: 70px;
    max-width: 100px;
}
.dataTable .column-cal {
    min-width: 105px;
    max-width: 200px;
    word-break: break-all;
}
.dataTable .column-cal-name {
    min-width: 150px;
    max-width: 200px;
    word-break: break-all;
}
.dataTable .column-created-at {
    min-width: 120px;
    max-width: 120px;
    word-break: break-all;
}

#agency-accounts .service-icon {
    max-height: 16px;
}
.acc-service-connect-table {
    margin: 0 !important;
}
.acc-service-connect-table, .acc-service-connect-table td {
    background: none !important; 
}
.service-problem-icon {
    color: #e5930c;
}

#user-list-content .service-connected-icon {
    color:  green;
}
#user-list-content .service-warning-icon {
    color: #e5930c;
}
#user-list-content .service-not-connected-icon {
    color: #ccc;
}

#user-list-content tr.filters > td:first-child {
    display: none;
}

.navbar-inner {
    background: white;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-image: none !important;
}

.breadcrumb{
    background-color: #EEF3F7 !important;
}

h3{
color: #4A4A4A !important;
font-size: 30px !important;
line-height: 25px !important;
}

.grid-view .summary {
    color: #848080 !important;
}

.sort-link{
    color: #5C5C5C !important;
}

.grid-view table.items th a .caret {
    display: block !important;
    bottom: 7px !important;
    top: 0 !important;
    align-self: flex-end;
}

body{
    background-color: #F4F8F9 !important;
}

.table th, .table td{
    border-top: 0px !important;
}

tbody tr{
    background-color: white;
}

.grid-view{
    padding-top: 0 !important;
}

#footer{
    text-align: center;
}

.btn{
    background: #80C436 !important;
    color: white !important;
    text-shadow: 0 1px 1px rgb(113 103 103 / 51%) !important;
}

.btn-danger{
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
}

.btn:hover, .btn-danger:hover {
    box-shadow: inset 0 0px 0 rgba(0, 0, 0, 0.15), inset 0 -8em 0 rgb(43 41 49 / 15%);
}

.edit_agency , .link_agency, .ll{
    .access_checkbox{
        display: flex;
        width: 600px;
        margin: auto;
    }
    
    .control-group{
        width: fit-content;
        margin: auto auto 20px auto
    }
    
    .access_checkbox .controls {
        margin-left: 0px !important;
    }
    
    .form-actions {
        padding: 0px !important;
        margin-top: 0px !important;
        background-color: transparent !important;
        border-top: 0px !important;
    }
    
    .edit_button{
        width: 370px;
    }
    
    .link_button{
        width: 600px;
        margin-top:20px;
    }
    
    .form-horizontal .control-label {
        text-align: left !important;
        width: 360px !important;
        margin-right: auto;
    }
    
    .form-horizontal .controls{
        margin-left: 0px !important;
    }
}

.btn-group .btn {
    background-color: #f5f5f5 !important;
    text-shadow: none !important;
    color: #333 !important;
}

#user-list-content .table,
#admin-account-index .table {
    display: block !important;
    overflow-x: scroll !important;
}

#example {
    display: block !important;
    overflow-x: scroll !important;
}

table {
    border-spacing: 0px 10px !important;
    border-collapse: inherit !important;
}

tbody{
    tr{
        -webkit-box-shadow: 0px 0px 3px 0.5px rgba(207,201,207,1);
        -moz-box-shadow: 0px 0px 3px 0.5px rgba(207,201,207,1);
        box-shadow: 0px 0px 3px 0.5px rgba(207,201,207,1);
    }
    td{
        padding: 10px 8px 10px 8px !important;
    }

    td:first-child { border-top-left-radius: 5px;  border-bottom-left-radius: 5px; }
td:last-child { border-top-right-radius: 5px; border-bottom-right-radius: 5px;}
}

.login-form{
    justify-content: center;
    display: grid;
}

.login-button{
    width: auto;
    justify-content: right;
    display: flex;
    button{
        width: 313px;
        margin-top: 10px;
    }
}

#login-form{
    .help-inline{
        display: block! important;
    }

    .error{
        color: #b94a48 !important;
    }

    .control-label {
        width: auto !important;
    }

    .controls {
        margin-left: 0 !important;
    }

    input {
        width: 300px;
    }
} 

.login_heading{
text-align: center !important;
margin-top: 25px;
}

.login_block{
    width: 400px;
    height: 300px;
    display: grid;
    background-color: white;
    border-radius: 5px;
    filter: drop-shadow(0px 3px 3.5px rgba(0, 0, 0, .16));
    margin-bottom: 20px;
}
#admin-default{
    justify-content: center;
    display: grid;
}