
/* === VARIABILI === */

:root {

  /* Tonalità colore principale */
  --primaryColor100: #e0f7f9;
  --primaryColor200: #b3e7eb;
  --primaryColor300: #4db7c2;
  --primaryColor400: #097987; /* Colore principale */
  --primaryColor500: #076671;
  --primaryColor600: #05515a;
  --primaryColor700: #043f47;
  --primaryColor800: #032f35;
  --primaryColor900: #021f22;

  --primaryColor600-20: #05515aDD; 


  /* Tonalità grigio */
  --colorGrey100: #f9fafb;
  --colorGrey200: #f3f4f6;
  --colorGrey300: #e5e7eb;
  --colorGrey400: #d1d5db;
  --colorGrey500: #9ca3af;
  --colorGrey600: #6b7280;
  --colorGrey700: #4b5563;
  --colorGrey800: #374151;
  --colorGrey900: #1f2937;
  
  
--primaryColor: var(--primaryColor400);
--primarydarkColor: var(--primaryColor600);

--lightGrey: var(--colorGrey200);
--lightmediumGrey: var(--colorGrey400);
--regularGrey: var(--colorGrey600);
--textColor: var(--colorGrey900);

--text-font-size: 1.1em;

  
}



html .css-wait {
    visibility: visible !important;
    
}


/* === RESET === */

*::before,
*::after {
    box-sizing:border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin:0;
    padding:0;
}



* {
    box-sizing:border-box;
    margin:0;
    padding:0;
}


img,
picture,
video,
canvas {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}



/* Leaflet fix: non ereditare max-width/height dalle immagini globali */
.leaflet-container img,
.leaflet-container .leaflet-pane img,
.leaflet-tile {
  max-width: none !important;
  max-height: none !important;
}





/* === ELEMENTI  === */

figure {
    margin: 0;
    width:100%;
}

figure img {
    width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}


ul,ol {
    margin-left:2em;
}


a {
    color: var(--primaryColor);
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    color: var(--primaryColor600);
    text-decoration: underline;
}

button {
    font-size: .7em;
    padding: .2em 1.5em 0;
    line-height: 2.5em;
    border-radius: 1.25em;
    color: #FFF;
    text-align:center;
    text-transform: uppercase;
    background-color: var(--primaryColor);
    border: none;
    cursor:pointer;
}

button:hover {
    background-color: var(--primaryColor300);
}
            

input,
input:hover,
input:focus,
input:active {
  border: 1px solid var(--primaryColor400);
  outline: none;
  box-shadow: none;
  background: #fff;
}

input[type=search],
input[type=text],
input[type=date] {
    padding: .3em .5em;
    border:1px solid var(--primaryColor400);
    border-radius:5px;
    outline: none !important;
    box-shadow: none !important;
}

input[type=search],
input[type=text] {
    width:100%;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--primaryColor);
}


.left {
    text-align:left;
}

.right {
    text-align:right;
}

.center {
    text-align:center;
}

b {
    font-weight: 600;
}

strong {
    font-weight: 700;
}

.extrastrong {
    font-weight: 900;
}






html {
  /*font-size: calc(60% + 0.8vmin);*/
}


body {
    /*font-family: 'Open Sans', sans-serif;*/
    font-family: "Lato",sans-serif;
    font-size: 1rem;
    line-height:150%;
    margin:0;
    color: var(--textColor);
    font-weight:300;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
}

body.loading::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

body.loading::after {
  content: "⏳"; /* oppure un'animazione con @keyframes */
  font-size: 3em;
  color: white;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}


.container {
    width:100%;
    max-width: 1400px;
    margin: auto;
    padding: 0 50px;
}


/* === HEADER === */

header {
    /*position:fixed;*/
    height:100px;
    width:100%;
    display:flex;
    justify-content: space-between;
    background-color: var(--primaryColor);
    box-shadow: 5px 0px 15px rgba(0,0,0,.5);
    overflow: hidden;
    z-index:10000;
}

