/* CSS Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

body {
    line-height: 1;
}

/* Remove default list styles */
ol,
ul {
    list-style: none;
}

/* Remove quotes from blockquotes and q elements */
blockquote,
q {
    quotes: none;
}

/* Remove table border spacing */
table {
    border-collapse: collapse;
    border-spacing: 0;
}


/*---------- Dashboard styles ----------*/
/* Define CSS variables in the :root selector */
:root {
    /*--------- define plugin style variable ---------*/
    --asi-wp-font-family: Arial, sans-serif;

    --asi-wp-border-radius : 5px;

    /*--------- define project style variable ---------*/
    --asi-wp-project-item-name-font-size: 1em;
    --asi-wp-project-item-footer-font-size: 1em;

    /*--------- define sidebar menu style variable ---------*/
    --asi-wp-menu-color-background: #393f4c;
    --asi-wp-menu-item-color-background-active: #595e6c;
    --asi-wp-menu-item-color-background-hover: #34495e;
    --asi-wp-menu-item-size-text: 1em;
    --asi-wp-menu-item-font-family: Arial, sans-serif;

    /*--------- define header style variable ---------*/
    --asi-wp-header-height: 34px;

    /*--------- define group button style variable ---------*/
    --asi-wp-button-size-text: 1em;
    --asi-wp-button-font-family: Arial, sans-serif;

    --asi-wp-grp-button-color-border: #393f4c;
    --asi-wp-grp-button-color-text: #393f4c;
    --asi-wp-grp-button-color-background: #fff;

    --asi-wp-grp-button-color-border-hover: #393f4c;
    --asi-wp-grp-button-color-text-hover: #fff;
    --asi-wp-grp-button-color-background-hover: #393f4c;

    --asi-wp-grp-button-color-border-active: #393f4c;
    --asi-wp-grp-button-color-text-active: #0f58c5;
    --asi-wp-grp-button-color-background-active: #fff;

    /*--------- define button style variable ---------*/
    --asi-wp-button-color-border: #393f4c;
    --asi-wp-button-color-text: #393f4c;
    --asi-wp-button-color-background: #fff;

    --asi-wp-button-color-border-hover: #393f4c;
    --asi-wp-button-color-text-hover: #fff;
    --asi-wp-button-color-background-hover: #393f4c;

    --asi-wp-button-color-border-active: #393f4c;
    --asi-wp-button-color-text-active: #0f58c5;
    --asi-wp-button-color-background-active: #fff;

}

body {
    font-family: Arial, sans-serif !important;
}
.wrapper{
    display: flex;
    align-items: stretch;
    padding: 0px 0px !important;
}
input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: var(--asi-wp-border-radius) !important;
    outline: none;
}
.form-control:focus {   
    border-color:var(--asi-wp-grp-button-color-text-active) !important;
    box-shadow: 0 0 0 .05rem rgba(13, 110, 253, .25) !important ;
}
.form-floating label {
    left: 10px;
    color: #aaa;
}

/* Move label to the top when input is focused or has content */
select:focus + label,
select:not([value=""]) + label,
input:focus + label,
input:not(:placeholder-shown) + label {
    top: -20px;
    left: 5px;
    font-size: 12px;
    color: #555;
}
.form-control-error {   
    border-color: #dc3545 !important;
    /* box-shadow: 0 0 0 .05rem rgba(0, 0, 0, 0.15) !important ; */
}
.iti{
    border: none;
    z-index: 3;
    width: 100%;
}
.iti .form-control{
    padding: 1rem .75rem;
    width: 100%;
    height: calc(3.5rem + calc(var(--bs-border-width)* 2));
    min-height: calc(3.5rem + calc(var(--bs-border-width)* 2));
    line-height: 1.25;    
    /* border: 1px solid  #d2d2d2; */
    border-radius: 0.5rem;
}
.form-floating.form-phone
.label-phone{
    z-index: 3;
    left: 12px;
    position: absolute;
    font-size: 16px;    
    background-color: white;
    transform: translateY(-50%);
    padding: 0 4px;    
    height: fit-content;
}
