@import url('https://fonts.googleapis.com/css?family=Merriweather');
@import url('https://fonts.googleapis.com/css?family=Muli');

html, body, body > div {
    height: 100%;
}

body {
	background-color: #f7f5eb;
    padding-bottom: 15px;
	line-height: 1.5;
	font-size: 14px;
    margin: 0;
}

body > .loader {
    background-color: rgba(153, 153, 153, 0.25);
    justify-content: center;
    position: absolute;
    text-align: center;
    overflow: hidden;
    z-index: 999999;
    color: #ef4019;
    height: 100%;
    width: 100%;
    top: 0;
}

body, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, .selectize-dropdown, .selectize-input, .selectize-input input {
    font-family: Muli, Roboto, 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #4e5166;
}

a, a:hover, a:focus {
	text-decoration: none;
    color: #ef4019;
    outline: 0;
}

a:hover, a:focus, a:active, .btn:focus, .btn:active {
    background-color: inherit;
    text-decoration: none;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    outline: 0 !important;
}

.content-wrapper {
    height: calc(100vh - 95px);
    max-height: 600px;
}

.form-control {
    font-size: 13px;
}

div:not(.modal) .selectize-input > .item {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 20px;
    width: 100%;
}

.selectize-input {
    border: 1px solid #dddddd;
    min-height: 32px;
    height: 32px;
}

.selectize-dropdown, .selectize-input, .selectize-input input {
    line-height: 18px;
}

.flex {
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
}

.flex-column {
    flex-direction: column;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
}

.flex-row {
    flex-direction: row;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
}

#ss-connect-dialog {
    padding: 20px !important;
    bottom: calc(50% - 40px) !important;
    left: calc(50% - 150px) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    background-color: #f5f5f5 !important;
    font-size: 13px !important;
    text-align: center;
    opacity: 0.85;
    color: #333;
    border-radius: 3px;
    box-shadow: none !important;
    line-height: 1.5;
}

#ss-connect-dialog label {
    color: #333333 !important;
}

#ss-connect-dialog a, #ss-connect-dialog a:visited {
    color: #ef4019 !important;
}

.disabled .btn {
    cursor: not-allowed;
}

.disabled .btn:hover {
    background-color: #fafafa;
    color: #666;
}

.content {
    min-height: 250px;
    padding: 15px 15px 0;
    margin-right: auto;
    margin-left: auto;
}

.content, .content > div, 
.tab-content, .tab-content > .row {
    height: 100%;   
}

.box {
    position: relative;
    border-radius: 3px;
    background: #ffffff;
    margin-bottom: 20px;
    min-height: 58px;
    padding: 20px;
}

.box-title {
    margin-bottom: 20px;
}

h3.box-title {
    font-size: 16px;
    flex-grow: 1;
}

.box-header > .btn {
    margin-left: 10px;
    font-size: 14px;
    line-height: 1;
    color: #bababa;
    height: 18px;
    padding: 0;
}

.box-header > .btn:hover {
    color: #ef4019;
}

.box-body {
    font-size: 13px;
}

.box-body > .form-group {
    margin-bottom: 0; 
    width: 100%;
}

.box-body .selectize-control {
    margin-bottom: -4px; 
}

.box-body > .form-group > label {
    display: none;
}

.col-sm-3 .box-body > .datatables {
    width: calc(100% + 40px) !important;
    margin: 5px -20px 0;
    line-height: auto;
}

