@font-face {
	font-family: 'Helvetica';
	src: url('/static/fonts/Helvetica.ttf');
}

* {
    font-family: 'Helvetica';
}

/* COMMON */
html {
    font-size: 16px;
}
body {
    font-size: 0.8rem;
    color: #000;
}
.container-fluid {
    padding: 0;
    height: auto !important;
    min-height: 100%;
}
.row {
    margin-right: 0;
    margin-left: 0;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}
h1 {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
}
h4 {
	line-height: 30px;
}
a,
a:hover {
    color: inherit;
    /* text-decoration: none; */
}
.hideCustom,
.spinner.hideCustom,
.catflow-layout.catflow-preview .hideCustom {
    display: none;
}
.catflow-layout .hideCustom {
    display: block;
}

.spinner.hideCustom{
    display: flex;
}
.catflow-layout .spinner.hideCustom{
    display: none;
}

.radio label, .checkbox label {
    line-height: 21px;
}
.form-control {
    height: 2.7rem;
    font-size: 1rem;
    border: solid 0.05rem #cfcfcf;
    margin-bottom: 1rem;
}
.form-control:focus {
    border-color: rgba(59, 149, 209, 0.5);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(59, 149, 209, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(59, 149, 209, 0.6);
}
.pointer {
    cursor: pointer;
}
.link {
    cursor: pointer;
    color: #297A38;
}
.link:hover {
    text-decoration: underline;
}
.containerBox {
    max-width: 30rem;
    padding: 1.5rem;
    border: solid 0.05rem #cfcfcf;
    margin-left: auto;
    margin-right: auto;
}
.customAlert p {
    display: none;
    font-weight: bold;
    border-style: solid;
    font-size: 0.8rem;
    border-width: 1px;
    padding: 10px;
    margin: 15px 0 25px;
}
.customAlert p.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.customAlert p.success  {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.customAlert p.info  {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}
.description {
    font-size: 1rem;
}

.modal-xl {
    width: 1140px;
}

.float-right {
    float: right;
}

.main > .catflow-container {
    display: flex;
}

.main > .catflow-container > .catflow-tree-menu {
    padding-right: 1.5rem;
    width: 25%;
    min-width: 215px;
}

.main > .catflow-container > .container-page {
    padding-right: 1.5rem;
    width: 80%;
}

.title {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
}

.treeView {
    height: calc(100vh - 4.600625rem) !important;
    padding-top: 4rem !important;
    font-size: 0.95rem;
}

.sticky {
    position: sticky;
    top: -1px;
}

.sticky.is-sticky {
    height: 100vh !important;
    padding-top: 5vh !important;
}

.open-detail {
    height: 1.5rem;
    min-width: 25px;
    min-height: 25px;
    cursor: pointer;
}

/* HEADER */
.header {
    min-height: 4.600625rem;
}
.header .top > .catflow-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-align-items: flex-end;
    align-items: flex-end;
    padding: 1rem 1.5rem;
    -webkit-box-shadow:  0px 5px 15px -15px rgba(0, 0, 0, 0.75);;
    -moz-box-shadow:  0px 5px 15px -15px rgba(0, 0, 0, 0.75);;
    box-shadow: 0px 5px 15px -15px rgba(0, 0, 0, 0.75);
    color: #3b95d1;
}
.header .top > .catflow-container > .catflow-element {
    -ms-flex: 1;
    flex: 1;
}
.header .top .logo {
    width: 15rem;
    margin-left: 0 !important;
}
.header .top .container-left .icon_menu {
    width: 2.5rem;
    margin: 0px 0px 0px auto;
}
.header .top .container_right > .catflow-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-justify-content: flex-end;
    justify-content: flex-end;
}
.header .top .container_right > .catflow-container > .catflow-element {
    padding: 0.2rem 0 0.2rem 0;
}
.catflow-layout.catflow-preview .header .userAdministrationButton,
.header .userAdministrationButton {
    display: none;
}
.catflow-layout .header .userAdministrationButton {
    display: block;
}
.header .userAdministrationButton,
.header .pipe {
    border-right: solid 1px;
    margin-right: 1rem;
    padding-right: 1rem;
}
.header .top .container_nameUser_logout > .catflow-container {
    display: flex;
    flex-direction: row;
}
.header .logged_user p {
    font-weight: bold;
}
.header .logged_user p:after {
    content: '\00a0\00a0|\00a0\00a0';
}

