/*
 * common_mini.css
 */

/* reset
------------------------------------*/
html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { margin: 0; padding: 0 }
html{ width: 100%; height: 100%; }
body{
  height: 100%; width: 100%; background: #DEDEDE;
  font-family: "メイリオ", Meiryo, Tahoma, Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px; line-height: 1.4em; color: #333;
}

a{ color: inherit; text-decoration: none; }

.container::before, .container::after,
.clearfix::before, .clearfix::after,
.row::before, .row::after{ display: table; content: ""; }

.container::after,
.clearfix::after,
.row::after{ clear: both; }

.row{ margin-bottom: 10px; }

/* header
-------------------------------------*/
#header{ background-color: #000000; }
#header h3{ 
float: left;
position: relative;
z-index: 1;
width: 70px;
height: 70px;
}
#header h3 img {width: 70px;}

.nav {margin-top: 35px; background-color: #D9D9D9;}
.nav li{ float: left; height: 35px; line-height: 35px; padding: 0 12px; list-style: none; }
.nav li a{ color: #3D3D3D; font-weight: bold;}
.nav li.active{ background: #f2f2f2;}

#social-links{float: right; border:none; margin-top: 0;}
#social-links li{ padding: 0 5px; }
#social-links img{vertical-align: middle}

#sub-navi{ padding: 10px 0; background-color: #FAFAFA;}
#sub-navi-form{ text-align: center }
#sub-navi-form select{ width: 300px; height: 30px; line-height: 25px; }

#logintext{ position: absolute; right: 0; top: 0;}
#logintext{ text-align: right; }
#logintext a{ color:#FFF; }

/* footer
-------------------------------------*/
#footer{ font-size: 0.9em; }
#footer a { color: #036; }
#footer .copyright{ font-size: 0.8em; }
#footer .cbox-title{ border-top: 1px solid #900; }

#footer-links{ margin-bottom: 20px; }
#footer-links ul{ background: #CA0002; }
#footer-links li{ float: left; width: 85px; text-align: center; padding: 10px 0 0 0; list-style: none; }
#footer-links small{ display: block; margin-top: -5px;}
#footer-links a{ color: #fff; }
#info-links{ margin: 0 10px; }

#main-content{ background: #fafafa }

.datetime { font-size: 0.8em; color: #666; margin: 3px 0; }

/* ad
--------------------------------------*/
.ad{ padding: 10px 0px; text-align: center; background: url(/media/cnn/images/mini/ad_bg.png); }
.ad_container{font-size:0;line-height:0;}

.cbox-title{ background: #B60002; border-bottom: 4px solid #900; height: 35px; line-height: 35px; color: #fff; padding-left: 15px; }

.img-box{ position: relative; height:168px}
.img-box h1,
.img-box h3{ width: 280px; line-height: normal; font-size: 0.9em; position: absolute; left: 0; bottom: 0; padding: 10px; z-index: 10; background: #000; opacity: 0.8; }
.img-box h1 a,
.img-box h3,
.img-box h3 a{ color :#fff; font-weight: bold; }

.top-image{ width: 300px; min-height: 168px; margin: auto; overflow: hidden; }

h3.image_desc{
    width: 280px;
    margin: auto;
    color: white;
    padding: 10px;
    background-color: black;
    line-height: normal;
    font-size: 0.9em;
    opacity: 0.9;
    top: -2px;
    position: relative;
}

/* badge exclusive
--------------------------------------*/
.top-image span.badge-ex {position: absolute; z-index:1; padding: 0 5px; background-color: #CE0E19; color: #ffffff;}
.story-list li span.badge-ex {font-size: 12px; font-weight: bold; color: #CE0E19;}
#leaf-header span.badge-ex {padding: 0 5px; background-color: #CE0E19; color: #ffffff;}

/* story list
--------------------------------------*/
.story-list, .bullet{ border-bottom: 4px solid #c9c9c9; }
.story-list img{ float: left; margin-right: 15px; width:70px;}
.story-list li, .bullet li{
  list-style: none;
  border-bottom: 2px dotted #C9C9C9; min-height: 50px; padding: 10px;
  background-image: url(/media/cnn/images/mini/arrow_right.png);
  background-position: 99% 50%;
  background-repeat: no-repeat;
}
.story-list li:last-child,
.bullet li:last-child{ border-bottom: none }

.story-list li:nth-child(even),
.bullet li:nth-child(even){background-color: #F6F6F6; }
.story-list li.more{ text-align: center; background: #E6E2D5; line-height: 50px; font-size: 1.2em; font-weight: bold; }

.img-box.video::before,
.story-list li.video>a::before {
    position: absolute;
    top: 50%;
    left: 50%;
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    background: url(/media/cnn/images/mini/icon_play.png) no-repeat center center;
    background-size: cover;
    margin: -25px 0 0 -25px;
}
.story-list li.video>a {position: relative; display: inline-block; float: left;}
.story-list li.video>a::before {
    width: 25px;
    height: 25px;
    margin: -12.5px 0 0 -20px;
}
.story-list li.archives{
  text-align: right;
  padding-right: 30px;
  min-height:20px;
}

#leaf-content{ padding: 10px; background: #fff }
#leaf-header h1{ font-size: 1.4em; line-height: 1.4em; padding: 10px 0; }
#leaf-header #video-body .video-data{text-align: center;}
#leaf-header #video-body .video-data video{width:100%}
#leaf-header #video-body .video-data{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
#leaf-header #video-body .video-data iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

#leaf-body{ padding: 10px 0; border-top: 4px solid #C9C9C9; border-bottom: 4px solid #C9C9C9; }
#leaf-body h2{ margin-bottom: 1.4em; font-weight:bold; font-size: 16px;}
#leaf-body p{ margin-bottom: 1.4em; }
#leaf-links div{
  background-color: #E9E9E9;
  border: 1px solid #C9C9C9;
  padding: 5px;
  margin: 0 0 10px 0;
}

#leaf-body.photoreport .top-image{ margin-bottom: 10px; }
//#leaf-body newselement{ display: none; }

#photoreport-thumbs{ width: 320px; margin: auto; }
#photoreport-thumbs li{ list-style: none; float: left; margin-left: -8px; }
#photoreport-thumbs img{ margin: 5px; }
#photoreport-thumbs li.active img{ margin: 2px; border: 3px solid #CA0000; }

#prev-link{
  background: #E9E9E9 url("/media/cnn/images/mini/arrow_left.png") no-repeat left 50%;
  padding-left: 20px;
}
#prev-link small,
#prev-link h3{ margin-left: 15px; }

#next-link{
  background: #E9E9E9 url("/media/cnn/images/mini/arrow_right.png") no-repeat right 50%;
  padding-right: 20px;
}
#next-link small,
#next-link h3{ margin-right: 15px; }

#home-link{ text-align: center; }
#category-link{ text-align: center; }

.sns li{ list-style: none; float: left; margin-right: 10px; }

/* pagination
---------------------------------------------------------*/
.pagination ul{ position: relative; left: 50%; float: left; }
.pagination li{
  position: relative; left: -50%;
  list-style: none; float: left; border: 1px solid #ccc; margin-right: 5px; 
  padding: 4px 9px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}

.pagination li.active{ font-weight: bold; }
.pagination .prev,
.pagination .next{ font-size: 1.5em; }

.list_pagination {text-align: center; margin-top:10px; font-size: 0;}
.list_pagination li{
  list-style: none;
  display: inline-block;
  overflow: hidden;
  width: 38px;
  height: 27px;
  margin: 0 2px;
  padding-top: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.list_pagination li.active{ font-weight: bold; }
.list_pagination .prev,
.list_pagination .next{ font-size: 24px; }

.top-image img{ max-width: 320px; width:100%;}

.block_tools ul {
  float: right;
  margin: 5px 0;
  padding: 2px 0;
}
.block_tools ul li {
  list-style-type: none;
  background-color: #efefef;
  float: left;
  height: 25px;
  margin: 0 5px 2px 5px;
  padding: 5px 20px;
  width: 25px;
}
.block_tools ul li path {
  fill: #FFF;
}
#snsbtn_twitter {
  background-color: #55acee;
}
#snsbtn_facebook {
  background-color: #3b579d;
}

/* info
---------------------------------------------------------*/
.static-content{ padding: 0 10px;}
.static-content h1{ font-size: 1.2em; }
.static-content h1.large_title{ font-size: 1.8em; }
.static-content h3 {
  border-top: 2px solid #666;
  margin: 35px 0 10px 0;
  padding-top: 8px;
  font-weight: bold;
}
.static-content h3.headline-mid {
  border-top: 2px solid #666;
  margin: 10px 0 10px 0;
  padding-top: 8px;
  font-weight: bold;
}
.static-content p { margin-bottom: 1.8em; }
.static-content .bullet li, .bullet dd {
list-style: none;
background: url('/media/cnn/images/bullets/square-bullet.png') 0 2px no-repeat;
padding: 0 0 5px 15px;
border: none;
}
/* CNN App
---------------------------------------------------------*/
.bordered-highlight {
background: #eff2f3;
border: 1px solid #ddd;
padding: 5px;
box-shadow: inset 0 0 2px 1px #fff;
font-size: 14px;
}

/* Video
--------------------------------------------------*/
#app{
  color: #004D99;
  text-decoration: none;
}

/* push link
--------------------------------------------------*/
div.push_link{display:none;}

/* mail magazine */
#mail_magazine_induction_top div{
  text-align:center;
}

#mail_magazine_induction_top img{
  width: 300px;
  margin: 10px 0;
}
