/* CSS reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin:0;padding:0;}
html,body {margin:0;padding:0;}
table {border-collapse:collapse;border-spacing:0;}
fieldset,img {border:0;}
address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:normal;}
q:before,q:after {content:'';}
abbr,acronym {border:0;}

/* Layout main */
html, body {
    font-size: 14px;
    font-family: 'Roboto Slab', serif;
    background: #15193a;
    height: 100%;
    min-height: 100%;
    width: 100%;
    min-width: 100%;
    overflow: hidden;
}
#bodyLogout { text-align: center; }

/* Utility */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.clear-right { clear: right; }
.clear-left { clear: left; }
.center { text-align: center; }
.btn {
    display: block;
    text-align: center;
    height: 20px;
    line-height: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 10px;
    cursor: pointer;
	color: #000 !important;
	background: #9fbdbc;
    border-radius: 3px;
    padding: 0 15px;
}
.btn:hover {
	opacity: .8;
}
.btn.fixed { display: inline-block; width: 130px; }
::-webkit-scrollbar { width: 8px !important; }
::-webkit-scrollbar-track { background-color: #bdcccc !important; }
::-webkit-scrollbar-thumb { background-color: #8EA6A6 !important; }
::-webkit-scrollbar-thumb:hover { background-color: #aaa !important; }
.hidden { display: none !important; }
.utilityRows td { padding-top: 5px; }

/* Gestione */
.gestione_msg { padding: 10px; margin: 20px 0; background-color: #8EA6A6; }

/* Top menu */
#top-left-corner {
    width: 150px; height: 500px; background: #2a2b4e;
    position: absolute; z-index: -9;
    transform: rotate(30deg);
    left: -35px; top: -100px;
}
#menubar {
    position: absolute; z-index: 99;
    background: #3f4d60;
    color: #fff;
    left: 0; top: 40px; width: 199px;
    padding-right: 50px;
    height: 50px; line-height: 50px;
    overflow: hidden;
    transition: all ease-in .7s;
}
#menubar .showhide {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    cursor: pointer; margin-left: 100px;
    color: #aac5cd;
    font-size: 1.2em;
}
#menubar .showhide::after {
    content: "";
    display: inline-block; width: 16px;
    height: 14px;
    background: url('/img/aprichiudi.png') no-repeat center;
    margin-left: 10px;
}
#menubar-arw {
    background: #15193a;
    position: absolute;
    height: 80px; width: 80px;
    right: -50px; top: 5px;
    transform: rotate(30deg);
}
#top-menu {
    position: absolute; left: 250px; right: 250px; top: 0; bottom: 0;
    text-align: center;
}
#top-menu > a {
    display: inline-block;
    margin: 0 10px; line-height: 15px;
    padding-left: 3px; padding-right: 3px;
    color: #aac5cd; font-size: 1.2em; letter-spacing: 1px; font-variant: small-caps;
    cursor: pointer;
}

#menubar.open { width: 100%; }
#menubar.open #menubar-arw { right: -100px; }
#menubar.open .showhide::after { transform: rotateY(180deg); }

/* Sides */
#left {
    position: fixed; z-index: 90;
	left: 0; top: 0; bottom: 0;
    width: 230px; padding: 120px 10px 10px 10px;
	color: #fff;
}
#left, #left *, #menubar, #menubar * {
    transition: all ease-in .7s;
}

#left .meridiana { margin-right: 10px; width: 135px; }
#left .meridianaFire { position: absolute; }
#left .meridianaFire9,
#left .meridianaFire10 { left: 11px; }
#left .meridianaFire8,
#left .meridianaFire11 { left: 27px; }
#left .meridianaFire7,
#left .meridianaFire12 { left: 55px; }
#left .meridianaFire1,
#left .meridianaFire6 { left: 84px; }
#left .meridianaFire2,
#left .meridianaFire5 { left: 110px; }
#left .meridianaFire3,
#left .meridianaFire4 { left: 126px; }

#left .meridianaFire1,
#left .meridianaFire12 { top: 117px; }
#left .meridianaFire2,
#left .meridianaFire11 { top: 132px; }
#left .meridianaFire3,
#left .meridianaFire10 { top: 158px; }
#left .meridianaFire4,
#left .meridianaFire9 { top: 190px; }
#left .meridianaFire5,
#left .meridianaFire8 { top: 215px; }
#left .meridianaFire6,
#left .meridianaFire7 { top: 230px; }

