/**
 * Simple Contact Bar
 *
 * @wordpress-plugin
 * Plugin Name: Simple Contact Bar
 * Version:     1.0.1
 * Plugin URI:  https://wordpress.org/plugins/simple-contact-bar/
 * Description: Simple Contact Bar plugin: is an easy-to-use plugin that adds a call now and whatsapp message button to sites created with Wordpress infrastructure. In addition to fully customizable buttons, it has the feature of directing the visitor to communicate with the popup.
 * Tags:        click to call, call now, call me now, call now button, click to call bar, call button, whatsapp button, text from whatsapp, whatsapp text button, popup contact buttons
 * Author:      Tuncay TEKE
 * Author URI:  https://tuncayteke.com.tr
 * Contributors: tuncayteke
 * Donate link: https://profiles.wordpress.org/emrevona/
 * Text Domain: simple-contact-bar
 * Domain Path: /languages/
 * Requires at least:  5.4.0
 * Tested up to: 6.2.2
 * Requires PHP: 7.1
 *
 * WC requires at least: 7.1
 * WC tested up to: 7.8
 *
 * License: GPL2+ or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt
 */

.scb-contact-bar {
    align-items: center;
    z-index: 9999;
    text-decoration: none;
}


/* Right */
.scb-bottom-right {
    position: fixed;
    bottom: 10px;
    right: 5px;
}

.scb-center-right {
    position: fixed;
    bottom: 50%;
    right: 5px;
    transform: translateY(50%);
}

.scb-top-right {
    position: fixed;
    top: 10px;
    right: 5px;
    transform: translateY(50%);
}

/* Left */
.scb-bottom-left {
    position: fixed;
    bottom: 10px;
    left: 5px;
}
.scb-top-left {
    position: fixed;
    top: 10px;
    left: 5px;
}

.scb-center-left {
    position: fixed;
    bottom: 50%;
    left: 5px;
    transform: translateY(50%);
}


/* Bottom */
.scb-bottom-center {
    position: fixed;
    bottom: 10px;
    margin-left: 40%;
}

.scb-left-center {
    position: fixed;
    left: 10px;
    margin-bottom: 40%;
}

.scb-right-center {
    position: fixed;
    left: 10px;
    margin-bottom: 40%;
}

.scb-grid {
    display: grid!important;

}


.scb-gab{
    gap: 0.5rem!important;
    align-content: space-between;
    justify-content: center;
    justify-items: center;
}

.scb-gab a{
    position: static!important;
}

.scb-inline{
    display: inline-block!important;
}

.scb-inline a{
    position: relative!important;
}

/* Buttons */
.scb-button {
    display: inline-flex;
    margin-bottom: 0;
    text-align: center;
	align-items: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    padding: 6px 12px;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    text-transform: none;
    overflow: visible;
    margin: 0.25rem;
	text-decoration: none!important;
    
}

.scb-button:hover {
    opacity: 1;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.25)!important;
}

.scb-button-flat-square {
    border-radius: 0;
}

.scb-button-radius-square{
    border-radius: 5px;
}

.scb-button-circle{
    border-radius: 50px!important;
}


.scb-button-sm {
    padding: 0.25rem 0.25rem;
    font-size: 1rem;
}

.scb-button-md {
    padding: 0.5rem 0.5rem;
    font-size: 1.25rem;
}

.scb-button-lg {
    padding: 0.75rem 0.75rem;
    font-size: 1.5rem;
}

.scb-button-xl {
    padding: 1rem 1rem;
    font-size: 1.75rem;
}

.scb-button-xxl {
    padding: 1.25rem 1.25rem;
    font-size: 2rem;
}

.scb-button-text{
    margin: 0 5px;
	vertical-align:middle;
    position: relative;
	text-shadow: 1px 1px 2px #4c4c4c;
}
.scb-button svg {
    position: relative;
    flex-shrink: 0;
    fill: currentColor;
    transition: fill .3s;
    height: 120%;
    width: auto;
    margin: 5px;
	display:table-cell;
	vertical-align:middle;
}

/* POPUP */
.scb-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.scb-popup-content {
    min-width: 30%;
    max-width: 80%;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}



.scb-popup-header {
    padding-bottom: 10px;
    text-align: center;
}

.scb-popup-scrollable-content {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    text-decoration: none!important;
    text-align: center;
}

.scb-popup-footer,.scb-popup-footer-buttons {
    margin-top: 50px;
    text-align: center;
    text-decoration: none;

}

.scb-popup-footer-buttons a{
    visibility: visible;
    position: relative!important;
    margin:.5rem;
}

.scb-popup-close-button {
    position: absolute;
    padding:10px;
    border-radius: 5px;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 30px;
    border-radius: 5px;
    cursor: pointer;
}


.scb-popup-footer label {
    display: block;
}

.scb-popup-footer input[type="checkbox"] {
    margin-right: 5px;
}

.scb-popup-scrollable-content::-webkit-scrollbar {
    width: 8px;
}

.scb-popup-scrollable-content::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 4px;
}

.scb-popup-scrollable-content::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.scb-popup-scrollable-content::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

@media screen and (max-width: 768px) {
    .scb-popup-content {
        min-width: 75%;
        max-width: 90%;
    }
}
