/* layout */

html {
  overflow-x: hidden;
  background-color: #40464A; 
}

body, html, div {
  box-sizing: border-box;
  word-wrap: break-word;
}

.uk-panel-box-primary {
    background: rgba(255, 255, 255,1);
    color: #ffffff;
    padding: 25px;
}

body section[id*="tm-top-"]:not(#tm-top-a) {
  padding: 50px 0px;
}

.logo > img {
    width: 352px;
}

h4 {
    font-size: 14px;
    font-weight: 600;
}


*[class*="uk-animation"] {
  -webkit-animation-duration: 0.8s;
  -moz-animation-duration: 0.8s;
  -ms-animation-duration: 0.8s;
  -o-animation-duration: 0.8s;
  animation-duration: 0.8s;

}

.uk-overlay-hover:hover .uk-overlay-scale.translate-top {
    -webkit-transform: scale(1.1) translateY(7px);
    transform: scale(1.1) translateY(7px);
}

body .uk-slidenav-position .uk-slidenav {
    display: block;
}

/* botones */

.uk-button.uk-button-primary {
    background-color: #40464A;

}

.uk-button {
  background-color: #f5f5f5;
  border: 1px solid #f5f5f5;
}

.uk-button:hover, .uk-button-primary:hover {
  background-color: #40464A;
  color: #ffffff;
}

.button {
  border-bottom: 1px solid;
  padding-bottom: 5px;
}

.button:hover {
  color: #000000;
  text-decoration: none;
}


/* reglas de texto */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  color: #000000;
}

body, div, p, span, a {
 font-family: 'Open Sans', sans-serif;
}

.uk-navbar-nav > li > a {
  font-family: 'Open Sans', sans-serif;
}

.uk-link, a {
    color: #003870;
    text-decoration: none;
    cursor: pointer;
}

.line {
  width: 100px;
  height: 1px;
  background-color: #40464A;
  margin-top: 10px;
}

/* toolbar */

#tm-toolbar {

  padding: 25px 0px;
}


/* header */

header {
    position: absolute;
    width: 100%;
    background-color: rgba(255,255,255,0.8);
    z-index: 99;
}

header {
  padding: 25px 0px;
}

header.uk-active {
    background-color: rgba(255,255,255,1);
    box-shadow: 0px 1px 3px rgba(0,0,0,0.2);
}

/* logo */

.logo {
    margin-right: 25px;
}

/* menu */

header .main-menu .uk-navbar {
  background: transparent;
  color: #666666;
}

header .main-menu .uk-navbar-nav > li.uk-active > a, 
header .main-menu .uk-navbar-nav > li.is-active-tab > a,  
header .main-menu .uk-navbar-nav > li:hover > a, 
header .main-menu .uk-navbar-nav > li:focus > a {
  background: transparent;
  color: #000000;
}

