/*
    DEMO STYLE
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


/*--------------------------------------------------------------
    General utility
--------------------------------------------------------------*/
.mid {
    text-align: center;
}

.fat {
    font-size: larger;
    font-weight: bold;
}

.white {
    color: white;
}

.round {
    border-radius: 5px;
}


.iconStyle {
    padding: 5px;
}

.iconStyle:hover {
    background: green;
    color: white;
}

.breakTxt {
    word-wrap: break-word; /* IE 5.5-7 */
    white-space: -moz-pre-wrap; /* Firefox 1.0-2.0 */
    white-space: pre-wrap; /* current browsers */
}

/*--------------------------------------------------------------
     Bootstrap override // SweetAlert override
--------------------------------------------------------------*/

.noTxtDeco {
    text-decoration: none !important;
}


.eyeIcon {
    text-decoration: none !important;
    text-align: center;
    padding: 8px;
    margin-left: 3px;
}

.circleIcon {
    padding-left: 45%;
    color: #006333;
}

.fa-file {
    padding-left: 45%;
    color: #006333;
}


.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #006333;
    border-color: #006333;
}

.pagination > li > a, .pagination > li > span, .pagination > li > a, .pagination > li > span {
    color: #006333;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    z-index: 2;
    color: #006333;
    background-color: #eee;
    border-color: #ddd;
}

*:focus {
    outline: none !important;
}

.form-control:focus {
    border-color: #006333;
    outline: 0 !important;
    box-shadow: inset 0 1px 1px #006333;
}

.noPad {
    padding: 0px !important; /* needs to override 'less'*/
}


/** Declaration table **/
.tbl {
    border-collapse: inherit;
    table-layout: fixed;
    border-radius: 4px;
    border-spacing: 0px;
    background: white;
}

.decTblHeader {
    height: 30px;
}

.tbl tr {
    height: 40px;
}

.tbl td, .tbl th {
    border: 1px solid #ddd;
    border-left: none;
    text-align: center;
    border-width: 1px 1px 0px 0px; /* makes single lines for each cell*/
}

.tbl td:first-child {
    border-left: 1px solid lightgrey;
}

.tbl tbody tr:first-child td:first-child {
    border-radius: 4px 0 0 0;
}

.tbl tbody tr:first-child td:last-child {
    border-radius: 0 4px 0 0;
}

.tbl tbody tr:last-child td:first-child {
    border-radius: 0 0 0 4px;
}

.tbl tbody tr:last-child td:last-child {
    border-radius: 0 0 4px 0;
}

.tbl tbody tr:last-child td {
    border-width: 1px 1px 1px 1px; /* restore bottom border on last line*/
}


/**
    Experimental loader
    **/
.signal {
    border: 5px solid #333;
    border-radius: 30px;
    height: 30px;
    left: 50%;
    margin: -15px 0 0 -15px;
    opacity: 0;
    position: absolute;
    top: 50%;
    width: 30px;
    animation: pulsate 1s ease-out;
    animation-iteration-count: infinite;
}

@keyframes pulsate {
    0% {
        transform: scale(.1);
        opacity: 0.0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}


/*--------------------------------------------------------------
     Custom grid view compatibility
--------------------------------------------------------------*/
.disableMouseEvents {
    pointer-events: none;
}

/*.CssClasses(css => { css.DataCell("disableMouseEvents");})*/
.enableMouseEvents {
    pointer-events: auto;
}

.disabled {
    pointer-events: none;
}


.bold {
    font-weight: bold;
}

.high {
    line-height: 200%;
}

.modal-title {
    color: #006333;
    font-size: larger;
}


div.h-icons > button.active > span {
    color: red;
}

/* center all text in grid /Declaration */
#declarationGrid_DXMainTable {
    text-align: center;
}

/*assure line height even if no icon is set in Declaration view*/
.lineHeightGuidance {
    height: 40px;
}

td[id^="declarationGridRO_"] {
    /*border: green 3px solid !important;*/
    background-image: linear-gradient(white, #c3e8d6);
    border-left: none !important;
}


.alignR input {
    text-align: right;
}

/** Images */
#valorluxLogo {
    display: inline-block;
    height: 25px;
    padding-bottom: 8px;
    border-bottom: 15px;
    margin-bottom: 15px;
    transition: 0.2s;
}


.valbaseGrid {
    font-size: 12px;
}

.error-icon {
    color: red;
    padding-left: 45%;
}

.iconAdjustDecT {
    padding-right: 10px !important;
    padding-left: 10px !important;
}

.iconAdjustProT {
    padding-right: 8px !important;
    padding-left: 8px !important;
}


/** Specific elements **/
#protectedProductInfoBox {
    color: red;
    width: 100%;
    padding: 15px;
    text-align: center;
    border: 1px solid green;
    border-radius: 5px;
    background-color: white;
}

/** popup element placement and adjustments */
.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.floatLeft, floatRight {
    border-top: 50px;
}

/* Dev elements */
.devTag {
    color: darkred !important;
    border-radius: 8px;
}

.devTag:hover {
    border-radius: 10px !important;
    background-image: radial-gradient(closest-side, white, white, darkred);
}


/* Disclaimer bootstrap override */
.navbar-right > .btn-info:hover {
    color: white !important;
}

.navbar-right > .btn-success:hover {
    background-color: green !important;
}


/* Z index adaptation */
.zindexBoost {
    z-index: 99 !important;
}

/* index notice conditioning */
.red {
    color: red;
}

.green {
    color: green;
}

.fa-disabled {
    opacity: 0.6;
}

/*Bootstrap 5 borrowed method*/
.border-2 {
    border-width: 2px !important;
}

.border-3 {
    border-width: 3px !important;
}

.border-4 {
    border-width: 4px !important;
}

/* PhoneInput customisation */
.PhoneInputInput {
    border: none;
    background: none;
}

:root {
    --mantine-scale: 1; /* Vous pouvez ajuster cette valeur selon vos besoins */
}

.phone-input {
    border: calc(0.0625rem * var(--mantine-scale)) solid rgb(206, 212, 218);
    padding: calc(0.5rem * var(--mantine-scale));
    border-radius: calc(0.25rem * 1);
}

.phone-input-error {
    border: calc(0.0625rem * var(--mantine-scale)) solid red;
    padding: calc(0.5rem * var(--mantine-scale));
    border-radius: calc(0.25rem * 1);
}

.PhoneInputCountryIcon.PhoneInputCountryIcon--border svg {
    margin-bottom: 20px;
}

h1 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: normal;
}

h2 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: normal;
}

h3 {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: normal;
}

h4 {
    font-size: 1rem;
    line-height: 1.75rem;
}

h5 {
    font-size: 0.875rem;
    line-height: 1.75rem;
}

h6 {
    font-size: 0.75rem;
    line-height: 1.75rem;
}
