@CHARSET "UTF-8";


/* GENERAL */

body {
	background-color: #C5CFD8;
	color: #333333;
	text-align: center;
}

h2, h3, h4, p, ul.list {
	padding-bottom: 10px;
	line-height: 120%;
}

h2, h3, h4 {
	color: #191919;
	font-weight: bold;
}

h2 {
	font-size: 21px;
	text-transform: uppercase;
	color: #ffffff;
	background-color: #bb2e29;
	font-weight: normal;
	font-family: 'Oswald', sans-serif;
	height: 36px;
	line-height: 34px;
	padding: 0 10px;
	margin: 25px 0;
	position: relative;
}

h2:first-child {
	margin-top: 0;
}

h2:after {
	content: "";
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 7px solid #bb2e29;
	display: block;
	position: absolute;
	bottom: -6px;
	left: 20px;
}

h2>.help {
	background-color: #C60000;
	border-left: 2px solid #FFFFFF;
	border-bottom: none;
	cursor: default;
	display: block;
	height: 36px;
	line-height: 9999px;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
	width: 36px;
}

h2>.help:after {
	border: 2px solid #FFFFFF;
	border-radius: 12px 12px 12px 12px;
	content: "?";
	cursor: default;
	display: block;
	font-family: Roboto,sans-serif;
	font-size: 16px;
	font-weight: bold;
	height: 18px;
	line-height: 17px;
	position: absolute;
	right: 7px;
	text-align: center;
	top: 7px;
	width: 18px;
}

h3 {
  border-bottom: 2px solid #bb2e29;
  font-size: 26px;
  font-weight: normal;
  margin-top: 0;
  padding-bottom: 5px;
}

h3.with-h4 {
    border-bottom: medium none;
    margin-bottom: 10px;
   }

h4 {
    background-color: #bb2e29;
    color: #FFFFFF;
    font-size: 21px;
    margin-top: 0;
    padding: 5px;
    text-align: center;
}

ul.list {
	list-style-position: inside;
	margin-top: -5px;
}

a {
	color: #7a0b00;
	text-decoration: none;
}

a:hover {
	color: #bb2e29;
	text-decoration: none;
}

a.red {
	color: #bb2e29;
}

a.red:hover {
	color: #D6492B;
}

hr {
	display: block;
	clear: both;
	height: 0px;
	border-top: 1px solid #bb2e29;
	border-right: none;
	border-left: none;
	border-bottom: 1px solid #bb2e29;
	margin: 30px 0;
}

.small {
	font-size: 11px;
}

.indent {
	margin-left: 15px;
}

.help {
	cursor: help;
	border-bottom: 1px dotted #666666;
}

.aleft {
	text-align: left;
}

.acenter {
	text-align: center;
}

.aright {
	text-align: right;
}

.fleft {
	float: left;
	margin-right: 15px;
}

.fright {
	float: right;
	margin-left: 15px;
}

.gray {
	color: #666666;
}

.green {
	color: #006600;
}

.yellow {
	color: #996600;
}

.red {
	color: #880000;
}

.input_error {
	font-size: 11px;
	font-weight: bold;
	color: #D6492B;
	padding-left: 2px;
}

.loader-icon {
	background-image: url("../images/loader.gif");
	background-position: 2px center;
	background-repeat: no-repeat;
	padding-left: 20px;
}

img.icon-text {
	opacity: 0.8;
	padding-right: 3px;
	position: relative;
	top: 2px;
}

img.icon-text.aright {
	padding-right: 0px;
	padding-left: 3px;
}

h2 img.icon-text {
	opacity: 1;
	top: -3px;
	padding-left: 2px;
	padding-right: 6px;
}

#scroll-to-top {
	background-color: #000000;
	bottom: 0;
	-webkit-box-shadow: 0px 0px 30px #000000;
	-moz-box-shadow: 0px 0px 30px #000000;
	-o-box-shadow: 0px 0px 30px #000000;
	-ms-box-shadow: 0px 0px 30px #000000;
	box-shadow: 0px 0px 30px #000000;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	padding: 15px 25px;
	position: fixed;
	right: 0;
	display: none;
}


/* HEADER */

#header {
	background-color: #FFFFFF;
	text-align: center;
	margin-bottom: 10px;
	min-height: 96px;
	font-size: 13px;
}

#header-contents {
	margin: 0 auto;
	max-width: 1000px;
	padding: 15px 10px 15px;
	text-align: left;
	position: relative;
}

#header #logo img {
	display: block;
}

#header-login {
	background-color: rgba(255, 255, 255, 0.85);
	background-image: url("../images/avatar.png");
	background-position: right center;
	background-repeat: no-repeat;
	padding: 15px 65px 15px 20px;
	position: absolute;
	right: 10px;
	text-align: right;
	top: 10px;
}

#header-login p {
	padding: 3px 0 4px;
	margin: 0;
}

#login-box {
	font-size: 13px;
	display: none;
	clear: both;
	background-color: #FFFFFF;
	margin-bottom: 10px;
	padding: 15px 20px 15px 100px;
	text-align: right;
	position: relative;
}

#login-box p {
	padding: 0;
	margin: 0;
}


/* WRAPPER */

#wrapper {
	margin: 0 auto;
	max-width: 1000px;
	*width: 1000px;
	overflow: hidden;
	text-align: left;
	padding: 0 10px 10px;
	position: relative;
}

#wrapper:first-child {
	margin-top: 10px;
}

/* SIDEBAR */

