/*
Theme Name: My Theme 
Author: Alessio De Angelis
Description: Tema personalizzato base
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: mytheme
Tags: vetrina
*/

/* 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;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

/* stili del sito */

container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1000px 1fr;
    font-family: sans-serif;
}

#logo {
    display: none;
}

#hero {
    grid-column: 1 / 4;
    position: relative;
    z-index: 1;
}

#hero-img img {
    width: 100%;
    height: auto;
}

#hero-mobile, #hero-cell, #hero-home2, #hero-page13, #hero-page15, #hero-page17, #hero-page19 {
    display: none;
}

#menu {
    position: absolute;
    top: 70px;
    right: 50px;
}

#menu-area li {
    float: left;
    margin-left: 15px;
    padding-right: 15px;
    border-right: 2px solid white;
}

#menu-area li:last-child {
    padding-right: 0 !important;
    border-right: none !important;
}

#menu-area li a {
    text-decoration: none;
    color: white;
    font-size: 25px;
}

#menu-area li a:hover {
    text-decoration: underline 3px #796fac;
}

#clip {
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: 1fr auto;
    margin-top: -70px;
    position: relative;
    z-index: 99;
}

#clip-area {
    grid-column: 2 / 3;
}

#clip-area img {
    width: 600px;
    height: auto;
}

#about {
    grid-column: 2 / 3;
    font-size: 20px;
    line-height: 30px;
    margin: 60px 0;
    text-align: right;
}

#about p {
    width: 70%;
    margin-left: auto;
}

/* footer */

footer {
    margin-top: 80px;
    width: 100%;
    background: #0076bd;
    padding: 50px 0;
    text-align: center;
}

#footer-container {
    display: grid;
    grid-template-columns: 1fr 333px 333px 333px 1fr;
}

#footer-content-a {
    grid-column: 2 / 3;
    padding-right: 10px;
    border-right: 1px solid white;
}

#footer-text-area-a {
    text-align: center;
}

#footer-text-area-a img {
    width: 150px;
    height: auto;
}

#footer-text-area-a .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 20px;
	width: 150px;
	margin: 20px auto 0 auto;
}

#footer-text-area-a .wp-block-group__inner-container img {
	width: 70%;
	height: auto;
}

#footer-content-b {
    grid-column: 3 / 4;
    padding: 0 10px;
    font-family: sans-serif;
    color: white;
    line-height: 22px;
    text-align: left;
}

#footer-text-area-b img {
    width: 25px;
    margin-top: 10px;
}

#footer-content-c {
    grid-column: 4 / 5;
    padding-left: 10px;
    border-left: 1px solid white;
    text-align: left;
}

#footer-text-area-c ul li a {
    text-decoration: none;
    color: white;
    font-family: sans-serif;
}

#footer-text-area-c ul li {
    margin-top: 10px;
}

#footer-text-area-c ul li:first-child {
    margin-top: 0;
}

#footer-text-area-c ul li a:hover {
    text-decoration: underline 2px white;
}

#powered-by {
    font-size: 13px;
    color: white;
    font-family: sans-serif;
    margin: 35px 0 5px 0;
}

#creator-logo {
    width: 28px;
    height: auto;
}

#menu-item-210 {
	float: left;
	margin-right: 5px;
}

/* cookie div */

#popmake-157 {
    background: #0076bd;
    font-family: sans-serif;
    box-shadow: -5px 5px 15px black;
}

#popmake-157 p {
    color: white;
}

#pum_popup_title_157 {
    font-size: 20px;
    color: white;
}

/* pagina singola */

.page #hero, .page #hero-mobile, .page #hero-cell {
    display: none;
}

.page-id-219 #hero {
	display: block;
	background: rgba(0, 100, 150, 0.5);
    height: 120px;
}

/* .page-id-219 #menu-area li a {
	color: lightblue;
}

.page-id-219 #menu-area li {
	border-right: 2px solid lightblue;
} */

.page-id-219 #hero-img, .page-id-219 #media_image-5 {
	display: none;
}

.page-id-219 #logo {
	margin-top: 0;
}

.page-id-219 #mt_post {
	margin-top: 100px;
}

.page-id-219 #mt_post a {
	color: black;
    text-decoration: none;
    font-size: 18px;
	transition: 0.5s;
}

.page-id-219 #mt_post a:hover {
	color: grey;
    text-decoration: underline;
    font-size: 18px;
}

.page-id-34 #hero-home2, .page-id-13 #hero-page13, .page-id-15 #hero-page15, .page-id-17 #hero-page17,
.page-id-19 #hero-page19 {
    display: block;
    grid-column: 1 / 4;
    position: relative;
}

