/*
 * Common section styles
 */

/* Layout */

.section > div {
    display: table;
    table-layout: fixed;
    width: 1280px;
    margin: 0 auto;
}

.section-left,
.section-right {
    display: table-cell;
    vertical-align: top;
}

/* Section with the header at the left side */

.section--la .section-left {
    text-align: right;
    width: 495px;
    padding: 30px 0 30px 60px;
    background: #333;
}

.section--la .section-right {
    padding: 60px 60px 30px 0;
}

/* Section with the header at the right side */

.section--ra .section-left {
    padding: 60px 0 30px 60px;
}

.section--ra .section-right {
    width: 495px;
    padding: 30px 60px 30px 0;
    background: #333;
}

/* Section without content padding */

.section--no-padding.section--la .section-right {
    padding: 0;
}

.section--no-padding.section--ra .section-left {
    padding: 0;
}

/* Header */

.section-header {
    border: 15px solid #858585;
    padding: 40px 20px;
    overflow: hidden;
}

.section--la .section-header {
    border-right: 0;
}

.section--ra .section-header {
    border-left: 0;
}

.section-header-title {
    position: relative;
    font: 300 25px/1 'Open Sans Condensed', sans-serif;
    color: #ce4141;
    text-transform: uppercase;
    margin-bottom: 15px;
    word-wrap: break-word;
}

.section--la .section-header-title:before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -15px;
    width: 100%;
    max-width: 60px;
    height: 3px;
    background: #ce4141;
}

.section--ra .section-header-title:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 100%;
    max-width: 60px;
    height: 3px;
    background: #ce4141;
}

.section-header-annotation {
    margin-top: 30px;
    font: bold 85px/1 'Open Sans Condensed', sans-serif;
    color: #a3a3a3;
    text-transform: uppercase;
    word-wrap: break-word;
}

/* Section content */

.section-content {
    background: #fff;
}

.section-content-title {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    padding-bottom: 15px;
    word-wrap: break-word;
}

.section-content-title:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 60px;
    height: 5px;
    background: #ce4141;
}

.section--ra .section-content-title {
    text-align: right;
}

.section--ra .section-content-title:before {
    right: 0;
}

.section-content-description {
    color: #676767;
    margin-top: 20px;
}

@media (max-width: 1320px) {

    /* Layout */

    .section > div {
        display: block;
        width: auto;
        margin: 0;
    }

    .section-left,
    .section-right {
        display: block;
    }

    /* Section with the header at the left side */

    .section--la .section-left {
        text-align: left;
        width: 100%;
        padding: 40px 20px;
    }

    .section--la .section-right {
        padding: 40px 20px;
    }

    /* Section with the header at the right side */

    .section--ra .section-left {
        padding: 40px 20px;
    }

    .section--ra .section-right {
        width: 100%;
        padding: 40px 20px;
    }

    /* Move header form bottom to top for right aligned sections */

    .section > div {
        display: flex;
        flex-direction: column;
    }

    .section--ra .section-left {
        order: 2;
    }

    .section--ra .section-right {
        order: 1;
    }

    /* Header */

    .section-header {
        border: 15px solid #858585;
    }

    .section--la .section-header {
        border-right: 15px solid #858585;
    }

    .section--ra .section-header {
        border-left: 15px solid #858585;
    }

    .section--la .section-header-title:before {
        left: 0;
    }

    .section-header-annotation {
        font-size: 70px;
    }

    /* Section content */

    .section--ra .section-content-title {
        text-align: left;
    }

    .section--ra .section-content-title:before {
        left: 0;
    }
}

@media (max-width: 680px) {

    /* Header */

    .section-header-annotation {
        font-size: 40px;
    }
}

/* Single section content.
 * Can be used in the left aligned and right aligned sections.
 * Used in the "About Us" section
 */

.section-single {
    border: 15px solid #e5e5e5;
    padding: 30px 20px;
    overflow: hidden;
}

.section--la .section-single {
    border-left: 0;
}

.section--ra .section-single {
    border-right: 0;
}

@media (max-width: 1320px) {

    .section--la .section-single {
        border-left: 15px solid #e5e5e5;
    }

    .section--ra .section-single {
        border-right: 15px solid #e5e5e5;
    }
}

/* Tiles section content.
 * Can be used in the left aligned section.
 * Used in the "Products" section
 */

.section-tiles {
    border: 15px solid #e5e5e5;
    border-right: 0;
    padding: 1px;
    overflow: hidden;
}

