/* --------------- inst --------------- */
.inst .grey h1{
    padding: 28px 0;
    margin: 0;
}
.inst .content__item {
    padding: 0 40px;
}

.inst h1 {
    padding: 18px 160px 36px 0;
}
.inst .content__item .btn {
    position: absolute;
    right: 40px;
    top: 20px;
    width: auto;
    color: #fff;
}
.inst .content__item .btn:hover {
    color: #000;
}
.grey{
    margin-bottom: 0;
}
.inst__wrap {
    clear: both;
    min-height: 100%;
    padding-top: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.inst__content {
    display: none;
    overflow: hidden;
}

.inst__gallery {
    overflow: hidden;
}

.inst__gallery a>span{
    position: absolute;
    padding: 0 20px;
    margin-bottom: 17px;
    color:#fff;
    bottom: 0;
    left: 0;
    font: 300 26px/42px 'Roboto',sans-serif;
}

.inst__gallery a:hover{
    opacity:1;
}

.inst__gallery a {
    float: left;
    position: relative;
    opacity: 0.6;
    -webkit-transition: opacity 300ms ease-in-out;
    transition: opacity 300ms ease-in-out;
}

.inst__gallery img {
    width: 100%;
    border-left: 1px solid #2c2c2c;
    border-top: 1px solid #2c2c2c;
    display: block;
}

.inst__gallery > div {
    float: left;
    overflow: hidden;
    position: relative;
}
.inst__gallery > div > div {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.inst__small {
    width: 20%;
    padding-bottom: 20%;
}

.inst__small a {
    width: 100%;
}

.inst__medium {
    width: 40%;
    padding-bottom: 40%;
}

.inst__medium a {
    width: 50%;
}

.inst__big {
    width: 40%;
    padding-bottom: 40%;
}

.inst__big a {
    width: 100%;
}

/* --------------- /inst --------------- */
@media screen and (max-width: 1419px) {
    .inst__gallery > div {
        width: 50%;
        padding-bottom: 50%;
    }
    .inst .grey h1{
        font-size: 72px;
        line-height: 72px;
        padding: 18px 0;
    }
}

@media screen and (max-width: 1023px) {
    .inst__gallery > div {
        width: 100%;
        padding-bottom: 100%;
    }
    .inst .grey h1{
        font-size: 62px;
        line-height: 72px;
        padding: 18px 0;
    }
    .inst .content__item .btn {
        position: absolute;
        top: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 767px) {
    .inst__gallery > div {
        width: 100%;
        padding-bottom: 100%;
    }
    .inst .grey h1{
        font-size: 42px;
        line-height: 52px;
        padding: 18px 0;
    }
    .inst .content__item {
        padding: 0 20px;
    }

    .inst__content img {
        display: block;
        width: 100%;
        border-left: 1px solid #2c2c2c;
        border-top: 1px solid #2c2c2c;
    }

    .inst .content__item .btn {
        position: relative;
        width: 100%;
        top: 0;
        right: 0;
        text-align: center;
        color: #fff;
    }
}