/*
Theme Name: WebNcSite
Author: Nicola Ceschin
Author URI: https://webncsite.it
Description: Tema Wordpress perfetto per il tuo sito web, realizzato con HTML5 e CSS3, compatibile con Gutenberg
Version: 1.0.0
Text Domain: webncsite
*/


/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}


.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float:right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. Viene usato da molti plugin come CF7 */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}


@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/montserrat-v25-latin-regular.woff2') format('woff2'), 
       url('fonts/montserrat-v25-latin-regular.woff') format('woff'); 
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('fonts/montserrat-v25-latin-700.woff2') format('woff2'), 
       url('fonts/montserrat-v25-latin-700.woff') format('woff'); 
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}



.content {
  margin: 0 auto;
  width: 1160px;
}

.col-1 {
  width: 8.33333%;
}

.col-2 {
  width: 16.66666%;
}

.col-3 {
  width: 25%;
}

.col-4 {
  width: 33.33333%;
}

.col-6 {
  width: 50%;
}

.col-8 {
  width: 66.66666%;
}

.col-10 {
  width: 83.33333%;
}

.divider {
  padding: 20px 0;
}

.spacer {
  padding: 120px 0;
}

.responsive {
  height: auto;
  width: 100%;
}

.center {
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  word-wrap: break-word;
}

.up {
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --primary: #ff3b3f!important;
  --light: #ffffff;
  --dark: #111;
  --grey: #18191A;
  --p: #cfcfcf;
}



.menu a:hover,
.current_page_item a {
  color: #fff;;
}



@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .content {
    margin: 0 4%;
    width: 92%;
  }


}

@media only screen and (max-width: 1024px) {
  .content {
    margin: 0 4%;
    width: 92%;
  }

 header nav ul {
  display: flex;
  align-items: center;
 }

 .header {
  display: none;
 }

    .admin-bar .nav {
    top: 32px;
  }


  .menu li {
    display: block;
  }

  .menu a {
    display: block;
    width: 100%;
  }

  .navbar {
    display: block;
  }

  .show {
    transform: translateX(0);
    display: initial;
  }


}

@media only screen and (max-width: 768px) {
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-10 {
    width: 100%;
  }

    .header,
  header {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .section,
  .article,
  .single-wrap {
    flex-direction: column;
  }

  .card {
    margin-bottom: 60px;
  }

  aside {
    padding-left: 0;
    padding-top: 60px;
  }

  .admin-bar header {
  top: 46px;
}


  .header,
  header {
    display: none;
  }

  .spacer {
    padding: 100px 0;
  }

    .admin-bar .nav {
    top: 32px;
  }


  .menu li {
    display: block;
  }

  .menu a {
    display: block;
    width: 100%;
  }

  .navbar {
    display: block;
  }

  .show {
    transform: translateX(0);
    display: initial;
  }
  .nav ul {
    display: none;
    position: fixed;
    bottom: 0;
  }

  footer .nav ul {
    display: initial;
  }

  footer nav.nav {
        width: 100%!important;
        position: fixed!important;
        bottom: 0!important;
  }

  footer .nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  footer .nav ul li{
    display: flex;
    flex-direction: column;
  }
}

