@media screen {
	
	html {
  scroll-behavior: smooth;
}

body {
	background: url("images/tile.png") repeat fixed;
	font-size: 100%;
	margin: 0;
	}
* {
  box-sizing: border-box;
}
	
#content {
	background: #fff;
	margin: 0 auto 1em;
	width: 1450px;
	max-width: 92%;
	color: #330000;
	font: 1.125em 'Times New Roman',Times,serif;
	padding: 10px 20px 25px;
	border: 1px solid #660000;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(0,0,0,.25);
	}


#title {
	margin: 1em auto;
	padding: 3px 0 0;
	font: bold 1.5em Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
	letter-spacing: 0.1em; 
	color:#600;
	font-weight: bold;
	text-align: center;
	}
div.cent {
		text-align: center;
		margin: 1em auto 2em;
		border: none;
	}
	
	.map-wrapper{
    position:relative;
    display:inline-block;
    max-width:650px;
}

.map-wrapper img{
    display:block;
    max-width:100%;
    height:auto;
}

.map-overlay{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
}

.map-overlay rect{
    fill:rgba(250,225,5,0.10);
    stroke:#600;
    stroke-width:1;
    vector-effect:non-scaling-stroke;
}
	
	/* Page menu */

#lmp {
	display: block;
	text-align: center;
	background-color: #fff;
	font: bold 1.1em 'Times New Roman',Times,serif;
	color: #600;
	border: 1px solid #660000;
	border-radius: 6px;
	margin: 15px  20px 16px 0;
	padding: 3px 5px 7px 5px;
	float: left;
	}
#lmp ul {
	list-style: none;
	padding:0;
	margin: 0;
	} 
#lmp li {
	margin: 10px .1em;
	display:block;
	}
#lmp li a {
	font: normal 1em 'Times New Roman',Times,serif;
	display: block; 
	padding: 4px 6px 3px; 
	margin: 3px 2px; 
	border: 1px solid #660000; 
	text-decoration: none; 
	color: #000000;
	background-color: #f8f8f8;
	}
	#lmp li a.home {
	border: 2px solid #660000; 
	border-radius: 6px;
	padding: 4px 6px 3px 36px;
	text-decoration: none; 
	color: #660000;
	background: #f8f8f8 url("images/home.png") 4px 3px no-repeat;
	}
	#lmp li a.home:hover {
	color: #000000;
	background: #fff url("images/home.png") 4px 3px no-repeat;
	}
	
#lmp li a:hover {
	background: #fff; 
	color: #600;}
	
	/* Page buttons */

#bp {
	text-align: center; 
	margin: 25px 0 15px 0; 
	}
	
#bp a {
	display: inline; 
	font: bold 14px 'Times New Roman',Times,serif;
	padding: 1px 5px 3px; 
	margin: 2px 15px 2px 2px; 
	border: 1px solid #660000; 
	text-decoration: none; 
	color: #660000;
	background-color: #efefef;
	}
#bp a:hover {background: #f6f6f6; color: #000000;}

	
#def {
	text-align: center; 
	margin: 80px 0 0 0; 
	}
	
#def a {
	display: inline; 
	font: bold 1.2em 'Times New Roman',Times,serif;
	padding: 1px 10px 3px; 
	margin: 5px; 
	text-decoration: none; 
	color: #fff;
	background-color: transparent;
	}
#def a:hover {background: transparent; color: #660000;}
	
#vrtJumpTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #fff;
  color: #600;
  border: 2px solid #660000;
text-decoration: none;
	text-align: center;
  padding: 10px;
  border-radius: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

 a.ext, a.down  {
	color: #600; 
	background-color: #fff;
	border: 1px solid #600;
	border-radius: 6px;
	font: normal 1em Georgia,'Times New Roman',Times, serif;
	text-decoration: none;
	padding: 0 4px;
	}
	
	a.down:hover, a.ext:hover  {
	color: #f00; 
	}

a.down::after {
    content: "";
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    margin-left: 0.2em;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23600' stroke-width='2'><path stroke-linecap='round' stroke-linejoin='round' d='M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3'/></svg>") no-repeat center;
    background-size: contain;
} 
	
a.ext::after {
    content: "";
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    margin-left: 0.2em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23600' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M7.5 7.5h9v9m0-9L7.5 16.5'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}
	
