/****************************************
*****************************************
MEDIAQUERIES
*****************************************
****************************************/

/* RESPONSIVE IMAGES 
img{ max-width:100%; height:auto;}
 */


/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {
#logobox{
	float:left;
	text-align:left;
	margin-bottom:-20px;/*this depends on the height of the logo*/
}
.menu-toggle{/*make menu float right, instead of sitting under the logo*/
	margin-top:10px; /*this depends on the height of the logo*/
	float:right;
}

} 

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width: 760px) {

.wrapper{
	max-width: 730px; 
	margin: .75em auto;
	padding:0 10px 0 10px;
}
header{
	padding:0;
}

/******* top logo **********/
.toplogo {
  width:500px;
  height:70px;
   float:left;
}

.logoicon {
  width:41px;
  height:31px;
  display:block;
  float:left;
  margin:20px 65px 0 25px;
}


/******** top wraper ***********/
#topwraper{
    position: relative; 
    height: 130px;
	margin: 0 auto 0 auto;
	width: 730px;
	background:#ffffff;
}
.topmenunav {
	display:block;
	float:left;
	width:730px;
	background:#018720;
	height:40px;
}


/******** page navigator ***********/
#pagenavigator{
    position: relative; 
    height: 6px;
	margin: 0 auto 0 auto;
	width: 730px;
	background:#dcdada;
	border-top:1px solid #dcdada;
	border-right:1px solid #c9c9c9;
	border-left:1px solid #c9c9c9;
}
.topnavigator {
	padding:3px 0 5px 5px !important;
	margin:3px 0 5px 5px !important;
}
.topnavigator a {
	font-size:0.8em  !important;
    font-weight: 100 !important;
}


/******** logobox ***********/
#logobox{ 
	float:left; 
	text-align:left;
	padding:5px 0 5px 0px;
	display:block;
	width:750px;
	height:100px;
}


/******** intro Slide ***********/
#intro{
	padding:0;
}
#intro .grid_4 { width: 100%; }
#intro .grid_8 { width: 80%; margin:40px 10% 0;}



/******** main body ********/	
#content {  
	float:left;
	width:65%;
}
#content.wide-content{
	float:none;
	width:100%;
}

.mainbody{
    margin: 0 auto 0px auto;
    position: relative;
    text-align: left;
	width: 750px;
	min-height:550px;
	padding:0 0 15px 40px;
	z-index: 1;
	background:#ffffff;
	border-left:1px solid #c9c9c9;
	border-right:1px solid #c9c9c9;
	border-bottom:1px solid #dfdfdf;
}
.bodycontent {
    float: left;
    margin-top: 0px;
    text-align: left;
    width: 650px;
	border-top:1px solid #ffffff;
}
.bodycontent p{
    font-size:0.9em !important;
}


/*** general form ***/
#generalform {
    float: right;
    margin-top: 10px;
    text-align: left;
    width: 710px;
	border-top:1px solid #ffffff;
    display:block;
}


	
/******** footer ********/	
#footerbody{
    margin: 0px auto 20px auto;
    position: relative;
    text-align: left;
	width:730px;
    z-index: 1;
	border:1px solid #c9c9c9;
	border-top:1px solid #ffffff !important;
	background:#f3f3f3;
	height:70px;
}
.footerleft{
  float:left !important;
  text-align:left !important; 
  margin:13px 5px 5px 10px !important;
}
.footerright{
  float:right !important;
  text-align:right !important;
  font-size:0.9em !important;
  margin-top:13px !important;
  line-height:1.5em !important;
  margin:13px 10px 5px 10px !important;
}
#footerbody .grid_3 { display:block; width:25%; float:left; }
#footerbody .grid_7 { display:block; width:65%; float:right;}



/***** flexslider *****/
.flexslider{
	display:block;
/*demo 1 slider theme*/	
margin: 0; 
}
.flex-control-nav {bottom: 5px;}


/**** home slideshow ****/
.homeslider {
    float: left;
    margin-top: 40px;
    text-align: left;
	width: 650px;
	padding:0px 0 10px 0px;
	z-index:999;
}
#mainSlideshow {
    margin: 0px;
    width: 650px;
    height: auto;
}
.slidesjs-navigation,.slidesjs-stop,.slidesjs-pagination { display:none !important; }

	

