body {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 16px;
    color:#555;
    background:#fff;
}

a {
    text-decoration:underline;
    color:#41789e;
}
a:hover, a:focus {
    color:#888;
    text-decoration:none;
}
a.btn, a.btn:link, .nav a, .nav a:link, .attr-nav a, .attr-nav a:link {
    text-decoration:none;
}

h1, h2, h3, h4, h5 {
    font-weight: 200;
    margin: 1em 0;
    line-height: 1.2em;
}
h1, h2, h3 {
    text-transform:uppercase;
    font-weight:bold;
}

h2 a, h3 a, h4 a, h2 a:link, h3 a:link, h4 a:link {
    text-decoration:none;
}

h1{font-size:250%;}
h1::after {
    background-color: #41789e;
    content: "";
    display: block;
    height: 3px;
    margin: 0.55em 0;
    position: relative;
    width: 20%;
}
h2::after {
    background-color: #ff6600;
    content: "";
    display: block;
    height: 1px;
    margin: 0.7em 0;
    position: relative;
    width: 20%;
}
h2.anuario::after { margin: 0.7em auto; }
h2.icon::after {
    background-color: transparent;
    content: "";
    display: block;
    height: 0px;
    margin: 0 0;
    position: relative;
    width: 0%;
}

h1 a.btn, h2 a.btn, h3 a.btn, h4 a.btn {
    text-shadow:none;
}

.post p { /*text-indent:35px;*/ font-size:18px; }

/* Navigation fixed */
@media (min-width: 1024px) {
    #navbar-menu {
        float:right;
    }
    .navbar-header {
        z-index:5000;
    }
}
nav.navbar.bootsnav ul.nav > li > a {
    padding:30px 13px;
}
nav.navbar.bootsnav.no-background.white .attr-nav > ul > li > a, nav.navbar.bootsnav.navbar-transparent.white .attr-nav > ul > li > a, nav.navbar.bootsnav.navbar-transparent.white ul.nav > li > a, nav.navbar.bootsnav.no-background.white ul.nav > li > a {color:#666;}
nav.navbar.bootsnav ul.nav > li > a:hover {
    color:#333;
}
nav.navbar .attr-nav { z-index:1000; }
@media (max-width: 960px) {
    .navbar-brand {
        padding:10px 10px;
        width:250px;
    }
    nav.navbar .attr-nav li span { display:none; }
}
@media (max-width: 801px) {
    .navbar-brand {
        padding:15px 0px;
        width:180px;
    }
}

.front .item-effect { opacity: 0; position: relative; }
/*animation element sliding left*/
.front .item-effect.slide-left { opacity: 0; -moz-transition: all 500ms linear; -webkit-transition: all 500ms linear; -o-transition: all 500ms linear; transition: all 500ms linear; -moz-transform: translate3d(-100px, 0px, 0px); -webkit-transform: translate3d(-100px, 0px, 0px); -o-transform: translate(-100px, 0px); -ms-transform: translate(-100px, 0px); transform: translate3d(-100px, 0px, 0px); }
/*animation element sliding right*/
.front .item-effect.slide-right { opacity: 0; -moz-transition: all 500ms linear; -webkit-transition: all 500ms linear; -o-transition: all 500ms linear; transition: all 500ms linear; -moz-transform: translate3d(100px, 0px, 0px); -webkit-transform: translate3d(100px, 0px, 0px); -o-transform: translate(100px, 0px); -ms-transform: translate(100px, 0px); transform: translate3d(100px, 0px, 0px); }
.front .item-effect.slide-left.in-view,
.front .item-effect.slide-right.in-view { opacity: 1; -moz-transform: translate3d(0px, 0px, 0px); -webkit-transform: translate3d(0px, 0px, 0px); -o-transform: translate(0px, 0px); -ms-transform: translate(0px, 0px); transform: translate3d(0px, 0px, 0px); }
/* End Navigation fixed */

.item-effect.slide-top { opacity: 0; -moz-transition: all 1000ms linear; -webkit-transition: all 1000ms linear; -o-transition: all 1000ms linear; transition: all 1000ms linear; -moz-transform: translate3d(0px, 100px, 0px); -webkit-transform: translate3d(0px, 100px, 0px); -o-transform: translate(0px, 100px); -ms-transform: translate(0px, 100px); transform: translate3d(0px, 100px, 0px); }
.item-effect.slide-top.in-view { opacity: 1; -moz-transform: translate3d(0px, 0px, 0px); -webkit-transform: translate3d(0px, 0px, 0px); -o-transform: translate(0px, 0px); -ms-transform: translate(0px, 0px); transform: translate3d(0px, 0px, 0px); }

section {
    padding:30px 0;
}

/* Nosotros */
section#nosotros {
    background:#f8f8f8 url(../img/banner-nosotros.jpg) no-repeat center top;
    background-size:cover;
    padding:120px 0 30px;
    color:#fff;
}
#nosotros h2, #nosotros h3,
#descripcion h2, #descripcion h3 {
    text-transform:uppercase;
    font-weight:bold;
    margin:0.5em 0;
}

