/*  GENERAL STYLING  ================================================= */
.centered { /* center text */
    text-align: center;
}

a { /* links */
    transition: color 0.5s ease-in;
}

a:hover,
a:focus {
    color: #ae2805;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    transition: color 0.5s ease-in;
}

hr {
	display: block;
	height: 2px;
	border: 0;
	border-top: 1px solid #ccc;
	max-width: 50%;
	margin: 2% auto 1% auto;
}

.section { /* sections */
	clear: both;
	padding: 0;
	margin: 0;
}

.group:before,
.group:after { /* groups (clearfix) */
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1;
}

.fa {
	color: #ae2805;
}

.full-container { /* general container widths */
	width: 100%;
	padding-top: 2em;
	padding-bottom: 0;
}

.inside-container {
	max-width: 1024px;
	margin: auto;
	padding: 1%;
}

/*  HEADER & NAV  ==================================================== */
.full-container-header { 
	width: 100%;
	padding: 0;
}

#header-container {
	background: #222222;
	height: 3rem;
	position: fixed;
}

#header {
	max-width: 1024px;
	margin: auto;
	padding: 0;
}

h1 a.homeButton {
    background: url(../images/logo.png) no-repeat;
	height: 35px;
	width: 130px;
	float: left;
	display: block;
	text-indent: -9999px;
	margin: 0.5rem 0 0.5rem 0;
}

#header nav { /* navigation */
	float: right;
	margin: 1.2rem 1% auto 0; 
}

#header nav ul li {
	display: inline;
	margin-left: 1em;
	font-weight: bold;
	font-family: 'Lato', sans-serif;
}

#header nav li a {
	color: #fff;
	text-decoration: none;
}

#header nav li a:hover {
	color: #ae2805;
    text-decoration: none;
    outline: 0;
}

/*  HERO IMAGE  ====================================================== */
.full-container-hero {
	width: 100%;
	padding: 0;
}

#hero-image {
	width: 100%;
	height: 30rem;
	float: left;
	margin: 3rem 0 0 0;
	overflow: hidden;
}

.cb-slideshow,
.cb-slideshow:after { 
 position: relative;
 width: 100%;
 height: 100%;
 top: 0px;
 left: 0px;
 z-index: -100; 
}
.cb-slideshow li span { 
 width: 100%;
 height: 100%;
 position: absolute;
 top: 0px;
 left: 0px;
 color: transparent;
 background-size: cover;
 background-repeat: none;
 opacity: 0;
 z-index: -100;
	-webkit-backface-visibility: hidden;
 -webkit-animation: imageAnimation 36s linear infinite 0s;
 -moz-animation: imageAnimation 36s linear infinite 0s;
 -o-animation: imageAnimation 36s linear infinite 0s;
 -ms-animation: imageAnimation 36s linear infinite 0s;
 animation: imageAnimation 36s linear infinite 0s; 
}
.cb-slideshow li:nth-child(1) span { 
 background-image: url(../images/slider1r.jpg) 
}
.cb-slideshow li:nth-child(2) span { 
 background-image: url(../images/slider2r.jpg);
 -webkit-animation-delay: 9s;
 -moz-animation-delay: 9s;
 -o-animation-delay: 9s;
 -ms-animation-delay: 9s;
 animation-delay: 9s; 
}
.cb-slideshow li:nth-child(3) span { 
 background-image: url(../images/slider3r.jpg);
 -webkit-animation-delay: 18s;
 -moz-animation-delay: 18s;
 -o-animation-delay: 18s;
 -ms-animation-delay: 18s;
 animation-delay: 18s; 
}
.cb-slideshow li:nth-child(4) span { 
 background-image: url(../images/slider4r.jpg);
 -webkit-animation-delay: 27s;
 -moz-animation-delay: 27s;
 -o-animation-delay: 27s;
 -ms-animation-delay: 27s;
 animation-delay: 27s; 
}

