/************************************************************************************
smaller than 1462
*************************************************************************************/
@media screen and (max-width: 1462px) {

	.container {
		width: 1366px;
	}

#slider .caption1 {
	width: 45%;
}
	
	#hmsection1 .left {
	width: 26%;
}

#hmsection1 .left h6 {
	color: #3051a4;
	font-size: 34px;
	line-height: 35px;
}
	
	#hmsection1 .services li a {
	width: 130px;
}
	
	#hmsection3 .box h5 {
	font-size: 32px;
	line-height: 36px;
}
	
	#pagetitle h1 {
	font-size: 34px;
	line-height: 38px;
}

}

/************************************************************************************
smaller than 1388
*************************************************************************************/
@media screen and (max-width: 1388px) {

	.container {
		width: 1280px;
	}
	
	#slider .caption1 h2 {
	font-size: 34px;
	line-height: 38px;
}
	
	#hmsection1 .left h6 {
	font-size: 30px;
	line-height: 34px;
}
	
	#hmsection1 .services li a {
	width: 120px;
		min-height:70px;
}
	
	#pagetitle h1 {
	font-size: 32px;
	line-height: 36px;
}

}

/************************************************************************************
smaller than 1302
*************************************************************************************/
@media screen and (max-width: 1302px) {

body {
	font-size: 13px;
	line-height: 1.3;
}

	.container {
		width: 1024px;
	}
	
h1 { font-size: 30px; line-height: 34px; }
h2 { font-size: 27px; line-height: 31px; }
h3 { font-size: 24px; line-height: 28px; }
h4 { font-size: 21px; line-height: 25px; }
h5 { font-size: 18px; line-height: 22px; }
h6 { font-size: 16px; line-height: 20px; }

	#headerright {
	width: 58%;
	height: 120px;
}

img#logo {
	width: 400px;
}
	
	#primary-navigation a {
	padding: 0 18px;
	font-size: 16px;
}
	header.sticky #headerright {
	width: 75%;
}
	
	#slider .caption1 h2 {
	font-size: 32px;
	line-height: 36px;
}
	
	#hmsection1 .left h6 {
	font-size: 24px;
	line-height: 28px;
}

	#hmsection1 .right h1 {
	font-size: 30px;
	line-height: 34px;
}
	
	#hmsection1 .services li a {
	background-size: 40% auto;
	width: 90px;
	padding: 120px 30px 30px;
	font-size: 18px;
}
	
	#hmsection2 h3 {
	font-size: 32px;
	line-height: 36px;
}
	
	#hmsection2 h5 {
	font-size: 16px;
	line-height: 20px;
}
	
	#hmsection3 .box h5 {
	font-size: 26px;
	line-height: 30px;
}

	#pagetitle h1 {
	font-size: 32px;
	line-height: 36px;
}
	
#fullcol img,
#maincol img {
	width: 40%;
	height: auto;
}
	
	#sidebar h3.widget-title {
	color: #676766;
	font-size: 21px;
	line-height: 25px;
}
	
	#sidebar img {
	width: 100% !important;
	height: auto;
}

}

/************************************************************************************
smaller than 1046
*************************************************************************************/
@media screen and (max-width: 1046px) {

	body {
		font-size: 12px;
		line-height: 1.5;
	}
	
	.container {
		width: 800px;
	}
 
#toggle {
float: right;
position: fixed;
top: 10px;
right: 10px;
width: 20px;
height: 20px;
display: block;
z-index: 999999;
	border: #000 solid 1px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 4px;
}

#mobmenu {
position: fixed;
height: 100%;
width: 250px;
background: rgb(0, 0, 0);
background: rgba(0, 0, 0, .9);
color: white;
top: 0px;
left: -250px;
overflow:auto;
z-index: 999999;
}
	
#mobmenu #primary-navigation {
	margin: 0;
	height: auto;
	border-bottom: none;
	position: relative;
	right: 0;
	bottom: 0;
}
 
#mobmenu #primary-navigation .menu-header li,
#mobmenu div.menu li {
	float: none;
	position: relative;
}

#mobmenu #primary-navigation a {
	color: #fff;
	display: block;
	line-height: 36px;
	padding: 0 18px;
	text-decoration: none;
	margin: 0;
	font-size: 14px;
	text-align: left;
}

#mobmenu #primary-navigation ul ul {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	display: block;
	float: none;
	width: 250px;
	z-index: 99999;
	background: rgba(0,0,0, 0.1);
	text-align: left;
	position: static;
}

#mobmenu #primary-navigation ul ul a {
	color: #fff;
	line-height: 1em;
	padding: 10px 10px 10px 20px;
	width: 220px;
	height: auto;
	margin: 0;
	font-size: 12px;
	font-weight: 400;
}