#nosotros a, #nosotros a:link {
    color:#fff;
}
@media (max-width: 801px) {
    section#nosotros {
        padding:80px 0 30px;
    }
}
#nosotros .event h2.icon::after {
    background-color: transparent;
    content: "";
    display: block;
    height: 0px;
    margin: 0 0;
    position: relative;
    width: 0%;
}
#nosotros .event p.event-link { font-size:18px; text-transform:uppercase; }
#nosotros .event a { text-decoration:none; }
#nosotros .event .event-link a { text-decoration:none; font-weight:bold; }
#nosotros .event a:hover { color:#ccc; }
#nosotros .event a i {transition: all 0.5s ease-in-out 0s; -webkit-transition: all 0.5s ease-in-out 0s; -moz-transition: all 0.5s ease-in-out 0s; -o-transition: all 0.5s ease-in-out 0s; -ms-transition: all 0.5s ease-in-out 0s;}
#nosotros .event a:hover i {margin-left:5px;}

/* Un Madrid */
section#unmadrid {
    background:#fff url(../img/img_fondo_unmadridmejor_home.png) no-repeat left;
    background-size:cover;
    padding:120px 0 120px;
    font-family: "Source Sans Pro", sans-serif;
    min-height:750px;
}
@media (max-width: 801px) {
    section#unmadrid {
        background:#fff url(../img/img_fondo_unmadridmejor_home.png) no-repeat left bottom;
        background-size:contain;
        padding:50px 0 20px;
        min-height:450px;
    }
}
section#unmadrid .un-madrid_text { text-align:right; }
section#unmadrid .un-madrid_text h1 { font-size:42px; line-height:47px; color:#e94734; text-transform:none; }
section#unmadrid .un-madrid_text h1::after { background-color: none; content: ""; display: none; }
section#unmadrid .un-madrid_text h1 span { display:block; font-size:25px; line-height:35px; color:#161616; font-weight:normal; }
section#unmadrid .un-madrid_text p .text-muted { color:#576b5a; }

/* Noticias */
#noticias {
    background-color:#fa7c22;
    color:#000;
}
#noticias h2, #noticias h3 {
    margin:0.5em 0;
    font-size:1.5em;
}
#noticias h2 a, #noticias h3 a {
    color:#000;
}
#noticias h2 a:hover, #noticias h3 a:hover {
    color:#333;
}
#noticias i.fa, #noticias a.btn-link { color:#fff; }

/* Eventos */
#eventos h2, #eventos h3 {
    margin:0.5em 0;
    font-size:1.5em;
}
#eventos a.btn-link { color:#000; }

