/* app css stylesheet */

.menu {
  list-style: none;
  border-bottom: 0.1em solid black;
  margin-bottom: 2em;
  padding: 0 0 0.5em;
}

.menu:before {
  content: "[";
}

.menu:after {
  content: "]";
}

.menu > li {
  display: inline;
}

.menu > li:before {
  content: "|";
  padding-right: 0.3em;
}

.menu > li:nth-child(1):before {
  content: "";
  padding: 0;
}


body {
  padding-top: 60px;
  background-color: #f5f5f5;
}

@media (min-width: 768px) and (max-width:991px) {
    body{
        margin-top:170px
    }
}
@media (min-width: 992px) {
    body{
        margin-top:60px
    }
}

@media (min-width: 768px) {
  select {
    width: auto;
  }
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


.tvprogram-search{
  margin-bottom: 15px;  
}

.tvprogram-search input[type="text"],
.tvprogram-search select,
{
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .tvprogram-search select{
    width:auto;
  }
}

table.tvprogram{
  background-color: #ffffff;
}

table.tvprogram th
{
  font-size: 12px;
  line-height:16px;
}

table.tvprogram td
{
  font-size: 10px;
  line-height:14px;
}

/*
table.tvprogram th input
{
  font-size: 10px;
  height: 14px;
}
*/

table.tvprogram th .btn
{
  font-size: 10px;
  line-height: 14px;
  padding: 4px 4px;

}

input.air_time{
  padding:2px 3px;
  width:30px;
}

table.infomercial-by-area td,
table.infomercial-by-area th
{
  text-align: center;
}

table.infomercial-by-station div.infomercial-data{
  /*padding-left: 2em;*/
  margin-left: -300px;
}



#sellerSelector ul.dropdown-menu ul{
  margin: 0;
  height: 260px;
  overflow: auto;
}

#searchSeller{
  display: inline-block;
}

#searchSeller ul.dropdown-menu ul{
  margin: 0;
  height: 260px;
  overflow: auto;
}




.infomercial-input input
{
  margin-bottom: 0px;
}

.infomercial-input input[type=number]::-webkit-inner-spin-button,
.infomercial-input input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


.infomercial-input textarea
{
  margin-bottom: 0px;
  height: 8em;
  line-height: 1em;
}


 .selling_price-label
{
  background-color: #BF3030;
  color: #FFFFFF; 
}
.infomercial-input .selling_price
{
  background-color: #FFD5EC;
}

.installment_payment-label
{
  background-color: #F29200;
}
.infomercial-input .installment_payment
{
  background-color: #FFCC99;
}

.first_limited-label
{
  background-color: #0ACF00;
  color: #FFFFFF; 
}
.infomercial-input .first_limited
{
  background-color: #CBFFD3;
}


.time_limited-label
{
  background-color: #0C5AA6;
  color: #FFFFFF; 
}
.infomercial-input .time_limited
{
  background-color: #E0FFFF;
}

.regular_purchase-label
{
  background-color: #8506A9;
  color: #FFFFFF; 
}
.infomercial-input .regular_purchase
{
  background-color: #FFCCFF;
}

td.text-right
{
  text-align: right;
}

div.margin-bottom20,
div.margin-bottom-20
{
  margin-bottom: 20px;
}

span.red{
  color:red;
}

div.infomercial-search select{
  width: auto;
}

@media (min-width: 768px) {

  #targetWeek{
    width: 10em;
  }

  #startdate, #enddate, #targetdate{
    width: 10em;
  }

  .startdate, .enddate, .targetdate{
    width: 10em !important;
  }

}

div.infomercial-search-result{
  border: 1px solid #dddddd;
  border-radius: 4px;
  padding: 4px;
  margin-bottom: 4px;
  
}

div.infomercial-search-result table{
  margin-bottom: 0px;
  background-color:#FFFFFF;
}

div.infomercial-search-result table.table th,
div.infomercial-search-result table.table td 
{
  padding: 2px;
}

