.container {
    padding-top: 50px;
}
.nav-tabs {
    margin-top: 20px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 0;
}
.nav-tabs li a {
    color: #000;
    padding: 10px 20px 16px;
    font-size: .78em;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
    border: none;
    border-bottom: 2px solid #42B5B3;
    color: #42B5B3;
    padding: 10px 20px 16px;
}
.law-container {
    position: relative;
    margin-top: 120px;
    margin-left: 0;
    font-size: .9em;
}
.law-container h1 {
    margin: 0 20px 20px;
    padding-bottom: 20px;
    border-bottom: 2px dotted #EEE;
    font-size: 1.8em;
}
.law-container .rightbar {
    padding-top: 0;
}
.law-container .rightbar h3 {
    text-transform: inherit;
    padding: 15px 0;
}
.law-container .rightbar h4 {
    margin-bottom: 20px;
}
.law-container-list li {
    border-bottom: 2px dotted #EEE;
    margin-bottom: 20px;
}
.law-container-list li a:hover {
    text-decoration: none;
}
.law-container-list h2 {
    font-size: 1.2em;
    color: #000;
    font-weight: 600;
    line-height: normal;
}
.law-container-list .pretitle {
    font-size: .9em;
    margin-bottom: 10px;
    display: block;
}

/*leyenda*/
.cont-leyenda{border-top:2px solid #C01427; padding-top: 20px; font-size: 14px;}
.color-leyenda{border-radius: 50%; width:6px; height:6px;  display: inline-block;}
.color-leyenda.all{background:#ff9000;}
.color-leyenda.eell5{background:#0000ff;}
.color-leyenda.eell1{background:#009000;}

/*fin leyenda*/

#noneResult {
    text-align: center;
    font-weight: 600;
    color: #C00;
}
.law-search {
    margin: 40px 0 20px;
}
.law-search>* {
    display: inline-block;
    height: 40px;
    padding-left: 0;
    padding-right: 0;
}
.law-search button {
    font-weight: 500;
}
.law-search .navbar-toggle .caret {
    color: #42B5B3;
    vertical-align: middle;
}
.law-search input, .law-search .navbar-toggle {
    border: 1px solid #eee;
    border-right: none;
    height: 40px;
    padding-left: 20px;
}
.law-search .navbar-toggle {
    border: 1px solid #eee;
    height: 40px;
    padding: 10px 15px 15px;
    border-bottom: none;
    color: #000;
}

/* LISTA JERÁRQUICA OLD*/
.enlace-contenido {
    margin-bottom: .5em;
}
.enlace-contenido > a {
    display: inline-block;
    margin-bottom: .5em;
    cursor: pointer;
}
.enlace-contenido > a:after {
    content: "\21";
    margin-left: .4em;
    font-family: elderecho !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.details {
    margin-bottom: .7em;
    text-indent: 1em;
}
.details .details {
    text-indent: 4em;
}
.enlace-contenido #details1 a:after, .enlace-contenido #details6 a:after, .enlace-contenido #details10 a:after, .enlace-contenido #details14 a:after {
    content: none;
}
#details1 .enlace-contenido {
    margin-bottom: 0;
}
/* FIN LISTA JERÁRQUICA OLD*/

.law-content {
    font-family: Lora, serif;
}
.law-title {
    text-transform: uppercase;
    font-size: 1em;
    font-family: Raleway, Arial, sans-serif;
    color: #A4A4A4;
}
.law-summary ul ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px dotted #EEE;
}
.law-summary ul ul {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px dotted #EEE;
    margin-left: 20px;
}
article.law-summary {
    font-size: .85em;
    font-weight: 500;
}
article.law-summary h4 {
    text-transform: uppercase;
    line-height: normal;
    color: #000;
    border-bottom: 2px dotted #EEE;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.law-search-bar {
    position: relative;
}
.law-search-bar input {
    border: 1px solid #eee;
    width: 100%;
    height: 44px;
    padding: 0 14px;
}
.law-search-bar button {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    padding: 14px 14px 10px;
}
.law-search-bar button i {
    color: #5EC6DD;
}
.law-summary li {
    padding-right: 15px;
}
.law-summary .active a {
    color: #C01427;
    position: relative;
}
.law-summary .active:after {
    content: ">";
    position: absolute;
    right: 0;
    color: #5EC6DD;
    top: 40%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.author-description {
    font-family: Lora, serif;
}
.author-description .bold-title {
    font-size: 1.15em;
}
.date-slider .owl-stage-outer {
    padding-top: 20px;
    padding-bottom: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
    border-top: 2px solid #C01427;
    border-bottom: 1px solid #EEE;
    position: relative;
}
.date-slider li {
    text-align: center;
    color: #6A6A6A;
    cursor: pointer;
}
.date-slider li * {
    display: block;
    clear: both;
    color: #6A6A6A;
}
.date-slider li small {
    color: #6A6A6A;
    display: none;
    font-weight: 500;
}

.date-slider li .badge {
    width: 25px;
    margin: 0 auto;
    border-radius: 50px;
    height: 25px;
    color: #FFF;
    font-size: 11px;
    background-color: #A4A4A4;
    padding: 6px 0;
}

.date-slider li.selected {
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1em;
    color: #c01427;
}
.date-slider li.selected .badge {
    display: none;
}

.date-slider li.selected small {
    display: block;
    color:#c01427;
}
.date-slider .owl-nav {
    padding: 0;
    border: none;
    display: inline-block;
    margin: 0;
}
.date-slider .owl-theme .owl-nav .owl-prev {
    text-align: left;
}
.date-slider .owl-nav [class*=owl-] {
    width: auto;
    margin-top: -28px !important;
}
.date-slider.owl-theme .owl-nav [class*=owl-]:hover {
    background: none;
    color: inherit;
    text-decoration: none;
}
.filter-by {
    font-weight: 600;
    margin-right: 15px;
    width: 100%;
    display: block;
}
.event-list{
    padding:10px 15px 15px 15px;
    box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.13);
    -webkit-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.13);
    -moz-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.13);
}
.event-list li {
    border-bottom: 1px solid #EEE;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding-bottom: 7px;
}
.event-list li:last-child {
    border-bottom:0;
}
.event-list li .event-color-resume{
    float:left;
    margin-top:16px;
    width: 8px;
    height: 8px;
    border-radius:50%;
}
.event-list li figure {
    margin-bottom: 20px;
    padding: 0;
}
.event-list .label.ed-green-bg {
    clear: both;
    display: table;
}
.event-list time {
    display: block;
    margin:0 0 15px 0;
    font-size: .8em;
    font-weight: 600;
    background: #c01427;
    color: #FFF;
    padding: 5px 0;
    text-transform: uppercase;
}
.event-list time * {
    /*white-space: nowrap;*/
}
.event-list time span {
    padding-left: 20px;
    font-size: 1.1em;
}
.event-list .deleteAlert img{
    vertical-align:sub;
    margin-left: 15px;
}
.event-list .handleAlert,
.event-list .createAlertByEmail{
    color:#c01427;
    float:right;
}
.event-list .handleAlert img,
.event-list .createAlertByEmail img{
    vertical-align:sub;
}
.event-list .viewInfoEvent{
    cursor:pointer;
    color:#c01427;
    margin:0 0 0 20px;
    font-weight:700;
}
.event-list .infoEvent{
    display:none;
    clear: both;
    margin-left: 20px;
}
.owl-theme .owl-nav [class*=owl-] {
    color: #C01427;
    font-size: 14px;
    line-height: 14px;
    margin: 5px;
    padding: 0;
    background: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px;
    position: absolute;
    top: 50%;
    margin-top: -7px;
}
.owl-theme .owl-nav .owl-prev .right-arrow {
    transform: rotate(180deg);
}
.owl-theme .owl-nav img{
    width:20px;
    height:20px;
}
.owl-theme .owl-nav .owl-next {
    right: 0;
}
.owl-theme .owl-nav .owl-prev {
    left:  0;
}
.brkn-news-slider .teaser {
    margin-bottom: 0;
    height: 117px;/*190px;*/
}
.brkn-news-slider .owl-nav {
    margin: 0;
    padding: 0;
    height: 0;
    border-bottom: 1px solid #DBDBDB;
}
.brkn-news-slider .owl-nav [class*=owl-] {
    top: 20%;
    padding: 6px;
    font-size: 1.5em;
    font-weight: 800;
    color: #001978 !important;
}
.brkn-news-slider .owl-nav [class*=owl-]:hover {
    background: none;
    text-decoration: none;
}
.brkn-news-slider .owl-nav .owl-prev {
    left: -20px;
}
.brkn-news-slider .owl-nav .owl-next {
    right: -20px;
}
.brkn-news-slider .owl-dots {
    display: none;
}
.event-form-container {
    margin-bottom: 60px;
    padding-top: 20px;
    font-size: .85em;
}
.event-form-container>div {
    /*overflow: hidden;*/
}
.event-form-container .link-back {
    padding: 20px 0;
    display: block;
}
.event-form-container .uppercase-title {
    border-color: #EEE;
    padding: 10px 0;
    font-size: 1em;
}
.event-form-container .solid-border-top, .event-form-container .solid-border-top.uppercase-title {
    border-top-color: #C01427;
}
.event-form-container h2 {
    display: inline-block;
    width: 100%;
    font-size: 1.7em;
    font-weight: 400;
    margin-bottom: 0;
}
.event-form-container legend {
    margin-left: 20px;
    width: 95%;
}
.event-form-container .form-control {
    height: 50px;
}
.event-form-container textarea {
    min-height: 100px;
}
.form-group span {
    display: block;
    color: #A4A4A4;
}
.event-form-container .btn {
    margin-bottom: 40px;
}
.search-author {
    display: inline-block;
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
}
.search-by-block {
    position: relative;
    display: inline-block;
    width: 100%;
    border-bottom: 2px dotted #EEE;
    padding-bottom: 10px;
}
.search-by-block .btn-buscador {
    position: absolute;
    right: 50px;
    top: 0;
    padding: 12px;
    border: none;
    background: none;
}
.search-by-block .btn-buscador i {
    line-height: 0;
    color: #C01427;
}
.select-sort-by {
    width: 100%;
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 2px dotted #EEE;
    border-top: 2px solid #001978;
}
.index-list .hilite-authors-title {
    margin-bottom: 20px;
    border-bottom: none;
}
.authors-slider .owl-item {
    padding-top: 38px;
}
.authors-slider .owl-item {
    padding-top: 38px;
}
.index-list li.authors-slider {
    border-bottom: none;
}
.search-author input, .search-author select, .select-sort-by select {
    display: block;
    height: 40px;
    padding: 10px;
    font-size: .75em;
    width: 100%;
}
.search-author select {
    width: 100%;
}
.search-author input {
    width: calc(100% - 50px);
    float: left;
}
.search-author button {
    height: 40px;
    width: 40px;
}
.apply-filter {
    background: #C01427;
    padding: 9px;
    border: none;
    margin-bottom: 0;
    font-size: 21px;
    color: #FFF;
    margin-left: 10px;
    float: right;
}
/*.author-data {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}*/
/*.author-data .grey-sans {
    margin-left: 30px;
}*/
.index-list li .author-hilite {
    width: 100%;
    text-align: center;
    border: 2px dotted #EEE;
    min-height: 300px;
}
.index-list li .author-hilite h4 {
    font-size: .9em;
}
.index-list li .ed-flecha-leer-mas {
    color: #001978;
}
.author-sort-by {
    border-bottom: 2px dotted #EEE;
    padding: 0 0 10px 0;
    text-align: right;
}
.author-sort-by select {
    height: 40px;
    padding: 10px;
    font-size: .75em;
    width: 100%;
}
.author-hilite figure {
    margin: -40px auto 20px;
    display: inline-block;
    background: #FFF;
    width: 150px;
    text-align: center;
}
.author-hilite figure img {
    margin: 0 auto;
    width: auto !important;
}
.author-hilite a:hover {
    text-decoration: none;
}
.author-hilite a p {
    color: #001978;
}
.author-hilite h5 {
    margin-bottom: 15px;
}
.author-hilite div .grey-sans {
    margin-bottom: 25px;
}
#filter-menu {
    display: none;
}
#filter-menu li {
    margin-bottom: 20px;
}
#filter-menu li:last-child {
    margin-bottom: 0;
}
#filter-menu a {
    color: #000;
    font-size: .8em;
}
.inputfile-container input {
    width: 40%;
    display: inline-block;
}
.inputfile {
    width: .1px;
    height: .1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.inputfile+label {
    /*max-width: 55%;
    margin-right: 5%;*/
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    font-weight: 500;
    text-align: center;
    padding-top: 15px;
    float: right;
    background: #FAFAFA;
    font-weight: 600;
    border: 1px solid #BDBDBD;
}
.inputfile+label span {
    color: #001978;
}
.inputfile-container .send-file {
    float: right;
    background: #FAFAFA;
    color: #001978;
    font-weight: 600;
}

/* BUSQUEDA RESULTADOS */

.search-results {
    margin-top: 50px;
}
.search-results button {
    height: 40px;
    width: 40px;
}
.search-results input {
    width: 100%;
    height: 55px;
    padding-left: 10px;
}
.search-by-results {
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: 10px;
}
.search-by-results .btn-buscador {
    position: absolute;
    right: 10px;
    top: 0;
    padding: 12px;
    border: none;
    background: none;
    height: 55px;
}

.search-by-results .btn-buscador i {
    padding: 0;
    color: #4A4A4A;
}

.search-by-results .btn-borrar {
    position: absolute;
    right:50px;
    top: 0;
    padding: 12px;
    border: none;
    background: none;
    height: 55px;
}

.search-by-results .btn-borrar i {
    line-height: 1.5;
    color: #4A4A4A;
    font-size: 1.4em;
}
.filter-results label {
    color: #000;
    font-size: .8em;
    font-weight: 600;
}
.results-list li {
    font-size: .9em;
    color: #4A4A4A;
    border-bottom: 2px dotted #EEE;
    padding-bottom: 15px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    width: 100%;
}
.results-list a {
    word-wrap: break-word;
}
.results-list h2{
   font-size: 1.25em;
    line-height: 1.5;
    color:#4A4A4A;
}
.results-list .number-found {
    font-size: 2em;
    color: #001978;
    font-weight: 500;
}
.results-list h3 {
    font-size: 1.25em;
    line-height: 1.5;
}
.results-list b {
    color: #001978;
}
.search-results a.border-button {
    width: 250px;
    float: right;
    padding: 10px;
    margin-bottom: 20px;
}
.search-results a.go-to-link {
    float: right;
    margin-right: 20px;
}
.search-results input[type="checkbox"], .search-results input[type="radio"] {
    display: none;
}
.search-results input[type="checkbox"]+label, .search-results input[type="radio"]+label {
    display: inline-block;
    position: relative;
    margin: 10px 20px 10px 0;
    padding-left: 32px;
}
.search-results input[type="radio"]+label:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #666;
    border-radius: 50%;
    background: #fff;
}
.search-results input[type="radio"]:checked+label:after {
    content: '';
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: #001978;
    border-radius: 50%;
}