header .main-menu .uk-navbar-nav > li > a:before {
  content: "";
  width: 0%;
  height: 2px;
  background: #000000;
  position: absolute;
  bottom: 0;
  left: 0;
  
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

header .main-menu .uk-navbar-nav > li.uk-active > a:before, 
header .main-menu .uk-navbar-nav > li.is-active-tab > a:before,  
header .main-menu .uk-navbar-nav > li:hover > a:before {
  width: 100%;
}

.uk-navbar-nav > li.uk-open > a, .uk-navbar-nav > li:hover > a, .uk-navbar-nav > li > a:focus {
    background-color: transparent;
}

header .main-menu .uk-navbar-nav > li > a{
  color: #666666;
  height: auto;
  line-height: 14px;
  font-size: 14px;
  padding-bottom: 10px;
  padding-left: 0px;
  padding-right: 0px;
}
li.uk-parent > .uk-dropdown > .uk-nav > li > a{
    color: #666666;
  height: auto;
  line-height: 14px;
  font-size: 14px;
}
header:not(.uk-active) .uk-dropdown-navbar{
   background-color: rgba(255,255,255,0.7);
}
header.uk-active .uk-dropdown-navbar{
  background-color: #ffffff;
}

header .main-menu .uk-navbar-nav > li:not(:last-child) {
    margin-right: 25px;
}

/* language */

body .language > nav.uk-navbar > ul.uk-navbar-nav > li > a {
    /*! background: transparent; */
    /*! padding-right: 0px; */
    /*! line-height: inherit; */
    /*! height: inherit; */
}
body .language > nav.uk-navbar a img {
    filter: grayscale(1);
}
body .language > nav.uk-navbar a:hover img {
    filter: grayscale(0);
}

body .language > nav.uk-navbar > ul.uk-navbar-nav > li.uk-active > a, 
body .language > nav.uk-navbar > ul.uk-navbar-nav > li:hover > a {
    background: #f5f5f5;
    /*! padding-right: 0px; */
    /*! line-height: inherit; */
    /*! height: inherit; */
}

body .language > nav.uk-navbar {
    background: #eaeaea;
}


/* offcanvas */

.uk-offcanvas-bar {
    background: #393F42;
}

.uk-offcanvas-bar nav ul li{
  position: relative;
}

.uk-offcanvas-bar nav ul li a {
  color: rgba(255,255,255,0.6);
}


.uk-offcanvas-bar nav ul li.uk-active > a, 
.uk-offcanvas-bar nav ul li.is-active-tab > a,  
.uk-offcanvas-bar nav ul li:hover > a, 
.uk-offcanvas-bar nav ul li:focus > a {
  background: transparent;
  color: #ffffff;
}

.uk-offcanvas-bar nav ul li> a:before {
  content: "";
  width: 0%;
  height: 2px;
  background: #ffffff;
  position: absolute;
  bottom: 0;
  left: 0;
  
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.uk-offcanvas-bar nav ul li.uk-active > a:before, 
.uk-offcanvas-bar nav ul li.is-active-tab > a:before,  
.uk-offcanvas-bar nav ul li:hover > a:before {
  width: 100%;
}

/* uk-close */

.uk-offcanvas a.uk-close {
    margin: 10px;
    text-align: right;
}

.uk-offcanvas a.uk-close:after {
  color: #ffffff !important;
}

.uk-offcanvas h3 {
  text-align: center;
  margin-top: 25px;
  color: #ffffff;
}


/* slideshow */

 /* layout */

  section {
    position: relative;
}

.slideshow {
    background: url('../images/layout/slideshow01.jpg');
    padding: 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    background-attachment: fixed;
}

.up-and-down.uk-icon-hover.uk-icon-chevron-down {
  bottom: 25px;
  left: 50%;
  position: absolute;
  font-size: 42px;
  color: #ffffff;
  
  -webkit-animation: up-and-down 3s linear 1s infinite;
  -moz-animation: up-and-down 3s linear 1s infinite;
  -ms-animation: up-and-down 3s linear 1s infinite;
  -o-animation: up-and-down 3s linear 1s infinite;
  animation: up-and-down 3s linear 1s infinite;

  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

@keyframes up-and-down {
  0% {bottom: 25px;}
  50% {bottom: 0px;}
  100% {bottom: 25px;}
}

/* caption */

#caption {
    max-width: 530px;
}

#caption h1, #caption h2, #caption h3, #caption h4, #caption h5, #caption h6 {
  color: #40464A;
}

#caption h1 {
  font-weight: 200;
}

#caption h1 > strong {
  font-weight: 400;
}

#caption h3:after {
  content: "";
  width: 90%;
  height: 1px;
  background: #40464A;
  position: absolute;
  left: 0;
  margin-top: 35px;
}


/* Servicios */

#tm-top-b {
    background: url('../images/layout/servicios.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    background-attachment: fixed;
}

/* Team */

@media screen and (min-width: 640px) {
  #team-info li img {
   float: left;
   margin-right: 25px !important; 
}

}

#team-info li img {
  width: 100%;
  max-width: 285px;
  margin-bottom: 25px !important;
  margin-left: auto;
  margin-right: auto;
  text-align: center; 
}

