@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);

html {
      height: 100%;
}

body {
  padding-top: 30px;
  padding-bottom: 0px;
  margin-bottom: 0px;
  font-family: 'Open Sans', sans-serif;
  color: #4b4a49;
  height: 100%;
  background-image: url("../imgs/tramatfons.png")
}
.container{max-width:1040px;background-color: #fff; padding:25px;}
.navbar {margin:0;padding: 0;background-color: #823634; border-radius: 0; border:0;min-height: 30px;}
.navbar li {
    background-color: #823634;
    border-right: 1px solid #fff;
    text-align: center;
    width: 198px;
}

.navbar li:last-child {
    border-right: none;
}

.nav > li > a:hover, .nav > li > a:focus {
        background-color: #000;
}
.navbar li a{color: #fff;}
.navbar-collapse {
    border-top: 1px solid #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    max-height: 340px;
    overflow-x: visible;
    padding-left: 0;
    padding-right: 0;
}
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: #000;
}
.navbar-nav > li > a {
    padding-bottom: 5px;
    padding-top: 5px;
}

.footer{ background-color: #823634; color:#fff;padding: 5px;}
.footer a{color:#fff; margin:5px 20px 0; display: inline-block;}
.footer img{margin-top:5px;}
.textcenter{text-align: center;}


.boxhome{border:1px solid #823634; padding:20px;margin:20px 0;overflow: hidden; font-size: 12px; color: #000;}
.boxhome b{color:#823634;}
.boxcontinguttitle{background-color: #823634; padding:5px 20px;margin:20px 0 0 0;overflow: hidden; font-size: 16px; color: #fff;font-weight: 700;}
.boxcontingut{border:1px solid #823634; padding:5px 20px;margin:0 0 20px 0;overflow: hidden; font-size: 12px; color: #000;}
.boxcontingut h4{font-weight: 700; font-size:16px; color:#823634;}
.boxcontingut a{font-weight: 700;font-size:12px; color:#823634;}
.boxmail{border:2px solid #823634; padding:10px;margin:20px 0;overflow: hidden; border-radius: 10px;}
.boxmail h3{font-weight: 700; font-size:20px; color:#823634;}
.boxmail p{font-size:12px; color:#823634;}
.boxpdf{border:2px solid #823634; padding:40px 10px; margin:50px 0;overflow: hidden; border-radius: 10px;}
.boxpdf a{font-size:14px; color:#823634; font-weight: 700;}
.boxabstract {padding:20px;margin:0 0 20px 0;overflow: hidden; font-size: 12px; color: #000;}
.boxabstract h1{font-weight: 700; font-size:18px; color:#823634;}
.boxabstract h3{font-weight: 700; font-size:16px; color:#000;}
.boxabstract a{font-weight: 700; font-size:16px; color:#000;text-decoration: underline;}
.boxcontingutabstract {border:1px solid #823634; padding:20px;margin:0 0 20px 0;overflow: hidden; font-size: 16px; color: #000;}
.boxnumactual {border:1px solid #823634; padding:20px;margin:20px 0 20px 0;overflow: hidden; font-size: 12px; color: #000;}
.boxnumactual h1{font-weight: 700; font-size:20px; color:#823634;margin-top:0; margin-bottom: 20px;}
.boxnumactual strong{font-weight: 700;font-size:12px; color:#823634;}
.boxnumactual a{font-weight: 700;font-size:12px; color:#823634;}

.boxbuscador {border:0px solid #823634; padding:20px;margin:20px 0 20px 0;overflow: hidden; font-size: 12px; color: #000;}
.boxbuscador h1{font-weight: 700; font-size:20px; color:#823634;margin-top:0; margin-bottom: 5px;}
.boxbuscador h2{font-weight: 700; font-size:14px; color:#823634;margin-top:0; margin-bottom: 5px;}
.boxbuscador h3{font-weight: 700; font-size:18px; color:#823634;margin-top:0; margin-bottom: 5px;}
.boxbuscador strong{font-weight: 700;font-size:12px; color:#823634;}
.boxbuscador a{font-weight: 700;font-size:12px; color:#823634;}
.buscador {border:1px solid #823634; padding:20px;margin:20px;overflow: hidden; font-size: 12px; color: #000;}
.boxenvio {border:0px solid #823634; padding:20px;margin:20px 0 20px 0;overflow: hidden; font-size: 12px; color: #000;}
.boxenvio h1{font-weight: 700; font-size:20px; color:#823634;margin-top:0; margin-bottom: 20px;}
.boxenvio h3{font-weight: 700; font-size:18px; color:#823634;margin-top:0; margin-bottom: 5px;}
.boxenvio strong{font-weight: 700;font-size:12px; color:#823634;}
.boxenvio a{font-weight: 700;font-size:12px; color:#823634;}
.boxalertatitle {
    -webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
background-color: #823634; padding:5px 20px;margin:50px 0 0 0;overflow: hidden; font-size: 28px;font-weight: 700; color: #fff;}
.boxalerta{
    -webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
background-color: #c8c0c0; padding:20px;margin:0 0 50px 0;overflow: hidden; font-size: 14px; color: #000;}
.boxalerta b{font-size: 12px;}
.form-horizontal .control-label {
    font-size: 12px;
    text-align: right;
}
.btn-default{background-color: #823634;color: #fff !important;
    background-image: none;
    border-color: #823634;
    text-shadow: none;
    border-radius: 0;
    border:0;
    padding:5px 20px

}
.btn-default:hover, .btn-default:focus {
    background-color: #000;
    color:#fff;
}
small {
    display: block;
    font-size: 9px;
    line-height: 12px;
    text-align: justify;
}

#banners{
	margin: 25px 0px;
}

.nav_actual a{font-weight: 700;font-size:12px; color:#823634;}
.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 4px 10px;
    margin-left: -1px;
    line-height: 1.42857;
    color: #823634;
    text-decoration: none;
    background-color: #FFF;
    border: 1px solid #823634;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #FFF;
    cursor: default;
    background-color: #823634;
    border-color: #823634;
}

.pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #FFF;
    cursor: default;
    background-color: #823634;
    border-color: #823634;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    color: #FFF;
    background-color: #823634;
    border-color: #823634;
}



/* Large desktops and laptops */
@media (min-width: 1200px) {

}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
.navbar li {
    width: 184px;
}
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
.navbar li {
    width: 140px;
    font-size:11px;
}
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {

}

/* Portrait phones and smaller */
@media (max-width: 480px) {

}