/* CONFIGURADOR NEWSLETTERS */

.nl-configurator h1 {
    font-size: 1.7em;
}

.nl-configurator .switch {
    margin-right: 10px;
}

.nl-configurator .slider {
    border: 2px solid #A4A4A4;
}

.slider:before {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 4px;
    width: 20px;
    height: 20px;
    background-color: #A4A4A4;
    -webkit-transition: .4s;
    transition: .4s;
}
.nl-configurator input:checked+.slider {
    border: 2px solid #42B5B3;
}
.nl-configurator input:checked+.slider:before {
    background-color: #42B5B3;
}
.nl-configurator input:focus+.slider {
    box-shadow: 0 0 1px #42B5B3;
}
.nl-configurator input:focus+.slider {
    background-color: #42B5B3;
}
.nl-configurator input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.nl-configurator .checkbox-custom+.checkbox-custom-label:before, .nl-configurator .radio-custom+.radio-custom-label:before {
    content: '';
    background: #FFF;
    border: 1px solid #A4A4A4;
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    padding: 2px;
    margin-right: 10px;
    text-align: center;
}

.nl-configurator .col-md-6{
    padding-left: 0;
    margin-bottom: 20px;
}

.nl-configurator .col-md-12{
    padding-left: 0;
    margin-bottom: 60px;
}