.col-sm-3 .box-body, .col-sm-3 .box-body > div {
    hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.col-sm-6 .box-body {
    height: 620px;
}

.box.dark-blue {
    background-color: #4e5166;
}

.box.dark-blue,
.box.dark-blue .box-header .btn,
.box.dark-blue h3.box-title {
    color: #ffffff;
}

.box.dark-blue .box-header .btn:hover {
    color: #ccc1a0;
}

.box.dark-blue a, .box.dark-blue a:hover, 
.box.dark-blue a:focus {
    color: #ccc1a0;
}

.box.dark-blue a::after {
    font-family: "Font Awesome 5 Pro";
    content: "\f0c1";
    margin-left: 5px;
}

.table > tbody > tr > td, .table > tbody > tr > th, 
.table > tfoot > tr > td, .table > tfoot > tr > th, 
.table > thead > tr > td, .table > thead > tr > th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

table.dataTable.table-striped {
    margin-top: 5px !important;
    margin-bottom: 0px !important;
}

table.dataTable span.highlight, table.dataTable span.column_highlight {
    background-color: #4E2880 !important;
    color: #ffffff;
}

.datatables {
    overflow: hidden;
}

div.dataTables_wrapper div.dataTables_processing {
    z-index: 1;
}

.dataTables_scrollBody table.dataTable.table-striped {
    margin-top: 0px !important;
}

.dataTables_scrollBody table.dataTable.table-striped th, .dataTables_scrollBody table.dataTable.table-striped td {
    white-space: nowrap;
}

.table > tbody > tr > td:first-child, .table > thead > tr > th:first-child {
    padding-left: 20px;
}

.table thead td:first-child .form-group {
    padding-left: 12px;
}

.table thead td:last-child .form-group {
    padding-right: 12px;
}

.table thead td:last-child .glyphicon {
    right: 12px;
}

.table thead td .form-group {
    width: 100%;
}

.table thead [data-type="number"] div:not([class]):last-child {
    margin-top: 15px;
    padding: 20px !important;
}

.table thead [data-type="factor"] > div {
    height: 32px;
}

.table thead td .noUi-connect {
    background: #cd3a56 !important;
    box-shadow: none !important;
}

.table > tbody > tr > td:last-child {
    padding-right: 20px;
}

.table > thead > tr > th:last-child, .table > thead > tr > th.sorting:last-child, .table > thead > tr > th.sorting_asc:last-child, .table > thead > tr > th.sorting_desc:last-child {
    padding-right: 50px;
}

.table > thead > tr > th.sorting:last-child::after, .table > thead > tr > th.sorting_asc:last-child::after, .table > thead > tr > th.sorting_desc:last-child::after {
    right: 20px;
}

.table > thead > tr > th {
    border-bottom: 2px solid #dee2e6;
}

.table-hover > tbody > tr:hover {
    background-color: #f0f0f0 !important;
}

.datatables .table.dataTable th.dt-right {
    text-align: left;
}

.datatables .table.dataTable tbody td.active, 
.datatables .table.dataTable tbody tr.active td {
    background-color: #f0f0f0;
}

.datatables .dataTables_wrapper .dataTables_paginate ul.pagination {
    margin: 0 20px 0 0;
}

.datatables .dataTables_wrapper .dataTables_info {
    margin-left: 20px;
}

.datatables .table > tbody > tr > td, .datatables .table > tbody > tr > th, 
.datatables .table > tfoot > tr > td, .datatables .table > tfoot > tr > th, 
.datatables .table > thead > tr > td, .datatables .table > thead > tr > th {
    border-top: none;
    min-width: 25px;
}

.datatables .table thead th {
    white-space: nowrap;
}

.datatables .dataTables_wrapper .table tbody td.active, 
.datatables .dataTables_wrapper .table tbody tr.active td {
    color: #333333;
}

.datatables .dataTables_wrapper .table tbody td {
    max-width: 150px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.datatables .table .sorting_disabled {
    font-size: 0;
}

.datatables .dataTables_wrapper .dataTables_filter input, 
.datatables .dataTables_wrapper .dataTables_length select {
    box-shadow: 0 0 0 0 transparent;
    background-color: #ffffff;
    border-color: #dddddd;
    color: #404040;
    outline: 0;
    line-height: 1.6;
    border-radius: 4px;
    font-size: 13px;
    height: 32px;
}

.datatables .dataTables_wrapper .dataTables_filter input, 
.datatables .dataTables_wrapper .dataTables_length select {
    margin-left: 20px;
    width: 100%;
}

.datatables .dataTables_wrapper .dataTables_length select {
    margin-right: 10px;
}

.datatables .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #ef4019;
    box-shadow: none;
}

.datatables .dataTables_wrapper .dataTables_filter label {
    margin-bottom: 0;
}

.datatables .dataTables_wrapper .dataTables_filter {
    margin-right: 20px;
    flex-grow: 1;
}

table.dataTable.no-footer {
    border-collapse: collapse !important;
}

.table td, .table th {
    border-bottom: 1px solid #dee2e6;
}

.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: transparent;
}

