p {
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 {
    text-align: center;
    font-weight: 300;
    color: #8a1111;
    padding: 25px 0;
}

#sp-title h1 {
    text-align: center;
    font-weight: 300;
    color: #ffffff;
    padding: 11px 0;
}

.inicio #sp-title h1 {
    background-color: #7fae67;
}

.contact .page-header h2 {
    border-bottom: 1px solid #588b4d;
}

.contact dd {
    margin-left: 25px;
    margin-bottom: 0;
}

.contact dt {
    float: left;
    clear: both;
}

.contact .form-control {
    max-width: 360px;
}

.contact textarea.form-control {
    max-width: 450px;
}

.contact dt img {
    width: 16px;
    margin-top: -2px;
}

.contact .direccion {
    display: block;
    overflow: auto;
    padding-bottom: 5px;
}

#jform_spacer-lbl {
    color: #950202;
}

.article-list .col-md-6 .article {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    background-color: #f5f5f5;
}

.article-list .col-md-6 .article h2 {
    margin: 0;
    padding: 0;
}

.article-list .col-md-6 .article h2 a {
    color: #588b4d;
}

.article-list .col-md-6 .article h2 a:hover {
    color: #5ab845;
}

.article-list .col-md-6 .article .article-introtext {
    padding-top: 20px;
}

button.validate {
    min-width: 120px;
}

#sp-main-body {
    padding: 50px 0 100px;
}

.productos .article-full-image,
.producto .article-full-image {
    max-width: 39%;
    padding-left: 1%;
    float: right;
}

.productos .articleBody,
.producto .articleBody {
    max-width: 60%;
    float: left;
}

.producto #sp-productos {
    padding-bottom: 0;
}

.producto #sp-main-body {
    padding-top: 10px;
}

.productos h1,
.producto h1 {
    border-bottom: 1px solid #8a1111;
    padding-bottom: 0;
    margin-bottom: 25px;
    text-align: left;
}

.inicio #sp-main-body {
    padding-top: 100px;
}

.sp-page-title .sp-page-title-heading {
    font-size: 36px;
    line-height: 36px;
}

.sp-page-title {
    padding: 0;
}

.sp-page-title .container {
    max-width: 100%;
    padding: 0;
}

#sp-title .sp-page-title .sp-page-title-heading {
    padding: 30px;
    background-color: rgba(105, 170, 0, 0.4);
}

h2 {
    text-align: center;
    font-weight: 700;
    color: #588b4d;
    padding: 25px 0;
}

.contact h2 {
    padding: 0;
}

#sp-section-1 {
    padding-bottom: 25px;
}

#sp-productos {
    padding-bottom: 75px;
}

#sp-productos a {
    display: block;
    position: relative;
}

#sp-productos .overlay {
    position: absolute;
    width: 100%;
    display: block;
    height: 100%;
}

#sp-productos #sp-user1 .overlay {
    background-color: rgba(163, 114, 8, 0.4);
}

#sp-productos #sp-user2 .overlay {
    background-color: rgba(151, 24, 0, 0.4);
}

#sp-productos #sp-user3 .overlay {
    background-color: rgba(24, 116, 11, 0.4);
}

#sp-productos #sp-user4 .overlay {
    background-color: rgba(105, 106, 3, 0.4);
}

#sp-productos #sp-user1 a:hover .overlay {
    background-color: rgba(163, 114, 8, 0.1);
}

#sp-productos #sp-user2 a:hover .overlay {
    background-color: rgba(151, 24, 0, 0.1);
}

#sp-productos #sp-user3 a:hover .overlay {
    background-color: rgba(24, 116, 11, 0.1);
}

#sp-productos #sp-user4 a:hover .overlay {
    background-color: rgba(105, 106, 3, 0.1);
}

#sp-productos .spanproducto {
    position: absolute;
    bottom: 6%;
    right: 5%;
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    transition: all 1s ease;
}

#sp-productos a:hover .spanproducto {
    right: 15%;
    padding: 0 5px;
    transition: all 1s ease;
}

#sp-productos a,
#sp-productos .overlay {
    overflow: hidden;
    border-top-right-radius: 60%;
    border-bottom-left-radius: 60%;
    transition: all 1s ease;
}

#sp-productos a:hover,
#sp-productos a:hover .overlay {
    border-top-right-radius: 40%;
    border-bottom-left-radius: 40%;
    transition: all 1s ease;
}

#sp-feature h3,
#sp-inferior h3 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    padding: 60px 0 0;
    color: #fff;
}

#sp-feature p,
#sp-inferior p {
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    padding: 10px 50px 25px;
    max-width: 90%;
    color: #fff;
}

#sp-feature .sp-module,
#sp-inferior .sp-module {
    padding: 50px 0 85px;
    background-color: rgba(105, 170, 0, 0.5);
}

#sp-inferior .sp-module {
    background-color: transparent;
}

#sp-feature h2,
#sp-inferior h2 {
    color: #ffffff;
}

#sp-feature .btn,
#sp-inferior .btn {
    padding: 12px 30px;
    font-size: 20px;
    background-color: #8a1111;
    border: none;
}

.btn {
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
    border-top-left-radius: 6px;
    border-bottom-right-radius: 6px;
    transition: all 0.5s ease;
}

.btn:hover {
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 2px;
    border-bottom-right-radius: 2px;
    transition: all 0.5s ease;
}

.btn-group-sm>.btn,
.btn-sm {
    padding: .25rem 1rem;
}

.menu_instalaciones {
    display: block;
    width: 100%;
    clear: both;
}