/******** left menu ********/
#left-sidebar {
    float: left;
    margin:0 1px 0 0;
    padding:0;
    width: 224px;
    display:block !important;
	}
	#left-sidebar .rmenu {	
		margin:0 0 10px 0;
		padding: 0;
		z-index: 30;
	}
	#left-sidebar .rmenu li {	
		list-style: none outside none;
	
	}
	/* Main Cate */
	#left-sidebar .rmenu li.cate a {	
		margin:0px;
		color: #12316f;		
		font-size: 90%;
		line-height:16px;
		padding:8px 4px 8px 25px;
		display:block;
		border-bottom:1px solid #e1e1e1;
		text-shadow: 1px 1px #ffffff;
		background:url(images/bull.gif) no-repeat scroll 12px center;
		
	}
	#left-sidebar .rmenu li.cate-active a {	
		margin:0px;
		color: #ffffff;		
		font-size: 95%;
		line-height:16px;
		padding:8px 4px 8px 27px;
		display:block;
		border-bottom:1px solid #e1e1e1;
		background:url(images/arrow-r-wh-s1.png) no-repeat scroll 210px center #5a91fd !important;
	}
	#left-sidebar .rmenu li.cate a:hover	{	
		color: #ffffff;
		background:url(images/bull.gif) no-repeat scroll 12px center #5a91fd!important;
		text-decoration:none;
		text-shadow: 1px 1px #666666;
	}
    #left-sidebar .rmenu li.cate-active a:hover
	{	
		color: #ffffff;
		background:#5a91fd;
		text-decoration:none;
	}

	/* header title */
	#left-sidebar .rmenu li.hd1 a
	{ 
		color:#12316f;
		font-size: 95%;
		font-weight:bold;
		line-height:16px;
		padding:10px 4px 10px 	12px;
		display:block;
		border-top:1px solid #f4f4f4;	
		border-bottom:1px solid #e1e1e1;
		background:#eef3ff;
	}	
	#left-sidebar .rmenu li.hd1-active a
	{ 
		color:#12316f;
		font-size: 95%;
		font-weight:bold;
		line-height:16px;
		padding:13px 4px 13px 20px;
		display:block;
		border-top:1px solid #e1e1e1;	
		border-bottom:1px solid #e1e1e1;
		background:#eef3ff;	
	}
	#left-sidebar .rmenu li.hd1 a:hover,#left-sidebar .rmenu li.hd1-active a:hover
	{	
		color: #ffffff;
		background:#5a91fd;
		text-decoration:none;
	}
	
	
/******** Left side box ***********/  
#sideboxr{
		float: left;
		margin:10px 0px 20px 10px;
		padding:0;
		width: 214px;
		border-top:1px solid #ffffff;
		background:#f5f5f5;
		position: relative;
	}
	#sideboxr .titlebar {
		color:#12316f;
		font-size: 100%;
		font-weight:bold;
		line-height:16px;
		padding:12px 0px 11px 20px;
		display:block;	
		border-bottom:1px solid #b5b6b6;
		background:#cfd0d0;
		z-index:1;
	}	
	#sideboxr .boxcontent {
		color:#12316f;
		font-size: 90%;
		line-height:16px;
		padding:15px;
		display:block;	
		border-left:1px solid #e1e1e1;
		border-bottom:1px solid #e1e1e1;
		background:#ffffff;
	}
	/* contact box header */
	#sideboxr .iconcontact {
		width: 53px; 
		height: 36px; 
		position: absolute; 
		left: 13px; 
		top: -8px; 
		background: url(images/icon-mail.png) no-repeat;  
	}
    .contacttitle {
		padding-left:75px !important;
	}
/* This imageless css button was generated by CSSButtonGenerator.com */
.buttoncls {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background-color:#ededed;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid #dcdcdc;
	display:inline-block;
	color:#777777;
	font-family:arial;
	font-size:11px;
	font-weight:bold;
	padding:4px 6px;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffffff;
}.buttoncls:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background-color:#dfdfdf;
}.buttoncls:active {
	position:relative;
	top:1px;
}
a.morebtn { display: block; clear: both; height: 19px; margin:10px 0 0 0; padding: 1px 0 0 30px; color: #00548e; background: url(images/arrow-more-info.png) no-repeat left top; }
a.morebtn:hover { text-decoration:underline; }


	
	
	
/*** main menu - essential styles ***/
.menu-toggle{display:none;}
#menu-main-navigation{display:block;}

.srt-menu, .srt-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.srt-menu ul {
	position:		absolute;
	display:none;
	width:			12em; /* left offset of submenus need to match (see below) */
}
.srt-menu ul li {
	width:			100%;
}
.srt-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.srt-menu li {
	float:			left;
	position:		relative;
	margin-left:1px;
	height:25px;
}
.srt-menu li li {
	margin-left:0px;
	height:auto;
}
.srt-menu a {
	display:		block;
	position:		relative;
}
.srt-menu li:hover ul,
.srt-menu li.sfHover ul {
	display:block;
	left:			0;
	top:			42px; /* match top ul list item height */
	z-index:		99;
}
ul.srt-menu li:hover li ul,
ul.srt-menu li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li:hover ul,
ul.srt-menu li li.sfHover ul {
	left:			12em; /* match ul width */
	top:			0;
}
ul.srt-menu li li:hover li ul,
ul.srt-menu li li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li li:hover ul,
ul.srt-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}


