/*=============*/
/* RESET + GEN */
/*=============*/

* { 
  -moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box; 
   box-sizing: border-box; 
}

.clearfix:after {
    content:"";
    display:table;
    clear:both;
}

.imground { border-radius: 50%; }

/*============*/
/* MODAL WINS */
/*============*/

#coperta {
	display: none;
    position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index:1500;
	-moz-opacity: 0.8;
	opacity:.80;
	filter: alpha(opacity=80);
}

#win {
	display: none;
	position: fixed;
	top: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
	padding: 10px;
	background-color: #fff;
	z-index:2000;
	overflow: auto;
}

#win > h3 { margin: 0px; padding: 0px; margin-bottom: 10px; }
#win > h3.prewintabsmenu { background: #ccc; margin: -10px -10px 0 -10px; padding: 10px; }

.stdformbutton, .stdhformbutton {
	background: #ddd;
	color: #333;
	padding: 5px 8px;
	border-radius: 4px;
	display: inline-block;
	/*font-weight: bold;*/
	/*vertical-align: -2px;*/
	border: 1px solid #999;
	font-size: 16px;
	margin: 0 5px;
	cursor: pointer;
	transition: all 0.3s ease-out 0s;
}

.stdformbutton:hover, .stdhformbutton:hover { background: #bbb; }

/*#win > div > h3 { color: #3a6c9c; margin: 0px; padding: 0px; margin-bottom: 10px; }*/

/*#winform textarea { width: 100%; height: 100px; }
#winform input[type="button"] { width: 25%; }
#winform input[type="submit"] { width: 25%; }*/

/*#winform textarea { width: 100%; height: 100px; border: 2px solid #3a6c9c; border-radius: 4px; padding: 2px; margin: 0px; }
#winform input[type="button"] { width: 25%; }
#winform input[type="submit"] { width: 25%; }
#winform input[type="text"] { border: 2px solid #3a6c9c; border-radius: 4px; padding: 2px; margin: 0px; }
#winform input[type="password"] { border: 2px solid #3a6c9c; border-radius: 4px; padding: 2px; margin: 0px; }

#winform label { display: inline-block; width: 120px; }

#winform h3{ background: #4b9649; color: #fff; padding: 5px 20px; margin: -10px -10px 0px -10px;}*/

#menuform { margin: 10px 0; }
#menuform a { font-weight: 600; display: inline-block; background: #aaa; color: #fff; text-decoration: none; margin: 0 3px; padding: 3px 6px; border-radius: 2px; transition: background-color 0.2s ease-in-out 0s; }
#menuform a.selected { background: #666; }
#menuform a:hover { background: #ccc; }
#menuform a.selected:hover { background: #ccc; }
.winbuttonsmenu { margin: 10px 0; }
.winbuttonsmenu a { font-weight: 600; display: inline-block; background: #aaa; color: #fff; text-decoration: none; margin: 0 3px; padding: 3px 6px; border-radius: 3px; transition: background-color 0.2s ease-in-out 0s; }
.winbuttonsmenu a.selected { background: #666; }
.winbuttonsmenu a:hover { background: #ccc; }
.winbuttonsmenu a.selected:hover { background: #ccc; }
.wintabsmenu { background: #ccc; padding: 6px 5px 0 3px; text-align: left; margin: 0px -10px 0px -10px; }
.wintabsmenu a { font-weight: 600; display: inline-block; background: #666; color: #fff; border-radius: 5px 5px 0 0; text-decoration: none; margin: 0 3px; padding: 3px 6px; transition: background-color 0.2s ease-in-out 0s;}
.wintabsmenu a.selected { background: #fff; color: #666; }
.wintabsmenu a:hover { background: #999; }
.wintabsmenu a.selected:hover { background: #fff; }
#block1, #block2, #block3, #block4, #block5 { display: none; padding-top: 10px; }

/*#postlinkform { padding:  0 0 8px 0; text-align: left; }
#postlinkform a { font-weight: bold; display: inline-block; background: #fff; color: #3a6c9c; text-decoration: none; margin-left: 3px; padding: 3px 6px; border-radius: 5px; }
#postlinkform a.selected { background: #3a6c9c; color: #fff; }

#thumbs { margin-top: 10px; width: 100%; overflow: auto; }
#thumbs > div { width: 22%; margin-left: 4%; height: 100px; overflow: hidden; margin-bottom: 10px; float: left; position: relative; }
#thumbs > div:nth-child(4n+1) { margin-left: 0; }
#thumbs > div > img { height: 100%; }
#thumbs > div > span { position: absolute; bottom: 0px; left: 0px; background: white; padding: 2px; }
#thumbs > div > span > a { color: red; text-decoration: none; font-weight: bold; }

#winmapcont { width: 240px; border: 1px solid #4b9649; float: right; display: none; background: #4b9649; font-size: 11px; color: #fff; text-align: center; }
#winmap { width: 100%; height: 150px; }*/

#wintable { width: 100%; border-collapse: collapse; }
#wintable td, #wintable th { border: 1px solid #ccc; background: #fff; padding: 3px; }
#wintable th { background: #ccc; }

@media only screen and (min-width: 768px) {
	#win { left: 10%; width: 80%; height: auto; top: 10%; }
/*#winmapcont { display: block; }*/
}

@media only screen and (min-width: 1024px) {
	#win { left: 20%; width: 60%; height: auto; top: 10%; }
/*#winform input[type="text"] { font-size: 20px; }
#winform input[type="password"] { font-size: 20px; }
#winform textarea { font-size: 20px; }*/
}