@media only screen and (max-width : 1024px) {

	body, #wrapper, #header, #siteinfo, #main, #footer, .home-title, #branding, .quick-form, 
	#top-navigation-container, #top-navigation-container .menu-top-navigation-container, .menu, 
	.page-title, .home-title, .quick-form2, .main .content iframe {
		width: 100%;
		min-width: initial;
	}
	
	/*----------------------------------------------*/
	/*---------------- Header -------------------*/
	
	#top-navigation-container {
		width: auto;
	}
	
	#header_text p {
		left: auto;
		right: 2%;
	}
	
	#header {
		background-position-x: right;
	}
	
	#branding {
		margin: 20px 0 0 0;
	}
	
	#blog-title a {	
		opacity: 0;
	}
	
	/*----------------------------------------------*/
	/*---------------- Home Page -------------*/
	
	#container {
		width: 72%;
		padding: 0;
		right: auto;
		border: 1px solid #94B6DD;
		box-shadow: 0 0 10px #5184BF;
		border-radius: 5px;
		background: #E7EFF9;
		margin-left: 1%;
	}
	
	#content-ltr {
		width: 90%;
		border: 1px solid #94B6DD;
		box-shadow: 0 0 10px #5184BF;
		border-radius: 5px;
		background: #E7EFF9;
		margin-left: 1%;
		margin: 0 auto;
		padding: 0 3%;
	}
	
	#main {
		background: none;
		top: initial;
		padding: 0;
	}
	
	#alt-sidebar {
		width: 24%;
		padding: 0 1%;
	}
	
	#home-top table tr td {
		float: right;
		width: 25%;
		padding: 0 !important;
	}
	
	#home-top table img {	
		width: 100%;
		height: auto;
	}
	
	#home-news .post-container, #content .post-container {
		width: 78%;
		margin-right: 2%;
	}
	
	#home-news img.attachment-80x80, #content img.attachment-80x80 {
		width: 20%;
		height: auto;
	}
	
	.quick-form2-leftside {
		width: 50%;
	}
	
	/*-----------------------------------------------*/
	/*---------------- Page Content ------------*/
	
	#sName2, #sEmail2, #sPhone2, .quick-form-textarea2 {
		float: right;
		width: 96%;
	}
	
	#sName, #sEmail, #sPhone, #sCapcha, .quick-form-textarea {
		width: 95%;
	}
	
	#content iframe {
		width: 100%;
	}
	
	.quick-form2 {
		padding: 0;
	}
	
	#sCapcha2 {
		width: 100%;
	}
	
	/*-----------------------------------------------*/
	/*---------------- Sidebar -------------------*/
	
	#alt-sidebar input[type="image"] {
		width: 100%;
		max-width: 200px;
	}
	
	#alt-sidebar .wpcf7 {
		width: 89%;
		margin: 0;
	}
	
	.quick-form div {
		margin: 0;
	}
	
	.main-aside {
		right: auto;
	}
	
	#searchform #s {
		width: 63%;
		background: none;
		border: 1px solid #4271B1;
		border-radius: 9px;
		box-shadow: 1px 1px 5px #5184BF inset;
		padding: 0;
		left: initial;
	}
	
	#searchform #searchsubmit {
		width: 30%;
		background: #4465B0;
		border-radius: 7px;
		left: auto;
		right: initial;
		top: initial;
		height: 27px;
		line-height: 23px;
		cursor: pointer;
		padding: 0;
	}
	
	.aboutirit_info {
		width: 100%;
	}
	
	.wpcf7-submit {
		margin: 0 22%;
	}
	
	/*-----------------------------------------------*/
	/*---------------- Footer -------------------*/
	
	#footer {
		top: initial;
	}
	
	#footer_menu {
		top: initial;
	}

}

@media only screen and (max-width : 900px) {
	#header {
		background-position-x: 0;
	}
	.menu, .menu-services-container .menu {
		left: auto !important;
		width: auto !important;
	}
}