/* menu style */
#topnav {
	float:left;
	margin:5px 0 0 0;
}
.srt-menu {
	float:left;
	margin:0 0 0 10px;
}
.srt-menu a {
	text-decoration:none;
}
.srt-menu li a{
	margin:0; 
	padding:5px 18px;
	border-bottom:0px;
	background:#018720;
    border-bottom:0px !important;
	margin:0 3px;
	text-shadow: 1px 1px #111111;
}
.srt-menu a { /* visited pseudo selector so IE6 applies text colour*/
	color:#f4f4f4!important;
	font-weight:bold!important;
}
.srt-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:#f4f4f4!important;
	font-weight:bold!important;
}
.srt-menu li li a {
	border-top:		1px solid rgba(255,255,255,.2);
	color:	#f4f4f4;
	padding-left:20px;	
	background:#3366cc;
}
 

.srt-menu li a:hover,.srt-menu li.current a{
	color:#264fa0 !important;
	background:#dcdada !important;
    border-bottom:0px !important;
	text-shadow: 1px 1px #f4f4f4;
}
 
.srt-menu li li:hover > a{
	color:#f4f4f4;
	background:#3b78f4;
}
/* menu desktop */
.mndevice { display:none; visibility:hidden; } 




/*top language*/
#toplang {
    height: 40px;
    right: 0px;    
	top: 15px;
    position: absolute;
    text-align: right;
    z-index: 9999;
    display:block;
	width:200px;
	clear:right;
	padding:0;
}
#toplang a.langbtn{
    font-size:10px;
	color:#666666;
	font-size:12px;
}
#toplang a.langbtn:hover { 
  color:#024989;
}

/*top right menu*/
#toprmenu{
    height: 30px;
    right: 10px;    
	top: 25px;
	color:#494949;
	font-size:11px;
	position: absolute;
    text-align: right;
    z-index: 99;
    display:block;
	width:500px;
	clear:right;
	padding:0;
}
#toprmenu a.lnkbtn{    
	color:#f4f4f4;
	font-size:11px;
}
#toprmenu a.lnkbtn-last{    
	color:#f4f4f4;
	font-size:11px;
}
#toprmenu a.lnkbtn:hover,#toprmenu a.lnkbtn-last:hover{ 
  color:#f4f4f4;
  text-decoration:underline;
}


/*GRID*/
/*
 & Columns : 12 

 */
.grid_1 { width: 5%; }
.grid_2 { width: 13.333333333333%; }
.grid_3 { width: 21.666666666667%; }
.grid_4 { width: 30%; }
.grid_5 { width: 38.333333333333%; }
.grid_6 { width: 46.666666666667%; }
.grid_7 { width: 55%; }
.grid_8 { width: 63.333333333333%; }
.grid_9 { width: 71.666666666667%; }
.grid_10 { width: 80%; }
.grid_11 { width: 88.333333333333%; }
.grid_12 { width: 96.666666666667%; }

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-left: 1.6666666666667%;
	margin-right: 1.6666666666667%;
	float: left;
	margin-bottom:0px;
}


/* CUSTOMS BLOCK */
.fixblock1 { width: 5%; }
.fixblock_2 { width: 13.333333333333%; }
.fixblock_3 { width: 21.666666666667%; }
.fixblock_4 { width: 30%; }
.fixblock_5 { width: 38.333333333333%; }
.fixblock_6 { width: 46.666666666667%; }
.fixblock_7 { width: 55%; }
.fixblock_8 { width: 63.333333333333%; }
.fixblock_9 { width: 71.666666666667%; }
.fixblock_10 { width: 80%; }
.fixblock_11 { width: 88.333333333333%; }
.fixblock_12 { width: 96.666666666667%; }
.fixblock_1,
.fixblock_2,
.fixblock_3,
.fixblock_4,
.fixblock_5,
.fixblock_6,
.fixblock_7,
.fixblock_8,
.fixblock_9,
.fixblock_10,
.fixblock_11,
.fixblock_12{
	margin-left: 1.6666666666667%;
	margin-right: 1.6666666666667%;
	float: left;
	margin-bottom:0px;
 }


.alpha{margin-left:0px;}
.omega{margin-right:0px;}
.rightfloat{float:right;}
/* @
 * tinyfluidgrid.com
 & girlfriendnyc.com
 */

}

/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1024px) {


} 

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {

} 

/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {


} 

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 

  
}
