:root {
    --dark-blue: #011737;
    --blue: #0B438F;
    --light-blue: #38639E;

    --dark-red: #531500;
    --red: #A62A00;
    --light-red: #DA3800;

    --dark-green: #003A1E;
    --green: #00984F;
    --light-green: #31A76E;

    --dark-orange: #A64D00;
    --orange: #DA6500;
    --light-orange: #F09546;

    --dark: #333333;
    --grey: #f6f6f6;
    --light: #ffffff;

    --font-family: 'Merriweather Sans', sans-serif;
}


* {
    caret-color: #000;
    word-wrap: normal;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    scroll-behavior: smooth;
    white-space: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0px;
}

p,
div {
    font-size: inherit;
}

a,
.button {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth !important
}


/* FADERS AND SHOW-ERS */
.fading {
    transition: opacity .25s
}

.showing {
    opacity: 1
}

.hidden,
.hiding {
    opacity: 0
}

/* DISPLAY HELPERS */
.flex {
    flex-wrap: wrap
}

.grow {
    flex-grow: 1
}

.block,
.block.shown,
.shown {
    display: block
}

.flex,
.flex.shown,
.grow,
.horizontal,
.vertical {
    display: flex
}

.hero {
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important
}

.space-between {
    justify-content: space-between;
}

/* TEXT HELPERS */
.small-text {
    font-size: 12px
}

.medium-text {
    font-size: 20px
}

.large-text {
    font-size: 24px
}

/* MARGIN HELPERS */
.small-margin {
    margin: 5px
}

.medium-margin {
    margin: 10px
}

.large-margin {
    margin: 15px
}

.small-margin-top {
    margin-top: 5px
}

.medium-margin-top {
    margin-top: 10px
}

.large-margin-top {
    margin-top: 15px
}

.small-margin-bottom {
    margin-bottom: 5px
}

.medium-margin-bottom {
    margin-bottom: 10px
}

.large-margin-bottom {
    margin-bottom: 15px
}

.small-margin-horizontal {
    margin: 0 5px
}

.medium-margin-horizontal {
    margin: 0 10px
}

.large-margin-horizontal {
    margin: 0 15px
}

.small-margin-vertical {
    margin: 5px 0
}

.medium-margin-vertical {
    margin: 10px 0
}

.large-margin-vertical {
    margin: 15px 0
}

/* PADDING HELPERS */
.small-padding {
    padding: 5px !important
}

.medium-padding {
    padding: 10px !important
}

.large-padding {
    padding: 15px !important
}

.small-padding-vertical {
    padding: 5px 0 !important
}

.medium-padding-vertical {
    padding: 10px 0 !important
}

.large-padding-vertical {
    padding: 15px 0 !important
}

.small-padding-horizontal {
    padding: 0 5px !important
}

.medium-padding-horizontal {
    padding: 0 10px !important
}

.large-padding-horizontal {
    padding: 0 15px !important
}

/* ICON HELPERS */
.small-icon {
    max-width: 10px;
    max-height: 10px
}

.medium-icon {
    max-width: 20px;
    max-height: 20px
}

.large-icon {
    max-width: 30px;
    max-height: 30px
}

/* MISC HELPERS */
.hideIfEmpty:empty {
    display: none
}

.full.height {
    height: 100%
}

.full,
.full.width {
    width: 100%;
}

.right {
    float: right
}

.left {
    float: left
}

.borderless {
    border: none !important
}

.center {
    text-align: center
}

.vertical {
    flex-flow: column
}

.horizontal {
    flex-flow: row;
    flex-wrap: wrap
}

.pill {
	border-radius: 10px;
	padding: 0px 10px;
	margin: 0px 5px 0px 0px;
	cursor: default;
}

.pill:empty{
    display:none;
}

.clear {
    width: 100%;
    height: 5px;
    display: block !important
}

