a {
  text-decoration: none;
  color: #171924;
}

.fg-gary {
  color: #7d7d7d;
}

.container {
  display: flex;
  gap: 10px;
  font-size: 14px;
}

.container:hover ,.main-content:hover{
  color: #4d4d4d;
}
.content_list a:hover{
  color: #4d4d4d;
}

.photo {
  flex-shrink: 0;
  max-width: 30%;
}

.photo img {
  width: 100%;
  max-width: 335px;
}

.main-content {
  flex: 1;
  display: grid;
  align-items: stretch;
}

.info {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: flex-end;
  margin: 10px 0;
  padding-right: 20px;
}

.circle {
  width: 12px;
  height: 12px;
  border: 3.5px solid #903533;
  border-radius: 50%;
  background-color: transparent;
  margin-right: 6px;
}

h3.section-label {
  color: #903533;
  padding: 0;
  margin: 0;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 3px solid #903533;
  display: flex;
  flex-direction: row;
  line-height: 20px;
  font-size: 18px;
}

.section-label {
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
  grid-template-columns: 1fr 4.8fr;
  display: grid;
}

.hr-line {
  border-right: 1px solid #ccc;
}

.section-row {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.section-block {
  flex: 1;
  text-align: left;
}

.section-content-label {
  font-weight: 700;
  font-size: 14px;
  word-break: keep-all;
}

.list {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 2%;
  row-gap: 8px;
}

.lists {
  display: flex;
  gap: 10px;
}

.item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.label {
  background-color: #bca054;
  color: #fff;
  margin-top: 16px;
  padding: 2px 8px;
  font-weight: bold;
}

.value {
  padding: 4px 6px;
  font-size: 16px;
  font-weight: 600;
}

.contact_btn {
  display: flex;
  justify-content: center;
  background-color: #903533;
  color: #fff;
  padding: 4px 40px;
  text-align: center;
  align-content: flex-start;
  align-items: center;
}

.contact_btn a {
  color: #fff;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.list.detil {
  height: 90%;
}

.section-comment {
  height: 80px;
  background-color: #f5f1f0;
  margin: 10px 0;
  padding: 10px;
}

/*slider*/

#slider-container {
  position: relative;
  height: 250px;
  display: flex;
  justify-content: center;
  max-width: 100%;
  /* overflow: hidden; */
  max-width: 960px;
  margin: 0 auto;
}
.slider {
  max-width: 100%;
  overflow-x: hidden;
  white-space: nowrap;
  position: absolute;
  top: -18%;
  margin: 0 auto;
}

.slider-list {
  display: inline-block;
  max-width: 210px;
  background: #f1f1f1;
  text-align: left;
  user-select: none;
  margin: 0 4px;
}

.slider-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  
}
.slider-item .list {
margin: 0 10px;
row-gap: 2px;
}
.slider-item img {
  max-width: fit-content;
}
.slider-item h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #ccc;
  width: 95%;
  margin: 0 auto;
  margin-bottom: 10px;
  color: #903533;
  text-align: center;
  white-space: nowrap;        
  overflow: hidden;           
  text-overflow: ellipsis;    
  max-width: 300px;           
}

#slider-content {
  max-height: 320px;
}

.slider-content a,.slider-content a:visited{
color: #000;
}

.slider-item:hover{
  opacity: 0.85;
}


.content_list{
  max-width:1200px;
  min-width:375px;
}

@media screen and (max-width: 970px) {
  #slider-container {
    display: none;
  }
  #contents .main_area span.required img {
    width: auto;
  }

}
@media screen and (max-width: 690px) {
  .container {
    flex-direction: column;
  }
  .list {
    margin-bottom: 4px;
  }
  .section-row {
    flex-direction: column;
  }
  .section-label {
    grid-template-columns: 1fr 1.8fr;
  }
  .photo {
    max-width: 100%;
  }

  .photo img {
    max-width: 100%;
  }
  .hr-line {
    border-right: 0px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  .contact_btn {
    padding: 8px 40px;
  }
}

@media screen and (max-width: 650px) {
.side_content {
  /* margin: 15px 4px 10px; */
  width: 47%;
  /* float: left; */
  /* background: #f0cfd6; */
  display: grid;
  grid-template-columns: 1fr 1fr;
}
/* .side_content div{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: max-content;
} */
}


input[type="submit"], input[type="button"] {
  width: 47%;
  height: 40px;
}

input[type="text"], input[type="email"], input[type="number"], input[type="tel"], input[type="email"], select {
  height: 25px;
  border-radius: 5px;
}
input[type="text"], input[type="email"], input[type="tel"] {
  width: 95%;
}

select {
  width: 90%;
  height: 32px;
}
textarea {
  width: 90%;
  border-radius: 5px;
}