html{
  scroll-behavior: smooth; 
  line-height: 1.5;
  color:#111;
  background-color:#fff;
  min-height: 100%;
}

body{
}

#board{
  -webkit-box-shadow: 0 0 20px 10px #dddddd;
  box-shadow: 0 0 20px 10px #dddddd;
  max-width:1920px;
  margin:0 auto;
}

#top{
  background: url(../images/bgtop.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  min-height:42.2rem;
  border-bottom:2rem;
}
.topcontent{
  padding-top:2.5rem;
  min-height:5rem;
  color:white;
  border:0px solid white;
  width:80%;
  margin:0 auto;
}


#logo{
  display:block;
}

#logo img{
  z-index:2;
  width:13rem;
  height:auto;
}

#menu{
  float:right;
}

#menu ul{
  max-width:100%;
  list-style-type:none;
  padding:0px;
  margin:0px;
  margin-left:1rem;
  margin-right:1rem;
}
.mainmenu li{
  float:left;
}
.mainmenu li a{
  color:#fff;
  display:block;
  padding-right:3rem;
  padding-left:0rem;
  text-transform: uppercase;
}

.mainmenu li a:hover{
  text-decoration:none;
  color:#111;
  transition:0.6s;
}
.mainmenu li a.active{
  color:#fff;
}

.mainmenu li:first-child a{
  padding-left:0px;
  background: none;;
}


section {
  display: block;
  max-width:100%;
  overflow-x:hidden;
  text-align:center;
  padding-top:3rem;
  padding-bottom:3rem;
  background-size: cover;
  background-repeat: no-repeat;
}

section.info{
  clear:both;
  padding-top:7px;
}

.rfire{
  color:white;
  background: url(../images/rfire.svg);
  background-size: 100%;
  background-position: center bottom;
}
.lfire{
  color:white;
  background: url(../images/lfire.svg);
  background-size: 100%;
  background-position: center top;
}
.light.flame{
  background: url(../images/flame-light.svg);
  background-size: 30%;
  background-position: center top;
  background-repeat: no-repeat;
}

.numb {  
  display: flex;  
  justify-content: center; 
  gap: 2rem;  
}  

.encount {  
  flex: 0 0 auto; 
  width: min(33ch, 95%); 
  text-align: center;
  padding: 1rem 0;  
} 

.refs {  
  display: flex;  
  align-items: center;  
  justify-content: center;  
  position: relative;  
  width: 98%;  
  margin: 0 auto;  
}  

.arrow {  
  width: 4rem;  
  height: 4rem;  
  cursor: pointer;  
  user-select: none;  
  position: absolute;  
  top: 50%;  
  transform: translateY(-50%);  
  z-index: 10;
  opacity:.9;  
}  

.left-arrow {  
  left: 0;  
}  

.right-arrow {  
  right: 0;  
}  

.carousel-wrapper {  
  overflow: hidden;  
  width: 80%;  
}  

.carousel {  
  display: flex;  
  transition: transform 0.3s ease;  
  will-change: transform;  
}  

.ref {  
  flex: 0 0 calc(100% / 3 - 2rem);  
  margin: 1rem;  
  padding: 1rem;  
  text-align: center;  
  box-sizing: border-box;  
  border-radius: 8px;  
  background-color: #f9f9f9;  
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);  
}  

@media (max-width: 768px) {  
  .ref {  
    flex: 0 0 calc(100% - 2rem);  
  }  
}  

.ref img {  
  width: 100%;  
  aspect-ratio: 4 / 3;  
  object-fit: cover;  
  border-radius: 4px;  
}  

.wx{
  max-width:1200px;
  margin:auto;
}

.content{
  margin:auto;
  max-width:880px;
  padding-left:10px;
  padding-right:10px;
}
.wcontent{
  margin:auto;
  max-width:1400px;
}
.col50{
  display:inline-block;
  width:40%;
  margin-left:5%;
  margin-right:5%;
  margin-top:1vw;
  margin-bottom:1vw;
}


.img{
  padding:8px;
  background:#fff;
  border:1px solid #ccc;
}

.img img{
  max-width:100% !important;
  height:auto;
  margin:0px;
  padding:0px;
  margin-bottom:-4px;
  border:0px solid #d90;
}

.form input,
.form select,
.form textarea{
  font-family:inherit;
  font-size:1rem;
  background: #fff;
  border-radius:8px;
  padding:.6rem 1%;
  border:0;
  margin-top:1rem;
}


.form{
  max-width:30rem;
}

.form .option{
  width:100%;
  font-family:inherit;
}

.form .half{
  width:44%;
  padding-right:3%;
}
.form textarea{
  width:96%;
  padding-left:2%;
  padding-right:2%;
}

.form select{
  width:100%;
}
.form .send{
  padding: .6rem 3rem;
}


#footer{
  clear:both;
  min-height:170px;
  border-top:0px solid #eee;
  background-position:center center;
  background-repeat:no-repeat;
}


td{
  vertical-align: top;
}


