/* layout */
#main-container { width:940px; margin:0 auto; padding:0; background:url(/images/content-bg.png); }
.overcontent { width:960px; margin:19px auto 0; height:11px; overflow:hidden; background:url(/images/content-top.png) top center no-repeat; }
.undercontent { width:960px; margin:0 auto 10px; height:20px; overflow:hidden; background:url(/images/content-bottom.png) top center no-repeat; }
#leftcol { float:left; width:218px; padding-left:0; }
#rightcol { float:right; width:718px; padding-right:0; background: #fff; }
#content { width:658px; background:#fff; padding:0 30px 30px; min-height:350px; }
#content img { max-width: 300px; }

/* embedded video aspect ratio adjustment */
.videoWrapper, .videoWrapperFixed { position: relative; height: 0; margin: 0 0 20px; border: 0; }
.videoWrapper { padding-bottom: 56.25%; }
.videoWrapperFixed { padding-bottom: 350px; }
.videoWrapper iframe, .videoWrapperFixed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* case studies */
.cs-item { margin:15px 0 0; padding:20px 0 0; border-top:1px solid #aaa; }
.cs-item h3, .cs-item p { margin:4px 0 10px; }
.cs-item h3 { font-size:22px; line-height:25px; }
.cs-item h3 a { text-decoration:none; }
.casestudylist { width:478px; float:right; padding-right:200px; }
.casestudy-icon { float:left; width:180px; }

/* sidenav */
#sidenav { width:218px; padding:0; }
#sidenav ul { font-family:"museo-sans", Arial, Helvetica, sans-serif; font-weight:700; line-height:22px; font-size:18px; list-style:none; margin:0; padding:0; width:218px; }
#sidenav ul li { border-bottom:2px solid #C4DEE4; }
#sidenav ul li a { background:#fff url(/images/sidenav-bg.jpg) bottom right no-repeat; color:#17608a; display:block; text-decoration:none; width:194px; padding:10px 12px 8px; }
#sidenav ul li a:hover, #sidenav ul li.sidenavon a, #sidenav ul li.sidenavon a:hover { color:#fff; background:url(/images/sidenav-bg.jpg) bottom left no-repeat; text-decoration:none; text-shadow:-1px -1px 0 #2e3b45; }

/* footer */
#footer-container { height:100px; overflow:hidden; }
#footer { width:920px; padding:15px 20px 0 20px; height:178px; margin:19px auto 0; overflow:hidden; background:url(/images/transparent-bg-content.png); }
.footerright { float:right; width:565px; }
#footer .signupcontent p { margin:0 0 8px; }
#footer .footerleft p { margin:0 0 4px; line-height:19px; font-size:17px; }
#footer .footerright p { margin:0; }
#footer .footerright p.smallprint { line-height:14px; margin:2px 0 0; }
.footerleft { float:left; display:block; width:325px; }
.signupform { float:right; width:266px; margin-top:3px; }
.signupcontent { float:left; width:290px; }
.formfirst { float:left; }
.formsecond { float:right; }
#footer p.normalfootertext { margin:0 0 4px; font-family:"news-gothic-std", Arial, Helvetica, sans-serif; font-size:14px; color:#000; line-height:20px; font-weight:normal; }

/* social media */
.socialmediafloat { float:right; margin:2px 0 0; }
#content .socialmediafloat img { border:none; margin:0 0 0 1px; padding:0; box-shadow:0; max-width: 24px; }
@media (max-width: 767px) {
	.socialmediafloat { float:none; clear:both; margin-top:2px !important; }
}
/* blogs */
.blogsidebox h2 { padding:0 20px; margin:20px 0 0; }
.blogsidebox .sidebox-item { margin:0; padding:20px; background:none; }
.blogsidebox .sidebox-item p { margin:4px 0; font-size:16px; letter-spacing:-0.5px; }
.blogsidebox .sidebox-item .blogthumb { width:203px; background:#aaa; text-align:center; margin:0 0 10px; }
.blog-list-page-item { margin:20px 0 30px; clear:both; }
.blog-list-page-item h3 { border-bottom:1px solid #aaa; font-size:20px; letter-spacing:-1px; }
.blog-list-page-item h3 a { text-decoration:none; }
.blog_post { clear:both; }
.post_title { display:block; font-size:18px; font-weight:normal; margin:15px 0 4px; }
.post_body { display:block; }
.post_footer { clear:both; font-size:11px; }
.post_author { font-size:11px; }
.post_date { font-size:11px; }
.blog_post label { display:block; float:left; width:60px; clear:left; text-align:right; font-size:12px; }
.blog_post input, .blog_post textarea { margin-bottom:6px; display:block; margin-left:65px; }
.blog_comment { background:#ebebeb; padding:6px 10px 10px; margin-top:10px; }
.blog_comment_reply { background-color:#eeeeee; padding:10px; border-top:3px #fff solid; margin-left:30px; }
.comment_author { font-size:11px; padding:0; margin:6px 0; border-bottom:1px solid #aaa; display:block; }
.comment_body { display:block; }
.comment_title { display:block; font-size:18px; font-weight:normal; margin:10px 0; }
#emailfriend p { margin:6px 0; }
.blogsidebox-body { padding:5px 0 20px; }
.blogbox-item { margin:15px 0; }
.blogbox-item-date { display:block; font-size:11px; font-weight:bold; color:#fff; line-height:18px; background:url(/images/date-bg.png); height:19px; width:57px; float:left; padding:0 0 0 5px; margin:0 0 0 20px; }
.blogbox-item-title { font-size:16px; color:#edcafe; line-height:18px; display:block; float:right; width:132px; padding:0; margin:0 20px 0 0; }
.blogbox-item-title a, .blogbox-item-title a:hover { text-decoration:none; }
.blogbox-item-base { padding:7px 0 20px; font-size:12px; line-height:18px; color:#dddddd; margin:0 20px; }

/* news events */
#news-events-section { display:block; }
.newseventsitem { clear:both; }
#newsevents { margin-bottom:20px; }
.newsevents-item-date { font-size:11px; float:right; line-height:26px; display:block; margin-top:0; }
.newsevents-item-title { display:block; margin-top:20px; border-bottom:1px solid #666666; width:100%; text-decoration:none; }
.newsevents-item-title a { text-decoration:none; }
.newsevents-item-summary { display:block; font-size:14px; width:100%; line-height:24px; }
p.newseventssingledate { display:block; border-bottom:1px solid #aaa; }


.menu-icon { display: none; cursor: pointer; color: #fff; text-transform: uppercase; text-align: center; font-weight: bold; line-height: 33px; font-size: 22px; padding: 0; width: 30px; height: 26px; position: absolute; right: 15px; top: 7px; }
.menu-icon .menu-box { width: 30px; height: 26px; margin-right: 20px; padding: 0; position: absolute; left: 0; }
.menu-icon .menu-box span { width: 100%; height: 4px; margin-bottom: 6px; background: #fff; display: block; border-radius: 2px; transition: all 0.5s; -webkit-transition: all 0.5s; }
.menu-icon.active span:nth-child(1) { transform: rotate(45deg) translateY(8px) translateX(6px); -webkit-transform: rotate(45deg) translateY(8px) translateX(6px); }
.menu-icon.active span:nth-child(2) { opacity: 0; }
.menu-icon.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px) translateX(6px); -webkit-transform: rotate(-45deg) translateY(-7px) translateX(6px); }

#topnav { background-image: inherit; background-position: center; }
#topnav ul li:last-child:hover ul { left: inherit; right: 0; }
#footer input.submit-button { appearance: none; -webkit-appearance: none; -ms-appearance: none; -o-appearance: none; -moz-appearance: none; }
#main-container { background: inherit; border: solid 10px rgba(255,255,255,0.5); outline: solid 1px #fff; }
.undercontent, .overcontent { display: none; }

@media (max-width:1075px) {
	/*#header { width: 725px; box-sizing: border-box; background-position: -80px top; }
	#header-left { width: 150px; }
	#logo { width: 143px; }
	#logo a { display: block; }
	#logo a img { width: 100%; height: auto !important; }
	#topnav { width: 735px; }
	#topnav { font-size: 15px; }*/
	#content img { max-width: 270px; }

	#banner-container { width: 725px; background-size: 100%; padding: 18px 0 0 18px; box-sizing: border-box; height: 290px; }
	#slider { width: 686px !important; height: 252px !important; }
	.nivo-caption h2 { font-size: 38px; line-height: 40px; margin-bottom: 20px; }

	#main-container { width: 768px; box-sizing: border-box; }
	.undercontent, .overcontent { width: 100%; box-sizing: border-box; }
	#rightcol { width: 525px; }
	#content { width:465px; }
	#footer h3 { font-size: 22px; }

	#slider-wrapper { height: auto !important; }

}
@media (min-width:768px) and (max-width:977px) {	
	#header-left { position:relative; }
	.header_in a { position: absolute; top:130px; left:40px; }
	.header_twitter a { position: absolute; top:125px; left:0px; }
}
@media (max-width:977px) {
	#content img { max-width: 238px; }
	#header { width: 725px; box-sizing: border-box; background-position: -80px top; }
	#header-left { width: 150px; }
	#logo { width: 143px; margin-top:90px; height:auto; }
	#logo a { display: block; }
	#logo a img { width: 100%; height: auto !important; }
	#topnav { width: 735px; }
	#topnav { font-size: 15px; }

	#banner-container { width: 725px; background-size: 100%; padding: 18px 0 0 18px; box-sizing: border-box; height: 290px; }
	#slider { width: 686px !important; height: 252px !important; }
	.nivo-caption h2 { font-size: 38px; line-height: 40px; margin-bottom: 20px; }

	#main-container { width: 725px; }
	#rightcol { width: 482px; }
	#content { width: 423px; }

	.footer-banner { width: 725px; background-size: cover; }
	#footer-banner h3 { font-size: 22px; }
	#footer-banner h3 .footerblock { padding-left: 30px; }
	#footer-banner h3 .footertitle { font-size: 30px; }

	#footer { width: 725px; box-sizing: border-box; height: auto; background-repeat: no-repeat; padding: 15px 0 0; }
	#footer > h3 { padding: 0 25px; }
	.footerright { width: 325px; }
	.signupform { width: 100%; margin-top: 50px; float: none; }
	.signupcontent { width: 100%; }
	/*#content img { max-width: 170px; }*/
	.formsecond { width: 49%; }
	.formfirst { width: 49%; }
	#footer input.firstname { width: 100%; }
	#footer label { clear: both; }
	#footer-container { height: auto; }
	#footer input { width: 100%; box-sizing: border-box; }
	#footer input.form-email { width: 49%; }
	#legal { width: 725px; box-sizing: border-box; background-size: 210%; border-right: 2px #fff; height: 90px; }
	.footerleft { padding: 0 25px; float: none; }
	.footerright { width: 100%; background: rgba(255,255,255,0.5); float: none; clear: both; padding: 25px; box-sizing: border-box; border: solid 1px #fff; margin: 30px 1px 0; }
	#footer .footerright p.smallprint { margin: 15px 0; }
}
@media (max-width:767px) {
	#header { width: 600px; background-position: -135px top; z-index: 999999; background: url(/images/navigation-bg.png) no-repeat 102px 135px; }
	#header-left { width: 90px; }
	#header-middle { width: 355px; }
	#logo { height: 102px; margin-top: 35px; }
	#topnav { width: 600px; position: relative; }
	.enumenu_ul { display: none; padding-top: 30px; }
    .menu-block { height: auto; }
    .menu-icon { display: block; }

    #header-container { position: relative; z-index: 999; }
    #topnav ul { position: absolute; left: 0; top: 100%; right: 0; background: url(/images/topnav-bg.png) repeat-y center center; }
    #topnav ul li { display: block; float: none; text-align: center; position: relative; padding-left: 0; margin-right: 0; }
    #topnav ul li a { display: block; float: none; position: relative; z-index: 0; text-shadow: inherit; }
    #topnav ul li:hover, #topnav ul li.navon { background: none; }
    #topnav ul li:hover a, #topnav ul li.navon a { background-image: none; background-color: #4d94bc; }
    #topnav li ul { position: relative; width: 100%; left: 0 !important; top: 100% !important; border-bottom-right-radius: 0; border-bottom-left-radius: 0; box-shadow: inherit; }
    #topnav li ul li a { width: auto; padding: 7px 10px 5px; background-image: inherit; }
    .arrow { width: 20px; height: 20px; display: block; position: absolute; right: 10px; top: 6px; z-index: 999999; border: solid 2px #fff; }
    .arrow:before { content: ""; height: 1px; width: 10px; background: #fff; display: block; position: absolute; top: 10px; left: 5px; }
    .arrow:after { content: ""; height: 10px; width: 1px; background: #fff; display: block; position: absolute; top: 6px; left: 10px; }
    .arrow.up:after { opacity: 0; }   

    #banner-container { width: 610px; height: 243px; padding: 15px 0 0 15px; }
    #slider { width: 578px !important; height: 213px !important; }
    .nivo-caption h2 { font-size: 28px; line-height: 32px; }
    .nivo-caption p { margin-bottom: 20px; }  

	#main-container { width: 590px; }
	#rightcol { width: calc(100% - 11px); border-right: solid 11px rgba(255,255,255,0.5); }
	#leftcol { display: none; }
	#content { width: auto; padding-top: 1px; }

	#content img { max-width: 100%; width:100%; }
	#content blockquote p { font-size: 16px; }

	#footer-banner h3 { font-size: 20px; }
	#footer-banner h3 .footertitle { font-size: 24px; }
	#footer { width: 600px; }
	/*.footerright { width: 250px; }*/
	#footer h3 { font-size: 18px; line-height: 25px; }	
	#footer .footerright p { font-size: 12px; line-height: 18px; }
	.formfirst { width: 49%; }
	.formsecond { width: 49%; }
	#legal { width: 600px; background-size: 260%; }
	.footer-banner { width: 600px; }
	.footerleft { width: 305px; }

	.twitter-feed, .tweet { width: 310px; }
	.twitter-feed { background: #ddf2fb; padding: 7px 15px; border-radius: 50px; text-align: center; }
}
@media (max-width:640px) {
	#header { width: 430px; background-position: 52px 135px; position: relative; }
	#topnav { width: 430px; }
	#header-middle { width: 260px; }
	#twitter-container { width: 100%; }
	.twitter-feed, .tweet { width: 100%; }
	#twitterusertimeline .tweet .text { margin-top: 0; }
	#staticnav { width: 330px; padding-left: 0; }
	#logo { position: absolute; right: 0; top: 0; margin-top: 20px; height: 125px; }

	#banner-container { width: 450px; height: 180px; padding: 11px 0 0 11px; }
	#slider { width: 426px !important; height: 156px !important; }
	.nivo-caption h2 { margin-bottom: 10px; font-size: 26px; line-height: 30px; }
	.nivo-caption p { font-size: 20px; line-height: 24px; margin-bottom: 15px; }
	
	#main-container { width: 435px; }
	#rightcol { width: 100%; box-sizing: border-box; }	
	#content { width: 100%; box-sizing: border-box; }
	.footer-banner { width: 440px; height: auto; }
	#footer { width: 440px; padding-left: 0; padding-right: 0; }
	#footer-banner { height: auto; padding: 15px 0; }
	#footer-banner h3 { font-size: 18px; text-align: center; line-height: 30px; }
	#footer-banner h3 span { display: block; float: none; }
	#footer-banner h3 .footertitle { font-size: 20px; padding-left: 0 !important; }
	#footer-banner h3 .footerblock { padding-left: 15px; }
	.footerleft { float: none; width: auto; padding: 0 15px; }
	#footer h3 { padding: 0 15px; }
	.footerright { width: 100%; clear: both; padding-top: 0; background: rgba(255,255,255,0.5); margin: 30px 0 0; border: solid 1px #fff !important; padding: 15px; box-sizing: border-box; }
	.signupform { margin-top: 20px; }
	#footer input.form-email { background-size: cover; }
	#footer input.firstname { width: 100%; }
	#legal { width: 440px; height: 110px; background-size: 420%; background-repeat: no-repeat; }
	#footer .footerleft p { font-size: 16px; }
	#content { padding-top: 1px; }

	#twitter-container { margin-left: -24px; }
	.twitter-feed, .tweet { width: 172px; }
	#twitterusertimeline .tweet .text { margin-bottom: 0; }
}
@media (max-width:480px) {
	html, body, p, td { font-size: 12px; line-height: 18px; }
	h1 { font-size: 20px; line-height: 28px; }
	
	#header { width: 280px; height: 275px; background-position: -72px 220px; }
	#header-left { height: 88px; padding-top: 25px; }
	#header-middle { width: 100%;  float: none; clear: both; }
	.twitter-feed, .tweet { width: 100%; }
	#twitter-container { height: 85px; }
	#header-container { height: 315px; }
	#staticnav { width: 281px; position: absolute; bottom:9px; }
	#staticnav ul li.menu1 a { width: 50px; }
	#staticnav ul li.menu2 a { width: 79px; }
	#staticnav ul li.menu3 a { width: 48px; }
	#topnav { width: 280px; }
	#header-middle { height: 153px; }

	#banner-container { width: 290px; height: 170px; padding: 0; background: none; border: solid 10px rgba(255,255,255,0.5); }
	#slider { width: 270px !important; height: 150px !important; }
	.nivo-caption { width: 270px; top: 10px; left: 10px; }
	.nivo-caption h2 { font-size: 17px; line-height: 23px; margin-bottom: 5px; }
	.nivo-caption p {  font-size: 14px; line-height: 16px; margin-bottom: 5px; }

	#main-container { width: 290px; }
	#content { padding: 1px 15px; }
	#content ul { margin: 11px 0 10px 30px; }
	#rightcol { padding-right: 0; }
	#footer h3 { margin: 2px 0 45px; }

	.footer-banner { width: 280px; }
	#footer { width: 280px; background-size: 150%; }
	#legal { width: 280px; height: 130px; background-size: 920%; }	
	.footerleft { padding-top: 0; width: 100%; clear: both; padding-top: 0; background: rgba(255,255,255,0.5); margin: 30px 0 0; border: solid 1px #fff !important; padding: 15px; box-sizing: border-box; }
	#footer .footerleft p { font-size: 12px; line-height: 14px; }
	#twitterusertimeline .tweet .text { margin-top: 10px; }
	#footer input.submit-button { width: 120px; }
	
	.twitter-feed { padding: 7px 0 7px 15px;  }
	#twitter-container { margin-left: 0; margin-top: 0; }
	.twitter-feed, .tweet { width: 93%; }
	#twitter-container { height: auto; }
}