/*
 Theme Name:   Illdy-child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Illdy Child Theme
 Author:       Laura Morabito
 Author URI:   http://grafichesensibili.it
 Template:     illdy
 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, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  illdy-child
*/
/* GENERALI */
footer a {
  color: #008160!important;
}
section#blog a {
  text-decoration: none!important;
  color: inherit!important;
}
@media only screen and (max-width: 768px) {
  html {
      height: auto;
      margin: 0px;
      padding: 0px;
      overflow-x: hidden;
  }
  body  {
      width: 100%;
      height: 100%;
      margin: 0px;

      overflow-x: hidden;
  }

}
footer {
  padding: 0!important;
}
h2, h3, h4, h5, h6 {
font-variant: all-petite-caps;
}
h1 {
  border-left: solid 5px;
text-align: right;
padding-left: 20px;

}
div.bottom-header p {
  text-align: right;
  padding-right: 20px;



}
div.bottom-header h2 {

text-align: right;
padding-right: 20px;


}
body.category div.bottom-header.blog div.container {
    border-right: solid 5px white!important;

}
/* FRONT_PAGE*/
#about {
  padding-bottom: 0px!important;
  border-bottom: dotted 5px #810021;
    transform:skewY(2deg)!important;
    margin-bottom: 50px!important;
}
#about .section-header {
  transform:skewY(-2deg)!important;
}
/* SEZIONE PROGETTI*/
#projects {
  transform:skewY(-2deg)!important;
  background-color:white!important;
  padding-bottom: 50px!important;
  border-bottom: dotted 5px #008160;


}
#headerprogetti, #contentprogetti {
  transform:skewY(2deg)!important;
}
#headerprogetti {
  margin-bottom: 80px!important;
}

.project {
  border-radius: 100%;

  box-shadow: 0 0 0 4px #fff, 0 0 0 10px #810021!important;
  -webkit-box-shadow: 0 0 0 4px #fff, 0 0 0 10px #810021!important;
  -moz-box-shadow: 0 0 0 4px #fff, 0 0 0 10px #810021!important
  position: relative;

}

.project:hover span.project-overlay {
display:block;


}
.project:hover {
  box-shadow: 0 0 0 8px #fff, 0 0 0 10px black!important;
  -webkit-box-shadow: 0 0 0 8px #fff, 0 0 0 10px black!important;
  -moz-box-shadow: 0 0 0 8px #fff, 0 0 0 10px black!important;

}
span.project-overlay{
position: absolute!important;
width: 100%!important;
left: 0;
top: 0;
height: 100%;
background: rgba(240,27,45, 0)!important;
margin: auto;
opacity: 1!important;
display: none;
border-radius: 100%!important;


}
/*SEZIONE TESTIMONIALS**/
#testimonials {
  transform:skewY(-2deg)!important;
  background-color:white!important;
  padding-bottom: 50px!important;
  border-bottom: dotted 5px #006081;


}
#testimonials div.section-header {
    transform:skewY(2deg)!important;
}
#testimonials div.section-content {
    transform:skewY(2deg)!important;
}
.testimonial-content {
border-bottom: solid 2px black!important;

box-shadow: 0px 10px 0 rgba(0,129,96, 1)!important  ;
-webkit-box-shadow: 0px 10px 0 rgba(0,129,96, 1)!important ;
-moz-box-shadow: 0px 10px 0 rgba(0,129,96, 1)!important  ;
}
#testimonials div.section-content h6 {
  font-size: 40px!important;
  color: #008160!important;
}
.testimonial-content::after {
  bottom: -18px!important;
}
/* SEZIONE news*/
#latest-news {
  transform:skewY(2deg)!important;
  background-color:white!important;
  padding-bottom: 50px!important;
  margin-top: 50px!important;
  border-bottom: dotted 5px #006081;


}
#headernews, #conentnews {
  transform:skewY(-2deg)!important;
}
a.latest-news-button {
  transform:skewY(-2deg)!important;
  margin-top: 50px!important;
}


.blog-carousel .blog-post-entry {
  font-variant: all-petite-caps;
  text-align: left;
  text-decoration: overline;
  text-decoration-color: #545454;
  margin-left: -5px;
  margin-bottom: 0px!important;
}

