///////////////////////////////////////////////////////////////
// Device: Desktop
///////////////////////////////////////////////////////////////

/* VAR */
$servicesheader_height: 90px;
$servicesheader_width: 760px;
/* end VAR */

.responsible-services {
    position: relative;
    background-color: $color-grey-background;
    padding: 100px 0 60px 0;
    margin: 80px 0 60px 0;
}

.responsible-services-wrapper {
    @include outer-container;
}

.responsible-services-box {
    border: 2px solid $color-golden;
    width: 80%;
    @include span-columns(10);
    @include shift(1);
}

.responsible-services-box-header {
    background-color: $color-golden;
    position: absolute;
    display: block;
    height: $servicesheader_height;
    width: $servicesheader_width;
    /*top: - $servicesheader_height / 2;*/
    top: 55px;
    text-align: center;
    left: 50%;
    margin-left: - $servicesheader_width / 2;
}

.responsible-services-box-header-title {
    color: white;
    font-family: "lucien-bold";
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: $servicesheader_height;
}

.responsible-services-box-list {
    list-style: none;
    padding: 0 40px 0 40px;
}

.responsible-services-box-list-item {
    list-style-type: none;
    display: inline-block;
    width: 32%;
    margin-right: 1%;
    vertical-align: top;
    text-align: center;
    padding: 40px 10px 60px 10px;
}

.responsible-services-box-list-item-number {
    $item_number_size: 60px;
    display: block;
    height: $item_number_size;
    width: $item_number_size;
    border-radius: $item_number_size;
    border: 1px solid black;
    text-align: center;
    line-height: $item_number_size;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5em;
    font-family: "lucien-light";
}

.responsible-services-box-list-item-title {
    font-family: "lucien-bold";
    text-transform: uppercase;
    font-size: 1.4rem;
    color: $color-golden;
    display: inline-block;
    width: 100%;         //todo check double width
    margin: 40px 0 20px 0;
    height: 80px;
    width: 74%;
}

.responsible-services-box-list-item-txt {
    text-align: left;
}

.responsible-services-list-item-link {
    font-family: "lucien-bold";
    color: $color-golden;
    text-decoration: underline;
    margin-top: 40px;
    display: inline-block;
    padding: 5px;
    font-size: 1.2vw;
}

///////////////////////////////////////////////////////////////
// Device: Desktop XL
///////////////////////////////////////////////////////////////

@include desktop-xl {
    .responsible-services-list-item-link {
        font-size: 1rem;
    }
}

///////////////////////////////////////////////////////////////
// Device: Tablet
///////////////////////////////////////////////////////////////

@include tablet-landscape-and-below {
    .responsible-services {
        margin-top: 60px;
    }
    .responsible-services-box-list-item {
        width: 100%;
        padding: 20px 0 20px 0;
        &:last-child {
            padding-bottom: 80px;
        }
    }
    .responsible-services-box-list-item {
        margin-bottom: 0;
        padding-top: 0;
        &:first-child {
            padding-top: 60px;
        }
    }
    .responsible-services-box-list-item-title {
        height: auto;
        margin: 20px 0 20px 0;
    }
    .responsible-services-box-list-item-number {
        margin-top: 10px;
    }
    .responsible-services-list-item-link {
        font-size: 1rem;
    }
    .responsible-services-box-header-title {
        font-size: 1.2em;
    }
}

@include tablet-portrait-and-below {
    .responsible-engagements-list-item-label {
        font-size: 0.8rem;
    }
    .responsible-services-list-item-link {
        font-size: 1.2rem;
    }
    .responsible-services-box-header-title {
        line-height: 1.2em;
    }

}

///////////////////////////////////////////////////////////////
// Device: Mobile
///////////////////////////////////////////////////////////////

@include mobile-landscape-and-below {
    .responsible-services-box-header {
        left: 0;
        width: 100%;
        margin-left: 0;
        top: 12px;
        display: table;
    }
    .responsible-services-box-header-title {
        font-size: 0.9rem;
        display: table-cell;
        vertical-align: middle;
    }
    .responsible-services {
        margin: 60px 0 60px 0;
        padding: 80px 0 60px 0;
    }
    .responsible-services-box-header {
        top: 0;
        position: relative;
    }
    .responsible-services-box-list-item {
        &:first-child {
            padding-top: 40px;
        }
    }
    .responsible-services-list-item-link {
        font-size: 3.3vw;
    }
    .responsible-services-box-list {
        padding: 0 30px 0 30px;
    }
}