
html {
	overflow: auto;
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 1em;
	line-height: 1.2em;
	background: #ccc;
	text-align: center;
}

hr {
	margin: 20px 20px 20px 8px;
}

img {
	border: none;
}

table {
	margin: 30px auto;
}

#wrapper {
	width: 90%;
	margin: 20px auto 20px auto;
	background: #fff;
	border: 1px solid #666;
	/* border-top: none; */
}

#story {
	/*float: left;*/
	/*width: 570px;*/
	/*max-width: 1000px;*/
	margin: 10px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	background: #fff;
	text-align: left;
	/*border-right: 1px solid #999;*/
}

#shareBefore {
	display: inline-flex;
}

#shareAfter {
	display: none;
}

#links {
	min-width: 155px;
	/* float: right; */
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: left;
	margin: auto;
	font-weight: bold;
}

#links img {
	margin-right: 4px;
	margin-top: 2px;
}

.publinkShareButtonIcon.shareOpen {
	transition: transform 400ms ease-in-out;
	transform: rotate(180deg);
}

@media screen and (min-width : 1281px) {

	/* hi-res laptops and desktops */
	#wrapper {
		width: 825px;
		margin: 20px auto 20px auto;
		background: #fff;
		border: 1px solid #666;
		/* border-top: none; */
	}

	#story {
		float: left;
		width: 628px;
		max-width: 1000px;
		margin: 10px 0px 0px 0px;
		padding: 0px 0px 0px 0px;
		background: #fff;
		text-align: left;
		border-right: 1px solid #ccc;
	}

	#links {
		float: right;
		margin: 20px;
	}

	p.abody,
	p.byline {
		text-align: justify;
	}

	#shareBefore {
		display: none;
	}

	#shareAfter {
		display: inline-flex;
	}

	#sharePanel > .publinkShare {
		flex-direction: column;
	} 

	.publinkShareButtonIcon.vert.shareOpen {
		transition: transform 400ms ease-in-out;
		transform: rotate(-90deg);
	}
}


#header {
	display: block;
	width: 96%;
	padding: 10px 0px 2px 0px;
	margin: 0px auto 0px auto;
	font-size: 12px;
	color: #000;
	border-bottom: 1px solid #ccc;
}

#header .subsection {
	float: left;
}

#header .date {
	float: right;
}

#story img {
	border: none;
	margin: 1.75px 20px;
	padding: 0;
	max-width: 85%;
	height: auto;
}

.up,
.uptitle {
	margin: 8px 0px 6px 20px;
	font-size: 15px;
	font-weight: normal;
	font-variant: small-caps;
	text-align: left;
}

.main,
.maintitle {
	margin: 10px 20px;
	font-size: 24px;
	font-weight: bold;
	line-height: 30px;
	text-align: left;
}

.sub,
.subtitle {
	margin: 8px 0px 6px 10px;
	color: #666;
	font-size: 14px;
	font-weight: bold;
	text-align: left;
}

.paragraph,
.abody,
.byline {
	margin: 10px 20px;
	padding: 0;
}

#shareBefore {
	margin-left: 10px;
}

#shareAfter {
	margin-left: 20px;
}

.imgArt {
	text-align: center;
}

#openEedition {
	display: block;
	color: #000;
	text-decoration: none;
	padding: 2px 0px 2px 5px;
	width: 155px;
}

#openEedition:hover {
	color: #666;
	text-decoration: underline;
}

.spacer {
	clear: both;
}

#footer {
	display: block;
	width: 96%;
	padding-top: 2px;
	margin: 10px auto 5px auto;
	font-size: 10px;
	line-height: 10px;
	color: #000;
	border-top: 1px solid #ccc;
}

#footer a {
	color: #000;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

#footer .tecnavia {
	float: left;
}

#footer .copyright {
	float: right;
	max-width: 500px;
}

.error {
	font-weight: bold;
	color: red;
}

td {
	text-align: right;
	font-size: 1em;
}

.publinkShare {
    border: 1px solid #ccc;
	padding: 5px 15px;
    position: relative;
	display: inline-flex;
	border-radius: 12px;
	flex-wrap: wrap;
	gap: 5px;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
}

.publinkShare:hover {
	cursor: pointer;
}

.publinkShareButton {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	display: none;
	line-height: 1em;
}

.publinkShareButton > .shareP {
	display: none;
}

.publinkShareButtonIcon {
	transform: rotate(0deg);
	transition: transform 400ms ease-in-out;
}

.publinkShareButtonIcon, .imgSharing {
	height: 32px;
	width: 32px;
	margin: 0 !important;
	max-width: 100% !important;
}

.imgSharing {
	transform: scale(0);
	transition: transform 400ms ease-in-out;
}

.imgSharing.shareOpen {
	transform: scale(1);
	transition: transform 400ms ease-in-out;
}

#copyUrlOK {
	background: #000000;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	color: #FFFFFF;
	border: 5px solid black;
	z-index: 200;
	position: absolute;
	left: 50vw;
    top: 50vh;
    transform: translate(-50%,-50%);
	opacity: 0;
	padding: 24px;	
	border-radius: 12px;
}

@media print {
	@page {
		size: auto;
		margin: 2cm;
	}

	body {
		overflow: visible !important;
	}

	.publinkShare, #adwrapper, #links, #header {
		display: none;
	}

	#wrapper {
		border: none;
		margin: 0;
	}
	
}