/* -------馬兒-特效------ */

/* #about_us{
    position: fixed;
    z-index: 0;
    top: 0;
    width: 100%;
    height: 100vh;
}

.about_{
    position: relative;
    width: 100%;
    height: 100vh;
} */
.my_photo1 {
    background-image: url("../img/horseicon-01.png");
    top: 20%;
    left: 8%;
}
/* .my_photo2 {
    background-image: url("../img/horseicon-01.png");
    top: 70%;
    right: 5%;
} */
.cow{
    position: fixed;
    background-repeat: no-repeat;
    width: 15%;
    height: 15%;
    background-size: contain;
    z-index: 999999;
}
section{
    z-index: 5;
}
/* ------------------------------------ */

.banner {
    position: relative;
    transform: translateY(-58.52);
}


.banner img {
    width: 100%;
    background-attachment: fixed;

    background-size: left;
    
}

/* banner 下方后里馬場的文字 */
.base {
    width: 600px;
    padding:10px 0;
    position: absolute;
    bottom: 0px;

    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 50px;
    font-family: "微軟正黑體";
    letter-spacing: 70px;
    padding-left: 70px;
}
@media(max-width:600px){
    .base{
        width: 100%;
        letter-spacing: 50px;
        padding-left: 25px;
    }
}@media(max-width:470px){
    .base{
        font-size: 30px;
        letter-spacing: 20px;
        padding: 0 0 0 20px;
    }
}
/* ------------section#t1 關於馬場 ------------------ */
section#t1{
    background-color: #F2ECE7;
}
section#t1 .container {
    width: 100%;
    /* background-color: #BD9778; */
    /* background-color: #9FBACA; */

}

/* .row {
    padding: 10px 0px 40px 0px;
} */
.title{
    
    margin: 0px auto 0px auto;
    width: 40%;
    min-width: 280px;
    border: solid 2.4px #A06437;
}
.pat30{
    padding-top:30px ;
}

.t1_padd{
    padding: 40px 0px;
}

.pab50{
    padding-bottom: 80px;
}
.title_text{
    color: #5B2C0C;
    padding-left: 20px;
    font-size: 40px;
    font-family: "微軟正黑體";
    letter-spacing: 20px; 
    text-align: center;
}


section#t1 .row .col-md-7 img {
    width: 100%;
    border: solid 4px #B7673C;

}

/* .part {
    display: flex;
    padding: 50px 0px;

} */

/* .aaa {
    display: flex;
    align-items: center;
} */

.t1-text {
    color: rgb(24, 24, 24);
    font-size: 28px;

    padding: 30px 5px;
}
.pat70 {
    padding-top: 60px;
}

.t1_padd_{
    padding: 60px 0px;
}

@media(max-width:960px){
    
    section#t1 .row .t1-text{
        font-size:20px ;
    }
}






/*---------------- section#t2-活動體驗 ------------*/

section#t2 {
    width: 100%;
    /* background-color: #BD9778; */
    background-color: #A06437;
    /* 更改背景顏色 */
}

section#t2 .title{
    border:solid 2px white ;
}

section#t2 .title_text{
    color: white;
    
}

section#t2  img{
    width: 100%;
   
}

/* .mask{
    width: 100%;
    height: 905px;
    background-color: rgba(0, 0, 0, 0.849);
    z-index: 22;
} */


.pa0{
    padding: 0 !important;
}
.no-gutters {
    margin-right: 0;
    margin-left: 0;
    padding: 30px 0 0 0 ;  
}
.no-gutters>.col,
.no-gutters>[class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

.swiper-container {
    overflow: hidden;
    margin-top: 30px;
    width: 100%;
    height: 100%;
  }
.swiper-slide {

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }

#swsl{
    overflow: hidden;
    position: relative;
}
#swsl .mask{
    width: 100%;
    height: 100%;
    color: white;
    position: absolute;
    top: 85% ;
    transition: 0.5s;
    display: flex;
    flex-wrap: wrap;
}
#swsl .mask_op{
    background-color: rgba(0, 0, 0, 0.65);
}
#swsl .mask .mask_title{
    margin: calc(13% - 36px) auto ;
    font-size: 36px;
}
#swsl .mask p{
    font-size: 24px;
}
#swsl .mask:hover{
    top: 0%;
    align-content: center;
    padding: 15px;
}

