/*FontAwesome*/
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

/* CSS Document */
body {
	font-family: 'Roboto', Helvetica, Arial, Sans-Serif;
	margin: 0;
	padding: 0;

	color: #555555;
	background: url(http://www.healthandtrend.com/wp-content/themes/wt_tera/images/bg/full/fullbg9.jpg) no-repeat fixed center center !important;
	background-size: cover;

}
h1{
	font-size: 32px;	
}

img{
	max-width: 100%; 
	height: auto;
}
.container {
	/*width: 1180px;
	margin: 0 auto;
	padding: 0 40px;*/
	background: #FFFFFF;
}
.title{
	margin-top: 15px; 
	background: #2F343D;	
    padding: 8px 12px;
	color: #FFFFFF;
}
#footer {
	width: 100%;
	margin-top: -28px;
	overflow: hidden;
}
.footer-info {
overflow: hidden;
font-size: 12px;
padding-left: 30px;
background: #F5F5F5;
}
.btn_primary{
	background-color: #E74C3C;
	height: 36px;
	padding: 5px 10px;
	margin-left: 0;	
	color: #FFFFFF !important;
	font-family: inherit;
	font-size: 14px;
	border: 0px;
	cursor: pointer;
}
.btn_default{
	height: 36px;
	padding: 5px 10px;
	margin-left: 0;	
	color: #555 !important;
	font-family: inherit;
	font-size: 14px;
	border: 0px;
	cursor: pointer;
}
.txt_search{
	float: left;
	font-size: 13px !important;
	padding: 7px 10px;
	height: 35px;
	width: 240px;
	border: 1px solid #EEEEEE;
	font: inherit;
	color: #555555;
}
.btn_search{
	height: 35px;
	float: left;
	background: #E74C3C;
	color: #FFFFFF !important;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	padding: 5px 10px;
	text-decoration: none;
	border: none;
	-moz-transition: .4s ease-in-out;
	-webkit-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
	
}
.textbox1 {
	padding: 8px 10px;
	border: 1px solid #D7D7D7;
	font: inherit;
	color: inherit;
	margin-bottom: 0;
	width: 90%;
}
/* == header ==*/

#header{
	position: relative;
}

#header .top{
	overflow: hidden;
	background: #FFFFFF;
	font-size: 13px;
	height: 44px;
}

#header .top ul{
	overflow: hidden;
	list-style: none;
	padding: 0;
	margin: 0;
}

#header .top ul li{
	float: left;
}

#header .top-menu{
	max-width: 600px;
	overflow: hidden;
	float: left;
	margin-top: 8px;
	height: 22px;
}

#header .top-menu ul li{
	margin-right: 20px;
}

#header .top-menu ul li a{
	color: #929292;
	font-size: 11px;
	font-family: 'Roboto', Helvetica, Arial, Sans-Serif;
	text-transform: uppercase;	
}

#header .top .social{
	display: inline-block;
	float: right;
}

#header .top .social li{
	margin-right: 10px;
	
}

#header .top .social li a{
	color: #A5A5A5;
	font-size: 15px;
	display: block;
	line-height: 1;
	margin-top: 15px;
}

#header .logo{
	max-width: 300px;
	margin-top: 15px;
	float: left;
	line-height: 1;
}

#header .header-ad{
	max-width: 728px;
	float: right;
}

#header .searchfield{
	border: none;
	border-left: 1px solid #E7E7E7;
	color: #999999;
	font-style: italic;
	height: 20px;
	padding: 0;
	width: 115px;
	padding-left: 10px;
}

#header .search-submit{
	background: #FFFFFF;
	padding: 0;
	height: auto;
	width: auto;	
	line-height: 1;
}

#header .search-submit i{
	color: #A5A5A5;
}

.logo-wrap{
	padding: 20px 40px;
	/*margin: 0 -40px;*/
	overflow: hidden;
	background-color: #F5F5F5;
}

.logo-wrap .inner-wrap{
	overflow: hidden;
	margin-bottom: 20px;
}

.menu-section{	
	margin-top: -24px;
	height: 48px;	
	background: #2F343D;
	width: 100%;/*width: 1100px;*/
	/*position: absolute;*/
	bottom: -24px;
	/*left: 40px;*/
	z-index: 99;
	border-radius: 12px;
}

#main-menu {
	display: none;
	position: relative;
	z-index: 30;
}

.top-menu select,#main-menu select {
    display: none;
    z-index: 3000;
    position: relative;
    padding: 4px;
    font-size: 14px;
    border: none;
    height: 32px;	
	color: #999999;
	background: none;
	margin-top: 8px;
	font: inherit;
	border: 1px solid #555555;
}