header .issn-registrazione {
    color: #FFF;
    text-align: right;
    padding: 25px;
    font-size: .7em;
    line-height: 1.4;
    font-weight: 400;
}

header .logo {
    height: 80px;
}



/* === NAV === */

nav {
    /*flex:1;*/
    position: relative;
    background-color: var(--primaryColor600);
    margin-bottom: 1px;
    height: 40px;
    text-align:right;
    padding:0 25px;
}

nav ul {
    list-style:none;
    margin: 0;
}

nav li {
    display:inline-block
}

nav a,
.open-menu {
    display:block;
    color:#FFF;
    font-size: .9em;
    padding: 0 1em;
    height: 40px;
    text-decoration: none;
    font-weight: 500;
    line-height:40px;
    text-align:center;
    text-transform:uppercase;
    transition: ALL .3s ease;
}

nav a:hover,
.open-menu:hover {
    background-color: var(--primaryColor400);
    text-decoration: none;
    color: #FFF !important;
}

nav .menuvoci {
    display:none;
    position: absolute;
    width:100%;
    top: 100%;
    left: 50%;
    padding: 25px;
    transform: translateX(-50%);
    /*background-color: var(--colorGrey300);*/
    background-color: var(--primaryColor600-20);
    z-index:100000;

}

nav .menuvoci .categories-list {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 5px;
}
nav .menuvoci a {
    display: block;
    padding: .5em 1em;
    background-color: var(--colorGrey100);
     background-color: var(--primaryColor400);
     color:#FFF;
     font-size: .9em;
     line-height: 1.4em;
     font-weight:600;
    /*color: var(--colorGrey800);*/
    border-radius:5px;
}

nav .menuvoci a:hover {
    background-color: var(--colorGrey200);
    background-color: var(--primaryColor300);
    text-decoration:none;
    transition: ALL .5s ease;
}
nav .menuvoci.active {
    display:block;
    cursor:pointer;
}

.open-menu {
    display:none;
    cursor:pointer;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}


footer {
    margin-top: 100px;
    min-height: 300px;
    background-color: var(--primaryColor400);
    color:#FFF;
    padding: 25px 0 50px 0;
    color: #FFF;
}

footer a {
    color: #FFF !important;
}


/*=== GO TOP ===*/

#gotop {
    display: none;
    background-color: rgba(0, 0, 0, .3);
    color: #FFF;
    position: fixed;
    right: 50px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
}

#gotop::before {
    content: "";
    width: 20px;
    height: 20px;
    border-left: 5px solid white;
    border-bottom: 5px solid white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -35%) rotate(135deg);
    transition: background 1s ease;
}


.heading {
    background-color: var(--primaryColor600);
}
.wrapper-slider {
    margin-left: 110px;
    position: relative;
}
.slide {
    background-color: var(--primaryColor600);
    color: #FFF;
    display:flex;
}

.slide a {
    color:#FFF;
}

.slide-header {
    padding: 25px 25px 25px 135px;
    width: 600px;
    align-self: end;
}
.slide-image {
    flex: 1;
    background-position: center center;
    background-size: cover;
}


.articles-list {
    display:flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}


#moreinsert {
    width: 100%;
    text-align:center;
    font-size: 1.5em;
}

.articles-list	article {
    text-align: left;
    flex: 0 1 calc((100% - 60px) / 3); 
}

.article-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    margin-bottom: 2em;
}

.article-image img {		
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: var(--colorGrey200);
}

article .title {
    font-size: 1.5em;
    letter-spacing: -.008em;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: .3em;
}


article .article-meta {
    display:flex;
    flex-wrap: wrap;
    column-gap: 25px;
    justify-content: space-between;
}


article .date {
    flex:1;
    font-size: .8em;
    text-align:right;
    font-weight: 600;
    white-space: nowrap;
    /*margin-top: .3em;*/
}

article .summary {
    margin-top: .3em;
}

