
/*global */
*,*::after,*::before{
    box-sizing: border-box;
}
@font-face {
    font-family: 'NotoSansThai-Medium';
    src: url('../fonts/NotoSansThai-Medium.eot');
    src: url('../fonts/NotoSansThai-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/NotoSansThai-Medium.woff2') format('woff2'),
        url('../fonts/NotoSansThai-Medium.woff') format('woff'),
        url('../fonts/NotoSansThai-Medium.ttf') format('truetype'),
        url('../fonts/NotoSansThai-Medium.svg#NotoSansThai-Medium') format('svg');
    font-style: normal;
    font-display: swap;
}

body{
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-family: 'NotoSansThai-Medium' ;
}
.column a{
 cursor: pointer;
 display: block;
}
.container{
    padding:0 1rem;
}
.flex{
    flex: 0 0 50%;
}
h1,h2,h3{
    font-weight: normal;
}
.btn-default{
    padding: 10px 18px;
    /* margin-top: 1rem; */
    background: #ffffff;
    border: 2px solid #0084ff;
    color: #0084ff;
    transition: all .3s ease;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'NotoSansThai-Medium';
    text-decoration: none;
}
.btn-caption{
    padding: 10px 18px;
    /* margin-top: 1rem; */
    background: #ffffff;
    border: 2px solid #0084ff;
    color: #0084ff;
    transition: all .3s ease;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'NotoSansThai-Medium';
    text-decoration: none;
}
.btn-default:hover, .btn-caption:hover, .hero-img div > a:hover{
    box-shadow: 0 8px 20px 0 rgb(0 0 0 / 10%);
    border: 2px solid #004585;
    color: #004585;
}
.dl-pc , .dl-mb{
    padding: 19px 28px;
    border: 0 solid #fff;
    border-radius: 12px;
    box-shadow: 0 0 15px 0 rgba(0,0,0,.15)!important;
    max-height: 200px;
    width: 250px;
}
/* header */
.title-uob{
    color: #005EB8;
}
#f_1 header{
    padding: 1rem 1rem;
}
header img{
    width: 80px;
    max-width: 100%;
}
header nav{
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}
header a{
    display: inline-block;
}
@media (min-width: 576px){
    .container{
        max-width: 540px;
        margin: 0 auto;
        padding:0 0rem;
    }
    #f_1 header{
        padding: 1rem 0rem;
    }
}
@media (min-width: 768px ){
    .container{
        max-width: 720px;
        margin: 0 auto;
        padding:0 0rem;
    }
    header img{
        width: 122px;
    }
    #f_1 header{
        padding: 1rem 0rem;
    }
}
@media (min-width: 992px){
    .container{
        max-width: 960px;
        margin: 0 auto;
        padding:0 0rem;
    }
    header img{
        width: 122px;
    }
    #f_1 header{
        padding: 1rem 0rem;
    }
}
@media (min-width: 1200px){
    .container{
        max-width: 1140px;
        margin: 0 auto;
        padding:0 0rem;
    }
    header img{
        width: 122px;
    }
    #f_1 header{
        padding: 1rem 0rem;
    }
}
@media (min-width: 1400px){
    .container{
        max-width: 1320px;
        margin: 0 auto;
        padding:0 0rem;
    }
    header img{
        width: 122px;
    }
    #f_1 header{
        padding: 1rem 0rem;
    }
}
/*banner*/
.banner{
    /* display: flex;
    max-height: 358px;
    align-items: center;
    padding: 2rem 0px;
    overflow: hidden; */
}
.banner img{
    width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 14px;
}
.banner > :last-child{
    text-align: center;
}
.hero-text.t1{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align:center;
}
/* end banner */

