@import url(http://fonts.googleapis.com/css?family=Cinzel);/*igual que Trajan*/

/*-----------------PARA MOBIL por defecto------------*/
.aparato {background-color: red;height:30px;width: 30px;}
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  font-family: "Roboto", sans-serif;
  color: #990033;
  background-color: #505050;
  background: url(fondo.jpg);
  -webkit-font-smoothing: subpixel-antialiased;
}

a {color: #000000;text-decoration: none;}
a[href^="#"] {color: #000000;text-decoration:none;}
a[href^="#"]:hover {color: #007abc;text-decoration:none;}
a[name], a[name]:hover {text-decoration: none;color:#007abc;}
a[href^="mailto:"] {color: #990033;}
a[href^="mailto:"]:hover {color: #000000;text-decoration: none;text-shadow: 2px 1px 6px rgba(0,0,0,0.6);}
a[href^="http:"], p a[href$=".htm"], p a[href$=".html"] {
  background-position: 0 91%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  color: #000000;
  outline: medium none;
  text-decoration: none;
}
a[href^="http:"]:hover {
	background-image: -webkit-gradient(linear, left top, right top, color-stop(-35%,#fff), color-stop(50%,#444), color-stop(160%,#fff));
	background-image: -webkit-linear-gradient(left, #fff -35%,#444 50%,#fff 160%);
	background-image: -moz-linear-gradient(left, #fff -35%, #444 50%, #fff 160%);
	background-image: -ms-linear-gradient(left, #fff -35%,#444 50%,#fff 160%);
	background-image: -o-linear-gradient(left, #fff -35%,#444 50%,#fff 160%);
	background-image: linear-gradient(left, #fff -35%,#444 50%,#fff 160%);
    color: #990033;
    text-decoration: none;
}
a[href$=".pdf"] {
  background: none repeat scroll 0 0 #cddff7;
  border-radius: 5px;
  box-shadow: 0 12px 5px #fff inset;
  color: #990033;
  cursor: help;
  display: inline-block;
  margin: 0 auto 20px;
  padding: 3px 10px;
	width:30%;
}
a[href$=".pdf"]:hover {
  background: none repeat scroll 0 0 #990033;
  color: #990033;
  text-shadow: 0px 0px 2px #000;
  box-shadow: 0 12px 5px rgba(255,255,255,0.7) inset;
}
img {
  max-width: 100%;
}

.dcmfx-top {
  border-radius: 0 0 5px 5px;
  box-shadow: 1px 0 8px rgba(0, 0, 0, 0.6);
  font-family: "Arial Narrow",Arial,sans-serif;
  font-size: 0.68em;
  line-height: 2.2;
  margin: 0 auto;
  position: relative;
  text-transform: uppercase;
  z-index: 3;
}
.dcmfx-top a {
  padding: 0 1em;
  letter-spacing: 0.1em;
  color: #333!important;
  display: inline-block;
}
.dcmfx-top a:hover {color: #990033!important; text-decoration:none!important; background-image:none!important;}
.dcmfx-top span.right {float: right;}
.dcmfx-top span.right a {float: left;display: block;}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  max-width: 1170px;
  margin: 0 auto -3px;
}
.cd-container:after {
  content: "";
  display: table;
  clear: both;
}

.cd-img-replace {
  /* replace text with background images */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
/* -------------------------------- */

header {
  background-color: #ffffff;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  border-left: 5px solid #000000;
  border-right: 5px solid #000000;
  box-shadow: 0 -50px 50px -3px #ffffff inset;
  line-height: 1.4em;
  margin: 0 auto;
  max-width: 800px;
  padding: 0 0 30px;
  position: relative;
}
header h1 {
  color: #990033;
  font-family: cinzel,serif;
  font-weight: 300;
  line-height: 1em;
  text-shadow: 1px 1px 1px rgb(255, 255, 255);
transition: all 2s ease-out;
-webkit-transition: all 1s ease-out;
-moz-transition: all 1s ease-out;
-o-transition: all 1s ease-out;
-ms-transition:all 1s ease-out;
}
header h1 {
  font-size: 6vmin;
  padding: 20px 15px;
  text-align: center;
}
header h2 {
  font-family: georgia,serif;
  font-size: 140%;
  font-style: italic;
  font-weight: lighter;
  text-align: center;
}
.fd-header {
  background-image: url("img-header-mob.jpg");
  padding-top: 39vmin;
}
.intro {
  font-family: georgia,serif;
  margin: 70px auto 0;
  padding: 20px;
}
.intro h1 {
  color: #990033;
  font-family: georgia;
  font-style: italic;
  padding: 0;
  text-align: left;
}
.intro p {
  color: #000000;
  letter-spacing: 0.03em;
  text-align: left;
}

.cd-product {
  text-align: center;
}

.cd-product-wrapper {
  display: inline-block;
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  border-right: 5px solid #000000;
  border-left: 5px solid #000000;
}
.cd-product-wrapper > img {
  display: block;
}

.cd-single-point {
  position: absolute;
  border-radius: 50%;
}
.cd-single-point > a {
  position: relative;
  z-index: 2;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: inherit;
  background: #990033; /*color del punto no cliqueado todavia */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.cd-single-point > a::after, .cd-single-point > a:before {
  /* rotating plus icon */
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background-color: #ffffff;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.cd-single-point > a::after {
  height: 2px;
  width: 12px;
}
.cd-single-point > a::before {
  height: 12px;
  width: 2px;
}
.cd-single-point::after {
  /* this is used to create the pulse animation */
  content: '';
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: inherit;
  background-color: transparent;
  -webkit-animation: cd-pulse 2s infinite;
  -moz-animation: cd-pulse 2s infinite;
  animation: cd-pulse 2s infinite;
}
.group1 .cd-single-point:nth-of-type(1) {left: 36%;top: 3.7%;}
.group1 .cd-single-point:nth-of-type(2) {right: 46%;top: 22%;}
.group1 .cd-single-point:nth-of-type(3) {left: 70.5%;top: 28%;}
.group1 .cd-single-point:nth-of-type(4) {right: 63%;top: 41%;}
.group1 .cd-single-point:nth-of-type(5) {right: 40%;top: 53%;}
.group1 .cd-single-point:nth-of-type(6) {left: 13%;top: 60%;}
.group1 .cd-single-point:nth-of-type(7) {right: 24%;top: 64%;}
.group1 .cd-single-point:nth-of-type(8) {right: 52%;top: 73.3%;}
.group1 .cd-single-point:nth-of-type(9) {left: 3.7%;top: 82.8%;}

.group2 .cd-single-point:nth-of-type(1) {left: 49%;top: 3.6%;}
.group2 .cd-single-point:nth-of-type(2) {right: 29.3%;top: 29%;}
.group2 .cd-single-point:nth-of-type(3) {left: 38%;bottom: 20%;}
.group2 .cd-single-point:nth-of-type(4) {left: 21%;bottom: 12.2%;}

.cd-single-point.is-open > a {
  background-color: #990033;
}
.cd-single-point.is-open > a::after, .cd-single-point.is-open > a::before {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  -ms-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  -o-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  transform: translateX(-50%) translateY(-50%) rotate(135deg);
}
.cd-single-point.is-open::after {
  /* remove pulse effect */
  display: none;
}
.cd-single-point.is-open .cd-more-info {
  visibility: visible;
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s, -webkit-transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s, -moz-transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s, transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
}
.cd-single-point.visited > a {
  background-color: #007abc;
}
.cd-single-point.visited::after {
  /* pulse effect no more active on visited elements */
  display: none;
}

@-webkit-keyframes cd-pulse {
  0% {
    -webkit-transform: scale(1);
    box-shadow: inset 0px 0px 5px 5px rgba(255,255,255, 0.8);
  }
  50% {
    box-shadow: inset 0px 0px 2px 2px rgba(200,15,85, 0.8);
  }
  100% {
    -webkit-transform: scale(1.6);
    box-shadow: inset 0 0 10px 1px rgba(200,15,85, 0);
  }
}
@-moz-keyframes cd-pulse {
  0% {
    -moz-transform: scale(1);
    box-shadow: inset 0px 0px 5px 5px rgba(255,255,255, 0.8);
  }
  50% {
    box-shadow: inset 0px 0px 2px 2px rgba(200,15,85, 0.8);
  }
  100% {
    -moz-transform: scale(1.6);
    box-shadow: inset 0 0 10px 1px rgba(200,15,85, 0);
  }
}
@keyframes cd-pulse {
  0% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    box-shadow: inset 0px 0px 5px 5px rgba(255,255,255, 0.8);
  }
  50% {
    box-shadow: inset 0px 0px 2px 2px rgba(200,15,85, 0.8);
  }
  100% {
    -webkit-transform: scale(1.6);
    -moz-transform: scale(1.6);
    -ms-transform: scale(1.6);
    -o-transform: scale(1.6);
    transform: scale(1.6);
    box-shadow: inset 0 0 10px 1px rgba(200,15,85, 0);
  }
}
.cd-single-point .cd-more-info {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: left;
  line-height: 1.5;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2em 1em 1em;
  visibility: hidden;
  opacity: 0;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s, -webkit-transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s, -moz-transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s, transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
}
.cd-single-point .cd-more-info::before {
  /* triangle next to the interest point description - hidden on mobile */
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  display: none;
  border: 8px solid transparent;
}
.cd-single-point .cd-more-info h2 {
  font-size: 22px;
  font-size: 1.375rem;
  margin-bottom: .6em;
}
.cd-single-point .cd-more-info p {
  color: #758eb1;
}
/* close the interest point description - only on mobile */
.cd-close-info {
  position: fixed;
  top: 0;
  right: 0;
  height: 44px;
  width: 44px;
}
.cd-close-info::after, .cd-close-info:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -o-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  background-color: #475f74;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.cd-close-info::after {
  height: 2px;
  width: 16px;
}
.cd-close-info::before {
  height: 16px;
  width: 2px;
}
footer {
  border: 1px solid #fff;
  color: #fff;
  font-size: 1.2em;
  font-weight: 300;
  margin: 20px;
  padding: 20px;
  text-align: center;
}
footer a {color: #cddff7;}
footer a:hover {color: #fff;text-shadow:1px 1px 1px #000;}
.footlink {padding-top: 20px;}
footer img {
  display: block;
  margin: 0 auto;
}
/*-----------------------------------------------------------------------------TABLET-------YELLOW--*/
@media only screen and (min-width: 768px) {
  .aparato {background-color: yellow;}

  header h1 {
    font-size: 220%;
    padding: 50px 30px;
    text-align: right;
  }
  header h2 {
    font-size: 200%;
    padding-right: 30px;
    text-align: right;
  }
  .fd-header {
    background-image: url("img-header.jpg");
    padding-top: 0;
  }
  .intro {padding: 50px;}
  .intro h1 {font-size: 1.4em;}
	.intro p {font-size: 1.1em;text-align: justify;}
  .cd-single-point.is-open .cd-more-info.cd-left {right: 140%;}
  .cd-single-point.is-open .cd-more-info.cd-right {left: 140%;}
  .cd-single-point.is-open .cd-more-info.cd-top {bottom: 140%;}
  .cd-single-point.is-open .cd-more-info.cd-bottom {top: 140%;}

  .cd-single-point .cd-more-info {
    position: absolute;
    width: 340px;
    height: 310px;
    padding: 1em;
    overflow-y: visible;
    line-height: 1.4;
    border-radius: 0.25em;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  }
  .cd-single-point .cd-more-info > p {
    height: 94%;
    overflow-y: scroll;
  }
  .cd-single-point .cd-more-info::before {
    display: block;
  }
  .cd-single-point .cd-more-info.cd-left, .cd-single-point .cd-more-info.cd-right {
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .cd-single-point .cd-more-info.cd-left::before, .cd-single-point .cd-more-info.cd-right::before {
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .cd-single-point .cd-more-info.cd-left {
    right: 160%;
    left: auto;
  }
  .cd-single-point .cd-more-info.cd-left::before {
    border-left-color: rgba(255, 255, 255, 0.95);
    left: 100%;
  }
  .cd-single-point .cd-more-info.cd-right {
    left: 160%;
  }
  .cd-single-point .cd-more-info.cd-right::before {
    border-right-color: rgba(255, 255, 255, 0.95);
    right: 100%;
  }
  .cd-single-point .cd-more-info.cd-top, .cd-single-point .cd-more-info.cd-bottom {
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .cd-single-point .cd-more-info.cd-top::before, .cd-single-point .cd-more-info.cd-bottom::before {
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .cd-single-point .cd-more-info.cd-top {
    bottom: 160%;
    top: auto;
  }
  .cd-single-point .cd-more-info.cd-top::before {
    border-top-color: rgba(255, 255, 255, 0.95);
    top: 100%;
  }
  .cd-single-point .cd-more-info.cd-bottom {
    top: 160%;
  }
  .cd-single-point .cd-more-info.cd-bottom::before {
    border-bottom-color: rgba(255, 255, 255, 0.95);
    bottom: 100%;
  }
  .cd-single-point .cd-more-info h2 {
    font-size: 20px;
    font-size: 1.25rem;
    margin-bottom: 0;
  }
  .cd-single-point .cd-more-info h3 {
  color: #000000;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 10px;
  }
  .cd-single-point .cd-more-info p {
    font-size: 14px;
    font-size: 0.875rem;
  }
}


/*-------------------------------------------------------------------DESKTOP----------BLUE--*/
@media only screen and (min-width: 1200px) {
  header h1 {font-size: 2.4em;}
  header h2 {font-size: 1.8em;text-align: right;}
}