@media screen and (min-width: 1220px) {
#team-info li img {
  margin-bottom: 75px !important;
}
}

#team-info li h3 {
    margin-top: 0px;
}

#team-info li h1 {
    margin-bottom: 5px;
}

#team-info {
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.info-team {
  display: none;
}

.team-title {
    background: url('../images/layout/team.jpg');
    padding: 50px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    background-attachment: fixed;
}

#tm-top-c {
  background-color: #ffffff;
}

.list-dash > li > p::before{content:"- ";}

.team-title h1 {
  color: #ffffff;
}

.team .teaser li{
  
  padding-bottom: 40px;
      max-width: 238px;
    margin: 0px auto;
}

li > a > figure + h4, li > a > figure + h4 + p,li  > figure + h4, li  > figure + h4 + p{
    margin: 5px 0px;
}


.team .teaser img, .conten-pa .uk-overlay > img {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  
}

.team .teaser.uk-active img, .team .teaser:hover img, .conten-pa .uk-overlay:hover > img {
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  -ms-filter: grayscale(0%);
  -o-filter: grayscale(0%);
  filter: grayscale(0%);
  
}

body #team-info li {
  padding-top: 25px;
}

body #team-info li > h1 {
  margin-top: 0px;
}


/* nosotros */

#tm-top-d {
    background: url('../images/layout/nosotros.jpg');
    padding: 50px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right top;
    background-attachment: fixed;
}

.nosotros-panel {
    background: rgba(255,255,255,0);

  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.nosotros-panel.uk-active {
    background: rgba(255,255,255,0.8);
    display: block;
    overflow: hidden;
    padding: 35px;
}

/* contacto */

#tm-top-e {
    background: url('../images/layout/contacto.jpg');
    padding: 50px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    background-attachment: fixed;
}

/* transacciones */

#tm-top-f {
    background: url('../images/layout/transacciones.jpg');
    padding: 50px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    background-attachment: fixed;
}

#tm-top-f  .uk-text-center.uk-margin-large-bottom.uk-width-1-1.uk-width-medium-1-4.uk-width-large-1-6 {
    margin-bottom: 35px !important;
}

.transacciones-teaser.uk-panel-box {
    /*!  */
    background: #ffffff;
    min-height: 290px;
}

/* contacto */

input, select, textarea {
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  border: 1px solid #000000 !important;
  margin-bottom: 10px !important;
  padding: 10px 0px;
  color: #000000;
}

body .contacto .uk-form ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #000000 !important;
}
body .contacto .uk-form ::-moz-placeholder { /* Firefox 19+ */
  color: #000000 !important;
}
body .contacto .uk-form :-ms-input-placeholder { /* IE 10+ */
  color: #000000 !important;
}
body .contacto .uk-form :-moz-placeholder { /* Firefox 18- */
  color: #000000 !important;
}

body .contacto .uk-form button.uk-button {
    /*! background: transparent; */
    /*! border: none; */
    /*! color: #000000; */
    /*! padding: 5px 0px; */
}

body .uk-button.uk-button-primary:hover {
    background: #000000;
}

.contacto h4 {
    margin-top: 0px;
}

.contact-information li {
  display: inline-block;
  margin-right: 25px;
  position: relative;
}

.contact-information li::before {
    content: "•";
    position: absolute;
    left: -15px;
    vertical-align: bottom;
    font-size: 26px;
    top: 3px;
}



/* redes sociales */

.redes-sociales {
  margin-top: 50px;
  font-size: 24px;
  margin-bottom: 10px;
}

.redes-sociales a {
  color: #000000;
  margin-right: 10px;
}



/* footer */

footer {
  /*!  */
  padding: 25px 0px;
  background: #ffffff;
  color: #40464a;
}

footer p {
    margin: 1px 0px !important;
}

footer p.copy {
    margin-top: 10px !important;
}

footer .footer-module {
  margin-bottom: 35px;
}