table.infomercial-by-area span.complete
{
  font-weight: bold;
}

table.infomercial-by-area span.incomplete
{
  color: red;
}



table.monospace{
  width: 100%;
  table-layout: fixed;
  word-wrap: break-word;
}


div.program-edit {
  position: absolute;
  width: 250px;
}

div.datetime-edit {
  position: absolute;
  width: 300px;
  border: solid 1px #ddd;
  background-color: #fff;
  padding: 10px;
}





div.tv-schedule {
  position: relative;

}

div.tv-schedule div.station-name.top {
  position: absolute;
  border-bottom: solid 1px #000;
  border-top: solid 1px #000;
  top: 0;
  left: 0;
}

div.tv-schedule div.station-name.bottom {
  border-top: solid 1px #000;
  border-bottom: solid 1px #000;
  position: absolute;
  bottom: 0;
  left: 0;
}

div.tv-schedule div.station-name > p {
  float: left;
  width: 150px;
  height: 22px;
  width: 150px;
  background-color: #fff;
  text-align: center;
  margin: 0;
  z-index: 1000;
}

div.tv-schedule div.station-name.bottom > p {
  border-right: solid 1px #000;
}

div.tv-schedule div.station-name > p:first-child {
  width: 21px;
  border-top: none;
  background-color: initial;
}


div.tv-schedule div.timeline {
  width: 20px;
  border: solid 1px #000;
  float: left;
}

div.tv-schedule div.timeline p {
  height: 180px;
  border-top:  solid 1px #000;
  text-align: center;
  margin: 0;
}

div.tv-schedule div.timeline p:first-child,
div.tv-schedule div.timeline p:last-child {
  height: 21px;
  border-top: none;
  border-bottom: none;

}

div.tv-schedule div.station {
  width: 150px;
  height: 4342px;
  border-right: solid 1px #000;
  float: left;
  position: relative;
}

div.tv-schedule div.station > p:first-child {
  height: 22px;
  width: 150px;
  position: fixed;
  background-color: #fff;
  text-align: center;
  border-top: solid 1px #000;
  border-bottom: solid 1px #000;
  margin: 0;
  z-index: 1000;
}

div.tv-schedule div.station div.program {
  border-top: solid 1px #000;
  border-bottom: solid 1px #000;
  width: 100%;
  clear: both;
  position: absolute;
}

div.tv-schedule div.station div.program.first {
  border-top: none;  
}

div.tv-schedule div.station div.program.over {
  border-bottom: none;  
}

div.tv-schedule div.station div.program p.time {
  width: 30px;
  float: left;
}

div.tv-schedule div.station div.program p.title {
  float: left;
}

div.tv-schedule div.station div.program p.hover-time,
div.tv-schedule div.station div.program p.hover-memo {
  display: none;
}

div.tv-schedule div.program {
  overflow: hidden;
}

div.tv-schedule div.program a {
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  cursor: default;
}


div.tv-schedule div.program.infomercial {
  background-color: rgb(216, 237, 248);
}

div.tv-schedule div.program.infomercial a {
  cursor: pointer;
}

div.tv-schedule div.program:hover {
  overflow: visible;
  background-color: #fff;
  color: rgb(16, 128, 160);
  border-right: solid 1px #000;

  height: auto !important;
  width: 200px !important;
  z-index: 999;
}

div.tv-schedule div.program:hover a {
  text-decoration: none;
}

div.tv-schedule div.station div.program:hover p.hover-time,
div.tv-schedule div.station div.program:hover p.hover-memo {
  display: block;
}
div.tvschedule-infomercial hr {
  border-top: 1px solid #4e4e4e;
}

div.tvschedule-infomercial dt {
  float: left;
  clear: left;
  width: 200px;
}

div.tvschedule-infomercial dd {
  float: left;
}

@media (min-width: 992px) {
  .container {
      width: 1170px;
  }
}




.tvprogram_search table {
  margin-top: 30px;
}