#sidebar-wrapper {
	float: left;
	overflow: hidden;
	width: 190px;
	transition-property: width;
	transition-duration: .3s;
}

#sidebar {
	font-size: 13px;
	text-align: right;
	width: 190px;
}

#sidebar div {
	margin-bottom: 10px;
	background-color: #E6E9EE;
	color: #899CAD;
}

#sidebar div span.fatheader {
	display: block;
	padding: 35px 15px 10px 10px;
	font-size: 23px;
	line-height: 27px;
	text-align: right;
	position: relative;
}

#sidebar div a {
	border-top: 1px solid #C5CFD8;
	color: #7B92A6;
	display: block;
	font-size: 13px;
	font-weight: bold;
	padding: 5px 15px;
	transition-property: background-color, color;
	transition-duration: .3s;
}

#sidebar div a:hover {
	background-color: #DEE2E9;
	color: #587084;
}

#sidebar div a.fatbutton {
	border: none;
	display: block;
	color: white;
	opacity: 1;
	transition-property: opacity;
	transition-duration: .3s;
	padding: 35px 15px 10px 10px;
	font-size: 26px;
	font-weight: normal;
	line-height: 30px;
	text-align: right;
	position: relative;
}

#sidebar div a.fatbutton:hover {
	opacity: 0.8;
}

#sidebar div a.fatbutton.active {
	background-color: white;
}

#sidebar div a.fatbutton.active:hover {
	opacity: 1;
}

#sidebar div a.fatbutton.soggetti {
	background-color: #7a0b00;
}

#sidebar div a.fatbutton.intervis {
	background-color: #bb2e29;
}

#sidebar div a.fatbutton.datipers {
	background-color: #ffab79;
}

#sidebar div a.fatbutton.soggetti.active {
	color: #7a0b00;
	background-color: white;
}

#sidebar div a.fatbutton.intervis.active {
	color: #bb2e29;
	background-color: white;
}

#sidebar div a.fatbutton.datipers.active {
	color: #ffab79;
	background-color: white;
}

#sidebar div a.fatbutton img,
#sidebar div span.fatheader img {
	position: absolute;
	width: 44px;
	top: 10px;
	left: 10px;
}

#sidebar-slidein-toggler {
	display: none;
}


/* CONTENTS */

#contents {
	background-color: #FFFFFF;
	overflow: hidden;
	min-height: 640px;
	margin-right: 0;
	position: relative;
	left: 0;
	right: 0;
	transition-property: left, right;
	transition-duration: .3s;
}

#contents_draft {
	padding: 25px;
}

.interview-form input.text {
	width: 220px;
}

.interview-form input[type="checkbox"], .interview-form input[type="radio"] {
    margin-right: 5px;
    position: relative;
    top: 1px;
}


/* FOOTER */

#footer {
	font-size: 13px;
	clear: both;
	margin-bottom: 50px;
	margin-left: 190px;
	margin-top: 10px;
	overflow: hidden;
	text-align: center;
}

#footer .credits {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 20px;
	background-color: #FFFFFF;
}

#footer .credits span {
	font-weight: bold;
}

#footer .credits img {
	max-width: 50%;
}

@media screen and (max-width: 560px) {
	
	#footer .credits {
		flex-direction: column;
	}
	
	#footer .credits span {
		margin: 10px 0;
	}
	
	#footer .credits img {
		max-width: 80%;
	}
	
}

#footer .notes {
	color: #666666;
	font-size: 11px;
	padding: 10px;
}

#footer .notes a {
	font-weight: bold;
}


/* MESSAGE BOXES */

.msgbox {
	color: #666666;
	background-color: #efefef;
	border-bottom: 1px solid #999999;
}

.msgbox span {
	display: block;
	margin: 0 auto;
	text-align: left;
	width: 960px;
	padding: 10px 0 10px 24px;
	position: relative;
	font-weight: bold;
	background-position: 6px 49%;
	background-repeat: no-repeat;
	background-image: url("../images/icons_black/info.png");
}

.msgbox.info {
	color: #008855;
	background-color: #B3DFD3;
}

.msgbox.error {
	color: #880000;
	background-color: #DFC3C3;
}

.msgbox.warning {
	color: #887700;
	background-color: #EFECC3;
}

.msgbox.error span {
	background-position: 4px 49%;
	background-image: url("../images/icons_black/x_alt.png");
}

.msgbox a {
	color: black;
}


/* RESPONSIVENESS */

@media screen and (max-width: 850px) {

	#sidebar-wrapper {
		width: 0;
		position: absolute;
		z-index: 3;
	}

	#sidebar-slidein-toggler {
		background-color: #FFFFFF;
		background-image: url("../images/slidein-icon.gif");
		background-position: 15px center;
		background-repeat: no-repeat;
		color: #000000;
		cursor: pointer;
		display: block;
		font-size: 11px;
		font-weight: bold;
		height: 45px;
		left: 0;
		line-height: 45px;
		opacity: 0.5;
		padding-left: 45px;
		padding-right: 10px;
		position: absolute;
		text-align: center;
		top: 0;
		transition-duration: 0.3s;
		transition-property: opacity;
		text-transform: uppercase;
		z-index: 2;
	}

	body.sidebar-slidein #sidebar-wrapper {
		width: 190px;
	}

	body.sidebar-slidein #contents {
		left: 190px;
	}

	body.sidebar-slidein #sidebar-slidein-toggler {
		opacity: 1;
	}

	#header #header-login {
		display: none;
	}

	#login-box {
		display: block;
	}

	#footer {
		margin-left: 0;
	}
	
}

