@font-face {
    font-family: kanit;
    src: url(../../assets/fonts/Kanit/Kanit-Bold.ttf);
}

@font-face {
    font-family: kanit-light;
    src: url(../../assets/fonts/Kanit/Kanit-Light.ttf);
}


@font-face {
    font-family: roboto;
    src: url(../../assets/fonts/RobotoSlab-VariableFont_wght.ttf);
}
button{
    outline: none !important;
}


.bus_box_inner_wrapper {
    background: #fff;
    border: 1px solid #edeff1;
    border-radius: 3px;
    margin-bottom: 25px;
    -webkit-transition: .3s linear;
    -moz-transition: .3s linear;
    -ms-transition: .3s linear;
    -o-transition: .3s linear;
    transition: .3s linear;
    
}
.marine_service_wrapper{
    margin: auto 30px;
}

.bus_box_img_wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.bus_box_img_wrapper:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(162,172,177,.2);
}

.bus_box_img {
    border: none;
    max-width: 100%;
    height: 100%;
    width: 100%;
}

.bus_box_details {
    padding: 5px 5px 0px 5px;
    color: #767f86;
    font-family: roboto;
}


.bus_box_name {
    padding: 0;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* text-shadow: 3px 1px #dfdddd; */
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 8px;
}


.bus-box-person {
    padding-bottom: 2px;
    margin-bottom: 2px;
}

.bus-box-person .row {
    /* justify-content: space-between; */
    align-items: center;
}

.bus-box-person .col-sm-2, .bus-box-person .col-sm-10 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.bus-box-person p, .readmore {
    font-size: 14px;
    margin: 0;
    color: #242627;
    line-height: 1.3rem;
    text-transform: initial;
    padding:3px 0px;
    margin: auto 10px;
    
}

.bus-box-person div{
    max-height: 130px;
    text-overflow: ellipsis;
    overflow: hidden;
}
.slide_scroll_width {
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.slide_scroll_width {
    width: 24%;
    /* max-width: 400px; */
}
.pad_slide {
    /*padding-right: 10px;*/
    /*padding-left: 5px;*/
}

.bus-box-open-close-part{
    display: flex;
    justify-content: center;
    padding-bottom: 15px;
    padding-top: 5px;
    /* border-top: 1px solid #eee; */
}
.bus-box-open-close-part button{
    width: 50%;
}


.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    /* border: 1px solid transparent; */
    /* padding: 0.2rem 0.75rem; */
    padding: 0.95rem 0.5rem;
    font-size: 1rem;
    line-height: 1.3;
    border-radius: 0.25rem;
    /* box-shadow: 0 2px 2px #161616; */
    cursor: pointer;
    transition: none !important;
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: div !important;
}

.btn:focus{
    /* border: none !important; */
    /* outline: none !important; */
    box-shadow:none !important;
}
.btn{
    color: #0d7d27;
}
.btn-primary {
    color: #0d7d27;
    background-color: transparent !important;
    border-color: #29bf6c !important;
    
}

.btn:hover{
    color: #fff;
    background-color: #0d7d27 !important;
}

.marine_service_grid{
    /*display: flex;*/
    /*justify-content: space-around;*/
    /*flex-wrap: wrap;*/
    display: flex;
    /* justify-content: space-around; */
    flex-wrap: wrap;
    gap: 10px;
}

h2 {
    font-size: 32px;
    line-height:1rem;
    color: #222;
    margin: 0 0 10px;
    font-weight: 600;
    letter-spacing: -1px;
}

.search_title {
    margin-bottom: 20px;
    text-align: center;
}

.search_title span, .listing_title .titledesc {
    font-size: 30px;
    font-weight: 800;
    color: #333232;
    margin-bottom: 3px;
    text-transform: uppercase;
    font-family: kanit;
    /* text-shadow: 3px 1px #dfdddd; */
    text-align: center;
}

.niports {
    /* text-shadow: 3px 1px #0d7d27; */
    color: #0d7d27 !important;
}

.padding {
    padding: 40px 0;
}

.pad_slide img {
    /* transition: transform .5s ease; */
    transition: transform 2s, filter 1.5s ease-in-out;
    transform-origin: center center;
    filter: brightness(50%);
  }

.pad_slide:hover img {
    /* transform: scale(1.5); */
    filter: brightness(100%);
    transform: scale(1.3);
  }
.bus_box_inner_wrapper{
    position: relative;
}
  .marine_overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    /* bottom:0px; */
    background: #000000c7;
    /* opacity: .5; */
    border-radius: 5px;
    transition:  .2s ease-in-out;
    visibility: hidden;
    /* display: none; */
    padding: 5px;
    text-align: left;
    left: 0;

  }

  .readyyy:focus .marine_overlay{
    visibility: visible;
    bottom: 0;
    transition:  1s ease-in-out;
    top: 0;
  }

  .readyyy:hover{
    color: rgb(0, 110, 255);
    cursor: pointer;
   
  }

  .readyyy{
    margin: auto 10px;
  }

  .readmore{
    color:#0d7d27;
    padding: 0;
    margin-bottom: 10px;
    font-family: kanit;
  }


  .bus_box_name_overlay{
    color: #f1f2f3;
    font-size: 22px;
    /*text-decoration: underline;*/
    text-align: center;
  }

  .bus-box-person_overlay  div{
    color: #f8fbfd;
    font-size: 14px;
    /* font-family: kanit-light; */
  }

  .bus-box-person_overlay b{
    color: #1fb16e;
  }

  .page-header{
    height: auto;
    background-image: url(../img/m&o.webp);
    
  }

  .page-header-info{
    padding: 10px;
  }

  .page-header-info h2 {
    color: #fff;
    font-size: 46px;
    line-height: 46px;
    /* margin-bottom: 15px; */
}
.bus-box-open-close-part a {
    width: 50%;
}
/* media query */
@media only screen and (min-width: 600px){
h2 {
    font-size: 32px;
    /* line-height: 1rem; */
}
}

@media (min-width: 768px){
.bus-box-person .col-sm-10 {
    width: 100%;
}
}

@media(max-width:990px){
    .slide_scroll_width{
        width: 32%;
        
    }
}

@media(max-width:764px){
    .slide_scroll_width{
        width: 49%;
        
    }
}

@media(max-width:558px){
    .slide_scroll_width{
        width: 100%;
        
    }
}
