/******************************************************************
Theme Name: TV2000 Programma
Author: Marco Buttarini
Author URI: http://marbu.org
Version 1.0
******************************************************************/

/* fonts */

@font-face { font-family: "brain"; src: url("fonts/brain_flower_euro.eot"); src: url("fonts/brain_flower_euro.eot?#iefix") format("embedded-opentype"), url("fonts/brain_flower_euro.woff") format("woff"), url("fonts/brain_flower_euro.ttf") format("truetype"); font-weight: normal; font-style: normal; }

body {
background: rgb(108,198,217); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(108,198,217,1) 0%, rgba(220,238,241,1) 50%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(108,198,217,1)), color-stop(50%,rgba(220,238,241,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(108,198,217,1) 0%,rgba(220,238,241,1) 50%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(108,198,217,1) 0%,rgba(220,238,241,1) 50%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(108,198,217,1) 0%,rgba(220,238,241,1) 50%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(108,198,217,1) 0%,rgba(220,238,241,1) 50%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6cc6d9', endColorstr='#dceef1',GradientType=0 ); /* IE6-9 */
}


.adsbygoogle {
    margin: 20px 0px;
}

.logo_container .logo { position: absolute; z-index: 500; }
.logo_container .logo img { /* width: 166px; */ width: inherit !important; height: auto; max-width: 100%; }


.logo_container span.assistive-text { margin: 100px 0 10px 180px; font-family: "DINPro-Medium","brain", sans-serif; font-size: 15px; color: #004b84; }

.main_nav ul { margin-top: 88px; }

.top_header .main_nav ul { margin: 14px 52px 0px 0px; float: left; }
.top_header { background: #0077d1; }

.logo_tv2000 img { margin: -5px 0 0 0; width: 168px; height: auto; }

.top_header .main_nav { float: right; width: auto; }

.box_container { background: none; }

.search_wrapper { height: 48px; }
.sb-search { height: 48px; min-width: 48px; }
.sb-icon-search { color: #ffffff; font-size: 24px; height: 48px; }
.sb-icon-search, .sb-search-submit { height: 48px; width: 48px; line-height: 54px; }
.sb-search-input { height: 48px; padding: 0 52px 0 12px; }
.sb-search.sb-search-open .sb-icon-search, .no-js .sb-search .sb-icon-search { background: #004b84; }

.top_header .main_nav ul li a, .top_header .main_nav ul li.guarda-tv2000-live a strong { font-size: 18px; line-height: 44px; }
.top_header .main_nav ul li:hover > a, .top_header .main_nav ul li.current-menu-item > a { line-height: 48px; margin-top: -2px; background: #004b84; }
.top_header .main_nav ul li a { background: #004b84; }
.top_header .main_nav ul li.guarda-tv2000-live a { background: #ffd100; }
.top_header .main_nav ul li.guarda-tv2000-live a:hover { background: #004b84; color: #ffffff; }

.top_header .main_nav ul li.menu-item-has-children a:hover { background: #004b84; color: #ffd100; }
.top_header .main_nav ul li.menu-item-has-children:hover > a { background: #004b84 !important; color: #ffd100; }

.top_header .search_wrapper { margin-top: 12px; }

.top_header .logo_tv2000_container span { display: block; margin: 0 0 4px 110px; text-transform: uppercase; color: #ffffff; font-family: "DINPro-Medium", sans-serif; font-size: 12px; }

.top_header .main_nav ul .sub-menu ul li a { line-height: normal; background: none !important; }

.main_nav ul .sub-menu { display: none; width: 100%; left: 0; position: absolute; z-index: 9999; zoom: 1; margin: 0 0 0 0;
background: -moz-linear-gradient(top,  rgba(0,75,132,1) 0%, rgba(0,75,132,0.85) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,75,132,1)), color-stop(100%,rgba(0,75,132,0.85))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(0,75,132,1) 0%,rgba(0,75,132,0.85) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(0,75,132,1) 0%,rgba(0,75,132,0.85) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(0,75,132,1) 0%,rgba(0,75,132,0.85) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(0,75,132,1) 0%,rgba(0,75,132,0.85) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#004b84', endColorstr='#d9004b84',GradientType=0 ); /* IE6-9 */
}

.main_nav_channel ul li a { background: #ffbf00; color: #004b84; }





.box_last_episode { position: relative; z-index: 0; -webkit-box-shadow: 0px 1px 3px 0px rgba(63, 63, 63, 0.5); -moz-box-shadow: 0px 1px 3px 0px rgba(63, 63, 63, 0.5); box-shadow: 0px 1px 3px 0px rgba(63, 63, 63, 0.5); }
.box_last_episode img { position: relative; z-index: 0; width: 100%; height: auto; margin: 68px 0 0 0; }
.box_last_episode .box_last_episode_top { position: absolute; z-index: 100; top: 0; left: 0; background: #ffffff; width: 100%; }
.box_last_episode .box_last_episode_top img { width: 80px; height: auto; float: left; position: absolute; z-index: 120; margin: 8px 0 0 8px; }
.box_last_episode .box_last_episode_top h3 { text-transform: none; font-size: 18px; line-height: 22px; margin: 20px 20px 20px 100px; }

.box_last_episode .box_last_episode_bottom { position: absolute; z-index: 100; bottom: 0; left: 0; width: 100%; color: #ffffff; }
.box_last_episode .box_last_episode_bottom img { position: relative; z-index: 0; width: 100%; height: auto; margin: 0; }

.box_last_episode .box_last_episode_bottom h4 { position: absolute; z-index: 120; top: 0; left: 0; margin: 14px 120px 0 30px; font-size: 14px; line-height: 16px; }

.box_last_episode_link { position: absolute; z-index: 200; top: 0; left: 0; width: 100%; height: 100%; }
.box_last_episode_link span { display: none; }

/******************************************************************
MEDIA QUERIES & DEVICE STYLES
******************************************************************/


/* Normal Size */
@media only screen and (min-width: 996px) {



}


/***** Tablet (Smaller than 959px) *****/
@media only screen and (min-width: 768px) and (max-width: 995px) {

.top_header .logo_tv2000_container span { margin-left: 0px; }


.top_header .main_nav ul li a, .top_header .main_nav ul li.guarda-tv2000-live a strong { font-size: 14px; line-height: 40px; }
.top_header .main_nav ul li:hover > a, .top_header .main_nav ul li.current-menu-item > a { line-height: 46px; margin-top: -3px; }

.logo_tv2000 img { width: 155px; }



.logo_container .logo img { width: 120px; height: auto; }
.logo_container span.assistive-text { margin-top: 85px; margin-left: 140px; font-size: 28px; }


.main_nav ul { margin-top: 75px; }

.box_last_episode .box_last_episode_bottom h4 { display: none; }

.box_last_episode .box_last_episode_top img { width: 58px; }
.box_last_episode .box_last_episode_top h3 { margin: 10px 10px 10px 75px; font-size: 16px; line-height: 20px; }
.box_last_episode img { margin-top: 58px; }

}

/***** Mobile *****/
@media only screen and (max-width: 767px) {

.wp-caption {max-width: 100%;}
.grid_6.logo_container { margin-top: 0px; margin-bottom: 0px; }

#header .grid_6.logo_container { margin: 0px; width: 90px; float: left; height: 45px; }
#header .grid_6.nav_container { margin: 0px; width: 90px; float: right; }

.top_header { display: none; }

.skin-top
    {
        height: 100px;
        width:100%;
    }

}


/***** Phone (landscape 420px) *****/
@media only screen and (min-width: 480px) and (max-width: 767px) {



}


/***** Phone (portrait 300px) *****/
@media only screen and (max-width: 479px) {



}


/***** Retina *****/
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {

}




/******************************************************************
IE SPECIFIC FIXES
******************************************************************/

html.lt-ie9 {  }




.youtube-container, .embed-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; max-width: 100%; height: auto; margin-bottom: 20px }
.youtube-container iframe, .embed-container iframe,
.youtube-container object, .embed-container object,
.youtube-container embed, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }




/* Simple Sub Menu */

.main_nav ul .simple-sub-menu { display: none; width: 250px; position: absolute; z-index: 9999; zoom: 1; margin: 0 0 0 0;
background: -moz-linear-gradient(top,  rgba(0,119,209,1) 0%, rgba(0,119,209,0.85) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,119,209,1)), color-stop(100%,rgba(0,119,209,0.85))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(0,119,209,1) 0%,rgba(0,119,209,0.85) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(0,119,209,1) 0%,rgba(0,119,209,0.85) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(0,119,209,1) 0%,rgba(0,119,209,0.85) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(0,119,209,1) 0%,rgba(0,119,209,0.85) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0077d1', endColorstr='#d90077d1',GradientType=0 ); /* IE6-9 */
}

.main_nav ul .simple-sub-menu ul { display: block; clear: both; float: none; margin: 0 10px 10px 10px; }
.main_nav ul .simple-sub-menu ul li { display: block; clear: both; float: none; margin: 0 0 5px 0; padding: 0; background: none !important; height: auto; }
.main_nav ul .simple-sub-menu ul li a { color: #ffffff; padding: 0px; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; display: block; float: none; height: auto; width: auto; line-height: normal; font-size: 14px; background: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; text-transform: none; background: none !important; }
.main_nav ul .simple-sub-menu ul li a:hover { color: #ffd100 !important; background: none !important; line-height: auto; margin-top: auto; }

.main_nav ul .simple-sub-menu.hovering { display: block; }

.main_nav ul li.programmi .simple-sub-menu a, .main_nav ul li.programmi:hover .simple-sub-menu a, .main_nav ul li.programmi .simple-sub-menu a:hover { background: none !important; }

/* End Simple Sub Menu */




/* Form Search */

.form_search .search-input { display: block; padding: 0 0 0 12px; border: none; width: 80%; }
.form_search form { display: block; position: relative; z-index: 0; height: 40px; border: 2px solid #f2f2f2; margin-top:10px; }

.form_search .search-submit { width: 40px; position: absolute; z-index: 100; margin: 0; top: 0; right: 0; font-family: tv2000 !important; font-size: 20px; background: #005bae; }

/* End Form Search */


/* Featured Post */
.featuredbar .wrapper {
    border: 2px solid #F2F2F2;
    margin: 0 12px 15px;
}

.featuredbar .element {
    float: left;
    margin-left: 2.5%;
    min-width: 200px;
    width: 30%;
}
.featuredbar .element .box-title {
    font-size: 16px;
    margin: 3px 0;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.featuredbar .element .element-title {
    margin-bottom: 3px;
}
.featuredbar .element img{
    max-width: 100%;
}
/* End Featured Post */


/* Frigorifero - quelchepassailconvento */
.form_search_frigorifero {
    width: 300px;
    position: relative;
    margin: 0 auto;
    top: -75px;
    left: -42px;
}

.form_search_frigorifero form {
    background-color: white;
}



/**
 * Plugin: Wordpress Popular Posts
 */
.wpp-list li {
    margin-bottom: 5px;
}
/*****/



/**
 * Plugin: YARPP
 */
.attachment-yarpp-thumbnail {
    margin-left: auto !important;
    margin-right: auto !important;
}

.yarpp-thumbnail {
    height: auto !important;
}

.yarpp-related h3 {
	text-transform: uppercase !important;
}
/*****/


body {
	background: #fff url(img/skin/skin_tv_2000.jpg) center 40px no-repeat;
  /*background: #fff url(img/skin/CEI_2016_skin_tv2000.jpg) center 40px no-repeat;*/
  /*background-image: url(img/skin/CEI_2016_skin_tv2000.jpg), linear-gradient(black, white);*/
  background-size: 100% auto;
  background-position-y: 105px;
}

/* per skin tim */
/*#header {
	margin-top: 88px !important;
}*/


.seed-cl-mbclnmp {
    margin: 10px !important;
    padding: 3px 5px !important;
    width: 130px !important;
    height: 32px !important;
    line-height: 32px;
    border-radius: 0px !important;
    background-color:white !important;
    border:0px !important;
    color:#333333 !important;
    cursor:pointer !important;
    text-align: center;
}
.seed-cl-mbcli{
    margin:0px !important;
    margin-left:30px !important;
    padding:3px !important;
    padding-left:5px !important;
    padding-right:5px !important;
    cursor:pointer;
    width:auto !important;
    height: 22px !important;
    border-radius: 0px !important;
    background-color:white !important;
    border:0px !important;
    color:#333333 !important;
    display:inilne !important;

}
.seed-cl-mbclic{
    border-radius: 0px !important;
    position: absolute !important;
    right: 0px !important;
    top: 0px !important;
    color: white !important;
    font-weight: bolder !important;
    font-size:18px !important;
    background-color: black !important;
    border: 0px !important;
    cursor:pointer !important;
    width:100px !important;
    padding:10px !important;
    text-align:center !important;
}
.seed-cl-mdcli{
    position:fixed !important;
    display:none;
    width:100% !important;
    height:100% !important;
    border:0px solid #333333 !important;
    left :0px !important;
    margin:0px !important;
    top :0px !important;
    color :#333333 !important;
    padding :0px !important;
    font-size :15px !important;
    font-family :Arial !important;
    font-weight :bolder !important;
    border-radius :0px !important;
    line-height:20px !important;
    background-color:white !important;
    text-align:left !important;
    z-index:10000 !important;
    box-sizing:content-box !important;
    -webkit-box-sizing:content-box !important;
    background: rgba(0, 0, 0, 0.8) !important;

}
.seed-cl-mdcli-internal{
    background-color: white !important;
    position:relative !important;
    left:12% !important;
    top:10% !important;
    width:75% !important;
    height:75% !important;
    z-index:10000 !important;
    box-sizing:content-box !important;
    border:1px solid black;
    -webkit-box-sizing:content-box !important;
    overflow: auto !important;

}

.seed-cl-mdcli-internal h1{
    font-family:arial !important;
    font-size:24px !important;
    font-weight :bolder !important;
    margin-bottom:20px !important;
    padding-top:20px !important;
    padding-left:20px !important;
    padding-right:20px !important;
}
.seed-cl-mdcli-internal h2{
    font-family:arial !important;
    font-size:22px !important;
    font-weight :bolder !important;
    margin-bottom:20px !important;
    padding-top:20px !important;
    padding-left:20px !important;
    padding-right:20px !important;
}
.seed-cl-mdcli-internal p{
    font-family:arial !important
    font-size:15px !important;
    line-height:20px !important;
    margin:5px !important;
    padding-left:20px !important;
    padding-right:20px !important;
}
.seed-cl-mdcli-internal ul li{
    font-family:arial !important;
    font-size:15px !important;
    list-style-type: disc !important;
    line-height:20px !important;
    padding-left:20px !important;
    padding-right:20px !important;
}
.seed-cl-mdcli-internal ul{
    font-family:arial !important;
    margin:10px !important;
    padding-left:40px !important;
    padding-right:20px !important;

}
.seed-cl-mdcli-internal div{
    font-family:arial !important
    font-size:15px !important;
    padding-left:20px !important;
    padding-right:20px !important;
}
.seed-cl-mdcli-internal a{
    font-family:arial !important;
    font-size:15px !important;
    text-decoration: underline !important;
    color:#555555 !important;
}

.seed-cl-mdcl{
    position:fixed !important;
    width:100% !important;
    border: 0 solid #333333 !important;
    background: #555555;
    background-color: rgba(85,85,85,0.9) !important;
    left: 0 !important;
    bottom: 0 !important;
    color: white !important;
    padding: 10px !important;
    font-size: 14px !important;
    line-height: 22px !important;
    font-family: Verdana !important;
    z-index: 10000000 !important;
    box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

@media only screen and (max-width: 767px) {
  .seed-cl-mdcl{
    flex-direction: column;
  }
}

.seed-cl-mdcl p {
	padding: 10px;
  margin: 0;
}

.seed-cl-mdcl a {
	color: #fff;
  text-decoration: underline;
}
