/*
Theme Name: Riojarchivo
Theme URI: http://www.pre.riojarchivo.sdi.es
Author: SDI
Author URI: http://www.sdi.es/
Description: Rioja Archivo Responsive Theme.
Version: 0.1
Text Domain: riojarchivo
*/


/* <Globales> */

html,body{ height:100%; margin:0; padding:0 }

a { color: #333; }

a:hover { 
    color: #a01b20;
    text-decoration: underline;
}

.bold { font-weight: bold }



img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

body {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5em;
    background-color: #fff8dc;
    background-image: url(img/bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* <Estructura> */
#page { 
    background: #fff;
    box-shadow: 0px 0px 8px rgba(81, 12, 15, 0.40);
    margin: 0 auto;
}

#left_column {
    background-color: #471312;
    box-shadow: 0px 0px 8px rgba(81, 12, 15, 0.40);
    padding-bottom: 15px;
    height: 90vh;
    min-height: 90vh;
    display: block;
}

@media (max-width: 768px) {
    #left_column {
        height: inherit !important;
        min-height: inherit !important;
    }

    /* #menu a::after {
        display: none !important;
    } */
}

#left_column h1 { margin: 0px 0px 40px 0px }
#left_column h2 {
    color: #6dc4e6;
    font-size: 16px;
    padding: 10px;
    margin-top: 40px;
}
#center_column {
    background-color: #fff;
    /*height: 90vh;*/
    height: 100%;
    min-height: 90vh;
}
#footer { 
    padding: 18px 0px;
    text-align: center;
    clear: both;
    background: rgba(0, 0, 0, 0.70);
}

/* <Menú navegación> */
#menu ul { list-style-type: none; padding: 0px; margin: 0px }

#menu > ul > li {
    font-size: 20px;
    margin-bottom: 10px;
    background: rgba(139, 24, 28, 0.4);
    padding: 10px;
    cursor: pointer;
    
}
#menu > ul > li > ul > li,
#menu > ul > li > ul > li > ul > li,
#menu > ul > li > ul > li > ul > li > ul > li {
    font-size: 14px;
    padding: 10px 10px 10px 10px;
    border-bottom: 1px solid rgba(71, 19, 18, 0.5);
}
#menu ul.sub-menu {
    background: #621416 none repeat scroll 0 0;
    height: 100%;
    margin-left: 30px;
    position: absolute;
    min-width: 304px;
    z-index: 999;
    padding: 15px;
    display: none;
}
#menu > ul > li > ul > li > ul.sub-menu, #menu > ul > li > ul > li > ul.sub-menu .potato-menu-item {
    background: #7a1318 none repeat scroll 0 0;
}
#menu ul > li > a {
    text-shadow: 1px 1px #471312;
    color: #fff;
}
#menu > ul > li > ul li.potato-menu-hover {
    background: rgba(255, 255, 255, 0.1) none repeat scroll 0 0
}

#menu .potato-menu-has-horizontal > a:after {
    float: right;
    display: inline-block;
    padding-right: 10px;
    font-size: 12px;
    content: "\e080";
    position: relative;
    top: 0px;
    color: white;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    line-height: 30px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#menu .potato-menu-has-horizontal > ul > li >a:after {
    top: -5px;
}
#menu > ul > li > ul li.menu-item-has-children:after {
    margin-top: 2px;
    font-size: 12px;
}

/* <Últimos Artículos> */
#left_column #ultimos_articulos > ul {
    margin-left: 2px;
    padding-left: 0px;
    list-style-type: none;
}
#left_column #ultimos_articulos > ul > li .glyphicon {
    margin-right: 5px;
}
#left_column #ultimos_articulos > ul > li {
    margin-bottom: 8px;
    font-size: 13px;
}
#left_column #ultimos_articulos > ul > li > a {
    color: #fff;
}
#left_column #ultimos_articulos > ul > li > a:hover {
    color: #fbc471;
}

/* <Header top> */
#top_info {
    font-size: 12px;
    margin: 10px 0px;
    display: inline-block;
    width: 100%;
    color: #a01b20;
}
#top_info span.fechahoy {
    text-transform: capitalize;
}
#top_info span.infoarchivo {

}
#top_header #buscador input {
    height: 50px;
    padding-right: 40px;
    border: 1px solid #e7e7e7;
}

#top_header #buscador button {
    top: 4px;
    right: 16px;
    position: absolute;
    border: none;
    background: 0 0;
    padding: .809em;
    background-color: #fff;
    height: 42px;
}
#top_header #buscador button:hover {
    color: #8b181c
}
#top_header {
    padding: 10px 0px;
    width: 100%;
    min-height: 70px;
}
#menu_header_nav  ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}
#menu_header_nav  ul > li {
    
}
#menu_header_nav  ul > li > a {
    color: #333;
}

