/* ==========================================================================
Model
========================================================================== */
.modal {
    overflow:hidden;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop,
.modal-backdrop.fade.in {
    opacity: 0.3;
    filter: alpha(opacity=30);
    background-color: #000;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1050;
  width: 560px;
  margin: -250px 0 0 -280px;

  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
    
  background-color: #ffffff;
  border: 5px solid #999;
  border: 5px solid rgba(0, 0, 0, 0.3);
  *border: 5px solid #999;
  /* IE6-7 */

  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
  outline: none;
}
.modal.fade {
  -webkit-transition: opacity .3s linear, top .3s ease-out;
  -moz-transition: opacity .3s linear, top .3s ease-out;
  -o-transition: opacity .3s linear, top .3s ease-out;
  transition: opacity .3s linear, top .3s ease-out;
  top: -25%;
}
.modal.fade.in {
  top: 50%;
}
.modal .modal-header {
    padding: 15px 25px 0 15px;
    border-bottom: 0;
    padding-bottom: 0;
    z-index: 99999999;
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    background: #fff;
    opacity: 0.9;
}
.modal .modal-header .close {
    margin-top: 12px;
    font-size: 28px;
}
.modal .modal-header h3 {
  margin: 0;
  line-height: 30px;
}
.modal-body {
    width:100%;
    max-height: 100%;
    padding: 80px 25px 0 25px;
    overflow-y: auto;
    position: absolute;
    top: 0;
    left:0;
}
.modal-form {
  margin-bottom: 0;
}
.modal-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  -webkit-border-radius: 0 0 6px 6px;
  -moz-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
  -moz-box-shadow: inset 0 1px 0 #ffffff;
  box-shadow: inset 0 1px 0 #ffffff;
  *zoom: 1;
}
.modal-footer:before,
.modal-footer:after {
  display: table;
  content: "";
  line-height: 0;
}
.modal-footer:after {
  clear: both;
}
.modal-footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

.modal.small {
  width: 400px;
  margin: -170px 0 0 -200px;
}
.modal.midium {
  width: 800px;
  margin: -300px 0 0 -400px;
}
.modal.large {
  width: 75%;
  margin: 0 0 0 -37.5%;
  height: 90%;
  overflow: hidden;
}
.modal .modal-icon {
  vertical-align: middle;
  font-size: 4em;
  float: left;
  margin-right: .25em;
}
.modal:focus {
  outline: none;
}

.modal .title {
    margin-bottom: 0px;
    padding: 10px 0;
    border-bottom: 1px solid #ebebe5;
    border-style: solid none;
}
.modal .title p {
    padding: 0 20px;
    border-left: 3px solid #e6423d;
    line-height: 30px;
    font-weight: bold;
}

/* ==========================================================================
detail
========================================================================== */
.modal .detail {
}
.modal .detail .title {
  margin-bottom: 0px;
  padding: 10px 0;
  border-style: solid none;
}
.modal .detail .title p {
  padding: 0 20px;
  border-left: 3px solid #e6423d;
  line-height: 30px;
  font-weight: bold;
}
.modal .detail .entry-title dl {
  overflow: hidden;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 5px solid #ebebe5;
}
.modal .detail .entry-title dl dd {
  position: relative;
  padding-right: 160px;
}
.modal .detail .entry-title dl dd p {
  font-size: 18px;
}
.detail .entry-title dl dd .category {
  position: absolute;
  top: 50%;
  right: 0;
  width: 180px;
  margin-top: -12px;
  letter-spacing: -0.4em;
    text-align:right;
}
.detail .entry-title dl dd .category li {
  display: inline-block;
  margin-right: 3px;
  letter-spacing: normal;
}
.modal .detail .entry-title dl dd .category li:last-child {
  margin-right: 0;
}
.modal .detail table {
  width: 100%;
  margin-bottom: 30px;
  border: 1px solid #ebebe5;
  font-size: 14px;
}
.modal .detail table tr {
  border-bottom: 1px solid #ebebe5;
}
.modal .detail table tr th {
  width: 150px;
  padding: 15px 20px;
  background-color: #f7f6f2;
  font-weight: bold;
  text-align: left;
}
.modal .detail table tr td {
  padding: 15px 20px;
  font-size: 16px;
}
.modal .detail table tr td select {
  padding: 2px 4px;
  font-size: 12px;
}
.modal .detail table tr td ul {
  letter-spacing: -0.4em;
}
.modal .detail table tr td ul li {
  display: inline-block;
  margin-right: 15px;
  letter-spacing: normal;
}
.modal .detail table tr td ul li label input {
  margin-right: 5px;
}
.modal .detail .btn-entry {
  margin-bottom: 40px;
  text-align: center;
}
.modal .detail .btn-entry p {
  display: inline-block;
}
.modal .detail .btn-entry p a {
  position: relative;
  display: block;
  width: 320px;
  line-height: 50px;
  border-radius: 30px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #ce2924), color-stop(0, #e6423d));
  background: -webkit-linear-gradient(top, #e6423d 0%, #ce2924 100%);
  background: -moz-linear-gradient(top, #e6423d 0%, #ce2924 100%);
  background: -o-linear-gradient(top, #e6423d 0%, #ce2924 100%);
  background: -ms-linear-gradient(top, #e6423d 0%, #ce2924 100%);
  background: linear-gradient(top, #e6423d 0%, #ce2924 100%);
  color: #fff;
  font-size: 16px;
}
.modal .detail .btn-entry p a:before {
  position: absolute;
  right: 20px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f105";
  margin-right: 5px;
  font-size: 30px;
  line-height: 50px;
}


body.modal-open {overflow: hidden;}