.nl-configurator .terms {
    display: inline-block;
    overflow: hidden;
    margin-top: 40px;
    width: 100%;
}

.nl-configurator .terms span{
    display: inline-block;
    width: 100%;
}

.nl-configurator .terms label{
    display: inline-block;
    width: 100%;
    padding-bottom: 20px;
}

/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}


/* CALENDARIO */

.weekdays {
    margin: 0;
    padding: 10px 0;
}

.weekdays li {
    display: inline-block;
    width: 13%;
    color: #C01427;
    text-align: center;
    font-weight:    600;
}

/* Days (1-31) */
.days {
    padding: 10px 0 0;
    margin: 0;
}

.days li {
    position: relative;
    display: inline-block;
    margin-right: 4px;
    width: 13%;
    min-height: 65px;
    vertical-align: top;
    text-align: center;
    list-style-type: none;
    font-size: 1em;
    line-height: .9;
    color: #333;
}

.days p{
    margin-bottom: 0;
}

.days li.events p{
    cursor: pointer;
}

.days .active p{
    color: #FFF;
}

.days .active:after{
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background: #C01427;
    border-radius: 25px;
    position: absolute;
    top: -5px;
    left: 52%;
    margin-left: -17px;
    z-index: -1;
}

.days .past-day{
    color: #9C9C9C;
}

