/* HTML5 website*/
/* Master Page*/

body {
    width: 100%;
    display: -moz-box; /* Firefox */
    -moz-box-pack: center; /* Firefox */
    display: -webkit-box; /* Safari, Opera và Chrome */
    -webkit-box-pack: center; /* Safari, Opera và Chrome */
    font-family: Arial,helvetica,sans-serif;
    font-size: 23px;
    color: #000;
}

* {
    margin: 0px;
    padding: 0px;
}

header, section, aside, nav, article {
    display: block;
}

/*** set the width and height to match your images **/
#slideshow {
    position: relative;
    width: 900px;
    height: 450px;
}

    #slideshow IMG {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 8;
        opacity: 0.0;
        width: 900px;
        height: 450px;
    }

        #slideshow IMG.active {
            z-index: 10;
            opacity: 1.0;
        }

        #slideshow IMG.last-active {
            z-index: 9;
        }

#top_header {
    display: -moz-box; /* Firefox */
    -moz-box-orient: horizontal;
    -moz-box-align: center;
    display: -webkit-box; /* Safari, Opera và Chrome */
    -webkit-box-orient: horizontal;
    -webkit-box-align: center;
    z-index: 9;
}

#contain {
    display: -moz-box; /* Firefox */
    -moz-box-orient: vertical;
    -moz-box-flex: 1;
    display: -webkit-box; /* Safari, Opera và Chrome */
    -webkit-box-orient: vertical;
    -webkit-box-flex: 1;
    max-width: 900px;
    margin: 3px 0px;
    /*box-shadow: 3px 3px 5px #333;
    border: 1px solid #333;
    background-color: #efffff;*/
}

.menu-nav {
    width: 899px;
    background-color: #663300;
    font-size: 27px;
    list-style: none;
    padding-left: 2px;
    margin: -3px 0px;
}

    .menu-nav li {
        font-size: 25px;
        padding: 2px;
        padding-left: 2px;
        display: inline-block;
        /*drop down*/
        position: relative;
    }
        /*drop down*/
        .menu-nav li:hover .sub-menu {
            display: block;
        }

    .menu-nav a {
        color: #ffff99;
        text-decoration: none;
    }

        .menu-nav a:hover {
            text-decoration: underline;
        }

.bottom-nav {
    background-color: #663300;
    list-style: none;
    padding-left: 3px;
    margin: -3px 0px;
    text-align: center;
}

    .bottom-nav a {
        color: #ffff99;
        text-decoration: none;
    }

        .bottom-nav a:hover {
            text-decoration: underline;
        }

/*==Dropdown Menu==*/
.sub-menu {
    display: none;
    position: absolute;
    background-color: #663300;
    font-size: 25px;
    padding-left: 1px;
}

    .sub-menu li {
        margin-left: 0 !important;
    }


#main {
    display: -moz-box; /* Firefox */
    -moz-box-orient: horizontal;
    display: -webkit-box; /* Safari, Opera và Chrome */
    -webkit-box-orient: horizontal;
    margin: 2px 0px;
}

#main_section {
    margin: 2px 0px;
    padding: 2px;
    /*border: 1px solid grey;*/
}


article {
    text-align: justify;
    font-size: 23px;
}

    article header {
        text-align: center;
        color: saddlebrown;
        font-size: 27px;
        background-color: #ffff99;
    }

        article header a {
            text-align: center;
            color: saddlebrown;
        }

        article header h1 {
            text-align: center;
        }

        article header h2 {
            text-align: center;
        }

        article header h3 {
            text-align: center;
        }

    article figure {
        margin: 2px 0px;
        text-align: center;
    }

        article figure img {
            width: 600px;
            text-align: center;
        }

    article footer {
        text-align: right;
    }

.bang-gia {
    text-align: justify;
    color: blue;
}

/*.bang-gia {
    animation: colorBackground 0.5s infinite;
    -webkit-animation: colorBackground 5s infinite;
    -moz-animation: colorBackground 5s infinite;
    -o-animation: colorBackground 0.5s infinite
}

@keyframes colorBackground {
    0% {
        color: brown;
    }

    50% {
        color: red;
    }
}
*/
table {
    width: 100%;
    border-collapse: collapse;
    border-color: silver;
}

.thongtin {
    background-color: brown;
    color: white;
    text-align: center;
    font-size: 27px;
    margin: 0px 0px;
    font-weight: bold;
}

    .thongtin a {
        color: #ffff99;
    }

        .thongtin a:hover {
            text-decoration: underline;
        }

