@charset "utf-8";

:root {
    --bs-body-font-family: 'Open Sans', tahoma, verdana, arial, sans-serif !important;
}

.ui-widget {
    font-family: var(--bs-body-font-family) sans-serif !important;
}

/***************************************************************************************************************/

*, *::before, *::after {
    box-sizing: border-box;
}

header, footer, nav, main, section, article, aside, details, figure {
    display: block;
}

/***************************************************************************************************************/

b, strong {
    font-weight: 600;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

p:last-child {
    margin-bottom: 0;
}

a {
    text-underline-offset: 2px;
}

*:focus {
    outline: none !important;
}

/***************************************************************************************************************/

/*input[type=number],
input[type=text],
input[type=password],
input[type=search],
textarea {
    -webkit-appearance: none;  // remove shadow in iOS
    @include border-radius(0);  // remove border-radius in iOS
}*/

input[type=datetime-local],
input[type=date],
input[type=time] {
    height: 36px;
    padding: 10px;

    border: 1px solid #dddddd;

    border-radius: 2px;
}

input[type=number]:not(.pr-quantity-input),
input[type=text],
input[type=password],
input[type=search] {
    width: 100%;
    height: 36px;
    padding: 10px;

    border: 1px solid #dddddd;

    border-radius: 2px;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 10px;

    /*background-color: #fff;*/
    border: 1px solid #dddddd;

    border-radius: 2px;
}

select {
    max-width: 100%;

    height: 36px;

    border: 1px solid #dddddd;

    border-radius: 2px;
}

input.is-invalid,
textarea.is-invalid,
select.is-invalid {
    border-color: #dc3545 !important;
}

/***************************************************************************************************************/

.center { text-align: center !important; }

/***************************************************************************************************************/

.w-1 { width: 1% !important; }
.w-2-5 { width: 2.5% !important; }
.w-7-5 { width: 7.5% !important; }
.w-12-5 { width: 12.5% !important; }
.w-16-6 { width: 16.6% !important; }
.w-33-3 { width: 33.3333333333% !important; }
.w-33-4 { width: 33.4% !important; }

.w-5 { width: 5% !important; }
.w-10 { width: 10% !important; }
.w-15 { width: 15% !important; }
.w-20 { width: 20% !important; }
.w-28 { width: 28% !important; }

.w-30 { width: 30% !important; }
.w-35 { width: 35% !important; }
.w-40 { width: 40% !important; }
.w-45 { width: 45% !important; }

.w-55 { width: 55% !important; }
.w-60 { width: 60% !important; }
.w-65 { width: 65% !important; }
.w-70 { width: 70% !important; }

.w-80 { width: 80% !important; }
.w-85 { width: 85% !important; }
.w-90 { width: 90% !important; }
.w-95 { width: 95% !important; }

.mw-unset { min-width: unset !important; }

.mw-100px { min-width: 100px !important; }

/***************************************************************************************************************/

.field_hint {
    display: block;
    padding: 5px 0 0 11px;
}

/***************************************************************************************************************/

.green,
.green a:not(.button) {
    color: #00a913 !important;
}

.light-green-bg {
    background-color: #b2ffc3 !important;
}

.lime-green-bg {
    background-color: #bdda4a !important;
}

.green-bg {
    background-color: #ddffe0 !important;
}

.dark-green-bg {
    background-color: #28b130 !important;
}

.red a:not(.button),
.red {
    color: #B20000 !important;
}

.red-bg {
    background-color: #FFE5E5 !important;
}

.dark-red-bg {
    background-color: #ffb4a8 !important;
}

.orange a:not(.button),
.orange {
    color: #e4a90f !important;
}

.orange-bg {
    background-color: #fff4be !important;
}

.yellow a:not(.button),
.yellow {
    color: #FFFB1F !important;
}

.yellow-bg {
    background-color: #ffffca !important;
}

.blue a:not(.button),
.blue {
    color: #3c79a3 !important;
}

.blue-bg {
    background-color: #d8e9f8 !important;
}

.lilac-bg {
    background-color: #ECE3F0 !important;
}

.purple-bg {
    background-color: #ab9ccb !important;
}

.header-blue {
    color: #003366;
}

.box-blue {
    background-color: #0070c0;
}

/***************************************************************************************************************/

.content {
    padding-top: 1.5rem!important;
}

/***************************************************************************************************************/

hr {
    position: relative;
    border: 0;
    height: 1px;
    width: 100%;
    margin: 20px 0px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
}

/***************************************************************************************************************/

.pr-file-upload-inputs {
    padding: 2px;
}

/***************************************************************************************************************/

.prime-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1061;
}

/***************************************************************************************************************/

.field_error {
    background-color: #FFE5E5;
    color: #B20000;
    border: solid 1px #B20000;
    padding: 3px;
    margin-top: 3px;
    clear: both;
    max-width: 400px;
}

.form_error {
    background-color: #FFE5E5;
    color: #B20000;
    border: solid 1px #B20000;
    padding: 10px;
    width: 100%;
    margin-bottom: 20px;
}