#left #orario {
	width: 85px; text-align: center;
	font-family: 'Open Sans', Open Sans, sans-serif; font-size: 11px;
}
#left #orario > span { display: block; }
#left #orario .big { font-size: 3em; }
#left #orario .medium { font-size: 1.5em; }
#left #orario .little { letter-spacing: 4px; margin-left: 6px; }

#left #orario #messaggi { position: relative; display: inline-block; margin-top: 10px; }
#left #orario #messaggi > img {
	cursor: pointer;
	width: 30px;
}
#left #orario #messaggi #nuoviMessaggi {
	display: none;
	width: 20px; height: 20px; border-radius: 10px;
	line-height: 20px; text-align: center; font-weight: bold;
	background: #d2c31d; color: #000;
	position: absolute;
	top: -1px; right: -10px;
}

#infoluogo {
	margin: 25px 0;
	background: #3f4d60;
	border-radius: 5px;
}

/* left */
.mapimg {
	width: 144px; height: 72px; position: relative;
	overflow: hidden; cursor: pointer;
	border-radius: 5px 0 0 5px;
}
.mapimg span {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 5px;
    background: rgba(0,0,0,.5); color: #fff;
    font-size: 9px; text-align: center;
    text-transform: uppercase;
}
#statoluogo {
    font-weight: bold;
    font-size: 9px;
    text-align: justify;
    color: #b11;
    padding: 3px 3px 8px 3px;
    border-bottom: 1px solid #b11;
}
#meteo {
	width: 86px;
	text-align: right; font-size: .7em;
	font-family: 'Open Sans', Open Sans, sans-serif;
	color: #aeb3c3;
}
#meteo .nometeo { padding: 10px; text-align: center; }
#meteo img { width: 20px; height: 20px; margin-left: 4px; margin-top: 2px; }
#meteo img.smaller { width: 16px; height: 16px; margin-left: 6px; margin-top: 4px; }
#meteo .min { color: #399; }
#meteo .max { color: #f55; }
#meteo > div > span { display: inline-block; width: 52px; line-height: 24px; margin-right: 7px; }
#meteo > div > img { float: left; }
.wind.n { transform: rotate(180deg); }
.wind.o { transform: rotate(90deg); }
.wind.e { transform: rotate(-90deg); }
.wind.no { transform: rotate(135deg); }
.wind.ne { transform: rotate(-135deg); }
.wind.so { transform: rotate(45deg); }
.wind.se { transform: rotate(-45deg); }
.wind.ono { transform: rotate(110deg); }
.wind.ene { transform: rotate(-110deg); }
.wind.oso { transform: rotate(75deg); }
.wind.ese { transform: rotate(-75deg); }
.wind.nno { transform: rotate(150deg); }
.wind.nne { transform: rotate(-150deg); }
.wind.sso { transform: rotate(25deg); }
.wind.sse { transform: rotate(-25deg); }

#left #minichat {
    font-size: .8em;
    overflow-y: auto;
    margin: 25px 0;
}
#left #minichat input { width: 100%; }
#left #minichat #minichat-messaggi { height: 150px; max-height: 150px; overflow-y: auto; overflow-x: hidden; color: #aeb3c3; }
#left #minichat #minichat-messaggi .meta { margin-bottom: 3px; }
#left #minichat #minichat-messaggi .meta strong { margin-right: 2px; }
#left #minichat #minichat-messaggi h6 { text-align: center; font-weight: bold; font-size: .9em; }
@keyframes newShout {
    0%   {background: #f1ea00;}
    40%  {background: #f1ea00;}
    100% {background: none;}
}
#left #minichat #minichat-messaggi .meta.newmeta {
    animation-name: newShout;
    animation-duration: 2s;
}

#sideMenu {
	padding: 10px 10px 10px 42px;
    background-color: #2a2b4e;
    border-radius: 5px;
    
    background-repeat: repeat-y, no-repeat;
    background-position: left 2px top, right 10px center;
    background-size: 30px, 100px;
}
#sideMenu.sidemenu_1 { background-image: url('/img/new/skin/1/pattern-left.png'), url('/img/new/skin/1/bg-left.png'); }
#sideMenu.sidemenu_2 { background-image: url('/img/new/skin/2/pattern-left.png'), url('/img/new/skin/2/bg-left.png'); }
#sideMenu.sidemenu_3 { background-image: url('/img/new/skin/3/pattern-left.png'), url('/img/new/skin/3/bg-left.png'); }

