@import "./global.variables.scss";

// :root {
//     --primary: #ff0000;
//     --primary-hover: #cc0000;
//     --white: #f4f4f4;
//     --secondary: #434343;
//     --black: #272727;
//     --very-light-pink: #e1e1e1;
//     --brown-grey: #979797;
//     --success: #a4e600;
//     --disable: #C1C1C2;
//     --text-error-color: #ff0000
// }

html {
      font-family: "Roboto !important";
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.font-family-euclid {
      font-family: "Roboto !important";
}

body {
    margin: 0;
}

.container {
    padding-right: 15px;
    padding-left: 9px;
    margin-right: auto;
    margin-left: auto;
}

.form-control {
    display: block;
    // width: 100%;
    // height: 40px;
    padding: 12px 16px;
    font-size: 14px;
    // line-height: 1.42857143;
    color: #000000;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid var(--very-light-pink);
    //  border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    min-width: 40px;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.form-control::-moz-placeholder {
    color: #999999;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #999999;
}

.form-control::-webkit-input-placeholder {
    color: #999999;
}

.form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}

.form-control[disabled],
fieldset[disabled] .form-control {
    background-color: #eeeeee;
    opacity: 1;
}

.form-control[readonly] {
    // background-color: #eeeeee;
    opacity: 1;
    cursor: default;
}

.form-control[disabled],
fieldset[disabled] .form-control {
    cursor: not-allowed;
}

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.navbar-fixed-top,
.navbar-fixed-bottom {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
    max-height: 340px;
}

.navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
}

.container>.navbar-header,
.container-fluid>.navbar-header,
.container>.navbar-collapse,
.container-fluid>.navbar-collapse {
    margin-right: -15px;
    margin-left: -15px;
}

.navbar-brand {
    float: left;
    height: 50px;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
    margin-left: 24px;
}

.navbar-brand:hover,
.navbar-brand:focus {
    text-decoration: none;
}

.navbar-brand>img {
    display: block;
}

.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
      font-family: "Roboto !important";
    font-style: normal;
    font-weight: 400;
    line-height: 1.42857143;
    line-break: auto;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    word-wrap: normal;
    white-space: normal;
    font-size: 12px;
    filter: alpha(opacity=0);
    opacity: 0;
}

.container:before,
.container:after,
.navbar:before,
.navbar:after {
    display: table;
    content: " ";
}

.container:after,
.container-fluid:after,
.navbar:after {
    clear: both;
}

.display-grid {
    display: grid;
    //   grid-template-columns: auto;
}

.no-outline {
    outline: 0 !important;
}

.title-label {
      font-family: "Roboto !important";
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 14px;
    letter-spacing: normal;
    color: #272727;
}

.value-label {
      font-family: "Roboto !important";
    font-size: 16px;
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
    line-height: 24px;
    letter-spacing: normal;
    color: #272727;
}

.pr-24 {
    padding-right: 24px;
}

.complex-option-div {
    display: inline-grid;
      font-family: "Roboto !important";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;

}

.complex-parent-div {
    display: inline-flex;
}

.option-description {
    font-size: 10px;
    margin-bottom: 1px;
    padding-top: 4px;
}

.custom-icon {
    width: 14px;
}

.checkbox-custom {
    display: none;
}

.checkbox-custom-label {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin: 5px;
    margin-left: 9px !important;
    cursor: pointer;
}

.checkbox-custom+.checkbox-custom-label:before {
    content: "";
    background: #fff;
    border-radius: 2.5px;
    border: 1px solid #666;
    display: inline-block;
    vertical-align: -webkit-baseline-middle;
    width: 7.5px;
    height: 7px;
    padding: 2px;
    margin-right: 10px;
    text-align: center;
}

.checkbox-custom:checked+.checkbox-custom-label:after {
    content: "";
    text-align: center;
    position: absolute;
    width: 2px;
    height: 7px;
    border: solid black;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    top: 10.5px;
    left: 5px;
}

label.checkbox-custom-label {
    position: relative;
    cursor: pointer;
}

input[type="checkbox"i]:focus {
    outline: 0;
}

.bold {
    font-weight: bold;
}

.color-dim {
    color: #999999;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.right-0 {
    right: 0;
}

.top-0 {
    top: 0;
}

/******* color classes *******/
.bg-white {
    background-color: #ffffff;
}

/***** margins *****/

.m-4 {
    margin: 4px;
}

.mr-4 {
    margin-right: 4px;
}

.ml-4 {
    margin-left: 4px;
}

.mt-4 {
    margin-top: 4px;
}

.mb-4 {
    margin-bottom: 4px;
}

.mb-40 {
    margin-bottom: 40px;
}

/**********padding********/

.pt-8 {
    padding-top: 8px;
}

.pt-16 {
    padding-top: 16px;
}

.pt-24 {
    padding-top: 24px;
}

.pt-32 {
    padding-top: 32px;
}

/**** flexbox ******/

.flex {
    display: flex;
    flex: 1;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.justify-center {
    justify-content: center;
}

.content-stretch {
    align-content: stretch;
}

.content-center {
    align-content: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.pl-16 {
    padding-left: 16px;
}

/* custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--very-light-pink);
    border-radius: 4px;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #acacac;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid var(--primary);
    width: 100px;
    height: 100px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    /* position the top  edge of the element at the middle of the parent */
    left: 45%;
    /* position the left edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}