
:root {
    --BorderWidh: 0px;
    --ViewHeight: 100vh;
}

.ViewHeight {
    height: var(--ViewHeight);
}

.Border {
    border: var(--BorderWidh) solid black;
}



@font-face {
    font-family: 'SpecialElite';
    src: url('/font/special-elite-v20-latin-regular.woff2') format('woff2');
    /*src: url('/font/SpecialElite-Regular.ttf') format('truetype');*/
}

/*special-elite-regular - latin 
@font-face {
    font-display: swap;  Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. 
    font-family: 'Special Elite';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/special-elite-v20-latin-regular.woff2') format('woff2');  Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ 
}*/


html, body {
    font-size: 80%;
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow: auto;
    background-color: white;
    opacity: 1;
    z-index: 0;
    box-sizing: border-box;
}

.View {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 0px;
    left: 0px;
    margin: 0px;
    padding: 0px;
    width: 100%;
    overflow: hidden;
    background-color: white;
    opacity: 1;
    z-index: 0;
    box-sizing: border-box;
}

input[type="checkbox"]:focus {
    outline-color: white;
    outline-style: solid;
    outline-width: 2px;
}


/* DESKTOP */
@media screen and (min-width: 801px) {

    .RelDiv {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-grow: 1;
        overflow: hidden;
        box-sizing: border-box;
    }

    .Logo {
        width: 50%;
    }

    .LibroDiv {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-grow: 1;
        overflow: hidden;
        width: 50%;
        border: 1px solid black;
    }

    .TextBoxDiv {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-grow: 1;
        width: 30%;
        height: calc((var(--ViewHeight) / 100)*3);
        min-height: max-content;
        overflow: hidden;
        box-sizing: border-box;
        border: 0px solid red;
    }

    .DataInterlinea {
        height: calc((var(--ViewHeight) / 100)*1.5);
    }

    .MailLabel {
        align-items: flex-start;
        font-family: 'SpecialElite';
        font-size: 1.5vmin;
        font-weight: bold;
        border: 0px solid red;
        color:darkred;
    }

    .TextBox {
        width: 100%;
        height: 100%;
        font-size: 2vmin;
        min-height: max-content;
        box-sizing: border-box;
    }

    .TextAreaDiv {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        max-width: 800px;
        height: 200px;
        overflow: hidden;
        box-sizing: border-box;
        border: 0px solid red;
    }

    .DataDiv {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-grow: 1;
        width: 30%;
        height: calc((var(--ViewHeight) / 100)*3);
        min-height: max-content;
        overflow: hidden;
        box-sizing: border-box;
        border: 0px solid red;
    }

    .DataLabel {
        display: flex;
        flex-direction: column;
        /*width: 30%;*/
        min-width: max-content;
        height: 100%;
        font-family: 'SpecialElite';
        font-size: 2vmin;
        font-weight: bold;
        justify-content: center;
        min-height: max-content;
        margin-left: 1%;
        box-sizing: border-box;
        border: 0px solid red;
        cursor: default;
    }

    .Data {
        /*width: 50%;*/
        min-width: max-content;
        height: 100%;
        font-family: 'SpecialElite';
        font-size: 2vmin;
        margin-left: 2%;
        min-height: max-content;
        box-sizing: border-box;
    }

    .Index {
        font-family: 'SpecialElite';
        font-size: 3vmin;
        font-weight: bold;
        cursor: default;
    }

    .InvitoLabelDiv {
        font-family: 'SpecialElite';
        font-size: 2vmin;
        font-weight: bold;
        cursor: default;
    }

    .InvitoRadioDiv {
        width: 30%;
    }

    .ButtonSize {
        font-size: 4vmin;
    }
}

/* MOBILE */
@media screen and (max-width: 800px) {

    .RelDiv {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-grow: 1;
        overflow: hidden;
    }

    .Logo {
        width: 80%;
    }

    .LibroDiv {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-grow: 1;
        overflow: hidden;
        width: 80%;
        border: 1px solid black;
    }
    

    .TextBoxDiv {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-grow: 1;
        width: 80%;
        height: calc((var(--ViewHeight) / 100)*5);
        min-height: max-content;
        overflow: hidden;
        box-sizing: border-box;
        border: 0px solid red;
    }

    .DataInterlinea {
        height: calc((var(--ViewHeight) / 100)*0);
    }

    .MailLabel {
        align-items: flex-start;
        font-family: 'SpecialElite';
        font-size: 2.6vmin;
        font-weight: bold;
        border: 0px solid red;
        color: darkred;
    }

    .TextBox {
        width: 100%;
        height: 100%;
        font-size: 6vmin;
        min-height: max-content;
        box-sizing: border-box;
    }

    .TextAreaDiv {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        height: 200px;
        overflow: hidden;
        box-sizing: border-box;
        border: 0px solid red;
    }

    .DataDiv {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-grow: 1;
        width: 80%;
        height: calc((var(--ViewHeight) / 100)*5);
        min-height: max-content;
        overflow: hidden;
        box-sizing: border-box;
        border: 0px solid red;
    }

    .DataLabel {
        display: flex;
        flex-direction: column;
        /*width: 30%;*/
        min-width: max-content;
        height: 100%;
        font-family: 'SpecialElite';
        font-size: 5vmin;
        font-weight: bold;
        justify-content: center;
        min-height: max-content;
        margin-left: 1%;
        box-sizing: border-box;
        border: 0px solid red;
        cursor: default;
    }

    .Data {
        width: 30%;
        min-width: max-content;
        height: 100%;
        font-family: 'SpecialElite';
        font-size: 6vmin;
        margin-left: 2%;
        min-height: max-content;
        box-sizing: border-box;
    }

    .Index {
        font-family: 'SpecialElite';
        font-size: 4vmin;
        font-weight: bold;
        cursor: default;
    }

    .InvitoLabelDiv {
        font-family: 'SpecialElite';
        font-size: 3vmin;
        font-weight: bold;
        cursor: default;
    }

    .InvitoRadioDiv {
        width: 80%;
    }

    .ButtonSize {
        font-size: 6vmin;
    }
}


/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/