ul#nav {
    display:block;
    float:left;
    font-family:Trebuchet MS,sans-serif;
    font-size:0;
    padding:5px 5px 5px 0;
    background: #fff;
}
ul#nav,ul#nav ul {
    list-style:none;
    margin:0;
}
ul#nav,ul#nav .subs {
    background-color:#FFFFFF; /*color fondo*/
    border:1px solid #FFFFFF;/*color borde*/

    border-radius:9px;
    -moz-border-radius:9px;
    -webkit-border-radius:9px;
}
ul#nav .subs {
    background-color:#fff;
    /*border:2px solid #222;*/
    display:none;
    float:left;
    left:0px;
    position:absolute;
    top:100%;
    margin-top: 27px;
    /*margin-left: 5px;*/
}
ul#nav li:hover>* {
    display:block;
}
ul#nav li:hover {
    position:relative;
}
ul#nav ul .subs {
    left:100%;
    position:absolute;
    float: left;
    top:0;
}
ul#nav ul {
    padding:0 5px 5px;
    float: left;
}
ul#nav .col {
    float:left;
}
ul#nav li {
    display:block;
    float:left;
    font-size:0;
    white-space:nowrap;
}
ul#nav>li,ul#nav li {
    margin:0 0 0 5px;
    text-align: center;
}
ul#nav ul>li {
    margin:5px 0 0;
}
ul#nav a:active,ul#nav a:focus {
    outline-style:none;
   /* float: left;*/
    text-align: center;

}
ul#nav a {
    border-style:none;
    border-width:0;
    color:#181818;
    cursor:pointer;
    display:block;
    font-size:13px;
    font-weight:bold;
    padding:1px;
    text-align:left;
    text-decoration:none;
    text-shadow:#fff 0 1px 1px;
    /*vertical-align:middle;*/
    /*float: left;*/
    text-align:center;
}
ul#nav ul li {
    float: left;
    margin:5px 0 0;
}
ul#nav ul a {
    background-color:#fff;
    border-color:#efefef;
    border-style:solid;
    border-width:0 0 1px;
    color:#000;
    font-size:13px;
    padding:2px;
    text-align:left;
    text-decoration:none;
    text-shadow:#fff 0 0 0;
    float: left;

    border-radius:0;
    -moz-border-radius:0;
    -webkit-border-radius:0;
}
ul#nav li:hover>a {
    border-style:none;
    color:#21754e;
    font-weight:bold;
    text-decoration:none;
    /*text-shadow:#181818 0 1px 1px;*/
    /*float: left;*/
}
ul#nav img {
    border:none;
    margin-right:1px;
    vertical-align:middle;
    height:65px;
    width: 65px;
   /* float: left;*/
}
ul#nav span {
    background-position:right center;
    background-repeat:no-repeat;
    display:block;
    overflow:visible;
    padding-right:0;
}
ul#nav ul span {
    /*background-image:url("../images/arrow.png");
    padding-right:20px;*/
}
ul#nav ul li:hover>a {
    border-style:solid;
    font-size:13px;
    text-decoration:none;
    text-shadow:#fff 0 0 0;
  /*  float: left;*/
    text-align:cente;

}
ul#nav > li >a {
    background-color:transpa;
    height:65px;
    border-radius:21px;
    -moz-border-radius:21px;
    -webkit-border-radius:21px;
    /*float: left;*/
    text-align:cente;
}
ul#nav > li:hover > a {
    line-height:25px;
   /* float: left;*/
}

img:hover {

    -webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;

/*     
    transform:scale(1.5);
    -ms-transform:scale(1.5);
    -moz-transform:scale(1.5);
    -webkit-transform:scale(1.5); 
    -o-transform:scale(1.5);
*/

}

.activo {
    background-color: #aaa;
    height:55px;
    width: 55px;
    border-radius:25px;
    -moz-border-radius:25px;
    -webkit-border-radius:25px;
}

div.card {
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
}

div.container {
      padding: 1px;
}

#header{
    position: fixed;
    top:0;
    width:100%;
    height:70px;
    background-color:#333;
    color:#FFFFFF;
    padding: 20px;
    display: table;
  }

 #footer {
    position:fixed;
    left:0px;
    bottom:0px;
    height:25px;
    width:100%;
    background:#999;
 }

#labels{
    margin: 0 auto 0 auto;
}

.path-flotantes {
    position: fixed;
    left: 10px;
    top: 40%;
}

