/*
 Theme Name:   Attorna Child
 Theme URI:    http://demo.goodlayers.com/attorna
 Description:  Goodlayers Attorna Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     attorna
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  attorna-child

 START YOUR CHILD THEME CSS HERE
*/

@font-face {
    font-family: 'Segoe';
    src: url('https://bwlegal.it/wp-content/webfonts/Segoe/segoe.woff2') format('woff2'),
         url('https://bwlegal.it/wp-content/webfonts/Segoe/segoe.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/*HEADER */
.attorna-top-bar .attorna-custom-wpml-flag {
    display: none !important;
}
.wpml-ls-menu-item .wpml-ls-flag  {
    width: 18px !important;

}
/*HOME */
#homeIntro .gdlr-core-pbf-background-wrap {
    z-index: 0 !important;
}
#homeForm .gdlr-core-full-height-pre-spaces {
    height: 1px !important;
}
#homeForm .gdlr-core-pbf-background-wrap {
    z-index: -1 !important;
}

#homeNotizie .wppsac-post-slider .slick-arrow, 
#homeNotizie .wppsac-post-carousel .slick-arrow {
    background-color: transparent !important;
}

#homeNotizie .wppsac-post-slider .slick-arrow svg, 
#homeNotizie .wppsac-post-carousel .slick-arrow svg {
    fill: #488396 !important;
}
#homeNotizie .wppsac-post-carousel.design-1 .slick-prev {
    left: -40px !important;
}

#homeNotizie .wppsac-post-carousel.design-1 .slick-next {
    right: -40px !important;
}

#homeNotizie .wppsac-post-slider .slick-dots li button, 
#homeNotizie .wppsac-post-carousel .slick-dots li button {
    border-radius: 0% !important;
    border: none !important;
    width: 16px !important;
    height: 16px !important;
    background-color: #CCCCCC !important;
}
#homeNotizie .wppsac-post-slider .slick-dots li.slick-active button, 
#homeNotizie .wppsac-post-carousel .slick-dots li.slick-active button {
     background-color: #488396 !important;
}
#homeNotizie .wppsac-post-carousel.design-1 .wppsac-carousel-slides .wppsac-post-content-position {
    background-color: #F9F9F9 !important;
    border: 1px solid #E6E6E6 !important;
    padding: 15px !important;
}
#homeNotizie .wppsac-post-carousel.design-1 .wppsac-carousel-slides .wppsac-post-content-position .wppsac-post-title,  
#homeNotizie .wppsac-post-carousel.design-1 .wppsac-carousel-slides .wppsac-post-content-position .wppsac-post-date,
#homeNotizie .wppsac-post-carousel.design-1 .wppsac-carousel-slides .wppsac-post-content-position .wppsac-post-content {
    text-align: center !important;
    font-weight: normal  !important;
}

#homeNotizie .wppsac-post-carousel.design-1 .wppsac-post-image-bg {
    margin-bottom: 0px !important;
    background-color: #ffffff !important;
    border: 1px solid #E6E6E6 !important;
    border-bottom: none !important;
    height: 270px !important;
    width: 100% !important;
}

#homeNotizie .wppsac-post-carousel.design-1 .wppsac-post-image-bg a {
  width: 100%;      
  height: 270px;   
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#homeNotizie .wppsac-post-carousel.design-1 .wppsac-post-image-bg a img {
     max-width: 95%;
  max-height: 95%;
  object-fit: contain !important;
    
}

#homeNotizie .wppsac-post-carousel.design-1 .wppsac-post-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* Numero massimo di righe */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#homeNotizie .wppsac-post-carousel.design-1 .wppsac-sub-content {
  display: -webkit-box;
  -webkit-line-clamp: 5;       /* Numero massimo di righe */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 0px;
}

.wppsac-post-carousel .slick-dots {
    margin: 10px auto !important;
}


/* articoli */
/*.attorna-blog-info-wrapper {
    display: none;
}*/
.gdlr-core-blog-info-author {
    display: none;
}
/* sidebar */
.attorna-sidebar-area ul {
    margin: 15px 0px;
}
.attorna-sidebar-area li {
    padding: 14px 0;
   border-bottom-width: 1px;
    border-bottom-style: solid;
    padding: 13px 0;
    list-style: none !important;
}
.attorna-sidebar-area li:before {
    border-color: #ddd;
    border-left-width: 3px;
    border-left-style: solid;
    height: 1.75em;
    content: " ";
    display: inline-block;
    vertical-align: middle;
    transition: border-color 300ms;
    -moz-transition: border-color 300ms;
    -o-transition: border-color 300ms;
    -webkit-transition: border-color 300ms;
}
.attorna-sidebar-area li.current-menu-item:before { 
     border-color: #1e6982;
}