article .article-image a.voce {
    display: block;
    position: absolute;
    left: -1em;
    bottom: -1em;
    font-size: .8em;
}

a.voce {
    display:inline-block;
    background: var(--primaryColor400);
    color: #FFF;
    padding: .2em 1em 0em 1em;
    line-height: 2em;
    border-radius:1.5em;
    box-shadow: 3px 3px 5px rgba(0,0,0,.2);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    transition: all 1s ease-in;
}

a.voce:hover {
    background: var(--primaryColor600);
    text-decoration:none;
}

.slide-header a.voce {
    position: relative;
    top: -1em;
    left: -1em;
}

.slide-header .title {
    font-size: 2em;
    margin-bottom: .5em;
    margin-top: .5em;
}



/* contenitore .heading deve essere position:relative o avere stacking context utile */
.heading { position: relative; }

/* frecce */
.sl-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; background: rgba(0,0,0,.35); color:#fff;
  border: none; width: 44px; height: 44px; border-radius: 999px;line-height: 35px; font-size: 20px; padding: 0;
  display: grid; place-items: center; cursor: pointer;
}
.sl-prev { left: 12px; }
.sl-next { right: 12px; }
.sl-arrow:hover { background: rgba(0,0,0,.5); }

/* dots */
.sl-dots {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -25px; display: flex; gap: 10px; z-index: 5;
}
.sl-dot {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--colorGrey400); border: 0; cursor: pointer; padding: 0;
}
.sl-dot.is-active { background: var(--primaryColor400); box-shadow: 0 0 0 2px rgba(0,0,0,.2) inset; }












.wrapper-heading {
	position:relative;
	margin-bottom: 300px
}


.heading {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 100px; 
}

.heading .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
    opacity: 0;
    overflow: hidden;
	will-change: transform, opacity;
    z-index: 1;
    transition: opacity 3s ease, transform 10s linear; /* Il fade rimane con le transizioni */
    transform: scale(1); /* Aggiunto per evitare scatti */
}

.heading .slide.active {
    opacity: 1;
    z-index: 3; /* L'immagine attiva è sopra */
    animation-duration: 10s; /* Durata predefinita */
    animation-fill-mode: backwards;
}

.heading .slide.previous {
    z-index: 2; /* L'immagine precedente è coperta */
    opacity: 0;
}




/*=== ARTICOLO ===*/

.header {
    margin-top: 50px;
    font-size: 1.2em;
    position: relative;
}

.header figure {
    margin-top: 50px;
}

.header .date {
    text-align: right;
    margin-top: 25px;
}

div.voce {
    margin-bottom: 2em;
}

.header h1 {
    letter-spacing: -.01em;
    margin-bottom: .5em;
}

.author::before {
    content: 'di ';
}

.author a {
    font-weight:700;
}

.author:empty {
    display:none;	
}

.author:empty::before {
    content:'';	
}

.wrapper-text {
    display:flex;
    gap: 50px;
    margin-top: 50px;
}

.text {
    flex:1;
    text-align:justify;
    font-weight: 300;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;		
    font-size: var(--text-font-size);
    line-height: 170%;
    transition: ALL .3s ease;
}

.text p {
    text-indent: 2em;
}

p:has(a[name=]) {
 
}

.text h2 {
    font-size: 1.7em;
    border-bottom: 1px solid var(--colorGrey500);
    margin: 1.5em 0 .5em;
    letter-spacing: -.008em; 
}

.text h3 {
    font-size: 1.4em;
    margin: 1.5em 0 .5em;
    letter-spacing: -.008em;     
}

.text .sommario {
    border: 1px solid var(--colorGrey500);
    padding: 25px;
    margin-bottom: 100px;
}

.text .sommario-titolo {
    font-weight:700;
    text-transform: uppercase;
}

.text .sommario a {
    color: var(--textColor);
    font-weight:400;
}

.text .sommario a span {
    font-weight: 800;
    color: var(--primaryColor400);
}

