/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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,
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,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  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,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/** project fonts OpenSans  */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf")
    format("truetype");
  font-weight: 100 900; /* copre tutti i pesi se è un Variable Font */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans SemiBold";
  src: url("../fonts/Open_Sans/static/OpenSans-SemiBold.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Medium";
  src: url("../fonts/Open_Sans/static/OpenSans-Medium.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Regular";
  src: url("../fonts/Open_Sans/static/OpenSans-Regular.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Bold";
  src: url("../fonts/Open_Sans/static/OpenSans-Bold.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/** project fonts NotoSerif */
@font-face {
  font-family: "Noto Serif";
  src: url("../fonts/Noto_Serif/NotoSerif-VariableFont_wdth,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif";
  src: url("../fonts/Noto_Serif/NotoSerif-Italic-VariableFont_wdth,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif Bold";
  src: url("../fonts/Noto_Serif/static/NotoSerif-Bold.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif Medium";
  src: url("../fonts/Noto_Serif/static/NotoSerif-Medium.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif Regular";
  src: url("../fonts/Noto_Serif/static/NotoSerif-Regular.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/** main var */
:root {
  --rmkTextColor001: #696969;
  --rmkTextColor002: #e2e2e2;
  --rmkTextColor003: #00158d;
  --rmkTextColor004: #ffffff;
  --rmkTextColor005: #000000;
  --rmkTextColor006: #7c7c7c;
  --sizeIcons: 20px;
}

:focus {
  outline: none !important;
  box-shadow: none !important;
}

/** utility */
.rmkTextColor001 {
  color: var(--rmkTextColor001) !important;
}
.rmkTextColor002 {
  color: var(--rmkTextColor002) !important;
}

.rmkTextColor003 {
  color: var(--rmkTextColor003) !important;
}

.rmkTextColor004 {
  color: var(--rmkTextColor004) !important;
}

.rmkTextColor005 {
  color: var(--rmkTextColor005) !important;
}

.rmkBgColor003 {
  background-color: var(--rmkTextColor003) !important;
}

.rmkBgColor004 {
  background-color: var(--rmkTextColor004) !important;
}

/** font family */

.textOpenSansBold {
  font-family: "Open Sans Bold" !important;
}

.textOpenSansSemiBold {
  font-family: "Open Sans SemiBold" !important;
}

.textOpenSansMedium {
  font-family: "Open Sans Medium" !important;
}

.textOpenSansRegular {
  font-family: "Open Sans Regular" !important;
}

.textNotoSerifBold {
  font-family: "Noto Serif Bold" !important;
}

.textNotoSerifMedium {
  font-family: "Noto Serif Medium" !important;
}

.textNotoSerifRegular {
  font-family: "Noto Serif Regular" !important;
}

.fs-7 {
  font-size: 14px !important;
}

.fs-8 {
  font-size: 15px !important;
}

.fs-9 {
  font-size: 26px !important;
}

.fs-10 {
  font-size: 28px !important;
}

.lh-1_8 {
  line-height: 1.8 !important;
}

.w-33 {
  width: 33.3333%;
}

@media (min-width: 768px) {
  .w-md-33 {
    width: 33.3333%;
  }
}

button {
  outline: none;
  appearance: button;
  -moz-appearance: button;
  -webkit-appearance: button;
}

textarea {
  outline: none;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

input:not([type="checkbox"]):not([type="radio"]) {
  outline: none;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

/*************************************/

html,
body,
.offcanvas {
  touch-action: pan-y;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 19px;
  color: #212121;
  text-rendering: optimizeLegibility;
  background-color: #ffffff !important;
}

.footer {
  background-color: var(--rmkTextColor003) !important;
  color: var(--rmkTextColor002) !important;
}

.copyright {
  color: #afafaf !important;
}

.sectionTitle {
  margin: 0;
  padding: 0;
  border-bottom: 3px solid var(--rmkTextColor003);
  margin-bottom: 6px;
}

.sectionTitle > p {
  margin: 0;
  padding: 4px 12px;
  font-family: "Open Sans SemiBold" !important;
  font-size: 16px;
  color: var(--rmkTextColor004);
  background-color: var(--rmkTextColor003);
  max-width: fit-content;
}

.sectionSubTitle {
  margin: 0;
  padding: 0;
  font-size: 18px;
  margin-bottom: 6px;
  font-family: "Open Sans SemiBold" !important;
}

.sectionTitleOffCanvas {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--rmkTextColor003);
  margin-bottom: 4px;
}

.sectionTitleOffCanvas > p {
  margin: 0;
  padding: 3px 12px;
  font-family: "Open Sans SemiBold" !important;
  font-size: 14px;
  color: var(--rmkTextColor004);
  background-color: var(--rmkTextColor003);
  max-width: fit-content;
}

.video-js-live {
  position: unset !important;
}

/** back to top button */
.btn-back-to-top {
  position: fixed;
  bottom: 65px;
  right: 56px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background-color: var(--rmkTextColor003);
  color: var(--rmkTextColor002);
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
  z-index: 999;
}

@media (max-width: 768px) {
  .btn-back-to-top {
    right: 22px;
  }
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-to-top:hover {
  background-color: var(--rmkTextColor003);
  color: var(--rmkTextColor002);
  transform: translateY(-3px);
}

/** pagination */
.pagination .page-link {
  color: var(--rmkTextColor003);
  font-family: "Open Sans SemiBold" !important;
  font-size: 16px;
  background-color: transparent;
  border-color: var(--rmkTextColor003);
}
.pagination .page-link:hover {
  background-color: var(--rmkTextColor003);
  border-color: var(--rmkTextColor003);
  color: var(--rmkTextColor002);
}

.pagination .page-item.active .page-link {
  background-color: var(--rmkTextColor003);
  border-color: var(--rmkTextColor003);
  color: var(--rmkTextColor002);
}

.rmkSliderCaption {
  background-color: color-mix(
    in srgb,
    var(--rmkTextColor003) 75%,
    transparent
  ) !important;
  color: var(--rmkTextColor002) !important;
  text-align: left !important;
  right: 24px !important;
  left: 24px !important;
  border-radius: 12px;
  padding: 10px;
}

/* Consenti lo scroll verticale, ma permetti swipe orizzontale */
.offcanvas {
  touch-action: pan-y;
}

.cursorPointer {
  cursor: pointer;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}
