﻿@media only screen and (min-width:767px) {
    #custom-contact-wrapper {
        display: none !important
    }
}

#custom-contact-wrapper {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 9999999;
    padding: 10px
}

    #custom-contact-wrapper #contact-container {
        position: relative;
        height: 45px
    }

        #custom-contact-wrapper #contact-container .map {
            position: absolute;
            left: 0
        }

            #custom-contact-wrapper #contact-container .map a {
                display: block;
                overflow: hidden;
                width: 45px;
                height: 45px;
                background-color: #f39c12;
                border-radius: 10px;
                text-align: center;
            }

                #custom-contact-wrapper #contact-container .map a svg {
                    position: absolute;
                    top: 9px;
                    left: 9px;
                    color: #fff !important;
                    fill: currentColor;
                }

            #custom-contact-wrapper #contact-container .map:before {
                content: 'YOL TARİFİ AL';
                position: absolute;
                top: -42px;
                width: 90px;
                font-family: Arial;
                font-size: 11px;
                background-color: #fff;
                line-height: 20px;
                border-radius: 4px;
                padding: 4px 3px;
                text-align: center;
                box-shadow: 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12), 0 5px 5px -3px rgba(0, 0, 0, .2)
            }

            #custom-contact-wrapper #contact-container .map:after {
                top: -15px;
                left: 50%;
                border: solid transparent;
                content: " ";
                height: 0;
                width: 0;
                position: absolute;
                pointer-events: none;
                border-color: rgba(255, 255, 255, 0);
                border-top-color: #fff;
                border-width: 6px;
                margin-left: -6px
            }

        #custom-contact-wrapper #contact-container .phone {
            position: absolute;
            left: 0;
            right: 0;
            margin: 0 auto;
            width: 145px;
        }

            #custom-contact-wrapper #contact-container .phone a {
                display: block;
                overflow: hidden;
                width: 145px;
                height: 45px;
                line-height: 45px;
                background-color: #c0392b;
                border-radius: 7px;
                position: relative;
                box-shadow: 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12), 0 5px 5px -3px rgba(0, 0, 0, .2);
                animation: pulse 1s infinite;
            }

                #custom-contact-wrapper #contact-container .phone a svg {
                    color: #fff !important;
                    fill: currentColor;
                    position: absolute;
                    top: 13px;
                    left: 14px;
                }

                #custom-contact-wrapper #contact-container .phone a span {
                    color: #fff !important;
                    fill: currentColor;
                    position: absolute;
                    right: 14px;
                    font-family: Arial, Helvetica, sans-serif;
                    font-weight: 700;
                    font-size: 16px
                }

        #custom-contact-wrapper #contact-container .whatsapp {
            position: absolute;
            right: 0
        }

            #custom-contact-wrapper #contact-container .whatsapp a {
                display: block;
                overflow: hidden;
                width: 45px;
                height: 45px;
                background-color: #00a82d;
                border-radius: 10px;
                position: relative;
            }

                #custom-contact-wrapper #contact-container .whatsapp a svg {
                    color: #fff !important;
                    fill: currentColor;
                    position: absolute;
                    top: 8px;
                    left: 9px;
                }

            #custom-contact-wrapper #contact-container .whatsapp:before {
                content: 'BİZE ŞİMDİ YAZ';
                position: absolute;
                top: -42px;
                right: 0;
                width: 90px;
                font-family: Arial;
                font-size: 11px;
                background-color: #fff;
                border-radius: 4px;
                line-height: 20px;
                padding: 4px 3px;
                text-align: center;
                box-shadow: 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12), 0 5px 5px -3px rgba(0, 0, 0, .2)
            }

            #custom-contact-wrapper #contact-container .whatsapp:after {
                top: -15px;
                left: 50%;
                border: solid transparent;
                content: " ";
                height: 0;
                width: 0;
                position: absolute;
                pointer-events: none;
                border-color: rgba(255, 255, 255, 0);
                border-top-color: #fff;
                border-width: 6px;
                margin-left: -6px
            }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(192, 57, 43, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(192, 57, 43, 0);
    }
}
