/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.ysdb-cookiealert-message {
    position: fixed;
    /*left: 0;*/
    right: 0;
    transform: translateY(100%);
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 2px 44px rgba(0, 0, 0, 0.2);
    z-index: -1;
    padding: 20px;
    font-size: 13px;
    line-height: 1.4;
    transition: 300ms;
    max-width: 400px;
}

.ysdb-cookiealert-message.active {
    transform: translateY(0);
    z-index: 9999;
}

.ysdb-cookiealert .text-right {
    text-align: right;
}
.ysdb-cookiealert .text-center {
    text-align: center;
}

.ysdb-cookiealert .spacing {
    height: 20px;
}

.ysdb-cookiealert .title{
    margin-top: 0px;
}

.ysdcookie-btn, .ysdcookie-btn:hover, .ysdcookie-btn:focus {
    border:none!important;
    text-decoration:none!important;
}

.ysdcookie-btn.btn.btn-success {
    color: #FFF;
    background-color: #5cb85c;
    padding: 10px 20px;
    border-radius: 3px;
    margin-left: 15px;
    border: 0px;
}

.ysdb-cookiealert  .settings {
    background-color: #e5e5e5;
    padding: 5px 10px;
    border-radius: 3px;
    margin-left: 15px;
}

.ysdb-cookiealert-message .ysdb-cookiealert-container {
    max-width: 1140px;
    margin: 0px auto;
}

.ysdb-cookiealert-message .ysdb-cookiealert-container .ysdb-cookiealert-content {
    display: block;

}

.ysdb-cookiealert-background-overlay {
    position: fixed;
    left: 0;
    right: 0;
    transition: 300ms;
    z-index: -1;
    opacity: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .6);
}

.ysdb-cookiealert-popup {
    opacity: 0;
    position: fixed;
    left: 0;
    transition: 300ms;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    z-index: -1;
    -webkit-box-align: center;
    min-height: 300px;
    justify-content: center;
    font-size: 13px;
}

.ysdb-cookiealert-popup.active {
    opacity: 1;
    z-index: 9999;
}

.ysdb-cookiealert-popup.active ~ .ysdb-cookiealert-background-overlay {
    z-index: 9998;
    opacity: 1;
}

.ysdb-cookiealert-wrap {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    width: 60%;
    max-width: 900px;
}

.ysdb-cookiealert-popup .ysdb-cookiealert-content {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    flex-direction: row;
}

.ysdb-cookiealert-content h2 {
    font-size: 18px;
    color: #444;
    font-weight: bold;
}

.ysdb-cookiealert-popup h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0px;
    background-color: #555;
    padding-top: 10px !important;
    color: #fff;
    position: relative;
    padding: 10px 15px;
}

.ysdb-cookiealert-popup h3 .close-popup{
    position: absolute;
    right: 5px;
    height: 12px;
    cursor: pointer;
    font-size: 12px;
    top: 25%;
}

.ysdb-cookiealert-popup .category-list {
    display: inline-block;
    width: 30%;
}

.ysdb-cookiealert-popup .category-list ul {
    word-wrap: break-word;
    list-style-type: none;
    background-color: #e5e5e5;
    position: relative;
    margin: 0px;
    height: 100%;
    padding-left: 0px;
}

.ysdb-cookiealert-popup .category-list li {
    cursor: pointer;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}



/*.ysdb-cookiealert-popup .category-list li:last-child{*/
/*border: 0px;*/
/*}*/
.ysdb-cookiealert-popup .information {
    display: inline-block;
    flex: 1;
    width: 70%;
    padding: 25px 30px;
    position: relative;
    font-size: 13px;
    line-height: 1.7;
    background-color: #FFF;
}

ul.tabtoggle .switch span {
    background: #d84142;
}

.ysdb-cookiealert-popup .tabcontent-list .tabcontent {
    transition: 300ms;
    opacity: 0;
    overflow: hidden;
    bottom: 70px;
    display: none;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    display: none;
    max-height: 400px;
    flex-direction: row;
    overflow-y: auto;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box;

}

.ysdb-cookiealert-popup .tabcontent-list .tabcontent .tabcontent-wrap{
    position: relative;
    max-width: 100%;
}

