
@import url("jspanel.css");


body {
	/*background-color: #F0F0F0;*/
	margin: 0;
	padding: 0;
}

header {
	height: 150px !important;
}

header .logo {
	width: 425px;
	top: -13px;
	left: -14px;
}

header .red-band {
	left: 280px;
	height: 80px;
}


.header-green {
	font-size: 1.5em;
	letter-spacing:-.04em;
	line-height: 120%;
	background-color:#1e8b80;
	color:#FFF;
	font-weight: bold;
	text-align:center;
	padding: 5px 20px;
}

.box .header-green {
	margin: -20px -20px 50px -20px;
}

.container {
	padding: 0 50px;
}


#jurinotelist {
	display:flex;
	flex-wrap:wrap;
	font-size: .8em;
	line-height: 140%;
	margin: -20px -10px 100px -10px;
	font-weight: 400;
	justify-content:center;
}

.in-item-note {
	/*width:33%;*/
	width:100%;
	max-width:300px;
	/*flex:1;*/
	/*display:flex;*/
	/*flex-wrap:wrap;*/
	padding: 20px 10px;
	cursor: pointer;
}


.in-item-note .in-title-content {
	width:100%;
	background-color: #DDD;
	padding: 10px;
	/*margin-bottom: 10px;*/
	font-weight: 400;
}

.in-item-note .in-title-content:empty {
	display:none;
}

.in-item-note .in-head {
	color:#FFF;
	background-color:#1e8b80;
	/*background-color:#e4241f;*/
	font-weight:700;
}

.in-item-note .in-head .in-content-doc {
	display:inline-block;
	background-color:rgba(0,0,0,.3);
	font-weight:700;
	color:#FFF;
	line-height: 30px;
	padding: 0 7px;
	margin-right: 5px;
}

.in-item-note .in-head .in-content-doc:empty {
	display:none;
}

.in-item-note .in-head .in-content-title {
	display:inline-block;
	line-height: 30px;
	padding: 0 10px;
}

.in-item-note .in-title {
	padding: 10px 10px 20px 10px;
	background-color: #FFF;
	border-left:1px solid #DDD;
	border-right:1px solid #DDD;

}



.in-item-note .in-user {
	width:100%;
	min-height: 44px;
	padding: 5px 10px;
	border: 1px solid #DDD;
	font-size: 11px;
	line-height: 15px;
	background-color: #FFF;
}
.in-item-note .in-user img {
	width: 24px;
	margin-right: 8px;
	margin-top: 4px;
	float: left;
}
.in-item-note .in-date {
	float:none;
	margin-left: 30px;
}
.in-item-note .in-username {
	font-weight: 600;
	margin-left: 30px;
}


@media (max-width: 1200px) {
	.in-item-note {
		width:50%;
	}
}

@media (max-width: 500px) {
	.in-item-note {
		width:100%;
	}
}

.jsPanel-replacement {			
	width: 300px;
}

.jsPanel-headerbar {
	background-color:#1e8b80;
}

.jsPanel-headerbar {
	background-color:#1e8b80;
}

.jsPanel-ftr {
	background-color:#DDD;
}

.jsPanel-titlebar {
	padding-left: 0;
}
.jsPanel-headerbar .titlecod {
	display: inline-block;
	background-color: rgba(0,0,0,.5);
	line-height: 40px;
	padding: 0 10px;
	font-weight:700;
}

.fullabsoluteposition {
	position:absolute;
	top: 0;
	left:0;
	right:0;
	bottom:0;
}

.annotationviewer {
	container-type: inline-size;
	container-name: panelContainer;
	overflow-y: auto;
	overflow-x: hidden;
}

.annotationviewer .in-text {
	flex:1;
}


.annotationviewer iframe {
	border:none;
}

.annotationviewer .content-annotated {
	width:50%;
	max-width: 400px;
	font-weight: 600;
	position: relative;
	color:#FFF;
}

.annotationviewer .content-annotated-wrapper {
	padding: 20px;
    background-color: #999;
    color: #FFF;
    font-weight: 400;
	transition: LEFT .5s;
}

.annotationviewer .content-annotated .article_wrap {
	position: absolute;
	top: 80px;
	bottom: 0;
	left: 0;
	right: 0;
	overflow-y:auto;
	padding: 20px;
}

.annotationviewer .content-annotated .article_text p,
.annotationviewer .content-annotated .article_text li {
	font-size: 70%;
	line-height: 140%;

}

.annotationviewer .content-annotated-wrapper .button-open {
	display:none;
	position:absolute;
	top:0;
	left:-40px;	
	width:40px;
	height:40px;
	background-color: #1e8b80;
	background-image: url('https://www.addnotation.com/images/handle-left.png');
	background-size: 30px;
	background-position: center center;
	background-repeat: no-repeat;
	color:#FFF;
	cursor:pointer;
}

.annotationviewer .content-annotated-wrapper.open .button-open {
	background-image: url('https://www.addnotation.com/images/handle-right.png');
}


.annotationviewer .content-annotated .article_doc {
	margin: -20px -20px 0 -20px;
	padding: 7px 20px;
	background-color: #555;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.annotationviewer .content-annotated .article {
	margin: 0 -20px 20px -20px;
	background-color: #666;
	padding: 7px 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.annotationviewer .content-annotated .article_title {
	font-size: 90%;
	font-weight: 700;
	line-height: 120%;
	margin-bottom: 7px
}			

.in_content_annotated .fragment {
	color: #333;
	font-weight: 700;
	background-color: #ffeda9;
	text-decoration: none;
	padding: 0 1px;
}
.in_content_annotated .fragment:first-of-type {
	padding-left: 7px;
}

.annotationviewer iframe {
	border:none;
}

.wrapper-video {
	height: 0;
	overflow: hidden;
	padding-bottom: 56.25%;
	padding-top: 30px;
	position: relative;
}
.wrapper-video iframe,
.wrapper-video object,
.wrapper-video figure,
.wrapper-video embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}


