/*
Theme Name: Ursa Iberica Theme
Theme URI: https://www.nakima.es
Version: 1.0
Description: Custom Theme de Ursa Ibérica.
Author: Nakima
Author URI: https://www.nakima.es
Template: Divi
*/


#page-container { -moz-box-shadow:none !important; -webkit-box-shadow:none !important; box-shadow: none;}

@media all and (max-width: 1400px) {
    #page-container {
        width: 100% !important;
        max-width: 1400px;
    }
}
.plus-number .percent-value:after { content:'+';}

.logo_container a {
    /*margin-left: 8%;*/
}

#top-menu-nav .sub-menu {
    position: absolute;
    right: 0;
}

.ursa-history-years .et_pb_text_inner {
    z-index: 100;
}

.ursa-values ul {
    padding: 0 0 10px 0;
}

@media all and (min-width: 981px) {
    .mobile-only {
        display: none;
    }
}

/***** URSA SEARCH RESULTS *****/
.ursa-search-page .search-title {
    margin-bottom: 58px;
}

.ursa-search-page .ursa-results-item {
    margin-top: 24px;
    margin-bottom: 0;
}

.ursa-search-page .ursa-results-item a {
    font-family: 'Chevin Pro Medium', Helvetica, Arial, Lucida, sans-serif;
    color: #232f61 !important;
    line-height: 1.5em;
    text-align: left;
    font-size: 24px;
}

.ursa-search-page .grid-search {
    padding-bottom: 58px;
}

.ursa-search-page .pagination {
    padding-bottom: 58px;
}

.search-results #main-content .container:before, .search-no-results #main-content .container:before {
    content: none;
}

/*** Scrollbar ***/

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(234, 71, 64, 1);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(234, 71, 64, 0.75);
}

/*********/

/*** Back to Top Icon ***/

.et_pb_scroll_top.et-pb-icon {
    border-radius: 1000px;
    right: 12.5%;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.25);
    background: #232f61;
}


@media all and (max-width: 1400px){
    .et_pb_scroll_top.et-pb-icon {
        right: 1%;
    }
}



/************************/

/*** URSA Product Variant Table ***/

.ursa-product-variant-table {
    overflow: overlay;
}

.ursa-product-variant-table table{
    width: 100%;
    border-left: 0px;
    border-right: 0px;
    border-collapse: separate;
    border-bottom: 1px rgba(35,47,97,0.5) solid;
    border-top: 1px rgba(35,47,97,0.5) solid;
}

.ursa-product-variant-table table tbody {
    margin: -5px;
    border-spacing: 5px 0px;
}


.ursa-product-variant-table tr:not(:first-child):hover {
    background-color: #f6f6f6;
    font-weight: bold;
}

.ursa-product-variant-table caption {
    text-align: left;
    /* text-transform: uppercase; */
    font-size: 24px;
    color: #232f61;
}

.ursa-product-variant-table tr td, .ursa-product-variant-table tr th {
    border-top: 0px;
    text-align: center;
}

.ursa-product-variant-table tr:not(:last-child) td, .ursa-product-variant-table tr:not(:last-child) th {
    border-bottom: 1px rgba(35,47,97,0.5) solid;
}

.ursa-product-variant-table tr td {
    color: rgba(35,47,97,0.75);
    padding: 2px;
}

.ursa-product-variant-table tr th {
    color: #232f61;
    font-weight: bold;
    padding: 5px;
    line-height: 1em;
}


.ursa-product-variant-table tr th:nth-child(2) {
    background-color: #ea4740;
    color: white;
}

.ursa-product-variant-table tr td:nth-child(2) {
    background-color: rgba(234, 71, 64, 0.25);
}



/**********************************/

/*** URSA Product Parameters Table ***/



.ursa-product-param-table {
    overflow: overlay;
}

.ursa-product-param-table table{
    width: 100%;
    border-collapse: separate;
    font-size: 16px;
    color: #232f61;
    border: 0px;
    text-align: center;
}

.ursa-product-param-table tr th {
    padding: 9px 24px;
}

