/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */

/* line 26, ../../../../../../Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* line 28, ../../../../../../Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

/* line 30, ../../../../../../Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
q, blockquote {
  quotes: none;
}
/* line 103, ../../../../../../Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

/* line 32, ../../../../../../Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
a img {
  border: none;
}

/* line 116, ../../../../../../Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/* line 27, ../sass/screen.scss */
body {
  /*line-height: 150%;*/
}

/* line 31, ../sass/screen.scss */
h1 {
  font-size: 1.8em;
}

/* line 35, ../sass/screen.scss */
header {
  position: relative;
  text-align: center;
  background: #FEFEFE;
  padding: 10px;
  box-shadow: 0 1px 8px #7D7C7D;
  z-index: 20;
}
/* line 42, ../sass/screen.scss */
header h1 {
  color: #7D7C7D;
  margin: 20px;
}

/* line 48, ../sass/screen.scss */
main {
  background: #F4F4F4;
}
/* line 50, ../sass/screen.scss */
main .disc {
  font-size: 120%;
  line-height: 250%;
  border-bottom: 1px solid #B4B5B5;
  padding: 3em 4em 2em;
}
/* line 56, ../sass/screen.scss */
main .booking {
  display: flex;
  margin: 0 auto;
  width: 80%;
  justify-content: center;
  text-align: center;
}
/* line 62, ../sass/screen.scss */
main .booking figure.booking_day {
  margin: 1.2em;
}
/* line 65, ../sass/screen.scss */
main .booking figure.booking_day .booking_time {
  background: #E95371;
  color: white;
  font-weight: bold;
  margin: 5px auto;
  padding: 0 5px;
  width: 80px;
  line-height: 30px;
}
/* line 73, ../sass/screen.scss */
main .booking figure.booking_day .booking_time:hover {
  background: #9F3753;
  cursor: pointer;
}
main .booking figure.booking_day .myselect {
    background: green;
}
main .booking figure.booking_day .myselect:hover {
    background: green;
}
/* line 78, ../sass/screen.scss */
main .booking figure.booking_day .busy {
  background: inherit;
  color: #B4B5B5;
  text-decoration: line-through;
}
/* line 82, ../sass/screen.scss */
main .booking figure.booking_day .busy:hover {
  background: none;
  cursor: not-allowed;
}

/* line 91, ../sass/screen.scss */
.success_background {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  top: 0;
  z-index: 999;
}
/* line 98, ../sass/screen.scss */
.success_background .success_desc {
  background: #fff;
  border-radius: 5px;
  box-shadow: 2px 2px 3px #000;
  height: 50%;
  left: 0;
  margin: 100px auto;
  max-height: 500px;
  max-width: 800px;
  min-height: 300px;
  padding: 30px 10px;
  position: absolute;
  right: 0;
  text-align: left;
  width: 80%;
}
/* line 113, ../sass/screen.scss */
.success_background .success_desc .success_close {
  position: absolute;
  width: 24px;
  height: 24px;
  right: 20px;
  top: 20px;
  cursor: pointer;
  background: url(../../img/close.png);
}
/* line 122, ../sass/screen.scss */
.success_background .success_desc p {
  font-size: 20px;
  position: absolute;
  top: 50%;
  bottom: 50%;
  left: 0;
  right: 0;
  padding: 0 1em;
  line-height: 160%;
  transform: translate(0, -30px);
}
/* line 133, ../sass/screen.scss */
.success_background .success_desc .success_time {
  color: #f00;
  font-weight: bold;
}

@media screen and (max-width: 900px) {
  /* line 143, ../sass/screen.scss */
  main .booking figure.booking_day {
    margin: 0.8em;
  }
}
@media screen and (max-width: 800px) {
  /* line 153, ../sass/screen.scss */
  main .booking figure.booking_day {
    margin: 0.2em;
  }
}
@media screen and (max-width: 700px) {
  /* line 164, ../sass/screen.scss */
  main .booking figure.booking_day figcaption {
    margin: 1em 0 0 0;
    font-size: .8em;
  }
  /* line 168, ../sass/screen.scss */
  main .booking figure.booking_day .booking_time {
    font-size: 0.8em;
    padding: 0;
  }
}
@media screen and (max-width: 610px) {
  /* line 179, ../sass/screen.scss */
  main .disc {
    padding: 3em .8em 2em;
  }
  /* line 182, ../sass/screen.scss */
  main .booking {
    flex-direction: column;
  }
  /* line 184, ../sass/screen.scss */
  main .booking figure.booking_day {
    flex: 0 0 100%;
  }
  /* line 186, ../sass/screen.scss */
  main .booking figure.booking_day .booking_time {
    width: 90%;
  }
}