@media only screen and (max-width : 700px) {
	#top-navigation-container {
		width: 38.5%;
		display: block;
		float: right;
		position: initial;
		margin-top: 44px;
	}
	.menu-top-navigation-container {
		position: absolute;
	}
	#top-navigation-container .menu-top-navigation-container {
		width: 60.5%;
		right: 5px;
	}
	#menu-top-navigation {
		display: none;
	}
	#menu-top-navigation li {
		float: none;
		border: 0;
		background: #E7EFF9;
		padding: 8px 0;
		border-bottom: 1px dashed #90ADD3;
	}
	#menu-top-navigation li a {
		display: inline-block;
		position: relative;
	}
	#menu-top-navigation > li.menu-item-has-children > a:before {
			content: " ";
			background: url( 'images/triangle.png' );
			width: 5px;
			height: 5px;
			display: block;
			position: absolute;
			right: -13px;
			top: 6px;
			opacity: 0.3;
	}
	
	#menu-top-navigation > li:hover {
		background: white;
	}
	
	#menu-top-navigation > li.menu-item-has-children:hover {
		padding-bottom: 0;
	}
	
	#menu-top-navigation li:hover ul {
		display: block;
		position: initial;
		margin: 0;
		padding: 0;
		margin-top: 10px;
		background: none;
		-webkit-box-shadow: initial;
		-moz-box-shadow: initial;
		box-shadow: initial;
	}
	#menu-top-navigation li ul li {
		border-image: none;
		border-style: 0;
		border-width: 0;
		float: none;
		margin: 0;
		padding-top: 8px;
		padding-bottom: 4px;
		padding-right: 5px;
		text-align: right;
		border-bottom: 1px dashed #90ADD3;
		width: auto;
	}
	#menu-top-navigation li ul li:hover {
		background: white;
	}
	
	#smartphone-menu-container {
		display: block;
		text-align: right;
		cursor: pointer;
		font-size: 17px;
		color: #4465B0;
		font-weight: bold;
		line-height: 36px;
	}
	
	.three-bars-menu-icon {
		display: inline-block;
		width: 20px;
		height: 19px;
		padding-right: 15px;
	}
	.menu-icon-bar {
		background: #4465B0;
		margin-top: 4px;
		width: 100%;
		height: 20%;
		display: inline-block;
		border-radius: 3px;
	}
}


@media only screen and (max-width : 600px) {
	#container {
		margin-left: 1%;
		margin-right: 1%;
		width: 98%;
		float: none;
	}
	#alt-sidebar {
		max-width: 320px;
		width: 94%;
		margin: 0 auto;
		float: none;
		margin-top: 20px;
	}
	#alt-sidebar .wpcf7 {
		width: 89%;
		margin: 0 2%;
		padding: 0;
		float: none;
	}
	#home-top h3 {
		text-align: center;
	}
	#home-top h3 a:link, #home-top h3 a:active, #home-top h3 a:hover, #home-top h3 a {
		font-size: 14px;
	}
	#newfamily-language-container {
		padding: 0;
	}
	#content-ltr {
		width: 90%;
	}
	#content-ltr iframe {
		width: 100%;
	}
	#header_text {
		display: none;
	}
	#footer_menu {
		display: none;
	}
	
	
	
}


@media only screen and (max-width : 500px) {
	#header {
		background: url('images/header-bg-500_en_.png') no-repeat bottom center;
		height: 241px;
	}
	#newfamily-languages ul li {
		padding-right: 0;
		padding-left: 0;
		margin-right: 0;
		margin-left: 0;
		right: auto;
	}
	#newfamily-languages {
		text-align: center;
	}
	#newfamily-languages ul {
		margin: 0 auto;
		display: inline-block;
	}
	#newfamily-languages ul:after {
		content: " ";
		display: table;
		clear: both;
	}
	#blog-title, #blog-title a {
		height: 200px;
		top: initial;
		margin: 0 auto;
	}
	#header > p {
		margin: 0;
	}
	#branding {
		margin: 15px 0 0 0;
	}
	
	img.ngg-singlepic, img.size-full {
		width: 100%;
		height: auto;
	}
	#content {
		width: 95%;
		margin: 0 0 0 10px;
	}
	
	#top-navigation-container .menu-top-navigation-container {
		width: 98%;
		margin-top: 20px;
		right: 6px;
	}
	#top-navigation-container {
		width: 100%;
		margin-right: 0;
		padding-right: 0;
		margin-top: 0;
	}
	#smartphone-menu-container {
		margin-left: 5%;
	}
	.smartphone-menu-text {
		display: none;
	}
	div.wpcf7 input, div.wpcf7 textarea {
		width: 98%;
	}
	div.wpcf7 input[type="submit"] {
		width: auto;
	}
}



