﻿.switch {
    position: relative;
    display: inline-block;
    width: 69px;
    height: 30px;
    background-image: url('../images/toggle.png');
    background-repeat: no-repeat;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.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: 18px;
        width: 19px;
        /* left: 4px; */
        /* bottom: 4px; */
        /* -webkit-transition: .4s; */
        /* transition: .4s; */
    }

input:checked + .slider {
    background-image: url('../images/toggle-2.png');
    background-repeat: no-repeat;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }



/* Dropdown */

.dropdown {
    display: inline-block;
    position: relative;
}

.dd-button {
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 0px 29px 0px 17px;
    background-color: #ffffff00;
    cursor: pointer;
    border-radius: 29px;
    white-space: nowrap;
    font-size: 13px;
    width: 100px;
    color: white;
}

    .dd-button:after {
        content: "";
        position: absolute;
        top: 50%;
        right: 13px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #fff;
    }

    .dd-button:hover {
        background-color: #fff;
    }

.dd-input {
    display: none;
}

.dd-menu {
    position: absolute;
    top: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 1;
    padding: 0;
    /* text-align: left; */
    font-size: 13px;
    margin: 2px 0px 0px 0;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    list-style-type: none;
}

.dd-input + .dd-menu {
    display: none;
}

.dd-input:checked + .dd-menu {
    display: block;
}

.dd-menu li {
    padding: 0px 28px;
    cursor: pointer;
    white-space: nowrap;
}

    .dd-menu li:hover {
        background-color: #f6f6f6;
    }

    .dd-menu li a {
        display: block;
        margin: -10px -20px;
        padding: 10px 20px;
    }

    .dd-menu li.divider {
        padding: 0;
        border-bottom: 1px solid #cccccc;
    }

.btn-secondary {
    color: var(--white);
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-primary {
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

.dropdown {
    position: relative;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 4px;
    transition: 0.5s ease-in-out;
    position: relative;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    inset-block-start: 100%;
    inset-inline-start: 0;
    z-index: 99999;
    display: none;
    min-width: 260px;
    padding: 10px 0;
    margin: 4px 0 0;
    font-size: 16px;
    color: #212529;
    text-align: left;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}


.dropdown-item {
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 10px 15px;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: 0.5s;
}




.roundbtn {
    font-size: 17px;
    line-height: 1;
    padding: 15px 26px;
    /* border: 2px solid #023059; */
    border-radius: 31px;
    font-family: "adobe-clean", sans-serif;
    width: fit-content;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    text-align: center;
    -o-transition: all 0.4s ease-in-out;
    /* -webkit-transition: all 0.4s ease-in-out; */
    /* transition: all 0.4s ease-in-out; */
    color: #fff;
    background-color: #FF6F00;
    z-index: 0;
    overflow: hidden;
    position: relative;
    letter-spacing: -0.01em;
    transform-style: preserve-3d;
}


.roundbtn2 {
    font-size: 13px;
    line-height: 1;
    padding: 12px 20px;
    /* border: 2px solid #023059; */
    border-radius: 31px;
    /* font-family: "adobe-clean", sans-serif; */
    width: fit-content;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    text-align: center;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    color: #fff;
    background-color: #0a165e;
    z-index: 0;
    overflow: hidden;
    position: relative;
    letter-spacing: -0.01em;
    transform-style: preserve-3d;
}

.roundbtn3 {
    font-size: 13px;
    line-height: 1;
    padding: 8px 12px;
    /* border: 2px solid #023059; */
    border-radius: 31px;
    /* font-family: "adobe-clean", sans-serif; */
    width: fit-content;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    text-align: center;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    color: black;
    z-index: 0;
    overflow: hidden;
    position: relative;
    letter-spacing: -0.01em;
    transform-style: preserve-3d;
}


.roundbtn2:hover {
    color: white;
}


.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #0d6efd;
}

fieldset {
    border: solid 1px #dee2e6;
    padding-top: 5px;
    padding-right: 12px;
    padding-bottom: 10px;
    padding-left: 12px;
    border-radius: 7px;
}

fieldset2 {
    border: 1px dashed #8a8c9a;
    background: #e7e7e8;
    display: flex;
    padding-top: 5px;
    height: 42px;
    padding-right: 12px;
    padding-bottom: 10px;
    padding-left: 12px;
    border-radius: 2px;
}

legend {
    float: none;
    width: inherit;
    font-size: 18px;
    color: #524e4e;
    font-weight: 600;
    letter-spacing: 1px;
}

.form-label {
    margin-bottom: -0.5rem;
    font-size: 14px;
    color: #636668;
    font-weight: 600;
    letter-spacing: 0.5px;
}


/*****************************
*	horizontal news ticker
******************************/
a {
    text-decoration: none;
}

.ticker-wrapper-h {
    display: flex;
    position: relative;
    box-shadow: 2px 1px 3px #3333;
    overflow: hidden;

}

    .ticker-wrapper-h .heading {
        background-color: #D05C02;
        color: #fff;
        padding: 10px 56px;
        flex: 0 0 auto;
        z-index: 1000;
    }

        .ticker-wrapper-h .heading:after {
            /* content: ""; */
            /* position: absolute; */
            /* top: 0; */
            /* border-left: 20px solid #1c6547; */
            border-top: 17px solid transparent;
            border-bottom: 15px solid transparent;
        }


.news-ticker-h {
    display: contents;
    margin: 0;
    padding: 0;
    padding-left: 90%;
    z-index: 999;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    /* animation-name: tic-h; */
    /* animation-duration: 30s; */
}

    .news-ticker-h:hover {
        animation-play-state: paused;
    }

    .news-ticker-h li {
        display: flex;
        width: 100%;
        align-items: center;
        white-space: nowrap;
        padding-left: 20px;
    }

       
@keyframes tic-h {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}



.myButton {
    box-shadow: inset 0px 1px 0px 0px #f7c5c0;
    background: linear-gradient(to bottom, #fc8d83 5%, #e4685d 100%);
    background-color: #fc8d83;
    border-radius: 6px;
    border: 1px solid #d83526;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #b23e35;
}

    .myButton:hover {
        background: linear-gradient(to bottom, #e4685d 5%, #fc8d83 100%);
        background-color: #e4685d;
    }

    .myButton:active {
        position: relative;
        top: 1px;
    }