#main-menu ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	z-index: 99;
}

#main-menu ul li {
	float: left;
	padding: 0px;
	margin: 0px;
}

#main-menu ul li a {
	display: block;
	padding: 16px;
	text-align: center;	
	font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, Sans-Serif;	
	font-size: 14px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
	color: #FFFFFF;
}

#main-menu ul li a:hover{
	background: #39455A;
	color: #FFFFFF;
	border-radius: 12px;
}

#main-menu .current-menu-item ,
#main-menu .current_page_item,
#main-menu .current_page_item a:hover{
	background: #E74C3C;
	color: #FFFFFF;
	border-radius: 12px;
}


#main-menu .current-menu-item  a,
#main-menu .current_page_item a{
	color: #FFFFFF;
}

#main-menu .menu-item-home a:before{
	content: "\f015";
	font-family: FontAwesome;
	display: block;
	float: left;
	padding: 0;
	font-weight: 400;	
	margin-right: 8px;
	font-size: 18px;
}

#main-menu ul li ul {
	display: none;
	position: absolute;
	padding: 0;
	background: #F2F2F2;
	margin-top: 0;
}

#main-menu ul li ul li {
	float: none;
	padding: 0px;
	position: relative;
}

#main-menu ul li ul li a, 
#main-menu ul li:hover ul li a, 
#main-menu ul li.over ul li a {	
	padding: 12px 16px 12px 14px;
	display: block;	
	width: 142px;	
	text-align: left;	
	height: auto;	
	background: #FFFFFF;		
	font-size: 14px;	
	font-weight: 400;	
	border-bottom: 1px solid #EEEEEE;	
	color: #333333;	
	text-transform: none;	
}

#main-menu ul li ul li:hover a, 
#main-menu ul li ul li.over a {	
	color: #000000;
}

#main-menu ul li ul li ul {	
	display: none;	
	position: absolute;	
	left: 172px;	
	top: -1px;	
}

#main-menu ul li ul li:hover ul, 
#main-menu ul li ul li.sfHover ul {	
	display: block;	
	position: absolute;	
	left: 172px;	
	top: 0;	
}

#main-menu ul li ul li:hover ul li a, 
#main-menu ul li ul li.over ul li a {	
	color: #000000;	
}

#main-menu ul li ul li ul li a:hover {
	color: #000000;
}

#main-menu a.sf-with-ul {
	padding-right:25px;
	min-width:1px;
}

#main-menu .sf-sub-indicator {
	display: none;
}

#main-menu a.menu-link {
	display: none;
}




@media only screen and (min-width: 760px) and (max-width: 1200px) {

	.inner-wrap {
		padding: 0 20px;
		position: relative;
		width: 700px;
	}
	
	#content {
		width: 700px;
		margin-right: 0;
	}
	
	#header .logo {
		float: none;
	}

	#header .header-ad {
		float: none;
		margin-top: 15px;
	}
	
	.menu-section {
		width: 100%;/*width: 660px;*/
	}
	
	#main-menu ul { 
		display: none; 
	}
	
	#main-menu select {
		display: block;
		width: 280px; 				
		margin-left: 190px;		
	}
}
@media only screen and (min-width: 580px) and (max-width: 759px) {
		
	.inner-wrap {
		padding: 0 20px;
		width: 520px;
	}
	
	#content {
		width: 520px;
		margin-right: 0;
	}
	
	#header .logo {
		float: none;
	}

	#header .header-ad {
		float: none;
		margin-top: 15px;
		max-width: 520px;
	}
	
	#header .search,#header .top .social{
		display: none;
	}
	
	.menu-section {
		width: 100%;/*width: 480px;*/
	}
	
	#main-menu ul { 
		display: none; 
	}
	
	#main-menu select {
		display: block;
		width: 280px; 				
		margin-left: 100px;
	}
}
@media only screen and (min-width: 400px) and (max-width: 579px) {

	.inner-wrap {
		padding: 0 20px;
		width: 340px;
	}
	
	#content {
		width: 340px;
		margin-right: 0;
	}
	
	#header .logo{
		float: none;
		max-width: 340px;
		text-align: center;
	}
	
	#header .logo img{
		display: inline-block;
	}

	#header .header-ad{
		float: none;
		margin-top: 15px;
		max-width: 340px;
	}
	
	#header .top-menu {
		margin-top: 0;
		height: auto;		
	}
	
	#header .top-menu ul { 
		display: none; 
	}
	
	#header .top-menu select{
		display: block;
		width: 340px; 	
		border: 1px solid #EEEEEE;
		margin-top: 6px;
	}
	
	#header .search,#header .top .social{
		display: none;
	}
	
	.menu-section {
		width: 100%;/*width: 300px;*/
	}
	
	#main-menu ul { 
		display: none; 
	}
	
	#main-menu select {
		display: block;
		width: 280px; 				
		margin-left: 10px;
	}
}
@media only screen and (max-width: 459px) {
	
	/*#container {
		width: 300px;
	}*/
	
	.inner-wrap {
		padding: 0 10px;
		width: 280px;
	}
	
	#header .logo{
		float: none;
		max-width: 280px;
		text-align: center;
	}
	
	#header .logo img{
		display: inline-block;
	}

	#header .header-ad{
		float: none;
		margin-top: 15px;
		max-width: 280px;
	}
	
	#header .top-menu {
		margin-top: 0;
		height: auto;		
	}
	
	#header .top-menu ul { 
		display: none; 
	}
	
	#header .top-menu select{
		display: block;
		width: 280px; 	
		border: 1px solid #EEEEEE;
		margin-top: 6px;
	}
	
	#header .search,#header .top .social{
		display: none;
	}
	
	#content {
		width: 280px;
		margin-right: 0;
	}
	
	.menu-section {
		left: 20px;
		width: 100%;/*width: 260px;*/
	}
	
	#main-menu ul { 
		display: none; 
	}
	
	#main-menu select {
		display: block;
		width: 240px; 				
		margin-left: 10px;
	}
}



