/*
Theme Name:     Market Insight
Description:    Child theme made by Hideomi Koishi
Author:         tagDiv
Template:       Newspaper
Version:        6.0c
*/


/*  ----------------------------------------------------------------------------
 * Arancione    #f96850
 * Grigio       #043942
*/


html {scroll-behavior: smooth;}


/* HEADER */
.arancione a
{
	color: #f96850!important;
}
.azzurro a
{
	color: #5ca8cd!important;
}

.blu a
{
	color: #043942!important;
}

/* MAIN MENU */
.solo-mobile {display:none;}

/* SECTIONS MENU */
.mki-sections-menu-container {
	display: inline-block;
    width: 100%;
}
.mki-sections-menu {
	list-style: none;
	display: flex;
	justify-content: space-between;
	margin-bottom:3px;
}
.mki-sections-menu li{
	display: inline-block;
    position: relative;
    margin-left: 8px;
    float: left;
    text-transform: uppercase;
    font-size: smaller;
    /*padding: 0 2px;*/
    font-weight:600;
}
.mki-sections-menu li a {
	color: #000;
}
.mki-sections-menu li a:hover {
	border-bottom: 1px solid #f96850;
}
/**/
#td-top-search {
    margin-top: -48px;
}

/* IMGS */
/* ultimi approfondimenti*/
.display-posts-listing .listing-item .image {
	display: block;
	margin-bottom: 20px;
}


/* TITLES AND LETTERING */
h1.entry-title,
h3.entry-title a,
.entry-thumb {text-transform: uppercase;}

.td_module_mx8 .entry-title {
    line-height: 24px;
}

/* HEADER & LOGO */



/* BREADCRUMBS */
.newsletter .entry-crumbs {display: none; max-height: 0px; font-size: 0px; overflow: hidden; mso-hide: all;}

/* POSTS LIST */


/* POST DETAIL */
article.post .td-social-google, article.post .td-social-pinterest {display:none;}
.single .td-related-title .td-related-right {display:none;}

/* NOVITA DAI MERCATI */

.category-novita-dai-mercati .td_module_16 {
	padding-bottom: 20px;
}

.category-novita-dai-mercati .item-details {
	margin-left: 0px;
}


/* RELATED - TRENDING STOCKS*/
.td-related-row .td-related-span4 {
    height: 210px;
}

.td_block_related_posts .td-module-title {
	font-size: 13px;
  line-height: 18px;
}

/* SIDEBAR */

.td_block_text_with_title img {
	margin: 5px 0;
}

.p-abs {
	position:absolute;
}
/*****
.wpb_widgetised_column .td-post-date,
.td-main-sidebar .td-post-date{
	display:none;
			}
********/

/* blocco loghi */
.patchworkItem {
    margin: 0 !important;
    display: block;
    float: left;
    width: 60px;
    height: 60px;
    padding: 3px;
}

/* form ricerca */
select.isinmenu, select.settorimenu {
	background-color: #fff;
	border-color: #e1e1e1;
	margin-bottom: 0px;
    margin-top: 10px;
	width: 100%;
	height: 32px;
}

/* slider novità dai mercati */
.wpb_posts_slider .flex-caption, .wpb_posts_slider .nivo-caption {
    background-color: #ffffff;
}

.ihc-bank-transfer-msg {
	width: 1068px;
	margin-left:auto;
	margin-right:auto;
}

/* FOOTER */
.td-footer-bottom-full .footer-text-wrap {
	font-size:12px;
	font-family: 'Open Sans', arial, sans-serif;
}

.td-footer-bottom-full .footer-logo-wrap {
    margin-top: 15px;
}

.td-footer-wrapper aside.widget_media_image {
	max-width: 60%;
}


/* MKI VIDEO */

.video-news .td_module_16 .item-details {
     min-height: auto;
}

.cvm-vim-playlist.default{
	display:block;
	max-width:100%;
	margin:20px 0px;
}