#sideMenu span {
	cursor: pointer;
	font-weight: bold; font-variant: small-caps; font-size: 1.2em;
    border-width: 3px;
    color: #aeb3c3;
}

#sideMenu a { color: #bf6f82; }

#sideMenu span:hover { transition: ease-in .2s; padding-left: 10px; }

/* right */
#messaggi #audioMessaggi { display: none !important; }
#quick_disp { font-size: 9px; font-weight: bold; text-transform: uppercase; margin-top: 10px; line-height: 12px; }
#quick_disp img { cursor: pointer; }

/* Main */
#main {
    position: fixed;
    top: 5px;
    left: 250px;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 9;
}
#main.chat1.skin_1 { background: url('/img/new/skin/1/bgchat.png') no-repeat top 50px center; }
#main.chat1.skin_2 { background: url('/img/new/skin/2/bgchat.png') no-repeat top 50px center; }
#main.chat1.skin_3 { background: url('/img/new/skin/3/bgchat.png') no-repeat top 50px center; }

/* Mappa */
.mappa_news {
	border: 1px solid #fff;
    padding: 5px;
    margin-top: 30px;
    color: #fff;
	height: 55px;
}
.mappa_news:before {
    content: 'News dalla gestione';
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    display: block;
    position: absolute;
    top: -15px;
}
.mappa_news .slick-dots li button:before { color: #fff; }
.mappa_news .slick-dots li.slick-active button:before { color: #f1ea00; }
.mappa_news > div {
	height: 45px;
	line-height: 18px;
	font-size: .8em;
}
.mappa_news > div strong { color: #c33; }
.mappa_news .slick-slider .slick-track { height: 45px; overflow: hidden; }
.mappa_news .slick-slide { height: 45px; overflow-y: auto; }
#mainmap { margin-top: 30px; }
.arresto { color: #c33; font-size: .8em; background: #fff; padding: 5px; margin: 0 10px; }
#mappasecondaria {
	text-align: center;
	margin-top: 40px;
}
@media screen and (max-width: 640px) {
	#mappasecondaria {
		margin-top: 0;
		overflow: auto;
		position: fixed;
		top: 40px;
		bottom: 0;
		left: 0;
		right: 0;
		border: 1px solid #fff;
	}
}

/* Mainchat */
#mainchat {
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    position: relative;
}
#testi {
    position: absolute;
    top: 0;
    bottom: 120px;
    left: 0;
    right: 0;
    overflow-y: auto;
    overflow-x: hidden;
}
#input {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    overflow: hidden;
}
#input .inputHigh span {
	display: inline-block;
	height: 12px;
	width: 60px;
	border-radius: 4px;
	background: #cdd url('../img/arrow-v.png') no-repeat center;
	background-size: contain;
	transform: rotate(180deg);
	cursor: pointer;
}
#input .inputHigh:before {
	width: 100%;
	height: 1px;
	display: block;
	content: '';
	background: #2e3350;
	position: absolute;
	margin-top: 8px;
}
#input #testoAzione {
	width: 100%;
	height: 65px;
	resize: none;
}
#input .inputAction td { padding: 2px; }
#input #caratterirestanti,
#input .cosmoTotale { color: #fff; }
#input .cosmoTotale small {
	display: block;
	position: absolute;
	margin-top: -10px;
	margin-left: 9px;
	font-size: 8px;
	text-transform: uppercase;
}
#input .inputAction .doubleNarrow { width: 220px; }
#input .inputAction .halfNarrow { width: 60px; }
#input .inputAction { margin-right: 10px; }
#input .inputAction.narrow { width: 100px; }
#input .inputAction.narrow2 { width: 50px; }
#input .inputAction > span { display: block; color: #fff; line-height: 24px; font-weight: 700; font-size: .7em; }
#input .inputAction select { width: 98px; border: 0; margin: 0 2px 2px 0; box-sizing: border-box; }
#input .inputAction select.multiple { height: 66px; }
#input .inputAction > input.full { width: 100%; box-sizing: border-box; }
#input .inputAction > img { height: 14px; margin: 5px 0 5px 0; cursor: pointer; }
#input #switchInput { vertical-align: top; width: 32px; }
#input .contaCaratteri { vertical-align: bottom; }
#input .invioAzione { height: 25px; }
#input #switchInput > div {
	height: 21px;
	margin: 2px;
	cursor: pointer;
	opacity: .5;
}
#input #switchInput > div img { height: 21px; }
#input #switchInput > div:hover,
#input #switchInput > div.active { opacity: 1; }
#input #switchInput > div.active:before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	background: #f1ea00;
	position: absolute;
	border-radius: 8px;
	margin-left: 2px;
	margin-top: 2px;
}

