/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
 .container {
    width: 980px;
  }

}
/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	#addcomment{
		max-width: 100%!important;
		width: 100%!important;
		margin-bottom: 1em;
	
	}
#related{
	clear: both;
}

#dle-content h6{
margin-top: 2em;
	clear: both;
}



	h1,h2,h3,h4{
		font-size: 100%!important;
	}
	iframe, embed, textarea ,table{
		max-width: 100%!important;
		width: 100%!important;
		margin-bottom: 1em;
	}
.row {
	margin: 0;
	padding: 0;
}
*,
*:before,
*:after {
    box-sizing: border-box;
}
.wrap {
	width: 100%;
	max-width:100%;
}

.menu_button{
	background: #ef6761;
	color: #fff;
	padding: 10px;
	height: 50px;
	width: 50px;
	z-index: 10;
	position: absolute;
	right:0;

}

#menu ul{
	width: 100%;
	margin:0;
	padding: 0;
	left: 0;
	display: none;
	position: absolute;
z-index: 9;
border-top: 5px solid #db5c57;
border-bottom: 5px solid #db5c57;
top:50px;
}
#menu ul li{
	float: none;
	display: block;
	width: 100%;
	height:auto;
	background: #ef6761;


}
#menu ul li a{
	font-size:100%;
	color: #fff;
	text-decoration: none;
	display: block;
 	padding: 10px;
 	
}

#content{
	display:block;
	width:100%;
	max-width:100%;
	margin: 0!important;
	padding: 0!important;

}

#main{
	float:none!important;
	width:100%;
}
#wrapper{
    height: 100%;
 
}
#wrapper .tab{
    background:tomato;
    color: #2f2c2d;
    display:block;
    float: left;
    font-family: arial;
    font-size:80%;
    height:25px;
   line-height: 25px;
    padding:4px 0!important;
    margin: 0 1px 2em 0!important;
    text-align: center;
    text-decoration: none;
    max-width:100px;
    width:33%!important;
}
#wrapper.tab1 div.tab1 {
    display:block;
    width:100%;
}
#wrapper.tab2 div.tab2 {
    display:block;
    width:100%;
}
#wrapper.tab3 div.tab3 {
    display:block;
    width:100%;
}
.tab_content{
	width: 100%;
	height: auto;
	overflow: hidden;
	position: relative;
}
.tab_content img{
	width: 100%;
	max-width: 100%;
	min-height: auto;
}
.tab_description{
	width: 100%;
	max-width: 100%;
	height: auto;
	font-size: 100%;
}

header {
	height:auto;

}
#slogan{
    color: #ef6761;
    font-size: 100%;
    letter-spacing:0;

}
#bottom_header{
	width: 100%;
	height:auto;
	margin-top: 3em;
}
#logo{
	float:none;
	width: 100%;
	max-width: 100%;
	text-align: center;
	
}
#right_footer{
	float: none;
	width: 100%;
	max-width: 100%;
	font-size: 100%;
}
#search{
    background: url("../img/search.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: none;
    height: 40px;
   margin: 0!important;
    width: 100%;
    max-width: 100%!important;
	
}
#right_text{
	float:none;
	width: 100%;
	max-width: 100%;
	text-align: center;
	font-size: 100%;
}

#category{
	width: 100%;
	height:auto;
}
#category ul{
	 padding-left:auto;
	 padding-right: auto;
}
#category ul li{
	float: none;
	list-style: none;
	background: none;
	 padding:0;
	 font-size: 100%;
	 margin-bottom: 1em;
	 text-align: center;
}

#sidebar{
	width:100%;
	min-height:auto;
	float:none;
}
.follow_title{
    font-size:100%;
}
.follow_text{
	 font-size:100%;
}
.block_title{
	font-size: 100%;
}

#footer_content{
	width: 100%;
	max-width: 100%;
	margin: 0;
}
#copy{
	float: none;
	width:100%;
	max-width: 100%;
	font-size: 100%;
}
#counter{
	float: none;
	width:100%;
	max-width: 100%;
	text-align: center;
	margin-top: 2em;
}

.news .text{
	font-size:100%;
	color: #2c2c2c;
	margin: 0;
	text-align: justify;
	display:block;
	width: 100%;
	
}
.news .text:after{
	content: "";
	clear: both;
	display: table;
	visibility: hidden;
}
.news .text img{
	float: left!important;
	max-width:100%;
	margin:1em 0 2em!important;
	padding:0;
	width: 100%;
	height: auto;
	overflow: hidden;

}
.news .text img:after{
	content: "";
	clear: both;
	display: table;
	visibility: hidden;
}
.news .more .details{
font-size: 100%;
margin-top: 4px;	
}
.news .title h2, .news .title h2 a{
	font-family: Calibri;
	font-size: 110%;
	color: #2f2c2d;
}


.mobile{
	overflow: hidden;
}




}
/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
iframe, embed{
		max-width: 100%!important;
		width: 100%!important;
		margin-bottom: 1em;
	}


}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

#search{
    background: url("../img/search.jpg") center no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: none;
    height: 40px;
margin: 0 auto 2em;
    width: 100%;
    max-width:43%;
	
}

}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px)  and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
#category ul{
	 padding-left:auto;
	 padding-right: auto;
}
#category ul li{
	float: left;
	list-style: none;
	background: none;
	 padding:0;
	 font-size:100%;
	 margin-bottom: 1em;
	 margin-top: 1em;
	 text-align: left;
	 margin-right: 14px;
}
#category ul li a{
	 font-size: 100%;
}
.news .text{
	font-size:100%;
	color: #2c2c2c;
	margin: 0;
	text-align: justify;
	display:block;
	width: 100%;
	
}
.news .text:after{
	content: "";
	clear: both;
	display: table;
	visibility: hidden;
}
.news .text img{
	float: left!important;
	max-width:100%;
	margin:1em 0 2em!important;
	padding:0;
	width: 100%;
	height: auto;
	overflow: hidden;

}
.news .text img:after{
	content: "";
	clear: both;
	display: table;
	visibility: hidden;
}
.menu_button{
	background: #ef6761;
	color: #fff;
	padding: 10px;
	height: 50px;
	width: 50px;
	z-index: 10;
	position: relative;
	

}
#search{
    background: url("../img/search.jpg") center no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: none;
    height: 40px;
margin: 0 auto 2em!important;
    width: 100%;
    max-width:43%!important;
	
}
#wrapper .tab{
    background:tomato;
    color: #2f2c2d;
    display: block;
    float: left;
    font-family: arial;
    font-size: 100%;
    height: 32px;
    padding-top: 19px;
    text-align: center;
    text-decoration: none;
   width:100%;
    max-width: 33%;
}
}
/* Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {


}
/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {



}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
.row {
	margin: 0;
	padding:0;
}
.container{
	padding:10px;
}
#search{
    background: url("../img/search.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: none;
    height: 40px;
    margin-left:0;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
	
}
.news .text img{
	float: left!important;
	max-width:100%;
	margin:1em 0 2em!important;
	padding:0;
	width: 100%;
	height: auto;
	overflow: hidden;

}


}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {



}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 568px) {
#search{
    background: #fff;
    border: 1px solid #ddd;
    border-radius:25px;
    float: none;
margin: 1em auto!important;
    width: 100%;
    max-width:320px!important;
	
}
}