.cvm-vim-playlist.default .cvm-playlist-wrap{
	display:block;
	width:100%;
}

	.cvm-vim-playlist.default .cvm-playlist-wrap .playlist-visibility{
		display:block;
		position:relative;
		width:50px;
		height:20px;
		background-position:center center;
		background-repeat:no-repeat;
		bottom:0px;
		right:0px;
		outline:0px;
		margin-left:auto;
	}
	.cvm-vim-playlist.default .cvm-playlist-wrap .playlist-visibility.collapse{
		background-image:url(images/collapse.png);
	}
	.cvm-vim-playlist.default .cvm-playlist-wrap .playlist-visibility.expand{
		background-image:url(images/expand.png);
	}

	.cvm-vim-playlist.default .cvm-playlist{
		display:block;
		height:200px;
		overflow:auto;
		border:1px #CCC solid;
		padding:0px 5px;
	}
		.cvm-vim-playlist.default .cvm-playlist .cvm-playlist-item{
			display:block;
			width:100%;
			float:left;
			border-bottom:1px #ccc solid;
			padding-bottom:4px;
			padding-top:4px;
			line-height: 15px;
		}
			.cvm-vim-playlist.default .cvm-playlist .cvm-playlist-item a{
				color:#000;
				text-decoration:none;
				text-transform: uppercase;
				font-size: 13px;
				font-weight: 500;
				font-family: 'Roboto', sans-serif;
			}
			.cvm-vim-playlist.default .cvm-playlist .cvm-playlist-item a span.duration{
				color:#999;
				font-style:italic;
			}
			.cvm-vim-playlist.default .cvm-playlist .cvm-playlist-item img{
				width:55px;
				padding:0px;
				float:left;
				margin-right:10px;
				border:1px #CCC solid;
				margin-bottom:0px;
			}
	.cvm-vim-playlist.default .cvm-player{
		display:block;
		position:relative;
		max-width:100%;
		overflow:hidden;
		background-image:url(images/loading.gif);
		background-color:#000000;
		background-position:center center;
		background-repeat:no-repeat;
	}

/* RECAPTCHA */
body:not(.page-id-362363) .grecaptcha-badge {
	display: none;
}

/* AIM INSIGHT */
body.aim-insight .schede-box {
	display:flex;
	flex-direction: column-reverse;
}

body.aim-insight .indici-index {
    margin-bottom: 30px;
}

body.aim-insight .indici-index li{
	list-style-type: none;
	display: initial;
	margin-left: 15px;
}

body.aim-insight .indici-index li a{
	display: inline-block;
	text-align: center;
	border: 1px solid #5ca8cd;
	color:  #5ca8cd;
	width: 30px;
	margin-bottom:15px;
}

body.aim-insight .td-header-sp-top-menu a,
body.aim-insight .td-icon-font {
	color: #fff;
}

body.aim-insight .td_block_image_box .td-tiny-image .td-image-box-span {
    width: 20%;
		display: block;
		margin-bottom: 20px;
}

body.aim-insight .td_block_image_box .td-tiny-image .td-custom {
	padding:10px;
	border: 1px solid #5ca8cd;
}

body.aim-insight .td_block_image_box .td-tiny-image .td-custom-image a {
    height: 70px;
    background-size: initial;
    background-position: center center;
    background-repeat: no-repeat;
		background-size: contain;
}

/* fronte flip e bordino esterno */
body.aim-insight .td_block_image_box .td-custom-image a:before {
	background-color: #fff;
}

/*bordino flip*/
body.aim-insight .td-custom-image  {
    border: 1px solid #5ca8cd;
		padding: 20px;
}

body.aim-insight  .iniziale-box {
    display:block;
    margin:0px;
    width:0px;
    float:left;
}

body.aim-insight .td-image-box-span .scheda-info-layer {
  display: none;
  padding:10px;
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

body.aim-insight .td-image-box-span .scheda-info-layer {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:100%;
	height:100%;
  opacity: 1;
	animation-name: fadeInOpacity;
	animation-timing-function: ease-in;
	animation-duration: .5s;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
	vertical-align: middle;
	text-align:center;
	-moz-transition: all 0.4s ease-in-out 0s;
	    -webkit-transition: all 0.4s ease-in-out 0s;
	    -ms-transition: all 0.4s ease-in-out 0s;
	    transition: all 0.4s ease-in-out 0s;
	}

	body.aim-insight .td-image-box-span:hover .scheda-info-layer {
		display:block;
	}

	body.aim-insight .td-image-box-span .scheda-info {
	    text-align: center;
	    font-size: 18px;
	    display: inline-block;
	    position: absolute;
	    top: 50%;
	    left: 50%;
	    -moz-transform: translate(-50%, -50%);
	    -webkit-transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	    transform: translate(-50%, -50%);
			color:#fff;
	}

body.aim-insight .td-image-box-span .scheda-info-layer h3 {
  font-size: .8rem;
  color:#fff;
}

body.aim-insight #mki_block_16Tpl .entry-thumb {
	height:130px;
}

