:root {
  --gap-white: #FFFEFF;
  --gap-green: #00A443;
  --gap-green-light: #DCEBE1;
  --gap-green-light-alt: #B2E3C7;
  --gap-orange: #FF9C1A;
  --gap-forest: #00402A;
  --gap-border: #D8CFC7;
  --gap-sand: #FFF5EC;
  --gap-brown: #615D5A;
  --gap-progressbar1: 62.1;
  --gap-progressbar2: 54.4;
  --gap-progressbar3: 53.1;
  --gap-progressbar4: 50.7;
  --gap-progressbar5: 31.6;
  --gap-progressbar6: 31.5;
  --gap-progressbar7: 24.1;
  --gap-progressbar8: 22.4;
}

#gap {
  width: 100%;
  max-width: 980px;
  padding: 27px 16px;
  margin: 20px auto;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  border: 1px solid var(--gap-border);
  background-color: var(--gap-white);
}

#gap * {
  font-family: 'IberPangea' !important;
  font-style: normal;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#gap h2 {
  margin-top: 0 !important;
}

#gap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#gap ul li:before {
  content: none !important;
  display: none !important;
}

#gap img {
  display: block;
  width: 100%;
}

#gap .gap_title {
    color: var(--gap-green) !important;
    font-size: 30px;
    line-height: 1.13;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    text-wrap: balance;
    margin-bottom: 26px;
}

#gap .gap_title strong {
    font-weight: 600;
}

#gap .gap_subtitle {
    color: var(--gap-forest) !important;
    font-size: 24px;
    line-height: 1.16;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    text-wrap: balance;
    margin-bottom: 26px;
}

#gap .gap_percent {
    padding: 14px 16px;
    border-radius: 15px;
    background: var(--gap-sand);
    margin-bottom: 26px;
}

#gap .gap_percent_item {
    padding: 10px 21px;
    border-radius: 15px;
    border: 1px solid var(--gap-border);
    background: var(--gap-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#gap .gap_percent_title {
    color: var(--gap-green) !important;
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    margin-bottom: 21px;
    display: flex;
    flex-direction: column;
}

#gap .gap_percent_item:nth-of-type(2) .gap_percent_title {
    color: var(--gap-forest) !important;
}

#gap .gap_percent_title strong {
    display: block;
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 1.12;
    font-weight: 600;
    min-width: 87px;
    text-align: right;
    margin-right: auto;
}

#gap .gap_percent_item:nth-of-type(2) .gap_percent_title strong {
    min-width: 60px;
}

#gap .gap_percent_circles {
    width: 100%;
    max-width: 180px;
}

#gap .gap_percent_circles-desktop {
   display: none;
}

#gap .gap_fill {
    position: relative;
}

#gap.gap-percent-1 .gap_percent_item:nth-of-type(2) {
    display: none;
}

#gap.gap-percent-2 .gap_percent_item:nth-of-type(1) {
    display: none;
}

#gap.gap-percent-1 .gap_percent_item:nth-of-type(1) .gap_fill {
   animation-name: gapFill;
   animation-fill-mode: forwards;
}

#gap.gap-percent-2 .gap_percent_item:nth-of-type(2) .gap_fill {
    animation-name: gapFillDark;
   animation-fill-mode: forwards;
}

#gap .gap_fill:nth-of-type(1),
#gap .gap_fill:nth-of-type(2),
#gap .gap_fill:nth-of-type(3),
#gap .gap_fill:nth-of-type(4),
#gap .gap_fill:nth-of-type(5),
#gap .gap_fill:nth-of-type(6),
#gap .gap_fill:nth-of-type(7),
#gap .gap_fill:nth-of-type(8),
#gap .gap_fill:nth-of-type(9),
#gap .gap_fill:nth-of-type(10) {
  animation-delay: 0s;
  animation-duration: 1.25s;
}

#gap .gap_fill:nth-of-type(11),
#gap .gap_fill:nth-of-type(12),
#gap .gap_fill:nth-of-type(13),
#gap .gap_fill:nth-of-type(14),
#gap .gap_fill:nth-of-type(15),
#gap .gap_fill:nth-of-type(16),
#gap .gap_fill:nth-of-type(17),
#gap .gap_fill:nth-of-type(18),
#gap .gap_fill:nth-of-type(19),
#gap .gap_fill:nth-of-type(20) {
  animation-delay: 0.25s;
  animation-duration: 1s;
}