/* Tab PNG */
#input #input_png .inputAction td.formOption > div:nth-of-type(1) { margin-bottom: 2px; }
#input #input_png .invioAzione { height: 24px; }

.inputTool {
	margin-left: 10px;
	padding: 5px;
	border: 1px solid #fff;
	color: #fff;
	width: 70px;
	height: 82px;
}
.inputTool input[type="text"],
.inputTool input[type="number"] { width: 70px; }
.inputTool.fixed { width: 140px; }
.inputTool.fixedlarge { width: 300px; }
.inputTool.fixedlarge input.hlist { margin-left: 10px; }
.inputTool legend { font-size: 8px; text-transform: uppercase; }
.inputTool input[type="checkbox"] { margin: 6px 0; }
.inputTool small { display: inline-block; position: relative; top: -2px; }

#mainchat.largeInput #testi { bottom: 250px; }
#mainchat.largeInput #input { height: 250px; }
#mainchat.largeInput #input .inputHigh span { transform: rotate(0deg); }
#mainchat.largeInput #input #testoAzione { height: 190px; }
#mainchat.largeInput #input .inputAction.narrow { clear: both; margin-bottom: 15px; }
#mainchat.largeInput #input .inputAction .doubleNarrow { width: 110px; }

/* comandi */
input,
select,
button,
textarea {
    padding: 3px 2px;
    font-size: 11px;
    font-family: 'Open Sans', Open Sans, sans-serif;
    background: #fff;
    color: #000;
    border: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-radius: 3px;
}
input[type="submit"],
input[type="reset"],
button {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 11px;
    cursor: pointer;
	color: #000 !important;
	background: #8EA6A6;
    border-radius: 3px;
    padding: 0 10px;
	line-height: 25px;
	height: 25px;
}
input[type="reset"] { background: #CE5F5F; }
#input input#caratterirestanti {
    background: #15193A;
    color: #4450bb;
    border: none;
}
#input input[name="nomepg"] { width: 100%; }
#input #invio { margin-bottom: 5px; }
#input .pannellomaster { margin-left: 50px; }
#input .wide { width: 200px; }
#input .wide fieldset { width: 180px; }
#input .dannisimulati input[type="text"] { width: 80px; }
#input .gestiscipgmaster input[type="number"] { width: 60px; }