body.aim-insight #mki_block_16Tpl h3.entry-title {
	display: -webkit-box;
  max-width: 200px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-schede .aim-chart-container{
	margin-bottom:30px;
}
.single-schede .nome_scheda {
	text-align:right;
	margin-top:50px;
}
/*logo azienda aim*/
.single-schede .logo_scheda{
    clear:both;
	text-align:right;
	width:100%;
	margin-bottom:25px;
}
.single-schede .logo_azienda{
    margin-top: 0px;
    max-width:150px;
    clear:both;
}
.single-schede .meta-box {
	text-align: right;
}
.single-schede .meta {
	font-family: 'Roboto', sans-serif;
	font-size: 1rem;
	line-height: 1.5rem
}

.single-schede span {
	font-weight:600;
}

.single-schede .td-footer-wrapper .block-title span,
.single-schede .td-footer-wrapper .block-title label {
    background-color: transparent!important;
}

.single-schede .block-title > a,
.single-schede .block-title > span,
.single-schede .block-title :not(.td-footer-wrapper) span,
.single-schede .block-title > label,
.single-schede .widgettitle,
.single-schede .widgettitle:after,
.single-schede .td-trending-now-title,
.single-schede .td-trending-now-wrapper:hover .td-trending-now-title,
.single-schede .td-next-prev-wrap a:hover,
.single-schede .td-scroll-up
{
    background-color: #5ca8cd!important;
}

.single-schede .block-title,
.single-schede .td-next-prev-wrap a:hover {
    border-color: #5ca8cd;
}

.single-schede .dwnlist li a,
.single-schede .td_module_wrap:hover .entry-title a {
    color: #000;;
}

.single-schede .dwnlist li a:hover,
.single-schede .td_module_wrap:hover .entry-title a:hover,
.single-schede .top-header-menu li a:hover,
.aim-insight .top-header-menu li a:hover {
    color: #5ca8cd;
}

.single-schede .tdc-column.dwnlist {
	margin-bottom:48px;
}


.single-schede .dwnlist .td_module_6 {
	padding-bottom: 0px;;
}
.single-schede .dwnlist .doc_hidden{
	display:none;
}

.single-schede input:checked + label {
    color: #5ca8cd;
    border-top: 2px solid #5ca8cd;
}

.single-schede .block-title a
{
	padding: 7px 12px 6px;
}

.single-schede p:not(:last-child) {
  margin: 0 0 20px;
}

.single-schede main {
  padding: 40px 0;
}

.single-schede section {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid #abc;
}

.single-schede input {
  display: none;
}

.single-schede label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 17px;
  font-weight: 600;
  text-align: center;
  color: #abc;
}

.single-schede label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

.single-schede label[for*='1']:before { content: '\f201'; }
.single-schede label[for*='2']:before { content: '\f1ad'; }
.single-schede label[for*='3']:before { content: '\f0e8'; }
.single-schede label[for*='4']:before { content: '\f0b1'; }
.single-schede label[for*='5']:before { content: '\f007'; }
.single-schede label[for*='6']:before { content: '\f192'; }

.single-schede label:hover {
  color: #789;
  cursor: pointer;
}

.single-schede input:checked + label {
  color: #5ca8cd;
  border: 1px solid #abc;
  border-top: 2px solid #5ca8cd;
  border-bottom: 1px solid #fff;
}

.single-schede #tab1:checked ~ #content1,
.single-schede #tab2:checked ~ #content2,
.single-schede #tab3:checked ~ #content3,
.single-schede #tab4:checked ~ #content4,
.single-schede #tab5:checked ~ #content5,
.single-schede #tab6:checked ~ #content6 {
  display: block;
}


.single-schede .schede-button {
	display: inline-block;
	padding:10px;
	margin-right: 20px;
	border: 2px solid #bbb;
	color:#000;
}

.single-schede .schede-button:hover {
	display: inline-block;
	transition: color .1s ease;
	color:#fff;
	-webkit-transition: background-color 0.5s ease;
         -moz-transition: background-color 0.5s ease;
           -o-transition: background-color 0.5s ease;
          -ms-transition: background-color 0.5 ease;
              transition: background-color 0.5 ease;
    background-color:#5ca8cd;
    @include btn-border-slide(#252525, #5ca8cd, 2px, 0.8s);

}
/*
.single-schede a.schede-btn {
	color:inherit;
}
.single-schede a.schede-btn:hover {
	color:inherit;
}
*/
.single-schede #mki_block_16Tpl .td-module-thumb img {
	height:130px;
}

