/*
	Theme Name:		Tema AFE
	File theme:		Layout.css
	Description: 	Styles based template
	Author: 		HG S.A.
	Version: 		1.0
*/

body {
    font-family: 'openSansRegular';
}

* {

    transition: all 0.4s ease 0s;
}

h1,
h2,
h3 {}

h1 {
    font-family: 'open_sanssemibold';
    font-size: 1.25rem;
}

h2 {
    font-family: 'open_sanssemibold';
    font-size: 1rem;
}

a {
    text-decoration: underline;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

a:hover,
a:focus {
    color: #141515;
    text-decoration: none;
}

p,
span,
ul li,
a {
    color: #141515;
    font-family: 'openSansRegular';
    font-size: 0.8125rem;
    line-height: 1rem;
}

ul,
.inline-list {
    margin: 0;
    list-style-type: none;
    padding: 0;
}

/*	Header
	------------------------------------------- */
header {
    border-bottom: 2px solid #133680;
    padding-top: 1rem;
}

header #logo {
    padding: 1.5rem 1rem;
}

header h1 {
    margin: 0;
}

header #logo img {
    width: auto;
    max-height: 100px;
}

header .top-menu {
    margin-top: 1rem !important;
}

header #logo .idioma {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

header #menu-menu-top {
    margin-top: 0.5rem;
}

header #menu-menu-top a {
    text-decoration: none;
}

header #menu-menu-top a:hover {
    text-decoration: underline;
}

/* ---- header - NAV ---- */
nav {}

nav#menu {
    background: #f6f6f6 !important;
    border-top: 1px solid #eaeaea;
}

nav#menu li {
    margin: 0;
}

nav#menu a {
    padding: 1rem 1.25rem;
    text-decoration: none;
}

nav#menu a:hover {
    background: #d8d8d8;
    color: #fff;
}

nav#menu li.current-menu-item a,
nav#menu li.current_page_ancestor a {
    background: url("../assets/rayasAzules.png") repeat-x #214797;
    color: #fff;
    font-family: 'openSansBold';
}

nav#menu li.current_page_ancestor ul li a {
    font-family: 'openSansRegular' !important;
}

nav#menu li ul li.current-menu-item a {
    background: #1d4391 !important;
}

nav#menu li ul {
    display: none;
    position: absolute;
    width: 10rem;
    z-index: 99999;
    margin-left: 0rem;
}

nav#menu li ul ul {
    padding: 0;
}

nav#menu li:hover > ul {
    display: block;
    border: 1px solid #1d4391;
}

nav#menu li ul li {
    position: relative;
    display: block;
}

nav#menu ul li:hover a {
    background: #1d4391;
    color: #fff;
    display: block;
}

nav#menu ul li:hover a:hover {
    background: #1d4391;
}

nav#menu ul li:hover ul li a {
    background: #133680;
    border-bottom: 1px solid #1d4391;
}

nav#menu li ul li ul {
    left: 9.5rem;
    top: 0;
}

nav#menu li ul li ul li a {
    background: #2e54a4;
}

#menu-menu-principal {
    display: flex;
    justify-content: center;
}
#menu-menu-principal li {
    float: none;
}
.right-off-canvas-menu #menu-menu-principal {
    display: block;
}
.right-off-canvas-menu #menu-menu-principal li {
    float: left;
}


/* ---- header - redes sociales ---- */
ul.social {}

ul.social li {
    margin-left: 0.5rem;
}

ul.social li a {
    background: url(../assets/social.png) no-repeat 0 0;
    height: 26px;
    width: 26px;
    text-indent: -9999px;
}

ul.social li a.twitter {
    background-position: 0 0px;
}

ul.social li a.facebook {
    background-position: -26px 0px;
}

ul.social li a.youtube {
    background-position: -52px 0px;
}

ul.social li a.linkedin {
    background-position: -78px 0px;
}

ul.social li a.rss {
    background-position: -104px 0px;
}

/* ---- header - idiomas ---- */
.idioma > * {
    /*display: none;*/
}

.transposh_flags a span:hover,
.transposh_flags a img:hover {
    border-color: transparent !important;
}



/*	breadcrumb
	------------------------------------------- */
#breadcrumb {
    background: #fff;
    padding: 1rem 0;
}

#breadcrumb li {
    margin: 0;
    margin-right: 0.5rem;
}

#breadcrumb li,
#breadcrumb li a {
    font-size: 0.75rem;
}

/*	Section
	------------------------------------------- */
section {}

section#slide {}

section#slide img {
    height: auto !important;
    width: 100% !important;
}

.slideshow_view img {
    height: auto !important;
    width: 100% !important;
}

section#slide .slideshow_button {
    height: 3rem;
    width: 3rem;
    border-radius: 50rem;
}

section#slide .slideshow_previous {
    background: url(../assets/slideLeft.png) center center no-repeat transparent;
    left: 5rem;
    opacity: 0.5;
}

section#slide .slideshow_next {
    background: url(../assets/slideRight.png) center center no-repeat transparent;
    right: 5rem;
    opacity: 0.7;
}

section#slide .slideshow_previous:hover,
section#slide .slideshow_next:hover {
    opacity: 1;
}