ul.lst {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

ul.lst li {
    display: block;       
    font: normal 1em Georgia, 'Times New Roman', Times, serif;
    text-align: justify;
    color: #000;
    margin-bottom: 0.5em;      /* Space between items */
    line-height: 1.4;          /* Improves readability when text wraps */
}


ul.lst li::before { /*Tick Mark SVG */
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.5em;
    vertical-align: middle;    /* Aligns tick with the first line of text */
    
    background-color: #600; 
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}
	
/* Horizontal lines */

hr {
	border: none;
	color: #660000;
	background-color: #660000;
	height: 1px;
	width: 80%;
	margin: 2em auto;
	}
hr.sh {
	width: 30%;
	}
	
/*Table*/

table{
	border-collapse: collapse;
	margin: 0 5%;
	}
td {
	border: 1px solid #660000; 
	padding: 5px 5px 5px 10px;
	}
td em {
	font-family: 'Times New Roman', Times, serif; 
	font-size: 1em; 
	color: #660000; background-color: transparent;
	font-weight: normal; 
	font-style: italic;
	}
th {
	border: 2px solid #660000;	
	padding: 3px; 
	background-color: #eaeaea; 
	color: #660000; 
	font: bold 1.1em 'Times New Roman',Times,serif;
	}
table td.area {
	border: 2px solid #660000;
	font-family: 'Times New Roman', Times, serif; 
	font-size: 1.1em; 
	color: #660000; background-color: #f8f8f8;
	font-weight: bold;
	padding: 6px 0 6px 10px;
	}
table td.area a.map{
	font: bold 0.8em 'Times New Roman',Times,serif;
	color: #660000; background-color: transparent;
	text-decoration: none;
	display: block;
	float: right;
    margin: 5px 25px 5px 0;
	border: none;	
	}
	table#grade {
	width: 40%;
	margin: 1em auto;
	}
	
table#grade tr.blk {
	color: black; 
	background-color: #d1d1d1; 
	font-weight: bold;
	}
	
table#grade td {
	text-indent: 2em;
	}	
col#traseu { width: 40%; }
col#grad { width: 20%;}
col#com { width: 40%;}
col#uiaa { width: 33%;}
col#fr { width: auto}
col#usa { width: 33%;}
/* Text */
	
h1 {
	font-family: 'Times New Roman', Times, serif;
	font-size: 1.5em;
	color: #660000;
	font-weight: bold;
	}

h2 {margin: 0px -20px 0.5em; 
	padding: 4px 0; 
	text-align: center;
	background: #fff; 
	color: #660000; 
	letter-spacing: 0.3em; 
	font: bold 1.4em 'Times New Roman',Times,serif;
	border-top: 2px solid #660000;
	border-bottom: 2px solid #660000;
	}
h2.first {margin: 0px -20px 0.5em; 
	padding: 4px 0; 
	text-align: center;
	background: transparent; 
	color: #660000; 
	letter-spacing: 0.3em; 
	font: bold 1.4em 'Times New Roman',Times,serif;
	border: none;
	}
	
h3 {
	font: bold 1.3em 'Times New Roman',Times,serif;
	color: #600;
	text-indent: 1em;
	line-height: 1.4em;
	text-align: center;
	}
p {
	font-family: 'Times New Roman', Times, serif;
	font-size: 1.125em;
	font-weight: normal;
	color: #330000; background-color: transparent;
	text-indent: 1em;
	text-align: justify;	
	}
.cen {
	font-family: 'Times New Roman', Times, serif;
	font-size: 1.1em;
	font-weight: normal;
	color: #330000; background-color: transparent;
	text-align: center;	
	}
.center {
	text-align: center;
	}

strong {
font-family: 'Times New Roman', Times, serif;
	font-size: 1em;
	font-weight: bold;
}
	.red {
font-family: 'Times New Roman', Times, serif;
	font-size: 1.125em;
	font-weight: bold;
		color: #f00;
		text-align: center;
}
.laur {
	font-family: 'Times New Roman', Times, serif;
	font-size: 1em;
	color: #f00;
	font-weight: normal;
}
.black {
	font-family: 'Times New Roman', Times, serif;
	font-size: .75em;
	color: #000;
	font-weight: bold;
	}
	
	/* Images */

.nobrd {border:none;}

.imgbrd {
margin: 5px 10px 5px 10px;
border: 1px solid #660000;
	}
img.rght { 
	float: right;
margin: 6px 0 10px 36px;
border: 1px solid #660000;
	}
img.lft { 
	float: left;
margin: 6px 36px 10px 0px;
border: 1px solid #660000;
	}
	
}

@media print {
	body { display: none; }
}

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

  #content {
	font: 1em 'Times New Roman',Times,serif;
    margin: 15px auto 0;
	  max-width: 100%;
	  border-radius: 0;
  }
	#title{
		font: bold 1.6em Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
	}
  #copy {
	display: none;
	visibility: hidden;
  }
  /* Main menu */
 h1 {
	font-size: 1.3em;
	}
h2 {
	font: bold 1.25em 'Times New Roman',Times,serif;
	}

#content img {
	max-width: 100%;
	height: auto;
	}	
#lmp {width: 100%;
	}
table{
	max-width: 100%;
	margin: 0 5px 0 0;
	border-collapse: collapse; 
	}
#map-wrapper, #sinaia, #vrtJumpTop, .map-overlay, .map {
	display: none;
	visibility: hidden;
	}
}