.single-schede .td_block_16 h3.entry-title,
.single-schede .td_block_16 .td-excerpt {
	display: -webkit-box;
  max-width: 200px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-schede .schede-btn i:first-child {
    margin-right: 6px;
}

.single-schede .fa-file-pdf-o {
	color: #5ca8cd;
	font-size: 30px;
	left: 32px;
  position: absolute;
  top: 8px;
}

.single-schede .dwnlist li a .entry-title{
	font-family: 'Roboto', sans-serif;
	text-transform: uppercase;
	font-size: 16px;
    line-height: 17px;
    font-weight: 500;
}

.mki-next-prev-wrap {
    position: relative;
    clear: both;
}

.mki-next-prev-wrap .aim-ajax-next-page {
    padding-left: 2px;
}
.mki-next-prev-wrap a {
    display: inline-block;
    margin-right: 7px;
    width: 25px;
    height: 25px;
    line-height: 24px;
    border: 1px solid #dcdcdc;
    text-align: center;
    vertical-align: middle;
    font-size: 7px;
    color: #b7b7b7;
}

// Mixin for shadow button with block sliding up
@mixin btn-border-slide($color, $hoverColor, $borderWidth, $time) {
  $easing: cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
  padding: 0.5em 2em;
  cursor: pointer;
  overflow: hidden;
  &:before,
  &:after {
    content: "";
    position: absolute;
    left: 0;
    height: $borderWidth;
    width: 100%;
    background-color: $color;
  }
  &:before {
    top: 0;
  }
  &:after {
    bottom: 0;
  }
  &:hover {
    & > * {
      & > * {
        &:before,
        &:after {
          transform: translate3d(0, 0, 0);
        }
        & > * {
          &:before,
          &:after {
            transform: translate3d(0, 0, 0);
          }
        }
      }
    }
  }
  & > * {
    &:before,
    &:after {
      content: "";
      position: absolute;
      top: 0;
      height: 100%;
      width: $borderWidth;
      background-color: $color;
    }
    &:before {
      left: 0;
    }
    &:after {
      right: 0;
    }
    & > * {
      &:before,
      &:after {
        content: "";
        position: absolute;
        left: 0;
        z-index: 9;
        height: $borderWidth;
        width: 100%;
        background-color: $hoverColor;
      }
      &:before {
        top: 0;
        transform: translate3d(-105%, 0, 0);
        transition: transform $time $easing;
      }
      &:after {
        bottom: 0;
        transform: translate3d(105%, 0, 0);
        transition: transform $time $easing;
      }
      & > * {
        &:before,
        &:after {
          content: "";
          position: absolute;
          top: 0;
          z-index: 9;
          height: 100%;
          width: $borderWidth;
          background-color: $hoverColor;
        }
        &:before {
          left: 0;
          transform: translate3d(0, 105%, 0);
          transition: transform $time $easing;
        }
        &:after {
          right: 0;
          transform: translate3d(0, -105%, 0);
          transition: transform $time $easing;
        }
      }
    }
  }
}




@media screen and (max-width: 800px) {
  .single-schede label {
    font-size: 0;
  }
  .single-schede label:before {
    margin: 0;
    font-size: 18px;
  }
}

@media screen and (max-width: 500px) {
  .single-schede label {
    padding: 15px;
  }
	.single-schede .aim-chart-section{
    display:flex;
    flex-direction: column-reverse;
	}
}


/* MOBILE */

@media only screen and (max-width: 767px) {
	.solo-mobile {display:list-item;}
	.mki-sections-menu-container {display:none;}

	.td_block_wrap .td-big-grid-wrapper .td-big-grid-scroll .td-big-grid-post {
    display: block;
    width: 100%;
    margin-left: 0px;
    margin-top: 4px;
	}

	body.aim-insight .td_block_image_box .td-tiny-image .td-custom {
	    margin: 15px;
	}

	.td-footer-wrapper aside.widget_media_image {
    max-width: 50%;
    margin: 20px auto;
	}
	
}

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


@media (max-width: 767px) {


}
