/*
 Theme Name:   Davis Child
 Template:     davis
 Version:      1.0.0
*/

/* Typography */

@font-face {
  font-family: "Alte Haas Grotesk Regular";
  src: url("https://giannidavico.it/font/altehaasgroteskregular-webfont.woff2") format("woff2"), url("https://giannidavico.it/font/altehaasgroteskregular-webfont.woff") format("woff"), url("https://giannidavico.it/staging/font/AlteHaasGroteskRegular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}

main *, header *, footer *, aside * {color:#707070; font-family: "Alte Haas Grotesk Regular", Arial, Helvetica, sans-serif!important;}

a, a:link, a:visited{
  color: #333333;
  text-decoration-line: none;
}

.content a {
  color:rgb(131, 208, 155)!important;
  font-weight: 900;
}

.content a:hover{
  text-decoration: none;
  color:rgb(103, 166, 123) !important
}

.meta a, a.post-edit-link {
  color: #767676;
}

/* Header */
.site-header{width:100%;}

.site-header .site-title {
  font-size: 1em;
  /*margin-top: 1.8em;*/
}
.site-header .site-description {
  font-size: 0.8em;
  margin-top: 10px;
}

.site-header .site-title,
.site-header .site-description{
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
  text-transform: uppercase;
}

.has-featured-image .site-title a,
.has-featured-image .site-description {
  color: #fff;
}

/*Footer*/

footer a, footer a:visited {
  color:#707070!important;
}

footer a:hover {
  color:#333333!important;
  text-decoration:none;
}

footer p {
	line-height:1.8em!important;
}

.footer-link{
  margin:0 10px;
}

/* Main Nav */
.site-nav {
  margin-top: 0px;
  background: #fff;
  box-shadow: 0px 0px 20px 0px #e2e2e2;
  padding:20px 0;
  position:sticky;
  z-index:1;
}


.site-nav .menu a {
  color: #4a4e57;
  font-size: 15px;
  text-decoration-line: none;
  text-transform: uppercase;
}

.site-nav .menu a:hover {
  color: #000;
  text-shadow: none;
}

.toggle-menu{
  width:100%;
  padding:20px;
  position: sticky;
  margin: 20px 0;
  z-index: 2;
  text-align:center;
}

.menu > li  {
  padding:20px;
  margin:0px;
}

.show-menu .toggle-menu{
  text-decoration: none;
  font-weight: bold;
}

.menu li li{
  font-style: normal;

}

@media ( min-width: 620px ) {

  #copertina{
    position: relative;
    display: block!important;
    margin:-45px auto 0 auto;
  }

  #copertina-mobile {
    display:none!important;
  }

  .site-nav {
    padding:5px 0;
  }

  .menu .page_item_has_children > a::after, .menu .menu-item-has-children > a::after {
    content: " ⌄";
    vertical-align: bottom;
    margin-left: 10px;
  }

    .menu > li {
      margin: 9.5px 0 9.5px 0;
      padding: 20px 40px 20px 40px;
    }

    .menu ul {
      top:40px;

    }
    .menu ul a{
      background: #f7f7f7;
    }
    .menu li ul::before {
      border-bottom-color: #f7f7f7;
    }

}

#copertina-mobile {
  display: block;
  width: 100%;
  margin-bottom: 50px;
}

#copertina, .sub-menu{
  display:none;
}

/*ARTICOLI*/
.archive-header::before, .post::before, .comments::before, .comment-respond::before, .comments .comment-respond::after, .pagination::before, .site-footer::before {
    display: none;
}

.entry-title, .site-header .site-title {
    line-height: 1.4;
    text-align: center;
    font-size: 2.5em;
    text-transform: uppercase;
}

.entry-title::after {
    content: "";
    display: block;
    height: 6px;
    margin: 30px auto 80px;
    border-image-slice: 1;
    background: linear-gradient(90deg, #95dae0 0%, #83d09b 100%);
    border-radius: 10px;
    max-width: 120px;
}

.site-header .site-description {
  text-align: center;
}

.post {
	margin-bottom:200px;
}

.pagination, .meta {
  margin-bottom:50px;
}

/*Cookie*/

.cc-window {
    box-shadow: 0px 0px 20px 0px #e2e2e2!important;
}
.cc-message, .cc-btn, .cc-link {
font-family: "Alte Haas Grotesk Regular"!important;
}

.cc-link{
  color:rgb(77, 77, 77) !important;
  font-weight:bold;
}

.cc-btn{
  color:rgb(77, 77, 77) !important;
  padding:15px 40px;
  border-radius: 100px;
  border-width: 4px;
}

.cc-btn:hover, .cc-link:hover, .cc-deny:hover{
  color:rgb(55, 55, 55) !important;
  text-decoration: none!important;
}
