/****************************
* CONTACTS
****************************/

.container.contacts {
    width: 100%;
    height: 100%;
}

.contacts .background {
    position: absolute;
    height: 100%;
    width: 100%;
    background: url("../img/contacts_bg.jpg") no-repeat center;
    background-size: cover;
}

.contacts .content-container {
    position: relative;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.contacts .description::-webkit-scrollbar {
    width: 10px;
  }
  
  .contacts .description::-webkit-scrollbar-track {
    -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
    background-color: rgba(0, 0, 0, 0.3);
  }
  
  .contacts .description::-webkit-scrollbar-thumb {
    background-color: #95001E;
    /*background-image: -webkit-linear-gradient(45deg,rgba(255, 255, 255, .25) 25%,
                      transparent 25%,
                      transparent 50%,
                      rgba(255, 255, 255, .25) 50%,
                      rgba(255, 255, 255, .25) 75%,
                      transparent 75%,
                      transparent); */
  }

.contacts .description {
    height: calc(100% - 160px);
    position: absolute;
    overflow: auto;
    left: 0;
    top: 50%;
    color: #ffffff;
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
    background: rgba(0, 0, 0, 0.35);
}

.contacts .description .contacts-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
}
.contacts .description .contacts-list .contact-item{
    width: 49%;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.contacts .description .contacts-list .contact-item img{
    margin-right: 20px;
    max-width: 140px;
    max-height: 100%;
}

.contacts .description .contacts-list .contact-name{
    font-size: 16px;
    margin-bottom: 10px
}

.contacts .description .contact-item .email a{
    text-transform: none;
}

.contacts .description .contacts-list .contact-item .contact-item-content{
    padding: 20px 10px 20px 153px;
}

.contacts .description .contacts-list .contact-item .contact-item-content-no-image{
    padding: 20px 10px 20px 20px;
}

.contacts .description .contacts-list .contact-item .contact-item-content-no-image h3{
    display: none;
}

.contacts .description .contacts-list .contact-item .contact-item-content .email a{
    margin-right: 10px;
}

.contacts .description.scroll {
    top: 0;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

.contacts .marker {
    width: 180px;
    position: absolute;
    right: 0;
    bottom: 10px;
}

.contacts .marker.scroll {
    top: 20px;
    bottom: auto;
}

.contacts .marker .item {
    width: 365px;
    position: absolute;
    right: 0;
    text-align: right;
}

.contacts .marker .item a {
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
}

.contacts .item-wrapper0 {
    position: relative;
    height: 100px;
}

.contacts .marker .marker-item0 {
    height: 100px;
    width: 200px;
    background: url("../img/marker_jobs_1.png") no-repeat;
    background-size: 100%;
}

.contacts .marker .marker-item0 .text {
    margin-top: 30px;
    -webkit-transform: rotate(6deg);
    -moz-transform: rotate(6deg);
    -o-transform: rotate(6deg);
    transform: rotate(6deg);
}

.contacts .item-wrapper1 {
    position: relative;
    height: 70px;
}

.contacts .marker .marker-item1 {
    height: 100px;
    width: 200px;
    background: url("../img/marker_jobs_2.png") no-repeat;
    background-size: 100%;
}

.contacts .marker .marker-item1 .text {
    margin-top: 25px;

    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    transform: rotate(3deg);
}

.contacts .marker .marker-item1 a {
    color: #a9191d;
}

.contacts .item-wrapper2 {
    position: relative;
    height: 80px;
}

.contacts .marker .marker-item2 {
    height: 87px;
    width: 198px;
    background: url("../img/marker_jobs_3.png") no-repeat;
    background-size: 100%;
}

.contacts .marker .marker-item2 .text {
    margin-top: 25px;

    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
    -o-transform: rotate(-2deg);
    transform: rotate(-2deg);
}

/* 24" ---------------------------------------------------------------------------------------------------------- */
/*2.560 x 1.600 Pixel*/
@media (max-width: 1920px) {
    .contacts .description {
        width: 1050px;
    }
}

/* 15" ---------------------------------------------------------------------------------------------------------- */
/*2.880 x 1.800 Pixel*/
@media (max-width: 1450px) {
    .contacts .description {
        width: 970px;
    }
    .contacts .description .contacts-list .contact-item{
        max-height: 200px;
    }
    .contacts .description .contacts-list .contact-item .contact-item-content .contact-name{
        font-size: 16px;
        margin-bottom: 10px
    }
}

/* 13" ---------------------------------------------------------------------------------------------------------- */
@media (max-width: 1325px) {
    .contacts .description {
        width: 500px;
    }
    .contacts .description .contacts-list .contact-item{
        width: 100%;
    }
}

/* IPad Portrait ------------------------------------------------------------------------------------------------ */
@media all and (max-width: 860px ) {

    
    .contacts .background {
        background: url("../img/contacts_bg-phone.jpg") no-repeat center;
        background-size: cover;
    }
    .contacts .description {
        width: 80%;
        padding: 50px 7%;
        position: relative;
        top: 0;

        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    .contacts .marker {
        position: relative;
        top: 20px;
        float: right;
    }

    .contacts .content-container {
        background: #000000;
    }

    .contacts .background {
        position: relative;
        width: 100%;
        height: 600px;
    }

    .contacts .description {
        width: 86%;
        padding: 25px 7%;
    }
}

/* IPhone Portrait ---------------------------------------------------------------------------------------------- */
@media (max-width: 560px) {
    .contacts .background {
        position: relative;
        width: 100%;
        height: 300px;
    }
    .contacts .description{
        width: 94%;
        overflow: none;
        height: auto; 
    }
    .contacts .description h3{
        margin-bottom: 10px;
    }
    .contact-item-img{
        display: flex;
        justify-content: center;
    }

    .contacts .description .contacts-list .contact-item{
        margin-bottom: 55px;
    }

    .contacts .description .contacts-list .contact-item:last-child{
        margin-bottom: 0px;
    }

    .contacts .description .contact-item a{
        font-size: 12px;
    }

    .contacts .description .contacts-list .contact-item img{
        margin-right: 20px;
        max-width: 110px;
        max-height: 100%;
    }
    
    .contacts .description .contacts-list .contact-item .contact-item-content{
        padding: 20px 0px 20px 130px;
    }
    .contacts .description .contacts-list .contact-item .contact-item-content-no-image{
        padding: 0px;
    }
    
}