#run {
  background-color: rgb(0, 255, 128);
}
#slow_run {
  background-color: rgb(255, 200, 0);
}
#load_blocks {
  background-color: rgb(128, 192, 255);
}
#save_blocks {
  background-color: rgb(255, 128, 128);
}
#tab_dolittle {
  background-color: rgb(255, 192, 255);
}


::selection {
    background: #000;
    color: #fff;
}


/*css radio02*/
.radio02-input{
  display: none;
}
.radio02-input + label{
  padding-left: 20px;
  position:relative;
  margin-right: 20px;
}
.radio02-input + label::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 50%;
}
.radio02-input:checked + label::after{
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  background: #009a9a;
  border-radius: 50%;
}

html{
	position:relative;
	width:100%;
	height:100%;
}

body {
	position:relative;
 	background-color: #fff;
 	font-family: sans-serif;
	width:100%;
	height:100%;
}
h1 {
  font-weight: normal;
  font-size: 140%;
}

/* .left_partのスタイルはblock.cssで定義 */

.blocklyWrapper{

	position:relative;
	width:100%;
	height:100%;
}

/* .right_part{ */
/*   width:50%; */
/*   height:100%; */
/*   float:right; */
/* } */

.disp{
  font-family: sans-serif;
	font-size:1em;
	width:100%;
	height:100%;
}

#TEXT{
	font-color: red;	
	
}

* {
  box-sizing: border-box;
}
body {
  font-family:'Avenir','Helvetica, Neue','Helvetica','Arial';
}


/* モーダルCSS */
.modalArea {
  display: none;
  position: fixed;
  z-index: 10; /*サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align:center

}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(240,240,240,0.70);
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 70%;
  max-width: 500px;
  padding: 10px 30px;
  background-color: #fff;
}

.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}


/* 以下ボタンスタイル */
button {
  padding: 10px;
  background-color: #fff;
  border: 1px solid #282828;
  border-radius: 2px;
  cursor: pointer;
}

#openModal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
}


/* Tabs */
#tabRow>td {
  position:absolute;
  top:5%;
  border: 1px solid #ccc;
  border-bottom: none;
}
#tab_blocks{
  position:absolute;
  left:0%;	
}
#tab_dolittle{
  position:absolute;
  left:20%;	
}
td.tabon {
  border-bottom-color: #ddd !important;
  background-color: #ddd;
  padding: 5px 27px;
}
td.taboff {
      cursor: pointer;
      padding: 5px 27px;
}
td.taboff:hover {
      background-color: #eee;
}
td.tabmin {
  border-top-style: none !important;
  border-left-style: none !important;
  border-right-style: none !important;
}
td.tabmax {
      border-top-style: none !important;
      border-left-style: none !important;
      border-right-style: none !important;
      width: 99%;
      text-align: right;
}
table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  border: none;
}
td {
  padding: 0;
  vertical-align: top;
}
#content_blocks {
      padding: 0;
}
/*textカラー変更*/
/*.blocklySvg text{
	fill:black;
	border-top: none !important;
 }*/
#content_dolittle {
	  position:relative;
	  width:100%;
	  height:100%;
      resize: none;
      outline: none;
      border: none;
      font-size:20px;
      font-family: monospace;
      overflow: scroll;
	  display:none;
      background-color: #f5f5f5;
      padding: 8px;
      box-sizing: border-box;
}

/* ドロップダウンメニュー（フィールド選択）の行間を狭める
   選択肢が多い場合（文字列プリセット・繰り返しの0-10など）でも
   スクロールせずに「入力」まで見えるようにする */
.blocklyDropdownMenu .goog-menuitem {
  padding-top: 1px;
  padding-bottom: 1px;
}

/* ビュー切替ボタン（ブロック表示/テキスト表示）の選択中スタイル */
.btn.view-toggle.tab-active {
  background-color: #d4eaff;
  border-color: #4a90e2;
  font-weight: bold;
}
