/* 
 Theme Name:   Kiway
 Theme URI:    
 Description:  
 Author:       admin
 Author URI:   
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('./fonts/montserrat-v25-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/montserrat-v25-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('./fonts/montserrat-v25-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}



/* raleway-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/raleway-v28-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('./fonts/raleway-v28-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* raleway-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/raleway-v28-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('./fonts/raleway-v28-latin-500.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* raleway-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/raleway-v28-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('./fonts/raleway-v28-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


.grecaptcha-badge {
  visibility: collapse !important;  
  display:none !important;
}
/*MEGA MENU*/

.quadmenu-dropdown-toggle  {
        pointer-events: none;
   } 

/*general*/

 .et_pb_section .et_pb_slider .et_pb_slide .et_pb_container .et_pb_slide_description .et_pb_slide_title {line-height: 1 !important;}

.h1-piccolo h1 {font-size: 16px !important; margin-top: 1em;}

.et-box.et-shadow {margin-top: 3em;}
.et-box.et-shadow .et-box-content {padding: 20px 30px !important; color: #222;}
.et-box.et-shadow .et-box-content h3 {font-size: 1.7em; font-weight:600; }
.et-box.et-shadow .et-box-content p {font-size: 16px; font-weight: 400 !important;}

/***/

.banner-shop {text-align: center; background-color: #446084; color: #fff !important;  margin: 10px auto; font-size: 1.3em; line-height: 1.2; }
.banner-shop a {color: #446084 !important; background-color: #fff; border-radius: 5px; padding: 6px 12px; margin-top: 0.5em; display: inline-block; font-weight: 600; border: 2px solid #fff; transition: 0.4s;}
.banner-shop a:hover {color: #fff !important; background-color: #446084;}


#main-header .et_menu_container {padding-right: 0 !important;}

.quadmenu-dropdown-menu {top: 70% !important;}

#top-menu-nav {max-height: 79px !important;}

.et-fixed-header #et-top-navigation {padding-top: 30px !important;}
.et-fixed-header #top-menu-nav {max-height: 59px !important;}

.contattaci .quadmenu-item-content {padding-top: 8px !important ; padding-bottom: 8px !important;  margin-top: -10px; background-color: #99cc00 ; border-radius: 80px; color: #fff !important;}
.contattaci .quadmenu-item-content .quadmenu-icon {color: #fff !important;}

.quadmenu-icon {font-size: 1.2em !important;}

.menu-servizi .quadmenu-dropdown-menu .quadmenu-text  {font-weight: 500 !important;}
.menu-servizi .quadmenu-dropdown-menu .quadmenu-item-content img {display: none;}
.menu-servizi .quadmenu-dropdown-menu .quadmenu-description {display: none !important;}

#dropdown-1071 .quadmenu-item-content {padding: 13px !important;}

#dropdown-722 {max-width: 1070px !important; width: 60%; max-height: 450px !important;}
#menu-item-1072 {padding: 1% !important;}
#menu-item-1072 > div {background-image: url("/wp-content/uploads/2019/10/immagine-principale-servizi-kiway.jpg"); height: 100%; max-width: 600px; background-repeat: no-repeat;}

#excerpt-menu {text-align: center; font-size: 1.2em; margin-bottom: 1.5em; font-weight: 600; padding: 0 1em;}

.quadmenu-item-content  {transition: 0.2s !important; border-left: 0px solid #99cc00;}
.quadmenu-item-content .quadmenu-text { font-weight: 500 !important;}
.quadmenu-dropdown-menu  .quadmenu-item-content:hover  {border-left: 5px solid #99cc00 !important; }
.quadmenu-item-content .quadmenu-text {transition: 0.4s !important;}

.menu-preventivo {background-color:#afcb22 !important; padding-top: 54px !important ; margin-top: -54px !important; position: relative !important; margin-left: 10px !important;}
.menu-preventivo .quadmenu-text { color: #fff; font-weight: 600; }

.menu-preventivo::before {
    content: " ";
    position: absolute;
    display: block;
    width: 20px;
    height: 100%;
    bottom: 0.2px;
    left: -20px;
    z-index: -1;
    background-color: #afcb22;
    border:1px solid #afcb22;
    border-right: 0px;

    transform-origin: bottom left;
    -ms-transform: skew(-10deg, 0deg);
    -webkit-transform: skew(-10deg, 0deg);
    transform: skew(-10deg, 0deg);
}

/***HOME***/

.et-pb-controllers a {height: 10px; width: 10px; background-color: #bbb;}

/****PAGINE***/

.et_pb_text h1 

/****BANNER PAGINE***/

#riga-a-cavallo .et_pb_promo  {padding: 6%;}

/*****FOOTER***/

#contattaci {background: #f7f7f7;}

/***CF7***/
/*
#contattaci input.wpcf7-text {padding: 10px; border-radius: 5px; border-color: transparent; width: 100%; margin-bottom: 15px;}
#contattaci textarea.wpcf7-textarea {padding: 10px; border-radius: 5px; border-color: transparent; width: 100%; max-height: 144px; margin-bottom: 15px;}

.wpcf7-submit {background-color: #99cc00 !important; border-color: #99cc00; color: #fff !important; font-size: 1em; 
	text-transform: uppercase; font-weight: 600; font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif; padding: .3em 1em; border-radius: 5px; letter-spacing: 2px; box-shadow: none;}
*/

.wpcf7-form p { padding-bottom:1em !important; } 
.wpcf7-form .wpcf7-text { height:46px; border:none; border-bottom:2px solid #99cc00; padding:5px 10px; width: 95%; font-size: 16px;} 
.wpcf7-form .wpcf7-textarea { border:none; border-bottom:2px solid #99cc00; padding:5px 10px; width: 95%; font-size: 16px;} 
.wpcf7-submit {background-color: #99cc00 !important; border: 2px solid #99cc00; color: #fff !important; font-size: 1em; cursor: pointer; font-weight:500; letter-spacing: 1px; transition: 0.4s;}
.wpcf7-submit:hover {padding:.3em 1em !important; background-color: #fff !important; color: #333 !important; border-color:#99cc00 !important;}

.wpcf7-list-item { margin-left:0; display: block;}

/***CF7 MATERIAL***/

div.cf7md-item {margin-bottom: 10px !important; max-width: 95%;}
#cf7md-form .mdc-text-field {background-color: transparent !important;}
#cf7md-form .mdc-button {background-color: #99cc00 !important;}

.form_container {overflow: hidden;}

.form_container .form_col.col1 {padding-right: 2%;}

#cf7md-form .mdc-text-field.mdc-ripple-upgraded--background-focused::before {opacity: 0.05 !important;}

#cf7md-form .mdc-text-field__input {border-color: rgba(0,0,0,0.2) !important;}

#cf7md-form  .mdc-line-ripple {background-color: #99cc00 !important; }

/***CF7 finanziamenti***/

div#wpcf7-f6957-p6958-o1 {max-width: 800px;} 
div#wpcf7-f6957-p6958-o1 h5 {font-weight: 600; margin: 1.4em 0; border-left: 4px solid #99cc00; padding: 0 0 0 10px;} 
div#wpcf7-f6957-p6958-o1 p {padding-bottom: 2em !important;} 
div#wpcf7-f6957-p6958-o1 input {font-size: 17px; box-shadow: inset 0px 0px 3px #ddd;} 
div#wpcf7-f6957-p6958-o1 select {font-size: 17px; padding: 6px; margin-top: 10px;} 
div#wpcf7-f6957-p6958-o1 input.wpcf7-text {height: 40px !important;} 
div#wpcf7-f6957-p6958-o1 input.wpcf7-number {height: 40px !important; padding: 5px; border: none; border-bottom:2px solid #99cc00; width: 100px;} 

/**pagina invio form FOR.TE***/

.page-id-6961 .container {max-width: 98%; width: 98%;}
.page-id-6961 .container #forte-table td {font-size: 16px;}
.page-id-6961 .container #forte-table th {font-size: 14px;}


/*****BLOG****/

.et-box.et-download {margin-top: 5%; } 
.et-box.et-download::before {background: none; content: "\f019"; font-family: fontawesome; font-size: 2em; } 
.et-box.et-download p {color: #333;} 

/*------- PORTFOLIO ----------*/

.et_pb_filterable_portfolio .et_pb_portfolio_filters {text-align: center;}
.et_pb_filterable_portfolio .et_pb_portfolio_filters ul {display: inline-block;}
.et_pb_filterable_portfolio .et_pb_portfolio_filters ul li a {border: 0 !important; background: none !important; text-transform: capitalize; border-right: 1px solid #ddd !important; position: relative; }
.et_pb_filterable_portfolio .et_pb_portfolio_filters ul li:last-child a { border-right: 0px !important;}

.et_pb_filterable_portfolio .et_pb_portfolio_filters ul li a.active::after { position: absolute; width: 80%; height: 3px; background-color: #99cc00; content: " "; bottom: 0; left: 10%;} 
.et_pb_filterable_portfolio .et_pb_portfolio_filters ul li a::after { position: absolute; width: 0%; height: 3px; background-color: #ddd; content: " "; bottom: 0; left: 10%; transition: 0.3s;} 
.et_pb_filterable_portfolio .et_pb_portfolio_filters ul li:hover a::after { position: absolute; width: 80%; height: 3px; background-color: #ddd; content: " "; bottom: 0; left: 10%;} 

.portfolio-category { text-transform: uppercase; text-decoration:underline; }
.portfolio-category  a { color: #666; font-size: .8rem; font-weight: 700; transition: .4s; text-align: center; }
.portfolio-category  a:hover { color: #99cc00; }
.portfolio-link { color: #333;  text-decoration:underline; font-weight: 700; }
.portfolio-link:hover { color: #99cc00;  text-decoration:underline; }

.et_pb_filterable_portfolio .et_pb_portfolio_item {display: table; width: 100%; margin-bottom: 10%;}
.filt_portfolio_meta {width: 35%; display: table-cell;	vertical-align:  middle;}
.filt_portfolio_image {width: 65%; display: table-cell;}

.et_pb_portofolio_pagination li.prev {display: none !important;}
.et_pb_portofolio_pagination li.next {display: none !important;}

/****TEAM***/

.et_pb_module.et_pb_toggle {padding: 1em 0 !important;}

/***FOOTER**/

#footer-widgets .widget_nav_menu {float: none !important; margin-bottom: 2em !important;}

/***MODULO CONTATTI***/

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-size: 14px;
}
::-moz-placeholder { /* Firefox 19+ */
  font-size: 14px;
}
:-ms-input-placeholder { /* IE 10+ */
  font-size: 14px;
}
:-moz-placeholder { /* Firefox 18- */
  font-size: 14px;
}

/* THREE COLUMN PORTFOLIO GRID LAYOUT */
 
@media only screen and ( min-width: 768px ) {

 .et_header_style_left #main-header #et-top-navigation {padding-top: 42px ;}
 
.three-column-grid .et_pb_grid_item {
width: 28.333% !important;
margin: 0 7.5% 7.5% 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n) {
margin-right: 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
clear: left;
}
 
.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
clear: unset !important;
}

.form_container .form_col {width: 50%; float: left;}


}

.titoletto-case { font-weight:800; font-size:1.2em; }

/*BLOG PAGE**/

.et_pb_blog_0 .et_pb_post img {transition: 0.3s;}
.et_pb_blog_0 .et_pb_post:hover img {filter: saturate(100%);}

/* BLOG SINGLE POST */

#sidebar .et_pb_widget {margin-bottom: 50px !important;}

.single-post #content-area { max-width: 1120px; margin: 0 auto; }
.single-post #content-area h1 { font-size: 2.6em; }
.single-post #content-area h2 { font-size: 2em; }
.single-post #left-area {width: 69.125%; }
.single-post #sidebar { width: 30.875%; }

.single-post #main-content .container::before { display: none; }

.rpwwt-post-date {font-size: 80%;}
.rpwwt-post-title { font-weight: 600; line-height: 1.2;}
.recent-posts-widget-with-thumbnails li {line-height: 1.5 ;}

.servizi-widget img {vertical-align: middle;  margin: 10px 15px 10px 0; }
.servizi-widget p {font-weight:600; }

/****RESPONSIVE***/

/*solo desktop*/
@media only screen and ( min-width: 981px ) {

#sidebar #text-3,.servizi-widget {width: 130% !important; max-width: 130% !important;}

#sidebar .widgettitle {padding-left: 10px; border-left: 4px solid #99cc00; padding-bottom: 0; margin-bottom: 20px;}

}

/***/

@media only screen and ( max-width: 1080px ) {

#quadmenu_0 a {font-size: 14px !important; }

}

@media only screen and ( max-width: 980px ) {

  .single-post #content-area h1 { font-size: 1.6em; }
.single-post #content-area h2 { font-size: 1.4em; margin-bottom: 0.6em;}

.menu-preventivo {margin-top: 0 !important; padding-top: 0 !important;}

#menu-item-1071 {width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important;}
#menu-item-1072 {display: none !important;}
#dropdown-722 {padding-left: 5% !important;}

}

@media only screen and ( max-width: 768px ) {

  h1 {font-size: 28px !important;}

#riga-a-cavallo h1 {font-size: 1.5em; }

}
