﻿.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/*Hide default HTML checkbox*/
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider2 {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider2:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider2 {
    background-color: #008065;
}

input:focus + .slider2 {
    box-shadow: 0 0 1px #008065;
}

input:checked + .slider2:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider2.round {
    border-radius: 5px;
}

    .slider2.round:before {
        border-radius: 50%;
    }



.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-header {
    margin-bottom: 20px;
}
/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin-top: 20% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    display: flex;
    justify-content: space-evenly;
    background-color: #00b588;
}

    /* Style the buttons that are used to open the tab content */
    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #ddd;
        }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: #ff8c40
        }

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}
#izinVer {
    background-color: #00b588;
    border: none;
    border-radius: 5px;
    height: 35px;
    font: inherit;
    font-size: 13px;
    padding: 0 20px;
    color: #fff;
    font-weight: bold;
    margin-left: 10px;
}

#kaydet {
    background-color: #00b588;
    border: none;
    border-radius: 5px;
    height: 35px;
    font: inherit;
    font-size: 13px;
    padding: 0 20px;
    color: #fff;
    font-weight: bold;
    margin-left: 10px;
}

@media only screen and (max-width: 600px) {
    .slider2 {
        width:50px !important;
        position: absolute;
        cursor: pointer;
        top: 3px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

        .slider2:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }
        .impt{
            margin-left:-20px;
        }
    .tab {
        overflow: hidden;
        border: 1px solid #ccc;
        background-color: #00b588;
        display: flex;
        justify-content: space-evenly;
    }

        /* Style the buttons that are used to open the tab content */
        .tab button {
            background-color: inherit;
            float: left;
            border: none;
            outline: none;
            cursor: pointer;
            padding: 2px;
            transition: 0.3s;
        }

            /* Change background color of buttons on hover */
            .tab button:hover {
                background-color: #ddd;
            }

            /* Create an active/current tablink class */
            .tab button.active {
                background-color: #ff8c40;
            }

    /* Style the tab content */
    .tabcontent {
        display: none;
        padding: 6px 12px;
        border: 1px solid #ccc;
        border-top: none;
    }
    #izinVer {
        background-color: #00b588;
        border: none;
        border-radius: 5px;
        height: 35px;
        font: inherit;
        font-size: 12px;
        padding: 5px;
        color: #fff;
        font-weight: bold;
        margin-left: 10px;
    }

    #kaydet {
        background-color: #00b588;
        border: none;
        border-radius: 5px;
        height: 35px;
        font: inherit;
        font-size: 12px;
        padding: 5px;
        color: #fff;
        font-weight: bold;
        margin-left: 10px;
    }

    .modal {
        display: none;
        /* Hidden by default */
        position: fixed;
        /* Stay in place */
        z-index: 100;
        /* Sit on top */
        padding-top: 100px;
        /* Location of the box */
        left: 0;
        top: 0;
        width: 100%;
        /* Full width */
        height: 100%;
        /* Full height */
        overflow: auto;
        /* Enable scroll if needed */
        background-color: rgb(0, 0, 0);
        /* Fallback color */
        background-color: rgba(0, 0, 0, 0.4);
        /* Black w/ opacity */
    }

    /* Modal Content */
    .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 90%;
    }
    .modal-header {
        margin-bottom: 5px;
    }
   
    /* The Close Button */
    .close {
        color: #aaaaaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

        .close:hover,
        .close:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }  
}

    #cookieConsentContainer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #008065;
        padding: 10px;
        text-align: center;
        z-index: 100; /* Bu değeri ihtiyacınıza göre ayarlayabilirsiniz */
    }

    @media (max-width: 600px) {
        #cookieConsentContainer div {
            flex-direction: column; /* Küçük ekranlar için flex yönünü değiştirin */
        }

        #cookieConsentContainer p {
            align-self: center; /* Küçük ekranlar için metni ortala */
            text-align: center; /* Küçük ekranlar için metni ortala */
            margin-bottom: 10px; /* Boşluk bırakmak için alt kısma margin ekleyin */
        }
    }
/* Default styles for buttons */
#ayarCerez, #kabulEt , #reddet {
    background-color: #ff8724;
    border: none;
    border-radius: 3px;
    margin: 0 10px 0 10px;
    min-height: 25px;
    font: inherit;
    font-size: 13px;
    padding: 0 20px;
    color: #fff;
    font-weight: bold;
}

/* Media query for screens with a maximum width of 400 pixels */
@media only screen and (max-width: 400px) {
    /* Override styles for buttons with specific IDs on small screens */
    #ayarCerez, #kabulEt , #reddet {
        width: 100%; /* Make the buttons full-width */
        margin-bottom: 10px; /* Add some space between buttons */
    }
}