#gap .gap_fill:nth-of-type(21),
#gap .gap_fill:nth-of-type(22),
#gap .gap_fill:nth-of-type(23),
#gap .gap_fill:nth-of-type(24),
#gap .gap_fill:nth-of-type(25),
#gap .gap_fill:nth-of-type(26),
#gap .gap_fill:nth-of-type(27),
#gap .gap_fill:nth-of-type(28),
#gap .gap_fill:nth-of-type(29),
#gap .gap_fill:nth-of-type(30) {
  animation-delay: 0.5s;
  animation-duration: 0.75s;
}

#gap .gap_fill:nth-of-type(31),
#gap .gap_fill:nth-of-type(32),
#gap .gap_fill:nth-of-type(33),
#gap .gap_fill:nth-of-type(34),
#gap .gap_fill:nth-of-type(35),
#gap .gap_fill:nth-of-type(36),
#gap .gap_fill:nth-of-type(37),
#gap .gap_fill:nth-of-type(38),
#gap .gap_fill:nth-of-type(39),
#gap .gap_fill:nth-of-type(40) {
  animation-delay: 0.75s;
  animation-duration: 0.5s;
}

#gap .gap_fill:nth-of-type(41),
#gap .gap_fill:nth-of-type(42),
#gap .gap_fill:nth-of-type(43),
#gap .gap_fill:nth-of-type(44),
#gap .gap_fill:nth-of-type(45),
#gap .gap_fill:nth-of-type(46),
#gap .gap_fill:nth-of-type(47),
#gap .gap_fill:nth-of-type(48),
#gap .gap_fill:nth-of-type(49),
#gap .gap_fill:nth-of-type(50) {
  animation-delay: 1s;
  animation-duration: 0.25s;
}

#gap.gap-percent-1 .gap_percent_item:nth-of-type(1) .gap_path {
    animation: gapFill 0.25s 1s forwards;
} 

#gap .gap_percent_actions {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 16px;
   margin-top: 16px;
}

#gap .gap_percent_prev,
#gap .gap_percent_next {
   display: block;
   width: 32px;
   min-width: 32px;
   height: 32px;
   text-align: left;
   text-indent: -9999px;
   overflow: hidden;
   background-repeat: no-repeat;
   background-position: center;
   background-size: contain;
   transition: all 0.5s;
   cursor: pointer;
}

#gap .gap_percent_prev {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/brecha-laboral/images/ico-prev.svg');
}

#gap .gap_percent_next {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/brecha-laboral/images/ico-next.svg');
}

#gap .gap_percent_prev:not(.active),
#gap .gap_percent_next:not(.active) {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

#gap .gap_note {
    color: var(--gap-brown);
    font-size: 14px;
    line-height: 1;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 30px;
}

#gap .gap_note:last-child {
    margin-bottom: 0;
}

#gap .gap_illustrations {
    padding: 16px;
    border-radius: 15px;
    background: var(--gap-sand);
    margin-bottom: 26px;
}

#gap .gap_illustrations_menu {
    position: relative;
    margin-bottom: 20px;
}

#gap .gap_illustrations_menu_selected {
    display: flex;
    min-height: 58px;
    align-items: center;
    border-radius: 15px;
    border: 1px solid var(--gap-border);
    background: var(--gap-green);
    padding: 12px 52px 11px 12px;
    color: var(--gap-white) !important;
    font-size: 14px;
    line-height: 1.14;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    position: relative;
    cursor: pointer;
    z-index: 2;
}

#gap .gap_illustrations_menu_selected:after {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background-color: var(--gap-border);
    position: absolute;
    top: 0;
    right: 39px;
}

#gap .gap_illustrations_menu_selected:before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid var(--gap-white);
    border-right: 1.5px solid var(--gap-white);
    transform: rotate(135deg);
    position: absolute;
    top: 20px;
    right: 14px;
    transition: all 0.5s;
}

#gap .gap_illustrations_menu.active .gap_illustrations_menu_selected:before {
    transform: rotate(-45deg);
    top: 24px;
}

#gap .gap_illustrations_menu_list {
    position: absolute;
    top: 100%;
    left: 0;
    width: calc(100% - 40px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

#gap .gap_illustrations_menu.active .gap_illustrations_menu_list {
    max-height: 400px;
    overflow: auto;
    transition: max-height 0.5s ease-in-out;
    margin-top: -15px;
}