.ysdb-cookiealert-popup .tabcontent-list .tabcontent .table-responsive{
    min-height: .01%;
    overflow-x: auto;
}

.ysdb-cookiealert-popup .tabcontent-list .tabcontent table{
    font-size: 11px;
}

.ysdb-cookiealert-popup .tabcontent-list .tabcontent table thead{
    font-weight: bold;
}

.ysdb-cookiealert-popup .tabcontent-list .tabcontent table tr{
    border-bottom: 1px solid #eee;
}

.ysdb-cookiealert-popup .tabcontent-list .tabcontent table tr td{
   padding: 5px 10px;
    padding: 0.4em 0.8em;
}


.ysdb-cookiealert-popup .tabcontent-list .tabcontent .ysdb-cookiealert-toggle input {
    float: right;
}

.ysdb-cookiealert-popup .tabcontent-list .tabcontent.active {
    opacity: 1;
    display: flex;
}

.ysdb-cookiealert-popup .category-list li:hover {
    background: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.ysdb-cookiealert-popup .category-list li.active {
    background: #fff;
    font-weight: bold;
}

.ysdb-cookiealert-popup .ysdb-cookiealert-footer {
    position: relative;
    bottom: 0;
    padding: 20px;
    text-align: right;
    right: 0;
}

/*Checkbox slider*/
.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
    float: right;
    margin-top: 3px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 17px;
}

.slider.round:before {
    border-radius: 50%;
}

@media screen and (max-width: 1200px) {
    .ysdb-cookiealert-message .ysdb-cookiealert-container {
        max-width: 960px;
    }
}

@media screen and (max-width: 992px) {
    .ysdb-cookiealert-message .ysdb-cookiealert-container {
        max-width: 820px;
    }

    .ysdb-cookiealert-popup .category-list {
        width: 40%;
    }

    .ysdb-cookiealert-popup .information {
        width: 60%;
    }

}

@media screen and (max-width: 768px) {
    .ysdb-cookiealert-popup .tabcontent-list .tabcontent .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
    }

    .ysdb-cookiealert-popup .category-list ul {
        z-index: 999;
        position: inherit;
    }

    .ysdb-cookiealert-popup .category-list li {
        font-size: 14px;
    }

    .ysdb-cookiealert-message .ysdb-cookiealert-container {
        max-width: 740px;
        font-size: 12px;
    }

    .ysdb-cookiealert-popup .tabcontent-list .tabcontent {
        max-height: 250px;
        font-size: 12px;
    }

    .ysdb-cookiealert-popup .ysdb-cookiealert-content {
        flex-direction: column;
    }

    .ysdb-cookiealert-popup .category-list, .ysdb-cookiealert-popup .information {
        width: 100%;
    }

    .ysdb-cookiealert-popup .ysdb-cookiealert-wrap {
        width: 80%;
    }

    .ysdb-cookiealert-popup .information {
        padding: 15px 20px;
    }

    .ysdb-cookiealert-popup .ysdb-cookiealert-footer {
        z-index: 9999;
    }

    .ysdb-cookiealert-popup h3 {
        font-size: 16px;
        font-weight: 600;
        padding-top: 6px !important;
        color: #fff;
        padding: 6px 15px;
    }

    .ysdb-cookiealert-popup {
        align-items: flex-start;
        top: 10px;
    }

    .ysdb-cookiealert-popup .ysdb-cookiealert-footer {
        position: absolute;
    }

    .ysdb-cookiealert-message{
        max-width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .ysdb-cookiealert-popup .tabcontent-list .tabcontent {
        max-height: 200px;
    }

    .ysdb-cookiealert-message .ysdb-cookiealert-container {
        max-width: 100%;
    }

    .ysdb-cookiealert-popup .ysdb-cookiealert-wrap {
        width: 94%;
    }

    .ysdb-cookiealert-popup .category-list li {
        flex: 0 0 50%;
        padding: 6px 10px;
        overflow: hidden;
    }

    .ysdb-cookiealert-popup .category-list ul {
        display: flex;
        flex-wrap: wrap;

    }
}
