#portfolio-grid2,
#portfolio-grid3{
    transition: opacity 1s;
}

.contact-popup .btn {
    width: 60px;
    height: 60px;
    border-radius: 99px;
    position: fixed;
    z-index: 999;
    bottom: 20px;
    right: 20px;
    background-color: #f6e701;
    transition: .3s
}

.contact-popup .btn:hover {
    box-shadow: 0 0 10px rgba(246, 231, 1, .8);
    color: #000
}

.contact-popup .btn svg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60%;
    height: 60%;
    fill: #000;
    transition: .3s
}

.contact-popup .btn svg:nth-child(1) {
    -webkit-transform: translateX(-50%) translateY(-50%) scale(1);
    transform: translateX(-50%) translateY(-50%) scale(1)
}

.contact-popup .btn svg:nth-child(2) {
    -webkit-transform: translateX(-50%) translateY(-50%) scale(0);
    transform: translateX(-50%) translateY(-50%) scale(0)
}

.contact-popup .btn.open svg:nth-child(1) {
    -webkit-transform: translateX(-50%) translateY(-50%) scale(0);
    transform: translateX(-50%) translateY(-50%) scale(0)
}

.contact-popup .btn.open svg:nth-child(2) {
    -webkit-transform: translateX(-50%) translateY(-50%) scale(1);
    transform: translateX(-50%) translateY(-50%) scale(1)
}

.contact-popup .form {
    width: 375px;
    border-radius: 12px;
    position: fixed;
    z-index: 998;
    right: 20px;
    bottom: 20px;
    -webkit-transform: translateY(-55px);
    transform: translateY(-55px);
    overflow: hidden;
    opacity: 0;
    display: none;
    transition: all .3s, display 0s
}

.contact-popup .form.open {
    display: block;
    -webkit-transform: translateY(-70px);
    transform: translateY(-70px);
    opacity: 1
}

.contact-popup .form .top {
    background-image: url(../img/prttp.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative
}

.contact-popup .form .top:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    z-index: 1
}

.contact-popup .form .top p {
    position: relative;
    z-index: 2;
    font-family: 'Exo 2' !important;
    text-align: center;
    font-size: 31px;
    color: #f6e701;
    padding: 50px 20px 80px 20px;
    letter-spacing: .7px;
    line-height: 1.3;
    margin-bottom: 0
}

.contact-popup .form .links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    border-radius: 12px;
    padding: 10px 13px;
    z-index: 2;
    position: relative;
    background-color: #fff;
    margin: 0 auto;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

.contact-popup .form .links a {
    flex-grow: 1;
    padding: 0 7px;
    height: 31px
}

.contact-popup .form .links a:hover {
    color: #000
}

.contact-popup .form .links a svg {
    transition: .3s;
    height: 31px;
    width: 100%;
    padding: 5px 0;
    border-radius: 5px
}

.contact-popup .form .links a svg * {
    fill: #fff
}

.contact-popup .form .links a.fb svg {
    background-color: #0284ff
}

.contact-popup .form .links a.fb:hover svg {
    background-color: #026acc
}

.contact-popup .form .links a.vb svg {
    background-color: #665cac
}

.contact-popup .form .links a.vb:hover svg {
    background-color: #524a8a
}

.contact-popup .form .links a.tg svg {
    background-color: #2fa3d9
}

.contact-popup .form .links a.tg:hover svg {
    background-color: #2682ae
}

.contact-popup .form .links a.wa svg {
    background-color: #24d366
}

.contact-popup .form .links a.wa:hover svg {
    background-color: #1da952
}

.contact-popup .form .bottom {
    background-color: rgba(0, 0, 0, .9);
    margin-top: -52px;
    padding: 40px 20px 10px 20px
}

.contact-popup .form .bottom p {
    color: #fff;
    text-align: center;
    font-size: 18px
}

@media screen and (max-width: 415px) {
    .contact-popup .form {
        width: calc(100% - 40px)
    }

    .contact-popup .form .top p {
        font-size: 6.229vw
    }
}

@media screen and (max-height: 450px) {
    .contact-popup .form .top p {
        padding: 10px 20px 30px 20px
    }
}

.contact-popup .btn {
    -webkit-animation-name: btn;
    animation-name: btn;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    cursor: pointer;
}

.contact-popup .btn svg path {
    -webkit-animation-name: btn-svg;
    animation-name: btn-svg;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite
}

@-webkit-keyframes btn {
    0% {
        background-color: #f6e701
    }
    50% {
        background-color: #000
    }
    0% {
        background-color: #f6e701
    }
}

@keyframes btn {
    0% {
        background-color: #f6e701
    }
    50% {
        background-color: #000
    }
    0% {
        background-color: #f6e701
    }
}

@-webkit-keyframes btn-svg {
    0% {
        fill: #000
    }
    50% {
        fill: #f6e701
    }
    0% {
        fill: #000
    }
}

@keyframes btn-svg {
    0% {
        fill: #000
    }
    50% {
        fill: #f6e701
    }
    0% {
        fill: #000
    }
}

.all-works-btn{
    cursor: pointer;
}

@media screen and (max-width: 1024px){
    #offers .tt-col-xl-4 h5{
        font-weight: 400;
        font-size: 22px;
    }
}

.contact-box{
    display: flex;
    align-items: center;
}
.contact-box svg{
    width: 20px;
    height: 23px;
    margin-right: 8px;
}
.contact-box svg *{
    fill: white;
}
.contact-box a{
    margin-left: 8px;
}

.tt-ol-menu-social svg *{
    fill: #919191;
}
.tt-ol-menu-social .contact-box a{
    margin-left: 0;
}


input.invalid{
    background: var(--tt-main-color)!important;
}

.formoutput{
    display: none;
    margin: 30px 0 0;
    padding: 10px 20px;
    border: 1px solid green;
}

.tt-light-style-on .contact-box svg *{
    fill: #333;
}

.tt-light-style-on .tt-ol-menu-social svg *{
    fill: #111;
}