﻿/*CONTROLS - btn*/
.btn {
    cursor: default;
    display: block;
    width: 100%;
    height: auto;
    margin: 0%;
    padding: 0px;
    background-color: #dbdbdb;
    color: inherit;
    font-size: inherit;
    border: 2px solid #1a2e61;
    border-radius: 4px;
}
    .btn table {
        table-layout: fixed;
        border-collapse: separate;
        width: 100%;
        border-spacing: 0px;
        border: none;
    }
    .btn td {
        padding: 0.2vw;
        text-align: center;
        vertical-align: middle;
        border: none;
    }
        .btn td.txt {
            text-align: left;
            width: 60%;
            background-color: #f5ede2;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }
        .btn td.off {
            width: 20%;
            background-color: #1a2e61;
            color: #ffffff;
        }
        .btn td.on {
            width: 20%;
            background-color: transparent;
        }
    .btn.active td.off {
        width: 20%;
        background-color: transparent;
        color: #1a2e61;
    }

        .btn.active td.on {
            width: 20%;
            background-color: #1a2e61;
            color: #ffffff;
        }

#options_swap {
    padding: 0.2vw;
    text-align: center;
    background-color: transparent;
}
    #options_swap.active {
        background-color: #1a2e61;
        color: #ffffff;
    }



/*CONTROLS - dropdown*/
.dropdown {
    display: -webkit-flex;
    -webkit-align-items: flex-start;
    -webkit-justify-content: space-between;
    -webkit-flex-wrap: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    cursor: default;
    position: relative;
    width: auto;
    height: auto;
    margin: 0%;
    padding: 0.2vw 0.2vw 0.2vw 0.2vw;
    background-color: transparent;
    border: 2px solid #1a2e61;
    border-radius: 4px;
    color: inherit;
    font-size: inherit;
}
    .dropdown .arrow {
        height: 0.4vw;
        width: auto;
        margin-left: 0.5vw;
        vertical-align: middle;
    }
        .dropdown .arrow.up {
            display: none;
        }
    .dropdown.single .text {
        line-height: 0.5vw; /*kao arrow*/
    }
    .dropdown .l, .dropdown .t, .dropdown .v, .dropdown .h, .dropdown .h1 {
        display: none;
    }

    .dropdown-list {
        z-index: 200;
        display: block; /*block*/
        visibility: visible;
        opacity: 0; /*1*/
        position: absolute;
        left: 0px;
        top: 0px;
        width: auto;
        margin-top: 0px;
        margin-left: 0px;
        /*min-height: 70px;*/
        /*max-height: 500%;*/
        text-align: left;
        overflow: auto;
        padding: 0.5vw;
        border: 2px solid #1a2e61;
        border-radius: 0.4vw;
        color: inherit; /*edit*/
        background-color: #ffffff;
    }
        .dropdown-list .close {
            cursor: pointer;
            position: absolute;
            top: 0.68vw;
            right: 1vw;
            font-size: 140%;
            font-weight: bold;
        }
        .dropdown-list .select-deselect-all {
            padding-top: 1%; /*edit*/
            padding-bottom: 2%; /*edit*/
            margin: 0%; /*edit*/
            text-align: left;
            color: #1a2e61;
        }
            .dropdown-list .select-deselect-all .select:hover {
                cursor: pointer;
                text-decoration: underline;
            }
            .dropdown-list .select-deselect-all .razmak {
                margin-left: 0.5vw;
                margin-right: 0.5vw
            }
            .dropdown-list .select-deselect-all .deselect:hover {
                cursor: pointer;
                text-decoration: underline;
            }

        .dropdown-list .item {
            display: -webkit-flex;
            -webkit-align-items: flex-start;
            -webkit-justify-content: space-between;
            -webkit-flex-wrap: nowrap;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            flex-wrap: nowrap;
            cursor: default;
            position: relative;
            width: auto;
            height: auto;
            margin: 0%;
            padding: 0.2vw 0.2vw 0.2vw 0.2vw;
            background-color: transparent;
            color: inherit;
            font-size: inherit;
        }
            .dropdown-list .item.disabled {
                color: #c0c0c0;   
            }
            .dropdown-list .item .check {
                display: inline-block;
                height: 0.75vw;
                width: 0.75vw;
                min-height: 0.75vw;
                min-width: 0.75vw;
                max-height: 0.75vw;
                max-width: 0.75vw;
                margin-left: 0.5vw;
                vertical-align: middle;
                border: 1px solid #1a2e61;
                border-radius: 0.2vw;
                background-color: transparent;
            }
            .dropdown-list .item.selected .check {
                background-color: #1a2e61;
            }
                .dropdown-list .item .t {
                    display: inline;
                }
                .dropdown-list .item .v {
                    display: none;
                }
                .dropdown-list .item .h {
                    display: none;
                }
            .dropdown-list .item:hover .t {
                text-decoration: underline;
                text-underline-offset: 2px;
                text-decoration-thickness: 1.5px;
            }
            .dropdown-list .item.disabled:hover .t {
                text-decoration: none;
            }
