@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
* {
    margin: 0px;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.form-control {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}

hr {
    margin: 4.5rem 0 1rem 0;
    border: white;
    background-color: white;
}

#app {
    max-width: 550px;
    margin: 0 auto;
}

.divider {
    margin: 0;
    border: 0;
    border-top: var(--bs-border-width) solid;
}

.btn-outline-success:hover {
    color: white !important;
}

.bi:hover {
    color: white !important;
}

.btn-outline-dark:hover {
    background: orange !important;
    color: white !important;
}

.address {
    font-size: 12px;
    font-weight: 700;
}

.mobile-number {
    width: 13ch;
    overflow: hidden;
}

.mobile-number.not-available {
    color: grey;
    border-color: grey;
}

.custom-bg {
    background-color: #FF6B00 !important;
}

.border-custom:focus,
.border-custom:focus+.input-group-text {
    border-color: #FF6B00 !important;
    outline: none !important;
    box-shadow: none !important;
}

.input-group-text i:hover {
    color: #FF6B00 !important;
}

.input-group>button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.party-logo-image {
    position: absolute;
    width: 2rem;
    bottom: 0;
    right: 7.5%;
}

.welcome-screen-bg img {
    width: 100%;
}

.welcome-menu-button {
    border-bottom: 1px solid rgba(25, 170, 237, 0.29);
}

input.checkbox-add-family {
    accent-color: rgba(255, 107, 0, 1) !important;
    color: white;
    width: 19px;
    height: 19px;
}

.family-checked-margin {
    margin-left: 0px;
}

.family-checked-color {
    border-left: none;
}

.checkbox-add-family:checked~.family-checked-color {
    border-left: 7px solid rgba(255, 107, 0, 1);
    background: rgba(243, 243, 243, 1);
}

.checkbox-add-family:checked~.family-checked-margin {
    margin-left: -7px;
}


/* .add-to-family-button {
    display: none;
} */

.checkbox-add-family:checked~.add-to-family-button {
    display: block
}

input[type=checkbox]:checked:before {
    color: #fff;
}

.checkbox-add-family:focus {
    outline: 2px none;
    box-shadow: none !important;
}


/* vote button */

.have-voted-button {
    outline: 0;
    display: block;
    width: calc(13ch + 2.5rem);
    height: 2.75rem;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    border-radius: 3rem;
    background: #fff;
    transition: color 0.2s, background 0.2s;
}

.have-voted-button.voted {
    border: none !important;
    color: #fff;
    background: #4bc338;
}

.have-voted-button.voted:hover {
    background: #368c28;
}

.have-voted-button.not-voted {
    border: none !important;
    color: #fff;
    background: #f94646;
}

.have-voted-button.not-voted:hover {
    background: #d92626;
}

.primary-button {
    background: #FF6B00;
    border: none;
    /* padding: 0.5rem 0; */
    height: 2.5rem;
    color: white;
    font-family: 'Poppins', sans-serif;
    border-radius: 0 !important;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tg-list {
    text-align: center;
    display: flex;
    align-items: center;
}

.tgl {
    display: none;
}

.tgl,
.tgl:after,
.tgl:before,
.tgl *,
.tgl *:after,
.tgl *:before,
.tgl+.tgl-btn {
    box-sizing: border-box;
}

.tgl::selection,
.tgl:after::selection,
.tgl:before::selection,
.tgl *::selection,
.tgl *:after::selection,
.tgl *:before::selection,
.tgl+.tgl-btn::selection {
    background: none;
}

.tgl+.tgl-btn {
    outline: 0;
    display: block;
    width: 13ch;
    height: 2.75rem;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.tgl+.tgl-btn:after,
.tgl+.tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}

.tgl+.tgl-btn:after {
    left: 0;
}

.tgl+.tgl-btn:before {
    display: none;
}

.tgl:checked+.tgl-btn:after {
    left: 50%;
}

.tgl-flip+.tgl-btn {
    padding: 2px;
    padding-left: 10rem;
    transition: all 0.2s ease;
    font-family: sans-serif;
    perspective: 100px;
}

.tgl-flip+.tgl-btn:after,
.tgl-flip+.tgl-btn:before {
    display: inline-block;
    transition: all 0.4s ease;
    width: 100%;
    text-align: center;
    position: absolute;
    line-height: 2em;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    border-radius: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tgl-flip+.tgl-btn:after {
    content: attr(data-tg-on);
    background: #02c66f;
    transform: rotateY(-180deg);
}

.tgl-flip+.tgl-btn:before {
    background: #ff3a19;
    content: attr(data-tg-off);
}

.tgl-flip+.tgl-btn:active:before {
    transform: rotateY(-20deg);
}

.tgl-flip:checked+.tgl-btn:before {
    transform: rotateY(180deg);
}

.tgl-flip:checked+.tgl-btn:after {
    transform: rotateY(0);
    left: 0;
    background: #0AAC07;
}

.tgl-flip:checked+.tgl-btn:active:after {
    transform: rotateY(20deg);
}

input:focus {
    border-color: rgb(255, 107, 0) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 0, 0.25) !important;
}

.total-voted-list-header {
    background: rgb(255, 248, 234);
}

.hide-vote-button {
    text-decoration: underline;
}

.delete-icon .fa-trash {
    font-size: 17px !important;
    width: 2rem;
    height: 2rem;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.delete-icon .fa-trash:hover {
    color: red;
    cursor: pointer;
    background-color: rgba(40, 130, 255, 0.1);
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-toggler {
        display: block;
    }
}


/* nav tab */

.memberlist-nav .nav-tabs>li.active>a,
.memberlist-nav .nav-tabs>li.active>a:hover,
.memberlist-nav .nav-tabs>li.active>a:focus {
    background-color: transparent !important;
    border-color: transparent !important;
    border-bottom: 1px solid #FF6B00 !important;
}

.memberlist-nav .nav-tabs>li>a {
    /* border: unset !important; */
    border-radius: 0 !important;
}

.memberlist-nav .nav-tabs {
    border-bottom: 1px solid rgb(255, 107, 0, 0.2);
}

.memberlist-nav a {
    color: black;
}

.memberlist-nav .nav>li>a:hover,
.memberlist-nav .nav>li>a:focus {
    text-decoration: none;
    color: black;
    background-color: rgb(255, 107, 0, 0.2);
}

.memberlist-nav .nav-tabs>li>a:hover {
    border-color: transparent transparent transparent;
}