.ursa-product-param-table tr td {
    padding: 6px 24px;
}

.ursa-product-param-table tr th, .ursa-product-param-table td:first-child {
    background-color: #232f61;
    color: white;
    border: 1px white solid;
    text-transform: capitalize;

}

.ursa-product-param-table td:first-child, .ursa-product-param-table th:first-child  {
    text-align: left;
}

.ursa-product-param-table tr td:nth-child(2) {
    background-color: rgba(0, 188, 212, 0.25);
    border: 1px white solid;
}

.ursa-product-param-table tr:not(:last-child) td:last-child {
    border-bottom: 1px rgba(0, 188, 212, 0.25) solid;
}
.ursa-product-param-table tr:not(:nth-child(2)) td:last-child {
    border-top: 1px rgba(0, 188, 212, 0.25) solid;
}

/***********************************/

/*** URSA Product Document Table ***/

.ursa-product-doc-table {
    overflow: overlay;
}

.ursa-product-doc-table table {
    border: 0px;
    width: 100%;
}

.ursa-product-doc-table tr {
    border-bottom: 1px #232f61 solid;
    border-top: 0px;
}

.ursa-product-doc-table tr td {
    border-top: 0px;
    padding-top: 20px;
    padding-bottom: 0px;
}

.ursa-product-doc-table tr:first-child td {
    padding-top: 0px;
}

.ursa-product-doc-table td:first-child {
    padding-right: 15px;
    padding-left: 0px;
}

.ursa-product-doc-table td:not(:first-child) {
    padding-left: 5px;
    padding-right: 0px;
    text-align: right;
    width: 50px;
}

/*.ursa-product-doc-table tr td:last-child {
	width: 20px;
}*/

.ursa-product-doc-table h5 {
    color: #232f61;
    font-size: 18px;
    padding: 0px;
}

/*.ursa-product-doc-table img {
	vertical-align: baseline;
}*/

/**********************************/

/*** URSA Dropdown content menu ***/

.ursa-dropbtn {
    background-color: #00000000;
    color: white;
    padding: 15px 30px 10px 0px;
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
    border-bottom: 1px white solid;
    font-size: 16px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    /*border: none;*/
}

.ursa-dropbtn:after {
    position: absolute;
    right: 0;
    font-family: ETmodules;
    font-size: 20px;
    font-weight: 800;
    content: "3";
    color: #ea4740;
    transform: rotate(-90deg);
    transition: transform 0.3s linear;
}

.ursa-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.ursa-dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 500;
    overflow: auto;
    max-height: 0px;
    transition: max-height 0.3s linear;
}

.ursa-dropdown-content a {
    color: rgba(35,47,97,0.75);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.ursa-dropdown-content ul {
    list-style-type: none;
    padding: 0px;
}

.ursa-dropdown-content li {
    text-align: left;
}


.ursa-dropdown-content li:hover {
    font-weight: bold;
    background-color: #f9f9f9;
}

/*.ursa-dropdown-content .menu-ursa-pages-menu-container:hover {background-color: #ddd;}*/

/*
.ursa-dropdown:hover .ursa-dropdown-content {
	display: block;
}*/

.show {
    display: block;
    max-height: 232px;
}

.col-expand .ursa-dropbtn:after {
    transform: rotate(0deg);
}

#ursa-footer-dropdown {
    transition: padding-bottom 0.3s linear;
}
@media all and (max-width: 980px) {
    .col-expand {
        padding-bottom: 220px;
    }
}

.hide-element {
    display: none !important;
}

/************************************/

/*** Custom Checkbox ***/
.ursa-filter .ursa-checkbox-row {
    display: flex;
    margin-top: 15px;
}

.ursa-filter label {
    display: inline-block;
    cursor: pointer;
}

.regular-checkbox {
    display: none;
}

.regular-checkbox + label {
    background-color: #fafafa;
    border: 1px solid #232f61;
    padding: 10px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    max-height: 22px;
}