/* MAIN */
.container_checkbox_select_instance label,
.container_checkbox_select_all_instance label {
	cursor: default;
}
.annotations-view-textarea[readonly] {
	background-color: #ffffff;
}

button {
    font-family: 'Helvetica' !important;
}

button.default {
    background-color: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #8190A5;
    width: 95px;
    height: 50px;
    color: #8190A5;
    font-family: Lato;
    font-size: 18px;
}

button.action {
    width: 192px;
    background-color: #297A38;
    border: 1px solid #297A38;
    color: #FFFFFF;
}

button.back {
    width: 192px;
    background-color: #FFFFFF;
    border: 1px solid #8190A5;
    color: #8190A5;
}

button.info {
    color: #47525E;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #47525E;
    width: auto;
    height: 30px;
    padding: 0 40px;
}

button.default:hover, button.default:focus, button.forward:hover, button.forward:focus, button.back:hover, button.back:focus {
    background-color: #FFFFFF;
    border: 1px solid #297A38;
    color: #297A38;
}

button.info:hover {
    border: 2px solid #297A38;
}

input.primary {
    height: 50px;
    border: 1px solid #8190A5;
    color: #8190A5;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
}

input.primary::placeholder {
    color: #8190A5;
}

.breadcrumb > .active {
    color: #297A38;
}

/* CUSTOM SELECTPICKER */

.bootstrap-select .dropdown-toggle .filter-option {
    flex: auto;
    display: flex;
    align-items: center;
}

div.dropdown.bootstrap-select button.btn.dropdown-toggle {
    color: #8190A5;
    height: 50px;
    font-size: 18px;
}

.btn-default:active:hover, .btn-default.active:hover, .open > .dropdown-toggle.btn-default:hover, .btn-default:active:focus, .btn-default.active:focus, .open > .dropdown-toggle.btn-default:focus, .btn-default:active.focus, .btn-default.active.focus, .open > .dropdown-toggle.btn-default.focus {
    background-color: inherit;
}

.dropdown-header {
    font-size: 16px !important;
}

.dropdown-menu > li > a {
    color: #47525E !important;
    font-size: 16px !important;
}

.bs-searchbox input {
    font-size: 16px !important;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: #DFDFDF !important;
}

.dropdown-toggle span.delete {
    position: absolute;
    top: 33%;
    right: 35px;
}

/* END CUSTOM SELECTPICKER */

/* MODAL */

.modal-title {
    padding-left: 15px;
}

td .td-text {
    word-break: break-word;
}

div.button-container > .catflow-container {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    height: 20px;
}

/* DATATABLE */
.data-table table.dataTable {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}
.data-table .form-control {
    font-size: inherit;
    height: 1.8rem;
    margin-bottom: 0;
}
.data-table .row > div {
    padding: 0;
}
.data-table .row.length_filter {
    background-color: #f9f9f9;
    padding: 1rem;
    border: solid 1px #ddd;
    border-bottom: none;
}
.data-table label {
    margin-bottom: 0;
}
.data-table .advanced_search_btn a {
    color: #297A38;
}
.data-table .table-bordered > thead > tr > th {
    border-bottom: none;
}
.pagination > .active > a, 
.pagination > .active > span, 
.pagination > .active > a:hover, 
.pagination > .active > span:hover, 
.pagination > .active > a:focus, 
.pagination > .active > span:focus {
    background-color: #297A38;
    border-color: #297A38;
}
.pagination > li > a, 
.pagination > li > span {
    color: #297A38;
}

.data-table thead tr:first-child {
    background-color: #297A38;
    color: white;
}

/* COOKIEBAR */