/* Scheda */
.ui-dialog .ui-dialog-content { background: #CFE4E7; padding: 9px !important; box-sizing: border-box; -moz-box-sizing: border-box; }
.pulsanti { margin-bottom: 10px; text-align: center; }
.pulsanti .btn { display: inline-block; margin-left: 10px; }
.pulsanti .btn:first-of-type { margin-left: 0; }
#tools { height: 0 !important; overflow: hidden; }
.avatar_abilita,
.avatar img { width: 300px; height: 400px; }
.avatar_abilita .descrizioneAbilita { margin-bottom: 5px; }
.avatar_abilita label { width: 190px; padding-right: 10px; display: inline-block; font-size: .8em; }
.avatar_abilita span { width: 40px; display: inline-block; font-size: .8em; }
.avatar_abilita span.small { width: 30px; }
.avatar_abilita p { border-bottom: 1px solid #8EA6A6; padding-bottom: 3px; margin-bottom: 3px; }
.anagrafica { margin-right: 310px; }
.avatar_abilita h1,
.notefato h1,
.cavaliere h1,
.anagrafica h1 { font-size: 1.2em; margin-bottom: 5px; }
.avatar_abilita h1,
.notefato h1 { font-weight: bold; }
.notefato h1 small { font-size: .7em; margin-left: 15px; display: inline-block; }
.anagrafica h1 small { font-size: .7em; font-weight: bold; line-height: 19px; }
.cavaliere h2,
.anagrafica h2 { font-size: 1em; margin: 12px 0 3px 0; }
.cavaliere h2 { font-size: 1.1em; font-weight: bold; padding-bottom: 4px; border-bottom: 1px solid #8EA6A6; }
.anagrafica p { margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid #8EA6A6; font-size: .8em; }
.anagrafica label { display: inline-block; width: 85px; font-style: italic;  }
.anagrafica table { table-layout: fixed; width: 100%; }
.segniparticolari { color: #c33; }
#dati.skin_1 .anagrafica { background: url('/img/new/skin/1/bgchat.png') no-repeat left center; background-position: -300px 20px; }
#dati.skin_2 .anagrafica { background: url('/img/new/skin/2/bgchat.png') no-repeat left center; background-position: -300px 20px; }
#dati.skin_3 .anagrafica { background: url('/img/new/skin/3/bgchat.png') no-repeat left center; background-position: -300px 20px; }
#dati #stats { margin-bottom: 15px; }
#dati #stats td { text-align: center; }
#dati #stats thead.first td,
#dati #stats thead td { position: relative; padding-top: 4px; }
#dati #stats thead.first td { padding-top: 0; }
#dati #stats thead td img { width: 20px; height: 20px; padding-right: 10px; }
#dati #stats thead td span {
    position: absolute;
    bottom: 1px;
    text-transform: uppercase;
    font-weight: bold;
    right: 24px;
    font-size: .8em;
    letter-spacing: -.5px;
    color: #fff;
    text-shadow: 0 0 3px #000;
}
#dati #stats tbody td { padding-bottom: 4px; border-bottom: 1px solid #8EA6A6; }
.anagrafica .mostrine { line-height: 22px; }
.anagrafica .mostrine img { max-height: 22px; max-width: 22px; margin-right: 3px; vertical-align: middle; }
.halfs { height: 23px; }
.half { display: inline-block; width: 49.9%; }
.half.left,
.half.right { margin-top: 3px; }
.barre {
    width: 48%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: left center;
    position: relative;
	display: inline-block;
	margin-top: 8px;
	margin-left: 3%;
}
div > .barre:nth-of-type(1) { margin-left: 0; }
.barre .full {
    border: 1px solid #8EA6A6;
    border-radius: 5px;
    background: #bdcccc;
}
.barre .full > div { height: 9px; border-radius: 5px; }
.barre.salute .full > div { background: #9BC3C3; }
.barre.cloth .full > div { background: #C69EC3; }
.barre.cosmo .full > div { background: #7061A6; }
.barre.puntifede .full > div { background: #8DBDD4; }
.barre span {
    position: absolute;
    bottom: -6px;
    text-transform: uppercase;
    font-weight: bold;
    right: 8px;
    font-size: .7em;
    color: #fff;
    text-shadow: 0 0 1px #000, 0 0 2px #000, 0 0 3px #000;
}
.barre span.negative { color: #c33; text-shadow: 0 0 3px #fff; }
#dati { position: relative; }
#outro {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 418px;
    overflow-x: hidden;
    overflow-y: auto;
}
.clothassegnata { padding: 5px; margin-right: 10px; border: 1px solid #B1CDCC; max-width: 250px; max-height: 250px; }
.cavaliere .clothassegnata { float: left; }
.cavaliere .titolocavaliere { height: 25px; }
.cavaliere textarea { width: 100%; height: 80px; }
.cavaliere textarea,
.cavaliere p { margin-bottom: 10px; }
.movimentiExp { table-layout: fixed; width: 100%; }

.modificascheda div { margin: 2px 0; }
.modificascheda label {
    display: inline-block;
    width: 120px;
}
.modificascheda input[type="text"],
.modificascheda input[type="password"],
.modificascheda input[type="number"] { width: 300px; }
.modificascheda textarea {
    width: 100%;
}
.modificascheda input[type="text"].shortInput { width: 148px; }
.modificascheda a { color: #51657E !important; }

/* Presenti */
.presenti { margin-bottom: 10px; }
.presenti legend  { padding: 4px 0; }
.presenti legend a {
	background: #aaa;
	padding: 4px 12px;
	font-weight: bold;
	border-radius: 3px 3px 0 0;
}
.presenti legend small {
	position: absolute;
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 16px;
	background: #aaa;
	margin-left: 10px;
	text-align:center;
	line-height: 16px;
	font-size:.6em;
	font-weight: bold;
}
.presenti .fede img { width: 20px; height: 20px; }
.presenti .mostrine img,
#listaFedi .mostrine img { margin: 0 2px; }
#listaFedi a.externalLink { color: #15193a; }
.presenti tr.is_invisibile {
	background: #f6f6f6;
	opacity: .6;
}

/* Info luogo */
.info_luogo h2 { margin-bottom: 10px; }
.info_luogo .immagine_luogo {
	width: 144px;
	margin: 0 10px 5px 0;
}
.info_luogo img { max-width: 100%; }

/* Messaggi */
.paginazioneMessaggi a { display: inline-block; margin: 0 3px; cursor: default; opacity: .6; font-size: 1.2em; }
.paginazioneMessaggi a.popup { cursor: pointer; opacity: 1; }
p.testoMessaggio { font-size: 1.1em; line-height: 1.6em; margin: 10px; color: #000; }

/* tabelle input e stili vari */
.tit_table {
	border-bottom: 1px solid #222222;
	background-repeat: repeat;
	font-size: 11px;
	text-transform: uppercase;
	color: #25465f;
	letter-spacing: 2px;
	text-align: left;
}

#load {  
	z-index: 100;
	background: url(wait.gif) no-repeat;  
	margin-top: 20px;
	margin-left: 20px;  
	position: relative;float: left;  
	width: 50px;padding-left: 20px;  
}

/* Info land */
#infoPanel ul {
	margin: 10px 0 20px 0;
}
#infoPanel ul li {
	text-transform: capitalize;
}

/* Generic */
a {
    color: #44525f;
	text-decoration: none;
}
a:hover { color: #374045; }
table {
	table-layout: auto;
	width: 100%;
}
.myTable th,
.myTable td,
table th { padding: 5px 10px; }
.myTable th,
.myTable td {
	border: 1px solid #aaa;
	border-collapse: collapse;
}
.myTable th,
table th {
	text-align: center;
	background: #9fbdbc;
}
.myTable .smalltd,
.myTable .verysmalltd,
table .verysmalltd,
table .smalltd { text-align: center; }
table td img { vertical-align: middle; }
.myTable .smalltd,
table .smalltd { width: 80px; }
.myTable .verysmalltd,
table .verysmalltd { width: 40px; }
.myTable .armaturaInTabella { width: 262px; text-align: center; }
.myTable .armaturaInTabella img { margin: 0; }
.myTable .smalltd input[type="submit"] {
	width: 80px;
	text-align: center;
	display: block;
}
.myTable .smalltd input[type="submit"][disabled],
.disabled {
	opacity: .5;
}
.myTable td.formOption input[type="text"],
.myTable td.formOption select,
.myTable td.formOption textarea,
.notefato textarea,
table td.formOption textarea,
table td.formOption input[type="submit"] {
	width: 100%;
}
.inputAction td.formOption input { width: 12%; }
.inputAction td.formOption input[type="number"] { width: 8%; }
.inputAction td.formOption select {	width: 19%; margin-right: 0; }
.inputAction td.formOption input.luogoInput { margin-top: 1px; margin-right: 5px; }
.myTable td textarea {
	height: 80px;
	resize: none;
}
.myTable td input[type="checkbox"] { position: relative; top: 3px; }
.myTable td.testi p { margin: 5px 0; }

.myList { list-style: disc; margin-left: 20px; }
.myList li { font-size: .8em; }

.labelFor { display: inline-block; width: 80px; }

/* Forum */
#forum form.right { margin-left: 10px; margin-bottom: 10px; }
table .datipg { width: 120px; vertical-align: top; }
table .data_utils { height: 20px; }
table .data_utils a { display: inline-block; margin-left: 10px; }
table .data_utils a.deleteMe,
.error { color: #c33 !important; }
.success { color: #393 !important; }
table .messaggioForum {
	vertical-align: top;
	font-size: .9em;
	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
}
.nicEdit-main a,
table .messaggioForum a { color: #2F57BC !important; }
.avatarBacheca { width: 100px; height: 100px; display: block; padding: 3px 0; }
.messaggioForum .field {
	margin: 5px;
	padding: 5px 10px 10px 10px;
	border: 1px dashed #999;
}
.messaggioForum .field legend { margin: 0 10px; font-weight: bold; }
.messaggioForum img { max-width: 100%; max-height: 300px; }

/* Chat */
#testi_log { background: #15193a; padding: 10px; }
#testi_log .azione,
#testi .azione {
	font-family: 'Roboto', sans-serif;
	margin-top: 5px;
	font-size: 13px;
	line-height: 15px;
	color: #a9a9a9;
}
#testi_log .azione .heyyou,
#testi .azione .heyyou {
	font-weight: bold !important;
	text-decoration: underline !important;
}
#testi_log .azione img,
#testi .azione img { margin: 0 1px; }
#testi_log .azione .luogo,
#testi_log .azione .ora,
#testi .azione .luogo,
#testi .azione .ora,
#testi .azione .sussurra {
	display: inline-block;
	margin-right: 3px;
}
#testi_log .azione .armatura,
#testi_log .azione .skill,
#testi_log .azione .cosmo,
#testi .azione .armatura,
#testi .azione .skill,
#testi .azione .cosmo {
	display: inline-block;
	margin-left: 3px;
}
#testi_log .azione .ora,
#testi .azione .ora {
	font-size: 10px;
}
#testi .azione .sussurra {
	font-weight: bold;
	cursor: pointer;
}
#testi .azione .luogo { cursor: pointer; }
#testi_log .azione .luogo,
#testi_log .azione .armatura,
#testi .azione .luogo,
#testi .azione .armatura {
	color: #955;
}
#testi_log .azione .armatura,
#testi .azione .armatura {
	font-weight: bold;
}
#testi_log .azione .skill,
#testi .azione .skill {
	color: #fff;
}
#testi_log .azione .cosmo,
#testi .azione .cosmo {
	color: #ffb;
}
#testi_log .azione .parlato,
#testi .azione .parlato {
	color: #51657E;
}
#testi_log .azione .telepatia,
#testi .azione .telepatia {
	font-style: italic;
}
#testi_log .azione .tag,
#testi .azione .tag {
	font-weight: bold;
	color: #51657E;
}
#testi_log .azione .luogo:before,
#testi_log .azione .luogo:after,
#testi_log .azione .armatura:before,
#testi_log .azione .armatura:after,
#testi_log .azione .skill:before,
#testi_log .azione .skill:after,
#testi_log .azione .cosmo:before,
#testi_log .azione .cosmo:after,
#testi .azione .luogo:before,
#testi .azione .luogo:after,
#testi .azione .armatura:before,
#testi .azione .armatura:after,
#testi .azione .skill:before,
#testi .azione .skill:after,
#testi .azione .cosmo:before,
#testi .azione .cosmo:after { display: inline-block; }
#testi_log .azione .luogo:before,
#testi_log .azione .armatura:before,
#testi_log .azione .skill:before,
#testi_log .azione .cosmo:before,
#testi .azione .luogo:before,
#testi .azione .armatura:before,
#testi .azione .skill:before,
#testi .azione .cosmo:before { content: '['; }
#testi_log .azione .luogo:after,
#testi_log .azione .armatura:after,
#testi_log .azione .skill:after,
#testi_log .azione .cosmo:after,
#testi .azione .luogo:after,
#testi .azione .armatura:after,
#testi .azione .skill:after,
#testi .azione .cosmo:after  { content: ']'; }

