/* Clearfix */
	
	.clear	{
	clear:both;
	display:block;
	height:0;
	overflow:hidden;
	visibility:hidden;
	width:0
	}
	
	.clearfix:after	{
	clear:both;
	content:' ';
	display:block;
	font-size:0;
	height:0;
	line-height:0;
	visibility:hidden;
	width:0
	}
	
	#header-search {
	position:absolute;
	top:59px;
	right:0px;
	width:229px;
}
#header-search #search-go {
	float: right;
	width: 23px;
	height: 23px;
	margin:0px 0 0 8px;
	border:0;
	padding:0;
}
#header-search #search-field {
	float: right;
	position:relative;
	border: 1px solid #c3c3c3;
	background-color: #fffaed;
	height: 21px;
	width: 178px;
}
#header-search #sw {
	font-size:12px;
	line-height:13px;
	width: 166px;
	position:absolute;
	top:3px;
	right:5px;
	color: #494949;
	margin: 0;
	padding: 0;
	border: 0;
	background:transparent;
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}
#header-search #sw:focus {
	outline:none;
}	

@media screen and (min-width: 820px) { /* was 851, older 482 */
	
	.wrapper {
    width: 88%; /* 75 */
		max-width: 1420px;
    margin: 1% auto 2% auto;
	}
	
	
	#top-right {
/*	width:30%; */
	float:right;
    min-height: 1px;
    text-align: right;
		position:absolute;
		top:0;
		right:0;
	}
/*	
	#top-left {
	width:70%;
    float: left;
    min-height: 1px;
	}
*/		
	.sidebar-right, .sidebar-left {
	float:left;
	}
	
	.footerbox {
	margin-right: 2%;
	width: 23.5%;
	float:left;
	}
	
	.footerbox-last {
	width: 23.5%;
	}
	
	#header-left {
	margin-top:26px;
	margin-left:20px;
	float:left;
/*	width:70%; */
	width:356px; /* was 456 */
	}
	#header-left img {
		position:relative;
		left:-6px;
		top:1px;
	} 
	
	#header-right {
	margin-top:92px;
	float:right;
	margin-bottom:0;
	padding-bottom:0;
	height:auto;
/*	width: 26%; */
	}
	
	.sidebar-right {
    width: 28%;
	margin-left:4%;

	}
	
	.sidebar-left {
    width: 28%;
	margin-right:4%;
	float:left;

	}
	
	.footer-title {
	text-align:left;
	}
	
	
	#bottom-left {
	float:left; 
	width:66%;
	}
	
	#bottom-right {
	float:right;
	width:34%;
	}
	
	#header-info {
	margin-bottom:10px;
	}
	
	#content {
	float:left;
    width: 66%;
	}
	
	#content-right {
	float:right;
    width: 66%;
	}
	
	.secondary-menu li {
	float:left;
	}
	
} /*=======================End of MEDIA =============================== */

@media screen and (max-width: 820px) { /* was 850, older 768 */
	#header-search {
		position:relative;
		top:0px;
		right:0;
		margin:0 auto;
		padding:2px 0 0 0;
	}
	
	.tertiary-menu, .secondary-menu {
    display: inline-block;
	}
	
	.secondary-menu li {
	float:none;
	display:inline-block;	
	}
	
	#bottom-left {
	width:100%;
	text-align:center;
	}
	
	#bottom-right {
	width:100%;
	text-align:center;
	}
	
	#bottom-right ul {
	padding:0;	
	}
	
	.footerbox {
	clear:both;
	width: 100%;
	margin:0 auto;
	text-align: center;
    margin-bottom: 5%;
	font-size:120%;
	}
	
	.footerbox-last {
	clear:both;
	width: 100%;
	margin:0 auto;
	text-align: center;
    margin-bottom: 5%;
	}
	
	#footer .recent-post-item {
    width: 50%;
    margin: 20px auto;
	}


	#footer .recent-post-item .main-recent {
    display: block;
    text-align: left;
	}
	
	#footer .mig_last_tweet_follow_us {
	display:none;
	}

	#footer .mig_last_tweet_inside ul:after {
	border:none;

	}

	#footer .mig_last_tweet_inside .mig_action_links {
	text-align:center;
	}
	
	.sidebar-right {
	margin-top:50px;
	clear:both;
	width:100%;
	max-width:88%;
	display:block;

	}
	
	
	.sidebar-left {
	margin-top:50px;
	clear:both;
	width:100%;
    max-width:88%;
	display:block;

	}
	
	#content {
	width:100%;
		
	}