#hero-home2-img img, #hero-page13-img img, #hero-page15-img img, #hero-page17-img img, #hero-page19-img img {
    width: 100%;
    height: auto;
}

#hero-home2-mobile, #hero-page13-mobile, #hero-page15-mobile, #hero-page17-mobile, #hero-page19-mobile {
    display: none;
}

.page-id-34 #menu-area li a {
    color: black;
}

.page-id-34 #menu-area li {
    border-right: 2px solid black;
}

#mt_post {
    grid-column: 2 / 3;
    position: relative;
    z-index: 99;
}

.page-id-34 #mt_post {
    margin-top: -420px;
}

.page-id-13 #mt_post, .page-id-15 #mt_post, .page-id-17 #mt_post, .page-id-19 #mt_post {
    margin-top: -190px;
}

.page-id-34 #mt_post .page-title {
    display: none;
}
    
.page-id-34 #mt_post .content-page p:first-child {
    color: #0075be;
    font-size: 28px;
    line-height: 40px;
    width: 70%;
    margin: 0 0 35px auto;
}

.page-title {
    font-size: 30px;
    color: #796fac;
    font-weight: bold;
}

.content-page h3 {
    font-size: 26px;
    margin-top: 30px;
    color: #796fac;
}

.content-page p {
    font-size: 20px;
    line-height: 30px;
    margin: 20px 0;
}

.content-page ul {
    list-style: none;
    font-size: 20px;
    margin-left: 20px;
    list-style: disc;
}

.content-page li {
    margin-top: 10px; 
}

#clip-page-container {
    display: none;
}

.page-id-34 #clip-page-container {
    width: 100%;
    display: grid;
    grid-template-columns: 37% 57%;
    grid-column-gap: 6%;
    margin-top: 60px;
}

#clip1-page {
    grid-column: 1 / 2;
}

#clip2-page {
    grid-column: 2 / 3;
}

#clip1-page-area img, #clip2-page-area img {
    width: 100% !important;
    height: auto !important;
}

#mymap {
    margin-top: 20px;
    width: 100%;
    height: 500px;
}

#hero-privacy {
    width: 100%;
    padding: 65px 0 65px 65px;
    background: #0075be;
    display: none;
    grid-column: 1 / 4;
    margin-bottom: 50px;
}

.page-id-110 #hero-privacy {
    display: block;
}

#hero-privacy img {
    width: 180px;
    height: auto;
}

/* contact form */

.contact-field {
	width: 100%;
	height: 25px;
	border: none;
	border-bottom: solid 1px;
	background: none;
}

#text-area {
	height: 175px;
}

#privacy-check {
	margin-left: -20px;
}

#submit-button {
	width: 100px;
	height: 25px;
	border: none;
	background: #0076bd;
	color: white;
}

/* dicono di noi */

.page-id-17 table, .page-id-17 table tbody, .page-id-17 table tbody tr, .page-id-17 table tbody tr td {
    vertical-align: middle !important;
}

.page-id-17 .wp-block-table {
    border-bottom: none !important;
    margin-top: 35px;
}

.page-id-17 .wp-block-table:first-child {
    margin-top: 50px;
}

.page-id-17 table tbody tr {
    background-color: transparent !important;
}

.page-id-17 table tbody tr td:first-child {
    width: 150px !important;
    vertical-align: bottom !important;
}

.page-id-17 table tbody tr td:last-child {
    border-bottom: 1px solid #38b6b8;
    padding: 0 0 5px 10px;
}

/* sezione responsive */

@media screen and (max-width: 1440px) {
    #menu-area li {
        margin-left: 10px;
        padding-right: 10px;
    }

    #menu-area li a {
        font-size: 18px;
    }
    
    #clip {
        margin-top: -40px;
    }
    
    #clip-area img {
        width: 400px;
    }
    
    /* pagina */
    
    .page-id-34 #mt_post {
        margin-top: -350px;
    }
    
    .page-id-13 #mt_post, .page-id-15 #mt_post, .page-id-17 #mt_post, .page-id-19 #mt_post {
        margin-top: -100px;
    }
}

@media screen and (max-width: 1250px) {
    .page-id-34 #mt_post {
        margin-top: -300px;
    }
    
    .page-id-13 #mt_post, .page-id-15 #mt_post, .page-id-17 #mt_post, .page-id-19 #mt_post {
        margin-top: -90px;
    }
}

@media screen and (max-width: 1200px) {
    container {
        grid-template-columns: 1fr 800px 1fr;
    }
}

@media screen and (max-width: 1100px) {
    .page-id-34 #mt_post {
        margin-top: -250px;
    }
    
    .page-id-13 #mt_post, .page-id-15 #mt_post, .page-id-17 #mt_post, .page-id-19 #mt_post {
        margin-top: 30px;
    }
}