.attorna-sidebar-area li a  {
        display: inline-block;
    padding-left: 15px;
    border-left: 0;
    vertical-align: middle;
}
.attorna-sidebar-area li a:before  {
content: "\f178";
    font-family: "fontAwesome";
    padding-right: 12px;
    margin-left: -26px;
    opacity: 0;
    transition: opacity 200ms, margin-left 200ms;
    -moz-transition: opacity 200ms,margin-left 200ms;
    -o-transition: opacity 200ms,margin-left 200ms;
    -webkit-transition: opacity 200ms, margin-left 200ms;
}
.attorna-sidebar-area li.current-menu-item a:before {
    color: #1e6982;
    opacity: 1;
    margin-left: 0;
}

.btn {
    padding: 15px;
    background-color: #1e6982;
    color: #FFF !important;
    -moz-transition: opacity 200ms,margin-left 200ms;
    -o-transition: opacity 200ms,margin-left 200ms;
    -webkit-transition: opacity 200ms, margin-left 200ms;
}
.btn:hover {
    color: #1e6982 !important;
    background-color: #FFF;
}
/*FOOTER */
.bwlegal-footer-colonna {
    float: left; 
    width: 50%;
}
#bwlegal-footer-colonna-dx #title {
    font-size: 1.1em;
   padding: 30px 0px;
}
.footer-social a {
    margin-right: 15px;
}

@media screen and (max-width: 767px) {
 .bwlegal-footer-colonna {
    width: 100%;
}
#bwlegal-footer-colonna-dx #title {
   padding: 0px 0px;
}
}

.gdlr-core-page-builder-body [data-skin="White Text"] a, .gdlr-core-page-builder-body [data-skin="White Text"] .gdlr-core-skin-link {
    
    color: #1E6881;
}

/* Seleziona tutti i tag TRANE i tag con classi Font Awesome */
/* *:not([class*="fa-"]):not([class*="fas"]):not([class*="far"]):not([class*="fal"]):not([class*="fad"]):not([class*="fab"]):not([class*="arrow_carrot-left"]):not([class*="arrow_carrot-right"]) {
  font-family: 'Segoe', sans-serif !important;
} */


.sf-menu > li > a:hover, .sf-menu > li.current-menu-item > a, .sf-menu > li.current-menu-ancestor > a, .sf-vertical > li > a:hover, .sf-vertical > li.current-menu-item > a, .sf-vertical > li.current-menu-ancestor > a, .sf-vertical > li.current-page-ancestor > a {
    color: #262626;
    font-weight: 500 !important;
}

html {
    margin-top: 0px !important;
}
#wpadminbar {
     display: none !important;
 }
 body.admin-bar .attorna-fixed-navigation.attorna-style-fixed, body.admin-bar .attorna-fixed-navigation.attorna-style-slide {
    margin-top: 0px !important;
}
@media screen and (max-width: 767px) {
 #gdlr-core-column-2 .gdlr-core-js {
   /* height: 200px !important; */
 }
}

form p.half {
    display: inline-block;
    width: 45%;
    margin: 10px 2% !important;
    float: left;
}

form p.intero {
    display: inline-block;
    width: 95%;
    margin: 10px 2% !important;
    float: left;
}

@media screen and (max-width: 767px) {
 form p.half {
        display: inline-block;
        width: 100%;
        float: left;
    }
    form p.intero {
    display: inline-block;
    width: 95%;
    margin: 10px 2% !important;
    float: left;
}



}

#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {
    max-width: 100%;
}

.grecaptcha-badge {
    margin-right: 0px !important;
    z-index: 99999;
}

#blogItems  .gdlr-core-blog-grid {
    padding-left: 15px; 
    padding-right: 15px;
}

#blogItems  .gdlr-core-blog-grid .gdlr-core-blog-thumbnail {
    margin-bottom: 0px !important;
    background-color: #ffffff !important;
    border: 1px solid #E6E6E6 !important;
    border-bottom: none !important;
    height: 270px !important;
    width: 100% !important;
}
#blogItems  .gdlr-core-blog-grid .gdlr-core-blog-thumbnail a {
width: 95%;      
margin: 0 auto;
  height: 270px;   
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#blogItems  .gdlr-core-blog-grid .gdlr-core-blog-grid-content-wrap {
   background-color: #F9F9F9 !important;
    border: 1px solid #E6E6E6 !important;
    padding: 15px !important;
}

#homeBtnNews {
    margin-top: 25px !important;
}