#gap .gap_illustrations_menu_item {
    border-right: 1px solid var(--gap-border);
    border-bottom: 1px solid var(--gap-border);
    border-left: 1px solid var(--gap-border);
    background: var(--gap-white);
    display: block;
    padding: 12px;
    color: var(--gap-brown) !important;
    margin-bottom: 0 !important;
    font-size: 14px;
    line-height: 1.14;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    transition: all 0.5s;
    cursor: pointer;
}

#gap .gap_illustrations_menu_item:first-child {
    padding-top: 27px;
}

#gap .gap_illustrations_menu_item:last-child {
    border-radius: 0 0 15px 15px;
}

#gap .gap_illustrations_menu_item.active,
#gap .gap_illustrations_menu_item:hover {
   background-color: var(--gap-green-light);
}

#gap .gap_illustrations_content {
    display: flex;
    flex-direction: column;
    padding: 36px 19px 19px;
    border-radius: 15px;
    border: 1px solid var(--gap-border);
    background: var(--gap-white);
}

#gap .gap_illustrations_image {
    display: none;
    width: 100%;
    max-width: 184px;
    margin: 0 auto;
}

#gap .gap_illustrations_image.active {
    display: block;
}

@keyframes growProgressBar {
    0%, 15% { --pgPercentage: 0; }
    100% { --pgPercentage: var(--value); }
}

@keyframes growProgressBar1 {
    0%, 15% { --pgPercentage1: 0; }
    100% { --pgPercentage1: var(--gap-progressbar1); }
}

@keyframes growProgressBar2 {
    0%, 15% { --pgPercentage2: 0; }
    100% { --pgPercentage2: var(--gap-progressbar2); }
}

@keyframes growProgressBar3 {
    0%, 15% { --pgPercentage3: 0; }
    100% { --pgPercentage3: var(--gap-progressbar3); }
}

@keyframes growProgressBar4 {
    0%, 15% { --pgPercentage4: 0; }
    100% { --pgPercentage4: var(--gap-progressbar4); }
}

@keyframes growProgressBar5 {
    0%, 15% { --pgPercentage5: 0; }
    100% { --pgPercentage5: var(--gap-progressbar5); }
}

@keyframes growProgressBar6 {
    0%, 15% { --pgPercentage6: 0; }
    100% { --pgPercentage6: var(--gap-progressbar6); }
}

@keyframes growProgressBar7 {
    0%, 15% { --pgPercentage7: 0; }
    100% { --pgPercentage7: var(--gap-progressbar7); }
}

@keyframes growProgressBar8 {
    0%, 15% { --pgPercentage8: 0; }
    100% { --pgPercentage8: var(--gap-progressbar8); }
}
 