#testi_log .azione_O,
#testi .azione_O {
	padding: 2px 0;
	color: #c33;
	border-top: 1px solid #c33;
	border-bottom: 1px solid #c33;
}
#testi_log .azione_M,
#testi_log .azione_C,
#testi .azione_M,
#testi .azione_C {
	padding: 3px;
	background: #9fbdbc;
	color: #000;
	text-align: center;
}
#testi_log .azione_M,
#testi .azione_M { border: 1px solid #1d5eaf; }
#testi .azione.azione_M .ora,
#testi .azione.azione_C .ora { 
	float: left;
	background: #222;
	color: #fff;
	padding: 0 3px;
}
#testi_log .azione_fato_sec,
#testi .azione_fato_sec {
	background: #9fa4bd;
	border: 1px solid #5a1daf;
}
#testi_log .azione.azione_M .parlato,
#testi_log .azione.azione_M .tag,
#testi_log .azione.azione_C .parlato,
#testi_log .azione.azione_C .tag,
#testi .azione.azione_M .parlato,
#testi .azione.azione_M .tag,
#testi .azione.azione_C .parlato,
#testi .azione.azione_C .tag {
	color: #1d5eaf;
}
#testi_log .azione_S,
#testi .azione_S,
#testi_log .azione_H,
#testi .azione_H {
	font-size:11px;
	line-height: 13px;
	padding: 3px;
}
#testi_log .azione_S,
#testi .azione_S {
	background: #eee;
	color: #222;
}
#testi_log .azione_H,
#testi .azione_H {
	background: #726880;
	color: #fff;
}
#testi_log .azione_H .tag,
#testi .azione_H .tag,
#testi_log .azione_H .parlato,
#testi .azione_H .parlato {
	color: #ddd;
}
#testi_log .azione_D,
#testi_log .azione_F,
#testi .azione_D,
#testi .azione_F {
	font-size:11px;
	line-height: 13px;
	text-transform: uppercase;
}