.form_success {
    background-color: #ddffe0;
    color: #00a913;
    border: solid 1px #00a913;
    padding: 10px;
    width: 100%;
    margin-bottom: 20px;
}

/***************************************************************************************************************/

.sort-header {
    cursor: pointer;
}

/***************************************************************************************************************/

#loading_screen {
    display:none; position: fixed; top: 0; z-index: 10000000; background: #fff; height: 100vh; width: 100%;
}

#loading_screen > div {
    position: absolute; left: 50%; margin-left: -50px; top: calc(50vh - 50px); width: 100px; text-align: center;
}

#loading_screen img {
    width: 100px;
}

/***************************************************************************************************************/

.view_bar {
    padding: 1.5rem;
    color: #fff;

    background: #d2ad29;
    background: -moz-linear-gradient(45deg, #d2ad29 0%, #fff491 99%);
    background: -webkit-linear-gradient(45deg, #d2ad29 0%,#fff491 99%);
    background: linear-gradient(45deg, #d2ad29 0%,#fff491 99%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d2ad29', endColorstr='#fff491',GradientType=1 );
}

.view_bar h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.breadcrumb_bar {
    padding: 0.5rem 1.5rem;

    background-color: #e1e1e1;
    background: -moz-linear-gradient(45deg, #e1e1e1 0%, #eeeeee 99%);
    background: -webkit-linear-gradient(45deg, #e1e1e1 0%,#eeeeee 99%);
    background: linear-gradient(45deg, #e1e1e1 0%,#eeeeee 99%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e1e1e1', endColorstr='#eeeeee',GradientType=1 );
}

.breadcrumb_bar h2 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/***************************************************************************************************************/

.pr-info-header {
    text-align: left;
    font-weight: 700;

    background-color: grey;
    color: white;

    /*border-left: solid 1px #EDEDED;
    border-right: solid 1px #EDEDED;
    border-top: solid 1px #EDEDED;*/

    padding: 5px;

    margin-bottom: 5px;
}

.pr-info + .pr-info {
    margin-top: 1rem;
}

.pr-info {
    border: solid 1px #EDEDED;

    background-color: #f7f7f7;

    padding: 5px;
}

.pr-info.fill-height {
    height: 100%;
}

/***************************************************************************************************************/

table.filter-table {
    border-collapse: separate;
    width: 100%;
}

table.filter-table td {
    text-align: center;
    background-color: #f7f7f7;
    border-left: solid 1rem #fff;
    padding: 3px;
}

table.filter-table td.no-bg {
    background-color: #fff;
}

table.filter-table td:first-child {
    border-left: none;
}

table.filter-table strong {
    display: block;
    margin-bottom: 3px;
}

/***************************************************************************************************************/

table.view-table-v2 {
    border-collapse: separate;
}

table.view-table-v2 td {
    text-align: left;
    border-top: solid 4px #fff;

    border-bottom: solid 2px #EDEDED;
    padding: 10px;

    background-color: #f7f7f7;

}

table.view-table-v2 td.no-style {
    border-bottom: solid 2px #FFFFFF !important;
    background-color: #ffffff !important;
}


table.view-table-v2 th {
    text-align: left;
    font-weight: 700;

    padding: 5px 0;
}

/***************************************************************************************************************/

table.simple-table {
    width: 100%;
    border-collapse: collapse;
}

table.simple-table, table.simple-table th, table.simple-table td {
    border: 1px solid black;
}

table.simple-table th, table.simple-table td {
    padding: 4px 6px;
    text-align: left;
}

/***************************************************************************************************************/

table.view-table {
    border-collapse: separate;
}

table.view-table td {
    text-align: left;
    font-weight: 400;

    border-top: solid 4px #fff;

    border-bottom: solid 2px #EDEDED;
    padding: 10px;

    background-color: #f7f7f7;

}

table.view-table td.no-style {
    border-bottom: solid 2px #FFFFFF !important;
    background-color: #ffffff !important;
}


table.view-table th {
    text-align: right;
    font-weight: 700;



    /*padding: 10px 22px 10px 0px;*/
    padding: 10px;
    border-top: solid 4px transparent;
    border-bottom: solid 2px transparent;
    /*border-bottom: solid 1px #EDEDED;*/
}

/***************************************************************************************************************/

table.list-table-sm td,
table.list-table-sm th {
    font-size: 1rem;
    padding: 4px 1px !important;
    line-height: 1 !important;
    /*border: none !important;
    border-bottom: solid 1px #E3E3E3 !important;*/
}


table.list-table {
    border-collapse: separate;

    border-top: solid 1px #E3E3E3;
}

table.list-table th:first-child,
table.list-table td:first-child {
    /* Apply a left border on the first <td> or <th> in a row */
    border-left: solid 1px #E3E3E3;
}

table.list-table th {
    padding: 3px;

    border-top: none;

    border-bottom: solid 1px #E3E3E3;
    border-right: solid 1px #E3E3E3;

    line-height: 18px;
    /*color: #555;*/
    text-align: left;

    font-weight: 700;

    margin-bottom: 20px;
    background-color: #efefef;
}

table.list-table td {
    padding: 3px;

    border-top: none;

    border-bottom: solid 1px #E3E3E3;
    border-right: solid 1px #E3E3E3;

    font-weight: 400;

    line-height: 18px;
    /*color: #555;*/
    text-align: left;
}

table.list-table tr.tr-base td {
    height: 50px;
    padding: 3px;
    border: 0;
    border-top: solid 1px #D4D4D4 !important;
    border-bottom: solid 1px #D4D4D4 !important;
    background-color: #ededed;
    line-height: 18px;
    color: #555;
}

table.list-table tr.tr-top td {
    padding: 3px;
    border: 0;
    border-top: solid 1px #D4D4D4 !important;
    border-bottom: solid 1px #D4D4D4 !important;
    background-color: #ededed;
    line-height: 18px;
    color: #555;
}

/*table.list-table tr:hover td {
    background-color: #eeeeee;
}*/

table.list-table tr:nth-child(odd)		{ background-color:#FFF; }
table.list-table tr:nth-child(even)		{ background-color:#fafafa; }

/***************************************************************************************************************/

#topbtn {
    display: none;

    position: fixed;
    bottom: 60px;
    right: 10px;
    z-index: 1022;

    border: none;
    line-height: 1;
    outline: none;
    color: white;
    background: none;

    cursor: pointer;

    padding: 0;
    margin: 0;
}

#topbtn i {
    font-size: 4rem;
    line-height: 1;
    color: rgba(0,0,0,0.5);
    transition: color 0.3s ease-in-out;
}

#topbtn:hover i {
    color: rgba(0,0,0,1);
}

/* Pagination */
/************************************************************************************************/

/* Credit to: http://papermashup.com/easy-php-pagination/ */
.paginate
{
    position: relative;
    width: 100%;

    text-align: right;
}

.paginatetop {
    position: absolute !important;
    top: 12px !important;
}

.paginatebottom {
    margin-top: 10px;
}


/*.paginate a.button
{
    background-color: #666;*/
/*padding:2px 5px;
margin:2px;

border:1px solid #999;
background-color: #FFF;
text-decoration:none;
color: #666;*/
/*}*/

/*.paginate a.button:hover, .paginate a.button:active
{
    background-color: #D8D8D8;*/
/*	border: 1px solid #999;
	color: #000;*/
/*}*/

.paginate span.current
{

    border: none;
    border-radius: 2px;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 20px;
    text-transform: uppercase;
    vertical-align: middle;
    -webkit-tap-highlight-color: transparent;


    text-decoration: none;
    color: #fff;

    text-align: center;
    letter-spacing: .5px;
    -webkit-transition: .2s ease-out;
    transition: .2s ease-out;
    cursor: pointer;

    margin: 0 1px;

    -webkit-box-shadow: 0 4px 4px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);

    background-color: #3b6289;

}

.paginate span.disabled
{
    background-color: #f3f3f3;
    color: #ccc !important;
}

/***************************************************************************************************************/

@keyframes fadeIn {
    from { opacity: 0.5; }
    to { opacity: 1 }
}

.glow_it {
    animation: fadeIn 1s infinite alternate;
}

/***************************************************************************************************************/

.fc-button,
.button {
    display: inline-block;
    padding: 0.375rem 0.75rem;

    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;

    color: #fff !important;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;

    cursor: pointer;
    user-select: none;

    border: solid 1px #4195c1;
    border-radius: 0.375rem;
    background-color: #4195c1;

    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;

    -webkit-tap-highlight-color: transparent;
}

.button + .button {
    margin-left: 5px;
}

.button.force-active {
    background-color: darkblue;
    border-color: darkblue;
}

.button.force-active:hover {
    background-color: darkblue;
    border-color: darkblue;
}

.button.current,
.fc-button:hover,
.button:hover {
    border: solid 1px #5eacd5;
    background-color: #5eacd5;
}

.button.disabled {
    border: solid 1px lightgrey;
    background-color: lightgrey;
}

.button-green {
    border: solid 1px #28b130;
    background-color: #28b130;
    color: white;
}

.button-green:hover {
    border: solid 1px #3dbf41;
    background-color: #3dbf41;
    color: white;
}

.button-red {
    border: solid 1px #cb0000;
    background-color: #cb0000;
    color: white;
}

.button-red:hover {
    border: solid 1px #ff0000;
    background-color: #ff0000;
    color: white;
}

.button-list .fc-button,
.button-list .button {
    margin: 5px 1px;
}

table.view-table .button,
table.list-table .button {
    margin: 4px 0;
}

/***************************************************************************************************************/

.filter_click {
    cursor:pointer;
}

.filter {
    /*display: none;*/
}

/***************************************************************************************************************/

.rect-img-container {
    position: relative;
}

.rect-img-container::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.rect-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
