@import "./template.css";
@import "../fonts/fonts.css";

html, body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--theme-body-font-family);
    font-size: var(--theme-body-font-size);
    font-weight: var(--theme-body-font-weight);
    line-height: var(--theme-body-line-height);
    color: var(--theme-body-color);
    background-color: var(--theme-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);    
}

*,
*::before,
*::after {
    box-sizing: border-box
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: var(--theme-border-width) solid;
    opacity: .25
}

body.fade-out {
    opacity: 0;
    transition: none;
    background-color: #ffffff;
}

.bg-comepartecipare {
    background-color: var(--theme-bg-comepartecipare)!important;
}

.bg-form {
    background-color: var(--theme-bg-form)!important;
}

.bg-premi {
    background-color: var(--theme-bg-premi)!important;
}

.bg-prodotti {
    background-color: var(--theme-bg-prodotti)!important;
}

.height100 {
    height: 100%;
}

.letter-spacing {
    letter-spacing: 1px;
}

section {
    padding: 0;
    position: relative;
}

button:focus {
    outline: none;
}

.pre-line {
    white-space: pre-line;
    font-size: 0.9rem;
}

.transform-none {
    text-transform: none;
}

.font-weight-300 {
    font-weight: 300;
}

/* Font Weight */

.font-weight-400 {
    font-weight: 400;
}

.font-weight-500 {
    font-weight: 500;
}

.font-weight-600 {
    font-weight: 600;
}

.font-weight-800 {
    font-weight: 800;
}

.font-weight-900 {
    font-weight: 900;
}

.line-height-xs {
    line-height: 1rem;
}

.line-height-sm {
    line-height: 1.2rem;
}

.line-height-md {
    line-height: 1.4rem;
}

.line-height-lg {
    line-height: 1.6rem;
}

.line-height-xl {
    line-height: 1.8rem;
}

/*   Fine Line Height   */

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 0;
    line-height: 1;
}

p {
    font-size: 1rem;
}

a {
    color: var(--theme-body-link-color);
    text-decoration: underline;
}

a:hover,
a:focus,
a:active {
    outline: 0;
    /*color: var(--theme-body-link-color);*/
    color: inherit;
    text-decoration: none;
}

.img-centered {
    margin: 0 auto;
}

.fixed-width {
    width: 30rem;
    max-width: 90%;
}

.btn {
    display: inline-block;
    padding: var(--theme-btn-padding-y) var(--theme-btn-padding-x);
    font-family: var(--theme-btn-font-family);
    font-size: var(--theme-btn-font-size);
    font-weight: var(--theme-btn-font-weight);
    line-height: var(--theme-btn-line-height);
    color: var(--theme-btn-color);
    border-radius: var(--theme-btn-border-radius);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--theme-btn-border-width) solid var(--theme-btn-border-color);
    background-color: var(--theme-btn-bg);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.btn:hover {
    color: var(--theme-btn-color)!important;
    border: var(--theme-btn-border-width) solid var(--theme-btn-hover-border-color);
    background-color: var(--theme-btn-bg);
}

.btn:active {
    color: var(--theme-btn-color)!important;
    border: var(--theme-btn-border-width) solid var(--theme-btn-hover-border-color);
}

.btn:focus {
    color: var(--theme-btn-color)!important;
    border: var(--theme-btn-border-width) solid var(--theme-btn-hover-border-color);
}

.btn4 {
    background-color: #C8D400;
    color: #00624A;
}

.btn4:hover {
    background-color: #C8D400;
    color: #00624A!important;
}

.btn2 {
    display: inline-block;
    padding: var(--theme-btn-padding-y) var(--theme-btn-padding-x);
    font-family: var(--theme-btn-font-family);
    font-size: var(--theme-btn-font-size);
    font-weight: var(--theme-btn-font-weight);
    line-height: var(--theme-btn-line-height);
    color: #00624A;
    border-radius: var(--theme-btn-border-radius);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--theme-btn-border-width) solid #C8D400;
    background-color: #C8D400;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.btn2:hover {
    color: #00624A!important;
    border: var(--theme-btn-border-width) solid #C8D400;
    background-color: #C8D400;
}

.btn2:active {
    color: #00624A!important;
    border: var(--theme-btn-border-width) solid #C8D400; 
}

.btn2:focus {
    color: #00624A!important;
    border: var(--theme-btn-border-width) solid #C8D400; 
}

.btn3 {
    display: inline-block;
    padding: var(--theme-btn-padding-y) var(--theme-btn-padding-x);
    font-family: var(--theme-btn-font-family);
    font-size: var(--theme-btn-font-size);
    font-weight: var(--theme-btn-font-weight);
    line-height: var(--theme-btn-line-height);
    color: #00624A;
    border-radius: var(--theme-btn-border-radius);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--theme-btn-border-width) solid #00624A;
    background-color: #ffffff;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.btn3:hover {
    color: #00624A!important;
    border: var(--theme-btn-border-width) solid #00624A;
    background-color: #ffffff;
}

.btn3:active {
    color: #00624A!important;
    border: var(--theme-btn-border-width) solid #C8D400; 
}

.btn3:focus {
    color: #00624A!important;
    border: var(--theme-btn-border-width) solid #C8D400; 
}

.titolo {
    font-family: var(--theme-title-font-family);
    font-weight: var(--theme-title-font-weight);
    font-size: var(--theme-title-font-size);
    color: var(--theme-title-color);
}

.sottotitolo {
    font-family: var(--theme-subtitle-font-family);
    font-weight: var(--theme-subtitle-font-weight);
    font-size: var(--theme-subtitle-font-size);
    color: var(--theme-subtitle-color);
}

.scroll-to-top {
    z-index: 1042;
    right: 1rem;
    bottom: 1rem;
    display: none;
}

.scroll-to-top a {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(33, 37, 41, 0.5);
    line-height: 3.1rem;
}

.close {
    position: absolute;
    right: 1rem;
    top: 0;
    opacity: 1;
    font-size: 3rem;
}

.errored {
    display: none;
    color: #ffffff;
    background-color: #e10000;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    width: 100%;
}

/*
.sfondo_fisso01{
    background-image: url(../img/sfondo.jpg);
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
    background-size: cover;
}

.sfondo_fisso02 {
    background-image: url(../img/bg_meccanica.png);
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}

.background {
  background-image: url("../img/background.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
*/
/* evito che safari colori automaticamente i numeri che riconosce come link telefono */
a[href^=tel] {
text-decoration:inherit;
color: inherit;
}

.navbar-brand-image {
    max-height: 80px;
}

#regolamento {
    scroll-margin-top: 20vh;
}

.punteggiatura {
    display: inline-block;
}

.visibility {
    visibility: hidden;
    display: inline-block;
}

.text-grey {
    color: #747474;
}


#esempioModale .modal-body {
    font-family: var(--theme-body-font-family);
    background-color: #00624A;
    color: #ffffff;
}
#esempioModale .btn-close {
    filter: invert(1); /* Rende la X di chiusura bianca */
}

.text-underline {
    text-decoration: underline;
}

.text-bold {
    font-family: var(--theme-title-font-family);
}

.border-grey {
    border: 1px solid #D9D9D9;
}

.btn:focus, .btn:active {
    outline: none !important;
    box-shadow: none !important;
}