.wrapper-a4 {
	width:100%;
	margin:20px auto;
	max-width:800px;
	height: 0;
	overflow: hidden;
	padding-bottom: 141%;
	padding-top: 50px;
	position: relative;
}
.wrapper-a4 iframe,
.wrapper-a4 object,
.wrapper-a4 embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}


@container panelContainer (max-width: 1000px) {
	.annotationviewer .content-annotated {
		width:40px;
		max-width: none;
	}

	.annotationviewer .content-annotated-wrapper {
		left: 10px;
		right: -390px;
	}
	
	.annotationviewer .content-annotated .button-open {
		display:block;
	}
	
	.annotationviewer .content-annotated-wrapper.open {
		left:-360px;
		right:0;
	}

}

@container panelContainer (max-width: 450px) {

	.annotationviewer .content-annotated-wrapper.open {
		left:-250px;
		right:0;
	}
	
}



.jsPanel .in-title {
	padding: 20px 40px;
	background-color: #F0F0F0;
	font-size: 24px;
	line-height: 130%;
	letter-spacing:-.02em;
}

.jsPanel .in-text {
	padding: 20px 40px;
	min-height: 200px;
}

.jsPanel .in-text * {
	font-size: 14px;
	line-height: 150%;
}

.jsPanel .in-text a {
	font-weight: 600;
}

.jsPanel .in-text a:hover {
	color:#1e8b80;
	background-color: transparent;
	border-bottom: 1px solid #1e8b80;
}

.jsPanel .in-text p {
	/*text-indent: 20px;*/
	text-indent: 0;
	margin-bottom: 7px;
}

.jsPanel .in-text .blockquote {
	text-indent: 20px;
	padding-left: 50px;
	border-left: 5px solid #CCC;
	padding-bottom: 7px;
}


.jsPanel .in-text li {
	margin-left: 40px;
	margin-bottom: 7px;
}

.jsPanel .in-user {
	flex:1;
	font-size: 14px;
}

.jsPanel .in-user img {
	width:40px;
	margin-right: 10px;
	flex:1;
}

.jsPanel .in-date {
	font-size: 14px;
	padding: 0 10px;
}




.header {
	display:flex;
	align-items: center;
	background-color: #e4241f;
	position:relative;
	height: 120px;
	color:#FFF;
	/*padding: 25px 50px 25px 150px;*/
	margin-bottom: 100px;
	overflow:hidden;
}

.header .logo {
	position: static;
	display:block;
	width:150px;
	height:120px;
	background-color: #FFF;
	padding-right: 30px;
	background-image:url('/images/areadg-marchio-500.jpg');
	background-size: contain;
	background-position: left;
	background-repeat:no-repeat;
}

.header .logo:hover {
	border:none;
}

.header .pagetitle {
	flex:1;
	padding-left: 50px
	/*padding: 0 30px;*/
}



.header h1 {
	font-size: 2.5em;
	line-height: 100%;
	color:#FFF;
	margin:0
}


@media (max-width: 1000px) {

	.header .pagetitle {
		padding-left: 25px
	}

}

@media (max-width: 700px) {

	.header > div {
		padding: 0 30px;
	}

	.header h1 {
		font-size: 2em;
	}
}









			.container {
				padding:0 50px;
				max-width: 1200px;
			}
			
			@media all and (max-width: 1200px) {

			}

			.red-band {
				left:530px;
				height: 100px;
			}

			
			h2.borderbottom {
				border-bottom: 1px solid
			}
			
			h3 {
				line-height: 140%;
			}


			header .logo {
				width: 425px;
				top: -13px;
				left: -14px;
			}
			
			.red-band {
				left: 280px;
				height: 80px;
			}
			
			h1 {
				font-size: 3em;
				line-height: 1.2em;
				font-weight: 400;
				letter-spacing: -.07em;
				color: #1e8b80;
				margin-bottom: 1em;
				margin-top: 1em;
			}


			
			
			/***** PAGENAV ******/
			
			.page-nav {
				display:flex;
				margin:0 -1px;
			}
			
			.page-nav > div {
				padding: 2px 1px;
			}
			
			.page-nav a {
				display:block;
				background-color: #e4241f;
				color: #FFF !important;
				line-height: 300%;
				padding: 0 2em;
				transition: background .2s;
				
			}
			
			.page-nav a:hover,
			.page-nav a.active {
				background-color: #c2241a;
				color: #FFF !important;
				border:none;
			}
			
			
			
			
			
			@media all and (max-width:992px) {
			
				.page-nav a  {
					padding: 0 1em;
					line-height: 250%;
				}
					
			}
			


			@media all and (max-width:768px) {
			
				header .logo {
					width: 300px;
					top: -10px;
					left: -10px;
				}
				
				header .red-band {
					left: 197px;
					height: 56px;
				}				

				.container {
					padding: 0 25px;
				}
				
			}

			
			
			@media all and (max-width:500px) {
			
				.page-nav a  {
					padding: 0 1em;
					line-height: 250%;
				}
				
				
				header .red-band {
					background-color: #e4241f;
					right: 0;
				}
				
				.container {
					padding: 0;
				}
				
				
			}
			
			@media all and (max-width:400px) {
				
			
				.page-nav a  {
					font-size: 3vw;
					padding: 0 3vw;
					line-height: 7vw;
				}	
				
			}
			
			.linkbox {
				display:block
			}
