﻿/*
  xs: 0,
  sm: 576px,    -> 540
  md: 768px,    -> 720
  lg: 992px,    -> 960
  xl: 1200px,   -> 1140
  xxl: 1400px   -> 1320
*/

/*
    FA
    right: f054
    left: f053
    down: f078
    up: f077
    bars: f0c9
    close: f00d

    https://www.color-hex.com/color/xxxxxx

    convert hex to filter
    https://codepen.io/sosuke/pen/Pjoqqp

    menu: #4FA0A3
    opacity 30%

    svg cards: #4FA0A3  invert(59%) sepia(15%) saturate(1031%) hue-rotate(133deg) brightness(91%) contrast(100%);
    svg hover: #D9D9D9  invert(96%) sepia(0%) saturate(1149%) hue-rotate(147deg) brightness(88%) contrast(100%);

    banner cards: #ffffff invert(100%) sepia(100%) saturate(2%) hue-rotate(225deg) brightness(105%) contrast(101%)

    pipe #CAE2E3: invert(97%) sepia(7%) saturate(551%) hue-rotate(135deg) brightness(94%) contrast(90%)
*/
:root {
    /* bootstrap widths */
    --xs: 0;
    --sm: 576px;
    --md: 768px;
    --lg: 992px;
    --xl: 1200px;
    --xxl: 1400px;

    /* fontawesome 4.7 */
    --fa-arrowdown: "\f107"; /*f107 f078*/
    --fa-arrowup: "\f077";
    --fa-arrowleft: "\f053";
    --fa-arrowright: "\f105"; /*f105 f054*/
    --fa-email: "\f003";
    --fa-marker: "\f041";
    --fa-phone: "\f095";
    --fa-file: "\f016";
    --fa-plus: "\f067";
    --fa-minus: "\f068";
    --fa-calendar: "\f133"; /* fa-calendar-o */
    --fa-pdf: "\f1c1"; /* fa-file-pdf-o */
    --fa-excel: "\f1c3"; /* fa-file-excel-o */
    --fa-word: "\f1c2"; /* fa-file-word-o */
    --fa-zip: "\f1c6"; /* fa-file-zip-o */
    --fa-video: "\f1c8"; /* fa-file-video-o */
    --fa-download: "\f019"; /* fa-download */
    --fa-long-down: "\f175"; /* fa-long-arrow-down */

}
html {
    height: 100.1%;
}

body {
    opacity: 1 !important;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body.no-scroll {
    overflow-y: hidden;
}

.loading-overlay {
    display: none;
    background: #c0c0c0 url('/images/loader-gray.gif') center center no-repeat;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.75;
    z-index: 99999999;
    transition: all .5s;
    overflow-y: scroll; /* see html height */
}

.hidden {
    display: none !important;
}

.picture {
    display: inline-block;
    width: 100%;
    height: auto;
}

.img-raw {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.has-error {
    color: red !important;
}

.pt-35 {
    padding-top: 3.5em;
}

.fs-normal {
    font-size: 1em;
}

.fs-smaller {
    font-size: 0.8em;
}

.fs-larger {
    font-size: 1.2em;
}

/* JALERT */
#alertsOverlay {
    background: #c0c0c0;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0.75;
    z-index: 999999998;
}

#alertsContainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999999;
}

#alertsContent {
    position: fixed;
    min-width: 320px;
    max-height: 100vh;
    background-color: #fff;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    overflow: auto;
    /*border: solid 15px lightgrey;*/
    padding: 30px;
    /*    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    /*box-shadow: 0 0.125rem 0.25rem rgb(147 158 170 / 40%);*/
    box-shadow: 0 0.125rem 1.25rem 0 rgb(38 60 85 / 60%);
    border-radius: 0.5em;
}

#alertsButtons {
    padding: 20px;
    text-align: center;
}

    #alertsButtons button {
        margin: 0 5px 5px 5px;
    }

#alertsMessage {
    text-align: center;
    font-size: 1.15em;
    padding: 20px 0;
}

