@-ms-viewport {
    width: device-width;
}

html {
    box-sizing: border-box;
    -ms-overflow-style: scrollbar;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    word-break: break-word;
    color: #211411;
    background-color: #ededed;
}

a{ text-decoration: none; color: #211411; }

input { font-family: "Raleway Light", sans-serif; font-weight: 300; }

img { border: 0 none; }

a:focus, button:focus, input:focus, select:focus, textarea:focus { outline: none; outline-offset: 0; }
p { margin: 0; padding: 0; }
img { border: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; }
button { border: none; }

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #211411;
    font-family: "Raleway Light", sans-serif; font-weight: 300;
    opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #211411;
    font-family: "Raleway Light", sans-serif; font-weight: 300;
}
::-ms-input-placeholder { /* Microsoft Edge */
    color: #211411;
    font-family: "Raleway Light", sans-serif; font-weight: 300;
}

.hide {
    display: none;
}

.clear {
    clear: both;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.uppercase {
    text-transform: uppercase;
}

.mobile {
    display: none;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

header {
    width: 100%;
    background-color: #211411;
}

header.fixed {
    position: fixed;
    z-index: 200px;
}

header .col-sm-12 .navigation {
    display: flex;
}

.logo {
    width: 100%;
    max-width: 380px;
    background-color: #fafafa;
    padding: 20px 10px;
    margin-right: 30px;
}

.logo a {
    font-size: 14px;
    color: #ffffff;
    display: flex;
    margin: 0 5px;
}

.logo a img {
    height: 40px;
    margin-right: 7px;
}

.logo a span {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    color: #211411;
    font-style: italic;
    display: block;
    margin: 3px 0 0 0;
}

.megamenu .level1 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
}

.megamenu .level1 {
    margin: 30px 0 0 0;
    padding: 0;
}

.megamenu .level1 > li {
    margin: 0 8px;
}

.megamenu .l1 {
    display: inline-block;
    padding: 0 6px;
    font-weight: bold;
    color: #fafafa;
}

.megamenu .l1:hover {
    color: #a9c43c;
}

.megamenu .l1::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    margin-top: 4px;
    background-color: #fafafa;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}

.megamenu .l1.active {
    color: #211411;
}

.megamenu .l1.active::after,
.megamenu .l1:hover::after {
    visibility: visible;
    transform: scaleX(1);
}

.megamenu .level2 {
    display: none;
}

.megamenu .level1 .submenu.mouseenter {
    height: 52px;
}

.megamenu .submenu.mouseenter .level2 {
    display: block;
    position: absolute;
    bottom: 1px;
    left: 15px;
    right: 15px;
    top: 90px;
    z-index: 1000;
    min-height: fit-content;
    overflow: hidden;
    background: url(../images/brown-shadow.png) left top;
}

.megamenu .submenu.mouseenter .level2 {
    display: inline-flex;
    padding: 45px 40px 0 40px;
}

.megamenu .submenu .level2 div {
    width: 33.33333%;
    margin: 0 30px;
    text-align: left;
}

.megamenu .submenu .level2 div label {
    display: block;
    color: #211411;
    font-size: 14px;
    font-weight: 300;
}

.megamenu .submenu .level2 div p {
    margin-bottom: 30px;
}

.megamenu .submenu .level2 div a {
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    padding: 0;
}

.megamenu .submenu .level2 a:after {
    height: 2px;
    background-color: #ffffff;
}

#main-image {
    width: 100%;
    min-height: 350px;
    overflow: hidden;
    position: relative;
    background: transparent url("../images/category.png") center center no-repeat fixed;
    background-size: cover;
}

#main-image.close {
    max-height: 0;
}

#main-image img {
    width: 100%;
    margin-top: -440px;
    position: relative;
    z-index: 1;
}

#main-image .gradient {
    position: absolute;
    width: 100%;
    height: 350px;
    background: transparent url("../images/main-image-gradient.png") left top no-repeat fixed;
    background-size: cover;
    z-index: 2;
}

#main-image .presentation {
    position: absolute;
    margin-top: 53px;
    right: 15%;
    z-index: 3;
    color: #ffffff;
}

#main-image .presentation h2 {
    font-weight: 400;
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 6px;
}