.datatables .dataTables_wrapper .bottom {
    border-radius: 0 0 3px 3px;
    padding: 20px 0 0;
    display: flex;
    width: 100%;
    margin: 0;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    text-decoration: none;
    border: 1px solid #ddd;
    background: #fafafa;
    color: #666666;
}

.pagination > li > a:focus, .pagination > li > a:hover, 
.pagination > li > span:focus, .pagination > li > span:hover {
    color: #4e5166;
}

.pagination > li:first-child > a, 
.pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination > li:last-child > a, 
.pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination > .disabled > a, .pagination > .disabled > a:focus, 
.pagination > .disabled > a:hover, .pagination > .disabled > span, 
.pagination > .disabled > span:focus, .pagination > .disabled > span:hover {
    cursor: not-allowed;
    background-color: #ffffff;
    border-color: #dddddd;
    color: #777777;
}

.pagination > li > a:focus, .pagination > li > a:hover, 
.pagination > li > span:focus, .pagination > li > span:hover {
    background-color: #eeeeee;
    border-color: #dddddd;
    color: #23527c;
    z-index: 2;
}

.paginate_button {
    display: inline-flex;
}

.glyphicon-remove-circle::before {
    content: "\f00d";
}

.glyphicon {
    padding: 9px;
    color: #bababa;
}

table.dataTable thead .sorting::after {
    content: "\f883" !important;
}

table.dataTable thead .sorting::after, 
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after, 
table.dataTable thead .sorting_asc_disabled::after, 
table.dataTable thead .sorting_desc_disabled::after {
    font-family: "Font Awesome 5 Pro" !important;
}

.dark-blue .datatables .dataTables_wrapper .table .btn-default {
    color: #ffffff;
}

.dark-blue .datatables .dataTables_wrapper .table .btn-default:hover {
    color: #ccc1a0;
}

.dark-blue .table td, .dark-blue .table th {
    border-bottom: 1px solid #717485;
}

.dark-blue .table tr:last-child td {
    border-bottom: none;
}

.dark-blue .datatables .dataTables_wrapper .table thead th,
.dark-blue .datatables .dataTables_wrapper .table thead tr th,
.dark-blue .datatables .dataTables_wrapper .table tbody td, 
.dark-blue .datatables .dataTables_wrapper .table tbody tr td {
    color: #ffffff;
}

.dark-blue .table > thead > tr > th {
    width: 10%;
}

.dark-blue .table > thead > tr > th:first-child {
    width: 80%;
}

.dark-blue .table-hover > tbody > tr:hover {
    background-color: transparent !important;
}

.dark-blue .datatables .table > tbody > tr > td, 
.dark-blue .datatables .table > tbody > tr > th, 
.dark-blue .datatables .table > tfoot > tr > td, 
.dark-blue .datatables .table > tfoot > tr > th, 
.dark-blue .datatables .table > thead > tr > td, 
.dark-blue .datatables .table > thead > tr > th {
    min-width: inherit;
}

.dark-blue .datatables .table.dataTable tbody td.active, 
.dark-blue .datatables .table.dataTable tbody tr.active td,
.dark-blue .table-hover > tbody > tr:hover,
.dark-blue .table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: transparent;
}

.dark-blue .table > thead > tr > th {
    border-bottom: 2px solid #717485;
}

.dark-blue .table > tbody > tr:last-child > td {
    padding-bottom: 0;
}

.leaflet {
    border-radius: 3px;
}

.leaflet-container {
    font: 12px/1.5 Muli, "Helvetica Neue", Arial, Helvetica, sans-serif;
    background-color: #ccc1a0;
}

.leaflet-container a.leaflet-popup-close-button {
    padding: 2px 2px 0 0;
    display: none;
}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
    font-size: 14px;
}

.leaflet-bar a, .leaflet-bar a:hover {
    border-bottom: 1px solid none;
}

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content-wrapper {
    border-radius: 2px;
}

