.margintop20 {/*margin-top:20px;*/}

/* OVERLAY */
.container .row .box a::before { z-index: 9; background-color: rgba(45,45,45, 0.8); background-image: url(../../images/imatges_xifres/box-hover-plus.png); background-position: center center; background-repeat: no-repeat; background-size: 70px auto; content: ""; display: block; height: calc(100% - 20px); opacity: 0; position: absolute; transition: all 0.25s ease 0s; width: calc(100% - 20px); }
.container .row .box a:hover::before { opacity: 1; background-size: auto auto; }

.container .row .box {
    height: 281px;
    font-family: 'Open Sans';
    overflow: hidden;
    background-clip: content-box;
    padding: 10px;
}
.box2018.b1 {
    background-image: url(../../images/imatges_xifres/cifras_1_1.jpg);
    background-size: contain;
}
.box2018.b2 {
    background-image: url(../../images/imatges_xifres/cifras_1_2.jpg);
    background-size: contain;
}
.box2018.b3 {
    background-image: url(../../images/imatges_xifres/cifras_1_3.jpg);
    background-size: contain;
}
.box2018.b4 {
    background-image: url(../../images/imatges_xifres/cifras_2_1.jpg);
    background-size: contain;
}
.box2018.b5 {
    background-image: url(../../images/imatges_xifres/cifras_2_2.jpg);
    background-size: contain;
}
.box2018.b6 {
    background-image: url(../../images/imatges_xifres/cifras_2_3.jpg);
    background-size: contain;
}
.box2018.b7 {
    background-image: url(../../images/imatges_xifres/cifras_3_1.jpg);
    background-size: contain;
}
.box2018.b8 {
    background-image: url(../../images/imatges_xifres/cifras_3_2.jpg);
    background-size: contain;
}
.box2018.b9 {
    background-image: url(../../images/imatges_xifres/cifras_3_3.jpg);
    background-size: contain;
}
.box2018.b10 {
    background-image: url(../../images/imatges_xifres/cifras_4_1.jpg);
    background-size: contain;
}
.box2018.b11 {
    background-image: url(../../images/imatges_xifres/cifras_4_2.jpg);
    background-size: contain;
}
.box2018.b12 {
    background-image: url(../../images/imatges_xifres/cifras_4_3.jpg);
    background-size: contain;
}
.container .row .box.b1 {background-color: #0a5c94;}

.container .row .box .box-content .number.big {
    font-size: 60px;
    line-height: 60px;
}

.container .row .box .box-content .number.little {
    font-size: 50px;
    line-height: 60px;
}

.container .row .box .box-content .text-table {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.container .row .box .box-content .number {
    font-weight: bold;
}

.box2018 p {
    color: #fff;
}
.container .box2018 a {
    text-decoration: none;
}

.container .row .box .box-content {
    position: relative;
    padding: 10px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    display: table;
}

.container .row .box.box2018.b1 .box-content,.container .row .box.box2018.b3 .box-content, .container .row .box.box2018.b4 .box-content, .container .row .box.box2018.b5 .box-content, .container .row .box.box2018.b6 .box-content,.container .row .box.box2018.b7 .box-content,.container .row .box.box2018.b8 .box-content, .container .row .box.box2018.b9 .box-content, .container .row .box.box2018.b10 .box-content, .container .row .box.box2018.b11 .box-content, .container .row .box.box2018.b12 .box-content {
    display: table;
}

.container .row .box.box2018.b7 .box-content .text-table {
    vertical-align:bottom;
}

.container .row .box .box-content .text.big {
    font-size: 25px;
    line-height: 28px;
}

.container .row .box .box-content .text.little {
    font-size: 22px;
    line-height: 30px;
}

.container .row .box .box-content .text.morelittle {
    font-size: 20px;
    line-height: 30px;
}
.container .row .box .box-content .text {
    font-weight: 300;
}

.container .row .box.box2018.b1 .box-content .left {
    padding-top: 0;
    width: 50%;
}
.container .row .box .box-content .left {
    /*height: 100%;*/
    width: 60%;
    padding: 30px 10px 0 0;
    float: left;
    position: relative;
    z-index: 1;
    text-align: center;
}
.container .row .box .box-content .right {
    /*height: 100%;*/
    width: 40%;
    padding: 0 0 0 20px;
    float: left;
    position: relative;
    z-index: 1;
}
.container.memoria-2015 .row .box.box2018.b1 .box-content .left p {
    text-align: center;
}
.container .row .box .box-content .number.medium {
    font-size: 56px;
}

.container .row .box.box2018.b11 .box-content .text-table {
    left: 10px;
    position: absolute;
    top: 25%;
}

.container .row .box.box2018.b8 .box-content .text-table {
    left: 30px;
    position: absolute;
    top: 25%;
}

.container .row .box.box2018.b9 .box-content .text-table {
    text-align:right;
}
.container .row .box.box2018.b12 .box-content .text-table {
    text-align:right;
}
.container .row .box.box2018.b2 .box-content .left {
    padding: 0px 0px 0px 0px;
}
.little32 {font-size:32px;}

@media (min-width: 1200px) and (max-width: 1400px){
    .row .box.box2018 { height: 235px; }
}

@media (max-width: 1200px){
    /* Home */
    .row .box.box2018 { height: 200px; }
    .row .box.box2018.b6 .box-content .leftside,
    .row .box.box2018.b6 .box-content .rightside { margin-bottom: 0; }
    .box2018.b4 .box-content .right { width: 43%!important; }
    .row .box.box2018.b7 .box-content .separator { top:57%; }
    .row .box.box2018.b7 .box-content .bot { bottom: 20%; }
}

@media (max-width: 992px) and (min-width: 768px){
    .row .box.box2018 { height: 156px!important; }
    .container .row .box.box2018 .box-content { padding: 3px; }
    .row .box.box2018.b7 .box-content .top { top: 10%; }
    .row .box.box2018.b7 .box-content .separator { top: 50%; }
    .row .box.box2018.b7 .box-content .bot { bottom: 6%; }
}

@media (max-width: 767px){
    /* Home */
    .row .box.box2018 { height: 235px; background-image: none; background-color: #00aeef; }
    .row .box.box2018 img.responsive { display: block; position: absolute; max-width: 100%; /*opacity: 0.3;*/ }

    .row .box.box2018.b1,
    .row .box.box2018.b2,
    .row .box.box2018.b3 { background-color: #00aeef; }

    .row .box.box2018.b4,
    .row .box.box2018.b5,
    .row .box.box2018.b6 { background-color: #00bdf2; }

    .row .box.box2018.b7,
    .row .box.box2018.b8,
    .row .box.box2018.b9 { background-color: #6dcff6; }

    .row .box.box2018.b10,
    .row .box.box2018.b11,
    .row .box.box2018.b12 { background-color: #c7eafb; }


    .row .box.box2018.b1 .box-content .text-table,
    .row .box.box2018.b5 .box-content .text-table p { text-align: left; padding-left: 10px; }

    .row .box.box2018.b1 img.responsive,
    .row .box.box2018.b8 img.responsive { right: 0; }

    .row .box.box2018.b2 img.responsive { bottom: 0; left: -50px; margin: auto; }

    .row .box.box2018.b3 img.responsive { left: 0; }
    .row .box.box2018.b3:hover .box-content { background-color: #00aeef; }
    .row .box.box2018.b3 .box-content .left.t1 p { color: #004679!important; }
    .row .box.box2018.b3 .box-content .left.t1 { position: absolute; top: 33px; left: 80px; width: 120px; }
    .row .box.box2018.b3 .box-content .left.t2,
    .row .box.box2018.b3 .box-content .left.t3 { float: right; clear: both; }
    .row .box.box2018.b3 .box-content .left.t3 { margin-top: 30px; }

    .row .box.box2018.b4 img.responsive { height: 97%; left: -45px; }
    .row .box.box2018.b4 .box-content .left,
    .row .box.box2018.b4 .box-content .right { float: right; clear: both; height: auto; width: auto!important; }
    .row .box.box2018.b4 .box-content .right { margin-top: 30px; padding-right: 10px; }
    .row .box.box2018.b4 .box-content .text,
    .row .box.box2018.b4 .box-content .number { text-align: center; }

    .row .box.box2018.b5 img.responsive { left: 10px; }
    .row .box.box2018.b5 .box-content .text-table p { text-align: right; }

    .row .box.box2018.b6 .box-content .leftside,
    .row .box.box2018.b6 .box-content .rightside { position: relative; z-index: 1; }
    .row .box.box2018.b6 .box-content p { position: relative; z-index: 1; }
    .row .box.box2018.b6 img.responsive { bottom: 0; width: 100%; left: 0; }

    .row .box.box2018.b8 .box-content .text-table { text-align: left; padding-left: 10px; padding-right: 50%; }

    .row .box.box2018.b9 .box-content .number.big { color: #00aeef!important; position: absolute; left: 60px; top: 75px; }
    .row .box.box2018.b9 .box-content .text.big { color: #004679!important; float: right; width: 255px; text-align: right; }
    .row .box.box2018.b9 img.responsive { left: 0; margin: auto; }

    .row .box.box2018.b10 p,
    .row .box.box2018.b11 p,
    .row .box.box2018.b12 p { color: #004679!important; }

    .row .box.box2018.b10 img.responsive:nth-child(2) { left: 125px; }
    .row .box.box2018.b10 .box-content .text-table { width: 50%; text-align: left; position: relative; z-index: 1; }
    .row .box.box2018.b10 .box-content .text.little { font-weight: bold; }

    .row .box.box2018.b11 img.responsive { left: 0; right: 0; margin: auto; bottom: 10px; width: 65%; }
    .row .box.box2018.b11 .box-content .text-table { position: absolute; text-align: left; }

    .row .box.box2018.b12 img.responsive { left: -45px; bottom: 0; }
    .row .box.box2018.b12 .box-content .text-table { position: absolute; right: 20px; top: 20px; }
    .row .box.box2018.b12 .box-content .text-table .text.big { font-size: 32px; }
}

@media (max-width: 550px){
    .row .box.box2018.b9 .box-content .number.big { left: 28px; top: 36px; }
    .row .box.box2018.b9 .box-content .text.big { width: 225px; font-size: 23px; margin-top: 80px; }
    .row .box.box2018.b9 img.responsive { width: 100px; }
}

@media (max-width: 500px){
    /* Home */
    .row .box.box2018.b3 img.responsive { left: -60px; }
    .row .box.box2018.b3 .box-content .left.t1 { left: 22px; }

    .row .box.box2018.b4 img.responsive { height: 70%; left: -45px; bottom: 0; }

    .row .box.box2018.b8 img.responsive { width: 60%; top: 17%; }

    .row .box.box2018.b11 img.responsive { width: 90%; }

    .row .box.box2018.b12 .box-content .text-table .text.big { font-size: 26px; }
    .row .box.box2018.b12 img.responsive { width: 200px; }
}