#cookie-bar {
    background: #297A38 !important;
    box-shadow: 2px 2px 5px #297A38 !important;
    font-family: 'Helvetica' !important;
}

#cookie-bar-button {
    background-color: #FFF !important;
    border-bottom: none !important;
}

/* FOOTER */
.footer {
    background-color: #f1f1f1;
    padding: 1.5rem 1.5rem;
    margin-top: 3rem;
    bottom: 0;
    position: absolute;
    width: 100%;
    min-height: 4rem;
}

/* CUSTOM SCROLLBAR*/

*::-webkit-scrollbar {
    width: 11px;
}

*::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 6px;
}

*::-webkit-scrollbar-thumb {
    background-color: #D6D6D6D6;
    border-radius: 6px;
    border: 3px solid white;
}

* {
    scrollbar-color: #D6D6D6D6 white;
    scrollbar-width: thin;
}

/* END CUSTOM SCROLLBAR */

/*
	### START SPINNER ###
*/

/*

OLD

.spinner {
    position: fixed;
    z-index: 2000;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}
.spinner>div {
    margin: auto;
}
.spinner>div>div {
    background-image: url(../img/users/spinner.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 6rem;
    height: 6rem;
    margin: auto;
}

CURRENT

.spinner {
	position: fixed;
	z-index: 2000;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: white;
	display: flex;
	align-items: center;
}

.spinner>div {
    margin: auto;
    font-size: 0;
}

.spinner span {
    display: inline-block;
    width: 5px;
    height: 40px;
    margin-right: 4px;
    background-color: #297A38;
}

.spinner span:nth-child(1){
    animation: grow 1s ease-in-out infinite;
}

.spinner span:nth-child(2){
    animation: grow 1s ease-in-out 0.15s infinite;
}

.spinner span:nth-child(3){
    animation: grow 1s ease-in-out 0.30s infinite;
}

.spinner span:nth-child(4){
    animation: grow 1s ease-in-out 0.45s infinite;
}

@keyframes grow{
  0%, 100%{
    -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
    transform: scaleY(1);
  }

  50%{
    -webkit-transform: scaleY(1.8);
    -ms-transform: scaleY(1.8);
    -o-transform: scaleY(1.8);
    transform: scaleY(1.8);
  }
}

*/

/* -----------------------
            dot
   -------------------- */

.spinner {
	position: fixed;
	z-index: 2000;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: white;
	display: flex;
	align-items: center;
}

.spinner > div {
    margin: auto;
    font-size: 0;
}

.sk-chase {
    width: 60px;
    height: 60px;
    position: relative;
    animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0; 
    animation: sk-chase-dot 2.0s infinite ease-in-out both; 
}

.sk-chase-dot:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: #297A38;
    border-radius: 100%;
    animation: sk-chase-dot-before 2.0s infinite ease-in-out both; 
}

.sk-chase-dot:nth-child(1) { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2) { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3) { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4) { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5) { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6) { animation-delay: -0.6s; }
.sk-chase-dot:nth-child(1):before { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2):before { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3):before { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4):before { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5):before { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6):before { animation-delay: -0.6s; }

@keyframes sk-chase {
    100% { transform: rotate(360deg); } 
}

@keyframes sk-chase-dot {
    80%, 100% { transform: rotate(360deg); } 
}

@keyframes sk-chase-dot-before {
    50% {
        transform: scale(0.4); 
    } 100%, 0% {
        transform: scale(1.0); 
    }
}

/*
	### END SPINNER ###
*/