#alertsIcon {
    text-align: center;
}

    #alertsIcon:before {
        font-family: 'Font Awesome 6 Free';
        font-size: 2em;
        line-height: 2em;
    }

    #alertsIcon._info:before {
        font-weight: 900;
        content: "\f06a";
        color: #FDAC41;
    }

    #alertsIcon._alert:before {
        font-weight: 900;
        content: "\f071";
        color: #FF5B5C;
    }

    #alertsIcon._confirm:before {
        font-weight: 900;
        content: "\f058";
        color: #39DA8A;
    }

    #alertsIcon._modal:before {
        font-weight: 900;
        content: "\f252";
        color: #5A8DEE;
    }
/* JALERT */


/* COLLAPSIBLE */
.r-collapsible {
    counter-reset: collapsible-counter;
    background-color: #fff;
}

.r-collapsible__item {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}

  .r-collapsible__item:first-child {
    border-top: 1px solid #000;
  }

.r-collapsible__title {
    background: #ffffff;
    cursor: pointer;
    padding: 20px !important;
    display: grid;
    grid-template-columns: 40px 1fr 30px;
    align-items: start;
    gap: 5px;
    font-family: "Urbanist",sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 35px;
    user-select: none;
    transition: background-color 0.2s ease;
    counter-increment: collapsible-counter;
}

    .r-collapsible__title:hover {
        background: #f9f9f9;
    }

    .r-collapsible__title:before {
        content: "0" counter(collapsible-counter);
        color: #0e61fb;
        font-family: "Urbanist",sans-serif;
        font-weight: 400;
        font-size: 20px;
        line-height: 35px;
        flex-shrink: 0;
    }

  .r-collapsible__title:after {
    content: "−";
    font-size: 1.8em;
    font-weight: 300;
    color: #0e61fb;
    text-align: right;
    flex-shrink: 0;
    transition: color ease-in-out 0.1s;
  }

.r-collapsible__title--closed:after {
  content: "+";
  color: #000;
  transition: color ease-in-out 0.1s;
}

.r-collapsible__content {
    padding: 20px;
    border-top: 0px solid #e0e0e0;
    display: block;
    color: #333;
}
/* COLLAPSIBLE */

/* TABS */
.r-tabs {
}

.r-tabs__titles {
    display: flex;
    list-style: none;
    padding-left: 0;
    margin-bottom: 10px;
}

.r-tabs__title {
    /*    background: #ffffff;
    cursor: pointer;*/
}

    .r-tabs__title:not(:last-of-type) {
        margin-right: 10px;
    }

    .r-tabs__title:hover {
        /*        background: #f1f1f1;*/
    }

.r-tabs__title--active {
    /*    background: #c0c0c0;*/
}
/* TABS */

/* TABLE */
.r-table {
    overflow-x: auto;
}

    .r-table table th,
    .r-table table td {
        padding: 5px 10px;
    }

.r-table--style-styled table {
}

    .r-table--style-styled table th {
        text-align: center;
        background: #f1f1f1;
    }

    .r-table--style-styled table th,
    .r-table--style-styled table td {
        border: 1px solid #c0c0c0;
    }

.r-table--alignment-left table {
    margin-left: 0;
    margin-right: auto;
}

.r-table--alignment-center table {
    margin-left: auto;
    margin-right: auto;
}

.r-table--alignment-right table {
    margin-left: auto;
    margin-right: 0;
}

.r-table--width-full table {
    width: 100%;
}
/* TABLE */

/* GALLERY */
.r-gallery {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: center;*/
    margin-left: -20px; /*gap*/
}

.r-gallery-item {
    display: block;
    width: 100%;
    padding-left: 20px; /*gap*/
    padding-bottom: 20px;
    color: black;
    text-decoration: none;
}

@media only screen and (min-width: 577px) {
    .r-gallery-item {
        width: 50%;
    }
}

@media only screen and (min-width: 993px) {
    .r-gallery-item {
        width: 33.33%;
    }
}

@media only screen and (min-width: 1201px) {
    .r-gallery-item {
        width: 25%;
    }
}

.r-gallery-item img {
    display: inline-block;
    object-fit: cover;
    width: 100%;
    height: auto;
}
.r-gallery-item small {
    display: block;
}
/* GALLERY */