.days li .dot{
    display: inline-block;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    /*background-color:  #000;*/
    margin-right: 5px;
}

.days li .dot:last-child{
    margin-right: 0;
}

.event-filter span{
    cursor: pointer;
}

.event-filter span:first-child{
    cursor: auto;
    margin-bottom: 20px;
}

.event-filter .clear-filter{
    font-size: .8em;
    font-weight: 600;
    color: #C01427;
    margin-bottom: 20px;
    display: inline-block;
}

.breadcrumbs{
    font-size: .8em;
    color: #CCC;
}

.breadcrumbs a{
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #CCC;
}

.itemInfoEvent h4{
    float:left;
    margin-left:10px;
    width:90%;
    margin-top:10px;
}

/* WIDGET GENERATOR */

.widget-generator .radio {
    margin-bottom: 30px;
}
.widget-generator .idParam {
    text-transform: uppercase;
}
.widget-generator input[type="text"] {
    color: #333;
    width: 70px;
    padding: 0 10px;
}
.widget-generator .radio input[type="text"] {
    margin-left: -15px;
}
.widget-generator input[type="radio"]+label:before {
    width: 20px;
    height: 20px;
}
.widget-generator input[type="radio"]:checked+label:after {
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
}
.widget-generator .textArea {
    width: 100%;
    resize: vertical;
}