@media screen and (max-width: 1023px) {
    container {
        grid-template-columns: 100%;
    }
    
    #logo {
        display: block;
        grid-column: 1 / 2;
        margin-top: 50px;
    }
    
    #logo-area {
        text-align: center;
    }
    
    #logo-area img {
        width: 250px;
        height: auto;
    }
    
    #hero {
        display: none !important;
    }
    
    #hero-mobile {
        display: block;
        grid-column: 1 / 2;
        margin-top: 30px;
        position: relative;
        z-index: 1;
    }
    
    #hero-mobile-area img {
        width: 100%;
        height: auto;
    }
    
    #clip {
        grid-column: 1 / 2;
        padding: 0 40px;
    }
    
    #about {
        grid-column: 1 / 2;
        padding: 0 40px;
        text-align: left;
    }
    
    #about p {
        width: 100%;
        margin-left: 0;
    }
    
    /* footer */
    
    footer {
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    #footer-container {
        grid-template-columns: 50% 50%;
    }

    #footer-content-a {
        grid-column: 1 / 3;
        padding-right: 0;
        border-right: none;
        margin-bottom: 30px;
    }

    #footer-content-b {
        grid-column: 1 / 2;
        padding-right: 15px;
        text-align: right;
    }

    #footer-content-c {
        grid-column: 2 / 3;
        padding-left: 15px;
    }
    
    /* pagina */
    
    #hero-home2, #hero-page13, #hero-page15, #hero-page17, #hero-page19 {
        display: none !important;
    }
    
    .page-id-34 #hero-home2-mobile, .page-id-13 #hero-page13-mobile, .page-id-15 #hero-page15-mobile,
    .page-id-17 #hero-page17-mobile, .page-id-19 #hero-page19-mobile {
        display: block;
        grid-column: 1 / 2;
        margin-top: 30px;
    }
    
    #hero-home2-mobile-area img, #hero-page13-mobile-area img, #hero-page15-mobile-area img,
    #hero-page17-mobile-area img, #hero-page19-mobile-area img {
        width: 100%;
        height: auto;
    }
    
    #mt_post {
        grid-column: 1 / 2;
        padding: 0 60px;
    }
    
    #hero-privacy {
        display: none !important;
    }
    
    .page-id-110 #mt_post {
        margin-top: 40px;
    }
}

@media screen and (max-width: 800px) {
    /* pagina */
    .page-id-34 #clip-page-container {
        grid-template-columns: 100%;
        grid-template-rows: 90px 90px;
        grid-column-gap: 0;
        grid-row-gap: 20px;
    }

    #clip1-page {
        grid-row: 1 / 2;
    }

    #clip2-page {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    
    #clip1-page-area, #clip2-page-area {
        text-align: right;
    }
    
    #clip1-page-area img, #clip2-page-area img {
        height: 90px !important;
        width: auto !important;
    }
}

@media screen and (max-width: 700px) {
    /* pagina */
    .page-id-34 #mt_post {
        margin-top: -200px;
    }
}

@media screen and (max-width: 650px) {
    /* pagina */
    .page-id-34 #clip-page-container {
        grid-template-rows: 70px 70px;
    }
    
    #clip1-page-area img, #clip2-page-area img {
        height: 70px !important;
    }
    
    .page-id-17 table tbody tr td:first-child {
        width: 80px !important;
    }
    
    .page-id-17 table tbody tr td img {
        width: 80px !important;
        height: auto !important;
    }
}

@media screen and (max-width: 500px) {
    #hero-mobile {
        display: none;
    }
    
    #hero-cell {
        display: block;
        grid-column: 1 / 2;
        margin-top: 20px;
    }
    
    #hero-cell-area img {
        width: 100%;
        height: auto;
    }
    
    #clip {
        display: block;
        margin-top: 30px;
    }
    
    #clip-area img {
        width: 100%;
        height: auto;
    }
    
    /* pagina */
    
    .page-id-34 #mt_post {
        margin-top: -120px;
    }
    
    .content-page p {
        font-size: 18px;
    }
    
    .content-page ul {
        font-size: 18px;
    }
    
    .page-id-34 #mt_post .content-page p:first-child {
        font-size: 20px;
        line-height: 30px;
        margin-top: 40px;
        width: 85%;
    }
    
    .page-id-34 #clip-page-container {
        grid-template-rows: 50px 50px;
    }
    
    #clip1-page-area img, #clip2-page-area img {
        height: 50px !important;
    }
}

@media screen and (max-width: 400px) {
    /* pagina */
    #clip1-page-area img, #clip2-page-area img {
        height: 40px !important;
    }
}