#menu_header_nav  ul > li.current-menu-item > a {
    color: #a01b20
}
#menu_header_nav.navbar-default {
    background-color: transparent;
}
#menu_header_nav.navbar-default .navbar-nav>.active>a,
#menu_header_nav.navbar-default .navbar-nav>.active>a:focus,
#menu_header_nav.navbar-default .navbar-nav>.active>a:hover {
    background-color: transparent;
}
#menu_header_nav.navbar-default .navbar-nav>li>a:focus,
#menu_header_nav.navbar-default .navbar-nav>li>a:hover {
    color: #a01b20;
}
#menu_header_nav.navbar-default .navbar-nav>.active>a,
#menu_header_nav.navbar-default .navbar-nav>.active>a:focus,
#menu_header_nav.navbar-default .navbar-nav>.active>a:hover{
     color: #a01b20;
}

#breadcrumbs{
    list-style:none;
    margin:10px 0;
    overflow:hidden;
}
  
#breadcrumbs li{
    display:inline-block;
    vertical-align:middle;
    margin-right:15px;
}
  
#breadcrumbs .separator{
    font-size:18px;
    font-weight:100;
    color:#ccc;
}

/* <Slider> */
#slider {
    clear: both;
    margin-top: 14px;
}
#slider .carousel .item {
  height: 430px;
}

#slider .item img {
    max-height: 430px;
    width: 100%;
}
#slider .carousel-caption {
    display: block;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    width: 100%;
    left: 0px;
}
#slider .carousel-caption > p {
     margin-bottom: 35px;
}
#slider .carousel-indicators li {
    width: 14px;
    height: 14px;
    margin-right: 8px;
}

#presentacion { padding: 20px 0px }

#footer a {
    color: #fff;
}
#footer > ul { margin: 0px; padding: 0px }
#footer > ul > li {
    display: inline-block;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0px 10px 0px 8px;
    font-size: 13px;
}
#footer > ul > li:first-child {
    font-weight: bold;
}
#footer > ul > li:last-child {
    border-right: none;
}

/* Contenido */
#content { padding-bottom: 35px; display: inline-block; width: 100%;overflow: hidden;}

#content.cms ul { 
    padding-left: 0px;
    margin-bottom: 50px;
    list-style-type: none;
}
#content.cms ul > li {
    background: url(img/bodyli.gif) no-repeat 0px 7px;
    padding-left: 25px;
    margin-bottom: 18px;
}
#content.cms .head_list {
    padding-left: 22px;
    font-weight: 500;
    color: #a01b20;
    margin-top: 22px;
}
.panel-heading {
    padding: 20px 15px;
}
.page-template-enlaces #content ul {
    padding-left: 0px;
    margin-top: 20px;
}
.page-template-enlaces #content ul > li {
    margin: 8px 0px;
    list-style-type: none;
    border: 1px solid #f6f6f6;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
}

.page-template-enlaces #content ul > li > a > span.glyphicon-paperclip {
    font-size: 18px;
    vertical-align: middle;
    margin-right: 10px;
    background: rgb(246, 246, 246);
    color: #bf864f;
    padding: 10px;
    top: 0px;
}
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#articulos_relacionados {
    display: block;
    margin-top: 30px;
}
/* Lista de entradas */
.archive-header > h2.archive-title {
	text-transform: capitalize;
}
.item_list {
	padding: 15px 0px;
}
.item_list h3 {
    font-size: 22px;
	margin: 0px;
	padding: 0px;
}
.item_list h3 > a {
    color: #a01b20;
}
.post_tags {
    
}
.post_tags > ul {
    list-style-type: none;
    display: inline-block;
    margin: 0px;
    padding: 0px;
}
.post_tags > ul > li {
    display: inline-block;
    margin: 0px 4px;
    background: #e1e1e1;
    padding: 2px 4px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
/* Paginación */
.pager {
	margin: 25px 0;
}
.pager li>a, .pager li>span {
	display: inline-block;
	padding: 6px 14px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 15px;
	margin: 0px 6px;
}
.pager li>span.active {
    background: #a01b20;
    color: white;
    border: none;
}
/* Contacto */
#contactForm > div {
    margin-bottom: 25px
}
#contactForm .error {
    color: #a01b20;
    margin-left: 12px;
    font-size: 12px;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    clear: both;
    border-radius: 4px;
    margin: 20px 0px;
    display: inline-block;
    width: 100%;
}
/* Cookies */
#cookie-notice #cn-notice-text > a {
    color: #bb8d4f
}