section#slide .slideshow_description_box {
    background: rgba(13, 13, 13, 0.5);
    bottom: 10rem !important;
    position: absolute;
    left: 50%;
    padding: 1rem;
    width: 40rem;
    margin-left: -20rem;
}

section#slide .slideshow_description_box h1,
section#slide .slideshow_description_box h1 a {
    font-family: 'open_sanssemibold';
    font-size: 5rem;
    line-height: 6rem;

}

section#slide .slideshow_description_box p {
    font-family: 'openSansRegular';
    font-size: 2rem;
    line-height: 2rem;
}

section#slide .slideshow_description_box h2,
section#slide .slideshow_description_box p {

    margin: 0;
    padding: 0;
}

section#slide .slideshow_container_style-light .slideshow_transparent {
    opacity: 1;
}

section#slide .slideshow_pagination {
    bottom: 2rem;
}

section#slide .slideshow_pagination ul li {
    background: #fff;
    border-radius: 50%;
    height: 14px;
    opacity: 1;
    width: 14px;
}

section#slide .slideshow_pagination ul li {
    background: #fbdc40;
    opacity: 0.5;
}

section#slide .slideshow_pagination ul li.slideshow_currentView {
    background: #153a86;
}

div.auxiliar {
    background: url("../assets/rayas.png") repeat-x center bottom;
    z-index: 2;
    top: -2rem;
    position: relative;
}

section#noticias {
    margin-top: 1rem;
}

section#noticias h1 {
    border-bottom: 1px solid #dadada;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

section#noticias img {
    width: 100%;
}

/* ---- destacado ---- 
section#destacado {
    background: url("../assets/bgRayas.png") no-repeat bottom center #ffe24e;
    background: #f1d33a;
    padding: 2rem;
    padding-top: 1rem;
}

.aux {
    background: url("../assets/bgDestacado.png") no-repeat 0 0;
    height: 45px;
}
*/
section#destacado h1 {
    margin-bottom: 1rem;
}

section#destacado .llamados {
    margin-top: 3rem;
}

section#destacado .llamados a {
    margin-top: 2rem;
    margin-bottom: 0;
}

section#destacado h1 {
    text-align: center;
}

section#servicios {
    padding: 1rem 2rem;
}

.item {
    margin-bottom: 1rem;
}

.thumb .photo {
    width: 3rem;

}

.thumb .photo img {
    border: 3px solid #feea83;
    height: 3rem;
    width: 3rem;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.thumb .info {
    margin-left: 1rem;
    width: 13rem;
}

.item .thumb .info {
    margin-left: 1rem;
    width: auto;
}

.item .info h2,
.item .info h2 a {
    line-height: 1rem;
    font-family: 'open_sanssemibold';
    font-size: 0.8125rem;
    margin: 0;
}

.item .info p {
    margin-bottom: 0.5rem;
}

.box {
    height: 18rem;
}

.box .button {
    position: absolute;
    bottom: 0;
}

.box .center .button {}

.box .center .button {
    position: absolute;
    left: 50%;
    width: 8rem;
    margin-left: -4rem;
}

/* ---- Accesos ---- */
section#accesos {
    background: #f5f5f5;
    margin-top: 1rem;
    padding: 2rem 0;
    position: relative;
}

section#accesos h1 {
    text-align: center;
}

section#gallery {
    margin: 0;
}

section#gallery h1 {
    color: #172f66;
    margin-bottom: 1rem;
    text-align: center;
}

section#gallery div.gllr_image_block {
    margin: 0.25rem;
}

section#gallery div.gllr_image_block img {
    border: 3px solid #e3e3e3;
    text-decoration: underline;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

section#gallery div.gllr_image_block img:hover {
    border: 3px solid #f1d33a;
}

/*	Section Content
	------------------------------------------- */
section#content {
    min-height: 30rem;
}

section#content h1 {
    padding-bottom: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #dadada;
}

article.news {
    padding: 1.5rem;
    margin: 0 0 2rem 0;
    background-color: #f0f4f9;
}

article.news .thumbnail {
    min-height: 200px;
}

article.news .article-content {
    min-height: 250px;
}

article.news a {
    text-decoration: none;
}

article.news a h2 {
    font-family: "open_sanssemibold";
    font-size: 1.25rem;
    margin: 1rem 0 .5rem 0;
    color: #1d4391;
    line-height: 1.2;
}

article.news a:hover h2 {
    color: #000;
}

article.news a:hover img {
    opacity: .7;
}

article.news p {
    line-height: 1.5;
    color: #000;
}

.alignleft {
    float: left;
    margin: 0.5rem 0.5rem 0.5rem 0;
}

.alignright {
    float: right;
    margin: 0.5rem 0 0.5rem 0.5rem;
}

/*	Footer
	------------------------------------------- */
footer {
    background: url("../assets/bgFooter.jpg") no-repeat bottom center;
    padding-top: 6rem;
}

footer h1,
footer p,
footer a {
    color: #fff;
}

footer h1 {
    margin-bottom: 2rem;
    font-size: 1rem;
}

footer p {
    margin-bottom: 1rem;
}

footer a:hover,
footer a:focus {
    color: #fff;
    text-decoration: none;
}
