
#main-page {
    position: relative;
    display: table;
}

.category-menu {
    font-size: 16px;
    width: 280px;
    text-align: right;
    list-style-type: none;
    padding-left: 0; 
    /*border-right: 1px solid #eee;*/
    /* margin-right: 19px; */
    /*display: table-cell;*/
    background-color: #f7f7f7;
    vertical-align: top;
}

#category-menu-title {
    text-align: center;
    font-size: 18px;
    padding: 5px 0 0 0;
    background: #ffffff;
    /*line-height: 36px;*/
    border-top: none;
    position: relative;
}

.category-menu li {
    border-bottom: 1px solid #dadada;
    background-color: #f7f7f7;
	clear: both;
	padding: 2px 0px;
}

.category-menu li:first-child {
    border-top: 1px solid #ddd;
}

.category-menu li:hover {
    border-bottom: 1px solid #aaa;
	background: linear-gradient(to right, #f7f7f7, #dbdbdb );
    border-bottom: 1px solid #dadada;
    position: relative;
}


.category-menu li.hover .submenu{
    display: block;
	z-index:10;
}

/*
.category-menu li:hover .submenu a{
    opacity:1;
}
*/

.category-menu a {
    color: #444;
    text-decoration: none;
	display:block;
	line-height:24px;
	padding: 3px 10px 3px 10px;
    position: relative;
	text-align: left;
}

.category-menu a:hover {
    color: #444;
    text-decoration: none;
}

.cnt_right{
	float: right;
	color: #777;
    font-size: 15px;
	padding: 7px 5px 5px 5px;
}

/*.category-menu .toppos a {
    line-height: 28px;
    font-weight: bold;
    font-size: 18px;
}
*/

.category-icon{
    height: 25px;
	width: 35px;
    padding-right: 10px;
    float: left;
}


.submenu {
    display: none;
    padding-left: 0;
    padding: 10px 20px 0px 0px;
    background-color: #fdfdfd;
    border-right: 1px solid gray;
    overflow-y: auto;
    background: linear-gradient(to right, #fff, #f5f5f5 );
    box-shadow: -4px 0px 21px gray;
    position: fixed;
    top: 0px;
    bottom:0px;
    left: 280px;
    max-width: 500px;
    min-width: 200px;
}

.submenu ul {
    padding: 0
}

.submenu li{
    text-align: left;
    padding-left: 20px;
    list-style-type: none;
}

.submenu li:hover {
    /* background: linear-gradient(to left, #f5f5f5, #88c7ff ); */
	background: linear-gradient(to right, #dbdbdb ,#f7f7f7 );
    border-color: #ddd;
    box-shadow: 0 0 0;
}

.submenu-title {
    font-size: 19px;
    padding: 10px 0 0 20px;
    padding-bottom: 10px;
    font-weight: bold;
    
}

img.submenu-icon {
    margin: 10px 5px 10px 5px;;
    height: 40px;
    float: left;
	margin-top: -5px;
}


#search-text-category {
    height: 26px;
    padding-left: 5px;
}

#category-btn {
    padding: 9px 3px;
    position: absolute;
    top: 5px;
    right: 0px;
    display: none;
}


#publish-btn{
    padding: 10px;
    border-top: none;
    background: none;
    width: 270px;
    position: relative;
}

#index_subcat_title{
margin-bottom: 10px;
width: 280px;
background-color: #fff;
border-bottom: 1px solid #a3a3a3;
display:block;
border-top:0px;
padding: 20px 15px 0px 5px;
}

#index_subcat_title:hover{
background: #fff;
}

#publish-btn:hover{
    background: inherit;
    box-shadow: 0 0 0 black;
    
}

#publish-btn button{
    font-size: 18px;
    width: 100%;
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    body {
         margin: 0;    
    }
    .category-menu {
        width: 100%;
        font-size: 20px;
        padding: 0;
        display: block;
    }
	
	.category-menu a {
		padding: 8px 8px 8px 8px;
		line-height:20px;
	}
    
	.cnt_right{
		padding: 8px 5px 5px 5px;
	}
	
	
	.category-icon{
    height: 27px;
	width: 37px;
    padding-right: 10px;
    float: left;
	}
    
    #search-text-category {
        height: 36px;
        padding-left: 5px;
        font-size: 18px;
    }
    
    #category-btn {
    }
    
    #main-page{
        display: block;    
    }

    #publish-btn{
        padding: 12px 7px 5px 7px;
        border-top: none;
        background: none;
        width:100%;
    }
	
	#index_subcat_title{
	padding: 20px 15px 0px 5px;
	width:100%;
	}
	
	#index_subcat_title .submenu-title{
	font-size:22px;
	}

    
    .submenu {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
    }
	
}


@media (hover:none), (hover:on-demand) {
    .category-menu li:hover .submenu{
        display: none;
    }

    .category-menu li:hover {
        background: none;
    }
    
}


/*index.php*/
.show-more {
    overflow-y: hidden;
    padding-left: 5px;
    margin-top: 5px;
    margin-bottom: 20px;
}

.show-more a, .show-more a:hover{
    text-decoration: none;
    font-size: 12px;
    /* color: #727272; */
}
    
.index-block-title{
    overflow-y: hidden;
    padding-left: 6px;
	font-weight:bold;
}

.index-main-block{
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid #dadada;
}

.index-main-table {
    display: table-cell;
    position: relative;
}


@media only screen and (min-width : 1861px) { .index-main-block{ width: 1522px;} }
@media only screen and (max-width : 1860px) { .index-main-block{ width: 1332px;} }
@media only screen and (max-width : 1670px) { .index-main-block{ width: 1142px;} }
@media only screen and (max-width : 1480px) { .index-main-block{ width: 952px;} }
@media only screen and (max-width : 1290px) { .index-main-block{ width: 762px;} }
@media only screen and (max-width : 1100px) { .index-main-block{ width: 572px;} }
@media only screen and (max-width : 910px) { .index-main-block{ width: 382px;} }
@media only screen and (max-width : 768px) {
    .index-main-block{ width: 100%;}
    .index-main-table{
        display: block;
    }
}

.more-user-content{
    min-height: 235px;
    max-height: 235px;
    overflow-y: hidden;
    text-align: center;
}

.more-user-content a:hover {
    text-decoration: none;
}

#more_recomended_content{
   max-height: 240px; 
}

#more_new_content_subcat{
   max-height: 480px; 
}