/*
Theme Name: Twenty Twelve-m
Template: twentytwelve
*/

@import url('https://ds.machijun.net/wp-content/themes/twentytwelve/style.css');


p.ad-label {
  margin-left:20px;
  margin-top:15px;
}

.ad-bottom {
  margin-top:15px;
}

.ad-bottom-sm {
  margin-top:15px;
}

mark, ins{
  background: transparent;
  text-decoration: none;
}

.scrollable-table table{
  border-collapse: collapse;
  margin: 1em 0;
  max-width: 100%;
}

.scrollable-table th{
  background-color: #eee;
}

.scrollable-table th,
.scrollable-table td{
  border: solid 1px #ccc;
  padding: 3px 5px;
  white-space: nowrap;
}

.scrollable-table {
  overflow-x: auto;
  margin-bottom: 1em;
}

a {
	outline: none;
	color: #21759b;
}
a:hover {
/*	color: #0f3647;*/
	color: #21759b;
}

.entry-content a:visited,
.comment-content a:visited {
/*	color: #9f9f9f;*/
	color: #9c2175;
}


/************************************
** フッターメニュー
************************************/
#footer-menu ul{
  text-align: center;
  margin: 10px 0;
}

#footer-menu ul li {
  display: inline;
  list-style: outside none none;
}

#footer-menu ul li::before {
    content: "|";
    padding: 0 0.6em;
}

#footer-menu ul li:first-child::before{
  content: "";
  padding: 0;
}

#footer-menu ul .sub-menu{
  display: none;
}

/*******************************
 For Table of Contents
********************************/
.box-container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: stretch;
}

.box-container > div {
    flex-basis: 350px;
    flex-grow:2;
    display:block;
    margin: 0.5em ;

}

.box-contents-full{
    flex-basis: 350px;
    flex-grow:2;
    margin: 0.5em ;
}

.box30.top {
    /*height:100%;*/
    background: #f7f7f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
    margin: 0.5em ;
}


/*******************************
 For 統計を学ぼう・演習数理統計
********************************/
.box-container-learn-statistics{
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: stretch;
}

.box-container-learn-statistics > div {
    flex-basis: 250px;
    flex-grow:2;
    display:block;
    margin: 0.5em ;
    padding: 0em;

}


ul.ls-toc {
    list-style:none;
    padding-top: 1em;
}


/*******************************
 For 問題
********************************/
.theorem,.question{
    padding: 0.5em 1em;
    margin: 2em 0;
    border: solid 2px #000000;
}

.theorem p,.question p{
    margin: 0;
    padding: 0;
}

.theorem p.source,.question p.source{
    text-align: right;
    margin: 0;
    padding: 0;
}

.theorem ol,.question ol{
    padding: 0 0 0 0;
    margin: 0;
    display:table;
    list-style: none;
}


.theorem li,.question li{
    list-style-type:none;
    list-style-position:inside;
    counter-increment: cnt;
    display: table-row;
}

.theorem li:before,.question li:before{
    display:marker;
    content:"(" counter(cnt) ")";
    padding-right: 0.8em;
    display: table-cell;
}



/*******************************
 For 
********************************/



.box30 {
    /*height:100%;*/
    background: #f7f7f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}

.box30 .box-title {
    font-size: 1.2em;
    background: #f1f1f1;
    padding: 4px;
    text-align: center;
    color: #000;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.box30 div {
    padding: 10px 5px;
    margin: 0;
}
/*******************************
* 見出し
*******************************/

.entry-content h2 {
    border-bottom:3px solid #444444;
    border-left:3px solid #444444;
    padding-left:0.5em;
}
.entry-content h3 {
    border-bottom:3px solid #aaaaaa;
    padding-left:0.3em;
}

/*******************************
* マーカー強調
*******************************/

.marker_water_narrow{
    background: linear-gradient(transparent 50%, #66ccff 50%);
}

.marker_pink_narrow{
    background: linear-gradient(transparent 50%, #ff88ff 50%);
}

.marker_yellow_narrow{
    background: linear-gradient(transparent 50%, #ffff66 50%);
}


/*******************************
* MathJax
*******************************/
.MathJax_Display {
    overflow-x: scroll;
    overflow-y: hidden;
}