footer .footer-social a {
    color: #ffffff;
    margin-left: 15px;
    margin-bottom: 10px;
}

.footer-menu h3 {
  color: #ffffff;
}
.footer-menu ul li a {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
}

footer  .footer-menu i {
  color: #ffffff !important;
}

footer i.uk-icon-plane {
  padding: 5px;
  border: 2px solid;
  vertical-align: middle;
}





/* animacion svg */



.circle{fill:none;stroke:#000000;stroke-width:3;stroke-linecap:round;stroke-miterlimit:10;}

        .circle-dash{fill:none;stroke:#000000;stroke-width:3;stroke-linecap:round;stroke-miterlimit:10;}

        .check{fill:none;stroke:#000000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}

        .check-dash{fill:none;stroke:#000000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}



        .check {

          stroke-dasharray: 60 100;

          animation: check 1.2s cubic-bezier(0.5, 0, 0.6, 1) forwards 0.15s; 

          -webkit-animation: check 1.2s cubic-bezier(0.5, 0, 0.6, 1) forwards 0.15s; 

          -moz-animation: check 1.2s cubic-bezier(0.5, 0, 0.6, 1) forwards 0.15s; 

          -o-animation: check 1.2s cubic-bezier(0.5, 0, 0.6, 1) forwards 0.15s; 

          opacity: 0;

        }



        @-webkit-keyframes check {

          from {stroke-dashoffset: 60;

          opacity: 1;}



          to {stroke-dashoffset: 00;

          opacity: 1;}

        }



        @-moz-keyframes check {

          from {stroke-dashoffset: 60;

          opacity: 1;}



          to {stroke-dashoffset: 00;

          opacity: 1;}

        }



        @keyframes check {

          from {stroke-dashoffset: 60;

          opacity: 1;}



          to {stroke-dashoffset: 00;

          opacity: 1;}

        }



        .check-dash {

          stroke-dasharray: 10 100;

          animation: check-dash 1.2s cubic-bezier(0.5, 0, 0.6, 1) forwards; 

          -webkit-animation: check-dash 1.2s cubic-bezier(0.5, 0, 0.6, 1) forwards; 

          -moz-animation: check-dash 1.2s cubic-bezier(0.5, 0, 0.6, 1) forwards; 

          -o-animation: check-dash 1.2s cubic-bezier(0.5, 0, 0.6, 1) forwards; 

        }



        @-webkit-keyframes check-dash {

          from {stroke-dashoffset: 120;}

          to {stroke-dashoffset: 45;}

        }



        @-moz-keyframes check-dash {

          from {stroke-dashoffset: 120;}

          to {stroke-dashoffset: 45;}

        }



        @keyframes check-dash {

          from {stroke-dashoffset: 120;}

          to {stroke-dashoffset: 45;}

        }



        .circle {

          stroke-dasharray: 300 300;

          animation: circle 1.5s cubic-bezier(0.5, 0, 0.5, 1) forwards 0.15s; 

          -webkit-animation: circle 1.5s cubic-bezier(0.5, 0, 0.5, 1) forwards 0.15s; 

          -moz-animation: circle 1.5s cubic-bezier(0.5, 0, 0.5, 1) forwards 0.15s; 

          -o-animation: circle 1.5s cubic-bezier(0.5, 0, 0.5, 1) forwards 0.15s; 

          opacity: 0;

        }



        @-webkit-keyframes circle {

          from {stroke-dashoffset:300;

          opacity: 1;}

          to {stroke-dashoffset:0;

          opacity: 1;}

        }



        @-moz-keyframes circle {

          from {stroke-dashoffset:300;

          opacity: 1;}

          to {stroke-dashoffset:0;

          opacity: 1;}

        }



        @keyframes circle {

          from {stroke-dashoffset:300;

          opacity: 1;}

          to {stroke-dashoffset:0;

          opacity: 1;}

        }



        .circle-dash {

          stroke-dasharray: 10 300;

          animation: circledash 1.5s cubic-bezier(0.5, 0, 0.5, 1) forwards 0.05s;

          -webkit-animation: circledash 1.5s cubic-bezier(0.5, 0, 0.5, 1) forwards 0.05s;

          -moz-animation: circledash 1.5s cubic-bezier(0.5, 0, 0.5, 1) forwards 0.05s;

          -o-animation: circledash 1.5s cubic-bezier(0.5, 0, 0.5, 1) forwards 0.05s;

          opacity: 0;

        }



        @-webkit-keyframes circledash {

          from {stroke-dashoffset:320;

          opacity: 1;}

          to {stroke-dashoffset: 20;

          opacity: 1;}

        }



        @-moz-keyframes circledash {

          from {stroke-dashoffset:320;

          opacity: 1;}

          to {stroke-dashoffset: 20;

          opacity: 1;}

        }



        @keyframes circledash {

          from {stroke-dashoffset:320;

          opacity: 1;}

          to {stroke-dashoffset: 20;

          opacity: 1;}

        }



#tm-top-f h1 {
    font-weight: 200;
}







/* responsive */

@media screen and (max-width: 1219px){
  .logo img {
  max-width: 300px;
  width: 100%;
}

  header .main-menu .uk-navbar-nav > li > a {
    font-size: 12px; 
  }

  header .main-menu .uk-navbar-nav > li:not(:last-child) {
    margin-right: 8px;
  }
}

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

  .uk-slidenav-position .uk-slidenav-previous {
    left: -60px;
}
.uk-slidenav-position .uk-slidenav-next {
    right: -60px;
}

}

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

  .uk-slidenav-position .uk-slidenav-previous {
    left: -10px;
}
.uk-slidenav-position .uk-slidenav-next {
    right: -10px;
}

#tm-top-a.slideshow,
#tm-top-b,
#team.team-title,
#tm-top-d,
#tm-top-f,
#tm-top-e{background-attachment: initial;}

}

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


  /* logo */
  .logo img {
    max-width: 300px;
    margin-right: 10px; 
    width: 100%;
}

/* texto */

.titulo-fondo h1 {
    font-size: 50px;
    color: #666666;
    text-align: left;
    margin-bottom: 35px !important;
    line-height: 54px;
}

/* book */

.book-item {
  margin-bottom: 25px !important;
}

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

/* slideshow */

  .slideshow {
    padding: 50px 0px;
}

.nosotros-panel.uk-active {
  padding: 35px 10px;
}



/* footer */

footer * {
  text-align: center !important;
}

}