/* caption page to link */
#f_3{
    padding-bottom: 3rem;
}
.caption > h1{
    margin-bottom: 2rem;
    font-size: 20px;
    text-align: center;
}
#f_3 .row{
    display: flex;
    gap:40px;
}
.hero-img{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-img img{
    width: 380px;
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 15%);
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
    /* flex: 0 0 35%;
    padding: 18px 16px;
    border: 2px solid #005EB8; 
    border-radius: 12px;
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 15%); */
    
}
.hero-img div{
    position: relative;
    text-align: center;
}
.hero-img div::before{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgb(0,0,0,0.2);
    z-index: 0;
    font-size: 18px;
    border-radius: 10px;
    
}
.hero-img div > a{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 10px 18px;
    background: #ffffff;
    border: 2px solid #0084ff;
    color: #0084ff;
    transition: all .3s ease;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: none;
    
}
.hero-img div:hover::after{
    box-shadow: 0 8px 20px 0 rgb(0 0 0 / 40%);
    border: 2px solid #004585;
}
.hero-image.f{
    /*background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url("../img/UOB\ Plaza\ Bangkok05.jpg");*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* end caption page link */

/*gallery img uob plaza */
#textlast{
    margin-top:4rem;
}
.topichead{
    margin: 2rem 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.topichead a{
    /* font-size: 16px;
    line-height: 1.53;
    padding: 10px 25px;
    color: #333;
    border-radius: 25px;
    border: 3px solid #0084ff;
    text-decoration: none; */
}
.gallery img , .gallery-1 img ,.photo-gallery-col-2 img{
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    vertical-align: middle;
}
.gallery-1{
    display: flex;
    gap: 10px;
}
.photo-gallery-col-2{
    display: none;
    gap: 10px;
}
.gallery > .row{
    display: flex;
    gap: 10px;
}
.gallery .column, .gallery-1 .column , .photo-gallery-col-2 .column{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gallery:last-child{
    margin-bottom: 2rem;
}
.navigate-img  .dl-img  h2:not(:first-child){
    margin: 0;
}
.dl-img > div{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-text.idea{
    margin: 2.5rem auto; 
}
@media (max-width: 991px){
    .hero-img img{
        width: 320px;
    }
}
@media (max-width: 768px){
    .hero-img img{
        width: 100%;
    }
    .btn-default{
        display: none;
    }
    .btn-img{
        display: block;
    }
    .hero-img div > a {
        display: block;
    }
    .hero-text.idea{
        width: 80%;
        margin:0 auto;
        padding-top: 25px;
    }
    .hero-img div::before{
        left: 50%;
        right: 50%;
    }

}
@media (max-width: 800px){
    /*.gallery .column:last-child{
        flex:100%;
    }*/
  	.gallery-1{
        display: none;
    }
    .photo-gallery-col-2{
        display: flex;
    }
}
@media (max-width:600px){
    .gallery .column:nth-child(2){
        /*flex: 100%;*/
    }
    .topichead a:last-child{
        /* margin-top: 1rem;
        font-size: 14px; */
    }
}
@media (max-width:375px){
    .dl-img > div{
        gap: 0;
    }
}
/*end gallery img uob plaza */

/*Idea content */
.id-content{
    padding-bottom: 2rem;
}
.id-content .text-head{
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: lighter;
}
/* .card-box{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 14px 16px;
    background-color: #005EB8;
    border-radius: 10px;
}
.card-idea{
    color: white;
    flex:50%;
    padding-left:5rem;

}
.card-img{
    flex: 50%;
}
.card-img > div{
    text-align: end;
}
.card-box img{
    width: 80%;
    height: auto;
    display: inline-block;
    border-radius: 10px;
} */
.titlecard.column1{
    margin-bottom: 2rem;
}
.titlecard{
    display: flex;
    gap: 20px;

}

.titletext{
    background-color: #dbecfb;
    padding: 14px 16px;
    display: inline-block;
    border-radius: 10px;
}
.titlecard img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}
@media (max-width: 767px){
    .id-content .text-head{
        font-size: 24px;
        margin-top: 0;
        margin-bottom: 2rem;
        font-weight: 300;
    }
    .titlecard.column1{
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }
    .titlecard.column2{
        flex-wrap: wrap;
    }
}