/**
 * @version 0.1
 * @author Bern Taylor
 */

@media screen and (max-width: 360px) {

    .gtdb_github,  #gtdb_htz432_wrap{
        display: none!important;
    }
    .gtdb_btn_plug {
        margin-right: 0!important;
    }
    select#gtdb_sound_select {
        width: 51px;
    }
}

@media screen and (min-width: 361px) and (max-width: 720px) {
    .gtdb_play_note {
        font-size: 3.5em!important;
    }
}

@media screen and (min-width: 721px) and (max-width: 1280px) {
    .gtdb_play_note {
        font-size: 4em!important;
    }
}

@media screen and (min-width: 1281px) and (max-width: 1440px) {
    .gtdb_play_note {
        font-size: 4.5em!important;
    }
}

@media screen and (min-width: 1441px) and (max-width: 1920px) {
    .gtdb_play_note {
        font-size: 5em!important;
    }
}

@media screen and (min-width: 1921px) {
    .gtdb_play_note {
        font-size: 5em!important;
    }
}
#gtdb_tuner_wrapper {
    font-family: sans-serif;
    height: 110px;
    /*min-width: 270px;*/
}

.gtdb_play_note_container {
    padding: 0;
    margin: 0 0 2px 0;
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row;
    justify-content: space-between;
    line-height: 30px;
}

.gtdb_play_note {
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    background: black;
    color: white;
    font-weight: bold;
    font-size: 3em;
    text-align: center;
    flex: 1 0 auto;
    height: 79px;
    cursor: pointer;
}

.gtdb_play_note:before {
    content: '';
    float: left;
    padding-top: 100%;
}
.gtdb_gap {
    width: 2px;
}
.gtdb_play_note.gtdb_active {
    background-color: green;
}

div#gtdb_tuner_buttons_footer {
    font-size: 10px;
}

.gtdb_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33px;
    height: 27px;
    background-color: black;
    color: white;
    cursor: pointer;
    margin: 0 2px 2px 0;
    font-size: 10px;
    border-bottom: 2px solid transparent !important;
}

.gtdb_btn_plug {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 51px;
    height: 27px;
    background-color: black;
    color: white;
    cursor: pointer;
    margin: 0 2px 2px 0;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    padding-right: 0;
    margin-left: auto;
    flex-grow: 1;
    border-bottom: 2px solid transparent !important;
}
div.gtdb_btn.gtdb_active {
    background-color: green;
}

div#tuner_buttons_footer {
    display: flex;
    justify-content: start;
}
span.gtdb_stop {
    background-color: white;
    width: 11px;
    height: 11px;
}
.gtdb_loop_btn {
    /*transform: rotate(-90deg);*/
    font-size: 21px;
    font-weight: bold;
    user-select: none;
}

.gtdb_onebyone_btn {
    font-size: 12px;
    font-weight: bold;
    user-select: none;
}

div#sounds_switch_wrap {
    display: flex;
    justify-content: start;
    margin-right: 2px;
}

.gtdb_sound_switch {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    white-space: nowrap;
}
select#gtdb_sound_select {
    margin-bottom: 2px;
    border: 4px solid black;
    font-size: 11px;
    font-weight: bold;
}
#gtdb_sound_select {
    border-color: #000000!important;
    background-color: #000000;
    color: #ffffff;
}
div#gtdb_htz432_wrap {
    margin-left: -2px;
}
.gtdb_htz_btn  {
    user-select: none;
}


/* The Modal (background) */
.gtdb_modal_modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.gtdb_modal_modal-content {
    background-color: #fefefe;
    margin: 14px auto;
    padding: 8px;
    border: 1px solid #888;
    width: 80%;
}

.gtdb_modal_close {
    color: #777;
    float: right;
    font-size: 29px;
    font-weight: bold;
    line-height: 21px;
}

.gtdb_modal_close:hover,
.gtdb_modal_close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
div.gtdb_buffering {
    /*background-image: url(/images/loading.png)!important;*/
    background-repeat: no-repeat!important;
    background-position: center!important;
    /*background-size: contain;*/
}