.regular-checkbox:checked + label {
    background-color: #232f61;
    border: 1px solid #232f61;
    color: #232f61;
}

.regular-checkbox:checked + label:after {
    content: '\4e';
    font-size: 14px;
    font-family: "ETmodules";
    font-weight: bolder;
    position: absolute;
    top: 0px;
    left: 3px;
    color: #ffffff;
}

.ursa-filter .big-checkbox + label {
    padding: 18px;
}

.ursa-filter .big-checkbox:checked + label:after {
    font-size: 28px;
    left: 6px;
}

.ursa-filter .tag {
    width: 200px;
    position: relative;
    font-size: 18px;
    display: inline-block;
    color: rgba(35, 47, 97, .75);
    margin-left: 10px;
}

.ursa-filter .radio-1 {
    width: 100px;
}

.ursa-filter .et_pb_toggle_title:before {
    content: "\50";
    color: #232f61;
    font-size: 35px;
    font-weight: 100;
}

.ursa-filter.et_pb_toggle_open .et_pb_toggle_title:before {
    content: "\4f";
}

/*** Product Archive ***/

.ursa-product-archive-table {
    display: flex;
    flex-flow: row wrap;
}

.ursa-product-archive-object {
    cursor: pointer;
    width: 31%;
    margin: 1%;
    padding: 15px;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
}

.ursa-product-archive-object:hover {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

@media all and (max-width: 1401px) {
    .ursa-product-archive-object {
        width: 48%;
    }
    .ursa-col-1, .ursa-col-2 {
        /* text-align: center !important; */
    }

}
@media all and (max-width: 980px) {
    .ursa-col-1, .ursa-col-2 {
        width: 49% !important;
        display: block;
    }
}
@media all and (max-width: 601px) {
    .ursa-product-archive-object {
        width: 100%;
    }
}

.ursa-product-archive-object .img-container {
    text-align: center;
}

.ursa-product-archive-object img {
    width: auto;
    height: 200px;
}

.ursa-product-archive-object hr {
    margin-bottom: 15px;
}

.ursa-product-archive-object h3 {
    transform: uppercase;
    font-size: 24px;
    color: #232f61;
}

.ursa-product-archive-object h2 {
    font-size: 18px;
    color: #232f61;
}

.ursa-del-filters {
    color: #ea4740;
    text-align: right;
}

.ursa-col-1, .ursa-col-2 {
    width: 49%;
    display: inline-block;
}
.ursa-col-1 {
    text-align: left;
}
.ursa-col-2 {
    text-align: right;
}

.ursa-aply-filters, .ursa-download-all {
    background-color: rgba(35,47,97,0.75);
    border-width: 0;
    border-radius: 22px;
    padding: 10px;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ursa-aply-filters:hover, .ursa-download-all:hover {
    /* border: rgba(35,47,97,0.75) 2px solid; */
    background-color: rgba(35,47,97,1);
}

.pagination {
    font-size: 16px;
}

.pagination-section {
    height: 33px;
    margin-bottom: 5px;
}

@media all and (max-width: 980px) {
    .pagination {
        font-size: 18px;
        text-align: center;
        margin: 10px 0;
    }
}

/************ URSA Product Tools Archive **************/

.ursa-product-tool-table {
    display: flex;
    flex-flow: row wrap;
}

.ursa-product-tool-object {
    width: 29%;
    margin: 2%;
    padding: 15px;

}

@media all and (max-width: 1401px) {
    .ursa-product-tool-object {
        width: 48%;
    }
    .ursa-col-1, .ursa-col-2 {
    /* text-align: center !important; */
    }

}
@media all and (max-width: 980px) {
    .ursa-col-1, .ursa-col-2 {
        width: 49% !important;
        display: block;
    }
}
@media all and (max-width: 601px) {
    .ursa-product-tool-object {
        width: 100%;
    }
}

.ursa-product-tool-object .img-container {
    text-align: center;
}

.ursa-product-tool-object img {
    width: auto;
    height: 200px;
}

.ursa-product-tool-object hr {
    margin-bottom: 15px;
    border-top: 1px solid #232f61;
}

.ursa-product-tool-object h2 {
    font-size: 24px;
    text-align: center;
    color: #232f61;
    margin-top: 15px;
}

.ursa-product-tool-object p {
    color: rgba(35,47,97,0.75);
    font-size: 18px;
    text-align: justify;
}

/*********** URSA Document Archive ***************/

.ursa-doc-archive .table-container{
    max-height: 430px;
    overflow: auto;
    padding-right: 5px;
}

.ursa-doc-archive label {
    cursor: pointer;
}

.ursa-doc-archive table {
    overflow: scroll;
    border: 0px;
    margin: 5px 0 2px 0;
}

.ursa-doc-archive tr {
    border-bottom: 1px #232f61 solid;
    border-top: 0px;
}

.ursa-doc-archive tr td {
    border-top: 0px;
    padding: 5px 0px 0px 0px;
    color: #232f61;
    font-size: 18px;
}

.ursa-doc-archive tr td:first-child {
    width: 40px;
    padding-left: 5px;
}

.ursa-doc-archive td:last-child {
    padding-left: 10px;
    padding-right: 0px;
    text-align: right;
    width: 50px;
    min-width: 50px;
}

.ursa-doc-archive hr {
    color: #232f61;
    border-color: rgba(35,47,97,0.75);
    border-width: 1px 0 0 0;
}

/*
.ursa-doc-archive .ursa-download-all {
    background-color: rgba(35,47,97,0.75);
    border-width: 0;
    border-radius: 22px;
    padding: 10px;
    color: white;
    cursor: pointer;
    transition: padding 0.5s;
    margin-top: 20px;
}

.ursa-doc-archive .ursa-download-all:hover {
//border: rgba(35,47,97,0.75) 2px solid;
    padding: 12px;
}
*/

.ursa-doc-archive .ursa-download-all {
    margin-top: 20px;
}

.ursa-doc-archive .doc-count p {
    color: #232f61;
    font-size: 16px;
    text-align: right;
}

.ursa-doc-archive .doc-count p span {
    font-weight: bold;
}

#ursa-document-searchbar {
    border-width: 0 0 1px 0;
    border-color: #232f61;
    width: 100%;
    color: #232f61;
    font-size: 18px;
}

.searchbar-container {
    /*width: 80%;*/
}

.searchbar-container::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    z-index: 3;
    right: 0%;
    font-size: 20px;
    color: #232f61;

}