@property --pgPercentage {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

@property --pgPercentage1 {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

@property --pgPercentage2 {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

@property --pgPercentage3 {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

@property --pgPercentage4 {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

@property --pgPercentage5 {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

@property --pgPercentage6 {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

@property --pgPercentage7 {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

@property --pgPercentage8 {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}
  
#gap .gap_illustrations_progressbar {
    --pgPercentage1: var(--gap-progressbar1);
    animation: growProgressBar1 3s 0s forwards;
    width: 110px;
    height: 110px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(closest-side, var(--gap-white) 75%, transparent 0 99.9%, var(--gap-white) 0), conic-gradient(var(--gap-green) calc(var(--pgPercentage1) * 1%), var(--gap-green-light-alt) 0);
}

#gap[data-progressbar="1"] .gap_illustrations_progressbar {
    --pgPercentage1: var(--gap-progressbar1);
    animation-name: growProgressBar1;
    background: radial-gradient(closest-side, var(--gap-white) 75%, transparent 0 99.9%, var(--gap-white) 0), conic-gradient(var(--gap-green) calc(var(--pgPercentage1) * 1%), var(--gap-green-light-alt) 0);
}

#gap[data-progressbar="2"] .gap_illustrations_progressbar {
    --pgPercentage2: var(--gap-progressbar2);
    animation-name: growProgressBar2;
    background: radial-gradient(closest-side, var(--gap-white) 75%, transparent 0 99.9%, var(--gap-white) 0), conic-gradient(var(--gap-green) calc(var(--pgPercentage2) * 1%), var(--gap-green-light-alt) 0);
}

#gap[data-progressbar="3"] .gap_illustrations_progressbar {
    --pgPercentage3: var(--gap-progressbar3);
    animation-name: growProgressBar3;
    background: radial-gradient(closest-side, var(--gap-white) 75%, transparent 0 99.9%, var(--gap-white) 0), conic-gradient(var(--gap-green) calc(var(--pgPercentage3) * 1%), var(--gap-green-light-alt) 0);
}

#gap[data-progressbar="4"] .gap_illustrations_progressbar {
    --pgPercentage4: var(--gap-progressbar4);
    animation-name: growProgressBar4;
    background: radial-gradient(closest-side, var(--gap-white) 75%, transparent 0 99.9%, var(--gap-white) 0), conic-gradient(var(--gap-green) calc(var(--pgPercentage4) * 1%), var(--gap-green-light-alt) 0);
}

#gap[data-progressbar="5"] .gap_illustrations_progressbar {
    --pgPercentage5: var(--gap-progressbar5);
    animation-name: growProgressBar5;
    background: radial-gradient(closest-side, var(--gap-white) 75%, transparent 0 99.9%, var(--gap-white) 0), conic-gradient(var(--gap-green) calc(var(--pgPercentage5) * 1%), var(--gap-green-light-alt) 0);
}

#gap[data-progressbar="6"] .gap_illustrations_progressbar {
    --pgPercentage6: var(--gap-progressbar6);
    animation-name: growProgressBar6;
    background: radial-gradient(closest-side, var(--gap-white) 75%, transparent 0 99.9%, var(--gap-white) 0), conic-gradient(var(--gap-green) calc(var(--pgPercentage6) * 1%), var(--gap-green-light-alt) 0);
}

#gap[data-progressbar="7"] .gap_illustrations_progressbar {
    --pgPercentage7: var(--gap-progressbar7);
    animation-name: growProgressBar7;
    background: radial-gradient(closest-side, var(--gap-white) 75%, transparent 0 99.9%, var(--gap-white) 0), conic-gradient(var(--gap-green) calc(var(--pgPercentage7) * 1%), var(--gap-green-light-alt) 0);
}

#gap[data-progressbar="8"] .gap_illustrations_progressbar {
    --pgPercentage8: var(--gap-progressbar8);
    animation-name: growProgressBar8;
    background: radial-gradient(closest-side, var(--gap-white) 75%, transparent 0 99.9%, var(--gap-white) 0), conic-gradient(var(--gap-green) calc(var(--pgPercentage8) * 1%), var(--gap-green-light-alt) 0);
}

#gap .gap_illustrations_progressbar > span {
    color: var(--gap-forest) !important;
    font-size: 12.8px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    display: block;
}

