/*
Theme Name:   CCS Template
Description:  Tema per i siti dei corsi di studio
Author:       admin
Author URL:   Write here the author's blog or website url
Template:     css-template
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  ccs-template
*/

/*:root {
  --ccstemplate-primary-color: #99cc33;
  --ccstemplate-secondary-color: #045e06;
  --ccstemplate-link-color: #99cc33;
  --ccstemplate-hover-color: #045e06;
}*/


/*:root {
  --ccstemplate-primary-color: #e18900;
  --ccstemplate-secondary-color: #b94b00;
  --ccstemplate-link-color: #e18900;
  --ccstemplate-hover-color: #b94b00;
  --ccstemplate-background-color: rgba(225,137,0,0.25);
}*/

:root {
  --ccstemplate-primary-color: #51753e;
  --ccstemplate-secondary-color: #2f4523;
  --ccstemplate-link-color: #51753e;
  --ccstemplate-hover-color: #2f4523;
  --ccstemplate-background-color: rgba(81, 117, 62, 0.25);
  --ccstemplate-primary-text-color: #102C53;
}

.has-ccstemplate-background-color-background-color {
  background-color: var(--ccstemplate-background-color);
}
.has-ccstemplate-primary-color-background-color {
  background-color: var(--ccstemplate-primary-color);
}
.has-ccstemplate-secondary-color-background-color {
  background-color: var(--ccstemplate-secondary-color);
}
.has-ccstemplate-link-color-background-color {
  background-color: var(--ccstemplate-link-color);
}
.has-ccstemplate-hover-color-background-color {
  background-color: var(--ccstemplate-hover-color);
}

.has-ccstemplate-background-color-color {
  color: var(--ccstemplate-background-color);
}
.has-ccstemplate-primary-color-color {
  color: var(--ccstemplate-primary-color);
}
.has-ccstemplate-secondary-color-color {
  color: var(--ccstemplate-secondary-color);
}
.has-ccstemplate-link-color-color {
  color: var(--ccstemplate-link-color);
}
.has-ccstemplate-hover-color-color {
  color: var(--ccstemplate-hover-color);
}

.custom-logo-link {
  margin-top: 10px;
  margin-bottom: 10px;
}

.bg-dark {
  background-color: var(--ccstemplate-primary-text-color);
}

.nav-bar a:not( .custom-logo-link ).school-title.title,
.course-title.title {
  color: var(--ccstemplate-primary-text-color);
}


/*! http://responsiveslides.com v1.55 by @viljamis */

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  margin-top: 2em;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }

.wp-block-getwid-post-carousel__post-header {
    margin-top: 1em;
  }
  
.wp-block-getwid-post-carousel__post-excerpt {
    margin-bottom: 1em;
  }
    
.wp-block-getwid-post-carousel__post-excerpt p {
    margin-bottom: 1em;
  }
  
/* Write here customizaton for the specific course web site */

.shapely-related-posts .shapely-related-post-title a:hover, .shapely-related-posts .shapely-related-post-title a:focus {
    color: var(--ccstemplate-primary-color);
}

/*Link */

a, .rpc-titlea, a:visited{
    color: var(--ccstemplate-link-color);
}

a:hover, .rpc-title:hover {
    color: var(--ccstemplate-hover-color);
}

.main-navigation .menu:not(#utilitymenu) li a:hover, 
.nav-bar a.school-title.title:hover, 
.nav-bar a.course-title.title:hover {
  background-color: var(--ccstemplate-hover-color) !important;
}

#utilitymenu a:hover {
    color:#fff;
}

.main-navigation .menu li a,
.main-navigation .menu li a:hover,
.main-navigation .menu li.current-menu-parent > a,
.main-navigation .menu li.current-menu-item > a,
.main-navigation .menu > li:hover:after{
    color: #fff;
    padding: 0.8em;
    letter-spacing: 0;
    font-weight: 500;
}

.main-navigation .menu li a:hover {
  background: var(--ccstemplate-hover-color);
}

