html {scroll-behavior: smooth;}

.navbar-toggler svg {width:22px;filter: invert(1);}

main img {max-width: 100%;height: auto;}

h1, h2, h3 {margin-bottom:8px;}

.ea-card-items .label,
.ea-hide {display:none;}
.text-right {text-align:right}

.btn {padding: 0.5rem 1rem;display:inline;background:rgba(0,0,0,.4);color:#FFF;border:none;text-decoration:none;}
.btn-primary,
.btn:hover {background: rgba(0,0,0,0.8);color:#fff !important;cursor:pointer;}

select {
display: block;
  width: 100%;
  padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.ea-op .col-md-3 {flex: 0 0 auto;width: 40px;}
.ea-op .col-md-9 {flex: 0 0 auto;width: calc(100% - 41px);}

.ea-item {margin-bottom: 2rem;}
.ea-item a {text-decoration: none;}
.ea-item a .ea-desc { padding-left: 20px;border-left: 4px solid rgba(0,0,0,.2);}
.ea-item a h3 {margin: 0;margin-bottom: 10px;}
.ea-item a .ea-desc .ea-perex {font-size: 0.9rem;line-height: 1rem; height: 2rem;overflow: hidden;}

.ea-item a:hover * {color:#000;}
.ea-item a:hover .ea-desc {border-color:#000;}

#history {padding-top:2rem}
.ea-detail h1 {margin-top:0px;}
.ea-detail .ea-desc {margin: 0px auto;padding-top: 1.5rem;}
#ea-terminy h3 {text-align:center;}

.ea-form {}
.m-section__column .ea-form {display: none}
.m-section__column .ea-form.e-shop {display: block}
.ea-form .form-group {display: flex;flex-wrap: wrap;}
.ea-form label {line-height: 40px}
.ea-terminy-list form span,
.ea-form #quantity span {background: #cc5a5a;color:#fff;font-size: 1rem;font-weight: bold;cursor: pointer;padding: 0 0.75em;text-align: center;min-width: 2.5em;display: inline-block; line-height: 40px;width:40px;}
.ea-terminy-list form span.plus,
.ea-form #quantity span.plus {background: #509160;}
.ea-terminy-list form span:hover,
.ea-form #quantity span:hover {background: #000;}
.ea-terminy-list form input,
.ea-form #quantity input {padding: 0 0.75em;text-align: center;border-radius: 0;border:0;font-weight: bold;line-height: 40px;width: calc(100% - 80px);}
.form footer {line-height: inherit;background:none;}

.hp-section-description {padding-bottom:1.5rem;padding-top:1.5rem;}

table:not(.reset) {border-collapse: collapse;border-spacing: 0; width: 100%;}
table:not(.reset) td, table:not(.reset) th {border: 0;padding: 0.75rem;vertical-align: middle;}
table:not(.reset) th {background: #3d3d3d;color: #fff;line-height: 1.6;text-align: left;}

.ea-terminy-list,
.ea-terminy-calendar {display: none}
.ea-terminy-calendar {text-align: center}
.ea-terminy-calendar h4 {position: relative;}
.ea-terminy-calendar h4 .ea-prev,
.ea-terminy-calendar h4 .ea-next {position: absolute;top:0px;line-height: 1;cursor: pointer;padding: 0rem;display: none;}
.ea-terminy-calendar h4 .ea-prev svg,
.ea-terminy-calendar h4 .ea-next svg {width: 32px}
.ea-terminy-calendar h4 .ea-prev {left:0;}
.ea-terminy-calendar h4 .ea-next {right:0}
.ea-terminy-calendar h4 .ea-prev:hover,
.ea-terminy-calendar h4 .ea-next:hover {filter: invert(100%);}

.ea-terminy-list.ea-active,
.ea-terminy-calendar.ea-active {display: block}
.ea-terminy-calendar .ea-active {background-color: #509160;color:#fff;cursor: pointer}
.ea-terminy-calendar .ea-active:hover {background-color: #000;}

.ea-terminy-calendar .ea-active.ea-sold-out {background-color: #6400c8}
.ea-terminy-calendar .ea-active.ea-sold {background-color: #eb8909}


.ea-terminy-list form label {display: none}
.ea-terminy-list form .col-md-9 {flex: 0 0 100%;max-width: 100%;padding: 0;}
.ea-terminy-list form .col-md-9 input {max-width: 80px}

.ea-terminy-list form .panel {display: flex;flex-wrap: wrap;}
.ea-terminy-list form .panel .panel-footer,
.ea-terminy-list form .panel .panel-body {}
.ea-terminy-list form button {margin: 0px;line-height: 40px;padding:0 0.75em;margin-left: 2px}

@media screen and (max-width: 767px) {
    .ea-terminy-list {white-space: nowrap;}
    .ea-terminy-list form button,
    .ea-terminy-list .panel-body,
    .ea-terminy-list .panel-footer {width: 100%}
    .ea-terminy-list .panel-body {border: 2px solid transparent;}

    .ea-terminy-list form .col-md-9 input {width: calc(100% - 76px);max-width:100%;}
    .ea-terminy-list table:not(.reset) td {line-height:40px;vertical-align:top;}
}

#e-card {margin: 0px auto; max-width:660px;}
#e-card .row:first-child div.col-12 {flex: 0 0 auto; width: 100% !important;padding-bottom:2rem;}
#e-card h2 {text-align:center;}
#e-card input, 
#e-card textarea {display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-clip: padding-box;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  border:none;
}
#e-card .form-group .col-md-3,
#e-card .form-group .col-md-9 {width:100% !important}


#e-card input[type=checkbox] {
border: 1px solid #333;
  width: 20px;
  height: 20px;
  display: inline;
  margin-right: 10px;
}
#payment-list {text-align:center;}
#payment-list .btn {margin: 2px}
.ea-order .row:last-child .col-12:first-child {display:none;}

@media screen and (max-width: 767px) {
    .ea-card-items th:nth-child(3),
    .ea-card-items th:nth-child(4),
    .ea-card-items th:nth-child(5),
    .ea-card-items th:nth-child(2),
    .ea-card-items td:nth-child(3) {display:none;}
    .ea-cart-items tr {border-bottom: 1px solid rgba(0,0,0,0.2);}


    .ea-card-items td {display:block;width:100%;padding: 0.3rem 1rem !important;}

    .ea-card-items tr td:last-child {padding-bottom:20px !important;border-bottom: 1px solid rgba(0,0,0,0.2);}
    .ea-cart-items table tr:not(.active) td:last-child {padding-bottom: 20px;}

}

.ea-form label {display:none;}
.ea-form .panel {display: flex;flex-wrap: wrap;}
.ea-form .panel-body,
.ea-form .panel-footer {flex: 0 0 auto;  width: 50%;}
.ea-form .panel-footer {text-align:left;padding-left: 2px;}
.ea-form .panel-footer .btn {line-height:24px;}


/**#ea-order-submit {display:none;}**/