#latest-news .blog-carousel .blog-post-entry {

  margin-left: 25px;


}
#latest-news .section-content .post {

    font-variant: all-petite-caps;
    padding-bottom: 0px;
    min-height: 400px!important;
    border-left: solid 2px black;
    border-bottom: solid 2px black;
    box-shadow: -10px -10px 0 rgba(0, 97, 129, 1)  ;
    -webkit-box-shadow: -10px -10px 0 rgba(0, 97, 129, 1)  ;
    -moz-box-shadow: -10px -10px 0 rgba(0, 97, 129, 1)  ;

}
#latest-news .section-description {
  color: white;
}
.illdy-blog-post {
  margin:  30px 0;


  min-height: 350px!important;


}
.post-button {

  position: relative;
  background-color: white!important;
  color: black!important;
  text-decoration: none;
  height: 20px!important;
  line-height: 20px!important;
  padding: 0!important;
  margin-right: 30px!important;
  float: right;
  margin-bottom: 5px;
}

.post-button:hover {
  color: #000;
}
.post-button:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;

  bottom: -5px;
  left: 0;
  right: 50%;
  border-bottom: solid 2px #006081;

  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  transition: .5s ease;
}
.post-button:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.post-title {
    line-height: 20px!important;
    text-align: right;
    border-right: solid 5px #006081;
    margin-bottom: 15px!important;
}

/*categorie interne */
.blog-carousel .blog-post-title {

    font-variant: all-petite-caps;
    text-align: right;
    border-left: solid 5px #810021;
    line-height: 20px!important;

}
body.category-distribuzione a.blog-post-title {
    border-left: solid 5px #006081;
    color:  #006081!important;

}
body.category-fiction-distribuzione  a.blog-post-title {
    border-left: solid 5px #006081;
    color:  #006081!important;

}
body.category-documentari-distribuzione a.blog-post-title {
    border-left: solid 5px #006081;
    color:  #006081!important;

}
.blog-post-image img:hover {
  -webkit-filter: grayscale(80%); /* Safari 6.0 - 9.0 */
  filter: grayscale(80%);

}
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;

  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .5s ease;

  border-top: solid 5px #810021;
  margin-top: -10px;
}
body.category-distribuzione .overlay {
    border-top: solid 5px #006081!important;
}
body.category-fiction-distribuzione .overlay {
    border-top: solid 5px #006081!important;
}
body.category-documentari-distribuzione .overlay {
    border-top: solid 5px #006081!important;
}
.blog-post-image:hover .overlay {
  width: 25%;

}
.blog-post-image {
  position: relative;
  width: 50%;
}

.blog-post-button {

  position: relative;
  background-color: white!important;
  color: black!important;
  text-decoration: none;
  height: 20px!important;
  line-height: 20px!important;
  padding: 0!important;
  float: right;
}

.blog-post-button:hover {
  color: #000;
}
.blog-post-button:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  right: 50%;
  border-bottom: solid 2px #810021;

  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  transition: .5s ease;
}
.blog-post-button:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
#menu-item-26 a::after{
  color:#006081!important;
}
#blog {
  border-top: solid 5px #006081;
}

/* CATEGORIA DISTRIUZIONE SCHEDE*/

