﻿/*
 * base.css - Element defaults, typography helpers, animations and utility classes.
 *
 * Sections:
 *   ELEMENT DEFAULTS
 *   TYPOGRAPHY
 *   ANIMATIONS
 *   UTILITIES
 */

/* ==================================================================
   ELEMENT DEFAULTS
   ================================================================== */

input[type=checkbox] {
    border: 0;
    margin: 0 5px 0 5px;
    width: 30px;
    height: 30px;
}

input[type=radio] {
    border: 0px;
    margin: 2px 2px 2px 2px;
    width: 1em;
    height: 1em;
}

textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 480px) {
    input[type='checkbox'] {
        width: 30px;
        height: 30px;
        background: white;
        border-radius: 5px;
        border: 2px solid #555;
    }

        input[type='checkbox'].small-checkbox {
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 5px;
            border: 2px solid #555;
        }
}

input:hover, input:focus {
    background-color: white;
    border: 1px solid darkblue;
    color: #000000;
}

select:hover, select:focus {
    background-color: white;
    border: 1px solid darkblue;
    color: #000000;
}

textarea:hover, textarea:focus {
    background-color: white;
    border: 1px solid darkblue;
    color: #000000;
}

hr.divider {
    border: .5px solid lightgrey;
    margin: 0px 2px 0px 2px;
    display: block;
}

    hr.divider.thick {
        border: 3px solid darkgrey;
        margin: 0px;
    }

    hr.divider.medium {
        border: 2px solid darkgrey;
        margin: 0px;
    }

button:focus {
    outline: none;
}

input::placeholder {
    color: var(--greyscale-grey-04);
}

textarea::placeholder {
    color: var(--greyscale-grey-04);
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* For Chrome, Safari, Edge */
body::-webkit-scrollbar {
    display: none;
}

/* For Firefox */
/* For Internet Explorer and Edge (older) */
body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}


/* ==================================================================
   TYPOGRAPHY
   ================================================================== */

.conxus-font {
    font-family: var(--global-font-family);
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: var(--global-letter-spacing);
    text-align: left;
}

    .conxus-font.bold {
        font-weight: bold;
    }

    .conxus-font.xlarge, .material-symbols-outlined.xlarge {
        font-size: 56px;
    }

    .conxus-font.large, .material-symbols-outlined.large {
        font-size: 40px;
    }

    .conxus-font.medium, .material-symbols-outlined.medium {
        font-size: 32px;
    }

    .conxus-font.small-medium, .material-symbols-outlined.small-medium {
        font-size: 24px;
    }

    .conxus-font.small, .material-symbols-outlined.small {
        font-size: 18px;
    }

    .conxus-font.xsmall, .material-symbols-outlined.xsmall {
        font-size: 16px;
    }

    .conxus-font.ysmall, .material-symbols-outlined.ysmall {
        font-size: 13px;
    }

    .conxus-font.xxsmall, .material-symbols-outlined.xxsmall {
        font-size: 8px;
    }

@media (max-width: 1280px) {
    .conxus-font.xlarge, .material-symbols-outlined.xlarge {
        font-size: 38px;
    }

    .conxus-font.large, .material-symbols-outlined.large {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .conxus-font.xlarge, .material-symbols-outlined.xlarge {
        font-size: 32px;
    }

    .conxus-font.large, .material-symbols-outlined.large {
        font-size: 24px;
    }

    .conxus-font.medium, .material-symbols-outlined.medium {
        font-size: 20px;
    }

    .conxus-font.small-medium, .material-symbols-outlined.small-medium {
        font-size: 18px;
    }

    .conxus-font.small, .material-symbols-outlined.small {
        font-size: 16px;
    }

    .conxus-font.xsmall, .material-symbols-outlined.xsmall {
        font-size: 12px;
    }
}

.three-line-limit {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 5) Keep icons natural size on the same line */
.edit-popup-section .popup-form-section-row.align-elements .add-another-icon, .edit-popup-section .popup-form-section-row.align-elements .error-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* keep icons natural size */
.add-another-icon {
    flex: 0 0 auto;
    font-size: 30px;
}

.material-symbols-outlined.medium {
    cursor: pointer;
}

.section-header {
    height: 26px;
    margin: 0 0 6px;
    font-family: var(--global-font-family);
    font-size: 24px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.08;
    letter-spacing: -0.5px;
    text-align: left;
}

.material-symbols-outlined.circle-icon {
    margin-top: 4px;
    margin-left: 6px;
    font-size: 48px;
    color: var(--colors-primary);
}

    .material-symbols-outlined.circle-icon.small {
        margin-top: 3px;
        margin-left: 3px;
        font-size: 24px;
        color: var(--colors-primary);
    }

@media (max-width: 1200px) {
    .material-symbols-outlined.circle-icon {
        margin-top: 4px;
        margin-left: 3px;
        font-size: 20px;
    }

        .material-symbols-outlined.circle-icon.small {
            margin-top: 1px;
            margin-left: 0px;
            font-size: 18px;
        }
}

@media (max-width: 480px) {
    .material-symbols {
        font-size: 12px;
    }

    .add-another-icon {
        font-size: 16px;
    }

    .material-symbols-outlined {
        font-size: 24px;
    }
}

.eyebrow {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: 1.35rem;
    color: #005BA5;
    margin-bottom: 4px;
}

.material-symbols-outlined.filled {
    font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 48;
}


/* ==================================================================
   ANIMATIONS
   ================================================================== */

.draggable {
    cursor: move;
}

    .draggable.dragging {
        opacity: .5;
    }

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}


/* ==================================================================
   UTILITIES
   ================================================================== */

@media (max-width: 480px) {
    .HideInMobile {
        display: none;
    }
}

@media (max-width: 900px) {
    .HideInTablet {
        display: none;
    }
}

@media (min-width: 992px) {
    .HideOnDesktop {
        display: none;
    }
}

@media (min-width: 600px) {
    .ShowInMobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .ShowInMobile {
        display: block;
    }
}

.disabled-button {
    background-color: #d3d3d3 !important;
    color: #000000 !important;
    cursor: not-allowed !important;
}

.my-float {
    margin-top: 8px;
}

.vertical-scrollable-region {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

@media (max-width: 480px) {
    .vertical-scrollable-region {
        height: auto;
    }
}

.center-message {
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    text-align: center;
    height: 100%; /* panel height */
    width: 100%;
    padding: 20px; /* optional */
}

.align-elements {
    align-items: center;
    display: flex;
}

.no-style {
    text-decoration: none !important;
}

.sticky-icon:hover {
    cursor: pointer;
}

.mobile-button-container {
    text-align: center;
}

.mobile-wide {
    width: 100%;
    margin-left: 0px;
}

.flex-container {
    display: flex;
    flex-direction: column;
}

.hider {
    background-color: transparent;
    opacity: 0.3;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
}

.left {
    width: 0;
}

.right {
    width: 0;
}

.clickable:hover {
    cursor: pointer;
}

.fix {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 60px;
    width: 100%;
    background-color: #f8f9fa;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.p-top {
    margin-top: 15px !important;
}

.footer-text {
    margin: 0;
}

@media (min-width: 768px) {
    .footer-text {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    .footer-text {
        margin-left: 0px;
    }
}
