
/* 
1. Từ ngoài vào trong
2. Từ trên xuống dưới
3. Tổng quan đến chi tiết
 */

/*
1. Vị trí
2. Kích thước (width, height)
3. Màu sắc
4. Kiểu dáng (kiểu chữ, hình tròn, hình vuông,...)
*/

/* Common CSS */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}

html{
    font-family: Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}



.text-white {
    color: #fff  !important; 
}

.text-center {
    text-align: center !important;
}


.pull-right {
    float: right !important;
}

.btn {
    text-decoration: none;  
    background-color: #000;
    color: #fff;
    padding: 8px 16px;
    display: inline-block;
    margin-top: 15px;
    border: none;
    font-size: 15px;
    appearance:  none;
    -webkit-appearance: none;
}

.btn:hover {
    color: #000;
    background-color: #ccc;
    cursor: pointer;
}


.mt-8 {
    margin-top: 8px !important;
}


.mt-16 {
    margin-top: 16px !important ;
}


.mt-32 {
    margin-top: 32px !important ;
}

.row{
    margin-left: -8px;
    margin-right: -8px;
}

.row::after {
    content: "";
    display: block;
    clear: both;
}


.col {
    float: left;
    padding-left: 8px;
    padding-right: 8px;
}


.col-full {
    width: 100%;
}

.col-half {
    width: 50%;
}

.col-third {
    width: 33.33333%;
}



/* main CSS */

#main {

}

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 46px;
    background-color: #000;
    z-index: 1;
    /* phần bài 9.87 */
    

}


#nav > li {
    display: inline-block;
}

/* để hiển thị nút search: để tag ul chỉ bằng chiều rộng vùng nav-không chiếm toàn bộ chiều rông */
#nav {
    display: inline-block;
}

#nav, .subnav {
    list-style-type: none;
}

#nav li {
    position: relative;
}

#nav > li > a {
    color: #fff;
    text-transform: uppercase;
}

#nav li a {
    
    text-decoration: none;
    padding: 0 24px;
    line-height: 46px;
    display: block;
    
}

#nav > li:hover > a,
#nav .subnav li:hover {
    color: #000;
    background-color: #ccc;
   
   
}



#nav li:hover .subnav {
    display: block;
}


#nav .subnav {
    display: none;
    min-width: 160px;
    background-color: #fff;
    position: absolute;
    top: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    left: 0;
}

#nav .nav-arrow-down {
    font-size: 14px;
}

#header .mobile-menu-btn {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

#header .mobile-menu-btn,
#header .search-btn {
    float: right;
    padding: 0 24px;
}


#header .search-btn:hover {
    background-color: #f44336;
    cursor: pointer;
}

#header .search-btn {
    background-color: #000;
    cursor: pointer;
}

#header .mobile-menu-btn:hover {
    background-color: #ccc;
}

#header .mobile-menu-btn:hover .menu-icon {
    color: #000;
}

#header .menu-icon,
#header .search-icon {
    color:#fff;
    font-size: 20px;
    line-height: 46px;
    
}

#nav .subnav a {
    color: #000;
    padding: 0 12px;
    line-height: 38px;
  
}

#slider {
    position: relative;
    margin-top:46px;
    padding-top: 50%;
    background: url('../img/sliders/slider1.jpg') top center / cover no-repeat; 
}

#slider .text-content{
    position: absolute;
    bottom: 47px;
    color:#fff;
    
    /* left: 50%;
    transform: translateX(-50%); */
    text-align: center;
    left: 0;
    right: 0;
}

#slider .text-heading{
    font-weight: 500;
}

#slider .text-description{
    font-weight: 500;
    margin-top: 25px;
    text-shadow: 0 0 1px #000;
}


#content {
    
}

#content .content-section {
    width: 800px;
    max-width: 100%;
    padding:  64px 16px 112px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

#content .section-heading {
    
    font-size: 30px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 4px;

}

#content .section-sub-heading {
    font-size: 15px;
    text-align: center;
    font-style: italic;
    opacity: 0.6;
    margin-top: 25px;
    margin-bottom: 15px;
}

