﻿@font-face {
    font-family: ThuPhap;
    src: url("../Fonts/ThuphapCongthuy.ttf") format("truetype"), url("../Fonts/ThuphapCongthuy.eot#iefix") format("embedded-opentype"), url("../Fonts/ThuphapCongthuy.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
a{
    text-decoration: none;
}
body {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12pt;
    background: url(../Images/bgnen1.jpg) top left;
}
#banner{
    background: url(../Images/banner1.jpg) no-repeat top right;
    background-size: cover;
    width: 100%;
    height: 20%;
}
#header{
    background: url(../Images/header.jpg) top left;
    height: 49px;
    width: 100%;
    color: white;
    padding-bottom: 12px;
}
#header a{
    color: white;
}
#header a:hover{
    color: yellow;
}
.link-header{
    line-height: 40px;
}
#main {
    background-color: white;
    margin-left: 15%;
    margin-right: 15%;
    margin-top: 38px;
    margin-bottom: 38px;
    border-radius: 15px 15px;
    padding: 10px 40px 10px 40px;
}
#footer{
    background: url(../Images/bottom.jpg) bottom center no-repeat;
    width: 100%;
    background-size: cover;
    height: 367px;
}

.chaychu {
    position: absolute;
    -webkit-animation-name: hien;
    -webkit-animation-duration: 4s;
    animation-name: hien;
    animation-duration: 4s;
    animation-delay: 0s;
}
.chaychu1 {
    position: absolute;
    -webkit-animation-name: hien;
    -webkit-animation-duration: 4s;
    animation-name: hien;
    animation-duration: 4s;
    animation-delay: 4s;
}
.chaychu2 {
    position: absolute;
    -webkit-animation-name: hien;
    -webkit-animation-duration: 4s;
    animation-name: hien;
    animation-duration: 4s;
    animation-delay: 8s;
}
.chaychu3 {
    position: absolute;
    -webkit-animation-name: hien;
    -webkit-animation-duration: 4s;
    animation-name: hien;
    animation-duration: 4s;
    animation-delay: 12s;
}
.chaychu4 {
    position: absolute;
    top: 15%;
    color: transparent;
    -webkit-animation-name: hien4;
    -webkit-animation-duration: 4s;
    animation-name: hien4;
    animation-duration: 4s;
    animation-delay: 16s; /* Số giấy bắt đầu hiện lên */
    animation-iteration-count: infinite; /* Lập lại nhiều lần */
    animation-direction: alternate; /* Thực hiện ngược lại từ dưới lên */
}
@-webkit-keyframes hien {
    from{opacity:0; top: 20%;}
    to{opacity: 1; top: 15%;}
    50%{opacity: 1; }
    75%{opacity: 0.5;}
    100%{opacity: 0;}
}
@-webkit-keyframes hien4 {
    from{color: transparent;}
    to{color: black;}
}

#div-thongbao {
    position: fixed;
    z-index: 1;
    right: 0;
    bottom: 0;
    width: 200px;
    height: 200px;
    background-color: chocolate;
    color: white;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
}

.menu-ul {
    list-style-type: none;
    margin-left: -80px;
}

.menu-li{
    float: left;
    margin-left: 40px;
}

#menu-phone{
    display: none;
}
#menu-button-phone{
    display: none;
}

#div-sodienthoai{
    width: 250px;
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px;
}

.slide-body img {
    box-sizing: border-box;
    width: 400px;
    height: 300px;
    object-fit: cover;
    margin: 20px;
    opacity: 0.8;
    transition: all 300ms ease;
    border: 5px #fff solid;
    border-radius: 10px;
}

#slide {
    width: 70%;
    margin: 100px auto;
}

    #slide .slick-center img {
        color: #e67e22;
        opacity: 1;
        transform: scale(1.08);
    }

/* Dành cho ipad */
@media all and (max-width: 1024px) {
    @-webkit-keyframes hien {
        from {opacity: 0;top: 10%;}
        to {opacity: 1;top: 5%;}
        50% {opacity: 1;}
        75% {opacity: 0.5;}
        100% {opacity: 0;}
    }

    .chaychu4 {
        top: 6%;
    }

    #div-thongbao{
        margin-bottom: 0px;
        margin-right: 0px;
        width: 100%;
        height: 10%;
    }

    #header a{
        font-size: 1.5vw;
    }
    #header {
        font-size: 1.5vw;
    }

    #footer{
        margin-bottom: 15%;
    }
 }
/* Dành cho iphone 6plus */
@media all and (max-width: 736px) {

    @-webkit-keyframes hien {
        from {
            opacity: 0;
            top: 10%;
        }

        to {
            opacity: 1;
            top: 5%;
        }

        50% {
            opacity: 1;
        }

        75% {
            opacity: 0.5;
        }

        100% {
            opacity: 0;
        }
    }

    .chaychu4 {
        top: 5%;
    }

    #table-header {
        display: none;
    }

    #footer {
        margin-bottom: 32%;
    }

    #div-thongbao {
        padding-left: 10px;
        padding-right: 10px;
        height: 15%;
    }

    #main {
        margin-left: 0;
        margin-right: 0;
    }

    #menu-button-phone{
        display: block;
    }
    #menu-phone{
        display: block;
        position: fixed;
        z-index: 2;
        top: 0;
        background-color: burlywood;
        width: 100%;
        height: 100%;
    }
    #menu-phone a{
        font-size: 16pt;
        color: brown;
    }
    .menu-ul-phone{
        list-style-type: none;
    }
    .menu-ul-phone li{
        line-height: 40px;
    }
}