/* Animation for the slideshow images */
@-webkit-keyframes imageAnimation { 
 0% { opacity: 0;
 -webkit-animation-timing-function: ease-in; }
 8% { opacity: 1;
      -webkit-animation-timing-function: ease-out; }
 20% { opacity: 1 }
 50% { opacity: 0 }
 100% { opacity: 0 }
}
@-moz-keyframes imageAnimation { 
 0% { opacity: 0;
 -moz-animation-timing-function: ease-in; }
 8% { opacity: 1;
      -moz-animation-timing-function: ease-out; }
 20% { opacity: 1 }
 50% { opacity: 0 }
 100% { opacity: 0 }
}
@-o-keyframes imageAnimation { 
 0% { opacity: 0;
 -o-animation-timing-function: ease-in; }
 8% { opacity: 1;
      -o-animation-timing-function: ease-out; }
 20% { opacity: 1 }
 50% { opacity: 0 }
 100% { opacity: 0 }
}
@-ms-keyframes imageAnimation { 
 0% { opacity: 0;
 -ms-animation-timing-function: ease-in; }
 8% { opacity: 1;
      -ms-animation-timing-function: ease-out; }
 20% { opacity: 1 }
 50% { opacity: 0 }
 100% { opacity: 0 }
}
@keyframes imageAnimation { 
 0% { opacity: 0;
 animation-timing-function: ease-in; }
 8% { opacity: 1;
      animation-timing-function: ease-out; }
 20% { opacity: 1 }
 50% { opacity: 0 }
 100% { opacity: 0 }
}

#hero-text {
	text-align: center;
	padding: 0;
	z-index: 1000;
}

#hero-text h1 {
	font-family: 'Syncopate', Arial, helvetica, sans-serif;
	font-size: 70px;
	font-weight: normal;
	color: #fff;
}

#logo {
	z-index: 1000;
}

#logo img {
	margin: 3% auto 0 auto;
	width: 30%;
	height: auto;
}

/*  BUFETE  ========================================================== */
#hrbufete {
	display: block;
	height: 5px;
	border: 0;
	border-top: 0;
	max-width: 50%;
	margin: 0 auto 1% auto;
}

#bufete-round {
	width: 300px;
	height: 300px;
	border-radius: 150px;
	box-shadow: 2px;
	background: transparent url('../images/plaza.jpg') center no-repeat;
	background-size: cover;
	margin: auto;
}

/*  AREAS  =========================================================== */


/*  ABOUT  =========================================================== */
#hrcontacto {
	display: block;
	height: 0;
	border: 0;
	border-top: 0;
	max-width: 50%;
	margin: 1% auto;
}

/*  FOOTER  ========================================================== */
#hrbufete {
	display: block;
	height: 5px;
	border: 0;
	border-top: 0;
	max-width: 50%;
	margin: 1% auto 1% auto;
}

#footer-container{
	background: #222222;
	color: #fff;
	padding-bottom: 1%;
}

.bottom-footer {
	max-width: 1024px;
	padding-bottom: 0.5em;
}

/* let's spice up the form! */
#textAreaForm {
	width: 95%;
	height: 150px;
	max-height: 150px;
}

input, textarea {
	width: 50%;
	height: 50%;
	padding: 0.5em;
	border-radius: 2px;
	border: solid 1px #fff;
	outline: 0;
	margin: 1em;
}

input:hover, textarea:hover, 
input:focus, textarea:focus {
	border-radius: 2px;
	border: solid 1px #ae2805;
}

#buttonForm {
	color: #fff;
	border: none;
	padding: 0.3rem 0.5rem 0.3rem 0.5rem;
	background: #ae2805;
	border-radius: 2px;
	transition: 0.5s ease-in;
}

#buttonForm[type=submit]:hover {
	background: #6b1904;
}

/*  MAP  ============================================================= */
#hrmap {
	display: block;
	height: 0px;
	border: 0;
	border-top: 0;
	max-width: 50%;
	margin: 0 auto 0 auto;
}

.map-container { /* general container widths */
	width: 100%;
	background: #222222;
}

.map-container .col {
	margin: 0;
}

iframe {
	width: 100%;
	height: 35em;
}

/* MAILTO  ===========================================================*/
#mailto {
	background-color: #222222;
	color: #f2f2f2;
	font-size: 0.8em;
	padding-left: 1em;
	margin: 0;
	text-align: left;
	height: 1.8em;
}

#mailto a {
	text-decoration: none;
	color: #ae2805;
}