/*@media screen and (max-width: 767px) {

#tm-top-c .uk-grid > * {
    padding-left: 0px;
}

}

#tm-top-c .uk-grid > *:first-child {
    padding-left: 0px;
}*/

#tm-top-c .uk-grid.uk-grid-large .teaser li a > p {
  margin: 10px 0;
}


#tm-top-c .uk-grid.uk-grid-large .teaser li a > p {
  margin: 10px 0;
}

/*TM-TOP-D*/
section#tm-top-consejo {
    background-image: url('../images/consejo-directivo/consejo-d.png');
    background-repeat: no-repeat;
    background-size: cover;
}
.uk-h1.personal-administrativo{font-size:30px;}
section#tm-top-consejo h1, .uk-h1.personal-administrativo {
    font-weight: 200;
}

#tm-top-consejo .uk-grid > .uk-width-medium-1-5 a {
    border-bottom: 1px solid;
}
#tm-top-consejo .uk-grid > .uk-width-medium-1-5 a:hover{
text-decoration: none;
}


#tm-top-consejo .img > img {
    max-width: 140px;
}

@media screen and (min-width: 768px){
    .img {
    height: 177px;
}

.content.uk-text-center {
    height: 94px;
}

.content > p.uk-margin-small {
    height: 40px;
    margin: 4px 0px;
}
}


.clear{
  clear: both;
}
.tm-flex-center{
    display: flex;
    justify-content: center;
    align-items: flex-end;
}