﻿
.relative-box {
    position: relative;
    right: 0;
}

.main-box {
    position: absolute;
    z-index: 9999;
    right: 0;
    top: -18rem;
}

.selected-option {
    width: 150px;
    cursor: pointer;
    align-items: center;
    padding: 8px;
    display: flex;
    background: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
    border-radius: 3px;
}

    .selected-option .image {
        width: 30px;
        height: 20px;
        /* margin-top: -7px; */
    }

        .selected-option .image img {
            width: 100%;
            /* margin-top: -2px; */
            height: 100%;
        }

    .selected-option .lang {
        margin-left: 10px;
        padding-right: 10px;
        margin-right: 10px;
        font-size: 10px;
        border-right: 1px solid gray;
    }

    .selected-option .currency {
        margin-left: 10px;
        padding-right: 10px;
        margin-right: 10px;
        font-size: 10px;
    }

        .selected-option .lang p,
        .selected-option .currency p {
            margin-bottom: 0%;
        }

.dropdown-box {
    z-index: 9999;
    right: 1%;
    margin-top: 3px;
    background: #fff;
    border-radius: 3px !important;
    width: 180px;
    position: absolute;
    display: none;
    padding: 10px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

    .dropdown-box .form-group {
        margin-bottom: 0 !important;
    }

    .dropdown-box .form-control {
        box-shadow: none !important;
    }

    .dropdown-box .fa-check {
        color: greenyellow;
    }

.mb-0-0 {
    margin-bottom: 0 !important;
}

.fs_1 {
    font-size: 11px;
}

.f_w {
    font-weight: 500;
}

.fs_2 {
    font-size: 12px;
}

.button {
    text-align: center;
}

    .button .btn {
        width: 100%;
        padding: 0 !important;
        font-size: 13px !important;
        height: 30px;
        background: #17252a !important;
        border: none !important;
        box-shadow: none;
        text-align: center;
        border-radius: 20px !important;
    }

.selectpicker {
    display: none;
}

#option-value img, .select-btn img {
    width: 26px;
    border: 1px solid rgb(226, 226, 226) !important;
    padding: 1px !important;
    margin-top: 5px;
    height: 18px;
}

#option-value {
    width: 87%;
    position: absolute;
    height: 25ch;
    overflow-x: auto;
    margin-bottom: 0;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 0.2);
}

    #option-value li {
        list-style: none;
        display: flex;
        padding-left: 10px !important;
        padding-top: 5px;
        padding-bottom: 5px;
    }

        .select-btn li span, #option-value li span {
            width: 100px !important;
            text-overflow: ellipsis !important;
            overflow: hidden !important;
            white-space: nowrap !important;
        }

        #option-value li:hover {
            background-color: #F4F3F3;
        }

        #option-value li img {
            margin: 5px;
        }

        #option-value li span, .select-btn li span {
            margin-left: 10px;
            margin-top: 3px;
        }

.option-box {
    display: none;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 5px;
}

.select-btn {
    /* margin-top: 10px; */
    width: 100%;
    max-width: 350px;
    height: 34px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
}

    .select-btn li {
        list-style: none;
        display: flex;
        padding-left: 10px;
        padding-bottom: 6px;
    }

    .select-btn:hover li {
        margin-left: 0px;
    }

    .select-btn:hover {
        background-color: #F4F3F3;
        border: 1px solid transparent;
        box-shadow: inset 0 0px 0px 1px #ccc;
    }

    .select-btn:focus {
        outline: none;
    }

@media only screen and (max-width : 767px) and (orientation: portrait) {
    .selected-option {
        margin-left: 10%;
    }

    .main-box {
        top: -14rem;
        right: 1%;
    }

    .selected-option .image img {
        margin-top: 0px;
    }

    .dropdown-box {
        margin-top: 3px;
        right: -9%;
    }
}

@media only screen and (max-width : 767px) and (orientation: landscape) {
    .selected-option {
        margin-left: 10%;
    }

    .main-box {
        top: -14rem;
        right: 1%;
    }

    .selected-option .image img {
        margin-top: 0px;
    }

    .dropdown-box {
        margin-top: 3px;
        right: -9%;
    }
}


/* Ipad (Portrait) */
@media only screen and (device-width: 768px) and (device-height: 1024px) and (orientation: portrait) {
    .selected-option .image img {
        margin-top: 0px;
    }

    .dropdown-box {
        margin-top: 3px;
    }
}