.left-section-slogan {
    background-color: #fafafa;
    padding: 19px 25px 14px 25px;
    color: #211411;
    font-weight: 600;
    font-style: italic;
    width: 100%;
    max-width: 25%;
}

.language {
    position: absolute;
    right: 5px;
    top: 30px;
    color: #ffffff;
    text-decoration: underline;
}

.language:hover {
    color: #a9c43c;
    text-decoration: none;
}

.home-text {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.home-text h1 {
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 80px 0 40px 0;
}

.home-text h1 span {
    color: #a9c43c;
}

.section-title {
    text-transform: uppercase;
    font-size: 30px;
    line-height: 30px;
    color: #211411;
    margin-top: 38px;
    margin-bottom: 15px;
}

.news-item-1 {
    width: 100%;
    max-height: 450px;
    margin-bottom: 30px;
    overflow: hidden;
}

.news-item-2,
.news-item-3 {
    width: 100%;
    height: 210px;
    margin-bottom: 30px;
    overflow: hidden;
}

.news-item-4 {
    width: 100%;
    margin-bottom: 30px;
}

.news-item-1 img {
    width: 100%;
}

.news-item-1 .details,
.news-item-2 .details,
.news-item-3 .details,
.news-item-4 .details {
    font-weight: 300;
    font-size: 16px;
    text-transform: lowercase;
}

.news-item-1 .details label,
.news-item-2 .details label,
.news-item-3 .details label {
    color: #ffffff;
    background-color: #a9c43c;
    padding: 10px 13px;
}

.news-item-1 span,
.news-item-2 span,
.news-item-3 span {
    margin-left: 10px;
    color: #ffffff;
}

.news-item-1 span i {
    color: #a9c43c;
}

.news-item-4 span {
    color: #ffffff;
    text-transform: capitalize;
}

.home-news .news-item-1 {
    position: relative;
}

.news-item-1 .with-img,
.news-item-2,
.news-item-4 {
    padding: 25px 25px 15px 25px;
    background-color: #efefed;
}

.news-item-1 .with-img {
    position: absolute;
    z-index: 3;
    background: url("../images/title-bgr.png") left top;
    color: #ffffff;
    bottom: 0;
}

.news-item-3 {
    padding: 25px 25px 15px 25px;
    background: url("../images/brown-shadow.png") left top;
}

.news-item-1 h2,
.news-item-2 h2,
.news-item-3 h2,
.news-item-4 h2 {
    font-weight: 600;
    font-size: 22px;
    line-height: 24px;
    margin: 20px 0 15px 0;
}

.news-item-1 h2 a,
.news-item-2 h2 a,
.news-item-4 h2 a {
    color: #a9c43c;
}

.news-item-3 h2 a {
    color: #ffffff;
}

.news-item-3 p,
.news-item-3 .details span {
    color: #ffffff;
}

.news a:hover {
    text-decoration: underline;
}

.home-tourism a {
    display: block;
    width: 100%;
    min-height: 200px;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
}

.home-tourism a span {
    display: inline-block;
    margin: 30px 0 0 30px;
}

.home-box2 {
    display: flex;
}

.home-box2 img {
    height: 204px;
}

.home-box2 .details {
    padding: 35px 25px 15px 25px;
    background-color: #efefed;
}

.home-the-project {
    display: flex;
}

.home-the-project img {
    width: 330px;
    margin-right: 30px;
}

.home-the-project div {
    padding: 25px;
    background-color: #ffffff;
}

.home-the-project h2 {
    margin-bottom: 10px;
}

.partners img {
    width: 100%;
}

.partners .white-box {
    width: 100%;
    padding: 25px;
    background-color: #ffffff;
    margin-top: -4px;
    min-height: 210px;
}

.partners .white-box h2 {
    text-transform: uppercase;
    font-size: 23px;
    line-height: 28px;
    margin-bottom: 10px;
}

h3 {
    color: #fafafa;
    font-size: 24px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.iw100 {
    width: 100%;
}

.home-box3 .category {
    width: 100%;
    min-height: 210px;
    padding-top: 40px;
    display: block;
    width: 100%;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
}

.home-box3 .category span {
    width: 200px;
    display: block;
    margin-left: 31px;
}

.mt30 {
    margin-top: 30px;
}

.partition {
    padding: 30px 25px;
    background-color: #211411;
}

.partition h3 {
    margin-bottom: 17px;
}

.partition h3 span {
    display: block;
    color: #211411;
}

footer {
    margin-top: 30px;
    background-color: #ffffff;
    padding-top: 52px;
    min-height: 200px;
}

footer .nav h3 {
    font-weight: 600;
    color: #a9c43c;
}

footer .nav ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

footer .nav li {
    font-size: 14px;
    margin-bottom: 6px;
}

footer .nav li a {
    color: #211411;
}

footer .nav li a:hover {
    text-decoration: underline;
}

.tt0 {
    display: flex;
}

.tt0 div {
    width: 200px;
}

.tt0 h3 {
    font-size: 18px;
    text-transform: uppercase;
}

.tt1 img {
    height: 60px;
    margin-right: 20px;
}

.copyright {
    margin-top: 20px;
    background: #211411;
    font-size: 12px;
}

.copyright a {
    text-decoration: underline;
}

.copyright a:hover {
    text-decoration: none;
}

.copyright .col-sm-4 {
    padding: 10px 15px;
    background: #ffffff;
    text-align: center;
    font-style: italic;
}

.copyright .col-sm-8 {
    padding: 10px 15px;
    color: #fafafa;
}

.important,
.about {
    padding: 35px 25px 15px 25px;
    background-color: #efefed;
}

.about h3 {
    margin-bottom: 30px;
}

.important p,
.about p {
    margin-bottom: 20px;
}

.important a {
    display: block;
    text-align: center;
    color: #a9c43c;
    text-decoration: underline;
}

.home-contacts {
    padding: 35px 25px;
    background-color: #fafafa;
    color: #211411;
}

.home-contacts h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

.home-contacts ul {
    margin: 0;
    padding: 0;
}

.home-contacts li {
    list-style: none;
    margin-bottom: 23px;
    display: flex;
}

.home-contacts li:last-child {
    margin-bottom: 0;
}

.home-contacts li i {
    margin-right: 10px;
}

.home-contacts li p {
    color: #ffffff;
}

.home-contacts li p label {
    margin-top: -5px;
    margin-bottom: 5px;
    display: block;
    color: #211411;
}

.home-contacts a {
    color: #ffffff;
}

.home-box4,
.home-box5,
.home-box6,
.home-box4 h3,
.home-box5 h3,
.home-box6 h3,
.home-box4 a,
.home-box5 a,
.home-box6 a{
    color: #ffffff;
}

.home-box4,
.home-box5,
.home-box6 {
    width: 100%;
    min-height: 210px;
    background-size: cover;
    padding: 30px 25px 25px 25px;
}

.home-box4 {
    background: url("../images/img10.png") left top no-repeat;
}

.home-box5 {
    background: url("../images/img11.png") left top no-repeat;
}

.home-box6 {
    background: url("../images/img12.png") left top no-repeat;
}

.home-box4 a {
    text-decoration: underline;
}

.home-box4 a:hover {
    text-decoration: none;
}

.home-box4 strong {
    display: block;
    text-align: center;
    font-size: 48px;
    margin: 20px 0;
}

.home-box5 a,
.home-box6 a {
    display: block;
    position: relative;
}

.home-box5 a i,
.home-box6 a i{
    position: absolute;
    right: 0;
    font-size: 36px;
}

.home-box5 a i {
    bottom: -30px;
    color: #211411;
}

.home-box6 a i {
    bottom: -45px;
    color: #ffffff;
}

.breadcrumbs {
    font-size: 14px;
    margin-top: 19px;
}

.breadcrumbs a {
    color: #a9c43c;
}

.breadcrumbs a::after {
    color: #211411;
    content: "\00BB";
    margin-right: 5px;
    margin-left: 10px;
}

.breadcrumbs a.active::after {
    display: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.mtb45 {
    margin-top: 45px;
    margin-bottom: 45px;
}

.sidebar {
    margin: 0 15px;
}

.sidebar,
.sidebar ul {
    padding: 0;
    list-style: none;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar ul {
    display: none;
    margin: 10px 20px;
}

.sidebar ul.active {
    display: block;
}

.sidebar .fa-caret-right,
.sidebar .fa-caret-down {
    color: #fafafa;
    font-size: 20px;
    position: absolute;
    right: 40px;
}

.sidebar a {
    display: inline-block;
    padding: 0 6px;
    font-weight: bold;
    color: #898989;
}

.sidebar a::after {
    content: "";
    display: block;
    width: 0;
    height: 5px;
    margin-top: 4px;
    background-color: #211411;
    transition: all 0.3s ease-in-out 0s;
}

.sidebar a.active {
    color: #211411;
}

.sidebar a.open::after,
.sidebar a:hover::after,
.sidebar a.active::after{
    color: #211411;
    width: 100%;
}

.sidebar a.active::after {
    background-color: #a9c43c;
}

.headtitle {
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.text p {
    margin-bottom: 24px;
}

.text h3,
.text strong {
    color: #a9c43c;
}

.text h3 {
    margin-top: 20px;
}

.text ul {
    list-style: none;
}

.text ul li {
    margin-bottom: 15px;
}

.text ul li::before {
    color: #a9c43c;
    content: "\00BB \0020";
    font-weight: bold;
    margin-left: -15px;
}

.text a {
    color: #fafafa;
    text-decoration: underline;
}

.text a.ext-link {
    color: #211411;
}

.text a:hover {
    text-decoration: none;
}


.filters,
.news {
    margin-bottom: 25px;
}

.filters {
    color: #a9c43c;
    font-size: 16px;
}

.filters label {
    display: block;
    margin-bottom: 7px;
}

.filters select {
    width: 100%;
    border: none;
    background: #efefed;
    color: #a9c43c;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.filters .categories {
    background: #efefed;
    padding: 10px 15px 10px 40px;
}

.filters .categories::after,
.filters .year::after,
.filters .month::after,
.filters .categories::before,
.filters .year::before,
.filters .month::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    color: #211411;
    position: absolute;
}

.filters .categories::after,
.filters .year::after,
.filters .month::after{
    content: "\f0dc";
    margin-left: -15px;
}

.filters .categories::before {
    content: "\f0b0";
    margin-left: -25px;
}

.filters .year::before,
.filters .month::before{
    content: "\f073";
    margin-left: -25px;
    margin-top: 2px;
}

.filters .by-period .year,
.filters .by-period .month {
    width: 165px;
    background: #efefed;
    padding: 10px 15px 10px 40px;
}

.filters .by-period .year {
    margin-right: 15px;
    float: left;
}

.filters .by-period .month {
    margin-left: 15px;
    float: right;
}

.documents div {
    display: flex;
    color: #a9c43c;
    background-color: #efefed;
    border: 1px solid #efefed;
    padding: 35px 30px;
    margin-bottom: 20px;
}

.documents div:hover {
    border: 1px solid #a9c43c;
}

/*.documents div::before,
.documents div::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-size: 30px;
    position: absolute;
    margin-top: -5px;
}

.documents div::before {
    content: "\f0c1";
    margin-left: -40px;
}

.documents div::after {
    content: "\f35d";
    right: 50px;
}*/

.documents div i {
    font-size: 30px;
}

.documents div a {
    margin: 5px 0 0 10px;
    color: #a9c43c;
    text-decoration: none;
}

.documents div a:hover {
    text-decoration: underline;
}

.read-more-wrapper {
    width: 100%;
    height: 50px;
    position: absolute;
    margin-top: -48px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(28, 48, 9, 0.75));
}

.procedure-item {
    border: 1px solid #211411;
    margin-bottom: 30px;
}

.procedure-item i {
    color: #fafafa;
}

.procedure-item .object {
    padding: 10px;
    background: #211411;
}

.procedure-item table {
    width: 100%;
    font-size: 14px;
}

.procedure-item th {
    background: #efefed;
    font-weight: 600;
}

.procedure-item th {
    padding: 2px 5px;
    color: #a9c43c;
}

.procedure-item tbody th,
.procedure-item tfoot th {
    padding: 10px;
}

.procedure-item tfoot th {
    background: #ffffff;
    border-bottom: 2px solid #a9c43c;
}

.procedure-item td {
    padding: 10px;
}

.procedure-item a {
    text-decoration: underline;
}

.procedure-item a:hover,
.procedure-item .object a {
    text-decoration: navajowhite;
}

.procedure-item .float-right span {
    font-size: 12px;
}

.procedure-item .view-more {
    background: #fafafa;
    color: #fff;
    text-align: center;
}

.procedure-item .view-more a {
    color: #ffffff;
    text-decoration: none;
}

.procedure-item .view-more a:hover {
    text-decoration: underline;
}

.procedure-item .view-more i {
    color: #ffffff;
}

.partitions h3 {
    color: #a9c43c;
    text-transform: uppercase;
    margin-bottom: 27px;
}

.partitions .dls-list {
    margin-bottom: 30px;
}

.partitions .partitions-list a {
    width: 350px;
    display: inline-flex;
    background-color: #efefed;
    color: #a9c43c;
    font-size: 18px;
    line-height: 18px;
    font-weight: 600;
    padding: 20px;
    margin-bottom: 24px;
}

.partitions .partitions-list a:hover {
    background-color: #a9c43c;
    color: #ffffff;
}

.partitions .dls-list a {
    background-size: 100%;
    height: 197px;
    color: #ffffff;
}

.partitions .dls-list a:hover {
    text-decoration: underline;
}

.partitions .partitions-list a:nth-child(2n) {
    margin-left: 30px;
}

.gallery {
    margin: 20px auto;
}

.gallery a {
    display: inline-block;
    margin-bottom: 15px;
}

.gallery a:nth-child(3n+2) {
    margin-left: 15px;
    margin-right: 15px;
}

.gallery a:hover::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f002";
    width: 230px;
    height: 129px;
    padding-top: 50px;
    position: absolute;
    display: block;
    background: url("../images/brown-shadow-30.png");
    color: #ffffff;
    text-align: center;
}

.gallery a img {
    width: 230px;
}

.paginator {
    padding: 20px 24px;
    background: #595c54;
    color: #ffffff;
}

.paginator a {
    color: #ffffff;
}

.paginator a:hover {
    text-decoration: underline;
}

.paginator span {
    display: inline-block;
    width: 49%;
    text-align: center;
}

.links {
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
}

.links img {
    width: 100px;
}

.links a {
    margin: 30px;
}

.the-book {
    padding: 35px 30px;
    background-color: #efefed;
    border: 1px solid #efefed;
    color: #a9c43c;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
}

.the-book i {
    font-size: 40px;
    margin-right: 20px;
}

.the-book:hover {
    border: 1px solid #a9c43c;
}

.img100 {
    width: 100%;
}

.img100.float-left,
.img100.float-right {
    width: 49%;
}

.read-more {
    text-decoration: underline;
    color: #a9c43c;
}

/*
#a9c43c - Bilbao
#211411 - Log Cabin
#ffffff - Fuscous Gray
#211411 - Mist Gray
#fafafa - Green House
*/

@media (max-width: 568px) {
    .logo {
        margin: 0 auto 10px auto;
    }

    .megamenu .level1 li {
        width: 150px;
        float: left;
    }

    .home-text h1 {
        font-size: 40px;
        margin: 0;
        line-height: 70px;
    }

    #main-image,
    #main-image .gradient {
        max-height: 600px;
    }

    #main-image {
        min-height: 100px;
        background-position: left center;
    }

    .home-text {
        padding: 15px;
        font-size: 18px;
        line-height: 22px;
    }
}

@media (max-width: 768px) {
    .desktop {
        display: none;
    }

    .container, .container-sm {
        max-width: 100%;
    }

    .language {
        right: 8%;
        top: 60px;
        color: #000000;
    }

    header .col-sm-12 .navigation {
        display: block;
    }

    .megamenu .level1 {
        display: inline;
    }

    .left-section-slogan {
        max-width: 100%;
    }

    .home-news .col-sm-8 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home-news .col-sm-4 {
        display: none;
    }

    .news-item-1 {
        max-height: auto;
    }

    .home-the-project {
        display: block;
    }

    .home-the-project img {
        width: 100%;
    }

    .sidebar {
        margin: 0 0 40px 0;
    }

    .sidebar li {
        float: left;
    }

    .mtb45 {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .headtitle {
        margin-bottom: 15px;
    }

    .news-item-1 .with-img {
        position: relative;
        bottom: 0;
    }
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1170px;
    }
}