h3{
	color: #D2191F;	
}
.txtgray{
	font-size: 12px;
	color: #999;
}
.txtred{
	font-size: 12px;
	color: red;
}
.wrapper {
	max-width: 1040px;
	margin: 0 auto;
}
.create-post-wrap {
	background-color: #ffffff;
	border: solid 1px #DCE2E7;
	margin-bottom: 20px;
}
.emoIcon{
	margin: 3px;
	cursor: pointer;
}
.text_control {
	border: 1px solid #CCCCCC;
	padding: 2px;
	line-height: 15px;
	/*height: 34px;*/
}
.text_control input {
	border: 1px solid #CCCCCC;
	height: 28px;
	width: 28px;
	background-color: #555;
	color: #FFFFFF;
}
.text_control input:hover {
	border: 1px solid #ffafb3;
	background-color: #E74C3C;
}
.lnk_refer{
	color: black;
	font-size: 12px;
	position: absolute;
	right: 0;
}
.lnk_refer:hover{
	color: #CC0001;
	text-decoration: none;	
}
.refer{
	margin: 10px 0px 10px 50px;
	padding: 10px;
    background-color: #f1f2f2;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.50);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.50);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.50);
	overflow: auto;
}
.refer .head{
	font-size: 12px;
	margin-bottom: 10px;	
	font-weight: bold;
}
.p_refer{
	margin: 20px 0px 10px 50px;
}
.lnktopic{
	color: #666666;
	font-size: 14px;
	line-height: 24px;
}
.lnktopic:hover{
	color: #CC0001;
	text-decoration:none;
}

.lnkboard{
	font-size: 12px;
	text-decoration:none;
	color: #0088cc;
}
.lnkboard:hover{
	text-decoration:none;
	color: #000;
}
.lnkmember{
	font-size: 12px;
	color: #D11919;
	text-decoration:none;
}
.lnkmember:hover{
	font-size: 12px;
	color: #000000;
	text-decoration:none;
}

#forum-bar{
	height: 50px;
	background-color: #FFFFFF;
	box-shadow: 0 1px 3px 0px #ccc;	
}

/*+++ editor +++ */

