:root
{
    --color-blue:#20498E ;
    --color-green:#189008; 
    --color-red: #C71517;
    --color-yellow: #fad53a;
    --color-dark-text: #2E383C;

    --map-background-color : white;
    --map-station-basic-width: 10px;
    --map-station-point-width: 19px;
    --map-line-color-yl:#fad53a;
    --map-line-color-pk:#D76886;
    --map-line-color-gr:#8cb63c;
    --map-line-color-gw:#417f7c;
    --map-line-color-gold:#a2892a;
    --map-line-color-white:#ffffff;
    --map-line-stroke-width: 9px
}
*{
    color: var(--color-dark-text);
    font-family: "Sarabun", sans-serif;
}
p.title-page {
    font-size: 14px;
    padding-top: 0px;
    margin-bottom: 5px;
    margin-top: 15px;
}
.mFont {
	margin-top: 15px;
	float: right;
}
@media (max-width: 768px) {
    .mFont {
        margin: 15px 0;
        text-align: center;
        float: initial;
    }

    .panel-group {
        margin: 20px 0px 10px;
    }

    .panel-heading.title-tab {
        height: auto;
    }

    .collapse-tickets {
        margin: 0px;
        padding: 10px;
    }
}
.new-marquee span
{
    color: white !important;
}
.library-header {
	padding-bottom: 10px;
}
.library-header .container .title_main {
	padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
	display: flex;
	align-items: center;
}
.content_ticket h2 {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 20px;
}
@media (max-width: 1024px) {


}

button.btn {

    color: #9B9B9B;
    background-color: #fff;
    border-color: #ccc;
    padding: 4px 17px;
  
  }
@media (max-width: 767px) {
    .library-header .container .title_main {
     flex-direction: column;
    }
    }
.areamap-con
{
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    /* padding-top: 50px; */
    padding-bottom: 60px;
 
}
@media (max-width: 1024px) {
    .content_ticket .container .menu-sub {
      border-bottom: none !important;
     }
  }
 
.content_ticket .container .menu-sub {

    text-transform: uppercase;
    color: #fff;
    box-sizing: border-box;
 
    border-bottom: 1px solid #e5e5e5;
}
.content_ticket .container .menu-sub .sub-menu-item {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    padding: 0;
    list-style: none;
}

.content_ticket .container .menu-sub li {
    position: relative;
    /* width: 100%; */
}
.menu {
	display: none;
}

@media (max-width: 1024px) {


     .menu-sub .sub-menu-item {
        display: flex;
        flex-direction: column !important;
        gap: 8px !important;
 
    }
	.content_ticket .container .menu-sub li {
        text-align: center;
        padding-bottom: 10px;
        border-bottom: 1px solid #e5e5e5;
        width: 100%;
        
    
    }
    .menu-sub .sub-menu-item .bottom-color {
        width: 50% !important;
        left: 50% !important;
        transform: translateX(-50%);
        bottom: 0px !important;
    }
	
}

@media (max-width: 767px) {
    .library-header .container .title_main {
        flex-direction: column;
    }
    }

.content_ticket .container .menu-sub .sub-menu-item .bottom-color {
    content: "";
    position: absolute;
    left: 0px;
    bottom: -10px;
    width: 100%;
    height: 3px;
    border-radius: 100px;
    background: #189008;
}
.areamap-con .main-top .search-station {
    display: grid;
    grid-template-columns: 240px 280px 1fr;
    height: 40px;
    gap: 15px;
    align-items: center;
}
.main-top .search-station input, .main-top .search-station select {
    background: white;
    outline: none;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    padding: 8px 10px;
    height: 40px !important;
    cursor: pointer;
}
.main-top .search-station select {
    background-color: white;
    width: 100%;
    height: 100%;
}
.main-top .search-station .right {
    display: flex;
    align-items: center;
    justify-content: end;
}
.main-top .search-station .right span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-top .search-station .right span input {
    background: white;
    transition: .1s ease-in-out;
}
.main-top .search-station .right span img {
    position: absolute;
    right: 10px;
    width: 18px;
    height: auto;
}
.main-top .search-station .right span .result-bar p {
    margin: 0;
}
.main-top .search-station .right span .result-bar {
    position: absolute;
    top: 100%;
    width: 100%;
    height: 0px;
    /* padding: 8px 10px; */
    z-index: 2;
    transition: .1s ease-in-out;
    overflow-y: auto;
    border-radius: 4px;
    background-color: white;
    box-shadow: 0px 1px 12px rgba(0, 0, 0, 0.15);
}
.main-top .search-station input {
    width: 240px;
    height: 40px;
} 

