/*
Theme Name: Vantage Child for MDR
Author: IXPRESS
Author URI: http://www.ixpress.it/
Theme URI: http://siteorigin.com/theme/vantage
Description: Vantage Child Theme for MDR
Version: 1.0.0
Template: vantage
Text Domain: vantage
Domain Path: /languages/
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/* OVERRIDE STYLE
-------------------------------------------------------------- */
* {
  font-family: Georgia, Times, Times New Roman, serif;
}

/* Font customization */
body,
button,
input,
select,
textarea {
  font-family: Georgia, Times, Times New Roman, serif;
  line-height: 1.5em;
  font-size: 13px;
}

h1 {
  font-family: Georgia, Times, Times New Roman, serif;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
}

#masthead h1 {
  font-family: Georgia, Times, Times New Roman, serif;
}

.iw-so-article-content {
  font-family: Georgia, Times, Times New Roman, serif;
}

#top-image-container {
  margin: 0;
  padding: 0;
  background: #fff;
}

#top-image-container img {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* MASTERHEAD */
#masthead {
  background: #000000;
}

#masthead .hgroup {
  zoom: 1;
  position: relative;
  padding-top: 20px;
  padding-bottom: 0px;
}

/* HOMEPAGE */
.four-block h1, .four-block h2, .four-block h3 {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px;
  text-align: center;
  font-weight: 300;
}

.entry-content .four-block a:link {
  text-decoration: none;
  color: #ffffff;
}

.entry-content .four-block a:hover {
  text-decoration: none;
  color: #81d742;
}

.four-block-row .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper {
  padding: 10px 0px 50px 0px;
}

.nivo-caption {
  font-size: 1em;
}

.links-row a {
  opacity: 0.7;
}

.links-row .widget img {
  opacity: 0.5;
}

.links-row .widget img:hover {
  opacity: 1;
}

.links-row .widget h2 {
  color: #56c156;
}

/* PAGE - ARTICLE */
article.post .entry-header h1.entry-title, article.page .entry-header h1.entry-title {
  color: #3b3b3b;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.35em;
}

article.post .entry-categories, article.page .entry-categories {
  margin-top: 1.5em;
  color: #999999;
  font-size: 0.85em;
  border-top: 2px solid #bbbbbb;
}

article.post .entry-categories a, article.page .entry-categories a {
  color: #777777;
  font-weight: 700;
  text-decoration: none;
}

article.post .entry-categories a:hover, article.page .entry-categories a:hover {
  color: #53b538;
  text-decoration: underline;
}

/* FOOTER */
#footer-widgets .widget ul {
  text-align: right;
}

#footer-widgets .widget ul li {
  display: inline-block;
  border: none;
  margin-right: 10px;
  font-size: 20px;
  text-decoration: none;
}

#colophon .widget_nav_menu .menu-item a {
  display: block;
  padding-bottom: 3px;
  margin-bottom: 3px;
  border-bottom: none;
}

#colophon #theme-attribution, #colophon #site-info {
  text-align: center;
  margin-top: 25px;
  color: #aaaaaa;
  font-size: 11.5px;
  display: none;
}

/* Pannello appuntamenti */

#appuntamenti-panel {
  background: #0b5587;
}

#appuntamenti-panel .iw-so-article-title {
  color: red;

}

/* *************************** */
/* Immagini più grandi in news */
/* *************************** */

article.post.post-with-thumbnail-icon .entry-thumbnail,
article.page.post-with-thumbnail-icon .entry-thumbnail {
  margin-top: 0.2em;
  float: left;
  clear: none;
  width: 22%;
}
article.post.post-with-thumbnail-icon .entry-thumbnail img,
article.page.post-with-thumbnail-icon .entry-thumbnail img {
  width: 100%;
  height: auto;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
article.post.post-with-thumbnail-icon .entry-main,
article.page.post-with-thumbnail-icon .entry-main {
  width: 600px;
  width: 75.41%;
  float: right;
}

#main-slider .metaslider.ms-theme-simply-dark ul.rslides_tabs {
  background: transparent;
  -webkit-box-pack: end;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center !important;
  line-height: 15px;
  margin: 0;
  overflow: visible;
  padding: .5rem 0 0 !important;
  position: absolute;
  top: 100%;
}
.metaslider.ms-theme-simply-dark * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.metaslider .rslides_tabs {
    margin: 0 0 40px;
}
.rslides_tabs {
    margin: 0;
    padding: 7px 0 !important;
    background: #333;
    font-size: 18px;
    list-style: none;
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

/* *************************** */
/*         MEDIA QUERY         */
/* *************************** */

@media screen and (max-width: 600px) {
  #news-row .iw-so-article-content h2, 
  #news-row .iw-so-article-content p {
    padding-left: 0px;
  }

  #appuntamenti-panel .iw-so-article-content h2, 
  #appuntamenti-panel .iw-so-article-content p {
    padding-left: 0px;
  }

  #event-row {
    padding-left:0px;
    padding-right:0px;
  }

   #main-slider .metaslider.ms-theme-simply-dark ul.rslides_tabs {
    background: transparent;
    -webkit-box-pack: end;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center !important;
    line-height: 15px;
    margin: 0;
    overflow: visible;
    padding: .5rem 0 0 !important;
    position: absolute;
    top: 100%;
  }
  .metaslider.ms-theme-simply-dark * {
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
  }
  .metaslider .rslides_tabs {
      margin: 0 0 40px;
  }
  .rslides_tabs {
      margin: 0;
      padding: 7px 0 !important;
      background: #333;
      font-size: 18px;
      list-style: none;
      padding: 10px 0;
      text-align: center;
      width: 100%;
  }

}