/*	
	#content {
	width:100%;
		
	}	
	#top-left, #top-right {
	width:100%;
	display:block;
	text-align:center;
	clear:both;	
	}
	
	#top-right {
	padding-top:10px;	
	}
*/	
	
	
		.social-icons-wrapper {
	display: inline-block;	
		margin-top:0px;
	}
	.contact-header {
		text-align:center !important;
	}
	

	
	
	.wrapper {
    width: 90%;
    margin: 2% auto;
	}
	
	#top-left, #top-right {
	width:100%;
	display:block;
	text-align:center;
	clear:both;	
	}
	
	#top-right {
	padding-top:10px;	
	position:static;	
	}
		
	#header-left {
	width:100%;
	display:block;
	}
	
	#header-right {
	width: 100%;
	display:block;
	padding-bottom:10px;
	}	


	#header-info h2 {
    text-align: center;
	}

	.contact-header {
    text-align: center;
	}
	
	#header-left img {
    display: Block;
    margin: 0 auto;
	}
	

	#footer .recent-post-item {
    width: 50%;
    margin: 20px auto;
	}


	#footer .recent-post-item .main-recent {
    display: block;
    text-align: left;
	}
	
} /*=======================End of MEDIA=============================== */
	
	
	* html .clearfix,:first-child+html .clearfix{zoom:1;}


	body {
	margin:0;
	}
	
	
	#footer, #bottom, #main, #page-title, #slider, #footer-title{
	margin: 0 auto;
	}
	
	
	#header-left img {
	max-width:100%;
	}
	

	
/*============================General HTML Labels*=========================================*/
/*=====================================================================================*/
/*=====================================================================================*/	

	body {
		
	line-height: 1.6em;
	}
	
	iframe, object, embed {
    max-width: 100%;
    display: block;
    max-height: auto;
	}
	
	blockquote {
    background-image: url("../images/quote.png"), url("../images/quote-shell.png");
    display: block;
    padding: 1px 30px;
    background-repeat: no-repeat, no-repeat;
    font-size: 110%;
    font-style: italic;
    background-position: left top, bottom right;
	}
	
	
	h1 {
	font-size:160%;	
	}
	
	h2 {
	font-size:140%;	
	}
	
	h3 {
	font-size:130%;	
	}
	
	h4 {
	font-size:110%;	
	}
	
	h5 {
	font-size:100%;	
	}
	
	h6 {
	font-size:90%;	
	}
	
	a{
    text-decoration: none;
	border:none;
	transition:color 0.8s;
	-moz-transition:color 0.8s; /* Firefox 4 */
	-webkit-transition:color 0.8s; /* Safari and Chrome */
	-o-transition:color 0.8s; /* Opera */
	}
	
	p {
		margin:12px 0;
	}
	
	input {
    padding: 5px;
    color: #999999;
    border: 1px solid #ddd;
    border-radius: 2px;
	box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1) inset;
	-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1) inset;
	max-width:95%;
	}
	
	img {
	max-width:100%;
	height:auto;
	border:none;
	}

	
	article {
    margin-bottom: 50px;
	}
	
	ul {
    list-style-image: url('../icons/arrow-list.png');
	padding-left: 1.1em;
	}
	
	
	textarea {
    max-width: 100%;
	}
	
	.button, #searchsubmit {
    border: none;
    padding: 0.6em 1.2em;
	color:white;
	}
	
	button {
    border: none;
    padding: 0.6em 1.2em;
	}
	
	
	fieldset {
    border: none;
    margin: 0;
    padding: 0;
	}
	
	select {
    padding: 6px;
    color: #666666;
    border-radius: 3px;
    border: 1px solid #ccc;
	}
	