#box textarea {
    width: 255px;
    height: 30px;
}

#box button {
    width: 45px;
    top: 0;
}

.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

.dropup,
.dropright,
.dropdown,
.dropleft {
    position: relative;
    display: inline-block;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
    height: 24px;
    padding-top: 0;
    padding-bottom: 0;
}

.btn-secondary {
    top: 0;
    color: #3b3b3b !important;
    background: transparent !important;
    border: transparent !important;
}

.add-optionBtn {
    margin-right: 10px;
    width: 45px;
}

.create-pollBtn,
.add-optionBtn {
    width: 120px;
}

.toggleGraphBtn,
.create-pollBtn,
.add-optionBtn,
.removeBtn {
    height: 30px;
    border-radius: 4px;
    border: none;
    outline: 0;
    color: #f8f9fa;
    background-color: #0085c5;
}

.toggleGraphBtn {
    width: 100%;
}

#polls_section label {
    font-size: 20px;
}

.add-option-section,
.create-poll-options {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    margin-bottom: 10px;
}

button:focus {
    outline: none !important;
}

.create-poll-title {
    font-size: 30px;
    width: 400px;
    height: 37px;
    border-bottom: solid 2px #cacaca;
    background-color: #f8f9fa;
    transition: all 0.2s ease-in-out;
}

.create-poll-title:focus-within {
    border-bottom: solid 2px #0085c5;
    outline: none;
}



#create-poll-title {
    font-size: 30px;
    height: 100%;
    width: 90%;
    border: none;
    background-color: #f8f9fa;
}

.clearTitle {
    height: 35px;
    width: 10%;
    background-color: #f8f9fa;
    float: right;
    border: 0 !important;
    outline: 0 !important;
    position: relative;
    z-index: 99999;
}

.clearTitle:active {
    border: 0 !important;
    outline: 0 !important;
}

#clearX {
    width: 25px;
    /* font-size: 25px; */
}

#description {
    left: 0;
    font-size: 20px;
    width: 400px;
    border: none;
    border: solid 2px #cacaca;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
}

#description:focus {
    border: solid 2px #0085c5;
    outline: none;
}


/* input[type="radio"] {
    position      : fixed;
    opacity       : 0;
    pointer-events: none;
} */

#polls_section {
    text-align: left;
    margin-left: 10px;
}

#polls_section {
    overflow: auto;
    max-height: 400px;
}

#enable_add_option {
    box-sizing: border-box;
}

textarea {
    resize: none !important;
    padding: 0 !important;
}

.option {
    width: 205px;
    border: none;
    border-bottom: solid 2px #cacaca;
    transition: all 0.2s ease-in-out;
    background-color: #f8f9fa;
}

.option:focus {
    border-bottom: solid 2px #0085c5;
    outline: none;
}

.animate__animated.animate__pulse {
    --animate-duration: 0.02s;
}

.poll-graph {
    margin: auto;
    display: block;
    box-sizing: border-box;
    height: 250px !important;
    width: 250px !important;
    min-height: 250px !important;
    min-width: 250px !important;
    margin-top: 10px;
}

#poll-desc {
    font-size: 25px;
    border: none;
    outline: none;
    width: 100%;
}

.x_scroll {
    max-width: 99%;
    overflow-y: hidden;
    overflow-x: auto;
}

.graph-container {
    text-align: center;
    width: 50%;
    height: 50%;
}

.option-label {
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    border-radius: 4px;
    border: solid 2px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

#poll_date {
    border: solid 2px #cacaca;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    outline: none;
    width: 150px;
}

#poll_date:focus {
    outline: none;
    border: solid 2px #0085c5;
}

.btn-secondary:focus,
.btn-secondary.focus,
.btn-secondary:active,
.btn-secondary.active {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus,
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.show>.btn-secondary.dropdown-toggle:focus {
    box-shadow: none;
}

.dropdown:hover {
    transform: none;
}

.dropdown-item,
.dropdown-item:hover,
.dropdown-item:active {
    width: auto;
    background-color: #fff;
    color: #3b3b3b;
}

.description {
    text-align: left !important;
    padding-bottom: 10px;
}

.flex_poll {
    display: flex;
    padding-top: 5px;
}

.options_div {
    width: 50%;
}

#poll-title {
    font-weight: bold;
    font-size: 30px;
}

.horizontal_line {
    width: 100%;
    margin: 0;
}

#toggle_create_poll,
#toggle_poll {
    border: none;
    min-height: 30px;
    width: 30%;
}

#poll_buttons {
    display: inline-block;
}

.option_container {
    padding: 5px;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.create_poll_text {
    padding: 5px;
}

@media only screen and (max-device-width: 600px) and (orientation: portrait) { 
    .btn:not(:disabled):not(.disabled) {
        font-size: 20px;
    }
}