@import url("https://use.typekit.net/gna6syl.css");

body{margin:0;padding:0;}
img{border:0;}
.fl_menu{list-style:none;margin:0;padding:0;}
.cms_imgleft{margin:3px 5px 5px 0;float:left;border:1px solid #000;}
.cms_imgright{margin:3px 0 5px 5px;float:right;border:1px solid #000;}
h1{margin:0;font-size:28pt;line-height:30pt;}
h2{font-size:20pt;line-height:24pt;}
h2, h3{margin:0 0 5px 0;}
.clear{clear:both;}
.gallthumbnail{float:left;border:2px solid #666;margin-right:5px;margin-bottom:5px;}
.fl_blogpostavatar{float:right;border:2px solid #666;margin:0 0 5px 5px;}
.fl_commentavatar{float:left;border:2px solid #666;margin:0 5px 0 0;}
.fl_commentname{display:block;margin-left:80px;text-transform:uppercase;margin-bottom:5px;font-size:8pt;}
.fl_commentmessage{display:block;margin-left:80px;}
.fl_gtname{display:block;text-transform:uppercase;margin-bottom:5px;font-size:8pt;}
.fl_gtmessage{display:block;}
#fl_blogentries .fl_blogpost1, #fl_blogentries .fl_blogpost2{border-top:1px solid #eee;padding-top:30px;margin-top:30px;}
.fl_postinfo{text-transform:uppercase;margin:0 0 5px;font-size:12px; color: #5a5a5a;}
.fl_blogfooter{clear:both;}
.fl_comment1{display:block;padding:5px;margin-top:5px;}
.fl_comment2{display:block;padding:5px;background-color:#eee;margin-top:5px;}
.fl_commclear{display:block;clear:both;}
#fl_commsbox, #fl_tracksbox{clear:both;padding-top:15px;}
.fl_bigpic{border:2px solid #666;}
.fl_bigcaption{margin-top:10px;}
.fl_rssentry{clear:both;}
.fl_rssimg{float:right;display:block;border:2px solid #666;margin:0 0 5px 5px;}
.fl_rsstitle{font-size:18pt;line-height:24pt;font-weight:bold;}
.fl_rssby{text-transform:uppercase;margin-bottom:5px;font-size:8pt;}
.fl_gallpreview1{margin-bottom:10px;padding:5px;clear:both;}
.fl_gallpreview2{margin-bottom:10px;background-color:#eee;padding:5px;clear:both;}
.fl_gallpreview1 img, .fl_gallpreview2 img{float:left;border:2px solid #666;}
.fl_galllink, .fl_galltext{display:block;margin-left:110px;}
td.fl_label{display:block;width:100px;}
.fl_mailform textarea{width:400px;height:200px;}
.fl_votebar{background-color:#fff;height:10px;}
input.fl_regform{width:100px;}
.fl_postingform{display:none;}
.fl_postingform textarea{height:100px;}
.fl_rsslinks{display:none;}
.fl_rating{float:right;text-align:right;}
#msgwrap{position:fixed;top:150px;left:50%;text-align:center;z-index:99;}
#msgbar{position:relative;color:#fff;border-width:3px;border-style:solid;padding:15px;font-size:28px;line-height:40px;width:300px;left:-168px;display:none;font-family:"Lucida Sans","Lucida Grande", Lucida, Tahoma, Verdana, Arial, Helvetica, sans-serif;cursor:default;}
#msgbar a{color:#fff;}
#topbar{display:none;position:fixed;z-index:99;background-color:#4ad;color:#fff;top:0;left:0;width:100%;font-size:12px;border-bottom:3px solid #079;text-align:center;}
#topbar a{color:#fff;}
#topcont{padding:10px;}
input, textarea{border:1px solid;padding:3px;background-color:#fff;border-color:#000;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:12px;}
textarea{width:300px;height:150px;}
input:hover, input:focus, textarea:hover, textarea:focus{background-color:#eee;}
.fl_later{float:left;}
.fl_earlier{float:right;}
.flmsg_alert{background-color:#4ad;border-color:#079;}
.flmsg_error{background-color:#900;border-color:#600;}
.flmsg_success{background-color:#096;border-color:#066;}
.flmsg_generic{background-color:#666;border-color:#999;}
#fl_commsbox{margin:5px;padding:5px;border:1px dotted #333;background-color:#eee;}
#fl_gallwrap{position:fixed;top:0;left:0;margin:0;padding:0;width:100%;height:100%;display:none;font:11px Arial, Helvetica, sans-serif;line-height:20px;color:#333;text-align:left;}
#fl_gallcover{position:fixed;width:100%;height:100%;top:0;left:0;margin:0;padding:0;background-color:#000;opacity:0.8;filter:alpha(opacity=80);}
#fl_gallbox{position:relative;top:5%;margin:0 auto;background-color:#fff;padding:10px;width:100px;height:100px;}
#fl_gallpic{display:block;margin:0 auto;position:relative;top:35%;}
#fl_gallbelowpic{clear:both;display:none;padding:5px 10px 10px;margin:0 -10px;background-color:#fff;overflow:hidden;}
#fl_gallwrap a{color:#666;text-decoration:none;}
#fl_gallwrap a:hover{color:#444;}
#fl_gallprevnext{background:url('../scripting/blank.gif');position:relative;}
#fl_gallprev{position:absolute;z-index:50;}
#fl_gallnext{text-align:right;position:absolute;z-index:50;right:0;}
#fl_gallclose, #fl_gallslide{clear:right;float:right;}
a#fl_gallprev:hover, a#fl_gallnext:hover, a#fl_gallclose:hover{border-width:0;}
#fl_gallprev img, #fl_gallnext img{visibility:hidden;padding-top:50px;}
#fl_gallprev:hover img, #fl_gallnext:hover img{visibility:visible;}

* { margin: 0; padding: 0; border: 0; outline: none; }
html, body { min-height: 100%; background: #fff; color: #000; font: 14px/24px soleil, sans-serif; }
p { margin: 10px 0; }
ul, ol { margin: 10px 20px; }
a { color: #a8bc59; }
a:hover { text-decoration: none; opacity: 0.5; }
img { max-width: 100%; height: auto!important; }

h1, h2, h3, h4 { margin: 25px 0; font-weight: bold; font-family: le-havre, sans-serif;
color: #5a5a5a; text-transform: uppercase; }
h1 { font-size: 64px; line-height: 64px; margin-top: 0; }
h2 { font-size: 48px; line-height: 48px; font-weight: 300; margin-top: 0; }
h3 { font-size: 48px; line-height: 48px; }
h4, h3#comments { font-size: 32px; line-height: 32px; }
h1 b, h3 b, h4 b, h1 strong, h3 strong, h4 strong { font-weight: bold; }
h2 b, h2 strong { font-weight: 300; }
h2 i, h2 em { font-style: normal; color: #a8bc59; }
h1:empty { display: none; }

.textlabel { position: absolute; margin-left: -9999px; }

.skipto a { position: absolute; margin-left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; color: #fff!important; padding: 10px; background: #a8bc59; }
.skipto a:focus { margin-left: 0; width: auto; height: auto; }

header { position: fixed; top: 25px; left: 25px; right: 25px; height: 50px; padding: 5px; border-radius: 30px; display: block; background: #fff; box-shadow: 0 0 20px #999; z-index: 20; }
body:before { position: fixed; top: -100px; left: 0; right: 0; height: 155px; content: ''; z-index: 19; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.logo { width: 177px; height: 50px; display: inline-block; vertical-align: top; }
.logo img { display: inline-block; vertical-align: top; }
.logo:hover { opacity: 1; }

#menu { position: absolute; top: 10px; right: 10px; }
.fl_menu { margin: 0; list-style: none; }
.fl_menu li, .fl_menu a { font: bold 14px/40px le-havre, sans-serif; color: #5a5a5a; display: inline-block; vertical-align: top; position: relative; }
.fl_menu li { margin-left: 20px; }
.fl_menu a { text-decoration: none; text-transform: uppercase; }
.fl_menu a:hover { opacity: 1; transform: scale3d(0.95,0.95,1); }
.fl_menu #menu_c_contact a { border: 2px solid #a8bc59; border-radius: 20px; padding: 0 20px; font-weight: 900; color: #a8bc59; box-sizing: border-box; line-height: 36px; }
.fl_menu li.current a { color: #a8bc59; cursor: default; }
.fl_menu li.current a:hover { transform: none; }
.fl_menu #menu_c_contact a:hover, .fl_menu #menu_c_contact.current a { background: #a8bc59; color: #fff; }

main, .maincont { min-height: calc(100vh - 137px); }
.maincont { display: flex; flex-flow: row wrap; }

.page-portfolio-main .maincont, .page-index .maincont { min-height: 50px; }
.page-index main { overflow-x: hidden; }
.page-index .maincont:first-child .lhs { background: #5a5a5a; z-index: 2; }
.page-index .maincont:first-child .rhs { background: #fafafa; }
.page-index h1 { color: #fff; font-size: 96px; line-height: 96px; }

.lhs, .rhs { display: inline-block; width: 50%; vertical-align: top; box-sizing: border-box; position: relative; }
.lhs { background: #fafafa; text-align: right; }
.lhscontent, .rhscontent { max-width: 600px; padding: 110px 25px 40px; display: inline-block;  }
.rhscontent { padding-top: 126px; }
.rhs h3 { margin: 0; padding: 55px 0 15px; }
.rhs h3 span.h3span { float: left; width: 100%; text-align: right; margin: 0 0 0 calc(-100% - 50px); padding: 0 0 17px; position: relative; }
.rhs h3 span.h3inner { position: relative; }
.rhs h3 span.h3inner:before { content: ''; position: absolute; top: -10px; left: -20px; right: -100px; height: 2px; background: #a8bc59; }
.rhs h3#comments { padding-top: 30px; }
.rhscontent a { font-weight: bold; }

.page-index .rhscontent { padding-top: 0; }
.page-index .maincont:first-child .rhscontent { padding-top: 142px; padding-bottom: 240px; }
.page-index h2 { font-size: 64px; line-height: 64px; position: relative; z-index: 10; }
.slidercont { position: relative; }
.slidercont:before { position: absolute; bottom: 0; left: 0; right: 50%; background: #fafafa; content: ''; top: 0; }
.sliderwrap { max-width: 1250px; margin: 0 auto; padding: 0 25px; position: relative; z-index: 3; }
#slider { position: relative; height: 0; padding-bottom: 40%; margin-top: -320px; }
.slideritem, .sliderimagewrap { position: absolute; top: 0; left: 0; bottom: 0; right: 0; display: none; pointer-events: none; }
.slideritem { transition: all 0.75s; }
.slideritem:first-child, .sliderimagewrap { display: block; }
.sliderimage { position: absolute; top: 0; bottom: 0; left: 0; right: 34%; background-size: contain; background-position: top left; background-repeat: no-repeat; pointer-events: auto; }
.slideritem .projdesc { position: absolute; left: 66%; top: 0; margin-top: 10%; text-decoration: none; pointer-events: auto; }
.slideritem .projdesc:after { position: absolute; bottom: -15px; left: 0; right: 100%; height: 2px; background: #a8bc59; content: ''; transition: right 0.5s; }
.slideritem .projdesc:hover:after { right: 0; }

.slidershown { opacity: 0; display: block; transform: translate3d(200px,0,0); }
.sliderout { transform: translate3d(-200px,0,0); opacity: 0; transition-duration: 0.5s; }
.slidershown .sliderimage, .slidershown .projdesc { pointer-events: none; }

.sliderwrap .button { position: absolute; margin: 0; left: 66%; bottom: 23%; }
.sliderwrap .button:active { position: absolute; top: auto; bottom: calc(23% - 2px); }

.sliderimage:hover, .slideritem .projdesc:hover { transform: scale3d(0.95,0.95,1); opacity: 1; }

#progress { position: absolute; bottom: 25px; right: 25px; z-index: 10; width: 30px; height: 30px; border-radius: 50%; display: none; box-sizing: border-box; border: 1px solid #ccc; background: #fff; transition: border-color 0.25s; }
#progress.paused { border-color: #eee; }

.cms_imgleft { width: 84px; height: 84px; border-radius: 50%; float: left; border: 2px solid #a8bc59; box-sizing: border-box; clear: left; margin: 3px 0 0 -130px; float: left; }
.cms_imgright { max-width: 350px; border: 0; margin: 5px 0 0 -400px; float: left; }
main li { margin-top: 3px; }
main ul { list-style: none; }
main ul li:before { color: #a8bc59; content: "\2022"; position: absolute; font-size: 18px; line-height: 18px; margin: 3px 0 0 -18px; }
blockquote { margin: 20px; padding: 10px 20px; background: #fafafa; border-bottom: 2px solid #a8bc59; }

.portfolio { border-top: 2px solid #a8bc59; padding-bottom: 50px; }
.portfoliowrap { max-width: 1250px; margin: 0 auto; padding: 0 25px; }
.portfoliocont { margin-left: -25px; }
a.portfolioitem { display: inline-block; vertical-align: top; width: calc(25% - 25px); margin: 25px 0 0 25px; text-decoration: none; color: #5a5a5a; position: relative; }
.portfolio h5, .portfolio h6, .projdesc h5, .projdesc h6 { font: 14px/20px le-havre, sans-serif; text-transform: uppercase; margin: 5px 0 0; }
.portfolio h5, .projdesc h5 { font-weight: bold; }
.portfolio h6, .projdesc h6 { font-weight: normal; }
.portfolio img { display: block; outline: 1px solid #fafafa; transition: outline 0.25s; }
a.portfolioitem:after { position: absolute; bottom: -5px; left: 0; right: 100%; height: 2px; background: #a8bc59; content: ''; transition: right 0.5s; }
a.portfolioitem:hover { opacity: 1; transform: scale3d(0.95,0.95,1); }
a.portfolioitem:hover:after { right: 0; }
a.portfolioitem:hover img { outline-color: #a8bc59; }

.projdesc { width: 270px; border-top: 2px solid #a8bc59; margin: 80px 0 25px; padding-top: 10px; color: #5a5a5a; }
.projdesc h5:after { content: ''; display: block; width: 8px; height: 2px; background: #a8bc59; margin: 15px 0; }

.projquote { padding-left: 50px; position: relative; }
.projquote:before { content: '“'; position: absolute; top: -15px; left: 0; color: #a8bc59; font: 900 80px/80px le-havre, sans-serif; }
.projquotefrom { text-align: right; font-style: italic; color: #5a5a5a; }
.projquotefrom:before { content: '–'; margin-right: 5px; }

.projimg img { display: none; }
.projimg { background-size: contain; background-position: top right; background-repeat: no-repeat; height: 0; margin: -20px -20px 0 0; padding-left: 100px; width: 600px; max-width: 100%; position: relative; left: -75px; padding-bottom: 77%; }

.midbutton { position: absolute; left: 0; right: 0; text-align: center; margin-top: -20px; }
.midbutton a.button { margin: 0; }

#fl_blogentries .fl_newspreview h2 { font-size: 36px; line-height: 36px; font-weight: bold; }
.fl_blogfooter { color: #5a5a5a; font-size: 10px; }
.fl_blogfooter a { font-size: 14px; margin: 0 0 0 10px; }
.fl_blogfooter a:first-child { margin: 0 10px 0 0; }

#fl_commsbox { clear: both; margin: 0; padding: 0; border: 0; background: transparent; }
.fl_commentname, .fl_commentmessage { margin-left: 0; }
.fl_blogentrytitle, .fl_newspreview h2 { margin-bottom: 10px; }
.fl_comment1, .fl_comment2 { padding: 20px; font-size: 16px; line-height: 20px; border-bottom: 2px solid #a8bc59; }
.fl_comment1 { background: #fafafa; border-bottom: 2px solid #a8bc59; }
.fl_comment2 { background: transparent; }
.fl_commentname { font-size: 12px; line-height: 16px; }


footer { text-align: center; padding: 45px 25px; color: #fff; font-size: 12px; line-height: 16px; background: #5a5a5a; }
footer a { color: #fff; }
footer p { margin: 5px 0; }
footer .divider { display: inline-block; width: 20px; }

form { margin-top: 20px; }
form label { display: block; font: bold 14px/18px le-havre, sans-serif; text-transform: uppercase; margin: 10px 0 5px; color: #5a5a5a; }
input, textarea, .fl_mailform textarea, select { background: #fafafa; border: 0; border-bottom: 1px solid #a8bc59; font: 14px/20px soleil, sans-serif; color: #333; width: 100%; display: block; padding: 10px; -moz-box-sizing: border-box; box-sizing: border-box;  -webkit-appearance: none; border-radius: 0; }
input, select { height: 40px; }
input:hover, textarea:hover, select:hover { background: #fafafa; color: #333; }
input:focus, textarea:focus, select:focus { background: #f6f6f6; color: #000; }
input.checkbox { -webkit-appearance: auto; display: inline; height: auto; width: auto; margin-right: 5px; }
.frc-captcha { margin-top: 10px; }

label.cardlabel { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; margin: 0 0 -1px; display: block; padding: 8px 0; line-height: 22px; }
#card-element { background: #fafafa; height: 41px; border-bottom: 1px solid #a8bc59; box-sizing: border-box; padding: 10px; }
span.cardgraphic { display: inline-block; background: url('../gfx/cards@2x.png') no-repeat left top; width: 37px; height: 22px; vertical-align: middle; position: relative; top: -1px; background-size: 37px auto; }
span.cardgraphic.applepay { background-position: left bottom; }
span.cardgraphic.amex { background-position: left -66px; }
span.cardgraphic.mastercard { background-position: left -44px; }
span.cardgraphic.visa { background-position: left -22px; }

input.emailsub, input.passsub, input.commentsub, input.formsub, input.votesub, a.button { display: block; width: auto; height: 40px; box-sizing: border-box; text-transform: uppercase; margin: 10px 5px 10px 0; padding: 0 20px; color: #a8bc59!important; border: 2px solid #a8bc59; background: #fff; border-radius: 20px; cursor: pointer; text-decoration: none; text-align: center; font: 900 14px/36px le-havre, sans-serif; }
input.emailsub:hover, input.passsub:hover, input.commentsub:hover, input.formsub:hover, a.button:hover, input.emailsub:focus, input.passsub:focus, input.commentsub:focus, input.formsub:focus, a.button:focus, input.votesub:hover, input.votesub:focus { transform: scale3d(0.95,0.95,1); opacity: 1; background: #a8bc59; color: #fff!important; }
input.emailsub:active, input.passsub:active, input.commentsub:active, input.formsub:active, input.votesub:active, a.button:active { position: relative; top: 2px; }
a.button { display: inline-block; margin: 20px auto; }
p a.button { margin: 10px 0 0; }

#fl_loading { display: none; position: fixed; top: 10px; right: 10px; background: #fff; padding: 3px; border: 1px solid #ccc; z-index: 150; width: 32px; z-index: 99; }
#cookiebar { font-size: 12px; line-height: 16px; }
#cookiebar a { display: inline-block; }
#msgbar { font-family: soleil, sans-serif; }
.err, .reqd { font-weight: bold; color: #c00; }

a, input, #menubutton { transition-duration: 0.25s; transition-property: transform, opacity, background-color, color; }

@media all and (max-width: 1299px) {
	body { min-width: 320px; -webkit-text-size-adjust: none; }
	.sliderwrap .button { bottom: 20%; }
	.sliderwrap .button:active { bottom: calc(20% - 2px); }
	.page-portfolio-item .lhscontent { width: calc(100% - 50px); max-width: 550px; }
}
@media all and (max-width: 1249px) {
	.sliderwrap { padding: 0; }
	#slider { padding-bottom: 46%; }
	.sliderimage { left: -100px; }
	.slideritem .projdesc { margin-top: 15%; }
	.sliderwrap .button { bottom: auto; top: 350px; }
	.sliderwrap .button:active { bottom: auto; top: 352px; }
}
@media all and (max-width: 979px) {
	.cms_imgright { max-width: 300px; margin-left: -350px; }

	#menubutton { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; cursor: pointer; }
	#menubutton:hover { transform: scale3d(0.95,0.95,1); }
	#menubutton .rowbar { position: absolute; top: 19px; left: 11px; width: 18px; height: 3px; background: #a8bc59; border-radius: 2px; transition: all 0.5s; }
	#menubutton .rowtop { top: 13px; }
	#menubutton .rowbottom { top: 25px; }

	.menublock #menubutton .rowtop, .menublock #menubutton .rowbottom { opacity: 0; }
	.menublock #menubutton .rowbar:nth-child(2) { transform: rotate(-45deg); }
	.menublock #menubutton .rowbar:nth-child(3) { transform: rotate(45deg); }

	#menubg { transition: all 0.5s; position: fixed; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; z-index: 19; pointer-events: none; }
	.menublock #menubg { opacity: 1; background: rgba(255,255,255,0.7); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); pointer-events: auto; }
	
	header { height: auto; min-height: 50px; }
	body:before { height: 140px; }
	
	#menu { position: static; padding: 0 5px; text-align: center; max-height: 0; overflow: hidden; box-sizing: border-box; transition: max-height 0.5s; }
	#menu ul { padding-top: 5px; }
	#menu li { display: block; border-top: 1px solid #eee; margin: 0; }
	#menu a { display: inline-block; margin: 0; padding: 0; }
	#menu li:nth-last-child(2) { border-bottom: 1px solid #eee; margin-bottom: 5px; }
	#menu li:last-child { display: inline-block; border-top: 0; }
	
	.menublock #menu { max-height: 300px; }

	.projimg { padding-left: 200px; left: -175px; padding-bottom: 80%; }
	#slider { margin-top: -270px; }
	.page-index .maincont:first-child .rhscontent { padding-bottom: 190px; }
	.sliderwrap .button { top: 300px; }
	.sliderwrap .button:active { top: 302px; }
}
@media all and (max-width: 879px) {
	.slideritem .projdesc { left: 64%; width: 220px; }
	a.portfolioitem { width: calc(100% / 3 - 25px); }
	#progress { bottom: 10px; right: 10px; }
}
@media all and (max-width: 799px) {
	.cms_imgright { max-width: 250px; margin-left: -300px; }
	.page-index .maincont:first-child .rhscontent { padding-bottom: 150px; }
	#slider { margin-top: -230px; }
}
@media all and (max-width: 699px) {
	.logo { width: 142px; height: 40px; }
	header { min-height: 40px; top: 15px; left: 15px; right: 15px; border-radius: 25px; }
	#menubutton { top: 5px; }
	.fl_menu #menu_c_contact a { margin-right: -5px; }
	
	main, .maincont { min-height: calc(100vh - 97px); display: block; }
	.lhs, .rhs { width: 100%; text-align: left; }
	.lhscontent { padding: 80px 15px 0; max-width: none; display: block; }
	.rhscontent { padding: 0 15px 25px; max-width: none; display: block; }
	h1 { margin-bottom: 15px; font-size: 48px; line-height: 48px; }
	h2, h3, .page-index h2 { font-size: 36px; line-height: 36px; }
	h4, h3#comments { font-size: 28px; line-height: 28px; }

	.rhs h2 { background: #fafafa; margin: 0 -15px; padding: 0 15px 15px; position: static; }
	.rhs h2:last-of-type { padding-bottom: 30px; }
	.rhs h3 { max-width: 90%; padding: 35px 0 0; margin-bottom: 20px; }
	.rhs h3 span.h3span { float: none; margin: 0; padding-bottom: 0; }
	.rhs h3 span.h3inner:before { right: -50px; }
	.cms_imgleft, .cms_imgright { max-width: 100%; float: none; display: block; margin: 10px auto; }
	.cms_imgleft { margin: 10px 0; }
	footer { padding: 25px 15px; }
	
	.page-portfolio-main .rhscontent { padding-bottom: 0; }
	.page-portfolio-item .rhscontent { background: #fff; }
	
	.portfoliowrap { padding: 0 15px; }
	.portfoliocont { margin-left: -15px; }
	a.portfolioitem { width: calc(100% / 3 - 15px); margin: 15px 0 0 15px; }
	.portfolio { padding-bottom: 30px; }
	
	.projimg { padding-left: 100px; left: -85px; padding-bottom: 70%; margin-top: -30px; position: relative; z-index: 4; }
	.projdesc { margin-top: -40px; background: #fff; padding-left: 15px; margin-left: -15px; }
	
	.page-index h1 { font-size: 64px; line-height: 64px; }
	.page-index .maincont:first-child { display: flex; }
	.page-index .maincont:first-child .lhs { width: 100px; }
	.page-index .maincont:first-child .rhs { width: calc(100% - 100px); }
	.page-index .maincont:first-child .rhscontent { padding-top: 108px; padding-bottom: 190px; }
	
	.fl_postinfo { padding-top: 10px; }
	
	.rhs .fl_newspreview h2 { background: transparent; margin: 0; padding: 0; }
	.fl_newspreview .fl_postinfo { padding-top: 5px; }
	.fl_newspreview.fl_newsfirst { margin-top: 0!important; padding-top: 30px!important; border-top: 0!important; }
	
	#slider { z-index: 11; margin-top: -218px; padding-bottom: 73%; }
	.sliderimage { right: -10px; }
	.slideritem .projdesc { left: 15px; padding-left: 0; margin-left: 0; margin-top: 60%; width: auto; right: 50%; background: transparent; }
	.slidercont:before { display: none; }
	.sliderwrap .button { top: auto; left: auto; bottom: -15px; right: 15px; }
	.sliderwrap .button:active { top: auto; bottom: -17px; }

	.page-portfolio-item .lhscontent { width: auto; max-width: 1000px; }
	#progress { bottom: 175px; }

}
@media all and (max-width: 599px) {
	.sliderwrap .button { bottom: -30px; }
	.sliderwrap .button:active { bottom: -32px; }
	a.portfolioitem { width: calc(50% - 15px); }
}
@media all and (max-width: 549px) {
	.projdesc { width: 200px; }
	.projimg { margin-top: -20px; }
	#slider { padding-bottom: 82%; }
	.sliderimage { right: -50px; }
	.slideritem .projdesc { margin-top: 65%; }
}
@media all and (max-width: 499px) {
	#slider { padding-bottom: 90%; }
	.slideritem .projdesc { margin-top: 70%; }
	header:after { position: fixed; top: 0; left: 0; right: 0; height: 5px; background: #a8bc59; content: ''; z-index: 50; opacity: 0; }
}
@media all and (max-width: 399px) {
	.projdesc { width: auto; margin: 0 0 25px; padding-left: 0; }
	#slider { padding-bottom: calc(105% + 40px); }
	.slideritem .projdesc { right: 15px; margin-top: 85%; }
}
@media all and (max-width: 349px) {
	#slider { padding-bottom: calc(110% + 60px); }
	.slideritem .projdesc { margin-top: 90%; }
}