.textArea {
    min-height: 150px;
    padding: 10px;
}

.modal-form h2 {
    margin-bottom: 1.2em;
}
.modal-form h2 small {
    display: block;
    margin-top: .4em;
}
/*
.modal-form input[type="checkbox"]+label, .modal-form input[type="radio"]+label {
    position: relative;
    display: inline-block;
    margin: 10px 20px 10px 0;
    padding-left: 32px;
}
*/
.modal-form .btn {
    background-color: #FFF;
}
.modal-form .btn:hover {
    background-color: #001978;
    color: #FFF;
}

/* ============================= GESTION NEWSLETTERS ======================= */

.gestion-nl {
    padding-top: 100px !important;
    padding-bottom: 100px;
}

.gestion-nl .led-blue-bg {
    padding: 40px;
    margin-right: 20px;
    margin: 0 20px 20px;
}

.switch {
    margin-right: 10px;
}

.gestion-nl h1 {
    font-size: 1.5em;
    margin-bottom: 0px;
}

.gestion-nl h2 {
    font-size: 1.2em;
    border-top:1px solid #41539a;
    margin-top: 20px;
    padding-top: 20px
}

.gestion-nl p {
    margin-top: 0px;
    margin-bottom: 20px;
    padding-top: 3px;
}

.gestion-nl a {
    color: #C01427;
}

.gestion-nl .checkbox-custom-label {
    margin-bottom: 20px;
}

.uns-all{
    padding-top: 20px;
    border-top:1px solid #41539a;
    border-bottom:1px solid #41539a;
    margin-bottom: 20px;
}

.form-group.inputfile-group.error p{
    width: inherit;
    margin-left: inherit;
}

.form-group.inputfile-group.error p.message_error_field{
    clear: both;
    text-align: right;
    padding-right: 20px;
}

.form-group.inputfile-group.error .inputfile-container{
    float: right;
}
.mT50{
    margin-top: 50px;
}
.cont-info-legislacion{
    padding: 35px; box-shadow: 2px 2px 10px rgba(1,1,1,.2); margin: 20px 0px;
}

/* formatear select select2 */

.select2-container--default .select2-selection--single{
    border-radius:0!important;
}
.select2-container{
    font-size:13px;
}