.text .sommario a:hover,
.text .sommario a span:hover {
    color: var(--primaryColor400) !important;
}

aside {
    width: 400px;
    font-size: .9em;
    padding: 50px;
    background-color: var(--colorGrey200);
}

.articles-list article {
    text-align: left;
    transition: all .5s ease;
}


.list-tools {
    display: flex;
    width:100%;
    justify-content:space-between;
}

.list-tools .change-view {
    display: flex;
    justify-content:end;
    gap:7px;
}

[data-view='table'] .change-view button.gridview,
[data-view='grid'] .change-view button.tableview {
    background-color: var(--colorGrey300);
    color: var(--colorGrey600);
    transition: all .3s ease;
}

.change-view button {
    display: flex;
    gap:7px;
    border-radius: 5px;
    padding: 5px;
    width: auto;
    height: 30px;
    font-weight:600;
    font-size: 10px;
    line-height:105px;
    align-items:center;
}

.change-view button img {
    filter: invert(1) grayscale(1) brightness(2);
    width: 20px;
}

.change-view button:hover {
    background-color: var(--primaryColor600) !important;
    color:#FFF !important;
}

#filtersColumn {
    display:none;
    opacity: 0;
    position: absolute;
    top: 0;
    left:100%;
    width: 250px;
    background-color: var(--colorGrey300);
	will-change: transform, opacity;
    transition: opacity .5s ease, transform 1s linear; /* Il fade rimane con le transizioni */
    transform: scale(1); /* Aggiunto per evitare scatti */
    z-index: 1000;
}

#filtersColumn .column-header {
    display:flex;
    gap: 16px;
    background-color: var(--colorGrey500);
    line-height: 60px;
    font-size: 1.2em;
    color: #FFF;
    height: 60px;
    font-weight: 700;
    text-align:center;
    overflow: hidden;
;
}

#filtersColumn .column-content {
    padding: 25px;
}

#filtersColumn .close-column {
    background-color: var(--colorGrey600);
    color:#FFF;
    font-size: 25px;
    width:60px;
    cursor:pointer;
}

#filtersColumn input {
    border-color: var(--colorGrey500);
    margin-bottom: 10px;
}

.wrapper-list.withFilters #filtersColumn {
    display: block;
    opacity: 1;
    left: 0;
    bottom: 0;
}

.wrapper-list.withFilters .results-list {
    margin-left:300px
}

.wrapper-list.withFilters .openfilters {
    display:none;
}


.suggestions {
  margin: 0;
  padding: 0;
	font-size: .8em;
	line-height: 1.4em;
  list-style: none;
  border: 1px solid 1px solid var(--colorGrey500);;
  overflow-y: auto;
  max-height:200px;
  position: absolute;
  background: #fff;
  z-index: 999;
  width: calc(100% - 50px);
}

.suggestions:empty {
	display:none;
}
.suggestions li {
  padding: .4em .6em;
  border-bottom: 1px solid var(--colorGrey400);
  cursor: pointer;
}
.suggestions li:hover {
  /*background: var(--colorGrey200);*/
  background: var(--primaryColor400);
  color:#FFF;
  transition: ALL .2s ease;
}



/*== CORRELATI ==*/

.correlati .articles-list article {
    flex: 1 1 100%;
}


.correlati .articles-list a.voce {
    display:none;
}

.correlati .articles-list .article-image {
    margin-bottom: 1em;
}

.correlati-autore .articles-list article {
    font-size: .8em;
}

#text .articles-list article {
    flex: 0 1 calc((100% - 30px) / 2); 
}

.articoli-autore .articles-list article .author,
.correlati-autore .articles-list article .author {
    display:none;
}

.titololista {
    width: 100%;
    font-size: 1.5em;
    border-bottom: 1px solid var(--textColor);
    font-weight: 400;
    margin-bottom: 1em;
}

.wrapper-list {
    position:relative;
    margin-top: 50px;
    min-height: 80vh;
}