.event-list { list-style: none; margin: 0px; padding: 0px; }
.event-list > li { background-color:#fff; border-bottom:1px solid #e0e0e0; padding: 0px; margin: 0px 0px 50px; }
.event-list > li.active { padding:20px; background-color:#f8f8f8; box-shadow: 0px 0px 3px rgb(51, 51, 51); box-shadow: 0px 0px 3px rgba(51, 51, 51, 0.7); }
.event-list > li.active > .info { background-color:#f8f8f8; }
.event-list > li > time { display: inline-block; width: 100%; color: #fff; background-color: #ff6600; padding: 5px; text-align: center; text-transform: uppercase; }
.event-list > li:nth-child(even) > time { background-color: red; }
.event-list > li > time > span { display: none; }
.event-list > li > time > .day { display: block; font-size: 48pt; font-weight: bold; line-height: 1; }
.event-list > li time > .month { display: block; font-size: 24pt; font-weight: 900; line-height: 1; }
.event-list > li time > .year { display: block; font-size: 12pt; font-weight: 300; line-height: 1; }
.event-list > li > img { width: 100%; }
.event-list > li > .info { padding-top: 5px; text-align: center; }
.event-list > li > .info > .title { /*font-size: 17pt; font-weight: 700;*/ font-size:22px; margin: 0px; text-transform:none; }
.event-list > li > .info > .desc { /*font-size: 13pt; font-weight: 300;*/font-size:14px; margin: 0px; }
.event-list > li > .info > ul,
.event-list > li > .social > ul { display: table; list-style: none; margin: 10px 0px 0px; padding: 0px; width: 100%; text-align: center; }
.event-list > li > .social > ul { margin: 0px; }
.event-list > li > .info > ul > li,
.event-list > li > .social > ul > li { display: table-cell; cursor: pointer; color: rgb(30, 30, 30); font-size: 11pt; font-weight: 300; padding: 3px 0px; }
.event-list > li > .info > ul > li > a { display: block; width: 100%; color: rgb(30, 30, 30); text-decoration: none; } 
.event-list > li > .info > ul > li:hover { color: rgb(30, 30, 30); background-color: rgb(200, 200, 200); }

@media (min-width: 768px) {
    .event-list > li { position: relative; display: block; width: 100%; /*height: 120px;*/ padding: 0px 0 30px 0; }
    .event-list > li > time { display:inline-block; width:120px; height:120px; float:left; padding:0px; margin:0px; }
    .event-list > li > .info { background-color:#fff; /*background-color: rgb(245, 245, 245);*/ overflow: hidden; position: relative; min-height:120px; /*height: 120px;*/ text-align: left; padding:0 80px 0 20px; }
    .event-list > li > .info > .title, 
    .event-list > li > .info > .desc { padding: 0px 10px; }
    .event-list > li > .info > ul { position: absolute; left: 0px; bottom: 0px; }
    .event-list > li > .social { position: absolute; top: 0px; right: 0px; display: block; width: 40px; }
    .event-list > li > .social > ul { border-left: 1px solid rgb(230, 230, 230); }
    .event-list > li > .social > ul > li { display: block; padding: 0px; }
    .event-list > li > .social > ul > li > a { display: block; width: 40px; padding: 10px 0px 9px; }
}

/* Entidades */
#entidades {
/*
    background-color:#fa7c22;
*/
    text-align:center;
    padding:60px 0 40px;
}
#entidades .col-md-3, #entidades .col-sm-6 {
    padding:0px 3px;
}
#entidades .thumbnail {
    background-color:#fff;
    border:none;
    border-radius:0px;
    padding:0px;
    height:400px;
    overflow:hidden;
}
#entidades .thumbnail .thumbnail-img {
    overflow:hidden;
    position:relative;
}
#entidades .thumbnail-img:hover > a.link {
    display:block;
    background: rgba(0, 0, 0, 0.8);
    /* For IE 5.5 - 7*/
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
    transition: all 1s ease-in-out 0s;
    -webkit-transition: all 1s ease-in-out 0s;
    -moz-transition: all 1s ease-in-out 0s;
    -o-transition: all 1s ease-in-out 0s;
    -ms-transition: all 1s ease-in-out 0s;
}
#entidades .thumbnail i.fa-search,
#entidades .thumbnail i.fa-link {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-25px;
    margin-top:-35px;
    transition: all 1s ease-in-out 0s;
    -webkit-transition: all 1s ease-in-out 0s;
    -moz-transition: all 1s ease-in-out 0s;
    -o-transition: all 1s ease-in-out 0s;
    -ms-transition: all 1s ease-in-out 0s;
    opacity:0;
    color:#00a096;
}
/*
#entidades .thumbnail:hover i.fa-search,
#entidades .thumbnail:hover i.fa-link {
    opacity:1;
}
*/
#entidades .thumbnail:hover.entidad a.link i.fa-search,
#entidades .thumbnail:hover.entidad a.link i.fa-link {
    opacity:1;
}
#entidades .thumbnail img {
    transition: all 1s ease-in-out 0s;
    opacity:1;
}
#entidades .thumbnail:hover img {
    transform:scale(1.1);
    -webkit-transform:scale(1.1);
    -ms-transform:scale(1.1);
    opacity:0.5;
}
#entidades .thumbnail .caption {
    padding:10px;
}
#entidades .thumbnail h3 {
    margin:10px 0 5px;
    font-size:16px;
    text-transform:uppercase;
    font-weight:bold;
}
#entidades .thumbnail .description {
    font-size:0.9em;
}
#entidades .thumbnail .description::after {
    background-color: red;
    content: "";
    display: block;
    height: 1px;
    margin: 0.55em auto 0;
    position: relative;
    width: 20%;
    text-align:center;
}
#entidades .thumbnail .tags {
    text-transform:lowercase;
    font-size:12px;
    line-height:14px;
    margin-top:10px;
    color:#666;
}
@media (max-width: 801px) {
    #entidades .thumbnail {
        min-height:430px;
    }
}

