/* CSS File */
html {
 font-size: 14px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
}

nav {
  display: grid;
}

.headerBlock {
  background-color: #ffd5a8;
  background-size: cover;
  padding: 0.2rem 0;

  /* Grid styles */
  display: grid;
  align-items: center;
  column-gap: 2%;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.headerBlock p {
  font-size:  1.2rem;
}

.headerBlock h1 {
  font-size:  1.6rem;
  margin-left: 12px;
  color:  #914e04;
}


.mainBlock, .mainBlockHome, .mainBlockGazetteer {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.mainBlockHome {
  grid-template-columns: 2fr 1fr 1fr;
}

.mainBlock.Gazetteer {
  grid-template-columns: 2fr 3fr;
}

.mainBlock.Membership {
  grid-template-columns: 1fr 1fr;
}

.mainBlock.checkout {
  grid-template-columns: 1fr 2fr;
  grid-column-gap:  10%;
}

.mainBlock p, .mainBlock li, .mainBlockHome p, .mainBlockHome li, .bookingTable td {
  font-size: 1.4rem;
  padding: 0.6rem 1rem;
  margin: 0;

}

.itemArticle {
  padding: 6px;
  border:  1px solid #ffd5a8;
  box-shadow:  2px 4px 2px #dddddd;
}

.itemArticle h1 {
  color: #756A4B;
}

.itemArticle h2 {
  color: #A8986B;
}

.itemArticle h3 {
  color: #A8986B;
  font-size:  1.3rem;
}

.itemArticle img {
  width:  100%;
}

.itemArticle p, .bookingTable td, .itemArticle li {
  font-weight: 300;
}

.itemArticle li {
  margin: 4px 0;
  padding: 0;
}

.itemArticle a:hover {
  text-decoration: none;
  color: #805500 ;
}

.itemArticle a {
  color:  #000;
}

.subEntry {
  background: rgb(238,228,192);
  background: linear-gradient(90deg, rgba(238,228,192,1) 0%, rgba(202,184,134,1) 18%, rgba(255,255,255,1) 100%);
  padding:  0 0.1rem;
}

.taskBox {
  margin: 8px 4px;
  padding:  6px;
  background-color: #f7efe6;
  border-radius: 6px;
  box-shadow: 3px 3px 4px #e3caaf;
}

.taskBox p {
  font-size:  1.1rem;
  padding: 0;
  margin: 0;
}

.taskBox h3 {
  padding: 0;
  margin:  0;
}

.priority {
  width:  16px;
  padding: 2px 4px !important;
  margin: 0 12px 0 0;
  float: right;
  font-size: 1.4rem !important;
  font-weight: bold;
  background-color: #f78407;
  border-radius: 3px;
  text-align: center;
  color: #ffffff;
}

footer {
  margin-top:  24px;
  display: grid;
  align-items: center;
  column-gap: 2%;
/*  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr;


  background-color: #466068; /* was 4682B4 */
  padding: .5rem;
  margin:  0;
  color: black;
  text-align: center;
  font-size: 1.2rem;
}

footer > p > a {
  color: #fff;
  text-decoration: none;
}

footer > p  {
  color: #fff;
  margin: 0;
  padding: 0;
  font-weight: 300;
}

footer > p > a:hover {
  color: #d2a679;
}


input[type="text"], input[type="email"], textarea, input[type="password"] {
 background-color: #EADEBD; 
 font-size: 1.2rem;
}


input[type="number"] {
 background-color: #EADEBD; 
 font-size: 1.2rem;
}

select {
 background-color: #EADEBD; 
 font-size: 1.2rem;
 /*-webkit-appearance: menulist;*/
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
 max-width:  90%;
}

.generalTable td {
  font-size: 1.4rem;
  font-weight: 300;
  padding: 0.6rem 1rem;
  margin: 0;
  border-bottom: 1px solid #EADEBD;
}

.mrButton {
  margin: 4px 3px;
  padding: 4px 12px;
  font-size: 1.3rem;
  background-color: #756A4B;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 3px 3px 2px #AAAAAA;
}

.mrButton:hover {
  background-color: #cab886;  
}

.actionIcon {
  cursor: pointer;
}

details summary { 
  cursor: pointer;
}

summary {
  font-size:  1.2rem;
}


/*
----------------------------------------------------------------------------------
Responsive css here....... 
----------------------------------------------------------------------------------
*/
@media all and (max-width : 400px) {

  .headerBlock {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  footer {
    grid-template-columns: 1fr;
  }

  .itemArticle.cart td {
    font-size:  1rem;
  }

  .itemArticle.b {
    grid-row-start: 1;
    grid-row-end: 2;
  }


}



@media all and (max-width : 850px) {

   .mainBlock, .mainBlockHome {
     margin: 0;
     display: grid;
     grid-template-columns: 1fr;
   }

}