.icon_bold {
	background: url(../images/icons/icon_bold.png) center center no-repeat;
}
.icon_italics {
	background: url(../images/icons/icon_italics.png) center center no-repeat;
}
.icon_underline {
	background: url(../images/icons/icon_underline.png) center center no-repeat;
}
.icon_strike {
	background: url(../images/icons/icon_strike.png) center center no-repeat;
}
.icon_hyperlink {
	background: url(../images/icons/icon_hyperlink.png) center center no-repeat;
}
.icon_hr {
	background: url(../images/icons/icon_hr.png) center center no-repeat;
}
.icon_superscript {
	background: url(../images/icons/icon_superscript.png) center center no-repeat;
}
.icon_subscript {
	background: url(../images/icons/icon_subscript.png) center center no-repeat;
}
.icon_alignleft {
	background: url(../images/icons/icon_alignleft.png) center center no-repeat;
}
.icon_aligncenter {
	background: url(../images/icons/icon_aligncenter.png) center center no-repeat;
}
.icon_alignright {
	background: url(../images/icons/icon_alignright.png) center center no-repeat;
}
.icon_image {
	background: url(../images/icons/icon_image.png) center center no-repeat;
}
.icon_video {
	background: url(../images/icons/icon_video.png) center center no-repeat;
}
.icon_map{
	background: url(../images/icons/icon_map.png) center center no-repeat;
}
.icon_emoticon{
	background: url(../images/icons/icon_emoticon.png) center center no-repeat;
}
.gallery_thumbnail {
	position: relative;
	width: 175px;
	height: 175px;
	float: left;
	padding: 4px;
	margin: 3px;
	line-height: 1.42857143;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	display: inline-block;
	max-width: 100%;
	text-align: center;
}
.gallery_control{
	position: absolute;
	background: url(../images/bgOpacity60.png) top left repeat;
	width: 165px;
	height: 165px;
	z-index: 100;
}
.gallery_bt_delete{
	position: absolute;	
	/*margin: 5px auto auto 100px;*/
	right: 3px;
	top: 5px;
	color: #4299D8;
	}
.gallery_bt_select{
	/*margin: 65px auto auto 45px;*/
	margin-top: 65px;
}
@media (max-width: 579px) {
	.gallery_thumbnail {
		width: 120px;
		height: 120px;	
	}
	.gallery_control{
		width: 110px;
		height: 110px;
	}
	.gallery_bt_select{
		margin-top: 35px;
	}
}


/*header*/
.navbar{
	min-height: 41px;	
}
.navbar-inverse {
	background-color: #2C2C2C !important;
	border-color: #000000 !important;
	background-image:none;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-box-shadow: rgba(0,0,0,0.3) 0px 2px 2px -1px;
	-moz-box-shadow: rgba(0,0,0,0.3) 0px 2px 2px -1px;
	box-shadow: rgba(0,0,0,0.3) 0px 2px 2px -1px;
	border-bottom: 1px solid #860000;
	}
.navbar-inverse .navbar-brand {
	color: #ffffff;
	}
	
.navbar-inverse .navbar-nav>li>a {
	color: #ffffff;
	}
.navbar-inverse .navbar-nav>li>a:hover, .navbar-inverse .navbar-nav>li>a:focus {
	color: #fff;
	background-color: transparent;
}
/*sidebar*/
#sidebar .recent-post .post-list .item{
	overflow: hidden;
    margin-bottom: 22px;
}
#sidebar .recent-post .post-list .item .thumb{
	width: 75px;
    margin-right: 20px;
    float: left;	
}
#sidebar .recent-post .post-list .item .desc{
	width: 245px;
    float: left;	
	text-align: left;
	height: 63px;
	overflow: hidden;
}
#sidebar .recent-post .post-list .item .desc .category{
	font-size: 11px;
	background: #E74C3C;
    padding: 1px 5px 2px;
    letter-spacing: 0.06em;
    margin-right: 12px;	
}
#sidebar .recent-post .post-list .item .desc .category a{
	color: #ffffff;	
}

#sidebar .recent-post .post-list .item .desc .date{
	font-size: 11px;
	color: #999999;	
}
#sidebar .recent-post .post-list .item .desc h3{
	font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #3E3E3E;
    margin-bottom: 10px;
	margin-top: 0px;	
}


/*footer*/
.bgfooter {
	padding: 30px 0 0 0;
	width: 100%;
	background-color: #CC0001;
	color: #FFFFFF;
	font-size: 12px;
}
.bgfooter .sitename {
	font-size: 29px;
	text-align: center;
	font-weight: bold;
}
.bgfooter .sitedesc {
	padding-top: 25px;
	text-align: center;
	height: 55px;
}
.bgfooter .txtlink {
	padding-top: 10px;
	text-align: center;
}
.bgfooter .txtlink a{
	color:#FFFFFF;	
}
.bgfooter .iconshare {
	padding-top: 10px;
	text-align: center;
}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



@media (max-width: 667) {

	h1{
		font-size: 30px;	
	}
}
@media (max-width: 579px) {
	h1{
		font-size: 28px;	
	}
	.refer{
		margin: 10px 0px 10px 30px;	
	}
}
@media (max-width: 375px) {
	h1{
		font-size: 25px;	
	}
	.lnktopic{
		font-size: 13px;
	}
}