.main-navigation .module-group {
  background-color: var(--ccstemplate-primary-color) !important;
}

.shapely-dropdown {
  color: #fff;
  padding: 0.8em 1.5em;
}

/*.main-navigation .menu:not(#utilitymenu) li a:hover, .nav-bar a.school-title.title:hover, .nav-bar a.course-title.title:hover{
    background-color:#3c763d!important;
    color: #fff;
}*/

/*.btn-filled, .btn-filled:visited, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .video-widget .video-controls button, input[type="submit"], button[type="submit"], .post-content .more-link {
    background: #99cc33;
    border: 2px solid #99cc33;
}*/

.module.widget-handle i {
    color: #ffffff;
}

/*Social List*/

.bg-dark .social-list a:hover{
    color: var(--ccstemplate-hover-color);
}

/*Graphic Menu*/
.gm{
    list-style: none;
    margin: 0;
    padding:0;
    display: flex;
    flex-wrap: wrap;
}

.gm .thumbnail{
    border:none;
    padding: 0;
    margin: 0;
    height:100%;
}

.gm .thumbnail>img {
    height:100%;
    max-width:max-content;
}


.gm .gm-item{
    border:1px solid #000;
    width: 280px;
    height: 280px;
    overflow: hidden;
    border-radius: 150px;
    position: relative;
    text-align: center;
    margin:10px;
}

.gm .gm-item:first-of-type{
    margin-left:0;
}


.gm .gm-item a{
    display: block;
    width: 280px;
    height: 280px;
}

.gm .gm-item a:hover, .gm .gm-item a:hover .title{
    background-color: #000;
    color:#fff;
}


.gm .title{
    position: absolute;
    width: 280px;
    height:280px;
    top:45%;
    z-index: 100;
    text-align: center;
    padding:0 20px
}

.gm a .title{
    color:#000;
    font-weight:bold;
}

.gm .has-thumbnail .title{
    color:#fff;
    text-shadow:
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;
}

body {
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    -webkit-font-smoothing: unset;
    color: var(--ccstemplate-primary-text-color);
}

p, .entry-content ul li {
  font-size: 18px;
  line-height: 160%;
  font-weight: 500;
}

.entry-content ul li {
  line-height: 36px;
}

nav {
    border-bottom: 0px;
}

br {
  display: block;
}