#mobmenu #primary-navigation ul ul ul a {
	color: #fff;
	line-height: 1em;
	padding: 10px 10px 10px 30px;
	width: 210px;
	height: auto;
	margin: 0;
	font-size: 12px;
	font-weight: 400;
}
	
#mobmenu #primary-navigation li:hover > a {
	color: #ca0016;
}
	
#mobmenu #primary-navigation ul li:hover > ul {
	display: block;
	position: static;
	color: #000;
}
	
#mobmenu #primary-navigation ul li.current_page_item > a,
#mobmenu #primary-navigation ul li.current-menu-ancestor > a,
#mobmenu #primary-navigation ul li.current-menu-item > a,
#mobmenu #primary-navigation ul li.current-menu-parent > a {
	color: #ca0016;
	background-color: #f6edd3;
}
* html #mobmenu #primary-navigation ul li.current_page_item a,
* html #mobmenu #primary-navigation ul li.current-menu-ancestor a,
* html #mobmenu #primary-navigation ul li.current-menu-item a,
* html #mobmenu #primary-navigation ul li.current-menu-parent a,
* html #mobmenu #primary-navigation ul li a:hover {
	color: #ca0016;
	background-color: #f6edd3;
}
#mobmenu #primary-navigation ul ul li.current_page_item > a,
#mobmenu #primary-navigation ul ul li.current-menu-ancestor > a,
#mobmenu #primary-navigation ul ul li.current-menu-item > a,
#mobmenu #primary-navigation ul ul li.current-menu-parent > a {
	color: #ca0016;
	background-color: #f6edd3;
}
* html #mobmenu #primary-navigation ul ul li.current_page_item a,
* html #mobmenu #primary-navigation ul ul li.current-menu-ancestor a,
* html #mobmenu #primary-navigation ul ul li.current-menu-item a,
* html #mobmenu #primary-navigation ul ul li.current-menu-parent a,
* html #mobmenu #primary-navigation ul ul li a:hover {
	color: #ca0016;
	background-color: #f6edd3;
}

h1 { font-size: 26px; line-height: 30px;}
h2 { font-size: 23px; line-height: 27px;}
h3 { font-size: 21px; line-height: 25px;}
h4 { font-size: 19px; line-height: 23px;}
h5 { font-size: 17px; line-height: 21px;}
h6 { font-size: 15px; line-height: 19px;}

	a.button1 {
	padding: 8px 20px;
	font-size: 14px;
}

	a.button2 {
	padding: 8px 20px;
	font-size: 14px;
}
	
	#headerright {
	width: 50%;
	height: 80px;
}

img#logo {
	width: 300px;
	margin: 10px 10px 10px 0;
}

#phone {
	margin: 20px;
	font-size: 20px;
}
	
	header.sticky #headerright {
	width: 40%;
}

	#slider .caption1 {
    top: 30%;
	width: 45%;
}

#slider .caption1 h2 {
	font-size: 24px;
	line-height: 28px;
}

#slider .caption1 p {
	font-size: 16px;
}
	
	#hmsection1 .left {
	display: none;
}
	
	#hmsection1 .right {
	float: right;
	width: 100%;
}

#hmsection1 .right h1 {
	font-size: 26px;
	line-height: 30px;
}

#hmsection1 .services li {
	float: left;
	margin: 2%;
}

#hmsection1 .services li a {
	width: 100px;
	padding: 120px 30px 30px;
	font-size: 18px;
}
	
	#hmsection2 h3 {
	font-size: 28px;
	line-height: 32px;
}

#hmsection2 h5 {
	font-size: 16px;
	line-height: 20px;
}
	
	#hmsection3 .box h5 {
	font-size: 22px;
	line-height: 26px;
}
	
	#pagetitle h1 {
	font-size: 28px;
	line-height: 32px;
}
	
	#maincol {
	width: 70%;
}

#sidebar {
	width: 26%;
}
	
	#footer-widget-area .footerlogo {
	width: 120px;
	height: auto;
	float: left;
	margin: 0 30px 100px 0;
}
	
#footer-widget-area a.button1 {
	font-size: 14px;
}
	
	#footer-widget-area .line1 {
	font-size: 16px;
}

#footer-widget-area .line2 {
	font-size: 20px;
}

}

/************************************************************************************
smaller than 824
*************************************************************************************/
@media screen and (max-width: 824px) {

	body {
		line-height: 1.6;
	}
	
	.container {
		width: 100%;
		margin: 0;
		text-align: center;
	}

ol {
	margin: 20px 10px 20px 50px;
	list-style: decimal;
}

ul {
	margin: 20px 10px 20px 50px;
	list-style: circle;
}

table {
	margin: 20px 0;
}

	
	#mobilephone {
	display: block;
	position: fixed;
	right: 0;
	top: 40%;
	background: #3051a4;
	padding: 5px;
	z-index: 9999;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	box-shadow: 0 0 10px #333;
}

