﻿/*for front end*/
/*Phan dung chung*/
* {
    padding: 0px;
    margin: 0px;
    font-family: Arial, 'Times New Roman';
    font-size: 14px;
}
/*-----------------------------------*/


.video {
    /*padding-top: 10px;*/
    text-align: center;
    width: 100%;
}

.phantrang {
    width: 100%;
    text-align: center;
    margin: auto;
    color: seagreen;
}

    .phantrang tr td {
        line-height: 30px;
        height: 30px;
    }

#right img {
    margin: auto;
}

.details {
    font-size: small;
    font-style: italic;
    color: saddlebrown;
    text-decoration: none;
    display: inline;
}
.tablepadding{
		padding:5px;
		border:1px solid;
		border-collapse:collapse;
}

@media all and (min-width: 800px) {
    .timkiem {
        text-align: center;
    }

        .timkiem input {
            width: 80%;
        }
        .timkiem button {
            width:30px;
        }
        .timkiem input, .timkiem i {
            height: 25px;
            line-height: 25px;
        }

    .imgquangcao {
    }
    /*10/9/2016*/
    .divkhung {
        border: 1px solid green;
        border-radius: 5px;
        box-sizing: border-box;
        margin: 5px;
        /*background: linear-gradient(45deg, white 25%, #8b0 25%, #8b0 50%, white 50%, white 75%, #8b0 75%, #8b0);*/
        /*background-color: rgb(125, 494, 333);/*antiquewhite;*/
        color: black !important;
    }
    /*5/9/2016*/
    body {
        box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.75);
        margin: auto !important;
        width: 1200px !important;
        /*border: 1px solid green;
        box-sizing: border-box;
        margin: 2px 2px;*/
        /*border-radius: 5px;*/
    }
    /*****************/
    body {
        /*-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/
        background: #fff url(../Images/Layout/lines-vertical.png);
    }


    #container {
    }

    * img,
    * video {
        width: auto;
        max-width: 100%;
        margin: auto;
    }

    #content img {
        border-radius: 3px;
        border: 1px solid gray;
        /*box-shadow: 5px 5px 3px gray;
        box-sizing: border-box;*/
    }

    ul.menu-toggle {
        /*display: none;*/
        /*position: relaitve;*/
    }

    div.prmenu_container ul li.menu-toggle a {
        text-align: right;
        overflow: hidden;
        display: block;
        width: 100%;
        font-size: 18px;
        text-decoration: none;
        vertical-align: top;
        content: url('../images/menu-icon.png');
    }

        div.prmenu_container ul li.menu-toggle a:after {
            content: url('../images/menu-icon.png');
            margin-left: 10px;
            vertical-align: top;
            margin-right: 1%;
        }
    /*1/9/2016*/

    .thuvienhinh {
        margin: 10px;
        width: 97%;
        border-collapse: collapse;
        border-radius: 5px 5px 0px 0px;
    }

        .thuvienhinh a {
            font-size: 20px;
			padding-left:10px;
        }

        .thuvienhinh tr th {
            border: 1px solid rgb(51, 153, 51);
            height: 30px;
            color: white;
        }

        .thuvienhinh tr td {
            border: 1px solid rgb(51, 153, 51);
            height: 30px;
        }

        .thuvienhinh tr th {
            background-color: rgb(51, 153, 51);
        }
    /*for slide thu vien hinh anh:*/
    .slide {
        padding-top: 10px;
        width: 80%;
        text-align: center;
        margin: auto;
    }

        .slide img {
            width: 100%;
            border-radius: 4px;
            box-shadow: 3px 3px 3px #888888;
        }

    .mybutton {
        background-color: #228654;
        height: 25px;
        color: white;
    }

    .slide table .cotnho input {
        width: 35px !important;
    }

    .slide table #cot3 {
        padding-left: 2px;
    }
    /*for gioi thieu:*/

    #right .vanban {
        text-align: justify;
        padding: 10px 20px 10px 10px;
        font-size: 20px;
    }

        #right .vanban h1,
        #right .khungtin h1 {
            font-size: 26px;
            color: slateblue;
            padding: 10px 0px;
        }

    #container #content #right p {
        font-size: 20px;
    }

    #container #content #right {
        /*background-color:rgb(51, 153, 51);*/
        box-sizing: border-box;
        width: 75%;
        float: left;
        color: maroon;
    }



    #topcontainer {
        position: fixed;
        width: 100%;
    }

        #topcontainer #menu {
            height: 30px;
            width: 100%;
            background-color: #339933;
            margin: auto;
        }

            #topcontainer #menu a {
                font-size: 12px;
            }

            #topcontainer #menu ul.submenu {
                display: none;
            }

                #topcontainer #menu ul.submenu li {
                    background-color: goldenrod;
                    text-align: left;
                }

                    #topcontainer #menu ul.submenu li a {
                        padding-left: 10px;
                    }

            #topcontainer #menu ul li {
                list-style: none;
                float: left;
                width: 168px;
                text-align: center;
                line-height: 30px;
            }

                #topcontainer #menu ul li:hover ul {
                    display: block;
                }

                #topcontainer #menu ul li a {
                    display: block;
                    color: white;
                    text-decoration: none;
                    text-transform: uppercase;
                    font-weight: bold;
                }

                    #topcontainer #menu ul li a:hover {
                        color: gold;
                        background-color: white;
                    }


    #container {
        clear: both;
        /*width: 1024px;*/
        width: 100%;
        margin: auto;
    }

        #container #banner {
            height: 300px;
            border-bottom: 2px solid white;
        }

    #content #left .quangcao a {
        text-decoration: none;
    }

    #content #left {
        width: 25%;
        border-radius: 5px;
        float: left;
        /*background-color: rgb(51, 153, 51);*/
        /*border-right: 1px solid #339933;
        border-bottom: 1px solid #339933;*/
        box-sizing: border-box;
    }


    #content #right .tieudetin {
        font-size: 20px;
    }

    #container #content #right .khungtin {
        border-bottom: 1px dotted goldenrod;
        text-align: justify;
        padding: 0 10px 10px 10px;
    }

        #container #content #right .khungtin img,
        #container #content #right #divNoiDung img {
            width: auto;
            max-width: 100%;
        }

        #container #content #right .khungtin a {
            text-decoration: none;
        }

    #container #footer {
        clear: both;
        background-color: #339933;
        /*color:goldenrod;*/
        color: palegoldenrod;
        height: 90px;
    }

    #container ul li {
        list-style: none;
        line-height: 30px;
    }

    #container #left ul li, #container #footer ul li {
        padding-left: 10px;
    }

    #container #left marque {
        width: 100%;
    }

    #container #footer #leftfooter, #container #footer #rightfooter {
        float: left;
        width: 50%;
    }



    #container .tieude {
        border-radius: 4px 4px 0 0;
        color: saddlebrown;
        height: 30px;
        line-height: 30px;
        text-transform: uppercase;
        padding-left: 10px;
    }

        #container .tieude a {
            color: blue;
            display: block;
            text-decoration: underline !important;
            text-decoration: none;
            height: 30px;
            line-height: 30px;
        }

    .tieudegrad {
        color: salmon;
        background: red; /* For browsers that do not support gradients */
        background: -webkit-linear-gradient(rgb(125, 194, 243),white,rgb(51, 153, 51)); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(rgb(125, 194, 243),white,rgb(51, 153, 51)); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(rgb(125, 194, 243),white,rgb(51, 153, 51)); /* For Firefox 3.6 to 15 */
        background: linear-gradient(rgb(125, 194, 243),white,rgb(51, 153, 51)); /* Standard syntax */
    }

    .divvanban {
        text-align: justify;
        padding: 10px 20px 20px 10px;
    }

        .divvanban p {
            padding-bottom: 10px;
            padding-top: 10px;
        }
}