figure.kb-gallery-figure {
  padding: 0;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper {
    background: #ddd;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a span {
    font-weight: bold;
}

.wp-block-nk-progress-counter.progress-counter {
  text-align: center;
}

.wp-block-getwid-progress-bar {
    margin-bottom: 2em;
}

.wp-block-getwid-progress-bar .wp-block-getwid-progress-bar__bar {
    height: 25px;
}

.wp-block-nk-progress-counter.progress-counter .circle_outer svg.prog-radial circle {
    stroke-width: 8px;
}

.full-width {
  width: 100% !important;
}

.width-100 {
  position: relative;
  width: 100vw;
  margin-left: -50vw;
  left: 50%;
}

.piani-studio {
  margin-bottom: 2em;
}

.piani-studio h3 {
  font-weight: bold;
  text-align: center;
  line-height: 1.5em;
    font-size: 0.8em;
    margin-top: 1em;
}

.piani-studio h4 {
    text-align: center;
    font-size: 0.8em;
}

.piani-studio a {
  display: block;
}

.piani-studio a:before {
    content:none;
}

.testimonial h4 {
  line-height: 1.6;
}

.info-intervista {
    margin-bottom: 2em;
}

.info-intervista img {
    margin-bottom: 2em;
}

.info-intervista p.citazione {
    font-size: 2em;
    line-height: 1.2em;
    color: #666666;
    letter-spacing: -1px;
    text-align: left;
}

.meta-intervista {
    margin-top: 3em;
}

.meta-intervista h4 {
    font-weight: 700;
    position: relative;
    padding-left: 2em;
    font-size: 1.2em;
    line-height: 1.5;
}

.meta-intervista h4 span.meta {
    font-weight: 500;
}

.meta-intervista h4:before {
    background: var(--ccstemplate-primary-color);
    border-radius: 100%;
    content: "";
    display: block;
    height: 30px;
    position: absolute;
    top: 0;
    left: 12px;
    width: 30px;
    transform: translateX(-50%);
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}


.subpage-section {
    padding: 2em 0;
}

.subpage-section.odd {
    background: var(--ccstemplate-background-color);
}

.subpage-section h3 {
    font-weight: bold;
    font-size: 1.6em;
}

.subpage-section h2 {
  font-weight: 700;
  font-size: 1.6em;
  line-height: 33px;
  margin-bottom: 24px;
}

.subpage-section .subpage h3 {
    font-weight: bold;
    text-align: center;
    font-size: 1.2em;
    margin-top: 0.5em;
    line-height: 1.5em;
}

.subpage-section figure {
    padding: 0;
}

ul.attachments {
    margin-left: -16px;
    margin-top: 20px;
}

ul.attachments li {
  list-style-type: none;
}

ul.attachments li:before {
  content: '\00b7';
    font-size: 200px;
    line-height: 30px;
    vertical-align: middle;
    top: -18px;
    position: relative;
    color: var(--ccstemplate-secondary-color);
}

.post-title a, .post-title {
    font-size: 30px;
}

.post-content {
    margin: 0;
}

article.post-content {
    margin-bottom: 2em;
}

.home article.post-content {
    margin-bottom: 0em;
}

.post-content p, .subpage-section p {
    text-align: justify;
}

.post-content p.has-text-align-center, .subpage-section p.has-text-align-center {
    text-align: center;
}

.post-content .entry-content .post-title a {
  font-weight: 700;
  letter-spacing: -0.8px;
}

.post-content .entry-excerpt {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

p#breadcrumbs {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    margin-top: 0.5rem;
    
    span.breadcrumb_last {
        font-weight: 500;
    }
}

/* in versione inglese*/
html[lang="en-US"] .gm .gm-item{
    background-color: #000;
}

html[lang="en-US"] .gm .gm-item a:hover, html[lang="en-US"] .gm .gm-item a:hover .title{
    background-color: #fff;
    color:#000;
}

html[lang="en-US"] .gm a .title{
    color:#fff;
}

html[lang="en-US"] .gm .has-thumbnail a:hover .title{
    text-shadow: none;
}

@media (min-width: 768px) {
}

@media (min-width: 991px){

    /* Menu */
    
    .main-navigation {
      padding: 0;
    }
    
    .main-navigation .menu:not(#utilitymenu) li.dropdown > a::after {
      font-family: "FontAwesome";
      content: "\f107";
      margin-left: 0.7em;
    }
    
    .shapely-dropdown {
      display: none;
    }

    .menu-headermenu-container {
      margin-left: 0;
      text-align: center;
    }
    
    .main-navigation .menu:not(#utilitymenu) li a,
    .main-navigation #menu.menu li ul.dropdown-menu li a {
      padding: 1.2rem 1.8rem;
    }
    
    .main-navigation .menu:not(#utilitymenu) li a, #site-navigation .module.widget-handle i{
        color:#fff;
    }

   /* .main-navigation .menu:not(#utilitymenu) li a:hover{
        background-color:#99cc33;
        color:#fff!important;
    }*/

    .main-navigation #menu ul.dropdown-menu li a{
        color: var(--ccstemplate-primary-text-color);
    }

    /*.module-group{
        background-color:#99cc33;
    }*/

    #utilitymenu a {
      color: var(--ccstemplate-primary-text-color);
      padding: 0;
    }
    
    #utilitymenu a:hover {
      background: none;
      color: var(--ccstemplate-primary-text-color);
    }
    
    #utilitymenu .current-menu-item > a{
        font-weight:normal
        background-color: var(--ccstemplate-primary-text-color);
        color:#fff;
    }
    
    #menu .current-menu-item > a {
        background-color: var(--ccstemplate-primary-text-color);
    }

}