#mobilephone img {
	width: 24px;
	height: auto;
}
	
	#toggle {
		background: rgba(255,255,255, 0.7);
}
	
	header {
	position: static;
	width: 100%;
}
	
	#headerright {
	float: none;
	width: 100%;
	text-align: center;
	height: auto;
}

img#logo {
	width: 280px;
	height: auto;
	margin: 10px 0;
	float: none;
}

#phone {
	margin: 5px 0 10px 0;
	font-size: 16px;
}
	
	#slider .caption1 {
		display: none;
}
	
	#slider .caption2 p {
	font-size: 11px;
}
	
	#hmsection1 .container { 
	padding: 20px 0;
}
	
	#hmsection1 .left {
	display: none;
}

#hmsection1 .right {
	float: none;
	width: 100%;
}

#hmsection1 .right h1 {
	font-size: 20px;
	line-height: 24px;
}

#hmsection1 .services li {
	float: none;
	margin: 5px 0;
}

#hmsection1 .services li a {
	background-position: 50% 10%;
	background-size: 10% auto;
	width: 100%;
	padding: 60px 0 20px;
	font-size: 16px;
}
	
	#hmsection1 .video {
	float: none;
	margin: 1em auto;
}
	
	#hmsection2 .container {
	padding: 20px 0;
}

#hmsection2 h3 {
	font-size: 20px;
	line-height: 24px;
}

#hmsection2 h5 {
	font-size: 14px;
	line-height: 18px;
	padding-bottom: 20px;
	margin-bottom: 30px; 
}
	
	#hmsection2 p {
	margin: 20px;
}

#hmsection2 p:nth-of-type(1) {
	width: 90%;
	text-align: justify;
	margin: 20px auto;
}

#hmsection2 .box {
	width: 100%;
	float: none;
	color: #fff;
	margin: 20px 0;
	padding: 1px 0;
}

#hmsection2 .box:nth-of-type(2) {
	float: none;
}

#hmsection2 img {
	float: left;
	margin-right: 20px;
}

#hmsection2 .box h6 {
	font-size: 16px;
	line-height: 20px;
}

#hmsection2 .box p:nth-of-type(1) {
	margin: 0;
}

#hmsection3 .container {
	width: 100%;
}

#hmsection3 .left {
	float: none;
	width: 100%;
}

#hmsection3 .box h5 {
	font-size: 18px;
	line-height: 22px;
}

#hmsection3 .box {
	float: none;
	width: 100%;
	padding: 10px 0;
}

#hmsection3 .right {
	float: none;
	width: 100%;
	margin-right: 0;
}
	
	#recentblog .container {
	padding: 20px 0;
}

	#recentblog .hmpost {
	margin: 5px 0;
	width: 100%;
	float: none;
}
	
	#pagetitle {
	background: none;
	margin: 0 auto;
}

#pagetitle .container {
	padding: 0;
}
	
	#pagetitle h1 {
	color: #3051a4;
	margin: 20px 30px 5px 30px;
	font-size: 20px;
	line-height: 24px;
}
	
#fullcol {
	width: 100%;
	margin: 0;
	overflow:scroll;
	text-align: left;
}

#maincol {
	width: 100%;
	float: none;
	margin: 0;
	overflow:scroll;
	text-align: left;
}
	
#maincol .ngg-galleryoverview img {
	width: 100%;
	height: auto;
	}

#sidebar {
	float: none;
	width: 100%;
}
	
	#footer-widget-area #first {
	float: none;
	width: 100%;
}

#footer-widget-area .footerlogo {
	display: none;
}
	
	#footer-widget-area #second {
	float: none;
	width: 100%;
}
	
	#footer-widget-area .line1 {
	font-size: 14px;
}

#footer-widget-area .line2 {
	font-size: 26px;
}
	
	#footer-widget-area a.button1 {
	background-color: #881636;
	color: #fff;
	padding: 8px 20px;
	text-decoration: none;
	font-size: 14px;
	float: none;
	margin-left: 0;
}

/* =Sticky Sidebar Plugin Styles
-------------------------------------------------------------- */
.sticky-container {
	display: none;
	width: 24px;
}
	
ul.sticky  {
	list-style-type: none;
	padding: 0px;
	margin: 0 auto;
	background-color: #000;
	width: 100%;
}

.sticky li {
	list-style-type: none;
	height: 24px;
	padding: 0px;
	margin: 0px;
	cursor: pointer;
	float: left;
	background-color: #000;
}

}