
body{font-family: Arial, Tahoma;
font-size: 14px;}
.body_l {
background:darkturquoise;
}
.body_p{
background:#F5F5F5
}
#main{
width: 100%;
padding: 0;
margin-left: auto;
margin-right: auto;
}
#head{
height: 130px;
border: 1px solid #CDCDCD;
margin-bottom:5px;
}
#header {
    width:100%;
    height:130px;
    background-image: url('../images/icon/it5.jpg');
    background-size: cover;  
    
}
.cot1{
    float: left;
    width:20%
}
.cot2{
    float:right;
    width:80%;
    text-align: center;
    margin: auto;
    padding-top: 20px;
}
#timkiem {
    position: fixed;    
    margin-top: 30px;
    z-index: 99;

}
#timkiem a img {
    position: fixed;
    width:40px;
    height:40px;
    z-index: 99;
    top:5%;
    right: 10%;

}
.light1{
    margin-right: 100px;
    color:blue;
    font-weight: bold;
    height:25px;
    font-size:25px;
    text-align: center;
    transform: rotate(-7deg)
}
.light2{
    margin-right: 100px;
    color:red;
    font-weight: bold;
    border: none;
    height:25px;
    font-size:25px;
    text-align: center;
    transform: rotate(7deg)
}
#head-link{
height: 50px;
line-height: 30px;
border: 1px solid #CDCDCD;
background-color: #F5F5F5;
margin-bottom:10px;
clear: both;
}
.main-menu ul li{
display: inline-block;
}
.main-menu ul li:hover{cursor:pointer;}
.main-menu {
background: red;
padding-top: 5px;
padding-bottom: 5px;
}
.main-menu ul li a {
color: white;
text-decoration: none;
padding: 10px;
}
.sub-menu {
display: none;
padding: 20px;
}

.main-menu li:hover .sub-menu{
display: block;
}
.main-menu li .sub-menu{
position: fixed;
float: right;
}
.main-menu .sub-menu li {
display: block;
background: #897;
width: 250px;
padding: 20px 0;
}
@media screen and (max-width: 480px){
.ha{width:370px; height:225px}
    #context{
        
        display: grid;
        grid-template-columns: repeat(1, auto);
        grid-gap: 10px;
        justify-content: center;
        background: #80bdff
    }
    .frame {
        width:100%;
        text-align: center;
        background-color:white;
        border: 2px solid  orangered;
        border-radius: 5px;
    }
    .frame p{
        padding-left: 10px;
        padding-right: 10px;
        text-align: left;
    }
    #img_main {
        width: 95%;
        height:200px;
        cursor:pointer;
        border-radius: 10px;
        padding-top:5px
    }
}
@media screen and (min-device-width: 481px) and (max-device-width: 768px) {
.ha{width:800px; height:487px}
    #context{
        display: grid;
        grid-template-columns: repeat(4, auto);
        grid-gap: 20px;
        justify-content: center;

    }
    .frame {
        width:100%;
        text-align: center;
        background-color:white;
        border: 2px solid  orangered;
        border-radius: 5px;
    }
    .frame p{
        padding-left: 10px;
        padding-right: 10px;
        text-align: left;
    }
    #img_main {
        width: 95%;
        height:200px;
        cursor:pointer;
        border-radius: 10px;
        padding-top:5px
    }
}
@media screen and (min-device-width: 769px) and (max-device-width: 1024px) {
.ha{width:800px; height:487px}
    #context{
        display: grid;
        grid-template-columns: repeat(4, auto);
        grid-gap: 20px;
        justify-content: center;

    }
    .frame {
        width:310px;
        height:400px;
        text-align: center;
        background-color:white;
        border: 2px solid  orangered;
        border-radius: 5px;
    }
    .frame p{
        padding-left: 10px;
        padding-right: 10px;      
        text-align: left;
    }
    #img_main {
        width: 300px;
        height:200px;
        cursor:pointer;
        border-radius: 10px;
        padding-top:5px
    }
}
@media screen and (min-device-width:1025px) {
.ha{width:800px; height:487px}
    #context{
        display: grid;
        grid-template-columns: repeat(4, auto);
        grid-gap: 10px;
        justify-content: center;
        padding:10px
    }
    .frame {
        width:310px;
        height:400px;
        text-align: center;
        background-color:white;
        border: 2px solid  orangered;
        border-radius: 5px;
    }
    .frame p{
        padding-left: 10px;
        padding-right: 10px;
        text-align: left;
    }
    #img_main {
        width: 300px;
        height:200px;
        cursor:pointer;
        border-radius: 10px;
        padding-top:5px
    }
}

#modal-body{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: white
    

}
.frame:hover{cursor: pointer;}
li{margin-top:10px}
.socials-share {
    text-align: center;
    margin-bottom: 30px;
}

.socials-share a {
    padding: 4px 30px;
    color: #fff;
    line-height: 2em;
    text-decoration: none;
    border-radius: 2px;
    white-space: nowrap;
    display: inline-block;
    margin: 4px;
    background-color: blue;
}
#phantrang div{    
float:right
}
#commp{
    margin-top: 40px;
    margin: auto;
}
#commp button{
    height:27px;
    border-radius: 5px;
    background: blue;
    color:white
}
.tim{
    width:25px;
    height:25px;
    margin-right: 5px;
    padding-right: 5px;
    border:none;
    background-image: url('/img/t1.png');background-size: cover;
}
.tim_add{
    width:25px;
    height:25px;
    margin-right: 5px;
    padding-right: 5px;
    border:none;
    color:white;
    font-size: 8px;
    background-image: url('/img/t2.png');background-size: cover;
}
#huytim{
    width:25px;
    height:25px;
    background: blue;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: 10px;
}
.modal,#modal-tim{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  
}
#modal-tim_content{
    background-color: #e3e34b;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
    border-radius: 50px;
    border-top: 5px solid red;
    border-right: 5px solid red;
    text-align: center;
    color:blue
  }
table{
    width:100%;
    text-align: center;
    color: blue;
}
.comment{
    width:90%;
    height:50%;
    margin: 5%;
    padding:5px; 
    background:burlywood;
    color: blue;
    border-radius: 5px;
}
#content_c
{width:100%}
#avartar_comment{
    border-radius: 50%;
}
#list_comment{
    background: darkgray;
    border:solid 2px blueviolet;
    margin: auto;
}
#list_comment img {
    width:30px;
    height:30px;
    margin: 10px;
    border-radius: 50%;
}
#list_comment .ten{
   margin: 10px;
   color: blue;
   font-size: 16px;
   
}
#list_comment .noidung{
    margin: 10px;
    font-size: 14px;
}
#footer{
    position: fixed;
    bottom:0px;
    background: darkgoldenrod;
}
.avatar_huy_tim{
    width:35px;
    height:35px;
    border-radius: 50%;
}
tr:hover{cursor: pointer;}
#boxSearch{
    display: none;
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
}