@media(max-width:540px){
    .swiper-container {
        max-height: 590px;
    }
}
/* -------------section#t3-景點文化 ----------------*/

section#t3 .row{
    width: 100%;
}

section#t3 .row img{
    background-size: cover;
    background-position: center;
    width: 100%;
    

}

#map-iphone{
    display: none;
}

@media(max-width:540px){
    #map-iphone{
        display: block;
    }

    #map-web{
        display: none;
    }
}



section#t3 .row a{
    width: 9%;
    position: absolute;

}

section#t3 .row .animate{
    animation-name: Aanimate;
    animation-duration: 1.1s;
    animation-iteration-count: infinite;
}
section#t3 .row .animate:hover{
    animation-duration: 0.75s;
    animation-name: Aanimate_hover;
}
@keyframes Aanimate{
    0% { transform: translate(0px, 0px); }
    50% { transform: translate(0px, -10px); }
     100% { transform: translate(0px, 0px); }
}
@keyframes Aanimate_hover{
    0% { transform: translate(0px, 0px) scale(1.2); }
    50% { transform: translate(0px, -20px) scale(1.2); }
     100% { transform: translate(0px, 0px)scale(1.2); }
}
section#t3 .row a:nth-child(3){
    top: 20%;
    right: 20%;
}
section#t3 .row a:nth-child(4){
    top: 47%;
    right: 45%;
}section#t3 .row a:nth-child(5){
    top: 76%;
    right: 40%;
}section#t3 .row a:nth-child(6){
    top: 68.5%;
    right: 58.5%;
}section#t3 .row a:nth-child(7){
    top: 60%;
    right: 78.5%;
}
/* ---------------section#t4-園區資訊--------------- */
section#t4{
    width: 100%;
    background-color: #BD9778;
    /* 更改背景顏色 */
}

/* 標題格式 */
section#t4 .title{
    border: solid 2px white;
}

section#t4 .title_text{
    color:white;
}

section#t4 .t1-text{
    color: white;
    margin-top: 20px;
    margin-bottom: 20px;
}


/* 票價資訊 */
section#t4 .container .t4-t {
    color: white;
    font-size: 18px;
    font-family: "微軟正黑體";
    letter-spacing: 10px;
    text-align: center;
    background-color: #ED5A65;
    
    padding-left: 5px;
    line-height: 18px;
   

    width: 250px;
    padding: 5px 0;
   
    display: flex;
    justify-content: center;
    margin-bottom:-20px; 
    margin: 0 auto;
    transform: translateY(-100%);
   
}
section#t4 .container.hug{
    /* width: 1140px; */
    /* height:600px; */
    border: solid 6px white;
    border-radius: 20px;
    padding: 20px 100px;
    text-align: center;
    
}

section#t4 .container.hug .row .col-12{
    width: 1140px;
    /* height:600px; */
    border-radius: 20px;   
    
} 

.div-radius{
    border-radius: 16px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;

}

/* 票價資訊中每個活動的標題格式設定*/
section#t4 .container .t1-text .t4-t2{
    margin-top: unset;
    color: #604D46;
    /* font-size: 18px; */
    font-family: "微軟正黑體";
    letter-spacing: 10px;
    text-align: center;
    background-color: #E5E5E5;
    width: 150px;
    /* margin: auto; */
    display: flex;
    padding-left:10px ;
    justify-content: center;
}

section#t4 .container .t1-text .t4-c2{
    font-family: "微軟正黑體";
    padding: 20px 0px 0px 0px;
    text-align: center;
    color: white;
    
}
@media(max-width:540px){
    section#t4 .mab60{
        width: 100%;
        margin: 30px 0px !important ;
        
    }

    section#t4 .t1-text{
        color: white;
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 24px;
        text-align: center;

        /* width: 100%;
        height: 300px;
        display: flex;
        flex-flow: wrap;
        align-content: center;
        justify-content: center; */
    }

    section#t4 .container.hug{
        
        border: solid 6px white;
        border-radius: 20px;
        padding: 20px 10px;
        text-align: center;
        
    }
    section#t4 .container .t1-text{
    
        display:inline-block;
        margin: unset;
        padding:5px 5px;
        
       
    }

    section#t4 .container .t1-text .t4-t2{
    
        font-size: 26px;
        letter-spacing: unset;

        width: unset;
        
        display: flex;
        padding-left: unset;
        padding:1px 10px;
       
    }
    
    section#t4 .container .t1-text .t4-c2{
        font-size: 16px;
        text-align: center;
        color: white;
        
    }

}