.path-flotantes img {
    width:32px;
    height:32px;
    float: left; clear: left;
     margin: 5px;
    -moz-transform: scale(.8) ;
    -webkit-transform: scale(.8) ;
    -o-transform: scale(.8) ;
    -ms-transform: scale(.8) ;
    transform: scale(.8) ;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

#mycolorBar {
    position: absolute;
    bottom: 25px;
    right: 11.5%;
    width: 260px;
    height: 20px;
    max-width: 260px;
    max-height: 700px;
    z-index: 2000;
    background: -webkit-linear-gradient(left, white, #f58953); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, white, #f58953); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, white, #f58953); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, white, #f58953); /* Standard syntax */
    overflow:hidden;
    margin: 0;
    padding: 0px 10px 10px 10px;
    border-radius: 3px;
}

#mytextBar {
    position: absolute;
    bottom: 5px;
    right: 11.5%;
    width: 260px;
    height: 20px;
    max-width: 260px;
    max-height: 700px;
    z-index: 2000;
    background: white;
    overflow:hidden;
    margin: 0;
    padding: 0px 10px 10px 10px;
    border-radius: 3px;
}

#mysearchSideBar {
    position: absolute;
    top: 5px;
    right: 14.5%;
    max-width: 260px;
    max-height: 700px;
    z-index: 2000;
    background: #f2f2f2;
    overflow:hidden;
    /* overflow: auto;*/
    margin: 0;
    padding: 0px 10px 10px 10px;
    border-radius: 3px;
}

#mysearchSideBar fieldset {
	clear: both;
	display: block;
	margin: 1em 0;
	border: 1px solid black;
}

#mysearchSideBar legend {
	padding: 0.2em 0.8em;
	background-color: white;
	color: black;
	font-weight: bolder;
	margin: 0;
    border: 1px solid black;
    font-size: 0.9em;
}

#mysearchSideBar form {
    margin: 0 0 1em 0;
    padding: 0;
}

/* Center the loader */
#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }

  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* Add animation to "page content" */
  .animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
  }

  @-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0 }
    to { bottom:0px; opacity:1 }
  }

  @keyframes animatebottom {
    from{ bottom:-100px; opacity:0 }
    to{ bottom:0; opacity:1 }
  }

  #myDiv {
    display: none;
    text-align: center;
    position: absolute;
    left: 38%;
    bottom: 7px;
    z-index: 1;
    width: 150px;
    /*height: 150px;*/
    /*margin: -75px 0 0 -75px;

   -webkit-animation: mymove 1s linear 3;
    animation: mymove 1s linear 3;*/
  }

  @keyframes mymove {
    from {top: 55%;}
    to {top: 60%;}
}



ul#nav1 {
    display:block;
    float:left;
    font-family:Trebuchet MS,sans-serif;
    font-size:0;
    padding:15px 15px 15px 15px;
    background: #fff;
}
ul#nav1,ul#nav1 ul {
    list-style:none;
    margin:0;
}
ul#nav1,ul#nav1 .subs {
    background-color:#f2f2f2; /*color fondo*/
    border:1px solid #f2f2f2;/*color borde*/

    border-radius:9px;
    -moz-border-radius:9px;
    -webkit-border-radius:9px;
}
ul#nav1 .subs {
    background-color:#fff;
    border:2px solid #222;
    display:none;
    float:left;
    left:0;
    padding:0 6px 6px;
    position:absolute;
    top:100%;
    width:auto;

    border-radius:7px;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
}
ul#nav1 li:hover>* {
    display:block;
}
ul#nav1 li:hover {
    position:relative;
}
ul#nav1 ul .subs {
    left:100%;
    position:absolute;
    float: left;
    top:0;
}
ul#nav1 ul {
    padding:0 5px 5px;
    float: left;
}
ul#nav1 .col {
    float:left;
    width:50%;
}
ul#nav1 li {
    display:block;
    float:left;
    font-size:0;
    white-space:nowrap;
}
ul#nav1>li,ul#nav1 li {
    margin:0 0 0 5px;
}
ul#nav1 ul>li {
    margin:5px 0 0;
}
ul#nav1 a:active,ul#nav1 a:focus {
    outline-style:none;
    float: left;

}
ul#nav1 a {
    border-style:none;
    border-width:0;
    color:#181818;
    cursor:pointer;
    display:block;
    font-size:13px;
    font-weight:bold;
    padding:1px;
    text-align:left;
    text-decoration:none;
    text-shadow:#fff 0 1px 1px;
    /*vertical-align:middle;*/
    float: left;
}
ul#nav1 ul li {
    float: left;
    margin:6px 0 0;
}
ul#nav1 ul a {
    background-color:#fff;
    border-color:#efefef;
    border-style:solid;
    border-width:0 0 1px;
    color:#000;
    font-size:11px;
    padding:2px;
    text-align:left;
    text-decoration:none;
    text-shadow:#fff 0 0 0;
    float: left;

    border-radius:0;
    -moz-border-radius:0;
    -webkit-border-radius:0;
}
ul#nav1 li:hover>a {
    border-style:none;
    color:#fff;
    font-weight:bold;
    text-decoration:none;
    text-shadow:#181818 0 1px 1px;
    float: left;

}
ul#nav1 img {
    border:none;
    margin-right:1px;
    vertical-align:middle;
    height:50px;
    width: 50px;
    float: left;
}
ul#nav1 span {
    background-position:right center;
    background-repeat:no-repeat;
    display:block;
    overflow:visible;
    padding-right:0;
}
ul#nav1 ul span {
    /*background-image:url("../images/arrow.png");
    padding-right:20px;*/
}
ul#nav1 ul li:hover>a {
    /*border-color:#444;*/
    border-style:solid;
    /*color:#444;*/
    font-size:11px;
    text-decoration:none;
    text-shadow:#fff 0 0 0;
    float: left;

}
ul#nav1 > li >a {
    background-color:transpa;
    height:50px;
    border-radius:21px;
    -moz-border-radius:21px;
    -webkit-border-radius:21px;
    float: left;

}
ul#nav1 > li:hover > a {
 /*   background-color:#313638;*/
    line-height:25px;
    float: left;
}