@media (max-width: 320px) {
    #entidades .thumbnail {
        min-height:375px;
    }
}

/* Contacta */
#contacta {
    background-color:#2b2b32;
}
#contacta h2,
#contacta .address {
    color:#fff;
    text-align:center;
}
#contacta i {
    color:#00a096;
}

#contacta .form-control {
    font-size:16px;
    padding: 8px 12px;
    height: 50px;
    border-radius:0px;
    border:none;
    background-color:rgba( 255, 255, 255, 0.1 );
    color:#fff;
}
#contacta input#id_captcha_1 {
    font-size:16px;
    padding: 5px 10px;
    height: 50px;
    background-color:rgba( 255, 255, 255, 0.1 );
    color:#fff;
    border:none;
}
#contacta .captcha img {
    height: 48px;
    margin-top:-4px;
}
#contacta .legal.col-sm-12 {
    padding-left:35px;
    padding-right:30px;
    width:100%;
    font-size:14px;
}
#contacta #submit-id-send {
    margin-right:15px;
    border-radius:0px;
}
#contacta .radio, #contacta .checkboxinput {
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
    min-height: 20px;
    padding-left: 20px;
}
#contacta .btn.btn-primary {
    background-color:rgba( 255, 255, 255, 0.1 );
    color:#fff;
    border:none;
}
#contacta .btn.btn-primary:hover {
    background-color:#00a096;
    color:#fff;
}

/* Nuestros clientes */
#nuestros-clientes {
    background-color:#f8f8f8;
    text-align:center;
}

/* Content */
#content {
    background-color:#fff;
}

#content .article-description p {
    font-size:18px;
}

.content-list.thumbnail { border:none; padding:0px; margin-bottom:60px; overflow:hidden; }
.content-list.thumbnail .caption { padding:0px; }
.content-list.thumbnail h2,
.content-list.thumbnail h3 { margin:0.75em 0 1em; }
.content-list.thumbnail h2 a,
.content-list.thumbnail h3 a { color:#000; transition: all 0.3s ease-in-out 0s; -webkit-transition: all 0.3s ease-in-out 0s; -moz-transition: all 0.3s ease-in-out 0s; -o-transition: all 0.3s ease-in-out 0s; -ms-transition: all 0.3s ease-in-out 0s; }
.content-list.thumbnail h2 a:hover,.content-list.thumbnail h2 a:focus,
.content-list.thumbnail h3 a:hover,.content-list.thumbnail h3 a:focus { color:#888; }
.content-list.thumbnail h2::after { transition: all 1s ease-in-out 0s; -webkit-transition: all 1s ease-in-out 0s; -moz-transition: all 1s ease-in-out 0s; -o-transition: all 1s ease-in-out 0s; -ms-transition: all 1s ease-in-out 0s; }
.content-list.thumbnail:hover h2::after { background-color: #ff1f49; width:100%; }

.page-header {
    border-bottom:none;
    padding: 12px 0 15px 0;
    background-color:#00a096;
    margin:0px;
}

.page-header h2 {
    font-size:250%;
    color:#fff;
}

@media (max-width: 320px) {
    .page-header {
        margin: 60px 0 0px
    }
    .page-header h2, h2.page-header {
        font-size:36px;
        
    }
    h3 {font-size:24px;}
}

/* Footer */
#footer {
    background: #2b2b32 url(../img/banner-nosotros.jpg) no-repeat center center;
    color:#fff;
    padding:60px 0;
    margin-top:60px;
}
.front #footer { margin-top:0px; }
#footer h3 {
    font-weight:300;
    text-transform:uppercase;
    font-size:20px;
    margin-bottom:20px;
}
#footer a {
    color:#fff;
}
#footer .copy {
    padding:10px 0;
    font-size:14px;
}

/* Top scroll button */

#top-link-block.affix-top {
    position: absolute; /* allows it to "slide" up into view */
    bottom: -82px;
    right: 20px;
}
#top-link-block.affix {
    position: fixed; /* keeps it on the bottom once in view */
    bottom: 18px;
    right: 20px;
}
#top-link-block .btn {
    padding: 9px 12px;
}
#top-link-block .btn-link,
#top-link-block .btn-link:active,
#top-link-block .btn-link:focus,
#top-link-block .btn-link:hover {
    border:1px solid #666;
    background:#000;
    color:#fff;