/*for smartphone*/
@media all and (max-width: 800px) {
	/*khong hien thi xuan2019*/
	#xuan2019{
		display:none;
	}
    /*6/9/2016*/
    * img,
    * video {
        width: auto;
        max-width: 100%;
        margin: auto;
        height: auto;
        max-height: 100%;
    }
    /*1/9/2016*/
    #container #content #right .khungtin a {
        text-decoration: none;
    }

    #container #content #right .khungtin img,
    #container #content #right #divNoiDung img {
        width: auto;
        max-width: 100%;
    }

    .thuvienhinh {
        margin: 2px auto;
        width: 99%;
        border-collapse: collapse;
    }

        .thuvienhinh a {
            font-size: 14px;
        }

        .thuvienhinh tr td,
        .thuvienhinh tr th {
            border: 1px solid sandybrown;
            height: 25px;
        }

        .thuvienhinh tr th {
            background-color: sandybrown;
        }
    /*slide chi tiet thu vien:*/
    .slide {
        padding-top: 10px;
        width: 100%;
        text-align: center;
        margin: auto;
    }

        .slide table {
            width: 100%;
        }

            .slide table .cotnho input {
                width: 25px;
            }

            .slide table #cot3 {
                padding-left: 2px;
            }

        .slide img {
            width: 100%;
            border-radius: 4px;
            box-shadow: 3px 3px 3px #888888;
        }

    .mybutton {
        background-color: #228654;
        color: white;
        height: 25px;
    }
    /*for gioi thieu*/
    #right .vanban {
        text-align: justify;
    }

    /*****************/
    #content #left .dontshowsmartphone{
        display: none;
    }

    #container #banner {
        height: 100px;
        border-bottom: 2px solid white;
        border-top: 1px solid white;
        clear: both;
    }

        #container #banner img {
            height: 100px !important;
            padding-top: 21px;
        }


    #content {
        clear: both;
        /*padding-top: 40px;*/
        margin: 21px 2px 3px 2px;
        border: 1px solid rgb(51, 153, 51);
        box-sizing: border-box;
        border-radius: 3px;
    }

        #content .tieude {
            background-color: rgb(51, 153, 51);
            color: white;
            text-align: center;
        }

            #content .tieude a {
                color: white;
                text-decoration: none;
                display: block;
            }


    #menu ul li {
        border-top: 1px solid white;
        border-left: 1px solid white;
        border-right: 1px solid white;
    }

    #menu > ul > li {
        list-style: none;
        background-color: #228654;
    }

    #menu ul li a {
        text-decoration: none;
        display: block;
        line-height: 18px;
        color: white;
    }

        #menu ul li a:hover {
            background-color: cyan;
            color: blue;
        }

    #menu ul li ul {
        display: none;
        background-color: #32ed90;
    }

        #menu ul li ul li a {
            color: brown;
            font-style: italic;
            padding-left: 20px;
        }

    #content #middle img {
        width: 90%;
        border: 1px solid gray;
        border-radius: 3px;
    }

    #content #middle p.mota {
        text-align: justify;
        padding: 10px;
    }

    /*#content #middle table tr {
        border-bottom: 1px dotted blue;
    }*/
    #content #middle .tensanpham {
        text-decoration: none;
        display: block;
        background-color: #d00c0c;
        margin-bottom: 3px;
        height: 30px;
        line-height: 30px;
        color: white;
    }

    #content a, p, h1, h2, h3, h4, h5, h6 {
        padding: 5px;
    }

    #content #middle h3 {
        clear: both;
        font-weight: normal;
        background-color: #106038;
        /*background-color: #d00c0c;*/
        color: white;
        margin-bottom: 3px;
        height: 40px;
        line-height: 40px;
    }

        #content #middle h3 a {
            text-decoration: none;
        }

        #content #middle h3:hover {
            background-color: cyan;
            color: blue;
        }

    #content #right ul {
        border-bottom: 1px solid saddlebrown;
    }

    #content #right li {
        list-style: none;
    }

        #content #right li p {
            text-align: justify;
            padding: 5px;
        }

        #content #right li a {
            text-align: left;
        }


    #content #middle #div_id {
        height: 300px;
        width: 99%;
    }

    #footer {
        background-color: #11c76c;
        color: white;
        margin: 2px;
    }

        #footer ul li {
            list-style: none;
            font-size: small;
            line-height: 20px;
            padding-left: 5px;
        }

            #footer ul li span {
                font-size: small;
            }

            #footer ul li a {
                font-size: small;
                text-decoration: none;
                color: saddlebrown !important;
            }

    #divTB {
        color: #8B4513;
        font-weight: bold;
    }

    .timkiem {
        margin-bottom: 5px;
        
        text-align: center;
    }

        .timkiem input {
            border-radius: 3px;
            width:80%;
        }

            .timkiem input[type='submit'] {
                background-color: #d00c0c;
                color: white;
            }

            .timkiem input[type='text'] {
                color: blue;
            }

    .khungtin {
        text-align: justify;
    }

        .khungtin sub {
            padding-left: 5px;
        }

    #right .vanban h1,
    #right .khungtin h1 {
        color: slateblue;
        padding: 10px 0px;
    }
}