/* ------------section#t5-最新消息----------------- */
section#t5{
    width: 100%;
    background-color: #F2ECE7;
    /* 更改背景顏色 */
}
section#t5 .row #t5_img img{
    width: 100%;
}
section#t5 .row #t5_img .more{
    width: 100%;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    text-align: center;
    position: relative;
    bottom: 44px;
    display: none;
   /* 圖片上的more 更多內容 */
} 
section#t5 .row .Card_text{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 10px;
    border: 1px black solid;
    font-size: 20px;
}
section#t5 .row .Card_text hr{
    background-color: black;
   
}

section#t5 .row .Card_text span{
    font-weight: 800;
}

section#t5 .row .Card_text span:hover{
    color: #E25959;
    font-weight: 800;
}


section#t5 .row .Card_text .more{
    font-size: 14px;
    padding: 0 3px;
    border-radius: 3px;
    /* background-color: black; */
    color: black;
    position: absolute;
    bottom: 10px;
    right: 5px;
    border: solid 1px black;
     /* 標題上的more 更多內容 */
}
section#t5 .row .Card_text .more:hover{
    font-size: 14px;
    padding: 0 3px;
    border-radius: 3px;
    position: absolute;
    bottom: 10px;
    right: 5px;
    /* border: solid 1px black; */
     /* 標題上的more 更多內容 */
}

/* 測試-更多內容特效 */
.mh7{
    color: rgba(255,255,255,1);
    
    transition: all 0.5s;
    border: 1px solid rgba(0,0,0,0.5);
    position: absolute;
    }
    
    .mh7 span{
    z-index: 2; 
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;   
    } 
    .mh7:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    background-color: rgba(253, 158, 104, 0.397);
    transition: all 0.3s;
    
    }
    .mh7:hover::before{
    opacity: 1;
    width: 100%;
    color: rgb(255, 255, 255);
    }


/* 更多消息格式 */
section#t5 .news{
    font-size: 23px;
    border-radius: 3px;
    background-color: #5B2C0C;
    color: white;
    
    letter-spacing: 2px;
    margin: auto;
     padding: 6px 10px 6px 12px; 
    
}
section#t5 a{
    text-decoration: none;
}


/* 測試-更多消息特效-失敗 */
.mh4 {
	color: rgba(255,255,255,1);
	transition: all 0.5s;
	position: relative;
	border: 1px solid rgba(255,255,255,0.5);
	overflow: hidden;
	}

	.mh4 > span {

	transition: all 0.3s;
	}

	.mh4:hover > span{
	opacity: 0;
    transform: translate(0px,40px);
	}
	.mh4::after{
	content: attr(data-text);
	position: absolute;
	width: 100%;
	height: 100%;
	line-height: 50px;
	top: 0;
	left: 0;
	opacity: 0;
	transform: translate(-30%, -50%) rotate(-30deg);
    letter-spacing: 2px;
	transition: all 0.3s;   

	}
	.mh4:hover::after{
	opacity: 1;
	transform: translate(12px, 0);
	}
	
/* ---------------------------------------------- */

.mart30{
    margin-top: 30px;
}
@media(max-width:800px){
    section#t5 .row .Card_text .more{
        display: none;
    }
    section#t5 .row #t5_img .more{
        display: block;
    }
    section#t5 .row .Card_text{
        height: 100px;
        overflow-y: scroll; 
    } 
}

 /* 滾輪效果 */
 /* width */
::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px white;
    border-radius: 10px;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #B7673C;
    border-radius: 10px;
  }
/* -----------section#t6-交通指南------------ */
  section#t6 .row .Card{
      background-color: #BD9778;
      color: white;
      text-align: center;
      padding: 20px;
      font-size: 20px;
  }
  .minh300{
      min-height: 300px;
  }
@media(max-width:960px){
    section#t6 .row .Card{
        height: 300px;
        overflow-y: scroll; 
        margin-top: 30px;
    } 
}