.header-text
{
    font-size: 24px;
    font-weight: 500;
    font-family: "Sarabun", sans-serif;

}
.main-top
{
    margin-top: 40px;
}

.area-section
{
    position: relative;
    margin: 20px 0;
    background:#F6F6F6;
    border-radius: 4px;
    padding: 20px;
}
.area-section p
{
    margin: 0;
}
.area-section .top
{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #f6f6f6;
}
.area-section .top p
{
    margin-right: 15px;
    font-size: 14px;
    font-weight: 300;
}

.area-section .top select
{
    background: white;
    outline: none;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    width: 230px;
}

#result-bar .loading
{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#result-bar .loading div
{
    width: 5px;
    height: 5px;
    background: #2E383C;
    border-radius: 50%;
    box-shadow: 10px 0 #2E383C22,-10px 0 #2E383C;
    animation:d5 1s infinite linear alternate; 
}
@keyframes d5 {
    0% {box-shadow: 10px 0 #2E383C,-10px 0 #2E383C22;background: #2E383C}
    33%{box-shadow: 10px 0 #2E383C,-10px 0 #2E383C22;background: #2E383C22}
    66%{box-shadow: 10px 0 #2E383C22,-10px 0 #2E383C;background: #2E383C22}
}

#result-bar::-webkit-scrollbar
{
    display: none;
}
#result-bar li
{
    list-style: none;
    cursor: pointer;
    min-height: 40px;
    padding: 8px 10px;
}
#result-bar li.failed
{
    font-size: 14px;
    text-align: center;
}


#ddsearch-station-item
{
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 5px;
    justify-content: flex-start;
    align-items: center;

    font-size: 12px;
    color: var(--color-dark-text);
    border-bottom: 1px solid #F2F2F2;
}
#ddsearch-station-item .iconst
{
    width: 24px;
    height: 24px;
    border-radius: 100px;
    font-size: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}
#ddsearch-station-item .st-name
{
    font-size: 13px;
}
#ddsearch-station-item:hover
{
    background-color: #00000005;
}

.timefreq-card
{
    position: relative;
    width: 100%;
    min-height: 350px;
    height: 100%;

    margin-top: 1rem;
    background: #FFFFFF;
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    transition: .1s ease-in-out;

    /* padding: 20px 25px; */
}

.timefreq-card .ovl
{
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    transition: .1s ease-in-out;
    background: #00000090;
    border-radius: 8px;

    color: white;
    display: none;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
}

.timefreq-card .head-wrap
{
    display: grid;
    grid-template-columns: 1fr 100px;
    padding: 20px 25px 0 25px;
}
.timefreq-card .head-wrap .right
{
    display: grid;
    grid-template-columns: 35px 35px;
    align-items: center;
    justify-content: end;
    gap: 10px;
}
.timefreq-card .head-wrap .right img
{
    width: 100%;
    height: auto;
}
.timefreq-card .head-wrap .right .st-symbol
{
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    /* border: 3px solid var(--color-yellow); */
    border-radius: 100px;
}

.timefreq-card .head-wrap .st-name
{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
}
.timefreq-card .head-wrap .line-badge
{
    display: inline-block;
    padding: 2px 15px;
    border-radius: 100px;
    /* background: var(--color-yellow); */
    font-size: 12px;
    color: #fff;
}
/* Time Table */
.timefreq-card .timetable-wrap
{
    display: grid;
    grid-template-columns: 1fr 170px;
    align-items: center;

    background: #F6F6F6;
    margin: 18px 0;
    padding: 15px 25px;
}
.timefreq-card .timetable-wrap .left
{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: flex-start;
}
.timefreq-card .timetable-wrap .left p
{
   font-size: 15px; 
   font-weight: 500;
   margin-bottom: 8px;
}
.timefreq-card .timetable-wrap .left div
{
    display: grid;
    grid-template-columns: 20px 1fr;
    justify-content: flex-start;
}
.timefreq-card .timetable-wrap .left div > img
{
    width: 100%;
    height: auto;
}
.timefreq-card .timetable-wrap .left p#timetable
{
    font-size: 13px;
    font-weight: 200;
    color: #979797;
    margin-left: 3px;
}
.timefreq-card .timetable-wrap .right
{
    display: flex;
    justify-content: flex-end;
}
.timefreq-card .timetable-wrap .right > button
{
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
    gap: 5px;
    border-radius: 4px;
    background: var(--color-green);
    color: white;
    outline: none;
    border: none;
    cursor: pointer;
    padding: 8px 10px;
}
.timefreq-card .timetable-wrap .right > button > span
{
    font-size: 13px;
    font-weight: 500;
}
.timefreq-card .timetable-wrap .right > button > img
{
    width: 100%;
    height: auto;
}

.firstlasttraininfo-wrap
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-top: 20px;
    gap: 50px;

    padding: 0 25px 35px 25px;
}
.firstlasttraininfo-wrap .left
{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: start;
}
.firstlasttraininfo-wrap .left > .title-wrap, .firstlasttraininfo-wrap .right > .title-wrap
{
    margin-bottom: 20px; 
}
.firstlasttraininfo-wrap .left > .title-wrap h3, .firstlasttraininfo-wrap .right > .title-wrap h3
{
    font-size: 19px;
    font-weight: 500;
}
.firstlasttraininfo-wrap .left > .title-wrap p, .firstlasttraininfo-wrap .right > .title-wrap p
{
    font-size: 14px;
    font-weight: 300;
}

.firstlasttraininfo-wrap .right
{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: end;
}

.card-items-wrap
{
    display: grid;
    grid-template-columns: 200px 200px;
    gap: 13px;
}
.card-items-wrap .card-item
{
    display: block;
    border-radius: 8px;
    border: 1px solid #E8E8E8;
    width: 100%;
    display: grid;
    grid-template-rows: 1fr 37px;
}
.card-items-wrap .card-item[data-type="first"] .top
{
    background: var(--background-firsttrain);
}
.card-items-wrap .card-item[data-type="last"] .top
{
    background: var(--color-dark-text);
}
.card-items-wrap .card-item[data-type="sup"] .top
{
    background: var(--background-auxiliarytrain);
}
.card-items-wrap .card-item[data-type="last"] > .top .title h5, .card-items-wrap .card-item[data-type="last"] > .top .title p,
.card-items-wrap .card-item[data-type="last"] > .top .main-time span,
.card-items-wrap .card-item[data-type="sup"] > .top .title h5, .card-items-wrap .card-item[data-type="sup"] > .top .title p,
.card-items-wrap .card-item[data-type="sup"] > .top .main-time span
{
    color: white !important;
}
.card-items-wrap .card-item .top
{
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 10px 12px;
}
.card-items-wrap .card-item .top .title 
{
    margin-bottom: 15px;
    position: relative;
}
.card-items-wrap .card-item .top .title > h5
{
    font-size: 15px;
    font-weight: 500;
}
.card-items-wrap .card-item .top .title > p
{
    font-size: 13px;
    font-weight: 300;
}
.card-items-wrap .card-item .top .title > p.auxtrain
{
    position: absolute;
    top: 0;
    right: 0;
}
.card-items-wrap .card-item .top .main-time 
{

}
.card-items-wrap .card-item .top .main-time span:first-child
{
    font-size: 30px;
    font-weight: 500;
}
.card-items-wrap .card-item .top .main-time span:last-child
{
    font-size: 13px;
    font-weight: 200;
    margin-left: 10px;
}
.card-items-wrap .card-item .under
{
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background: white;

    padding: 10px 12px;
}
.card-items-wrap .card-item .under p
{
    font-size: 14px;
}










/* Responsing */
@media screen and (max-width: 1180px)
{
    .main-content 
    {
        padding-left: 20px;
        padding-right: 20px; 
    }
    .ttfq-container
    {
        padding-top: 85px;
    }
}
@media screen and (max-width: 960px)
{
    .firstlasttraininfo-wrap {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 850px)
{
    .main-top .search-station {
        grid-template-columns: 240px 280px;
        height: auto;
    }
    .main-top .search-station .left
    {
        grid-area: 2 / 1;
    }
    .main-top .search-station .center
    {
        grid-area: 2 / 2;
    }
    .main-top .search-station .right
    {
        grid-area: 1 / 1;
    }
    .card-items-wrap {
        grid-template-columns: 200px 200px 200px;
    }
}
@media screen and (max-width: 710px)
{
    .card-items-wrap {
        grid-template-columns: 200px 200px;
    }
}
@media screen and (max-width: 570px)
{
    .main-top .search-station {
        grid-template-columns: 1fr 1fr;
    }
    .main-top .search-station .right {
        justify-content: start;
    }
    .timetable-wrap
    {
        overflow: auto !important;
    }
    .timetable-wrap::-webkit-scrollbar
    {
        display: none;
    }
    .timetable-wrap table
    {
        width: 555px !important;
    }
}
@media screen and (max-width: 495px)
{
    .main-content .head-title h1 {
        font-size: 23px;
    } 
    .card-items-wrap {
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 470px)
{
    .main-top .search-station {
        grid-template-columns: 1fr;
    } 
    .main-top .search-station .left
    {
        grid-area: 2 / 1;
    }
    .main-top .search-station .center
    {
        grid-area: 3 / 1;
    }
    .main-top .search-station .right
    {
        grid-area: 1 / 1;
    }
    .main-top .search-station .right span {
        width: 100%;
        justify-content: start;
    }
    .main-top .search-station .right span input 
    {
        width: 100%;
    }
    .timefreq-card .timetable-wrap {
        grid-template-columns: 1fr;
    }
    .timefreq-card .timetable-wrap .right {
        justify-content: flex-start;
        margin-top: 10px;
    }
    .firstlasttraininfo-wrap {
        gap: 30px;
    }
}
@media screen and (max-width: 430px)
{
    .main-content .head-title h1 {
        font-size: 21px;
    }
    .timefreq-card .head-wrap .st-name {
        font-size: 18px;
    }
    .timefreq-card .head-wrap .right {
        grid-template-columns: 30px 30px;
    }
    .timefreq-card .head-wrap .right .st-symbol
    {
        width: 30px;
        height: 30px;
    }
    .firstlasttraininfo-wrap .left > .title-wrap h3, .firstlasttraininfo-wrap .right > .title-wrap h3 {
        font-size: 17px;
    }
    .card-items-wrap .card-item .top .main-time span:first-child {
        font-size: 25px;
    }
    .card-items-wrap .card-item .top .title > h5 {
        font-size: 14px;
    }
    .card-items-wrap .card-item .top .title > p {
        font-size: 12px;
    }
    .card-items-wrap .card-item .under p {
        font-size: 13px;
    }
    .main-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .main-content {
        padding-bottom: 40px;
    }
    .main-top .search-station
    {
        gap: 10px;
    }
    .timefreq-card .head-wrap {
        padding: 15px 15px 0 15px;
    }
    .timefreq-card .timetable-wrap {
        padding: 15px 15px;
    }
    .firstlasttraininfo-wrap {
        padding: 0 15px 25px 15px;
    }
    .card-items-wrap .card-item .top .main-time span:first-child {
        font-size: 21px;
    }
    .card-items-wrap .card-item .top .title > p.auxtrain
    {
        position: relative;
    }
    .time-frequency-wrapper .head-wrap h2 {
        font-size: 17px !important;
    }
    .workingweek-wrap .title h3, .weekend-wrap .title h3 {
        font-size: 20px !important;
    }
    .sec-remark-wrap ul {
        padding-left: 25px !important;
    }
    .sec-remark-wrap .text-under {
        padding-left: 5px;
        margin-top: 15px !important;
    }
}
@media screen and (max-width: 320px)
{
    .card-items-wrap {
        grid-template-columns: 1fr;
    }
    .card-items-wrap .card-item .top .title > p.auxtrain
    {
        position: absolute;
    }
}

/* Time Frequency */
.time-frequency-wrapper
{
    display: none;
    margin-top: 20px;
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 1rem;
    background: #FFFFFF;
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    transition: .1s ease-in-out;
    padding-bottom: 10px;
}
.time-frequency-wrapper .head-wrap{
    padding: 20px 0 10px 0;
    margin: 0 25px;
    border-bottom: 1px solid #E8E8E8;
}
.time-frequency-wrapper .head-wrap h2
{
    font-size: 18px;
    font-weight: 500;
}
.time-frequency-wrapper .head-wrap p
{
    font-size: 14px;
    font-weight: 300;
}
.workingweek-wrap
{
    margin-top: 16px;
    padding: 0 25px;
}
.workingweek-wrap .title
{
    position: relative;
    padding-left: 12px;
    margin-bottom: 15px;
}
.workingweek-wrap .title::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: 100px;
    background: var(--color-green);
}
.workingweek-wrap .title h3
{
    font-size: 23px;
}
.workingweek-wrap .title p
{
    font-size: 14px;
    font-weight: 300;
}
.workingweek-wrap table 
{
    border-collapse: collapse;
    width: 100%;
}
.workingweek-wrap table td
{
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    padding: 8px 15px 8px 20px;
}
.workingweek-wrap table thead > tr > td > p:nth-child(1)
{
    font-size: 14px;
    font-weight: 500;
}
.workingweek-wrap table thead > tr > td > p:nth-child(2)
{
    font-size: 13px;
    font-weight: 300;
}
.workingweek-wrap table tbody td
{
    font-size: 15px;
    color: #030303;
}
.workingweek-wrap table thead > tr > td:first-child
{
    width: 180px;
}
.workingweek-wrap table tbody tr:nth-child(odd)
{
    background: #F8F8F8;
}

.weekend-wrap
{
    margin-top: 25px;
    padding: 0 25px;
}
.weekend-wrap .title
{
    position: relative;
    padding-left: 12px;
    margin-bottom: 15px;
}
.weekend-wrap .title::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: 100px;
    background: var(--color-green);
}
.weekend-wrap .title h3
{
    font-size: 23px;
}
.weekend-wrap .title p
{
    font-size: 14px;
    font-weight: 300;
}
.weekend-wrap table 
{
    border-collapse: collapse;
    width: 100%;
}
.weekend-wrap table td
{
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    padding: 8px 15px 8px 20px;
}
.weekend-wrap table thead > tr > td > p:nth-child(1)
{
    font-size: 14px;
    font-weight: 500;
}
.weekend-wrap table thead > tr > td > p:nth-child(2)
{
    font-size: 13px;
    font-weight: 300;
}
.weekend-wrap table tbody td
{
    font-size: 15px;
    color: #030303;
}
.weekend-wrap table thead > tr > td:first-child
{
    width: 180px;
}
.weekend-wrap table tbody tr:nth-child(odd)
{
    background: #F8F8F8;
}

/* Remark (1) */
.first-remark-wrap
{
    padding: 15px 20px;
    margin: 20px 25px;
    background: #F8F8F8;
    font-size: 13px;
}
/* Remark (2) */
.sec-remark-wrap
{
    margin-top: 20px;
    padding: 15px 0;
    margin: 20px 25px;
}
.sec-remark-wrap .title
{
    font-weight: 500;
    font-size: 16px;
}
.sec-remark-wrap li.important
{
    list-style: none;
    color: #FF0006;
}
.sec-remark-wrap ul
{
    margin-top: 6px;
    padding-left: 45px;
}
.sec-remark-wrap ul li
{
    font-size: 13px;
}
.sec-remark-wrap .text-under
{
    font-size: 13px;
    font-weight: 600;
    padding-left: 25px;
    margin-top: 20px;
}

.area-section .result-wrap
{
    position: relative;
    min-height: 100px;
    height: auto;
    background: white;
    border-radius: 4px;
    margin-top: 15px;
    border: 1px solid #E0E0E0;
    padding: 20px;
}

#ovl-area-section
{
    position: absolute;    
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: #00000090;
    cursor: not-allowed;

    display: flex;
    align-items: center;
    justify-content: center;
}
#ovl-area-section h3
{
    color: white;
    font-weight: 500;
    font-size: 16px;

}
#ovl-exit-result
{
    position: absolute;    
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: #ffffff90;
    cursor: not-allowed;
}
#exit-item
{
    font-size: 15px;
}
#exit-item:not(:last-child)
{
    border-bottom: 1px dashed #E0E0E0;
    padding-bottom: 15px;
}
#exit-item p.title
{
    font-weight: 500;
}
#exit-item p.body
{
    font-weight: 300;
    margin-top: 5px;
    padding-left: 25px;
}
.area-section .result
{
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}


.map-preview-wrap
{
    margin-top: 40px;
    display: none;
}
.map-preview-wrap .head-wrap
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}
.map-preview-wrap .head-wrap .left
{

}
.map-preview-wrap .head-wrap .left > a
{
    font-size: 14px;
    background: var(--color-green);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 38px;
    border-radius: 4px;
    outline: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
}
.map-preview-wrap .head-wrap .left > a span
{
    color: white !important;
}
.map-preview-wrap .head-wrap .left img 
{
    width: 18px;
    height: auto;
    margin-right: 5px;
}
/* center */
.map-preview-wrap .head-wrap .center
{
    display: none;    
}
.map-preview-wrap .head-wrap .center > a
{
    font-size: 14px;
    background: var(--color-green);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 38px;
    border-radius: 4px;
    outline: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    margin-right: 5px;
}
.map-preview-wrap .head-wrap .center a img 
{
    width: 18px;
    height: auto;
    margin-right: 5px;
}

.map-preview-wrap .head-wrap .right
{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: end;
}
.map-preview-wrap .head-wrap .right > a
{
    font-size: 14px;
    background: var(--color-green);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 38px;
    border-radius: 4px;
    outline: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    margin-right: 5px;
}
.map-preview-wrap .head-wrap .right > a span
{
    color: white;
}
.map-preview-wrap .head-wrap .right a img 
{
    width: 18px;
    height: auto;
    margin-right: 5px;
}
.map-preview-wrap .head-wrap .right button#share-btn
{
    background: white;
    border: 2px solid var(--color-dark-text);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 38px;
    outline: none;
    cursor: pointer;
}
.map-preview-wrap .head-wrap .right button#share-btn img
{
    width: 18px;
    height: auto;   
    margin-right: 5px;
}
.map-preview-wrap .head-wrap .right button#share-btn span
{
    font-size: 14px;
}

.map-preview-wrap .main
{
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    margin-top: 15px;
}
.map-preview-wrap .main img
{
    width: 100%;
    height: auto;
}
@media screen and (max-width: 1180px)
{
    .areamap-con
    {
        padding-top: 290px;
        padding: 0 15px 60px 15px; 
    }
}
@media screen and (max-width: 865px)
{
    .areamap-con .main-top .search-station {
        grid-template-columns: 1fr;
        height: auto;
        gap: 10px;
        justify-content: center;
    }
}
@media screen and (max-width: 850px)
{
    .main-top
    {
        margin-bottom: 20px;
    }
    .main-top .search-station .left {
        grid-area: 2 / 1;
    }
    .main-top .search-station .center {
        grid-area: 3 / 1;
    }
    .main-top .search-station .right {
        grid-area: unset;
    }
    .main-top .search-station .right span {
        align-items: center;
        width: 100%;
        justify-content: center;
    }
    .main-top .search-station .right span input
    {
        width: 100%;
        grid-area: 1 / 1;
    }
    .area-section .top {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: flex-start;
    }
    .area-section .top p {
        margin-bottom: 5px;
    }
    .area-section .top select
    {
        width: 100%;
    }
}
@media screen and (max-width: 530px)
{
    .area-section 
    {
        margin-bottom: 0px;
    }
    .map-preview-wrap
    {
        display: none;
        grid-template-columns: 1fr;
        margin-top: 5px;
    }
    .map-preview-wrap .head-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        grid-area: 2 / 1;
        margin-top: 10px;
    }
    .map-preview-wrap .main
    {
        grid-area: 1 / 1;
    }
    .map-preview-wrap .head-wrap .center {
        display: flex;
    }
    .map-preview-wrap .head-wrap .right > a
    {
        display: none;
    }
    .map-preview-wrap .head-wrap .right {
        grid-template-columns: 1fr;
        grid-area: 2 / 1 / span 2 / span 2;
        justify-items: center;
    }

    .map-preview-wrap .head-wrap .left > a
    {
        width: 100%;
        padding-left: 5px; 
        padding-right: 5px; 
    }
    .map-preview-wrap .head-wrap .left > a span
    {
        font-size: 13px; 
    }
    .map-preview-wrap .head-wrap .center > a
    {
        width: 100%;
        padding-left: 5px; 
        padding-right: 5px; 
        margin: 0;
    }
    .map-preview-wrap .head-wrap .center > a span
    {
        font-size: 13px; 
        color: white;
    }
    .map-preview-wrap .head-wrap .right button#share-btn
    {
        width: 100%;
        padding-left: 5px; 
        padding-right: 5px; 
    }
    .map-preview-wrap .head-wrap .right button#share-btn span
    {
        font-size: 13px;
    }
    .areamap-con {
        padding-top: 290px;
        padding: 0 15px 100px 15px;
    }
    #exit-item p.title {
        font-size: 14px;
    }
    #exit-item p.body {
        font-size: 14px;
        font-weight: 200;
    }
    .header-text {
        font-size: 22px;
    }
}