article.category-documentari-distribuzione.alignnone {
  box-shadow: -10px 10px 0 rgba(0, 97, 129, 1)  ;
  -webkit-box-shadow: -10px 10px 0 rgba(0, 97, 129, 1)  ;
  -moz-box-shadow: -10px 10px 0 rgba(0, 97, 129, 1)  ;
}
article.category-fiction-distribuzione.alignnone {
  box-shadow: -10px 10px 0 rgba(0, 97, 129, 1)  ;
  -webkit-box-shadow: -10px 10px 0 rgba(0, 97, 129, 1)  ;
  -moz-box-shadow: -10px 10px 0 rgba(0, 97, 129, 1)  ;
}
article.category-distribuzione.alignnone {
  box-shadow: -10px 10px 0 rgba(0, 97, 129, 1)  ;
  -webkit-box-shadow: -10px 10px 0 rgba(0, 97, 129, 1)  ;
  -moz-box-shadow: -10px 10px 0 rgba(0, 97, 129, 1)  ;
}
article.category-documentari-distribuzione h2,h3,h4,h5,h6 {
  color:#006081;
}
article.category-fiction-distribuzione ul strong {
  font-variant: all-petite-caps;
  color: #006081;


}
article.category-documentari-distribuzione ul strong {
  font-variant: all-petite-caps;
  color: #006081;
  line-height: 12px!important;


}
article.category-distribuzione span.related-post-title {
  background-color:rgba(	0, 96, 129, 0.5)!important;
  font-variant: all-petite-caps;
  line-height: 12px!important;
}
article.category-distribuzione span.related-post-title:hover {
  color: black!important;
}
article.category-fiction-distribuzione span.related-post-title {
  font-variant: all-petite-caps;
  background-color: rgba(	0, 96, 129, 0.5)!important;
  line-height: 12px!important;
}
article.category-fiction-distribuzione span.related-post-title:hover {
  color: black!important;
}
article.category-documentari-distribuzione span.related-post-title {
  font-variant: all-petite-caps;
  background-color: rgba(	0, 96, 129, 0.5)!important;
  line-height: 12px!important;
}
article.category-documentari-distribuzione span.related-post-title:hover {
  color: black!important;
}
article ul,li {

  padding: 0;
  margin: 0;
  list-style: none!important;

}
article ul {
  margin: 2em 0;
}

article li {
  margin: 1em;
  margin-left: 3em;
}

article li:before {
  content: '\f1b2';
  font-family: 'FontAwesome';
  float: left;
  margin-left: -1.5em;


}
article.category-documentari-distribuzione li:before {
    color: #006081;
}
article.category-fiction-distribuzione li:before {
    color: #006081;
}
article h3 {
  margin-top: 75px!important;
    border-top: solid #006081;
    text-decoration: overline;
    text-decoration-color: #006081;
}

/* SCHEDE CATEGORIA PRODUZIONE*/

article.category-produzione h3{
  text-decoration-color: #810021;
    border-top: solid  #810021;
}
article.category-produzione li:before {
    color: #810021;
}
article.category-produzione .alignnone{
  box-shadow: -10px 10px 0 rgba(240,27,45, 1)  ;
  -webkit-box-shadow: -10px 10px 0 rgba(240,27,45, 1)  ;
  -moz-box-shadow: -10px 10px 0 rgba(240,27,45, 1)  ;
}
article.category-produzione ul strong {
  font-variant: all-petite-caps;
  color:#810021;


}
article.category-produzione span.related-post-title {
  font-variant: all-petite-caps;
  background-color: rgba(	240,27,45, 0.5)!important;
  line-height: 12px!important;
}
article.category-produzione span.related-post-title:hover {
  color: black!important;
}
/*team widget*/

.sc_team_member_name {
  margin-left: 15%!important;
  margin-right: 5%!important;
  margin-top: 40%!important;
  background: transparent!important;
  font-variant: all-petite-caps!important;
  line-height: 14px!important;
}
img.attachment-post_thumbnail {

  box-shadow: 10px 10px 0 rgba(240, 27, 45, 1)!important ;
  -webkit-box-shadow: 10px 10px 0 rgba(240, 27, 45, 1)!important  ;
  -moz-box-shadow: 10px 10px 0 rgba(240, 27, 45, 1)!important  ;
}
.grid_circles#sc_our_team .sc_team_member {
  box-shadow: 0 0 0 4px #fff, 0 0 0 10px #008160!important;
  -webkit-box-shadow: 0 0 0 4px #fff, 0 0 0 10px #008160!important;
  -moz-box-shadow: 0 0 0 4px #fff, 0 0 0 10px #008160!important;

}
.grid_circles#sc_our_team .sc_team_member:hover {
  box-shadow: 0 0 0 8px #fff, 0 0 0 10px black!important;
  -webkit-box-shadow: 0 0 0 8px #fff, 0 0 0 10px black!important;
  -moz-box-shadow: 0 0 0 8px #fff, 0 0 0 10px black!important;

}

.contatti {
  margin: auto;
  width: 66%;
}
.festivalvenezia {
  margin-top: 50px!important;
}
/* pagina about */
body.page div.container-fluid {
  padding: 0!important;
}