.menu_instalaciones li {
    display: block;
    width: 31%;
    margin: 1%;
    float: left;
    border-radius: 0 75px;
    overflow: auto;
    transition: all 1s ease;
}

.menu_instalaciones li:hover {
    border-radius: 0 50px;
}

.menu_instalaciones li a {
    color: #ffffff;
    display: block;
}

.menu_instalaciones .text_instalaciones {
    padding: 5px 10px;
    text-align: right;
    display: block;
    background-color: #8a1111;
    transition: all 1s ease;
}

.menu_instalaciones li:hover .text_instalaciones {
    padding-right: 50px;
    transition: all 1s ease;
}

.article-details h2 {
    text-align: left;
    border-bottom: 1px solid #588b4d;
    padding: 0;
    margin: 45px 0 20px;
    line-height: 0.9;
    font-size: 1.8rem;
}

.article-details h2:first-child {
    margin-top: 0;
}

.carpeta {
    width: 100%;
    display: inline-block;
    text-align: center;
    padding: 40px;
    border: 1px solid #00000047;
    margin: 10px 0;
    transition: 1s;
    background-color: #ffffff;
}

.carpeta table {
    margin: 0 auto;
}

.carpeta h3 {
    border-bottom: 1px solid #444;
    padding-bottom: 0;
}

.carpeta table tr th {
    padding: 10px 40px;
}

.carpeta table tr td {
    font-size: 14px;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 1px solid #0a8a27 !important;
    background: #28a745 !important;
}

.logout-description,
.login-description {
    margin-bottom: 40px;
}

#ano {
    background-color: #edf8ee;
}

.itemid-118 #sp-section-1 {
    display: none;
}

.article-details .article-full-image img {
    margin-top: 75px;
}

#sp-bottom2,
#sp-bottom3,
#sp-bottom4 {
    margin-top: 15px;
}

#sp-bottom1 img {
    width: 100%;
}

#sp-bottom .sp-module ul>li {
    margin-bottom: 10px;
}

#sp-bottom .sp-module ul {
    margin: 0 0 30px;
}

#sp-bottom .sp-module ul>li>a {
    display: inline-block;
}

.article-ratings-social-share.d-flex.justify-content-end {
    display: none !important;
}

@media (max-width: 1200px) {
    .sp-megamenu-parent>li>a,
    .sp-megamenu-parent>li>span {
        padding: 0 10px;
    }
}

@media (max-width: 992px) {
    #sp-user1,
    #sp-user2,
    #sp-user3,
    #sp-user4 {
        width: 48%;
        margin: 1%;
        padding: 0;
        float: left;
    }
    .menu_instalaciones li {
        width: 48%;
    }
    #sp-bottom1>.sp-column,
    #sp-bottom2>.sp-column,
    #sp-bottom3>.sp-column,
    #sp-bottom4>.sp-column {
        max-width: 270px;
        margin: 0 auto;
        float: none;
    }
    #sp-bottom1>.sp-column {
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    .menu_instalaciones li {
        width: 98%;
        float: none;
        margin: 0 auto 5%;
    }
    .productos .article-full-image,
    .producto .article-full-image {
        max-width: 100%;
        padding: 0;
        float: none;
    }
    #sp-feature p,
    #sp-inferior p {
        padding: 0;
    }
}


/********************************
Ajustes Cookies
*********************************/

div.activebar-container {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

div.background-modal .modal-header {
    padding: 0;
}

div.background-modal .modal-header h3 {
    font-size: 18px;
}

div.background-modal {
    background: white;
    color: black;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    position: absolute;
    bottom: 0;
    padding: 15px;
    height: auto;
    width: 100%;
}

div.background-modal .cookietable {
    position: relative;
    margin-top: 10px;
    width: 100%;
    height: 260px;
    display: block;
    clear: both;
    overflow: auto;
    transition: all 1s ease;
}

div.background-modal .cookietable.tablaquitada {
    height: 0;
    transition: all 1s ease;
}

.background-modal a {
    color: black;
}

#background-modal a:hover {
    color: rgb(95, 95, 95);
}

.modulocookies .plg_system_eprivacy_module div.plg_system_eprivacy_accepted {
    display: none !important;
}

.modulocookies .plg_system_eprivacy_module .plg_system_eprivacy_declined {
    position: fixed;
    bottom: 40px;
    left: 50px;
    width: 290px;
    background-color: #171717;
    color: #ffffff;
}

.modulocookies .plg_system_eprivacy_module div.plg_system_eprivacy_declined button {
    display: inline-block;
    width: 50%;
    border: 1px;
    cursor: pointer;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
    border-top-left-radius: 6px;
    border-bottom-right-radius: 6px;
    transition: all 0.5s ease;
    background: white;
}

.modulocookies .plg_system_eprivacy_module div.plg_system_eprivacy_declined button {
    color: black;
    background-color: #ffc107;
}

.modulocookies .plg_system_eprivacy_module div.plg_system_eprivacy_accepted button:hover,
.modulocookies .plg_system_eprivacy_module div.plg_system_eprivacy_declined button:hover {
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 2px;
    border-bottom-right-radius: 2px;
    transition: all 0.5s ease;
}

.modulocookies .plg_system_eprivacy_module .plg_system_eprivacy_declined .plg_system_eprivacy_reconsider {
    width: 100%;
}

div.activebar-container {
    text-align: left;
    font-size: 12px;
}

div.activebar-container {
    font-size: 12px;
    color: black;
}

.activebar-container .background-modal .accept {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.activebar-container .background-modal .decline {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.cookietable {
    opacity: 1;
    transition: opacity 1s linear;
}