/* ============================= MEDIA QUERIES ======================= */

@media (min-width: 320px) {
   .search-results .event-ad {
        padding: 40px 25px;
    }
}
@media (max-width: 479px) {
    .results-list div {
        padding-right: 15px;
        padding-left: 15px;
    }
    .search-results input {
        font-size: .7em;
    }
    .search-by-results .btn-borrar {
        right: 29px;
    }
    .date-slider .owl-stage-outer{
        margin-bottom: 0;
    }
    .date-slider .owl-nav [class*=owl-] {
        margin-top: -10px !important;
    }
}

@media (max-width: 767px) {
    #eventsCalendarItems {
        width: 100%;
        overflow-x: auto;
        padding: 20px;
    }
    #tableEventsCalendar .tdActivity {
        min-width: 300px;
    }
     .container {
        padding-top: 0;
    }
}

@media (max-width: 350px) {
    .weekdays li {
        width: 12%;
    }
    .days li {
        width: 12%;
    }
}

@media (min-width: 768px) {
    .container {
        padding-top: 0;
    }
    .special-page{
        padding-top: 60px;
    }
    /*.author-data {
        width: 85%;
    }*/
    .select-sort-by select {
        width: 40%;
        float: right;
    }
    .search-author {
        border-bottom: 2px dotted #EEE;
    }
    .search-author input {
        width: 100%;
        float: left;
    }
    .search-by-block .btn-buscador {
        right: 0;
    }
    #filter-menu {
        display: block !important;
    }
    .nav-tabs li a {
        font-size: 1em;
    }
    .law-search .navbar-toggle {
        border: 1px solid #EEE;
        border-right: none;
        height: 40px;
        padding: 10px 15px 15px;
    }
    .law-search .navbar-toggle .caret {
        margin-left: 25px;
    }
    .author-sort-by {
        border-top: 2px solid #001E64;
        padding: 10px 0;
    }
    .author-sort-by select {
        width: auto;
    }
    .search-by-block {
        margin-bottom: 10px;
    }

    .form-group.error p {
        width: 58.33333333%;
        margin-left: 41.66666667%;
        padding-left: 20px;
    }

    .event-form-container {
        padding-top: 60px;
    }
    .event-form-container.autor-ed {
        margin-top: 60px;
    }

    /*.event-form-container .form-group{
        height: 50px;
    }
    .event-form-container .form-group .control-label{
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }*/
    .sidebar-fixed{
     position: fixed;
    top: 100px;
    height: 100%;
    overflow: scroll;
    }
    .sidebar-absolute{
        position: absolute;
        bottom: 0px;
        top: initial;
        height: auto;
    }
    .law-container {/*lista jerárquica*/
        margin-left: 20px;
        font-size: 1em;
    }
    .event-list{
        min-height: 350px;
        overflow-y:scroll;
        max-height: 650px;
    }
}

@media (max-width: 991px) {
   /*.event-ad{
        margin-top:105px;
    }
    .event-ad .btn {
        margin:15px 0 10px 0;
    }*/
    .law-search {
        margin: 120px 0 20px;
    }
}

@media (min-width: 992px) {
    .search-results {
        margin-top: 0;
    }
   /* .event-list time {
        display: inline;
    }*/
    /*.event-ad .btn {
        float:right;
    }*/
     .event-form-container {
        padding-top: 0;
    }
    .filter-by {
        font-weight: 600;
        margin-right: 15px;
        width: auto;
        display: inline-block;
    }
    .law-container {/*lista jerárquica*/
        margin-top: 20px;
    }

    /*.event-ad {
        padding: 25px 50px;
        text-align: left;
    }
    .event-ad span {
        float: left;
    }
    .event-ad button {
        max-width: 270px;
    }*/
}


/*estos estilos comentados los he pasado a media 992 que es una media más razonable, si no se estropea nada en unos días la eliminaré */
/*@media (min-width: 998px) {
    .event-form-container {
        padding-top: 0;
    }
    .filter-by {
        font-weight: 600;
        margin-right: 15px;
        width: auto;
        display: inline-block;
    }
    .event-ad {
        padding: 25px 50px;
        text-align: left;
    }
    .event-ad span {
        float: left;
    }
    .event-ad button {
        max-width: 270px;
    }
}
*/