.flex-container {
  display: flex;  
  justify-content: center;

}

.titulos-container {
    display: flex;
    /* flex-direction: column; */
}

.titulos-container > div {
    text-align: center;
  }

.titulos-container1 {
    display: flex;
}

.titulos-container1 > div {
    text-align: center;
  }

 .description {
    display:none;
    position:absolute;
    border:1px solid #000;
    background: #fff;
    width:810px;
    height:130px;
    z-index: 99999;
    right: 70px;
    top: 30px;
    font-size: 14px;
    text-align: justify;
    text-justify: inter-word;
    padding-left: 5px;
    padding-right: 5px;
}

.descriptions {
    display:none;
    position:absolute;
    border:1px solid #000;
    background: #fff;
    width:300px;
    height:250px;
    z-index: 99999;
    right: 60px;
    top: 60px;
    font-size: 14px;
    text-align: justify;
    text-justify: inter-word;
    padding-left: 5px;
    padding-right: 5px;
}

/* Popup box BEGIN */
.hover_bkgr_fricc{
    background:rgba(0,0,0,.4);
    cursor:pointer;
    display:none;
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    width:100%;
    z-index:10000;
}
.hover_bkgr_fricc .helper{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}
.hover_bkgr_fricc > div {
    background-color: #fff;
    box-shadow: 10px 10px 10px #555;
    display: inline-block;
    height: 98%;
    vertical-align: middle;
    width: 98%;
    position: relative;
    border-radius: 8px;
    padding: 15px 15px;
}
.popupCloseButton {
/*     background-color: #fff;
    border: 3px solid #999;
 */    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 25px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.popupCloseButton:hover {
    background-color: transparent;
}
.trigger_popup_fricc {
    cursor: pointer;
    font-size: 20px;
    /*margin: 20px;*/
    display: inline-block;
    font-weight: bold;
}
/* Popup box BEGIN */

div.polaroidx {
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
  
  div.containerx {
    text-align: center;
  }

  .externo {
   align-items: center;
    display: grid;
    position: relative;
    justify-content: right;
    /*padding-right: 26%;*/
  }



ul#nav2 {
    padding:0px;
    width:50px;
}

ul#nav2 img {
    max-width:50px;
    max-height:50px;
}

ul#nav2 li {
    list-style: none;
    margin-bottom:4px;
}

ul#nav2 li>div {
    height:50px;
    line-height:50px;
}

ul#nav2 li>div>div {
    display:table-cell;
}

ul#nav2 li>div>div:nth-child(1) {
    float:left;
    width:50px;height:50px;
    border:1px solid #eee;
}

ul#nav2 li span {
    display:inline-block;
    vertical-align:middle;
    line-height:normal;
    padding-left:10px;
}  

@media (max-width: 1400px) {
    .maintitle {
      font-size: 20px;
    }
  }
