/*  Credit: http://www.templatemo.com

    1. CSS Imports
    2. Universal Styles
    3. Home (FlexSlider) Styles
    4. Contact Styles
    5. Media Queries

COLOR CODE
    Background: rgba(0,0,0,0.5)
--------------------------------------- */

/* 1. CSS Imports
--------------------------------------- */
@import url('http://fonts.googleapis.com/css?family=Open Sans:300,400,700');
@import url(font-awesome.min.css);
@import url(bootstrap.min.css);
@import url(flexslider.css);

/* 2. Universal Styles
--------------------------------------- */
body, html { overflow-x: hidden; }
body {
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
    font-style: normal; 
    -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6, span, p, li { font-family: 'Open Sans', sans-serif; }
h3 {
	color: #009;
	padding: 10px 0 0 0;
	font-size: 16px;
	font-weight: bold;
}

a { color: #009; }
a:hover, a:focus { color: white; }

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {  vertical-align: middle; }

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff; /* change if the mask should have another color then white */
    z-index: 99; /* makes sure it stays on top */
}
#status {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 50%; /* centers the loading animation horizontally one the screen */
    top: 50%; /* centers the loading animation vertically one the screen */
    background-image: url(../images/status.gif); /* path to your loading animation */
    background-repeat: no-repeat;
    background-position: center;
    margin: -100px 0 0 -100px; /* is width and height divided by two */
}
#main-wrapper {
     overflow: hidden;
}
.navbar .navbar-nav {
  display: inline-block;
  float: none;
}

.navbar .navbar-collapse {
  text-align: center;
}
.navbar {
    border-radius: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6em;
}
.navbar-default {
    background: none;
    border: none;
}
.nav>li { margin-right: 10px; }
.nav>li:last-child { margin-right: 0; }
.nav i {
    display: block;
    padding: 15px 0 15px 0;
}
.nav .fa { font-size: 2em; }
.navbar-default .navbar-nav > li > a {
	color: black;
	background-color: rgba(255,255,255,0.8);
	width: 120px;
	height: 120px;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
	color: #00F;
	background-color: rgba(255,255,255,0.8);
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    color: black;
    background-color: rgba(255,255,255,0.8);
}
.site-name {
    cursor: pointer;
    font-size: 46px;
}
.slogon { font-size: 24px; }

.logo { margin-top: 1.5em; }

.avt-site-title { 
    color: #fff !important;
    text-align: center;
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 1);  
    margin: 0 auto;
    padding: 50px 0 100px 0;
}
.avt-site-title a, .avt-site-title a:hover { 
	color: #fff;
	text-decoration: none;
}
.active { display: block; }
.inactive {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}
.image-section {  position: fixed; }
.image-container {  position: relative; }
.image-container img { position: absolute; }
.avt-content {
    padding-bottom: 20px;
    margin: 0 auto;
    overflow: hidden;
}

.avt-content section {
    font-family: 'Open Sans', sans-serif;
    position: relative; 
    overflow: hidden;
    top: 0;
    background-color: rgba(255,255,255,0.8);
    padding-bottom: 20px;
}

.avt-content-wrapper { overflow: hidden; }
.avt-content h2 {
	color: #900;
	font-family: 'Open Sans', sans-serif;
	margin-bottom: 15px;
}
.avt-content p, .avt-content li {
    font-family: 'Open Sans', sans-serif;
    color: black;
    font-size: 14px;
	padding: 5px 0px;
}
.services p{
	margin-top:1.2em;
	margin-bottom: 0;
}
.ilustr {
	width:98%;
}
.llaves {
	width:7%;
	padding-right:1em;
}
.footer-wrapper { margin: 0 auto; }
.footer {
    overflow: hidden;
    bottom: 10px;
    text-align: center;
}
.footer section{
    font-family: 'Open Sans', sans-serif;
    position: relative; 
    overflow: hidden;
	top:10px;
    background-color: rgba(255,255,255,0.8);
    padding-bottom: 10px;
	display: table-cell;
	display: flex;
	justify-content:space-around;
}
.footer .flex-item{
	padding:5px;
	width:auto;
	margin-top: 10px;
	margin-bottom: 10px;
	font-family: 'Open Sans', sans-serif;
	color: black;
	text-shadow: 0px 1px 2px rgba(0, 0, 0, 1);
	font-size: 13px;
}
.footer a { color: black; }
.footer a:hover { color: blue; }
.footer a[href*="#"]:hover { color: black; }
.footer .fa {
    font-size: 1.8em;
    line-height: 40px;
    width: 40px;
    height: 40px;
    margin-top: 8px;
    background-color: rgba(255,255,255,0.8);
}
#tm-copyright {
	margin-top: 10px;
	font-family: 'Open Sans', sans-serif;
	color: black;
	text-shadow: 0px 1px 2px rgba(0, 0, 0, 1);
	font-size: 13px;
}
#tm-copyright a, #tm-copyright a:hover {
	color: #00F;
}
#tm-copyright a:hover {
	text-decoration:underline;
}

/* 3. Home (FlexSlider) Styles
-------------------------------------------- */
.flexslider { 
    border-radius: 0;
    margin-bottom: 20px;
}
.flexslider li {
	margin: 0;
	padding: 0;
}

#carousel { margin: 0; }
#carousel li { margin-right: 5px; }
#carousel img {
    display: block;
    opacity: 1;
    cursor: pointer;
}
#carousel .flex-active-slide img {
    opacity: 0.5;
    cursor: default;
}

/* 4. Contact Styles
--------------------------------------------- */
#map-canvas {
    height: 320px;
    margin-bottom: 10px;
}

.leyenda p{
	color:#7D7D7D;
	font-size:1.2em;
	font-style:italic;
	font-weight:600;
	margin-top:1em;
}

#spam, #idioma{
	visibility:hidden;
	display:none;
}

/* 5. Media Queries
--------------------------------------------- */
@media screen and (max-width: 991px) {
    .navbar { font-size: 1.4em; }
    .nav i { padding: 10px 0 10px 0; }
    .nav .fa { font-size: 1.6em; }
    .navbar-default .navbar-nav > li > a {
        width: 100px;
        height: 100px;
    }

    .footer {
        overflow:hidden; 
        position:static;
        text-align: center;        
    }
    #tm-copyright { margin-left: 0; }
}

@media screen and (max-width: 767px) {
    .nav i {
        display: inline-block;
        padding: 0 5px 0 0;
    }
    .navbar-default .navbar-nav > li > a {
        width: 100%;
        height: 60px;
        background: none;
    }
    .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
        background: none;
    }
    .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
        background: none;
    }
    .navbar-default {
        background: rgba(255,255,255,0.8);
        border: none;
    }
}