@media (min-width: 700px) {

    #gap {
        padding: 34px 32px;
    }

    #gap .gap_title {
        font-size: 32px;
        line-height: 1.125;
        margin-bottom: 23px;
    }

    #gap .gap_subtitle {
        margin-bottom: 23px;
    }

    #gap .gap_percent {
        padding: 18px 24px;
        margin-bottom: 23px;
    }

    #gap .gap_percent_item {
        padding: 14px 28px 6px;
    }

    #gap .gap_percent_title {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 16px;
        max-width: 393px;
    }
    
    #gap .gap_percent_title strong {
        margin-bottom: 0;
        margin-right: 18px;
        font-size: 32px;
        line-height: 1;
    }

    #gap .gap_percent_circles-desktop {
        display: block;
        max-width: 393px;
    }

    #gap .gap_percent_circles-mobile {
        display: none;
    }

    #gap .gap_fill:nth-of-type(1),
    #gap .gap_fill:nth-of-type(2),
    #gap .gap_fill:nth-of-type(3),
    #gap .gap_fill:nth-of-type(4),
    #gap .gap_fill:nth-of-type(5),
    #gap .gap_fill:nth-of-type(6),
    #gap .gap_fill:nth-of-type(7),
    #gap .gap_fill:nth-of-type(8),
    #gap .gap_fill:nth-of-type(9),
    #gap .gap_fill:nth-of-type(10),
    #gap .gap_fill:nth-of-type(11),
    #gap .gap_fill:nth-of-type(12),
    #gap .gap_fill:nth-of-type(13),
    #gap .gap_fill:nth-of-type(14),
    #gap .gap_fill:nth-of-type(15),
    #gap .gap_fill:nth-of-type(16),
    #gap .gap_fill:nth-of-type(17),
    #gap .gap_fill:nth-of-type(18),
    #gap .gap_fill:nth-of-type(19),
    #gap .gap_fill:nth-of-type(20),
    #gap .gap_fill:nth-of-type(21) {
        animation-delay: 0.25s;
        animation-duration: 1s;
    }

    #gap .gap_fill:nth-of-type(22),
    #gap .gap_fill:nth-of-type(23),
    #gap .gap_fill:nth-of-type(24),
    #gap .gap_fill:nth-of-type(25),
    #gap .gap_fill:nth-of-type(26),
    #gap .gap_fill:nth-of-type(27),
    #gap .gap_fill:nth-of-type(28),
    #gap .gap_fill:nth-of-type(29),
    #gap .gap_fill:nth-of-type(30),
    #gap .gap_fill:nth-of-type(31),
    #gap .gap_fill:nth-of-type(32),
    #gap .gap_fill:nth-of-type(33),
    #gap .gap_fill:nth-of-type(34),
    #gap .gap_fill:nth-of-type(35),
    #gap .gap_fill:nth-of-type(36),
    #gap .gap_fill:nth-of-type(37),
    #gap .gap_fill:nth-of-type(38),
    #gap .gap_fill:nth-of-type(39),
    #gap .gap_fill:nth-of-type(40),
    #gap .gap_fill:nth-of-type(41) {
        animation-delay: 0.75s;
        animation-duration: 0.5s;
    }

    #gap .gap_fill:nth-of-type(42),
    #gap .gap_fill:nth-of-type(43),
    #gap .gap_fill:nth-of-type(44),
    #gap .gap_fill:nth-of-type(45),
    #gap .gap_fill:nth-of-type(46),
    #gap .gap_fill:nth-of-type(47),
    #gap .gap_fill:nth-of-type(48),
    #gap .gap_fill:nth-of-type(49),
    #gap .gap_fill:nth-of-type(50) {
        animation-delay: 1s;
        animation-duration: 0.5s;
    }

    #gap.gap-percent-1 .gap_percent_item:nth-of-type(1) .gap_path {
        animation-delay: 1s;
        animation-duration: 0.5s;
    } 

    #gap .gap_percent_prev:hover {
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/brecha-laboral/images/ico-prev-hover.svg');
    }
    
    #gap .gap_percent_next:hover {
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/brecha-laboral/images/ico-next-hover.svg');
    }

    #gap .gap_note:not(:last-child) {
        margin-bottom: 23px;
    }

    #gap .gap_illustrations {
        padding: 24px 29px;
        display: flex;
        gap: 38px;
    }

    #gap .gap_illustrations_menu {
        width: 45%;
        margin-bottom: 0;
    }

    #gap .gap_illustrations_content {
        width: 55%;
        margin-bottom: 0;
        padding: 27px 19px 10px;
    }

    #gap .gap_illustrations_menu_selected {
        display: none;
    }

    #gap .gap_illustrations_menu_selected:before,
    #gap .gap_illustrations_menu_selected:after {
        content: none;
        display: none;
    }

    #gap .gap_illustrations_menu_list {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-height: 1000px;
        overflow: auto;
        transition: none;
    }

    #gap .gap_illustrations_menu_item {
        cursor: pointer;
    }
    
    #gap .gap_illustrations_menu_item:first-child {
        padding-top: 12px;
        border-top: 1px solid var(--gap-border);
        border-radius: 15px 15px 0 0;
    }

    #gap .gap_illustrations_menu_item.active {
        background-color: var(--gap-green);
        color: var(--gap-white) !important;
    }

    #gap .gap_illustrations_progressbar {
        width: 140px;
        height: 140px;
    }

    #gap .gap_illustrations_progressbar span {
        font-size: 16.32px;
    }

}

@media (min-width: 1080px) {

    #gap .gap_illustrations_content {
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        padding: 15px;
    }

    #column-2 #gap .gap_illustrations_content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 27px 19px 10px;
    }

}

@keyframes gapFill {
    from {
        stroke: var(--gap-border);
        fill: var(--gap-white);
    }
    to {
        stroke: var(--gap-green);
        fill: var(--gap-green);
    }
}

@keyframes gapFillDark {
    from {
        stroke: var(--gap-border);
        fill: var(--gap-white);
    }
    to {
        stroke: var(--gap-forest);
        fill: var(--gap-forest);
    }
}