.section-tiles > div > div {
    width: calc(100% / 3 - 2px);
    display: inline-block;
}

.section-tiles-item {
    position: relative;
    vertical-align: top;
    height: 355px;
    padding: 20px 20px 55px;
    border: 1px solid #e5e5e5;
    margin: 1px;
    overflow: hidden;
}

.section-tiles-item:hover {
    background: #333;
}

.section-tiles-item-logo {
    height: 42px;
    margin-bottom: 10px;
}

.section-tiles-item-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.section-tiles-item-title {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.section-tiles-item:hover .section-tiles-item-title {
    color: #fff;
}

.section-tiles-item-title > a {
    display: block;
    text-decoration: none;
}

.section-tiles-item-title > a:hover {
    color: #ce4141;
    text-decoration: underline;
}

.section-tiles-item-description {
    text-align: center;
    color: #676767;
    margin-top: 10px;
}

.section-tiles-item:hover .section-tiles-item-description {
    color: #bcbcbc;
}

.section-tiles-item-details {
    display: none;
    position: absolute;
    font-size: 14px;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 55px;
    line-height: 55px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    background: #ce4141;
    font-weight: bold;
}

.section-tiles-item-details > a {
    display: block;
    text-decoration: none;
}

.section-tiles-item:hover .section-tiles-item-details {
    display: block;
}

@media (max-width: 1320px) {

    .section-tiles {
        border-right: 15px solid #e5e5e5;
    }

    .section-tiles-item-details {
        display: block;
    }
}

@media (max-width: 960px) {

    .section-tiles > div > div {
        width: calc(100% / 2 - 2px);
    }
}

@media (max-width: 680px) {

    .section-tiles > div > div {
        display: block;
        width: auto;
    }
}

/*
 * Services section
 */

/* Layout */

.section-services > div {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.section-services-left,
.section-services-right {
    display: table-cell;
    vertical-align: top;
}

.section-services-left {
    width: 360px;
}

.section-services-right {
    padding: 50px 60px 40px 30px;
}

/* Image */

.section-services-image {
    width: 100%;
    max-width: 360px;
    background: url('../images/services-ver-9A2AE436D13821065D341AF572295D0F.jpg') center no-repeat;
    height: 960px;
}

/* List */

.section-services-list-item {
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.section-services-list-item > div {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.section-services-list-item-left,
.section-services-list-item-right {
    display: table-cell;
    vertical-align: top;
}

.section-services-list-item-left {
    width: 60px;
    padding-right: 20px;
}

.section-services-list-item-image {
    width: 40px;
    height: 40px;
}

.section-services-list-item-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.section-services-list-item-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.section-services-list-item-title > a {
    display: block;
    text-decoration: none;
}

.section-services-list-item-title > a:hover {
    color: #ce4141;
    text-decoration: underline;
}

.section-services-list-item-description {
    color: #676767;
    margin-top: 10px;
}

.section-services-list-item-technologies {
    color: #676767;
    margin-top: 10px;
    font-style: italic;
}

@media (max-width: 1320px) {

    /* Layout */

    .section-services-right {
        padding: 80px 20px 40px 20px;
    }
}

@media (max-width: 680px) {

    /* Layout */

    .section-services > div {
        display: block;
    }

    .section-services-left,
    .section-services-right {
        display: block;
    }

    .section-services-left {
        width: 100%;
    }

    .section-services-right {
        padding: 40px 20px;
    }
}

/*
 * Projects section
 */

/* Layout */

.section-projects {
    padding-right: 35px;
}

/* Item */

.section-projects-item:not(:first-child) {
    margin-top: 40px;
}

.section-projects-item > div {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.section-projects-item-left,
.section-projects-item-right {
    display: table-cell;
    vertical-align: top;
}

.section-projects-item-left {
    width: 270px;
}

.section-projects-item-right {
    padding-left: 30px;
}

.section-projects-item-image {
    max-width: 270px;
    max-height: 270px;
}

.section-projects-item-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.section-projects-item-title {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.section-projects-item-description {
    color: #676767;
    margin-top: 10px;
}

.section-projects-item-details {
    margin-top: 20px;
}

@media (max-width: 680px) {

    /* Layout */

    .section-projects {
        padding-right: 0;
    }

    /* Item */

    .section-projects-item > div {
        display: block;
    }

    .section-projects-item-left,
    .section-projects-item-right {
        display: block;
    }

    .section-projects-item-left {
        width: 100%;
    }

    .section-projects-item-right {
        padding-left: 0;
        padding-top: 30px;
    }
}