/* MOBILE */
@media only screen and (max-width: 767px) {
    /* COMMON */
    body {
        font-size: 0.8rem;
    }
    h1 {
        text-align: center;
    }
    .containerBox {
        padding: 0;
        border: none;
    }

    /* HEADER */
    .header .top > .catflow-container {
        flex-direction: column;
        align-items: center;
    }
    .header .top .logo {
        max-width: 12rem;
        margin: 0px auto 0px 0px;
    }
    .header .top .container_right > .catflow-container {
        flex-direction: row; 
        margin-top: 2rem;
    }
    .header .top .container-left {
        align-self: flex-start;
        width: 100%;
    }
    .header .top .container-left > .catflow-container {
        align-items: baseline;
    }
    .header .top .container-left .icon_menu {
        display: block;
    }
    .header .userAdministrationButton,
    .header .pipe {
        padding-right: 0;
        margin-right: 0;
        margin-bottom: 1rem;
        border-right: none;
    }
    .header .nav {
        text-align: center;
    }

    /* TREE MENU */

    .sticky {
        position: unset;
        top: unset;
    }
    .sticky.is-sticky {
        height: unset !important;
        padding-top: 0 !important;
    }
    .treeView {
        padding-top: 1rem !important;
    }

    /* BODY */

    .main > .catflow-container > .catflow-tree-menu {
        flex: 0;
        width: 0;
        min-width: 0;
        padding: 0;
        -webkit-transition: flex 400ms linear;
        -moz-transition: flex 400ms linear;
        -ms-transition: flex 400ms linear;
        -o-transition: flex 400ms linear;
        transition: flex 400ms linear;
        overflow: hidden;
    }
    .main.menu-on > .catflow-container > .catflow-tree-menu {
        flex: 1 0 100%;
    }

    .main > .catflow-container > .container-page {
        padding: 0 0.5rem;
        width: 0;
        flex: 1;
    }
    .main.menu-on > .catflow-container > .container-page {
        flex: 0;
        height: 0;
        padding: 0;
        overflow: hidden;
    }

    .main .container_download {
        margin: 2rem 0;
    }
    .main .container_download .radio_all_selected.custom-radio {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
    .main .container_download .radio_all_selected.custom-radio .radio {
        margin: 0;
    }
    .main .container_download .export-button-container {
        text-align: center;
    }

    .modal-body {
        word-break: break-word;
    }
    .modal-xl {
        width: 95%;
        margin: 1rem auto;
    }

    #static-container p {
        text-align: justify;
    }

    .main .datatable .checkbox {
        margin: 0;
    }

    /* DATATABLE */
    .data-table .dataTables_filter {
        margin-top: 0.8rem;
    }
    .data-table .advanced_search_btn {
        margin-top: 0.8rem;
    }
    .data-table .dataTables_info {
        margin-bottom: 0.5rem;
    }
    .data-table .row.length_filter .custom_combo {
        margin: 1rem auto 0;
        width: auto;
    }

    /* FOOTER */
    .footer {
        text-align: center;
    }
}

/* LOADER */

.loader {
    margin-left: 4px;
    margin-right: 10px;
}

.loader span {
    display: inline-block;
    width: 2px;
    height: 10px;
    margin-right: 1px;
    background-color: #8190A5;
}

.loader span:nth-child(1){
    animation: grow 1s ease-in-out infinite;
}

.loader span:nth-child(2){
    animation: grow 1s ease-in-out 0.15s infinite;
}

.loader span:nth-child(3){
    animation: grow 1s ease-in-out 0.30s infinite;
}

.loader span:nth-child(4){
    animation: grow 1s ease-in-out 0.45s infinite;
}

@keyframes grow{
  0%, 100%{
    -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
    transform: scaleY(1);
  }

  50%{
    -webkit-transform: scaleY(1.8);
    -ms-transform: scaleY(1.8);
    -o-transform: scaleY(1.8);
    transform: scaleY(1.8);
  }
}

/* END LOADER */

/* CUSTOM CSS */

input[type="radio"] {
    appearance: none;
    width: 12px;
    height: 12px;
    border: 1px solid gray;
    border-radius: 50%;
    outline: none;
    background-color: white;
    cursor: pointer;
}
input[type="radio"]:checked {
    background-color: #297a38;
    border: none;
}
input[type="radio"]:focus {
    outline: none;
}
input[type="checkbox"] {
    accent-color: #297a38;
}
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    color: #ffffff;
    background-color: #297a38;
    border-color: #297a38;
}
.form-control:focus{
  	border-color: #297a38;
 	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(41, 122, 56, 0.6);
}