#modal-sharesocial
{
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 6;
    width: 300px;
    height: 60px;

    display: none;
}
#modal-sharesocial .modal-share-wrap
{
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 25px 15px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.11);
}
#modal-sharesocial .modal-share-wrap #social-group
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
}
#modal-sharesocial .modal-share-wrap #social-group button
{
    width: 100%;
    height: auto;
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
}
#modal-sharesocial .modal-share-wrap #social-group button img
{
    width: 100%;
    height: auto;
}
#modal-sharesocial .modal-share-wrap .modal-share
{
    position: relative;
    width: 100%;
}
.sec-group
{
    margin-top: 10px;
    display: flex;
    justify-content: center;
}
.sec-group button
{
    display: flex;
    justify-content: center; 
    align-items: center;
    outline: none;
    border: none;
    background-color: white;
    cursor: pointer;
}
.sec-group button img 
{
    width: 18px;
    height: auto;
    margin-right: 3px;
}
.sec-group button img span
{
    font-size: 14px;
}
#share-arrow-up {
    position: absolute;
    bottom: 100%;
    right: 50px;
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}



@media (max-width: 767px) {
    .library-header .container .title_main {
        flex-direction: column;
    }
    }
.content_ticket .container .menu-sub .sub-menu-item .bottom-color {
   content: "";
   position: absolute;
   left: 0px;
   bottom: -10px;
   width: 100%;
   height: 3px;
   border-radius: 100px;
   background: #189008;
}