.leaflet-popup-content {
    margin: 10px 20px;
    line-height: 1.5;
    color: #4e5166;
    text-align: center;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
}

.leaflet-tooltip {
    color: #4e5166;
    font-size: 12px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 2px;
    padding: 10px 20px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
}

.leaflet-control-attribution {
    display: none;
}

.modal-body h4 {
    margin-top: 30px;
    font-size: 18px;
}

.modal-dialog.modal-sm {
    margin: 35px auto;
    max-width: 450px;
    width: 450px;
}

.modal {
    background-color: rgba(153, 153, 153, 0.25);
}

h4.modal-title {
    font-size: 18px;
}

.modal-content {
    border-radius: 3px;
    border: transparent;
}

.modal-header {
    padding: 20px 20px 10px;
    border-bottom-color: transparent;
}

.modal-body {
    padding: 10px 20px 20px;
    border-bottom-color: transparent;
    line-height: 1.6;
}

.modal-body p {
    hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    -webkit-hyphens: auto;
}

#automate-menu-modal p:last-child {
    margin-bottom: 0px;
}

.modal-body .card img {
    width: 100%;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-body > div.flex {
    border-top: 1px solid #f4f4f4;
    justify-content: center;
    padding: 20px 20px 0;
    margin-top: 20px;
}

.modal-body > div.flex .btn {
    background-color: #fafafa;
    border-color: #dddddd;
    padding: 5px 10px;
    font-size: 14px;
    display: block;
    color: #666666;
    margin: 0 10px;
    height: 34px;
    width: 120px;
}

.modal-body > div.flex .btn:hover {
    color: #ef4019;
}

.modal-dialog.modal-lg {
    width: 650px;
}

.modal-footer {
    text-align: center;
    border-top: 0;
    padding: 0;
}

.modal-footer .btn {
    width: 100px;
    margin: 0 10px;
    background-color: #fafafa;
    border-color: #dddddd;
    color: #666;
}

.modal-footer .form-group.shiny-input-container {
    display: inline-block;
    width: auto;
    margin-bottom: -12.5px;
}

.modal-footer .form-group.shiny-input-container .btn {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    height: 33px;
}

.modal-footer .btn:hover {
    color: #ef4019;
    background-color: #eeeeee;
}

.modal-footer .btn:first-child:hover {
    color: #4e5166;
}

.modal-footer > .btn:first-child {
    background-color: transparent;
    position: absolute;
    top: 0;
    right: 0;
    margin: 16px 20px 0 0;
    border: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.modal-footer > .btn:first-child:hover {
    background-color: transparent;
    border: none;
}

.modal-footer .form-control {
    display: none;
}

.modal-body .shiny-input-container {
    width: auto;
}

.modal-body > div > div:last-child {
    margin-bottom: 0px;
}

.form-group .irs-bar {
    border-top: 1px solid #ef4019;
    border-bottom: 1px solid #ef4019;
    background: #ef4019;
}

.form-group .irs-bar-edge {
    border: 1px solid #ef4019;
    background: #ef4019;
}

.form-group .irs-from, .form-group .irs-to, 
.form-group .irs-single {
    background: #ef4019;
}

.intro {
    position: absolute;
    width: 100%;
    top: 0;
}

.intro > .modal {
    background-image: url(images/background.png);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: block;
}

.intro > .modal img {
    cursor: pointer;
    width: 84%;
}

.intro > .modal .met {
    display: block !important;
    position: absolute;
    bottom: 0;
    right: 0;
}

.intro > .modal .met a {
    color: #282d4a;
    font-size: 30px;
}

.intro > .modal .met .fa-stack {
    line-height: 1.25em;
    height: 1.25em;
    width: 1.25em;
}

.intro > .modal .met .fa-circle {
    color: #ffffff;
}

.intro > .modal .met .fa-stack-2x {
    font-size: 1.25em;
}

.intro > .modal .modal-content {
    background-color: transparent;
}

.intro > .modal .modal-dialog {
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-top: 0;
    top: 50%;
}

.intro > .modal .modal-dialog.modal-sm {
    max-width: 50%;
    width: 50%;
}
