/* FONTS */
/*
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic&subset=latin,cyrillic);
@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,700,400italic&subset=latin,cyrillic);
*/

/* LAYOUT */

/* body */
body{font:small/1.6 verdana,sans-serif;margin:0;padding:0 1em;}
body.serif{font:medium/1.6 "PT Serif",georgia,serif;}/* "Palatino Linotype","Bookman Old Style",Sylfaen */
body.sans{font:medium/1.6 "PT Sans",verdana,serif;}
/*.admin{max-width:none;}*/
.wrapper{max-width:990px;max-width:55rem;margin:0 auto;}

/* gallery */
.gallery{/*text-align:center;*/clear:both;}
.gallery img{margin:.2em 0;}
article .gallery{/*border:1px solid #ccc;border-width:1px 0;*/padding:.5em 0;margin:1em 0;}

/* profile */
/* #profile{background:#eee;padding:1em;} */

/* COMMON */

/* html5 */
header,footer,nav,aside,section,article,main,figure,figcaption{display:block;}
article{margin-bottom:1em;}
.blk article:last-child{margin-bottom:0;}


/* block */

pre,blockquote,p,hr,ul,ol,dl{margin:1em 0;}
body * p:first-child{margin-top:0;}
/* dd,li,table{line-height:1.2;} */
pre{padding:.5em 1em;background-color:#eee;border:1px solid #ddd;font:100%/1.2 monospace;/*overflow:auto;max-height:20em;*/}
blockquote{padding-left:1em;border-left:.5em solid #ddd;}
figure{margin:1em 0;text-align:center;font-style:italic;}

/*div.line{display:inline-block;}*/
.blk{margin:1em 0;padding:.5em 1em;border:1px solid #ccc;border-radius:5px;/*.3em;*/}
.blk:first-child{margin-top:0;}
.blk.stripe{background-color:#f6f6f6;border:none;}
/*.blk.wide{min-width:80% !important;}*/
a.blk:hover,ul.hover a:hover,/*a:hover i.blk[class*=icon-],*/ /*ul.hover li>span:hover,*/ body table.hover tr:hover,table.hover tr:hover th,.popup.hover:hover{background-color:#f6f6f6;}
	.stripe ul.hover>li>a:hover, .stripe ul.hover>li>span:hover{background-color:#eee;}
/*table.hover tr:hover{background-color:#eee;}*/
.ib{display:inline-block;}
div.left,img.left{float:left;clear:left;margin:0 1em .5em 0;}
div.right,img.right,ul.right{float:right;clear:right;margin:0 0 .5em 1em;}
div.center,img.center{display:block;margin:1em auto !important;}
.wrapper .aleft,table.left td,table.left th{text-align:left;}
.wrapper .aright,table.right td,table.right th{text-align:right;}
.wrapper .acenter,table.center td,table.center th{text-align:center;}
.hide,.mobile{display:none !important;}


.blk>h2.stripe:first-child,.blk>h3.stripe:first-child{margin-top:0;}
@media screen and (min-width:768px){
	/*.blk.stripe{background:#f6f6f6;}*/
	.blk>h2.stripe,.blk>h3.stripe{margin:.8em -.8em .4em -.8em;padding:.4em .8em;font-size:125%;border:1px solid #ddd;border-width:1px 0;background-color:#eee;}
	.blk>h2.stripe:first-child,.blk>h3.stripe:first-child{border-top:none;margin-top:-.4em;border-radius:.2em .2em 0 0;}
}

/* heading */

h1,h2,h3,h4,h5,h6{margin:1em 0 .5em 0;font-weight:normal;line-height:1.2;clear:left;}
h1{font-size:240%;margin-top:.5em;}
h2{font-size:180%;}
h3{font-size:150%;}
h4{font-size:120%;}
h5{font-size:100%;}
h6{font-size:84%;}
hr{border:none;background:none;height:1px;border-top:1px solid #ddd;}
header h1,h1:first-child,h1:first-of-type,h2:first-child,h1+h2{margin-top:0em;}

/* table */

table{border-collapse:collapse;}
th{text-align:left;}
th,td{vertical-align:top;}
th a.cur{background:#fd3;}
table.blk{border-radius:0;margin:1em 0;/*auto;*/}
table.blk th,table.blk td{padding:.1em .5em;border:1px solid #ddd;}
table.stripe tr:nth-child(odd){background-color:#fff;}
table.stripe tr:nth-child(even){background-color:#f6f6f6;}
table.line th,table.line td{border-bottom:1px solid #ddd;padding:.2em 1em;}
table.wide{width:100%;}
.left1 td:nth-child(1),.left2 td:nth-child(2),.left3 td:nth-child(3),.left4 td:nth-child(4),.left5 td:nth-child(5),.left6 td:nth-child(6),.left7 td:nth-child(7),.left8 td:nth-child(8),.left9 td:nth-child(9),.left10 td:nth-child(10){text-align:left;}
.right1 td:nth-child(1),.right2 td:nth-child(2),.right3 td:nth-child(3),.right4 td:nth-child(4),.right5 td:nth-child(5),.right6 td:nth-child(6),.right7 td:nth-child(7),.right8 td:nth-child(8),.right9 td:nth-child(9),.right10 td:nth-child(10){text-align:right;}
.center1 td:nth-child(1),.center2 td:nth-child(2),.center3 td:nth-child(3),.center4 td:nth-child(4),.center5 td:nth-child(5),.center6 td:nth-child(6),.center7 td:nth-child(7),.center8 td:nth-child(8),.center9 td:nth-child(9),.center10 td:nth-child(10){text-align:center;}


/* list */

ul,ol{padding-left:2em;margin:1em 0;text-align:left;}
ul{list-style:disc outside;}
ul ul,ol ol{margin:.2em 0;padding-left:1.5em;}
dt{font-weight:bold;}
dd{margin:0 0 1em 1em;}

/* tabs */
ul.tabs+div{min-height:10em;margin-top:-1px !important;border-top:1px solid #ccc;border-top-left-radius:0;}
ul.tabs{margin-bottom:0;padding:0;z-index:1;}
ul.tabs li{display:inline-block;padding:0;margin-right:.3em;}
ul.tabs a{display:block;padding:.5em 1em;border:1px solid #eee;border-bottom:none;border-radius:.3em .3em 0 0;outline:none;}
ul.tabs a.cur{border-color:#ccc;background-color:#fff;}

/* dropdown */	
/* remove @media declaration to support dropdowns in IE8 */
	nav.blk>ul.blk{border:none;}
	nav.blk{padding:0;}
@media (min-width: 480px){
	#nav,#tools{display:block !important;}
	
ul.blk,ul.blk li{list-style:none;}
ul.blk{padding:0;/*line-height:2;*/border:1px solid #ccc;max-width:20em;}
	ul.blk li>ul{border:1px solid #ccc;border-radius:.3em;display:none;}
	ul.blk ul{background-color:#fff;}
	ul.blk li>a,ul.blk li>span{display:block;padding:.5em 1em;/*border-radius:.3em;*/}
ul.blk li{display:block;padding:0;margin:0 !important;border-top:1px solid #eee;}
ul.blk li:first-child{border-top:none;}
ul.blk li:first-child>:first-child{/*border-radius:.3em .3em 0 0;*/border-top-left-radius:.3em;border-top-right-radius:.3em;}
ul.blk li:last-child>:first-child{/*border-radius:0 0 .3em .3em;*/border-bottom-left-radius:.3em;border-bottom-right-radius:.3em;}
ul.blk a.cur{background-color:#f6f6f6;}
.stripe ul.blk>li>a.cur{background-color:#eee;}
	ul.line,ul.line ul, ul.line li{display:inline-block;margin:0;/* !important;*/padding:0;list-style:none;}
	ul.line li{margin-right:.5em;}
	ul.line li.right,ul.req li:last-child{float:right;clear:none;}
	ul.line ul li{display:block;}
	ul.line{max-width:none;}
	ul.line li>ul{display:none;}
	ul.line a{/*padding-right:1em;*/}
	ul.blk.line{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
	ul.blk.line>li{border-top:none;border-right:1px solid #eee;}
	ul.blk.line>li:last-child{border-right:none;}
	ul.blk.line>li.right{border-right:none;border-left:1px solid #eee;}
	ul.blk.line>li:first-child>:first-child{/*border-radius:.3em 0 0 .3em;*/border-top-left-radius:.3em;border-bottom-left-radius:.3em;}
	ul.blk.line>li:last-child>:first-child{/*border-radius:0 .3em .3em 0;*/border-top-right-radius:.3em;border-bottom-right-radius:.3em;}
		ul.line.wide{display:block;}
		ul.blk.wide{max-width:none;width:100%;}
		ul.blk.toggle{border:none;}
		ul.blk.toggle>li{border:none;}
		ul.blk.toggle>li>a{padding:0 1em 0 0;}
		/*ul.line.wide>li:last-child{border-right:1px solid #ccc;border-radius:0;}*/
/*ul.hover a:hover,ul.hover span:hover{background-color:#f6f6f6;}*/

/* dropdown */

ul.blk{}
ul.blk li{position:relative;}
ul.blk li a{}
ul.blk li>ul{z-index:100;position:absolute;top:2%;left:98%;padding-left:0;border:1px solid #ccc;box-shadow:0px 1px .5em rgba(0,0,0,.1);}
ul.blk ul li{width:15em;}
ul.blk ul a{overflow:hidden;}
ul.blk li:hover>ul{display:block;}
	ul.blk li>*:nth-last-child(2):after{content:"";background-repeat:no-repeat;background-image:url(icons.png);
		height:14px;width:14px;background-position:-50px -75px;position:absolute;bottom:30%;right:5%;} /* arrow right */
	ul.blk.line>li>*:nth-last-child(2):after{display:inline-block;vertical-align:middle;background-position:-75px -75px;position:static;display:inline-block;margin-left:.5em;}/* arrow down */
	/*ul.blk li:hover>*:nth-last-child(2):after{background-image:url(pix_contrast.png);}*/
		
ul.blk.line>li>ul{top:98%;left:0;}
	ul.blk.line>li:nth-last-child(-n+2):not(:nth-child(-n+3))>ul{left:auto;right:0;} /* last 2, but not first 3 */
ul.blk.right ul{top:2%;right:98%;left:auto;}

}

/* inline */

a{color:#33c;}
a.cur{color:#000;text-decoration:none;}
code{background:#eee;padding:0 .3em;font-size:100%;}
mark{background:#ff0;}
/*
a:hover{text-decoration:none;}
a.openwin{cursor:crosshair;}
a[href^="http:"]:hover{background:#ddf;}
a[href^="mailto:"]:hover{background:#dfd;}
article a:visited{color:#407;}
*/
a.toggle, .popup>a{/*cursor:s-resize;*/ /*-moz-text-decoration-style:dashed;*/text-decoration:none;border-bottom:1px dashed #33c;outline:none;}
.popup:not(.toggle)>a{border-bottom:1px dotted #33c;cursor:pointer;}
abbr{border-bottom:1px dotted #666;}
img{border:none;max-width:98%;vertical-align:middle;}
.lightbox img{max-width:none;}
	img.blk{margin:0;}
	.blk img.center{margin:.2em !important;/*.2em auto*/}
	object{border:1px solid #ccc;}
	img.blk{padding:2px;}
	a>img,a>img.blk{border:1px solid #ccc;/*77c;*/background:#fff;}
	a:hover>img{border-color:#33c;}
	a:hover>img.blk{}


/* form layout */

ul.blk form{padding:.5em 1em 0;}
form.blk,form.blk.wide{border:none;padding:0;margin:1em 0;/*padding:1em;*/}
form.blk{max-width:50em;}
form.wide{max-width:none;}
form.blk label{display:block;margin:.5em 0;}
form>br, fieldset>div>br{display:none;}
	form.blk label>span{display:inline-block;/*vertical-align:top;*/line-height:1.2; /*ie*/max-width:50%;vertical-align:top;}
		form.blk label>span:first-child{display:block;}
	/*
	form.blk label>span:first-child{width:40%;text-align:right;}
		form.blk label>em{margin-left:41%;}
	form>p{
		margin-left:41%;}
	form.blk label input:first-child, form.blk label>em{
		margin-left:41%;}
	form.blk>input[type=submit]{margin-left:41%;margin-right:1.5em;}
	form.blk>input[type=submit]+input[type=submit]{margin-left:0;margin-right:.5em;}
	*/
	
	
	form.blk label.wide>span:first-child{text-align:left;display:block;}
	form.blk label input:first-child{}
	form.blk label>em{display:block;clear:both;}
	fieldset{padding:.5em;border:1px solid #ccc;margin:.5em 0;}
	legend{padding:0 .5em;font-weight:bold;  /*ie7+*/white-space: normal;word-wrap: normal;max-width:95%;}
	/*legend span{display: block; white-space: normal;width:100%;border:1px solid red;white-space: normal;background:#eee;}*/

/* form inputs */

input,select,textarea,button{font:100% verdana,sans-serif;}
input[type=text],input[type=password]{width:8em;}
form.blk input[type=text], form.blk input[type=email], form.blk input[type=password]{width:30%;}
textarea{vertical-align:top;max-width:100%;}
input[type=submit],button{border:1px solid #ccc;border-color:rgba(0,0,0,.3);border-radius:.3em;background-color:#eee;cursor:pointer;margin-bottom:.3em;}
input[type=submit]:hover{border-color:#000;}
label>i,label>em{color:#666;font-style:normal;font-size:85%;}
	/* optional */
	form.blk input[type=submit]{overflow:visible;padding:.5em 1em;font-size:110%;font-weight:bold;}
	form.blk input[type=submit]+input[type=submit]{font-size:100%;font-weight:normal;}
	label.req>span:after{content:"*";color:red;}
	input[type=text].wide{width:16em;}
	form.blk input[type=text].wide, form.blk input[type=email].wide, form.blk textarea{width:80%;55%;}
		label.wide input[type=text].wide{width:100%;}
		label.wide textarea{width:100%;max-width:100%;}
	input[readonly]{background-color:#eee;color:#666;}
	input[type=radio]{margin-left:0;}
	/* focus */
	input[type=text]:focus,input[type=password]:focus,select:focus,textarea:focus{background-color:#ffe;}
	input:not([type=checkbox]):not([type=radio]),select,textarea{outline:0;}
th input[type=text]{max-width:3em;}
input[name$=_hid]{border:1px solid #ccc;color:#999;}/*hidden field shown to root user*/

body ul input[type=text],body form input[name=captcha]{width:5em !important;}

/* large screen form */
@media screen and (min-width: 1024px){
	form[action*="/rec/sec/"] input[name=nm]{font-size:150%;}
	textarea{min-height:16em;}
}

/* states */

[class*=mark-]{border-color:rgba(0,0,0,.1);}
body .mark-err{color:#a33;background-color:#fcc;}
body .mark-warn{color:#a73;background-color:#fea;}
body .mark-ok{color:#373;background-color:#cec;}
body .mark-inf{color:#369;background-color:#def;}
body .mark-dim{color:#aaa;background-color:#f6f6f6;}

a[class*=mark-]:not(.blk){/*background:none;*/}
a.mark-dim i[class*=icon-], span.mark-dim i[class*=icon-]{opacity:.25;}
span[class*=mark-],p[class*=mark-]{background:none;}
tr[class*=mark-],td[class*=mark-]/*,label[class*=mark-]*/{color:#000;}
label[class*=mark-]{padding:.3em 0;}
strong[class*=mark-]{padding:.1em .3em;border-radius:.3em;}

/* popup */

.popup{display:inline-block;position:relative;/*padding:.5em 1em;*/cursor:pointer;}
.popup.wide{display:block;}
.popup>.blk{display:none;position:absolute;margin:0;top:95%;left:5%;background-color:#fff;min-width:15em;z-index:100;box-shadow:0px 1px .5em rgba(0,0,0,.1);cursor:default;}
.popup>.blk:before{position:absolute;top:-.5em;left:10%;display:block;border:.5em solid transparent;border-width:0 .3em .5em .3em;border-bottom-color:#bbb;content:"";width:0;height:0;}
.popup.right>.blk{left:auto;right:5%;}
.popup.right>.blk:before{left:auto;right:10%;}
.popup.line>.blk{top:auto;bottom:95%;}
.popup.line>.blk:before{top:auto;auto;bottom:-.5em;border-bottom:none;border-top:.5em solid #bbb;}
.popup:hover>.blk,.popup.toggle>.blk{display:block;}

/* icon */
i[class*=icon-]{content:"";line-height:5em;overflow:hidden;display:inline-block;vertical-align:middle;
	background-repeat:no-repeat;background-image:url(icons.png);height:16px;width:16px;
	background-origin:content-box;margin-right:4px;/*.5em;*/}
i.line[class*=icon-]{margin:0;}
td>a>i[class*=icon-]:last-child,th a>i[class*=icon-]:last-child{margin:0;}	
i.blk[class*=icon-],a.blk{display:inline-block;padding:4px;/*.5em;*/margin:1px 3px;/*.1em .2em;*/vertical-align:middle;}
i.right[class*=icon-]{margin-right:0;margin-left:8px;/*.5em;*/}
/* a:hover i[class*=icon-]{background-image:url(icons_dark.png);} */
/* mark with icon */
strong[class*=mark-] i[class*=icon-]{margin-top:-1px;/*-.1em;*/padding:1px;/*.1em;*/background-color:rgba(255,255,255,.5);border-radius:3px;/*.2em;*/}

/* 0. misc */
.icon-none,.icon-dim{background-position: 0px 0px;}
/* 1. actions */
.icon-add{background-position: -25px -25px;}
.icon-edit{background-position: -50px -25px;}
.icon-del{background-position: -75px -25px;}
.icon-open{background-position: -100px -25px;}
.icon-save{background-position: -125px -25px;}
.icon-cfg{background-position: -150px -25px;}
.icon-find{background-position: -175px -25px;}
.icon-refresh{background-position: -200px -25px;}
/* 2. media */
.icon-image{background-position: -25px -50px;}
.icon-link{background-position: -50px -50px;}
.icon-date{background-position: -75px -50px;}
.icon-time{background-position: -100px -50px;}
.icon-attach{background-position: -125px -50px;}
.icon-mail{background-position: -150px -50px;}
.icon-list{background-position: -175px -50px;}
.icon-globe{background-position: -200px -50px;}
/* 3. arrows */
.icon-up{background-position: -25px -75px;}
.icon-right{background-position: -50px -75px;}
.icon-down{background-position: -75px -75px;}
.icon-left{background-position: -100px -75px;}
.icon-first{background-position: -125px -75px;}
.icon-last{background-position: -150px -75px;}
/* 4. status */
.icon-err,.icon-no{background-position: -25px -100px;}
.icon-warn{background-position: -50px -100px;}
.icon-inf{background-position: -75px -100px;}
.icon-dim{background-position: -100px -100px;}
.icon-ok,.icon-yes,.icon-on{background-position: -125px -100px;}
.icon-off{background-position: -150px -100px;}
/* 5. user */
.icon-user{background-position: -25px -125px;}
.icon-key{background-position: -50px -125px;}
.icon-chart{background-position: -75px -125px;}
.icon-aggregate{background-position: -100px -125px;}
.icon-print{background-position: -125px -125px;}
.icon-copy{background-position: -150px -125px;}
/* 7. flags */
.icon-fi{background-position: -25px -175px;}
.icon-se{background-position: -50px -175px;}
.icon-nl{background-position: -75px -175px;}
.icon-tr{background-position: -175px -175px;}
.icon-sa{background-position: -200px -175px;}
/* 8. flags */
.icon-ru{background-position: -25px -200px;}
.icon-en{background-position: -50px -200px;}
.icon-es{background-position: -75px -200px;}
.icon-de{background-position: -100px -200px;}
.icon-fr{background-position: -125px -200px;}
.icon-pt{background-position: -150px -200px;}
.icon-it{background-position: -175px -200px;}
.icon-cn{background-position: -200px -200px;}

/* grid */

/* has thirds, quarters, fifths, sixths */
/* classes: container: .bord ; cell: .cell-X .off-X .bord */
/* NOTE: it uses justified inline-blocks, so spaces should be between blocks in html source! */

/* justifygrid.com */
/* see also: http://css-live.ru/articles-css/ravnomernoe-vyravnivanie-blokov-po-shirine.html */

/* justify grid */
.grid{text-align:justify;}
.grid:after{content:"";display:inline-block;width:100%;}
/*.grid>*,*/[class*=cell-]{/*background:#eed;*/display:inline-block;  width:100%;vertical-align:top;text-align:left;margin:.5em 0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}

/* ie67 */
.cell{width:100%;}

/* sizes (gap=2%) */
.cell-s{width:15%;}
.cell-q{width:23.5%;}
.cell-t{width:32%;}
.cell-h{width:49%;}
.cell-2t{width:66%;}
.cell-3q{width:74.5%;}
.cell-5s{width:83%;}
.cell-1{width:100%;clear:both;}
.off-s{margin-left:17%;}
.off-q{margin-left:25.5%;}
.off-t{margin-left:34%;}
.off-h{margin-left:51%;}
 .cell-p{width:18.4%;}
 .cell-2p{width:38.8%;}
 .cell-3p{width:59.2%;}
 .cell-4p{width:79.6%;}
 .off-p{margin-left:20.4%;}
 .off-2p{margin-left:40.8%;}
 

/* media queries */


/* tablet-vertical */
@media (min-width:640px) and (max-width: 767px)/*799*/{ body{max-width:640px;} }
/* tablet-small */
@media (min-width:480px) and (max-width: 639px){ body{max-width:480px;} }
/* phone */
@media (min-width:320px) and (max-width: 479px){ body{max-width:320px;} }
/* phone-small */
@media (min-width:240px) and (max-width: 319px){ body{max-width:240px;} }

/* printable */
@media print{
	.hide-print{display:none;}
	.togglable{display:block !important;}
	body{font:11pt/1.4 georgia,serif;}
	h1,h2,h3,h4,h5,h6{page-break-after:avoid;}
	ul,ol{page-break-before:avoid;}
	a[href^="http:"]:after,a[href^="mailto:"]:after{content:" (" attr(href) ")";}
	
	*{/*background-color:transparent !important;*/color:#000 !important;}
	/*div,li,.blk,.stripe,[class*=cell-]{border:none !important;}*/
	header,footer,nav,aside{display:none !important;}
}

/* collapse grid, blk, pre */
@media (max-width: 767px), print{
	/*.blk{border:none;}*/
	.grid>[class*=cell-]{display:block;float:none;margin:.5em 1% !important;width:98% !important;}
	pre{white-space:pre-wrap;}
}
@media (max-width: 479px), print{
	/*body{font-size:medium;}*/
	.wrapper [class*=cell-]{display:block;float:none;margin:.3em 0% !important;width:100% !important;}
	.blk>[class*=cell-]{margin:.2em 1% !important;width:98% !important;}
	.wrapper .aright,.wrapper .acenter{text-align:left;}
}
@media (max-width: 479px){
	.mobile{display:block !important;}
	a.mobile{display:inline !important;}
}

/* collapse form */
@media (max-width: 767px){
	form.blk label{padding:0;/*0 .3em;*/margin:.3em 0;/*.5em 0 .2em 0;*/}
	form.blk label>span:first-child{display:block;text-align:left;}
	form.blk label input:first-child, form.blk label>em, form.blk>input[type=submit]{margin-left:0;}
	form.blk input,form.blk textarea{/*width:auto !important;*/max-width:98%;}
}

/* collapse table, block */
@media (max-width: 479px){
	table,tr,td,th{display:block;}
	tr{margin:.3em;border:1px solid #999;}
	td,th{border-top:none;padding:0 .3em;}
	body{padding:0;/*.5em;*/}
	[class*=cell-], .blk{margin:.5em 0;padding:.2em .5em;border-radius:0;}
		#nav{padding:0;}
		ul.blk,.blk.stripe{border:none;background-color:#f6f6f6 !important;padding:.5em;border-top:1px solid #eee;border-bottom:1px solid #ddd;}
	body .wrapper ul{list-style:disc inside;padding-left:1em;}
	
	footer.blk.stripe{margin-bottom:0 !important;}
	.grid:after{display:none;}
}


/* alivia */

body{background-color:#f3f6fc;}
body.edi{background-color:#fff;}
.wrapper{padding:.7em 1em .7em 1em;background-color:#fff;border:1px solid #ccd;border-top:0;border-radius:0 0 1em 1em;box-shadow:0 0 .3em .6em rgba(200,200,200,.3);}
header{padding:0 1em;}
#main{padding:.5em 1em;}
.grid:after{content:"";display:inline;width:auto;}

.table-inputs input[type=text], #main .table-inputs textarea{width:100% !important;}
.table-inputs input[name$="~val"], .table-inputs input[name^="rcmi_"]{max-width:5em;}
div.mem{background-color:#fcfcfc;}

#nav{background-color:#f6f6f6;padding:.5em;border-radius:.7em;font-weight:bold;font-size:110%;}
footer{padding:1em;}
#nav ul{border:none;border-radius:0;}
#nav li{padding-right:.5em;border:none;}
a{color:#47c;}
#nav a{border-radius:.5em;background-color:#eee;text-decoration:none;}
#nav a.cur{background-color:#69c;color:#fff;}
#nav a:hover{background-color:#8be;color:#fff;}

#nav-lang a>i{border-bottom:2px solid #fff;padding:0 1px;}
#nav-lang a.cur>i{border-bottom-color:#69c;background-color:#fff;}
#nav-lang a:hover>i{border-bottom-color:#8be;}

th.quarter,td.quarter{width:25%;}

/*
ul.progress{padding:0;}
.progress li{display:inline-block;list-style:none outside; *zoom:1;*display:inline;}
z.progress+h2{margin-top:0;}
*/
/*.progress img{height:50px;}*/ /*width:90px;*/
div.progress{white-space:nowrap;width:100%;}
div.progress span{width:16%;max-width:131px;height:82px;display:inline-block;background:url(arr0.png) 0 50% no-repeat;background-size:contain;}
div.progress span.done{background-image:url(arr1.png);}
div.progress span:first-child{background-image:url(arr1s.png);}

label.marked{font-weight:bold;width:90%;}
#recom{background-color:#def;}

/* in iframe */
body.iframe{max-width:100% !important;/*font:medium arial,sans-serif;*/}
.iframe .wrapper{max-width:90% !important;}
body.iframe, .iframe .wrapper, .iframe section{background:none;padding:0 !important;margin:0 !important;border:none;box-shadow:none;}
.iframe #nav-lang, .iframe footer, .iframe #alert{display:none !important;}

/* printable */
.prn, .prn * {background-color:#fff !important;}
.prn i[class*=icon-]{display:none !important;}
@media screen{
	.prn .main{max-width:50em;}
}
.prn .blk{padding:0 !important;border:none !important;}
.prn .hide-prn{display:none !important;}
/*.info-prn{color:#c30;font-weight:bold;}*/
.prn h2{color:#c30 !important;text-align:center;margin-top:1em;}


/* alivia style */
body.iframe, input,select,textarea,button{font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;}
body.iframe{font-size:110%;color:#333;}
.iframe h2{color:#3aaebe;font-size:140%;}
.iframe a{color:#3aaebe;text-decoration:none;}
.iframe fieldset{border:none;border-bottom:thin solid #ddd;padding:1em 0;margin-bottom:1em;}
.iframe fieldset legend{margin-left:0;padding-left:0;}
.iframe form.blk input[type="text"], .iframe form.blk input[type="email"], .iframe form.blk input:not([type]){border:thin solid #ddd;padding:.3em .5em;color:#666;display:inline-block;margin:.2em 0;}
.iframe form.blk input[type="submit"], .iframe a.blk{background:#3aaebe;color:#fff;line-height:1em;padding:.8em 2em;border:0;border-radius:1.3em;font-weight:normal !important;text-transform:uppercase;letter-spacing:.1em;font-size:100%;}
.iframe form.blk input[type="submit"]:hover, .iframe a.blk:hover{background:#000;}
.iframe form.blk input[type="submit"] ~ a{padding:0 .5em;}
.iframe form.blk input[type="submit"] + a{padding-left:2em;}
.iframe input[type="radio"], .iframe input[type="checkbox"]{display:inline-block;margin-right:.5em;vertical-align:top;}