/*** RESPONSIVE ***/
.mobile { display: none !important; }
@media screen and (max-width: 640px) {
	.noMobile { display: none !important; }
	.mobile { display: inline-block !important; }
	tr.mobile { display: table-row !important; }
	.mobileBlock { display: block !important; }
	.mobileHidden {
		background-image: url('../img/top-bg.png');
		background-position:center top;
		background-repeat: repeat;
        display: none !important;
	}
	.ui-dialog { max-width: 98% !important; }

	/* menù e colonne */
	#main { left: 5px; right: 0; }
	#left,
    #menubar { left: -300px; }
	#left { background: #15193a; width: 240px; overflow-y: scroll; }
    .menuToBeShow.swiped { left: 0 !important; }
    
    #menubar .showhide::after { transform: rotate(90deg); }
    #menubar.open { width: 249px; height: 230px; padding-right: 0; }
    #menubar.open .showhide { position: relative; }
    #menubar.open .showhide::after { transform: rotate(-90deg); }
    #menubar.open #top-menu { position: static; }
    #menubar.open #top-menu > a { display: block; margin: 5px 10px 0 10px; padding: 5px 0; }
    #menubar.open #top-menu > a:nth-of-type(1) { margin-top: 0; }
	
	/* mappa */
	#mainmap {
		overflow: auto;
		position: fixed;
		bottom: 0;
		top: 84px;
		left: 0;
		right: 0;
		border: 1px solid #fff;
	}
	
	/* bacheca */
	table .datipg { width: 60px; }
	
	/* scheda */
	.pulsanti {
		height: 48px;
		overflow-x: auto;
		overflow-y: hidden;
		white-space:nowrap;
	}
	.pulsanti .left,
	.pulsanti .right { float: none !important; }
	.avatar { text-align: center; }
	.avatar_abilita	{ width: 100%; }
	.avatar,
	.avatar_abilita	{ float: none; }
	.anagrafica { margin: 20px 0 0 0; }
	.barre { width: 47%; }
	.cavalierecloth { text-align: center; }
	.cavaliere .clothassegnata { float: none; }
	.avatar_abilita label { width: 135px; font-size: .7em; }
	
	/* input */
	#testi { bottom: 140px; }
	#input { height: 140px; }
	
	.inputAction td.formOption input,
	.inputAction td.formOption input[type="number"],
	.inputAction td.formOption select {
		display: block;
		width: 100%;
	}
	.inputAction td.formOption input.luogoInput { float: none !important; margin: 0; }
	
	#mainchat .dettagliInput { display: none; }
	#mainchat.largeInput .dettagliInput { display: block; margin-bottom: 4px; }
	
	#mainchat.largeInput #input #testoAzione { height: 170px; }
    
	#input .inputAction .doubleNarrow { display: none; }
	#mainchat.largeInput #input .inputAction .doubleNarrow { display: block; }
	#mainchat.largeInput #input .inputAction .doubleNarrow,
	#mainchat.largeInput #input .inputAction .halfNarrow { vertical-align: bottom; }
	
    #input_tools > form,
    #input_master > form {
        display: block;
        float: none;
        width: 91% !important;
    }
    #input_tools > form .inputTool,
    #input_master > form .inputTool {
        height: auto;
        width: 100% !important;
    }
    #chatInputs > div { height: 100px; overflow: auto; }
}