/****** Sostenibilidad *******/

.ursa-custom-tabs {
    border: none;
}

.ursa-custom-tabs a {
    color: #ffffff!important;
}

.ursa-custom-tabs ul.et_pb_tabs_controls {
    float: left;
    width: 20%;
    display: block;
    background: transparent;
    text-align: center;
}
.ursa-custom-tabs .et_pb_all_tabs {
    display: flex;
    width: 80%;
    border-width: 1px;
    padding: 20px;
}
.ursa-custom-tabs .et_pb_tabs_controls li {
    display: block;
    width: 100%;
    background-color: #232f61;
    height: 100px;
}

.ursa-custom-tabs .et_pb_tabs_controls li:not(.et_pb_tab_active):last-child {

}

.ursa-custom-tabs .et_pb_tab_active {
    background-color: rgba(35, 47, 97, 0.75) !important;
}

.ursa-custom-tabs .et_pb_tabs_controls li a {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 15px;
}

.ursa-custom-tabs ul.et_pb_tabs_controls:after {
    content: none;
}

.ursa-custom-tabs .et_pb_tab {
    padding: 30px;
}

@media(max-width:767px){
    .ursa-custom-tabs ul.et_pb_tabs_controls.clearfix {
        float: left;
        width: 100%;
        display: inherit;
    }
    .ursa-custom-tabs .et_pb_all_tabs {
        display: flex;
        width: 100%;
    }
    .ursa-custom-tabs .et_pb_tab.et_pb_tab.clearfix.et-pb-active-slide {
        border-left: 0px solid #d9d9d9;
    }
}