.wrapper-list[data-view='table'] .articles-list {
    gap:0;
    transition: all .3s ease;
}

.wrapper-list[data-view='table'] .articles-list article {
    flex: 1 1 100%;
    display:flex;
    gap:20px;
    padding:20px;
    border-top: 1px solid var(--colorGrey400);
    transition: all .5s ease-in;
}

.wrapper-list[data-view='table'] .articles-list article:first-of-type {
    margin-top: 20px;
}

.wrapper-list[data-view='table'] .articles-list  article .article-image {
    min-width: 20%;
    max-width: 200px;
    margin-bottom: 0;
}

.wrapper-list[data-view='table'] .articles-list  article a.voce {
    left: calc(100% + 20px);
    top: 0;
    bottom: auto;
}

.wrapper-list[data-view='table'] .articles-list .article-header {
    margin-top: 2.5em;
}

.wrapper-list .results {
    text-align:center;
    margin: 50px auto;
}

.wrapper-list .results.no-found {
    text-align:center;
    padding: 50px;
    max-width: 300px;
    border: 1px solid var(--colorGrey400);
    background-color: var(--colorGrey200);
}



/* === CARDS === */
/****
.cards-list {
    display:flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

.cards-list	.card {
    border:none;
    background-color: transparent;
    flex: 0 1 calc((100% - 90px) / 4); 
}
***/

.cards-list {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    position: relative;
}

.cards-list	.card {
    border:none;
    background-color: transparent; 
}

.cards-list .full-row {
  grid-column: 1 / -1;   /* prende tutta la larghezza */
}

.card-image {
    border:none;
    aspect-ratio: 1 / 1;
    position: relative;
    background-color: var(--colorGrey200);
}

.card-image img {		
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    background-color: var(--colorGrey200);
}

.card-header {
    font-size: 1em;
    line-height: 1.4em;
    border:none;
    background-color: var(--primaryColor400);
    color:#FFF;
    text-align:left;
}

a.card-header:hover {
    color:#FFF;
    background-color: var(--primaryColor600);
    text-decoration: none;
    transition: ALL .3s ease;
}

.card-footer {
    border:none;
}

.card > *:empty {
    display:none;
}










/*=== STRUMENTI del TESTO ===*/

.text-tools {
    display:flex;
    gap: 50px;
    margin-bottom: 25px;
}

.tool-searchtext {
    flex:1;
    font-size: .9em;
}

.tool-searchtext input {
    width: 150px;
    height: 30px;
    font-size: .9em;
    margin-right: .5em;
}

.tool-searchtext #submit-searchtext {
    visibility: hidden;
    transition: ALL .3s ease;
}

.tool-searchtext #submit-searchtext.active {
    visibility: visible;
}

.tool-searchtext #message-searchtext {
    font-size: .7em;
    font-weight: 700;
    height: 20px;
    transition: ALL .3s ease;
}

.tool-sizetext {
    text-align:right;
}


.btn-changesize {
    font-size: 16px;
    line-height: 30px;
    font-weight: 670;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.btn-limit {
    opacity: .3;
    pointer-events: none; 
    -webkit-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}

/* == evidenziazioni == */
.hlsearch { background: #fff5a6; border-radius: 2px; padding: 0 .08em; }
.hl-current { background: #ffd7a3; box-shadow: 0 0 0 2px rgba(255,175,89,.35) inset; }


/*== popup ricerca ==*/

#searchPopup {
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  background: var(--primaryColor600);
  color: #FFF;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  font: 14px/1.3;
  font-weight: 400;
}
#searchPopup .search-term { font-weight: 700; }
#searchPopup button:disabled { display:none; }

#searchPopup .popup-title {
	background: var(--primaryColor700);
	padding: 10px 0 10px 25px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

#searchPopup .popup-title button {
	float:right;
	display:inline;
	background: transparent;
}


#searchPopup .popup-content {
	padding: 10px 25px;
}