/* COLOR HELPERS */
.dark-text,
.black-text {
    color: var(--dark, #000)
}

.grey-text {
    color: var(--grey, #f6f6f6)
}

.light-text,
.white-text {
    color: var(--light, #fff)
}

.green-text {
    color: var(--green, #003a1e)
}

.orange-text {
    color: var(--orange, #a64d00)
}

.red-text {
    color: var(--red, #531500)
}

.blue-text {
    color: var(--blue, #011737)
}


.dark-background,
.black-background {
    background-color: var(--dark, #000)
}

.grey-background {
    background-color: var(--grey, #f6f6f6)
}

.light-background,
.white-background {
    background-color: var(--light, #fff)
}

.green-background {
    background-color: var(--green, #003a1e)
}

.orange-background {
    background-color: var(--orange, #a64d00)
}

.red-background {
    background-color: var(--red, #531500)
}

.blue-background {
    background-color: var(--blue, #011737)
}




/* SPINNER */
.spinner {
    animation: 2s linear infinite rotate;
    z-index: 2;
    width: 25px;
}

.spinner .path {
    stroke: #000;
    stroke-linecap: round;
    animation: 1.5s ease-in-out infinite dash
}

@keyframes rotate {
    100% {
        transform: rotate(360deg)
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* TABLE HELPERS */

.table.striped tr:nth-child(even) {
    background-color: var(--grey);
}

.table td {
    padding: 5px;
}

.table tr:hover {
    background-color: var(--grey);
}

/* QUEUE HELPERS */

.queue {
    width: 100%;
}

.queue-row {
    padding: 10px;
    display: flex;
}

.queue-row:nth-child(even),
.queue-row:hover {
    background-color: var(--grey);
}

/* FORM HELPERS */
.container {
    padding: 37px 25px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    font-size: 1em;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
    margin: 50px auto;
}

.button {
    border: none;
    border-radius: 0px;
    display: inline-block;
    padding: 5px 15px;
    text-align: center;
    font-size: 1em;
    line-height: 30px;
    opacity: 0.95;
    transition: opacity 0.5s ease;
}

.button-flex {
	display: flex;
	align-items: center;
}

.button-flex svg{
    margin-right:5px;
}

.button-link {
	border: none;
	background: transparent;
	padding: 0px;
	margin: 0px;
	cursor: pointer;
	font-size: inherit;
}

.button-link:hover{
    color: var(--blue)
}

.button-small {
    padding: 2px 10px;
}

.button-medium {
    padding: 5px 20px;
}

.button-large {
    padding: 10px 35px;
}

.rounded {
    border-radius: 5px;
}

.button.disabled {
    opacity: 0.8;
}

.button:hover,
.button:hover {
    opacity: 1;
}

.dim {
    color: #58606F;
}

tetricor-field-group {
	width: calc(100% - 40px);
	display: block;
	padding: 10px;
	margin: 10px 0px;
}

.fieldgroupentry {
	border: 2px solid var(--grey);
	margin: 5px 0px;
	border-radius: 5px;
	transition: background-color 0.5s ease-in-out;
}

.fieldgroupentry:hover{
    background-color: var(--grey);
}

.fieldgroupheader {
	padding: 5px;
	background: var(--grey);
	border-radius: 5px;
}

.fieldgroupbody {
	padding: 5px;
    background:transparent;    
}

tetricor-input {
    padding: 1px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: visible;
    margin: 5px auto;
}

tetricor-input.invalid {
    outline: 1px solid red;
}

tetricor-input input, tetricor-input textarea {
	padding: 5px 10px;
	border-radius: 5px;
	border: none;
	font-size: inherit;
	background: #fff;
	height: auto;
	outline: none;
}

tetricor-input label {
    margin-bottom: 5px;
}

/*tetricor-input .native-input {
    display: flex;
    flex-grow: 1;
    width: 100%;
    flex-direction: column;
    box-sizing: border-box;
}
*/

tetricor-input .native-input {
	box-sizing: border-box;
	flex-grow: 1;
}

.input {
    font-size: 1em;
    display: flex;
    flex-direction: column;
    margin: 5px;
}

select:disabled,input:disabled {
	background: rgb(237, 237, 237) !important;
	color: rgb(96, 96, 96) !important;
}

.input label {
	padding: 0px 5px;
	margin: 4px;
	display: flex;
	align-items: start;
}

/*tetricor-input input, tetricor-select select, .input input, .input select {
	border: medium none;
	color: inherit;
	outline: none;
	display: inline-block;
	background: var(--light);
	margin: 5px;
	height: auto;
}*/

tetricor-input input, tetricor-select select, .input input, .input select {
	border: medium none;
	height: 30px;
	color: inherit;
	outline: none;
	display: inline-block;
	flex-grow: 1;
	background: transparent;
	margin: 5px;
}

input[type="radio"], input[type="checkbox"] {
	flex-grow: 0 !important;
	height: auto !important;
	margin: 2px 5px 0px 0px;
}

.inline {
	display: inline-block;
	width: auto;
	min-width: 33%;
}

.input small {
    margin-left: 5px;
}

.input-message {
    margin: 0px;
    color: red;
}

.input-half {
    width: 50%;
}

.input-message:empty {
    display: none;
}

.input.password svg {
	padding: 0px 0px;
	height: 30px;
	display: flex;
	width: 25px;
	cursor: pointer;
	margin: 5px;
}

.input-flex{
    display:flex;
    flex-direction:row;
}

.input-flex > *{
    display:flex;
}

.input-flex > .button {
	padding: 0px 15px;
	margin: 0px 15px;
	align-self: center;
	align-content: center;
}

.horiz-wrapper, .input-wrapper {
	display: flex;
	flex-direction: row;
	outline: rgb(204, 204, 204) solid 1px;
	border-radius: 5px;
	height: auto;
	margin: 5px;
	padding: 0px;
	border: medium none;
}

tetricor-logo {
    height: inherit;
    width: auto;
    display: block;
    margin: auto;
}

.wrapper {
    padding: 10px;
}

/* BREADCRUMBS */

ul.breadcrumb {
    list-style: none;
    padding: 5px 10px;
    margin: 0px;
    background: var(--grey);
}

.page-breadcrumb {
    position: sticky;
    top: 50px;
    z-index: 8;
}

ul.breadcrumb li {
    display: inline;
    font-size: 18px;
}

ul.breadcrumb li+li:before {
    padding: 8px;
    color: inherit;
    content: ">";
}

ul.breadcrumb li a {
    color: var(--dark);
    text-decoration: none;
}

ul.breadcrumb li a:hover {
    color: var(--blue);
    text-decoration: underline;
}

/* ACCORDION */
tetricor-accordion-item {
    display: block;
    flex-direction: column;
    border-radius: 5px;
    font-family: var(--font-family, "arial");
    margin: 5px auto;
}

tetricor-accordion-item .accordion-body {
    display: none;
}

tetricor-accordion-item.open>.accordion-body {
    display: block;
}

tetricor-accordion-item .accordion-top {
    padding: 5px 10px;
    cursor: pointer;
}

tetricor-accordion-item.open .accordion-top::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' part='icon' class='icon tc-accordion-icon up-icon' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
    color: #333;
    height: 25px;
    width: 25px;
    float: right;
}

tetricor-accordion-item.closed .accordion-top::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' part='icon' class='icon tc-accordion-icon down-icon' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    color: #333;
    height: 25px;
    width: 25px;
    float: right;
}

tetricor-accordion-item .accordion-bottom {
    padding: 5px 10px;
}

/*
tetricor-accordion-item .accordion-bottom button {
    display: flex;
    flex-grow: 1;
    cursor: pointer;
    border-right: none;
    border-left: none;
    border-bottom: none;
    border-top: none;
}*/

.readonly tetricor-accordion-item .accordion-bottom,
tetricor-accordion-item.closed .accordion-bottom {
    display: none;
}

tetricor-accordion-item.open>.accordion-body>div {
    opacity: 1;
    visibility: visible;
}

tetricor-accordion-item.open>.accordion-bottom {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* GRID */
/* GRID */
.row:after{
    content:"";
    clear:both;
    display:table 
}
.row-flex{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
}
.row-flex .column {
    display: flex;
    flex-direction: column;
    float: none;
}
.row-flex .column-auto{
    flex-grow:1;
}
.row .column{
    display:block;
    float:left;
}
.row .column-auto{
    overflow:auto;
    width:auto;
    min-width:20%;
}
.column-95{
    width:95%;
}
.column-90{
    width:90%;
}
.column-85{
    width:85%;
}
.column-80{
    width:80%;
}
.column-75{
    width:75%;
}
.column-70{
    width:70%;
}
.column-65{
    width:65%;
}
.column-60{
    width:60%;
}
.column-55{
    width:55%;
}
.column-50{
    width:50%;
}
.column-45{
    width:45%;
}
.column-40{
    width:40%;
}
.column-35{
    width:35%;
}
.column-30{
    width:30%;
}
.column-25{
    width:25%;
}
.column-20{
    width:20%;
}
.column-15{
    width:15%;
}
.column-10{
    width:10%;
}
.column-5{
    width:5%;
}
.column-33{
    width:33.33%;
}
.column-66{
    width:66.66%;
}
.column-100{
    width:100%;
}
@media only screen and (max-width:500px){
    .column{
        width:100%;
   }
    .row-flex{
        flex-direction:column;
   }
}

/* WORKFLOWS */
tetricor-workflow .spinner{
    width:50px;
    height:50px;
    margin:100px auto 100px auto;
    display:block;
}

tetricor-workflow .navigation {
	text-align: center;
	width: auto;
	margin: 15px auto;
}

tetricor-workflow  .navigation button{
    margin:0px 15px;
}