.tintuc {
    color: white;
    text-align: center;
    font-size: 27px;
    margin: 0px 0px;
}

footer {
    text-align: center;
    color: rosybrown;
    background-color: #efffff;
}

a {
    color: black;
    text-decoration: none;
}

    a:hover {
        color: silver;
    }

.bluecolor {
    color: blue;
    text-decoration: none;
}

.khung {
    border: outset;
    font-size: 23px;
    border-radius: 15px;
    padding: 10px;
    margin: 5px;
    color: goldenrod;
    font-style: italic;
}

    .khung nav a:hover {
        color: silver;
        text-decoration: underline;
    }

.keyword {
    font-size: 18px;
    text-decoration: none;
    background-color: grey;
}

    .keyword a {
        font-size: 16px;
        border: outset;
        border-width: 1px;
        border-color: brown;
        color: white;
    }

        .keyword a:hover {
            background-color: saddlebrown;
            color: silver;
        }


/* Sub Page*/
.subpage {
    text-align: justify;
    width: 900px;
    padding-top: 2px;
    font-size: 23px;
}

    .subpage img {
        border: 2px solid silver;
        box-shadow: 3px 3px 3px #333;
    }

    .subpage header {
        text-align: center;
        color: saddlebrown;
        background-color: #ffff99;
    }

        .subpage header h2 {
            padding: 2px;
            font-size: 27px;
        }

        .subpage header h3 {
            padding: 2px;
            font-size: 25px;
        }

    .subpage article {
        margin: 5px 0px;
        padding: 3px;
        font-size: 23px;
    }

        .subpage article header {
        }

        .subpage article figure {
            margin: 2px 0px;
            text-align: center;
        }

            .subpage article figure img {
                width: 450px;
                text-align: center;
            }

            .subpage article figure figcaption {
            }

.muitennau {
    border: none;
    box-shadow: none;
    width: 18px;
}
/* Hot line phone ring*/
.hotline-phone-ring-wrap {
    position: fixed;
    bottom: 0;
    left: 10px;
    z-index: 999999;
}

.hotline-phone-ring-wrap-2 {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 999999;
}

.top-wrap {
    position: fixed;
    bottom: 30px;
    right: 40px;
    z-index: 999999;
}

.hotline-phone-ring {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 110px;
    height: 110px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

.hotline-phone-ring-circle {
    width: 110px;
    height: 110px;
    top: 1px;
    left: 7px;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid #e60808;
    -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0.5;
}

.hotline-phone-ring-circle-fill {
    width: 90px;
    height: 90px;
    top: 15px;
    left: 18px;
    position: absolute;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.hotline-phone-ring-img-circle {
    background-color: #f47414;
    width: 65px;
    height: 65px;
    top: 25px;
    left: 30px;
    position: absolute;
    background-size: 20px;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hotline-phone-ring-img-circle .pps-btn-img {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }

        .hotline-phone-ring-img-circle .pps-btn-img img {
            width: 20px;
            height: 20px;
        }

.hotline-bar {
    position: absolute;
    background: rgb(10, 0, 255);
    height: 36px;
    width: 300px;
    line-height: 20px;
    border-radius: 3px;
    padding: 12px 20px;
    background-size: 100%;
    cursor: pointer;
    transition: all 0.8s;
    -webkit-transition: all 0.8s;
    z-index: 9;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
    border-radius: 50px !important;
    /* width: 175px !important; */
    left: 33px;
    bottom: 20px;
}

    .hotline-bar > a {
        color: #fff;
        text-decoration: none;
        font-size: 40px;
        font-weight: bold;
        text-indent: 50px;
        display: block;
        letter-spacing: 1px;
        line-height: 40px;
        font-family: Arial;
    }

        .hotline-bar > a:hover,
        .hotline-bar > a:active {
            color: #fff;
        }

@-webkit-keyframes phonering-alo-circle-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.5) skew(1deg);
        -webkit-opacity: 0.1;
    }

    30% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        -webkit-opacity: 0.5;
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        -webkit-opacity: 0.1;
    }
}

@-webkit-keyframes phonering-alo-circle-fill-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        opacity: 0.6;
    }

    100% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
}

@-webkit-keyframes phonering-alo-circle-img-anim {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

@media (max-width: 768px) {
    .hotline-bar {
        display: none;
    }
}