#searchPopup table {
	caption-side: bottom;
	border-collapse: separate;
	border-spacing: 10px;
	border-color: transparent;
}

#searchPopup .popup-footer {
	padding: 10px 25px;
	border-top: 1px solid #FFF;
	text-align:center;
}


/*=== NOTE ===*/

#text .nota,
#text .note p {
	font-size: .9em;
}

#text .nota:first-of-type {
	margin-top: 100px;
}


#text .refnota::before {
  content: "\00A0";          /* 1 NBSP */
  /* opzionale: evita che si selezioni/clicki */
  user-select: none;
  pointer-events: none;
  text-decoration: none;
}


.subtitle {
    margin-bottom: .5em;
}


/*=== PAGE MENU ===*/

	.page-menu {
		background-color:#FFF;
        width: 250px;
        padding:0;
	}
	.page-menu ul {
		list-style: none;
        padding:0;
        margin: 0;
	}
	.page-menu ul li {	
		display:block;
	}
	.page-menu ul li a {	
		display:block;
		background-color: var(--primaryColor400);
		color:#FFF;
		padding: .5em 1em;
		margin-bottom: 1px;
		transition: ALL .3s ease;
	}
	.page-menu ul li a:hover {	
		background-color: var(--primaryColor600);
		text-decoration:none;
	}
    
    
    

/* === ANIMAZIONE ===*/


@keyframes fromLeftSlow {
    0% {
        transform: scale(1.5) translate(50px,100px);	
    }
    100% {
        transform: scale(1);
    }
}

@keyframes zoomInSlow {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Zoom veloce verso l'interno */
@keyframes zoomInFast {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.3);
    }
}

/* Zoom lento verso l'esterno */
@keyframes zoomOutSlow {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Zoom veloce verso l'esterno */
@keyframes zoomOutFast {
    0% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}


@keyframes fromUp {
    0% {
        background-position: 0 60%; 
        transform: scale(1.2); 
    }
    90% {
        background-position: 0 50%; 
        transform: scale(1.2); 
    }
}

@keyframes fromDown {
    0% {
        background-position: 0 50%; /* Inizio da sinistra */
        transform: scale(1.2); /* Ingrandisce il background */
    }
    70% {
        background-position: 0 60%; /* Scorre a destra del 10% */
        transform: scale(1.2); /* Mantiene l'ingrandimento */
    }
    100% {
        background-position: 0 65%; /* Scorre a destra del 10% */
        transform: scale(1.2); /* Mantiene l'ingrandimento */
    }
}



    .avviso {
        display:none;
        position: fixed;
        padding: 25px;
        top: 0;
        left: 0;
        right:0;
        bottom:0;
        background-color: #C00;
        color: #FFF;
        font-size: 1.5em;
        z-index:1000000;
        text-align:center;
        padding-top: 200px;
        font-weight: 700;
        line-height: 150%
    }


@media (max-width:1200px) {
    
    .slide-header{
        width: 500px;
    }
    
    .menu li a {
        padding: .0 .5em;
    }
        
}



@media (max-width:992px) {
    
    .open-menu {
        display:inline-block;
    }
    
    .menu {
        display:none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding:0;
        background-color: var(--primaryColor600);
        max-width: 300px;
        z-index: 100;
    }
    
    .menu.active {
        display:block;
    }
    
    .menu li {
        display: block;
    }
    
    .menu li a {
        text-align: left;
        padding: 0 1em 0 2em;
        border-top: 1px solid var(--primaryColor500);
    }
    
    
    .heading {
        min-height:auto;
    }
    
    .heading .slide {
        /*position: static;*/
        /*display:block;*/
        height: auto;
        flex-wrap: wrap;
    }

    .slide-header {
        flex-basis:100%;
        width: 100%;
        padding:50px;
        order: 2;
    }
    
    .slide-image {
        flex-basis:100%;
        width:100%;
        height: 50vh;
        order: 1;
    }
    
}