#content .about-text {
    font-size: 15px;
    text-align: justify;
    margin-top: 15px;
    line-height: 1.4;

}

#content .member-list {
margin-top: 32px;

}


#content .member-name {
    font-size: 15px;

}

#content .member-image {
margin: 16px 0 0;
width: 164px;
border-radius: 4px;
}

/* Phần tour */

#content .tour-section {
    background-color: #000;

}

/* phần ticket */

#content .ticket-lists {

}

.ticket-lists  {
    background-color: #fff;
    
}

.tour-section .ticket-lists  li {
    color: #757575;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    padding: 11px 16px;
    list-style: none;
}

.ticket-lists .sold-out {
    color: #fff;
    background-color: #f44336;
    padding: 3px 4px;
    margin-left:    16px;
 


}

.ticket-lists .quantity {
    float: right;
    width: 24px;
    height: 24px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin:-3px;
    margin-top: -3px;

 }

/* phần place */

.places-list {
    margin-top: 16px;
}

.place-img {
width: 100%;
display: block;
}

.place-img:hover {
    opacity: 0.6;
    }

.place-body {
    background-color: #fff;
    font-size: 15PX;
    display: inline-block;
    padding: 16px;
}

.place-heading {
    font-size: 15px ;
    font-weight: 600;
}

.place-time {
    color: #757575;
    margin-top: 15px;
}

.place-desc {
    line-height: 1.4;
    margin-top: 15px;
}


/* phần contact */

.contact-content {
    margin-top: 48px;
}

.contact-info {
    font-size: 18px;
    line-height: 1.5;
}

.contact-info i[class*="ti-"] {
    width: 30px;
    display: inline-block;
}

.contact-info a {
    color: #2828f1;
    opacity: 0.8;
}

.contact-info:hover a {
    color: #2828f1;
    opacity: 1;
}

.contact-form {
    font-size: 15px;
}

.contact-form .form-control {
    padding: 10px;
    border: 1px solid #ccc;
    width: 100%;
}




 /* phần footer */

#footer {

}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
    display: none;
    
}

.modal.open {
    display: flex;
}

.modal-container {
    min-height: 200px;
    background: #fff;
    width: 900px;
    max-width: calc(100% - 32px);
    position: relative;
    animation: modalFadeIn ease .5s;
}

    .modal-header {
    background: #009688;
    height: 130px;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    display: flex;

}

.modal-heading-icon {
    margin-right: 16px;
}

.modal-close {
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
    padding: 12px;
    opacity: 0.8;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 16px;
}

.modal-label {
    display: block;
    font-size: 15px;
    margin-bottom: 12px;
}


.modal-input {
    border: 1px solid #ccc;
    width: 100%;
    font-size: 15px;
    padding: 10px;
    margin-bottom: 20px;
}

#buy-tickets {
    background: #009688;
    border: none;
    width: 100%;
    font-size: 15px;
    color: #fff;
    text-transform: uppercase;
    padding: 18px;
    cursor: pointer;
}

#buy-tickets:hover {
    opacity: 0.9;
}

.modal-footer {
    padding: 16px;
    text-align: right;
    font-size: 15px;
}

.modal-footer a {
    color: #2196F3;

}

@keyframes modalFadeIn {
    from{
        opacity: 0;
        transform: translateY(-140px);
    }
to{
    opacity: 1;
    transform: translateY(0);
}}

/* Phần map */
.map-section img {
   width: 100%; 
}

/* phần footer */

#footer {
    padding: 64px  16px;
    text-align: center  ;
}

#footer .social-list {
    font-size: 24px;
}

#footer .social-list a {
    color: rgb(0, 0, 0, 0.6);
    text-decoration: none;

}

#footer .copy-right a:hover,
#footer .social-list a:hover {
    color: rgb(0, 0, 0, 0.4);

}

#footer .copy-right {
    margin-top: 15px;
    font-size: 16px;
}

#footer .copy-right a {
    color: rgb(0, 0, 0, 0.6);
    
}
