body {
    background-color: #c3c3c3;
}

.clearfix:after {
    clear: both;
    display: block;
    content: "";
}

.dotted {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
}

.jquery-modal.blocker {
    z-index: 9998;
}

.jquery-modal.modal {
    z-index: 9999;
}

/* The switch - the box around the slider */
.s-checkbox {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 24px;
}

/* Hide default HTML checkbox */
.s-checkbox input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.s-checkbox > span {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.s-checkbox > span:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 5px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.s-checkbox > input:checked + span {
    background-color: #021d6b;
}

.s-checkbox > input:focus + span {
    box-shadow: 0 0 1px #021d6b;
}

.s-checkbox > input:checked + span:before {
    -webkit-transform: translateX(19px);
    -ms-transform: translateX(19px);
    transform: translateX(19px);
}

#container {
    width: 1400px;
    margin: 20px auto;
    background: #e4e4e4;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    min-height: 500px;
    overflow: hidden;
}

#soundsList {
    height: 400px;
    overflow-y: scroll;
    padding: 0 20px;
}

#soundsList table {
    width: 100%;
}

#soundsList table thead tr td {
    font-weight: bold;
    padding-bottom: 5px;
}

#soundsList table tbody tr:hover td {
    color: green;
}

.material-play-button:hover {
    color: #d30000;
    cursor: pointer;
}

#soundsListSearch {
    position: relative;
    float: left;
    width: 300px;
}

#search {
    margin: 20px;
    padding: 8px;
    border: 1px solid #333333;
    border-radius: 5px;
    width: 250px;
    outline: none;
}

#searchBar {
    position: absolute;
    bottom: 21px;
    left: 22px;
    width: 265px;
    height: 3px;
    background: #00c9d3;
    display: none;
    border-radius: 5px;
}

.material-select-button:hover {
    color: #030fd5;
    cursor: pointer;
}

/* MIXER */

#mixer {
    width: 100%;
    height: 400px;
    background: #FFFFFF;
    position: relative;
}

#timeline {
    position: absolute;
    width: 1200px;
    height: 2px;
    background: #a10000;
    bottom: 40px;
    right: 20px;
}

#timelineBarsContainer {
    position: absolute;
    left: 178px;
    top: 0;
}

.timelineBars {
    position: absolute;
    top: 40px;
    left: 20px;
    width: 10px;
    height: 20px;
    z-index: 9;
}

.timelineBars > div:first-child {
    background: #c9d2ff;
    width: 2px;
    height: 330px;
}

.timelineBars > div:nth-child(2) {
    margin-left: -4px;
}

#channelPadding {
    width: 100%;
    height: 2px;
    padding-top:40px;
}

.channel {
    width: 100%;
    height: 45px;
    background: #e4e4e4;
    margin-top: 15px;
    position: relative;
}

.channel_name {
    margin-left: 20px;
    font-size: 12px;
    text-transform: uppercase;
    padding-top: 2px;
    color: #021d6b;
    font-weight: bold;
    width: 160px;
}

.channel_track_name {
    margin-left: 5px;
    padding-top: 2px;
    width: 160px;
}

.channel_track_setting {
    display: none;
    position: absolute;

    top: 1px;
    left: 1px;

    font-size: 5px;
    cursor: pointer;
}

.channel_track_setting .material-icons {
    font-size: 17px;
}

.channelSettings {
    display: none;
    width: 1224px;
    height: 140px;
    position: absolute;
    background: #ffffff;
    z-index: 99;
    top: 45px;
    right: -1px;
    border: 1px solid #a7a7a7;
    border-radius: 5px;
    padding: 15px;
}

.channelSettings_type > div:first-child {
    margin-bottom:15px;
}

.channel_track_drowable {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 1200px;
    height: 9px;
    z-index: 9;
    border-radius: 10px;
}

.channel_track_drowable_chunk {
    height: 9px;
    position: absolute;
    top: 0;
    left: 10px;
    border-radius: 10px;
    z-index: 9;
}

.channelSettings_type {
    width: 200px;
    float: left;
    height: 145px;
    border-right: 1px solid #9a9a9a;
}

.channelSettings_full_details {
    width: 960px;
    float: left;
    display: none;
    padding-left: 15px;
    height: 108px;
}

.channelSettings_chunk_details {
    width: 960px;
    float: left;
    padding-left: 15px;
    height: 108px;
}

.channelSettings_full_volume {
    width: 85px;
}

.channelSettings_volume > div:first-child {
    float: left;
    width: 100%;
}

.channelSettings_volume > div:nth-child(2),
.channelSettings_volume > div:nth-child(4) {
    width: 20px;
    height: 20px;
    float: left;
    text-align: center;
    cursor: pointer;
}

.channelSettings_volume > div:nth-child(3) {
    width: 40px;
    height: 20px;
    float: left;
    text-align: center;
}

.channelSettings_chunk_add_seconds,
.channelSettings_chunk_add_volume {
    padding: 3px 8px;
    border: 1px solid #adadad;
    border-radius: 5px;
    max-width: 100px;
}

.channelSettings_chunk_add_button {
    margin-top: 15px;
    padding: 5px 15px;
    border-radius: 5px;
    border: 1px solid #adadad;
    cursor: pointer;
}

.channelSettings_chunk_add > div:nth-child(3) {
    margin-top: 9px;
}

.channelSettings_chunk_add {
    float: left;
    width: 150px;
}

.channelSettings_chunk_list {
    float: left;
    width: 790px;
    margin-left: 10px;
    height: 142px;
    overflow: auto;
}

.channelSettings_chunk_list > div {
    width: 210px;
    float: left;
}

.channelSettings_chunk_list > div > div:nth-child(2) {
    width: 180px;
    float: left;
}

.channelSettings_chunk_list > div > div:first-child {
    width: 30px;
    float: left;
}

.channelSettings_chunk_list > div > div:first-child button {
    cursor: pointer;
}

.channelSettings_type > div:nth-child(3) {
    margin-top: 50px;
}

.channelSettings_deleteChannel {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #b50000;
    background: #b50000;
    color: #FFFFFF;
    font-weight: bold;
    cursor: pointer;
}

.channelSettings_closeSettings {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #a99c02;
    background: #a99c02;
    color: #FFFFFF;
    font-weight: bold;
    cursor: pointer;
}


#executeButtons {
    margin-top: 15px;
    margin-left: 10px;
}

#executeButtons button {
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}

#button_play {
    color:green;
    border: 1px solid green;
}

#button_generate {
    color:purple;
    border: 1px solid purple;
}

#clockBar {
    background: red;
    width: 2px;
    height: 330px;
    position: absolute;
    top: 40px;
    left:0;
    z-index: 10;
    opacity: 0.4;
}

#addCustomSound {
    float: right;
    width: 200px;
    text-align: right;
    padding-right: 20px;
}

#addCustomSoundBtn {
    margin-top: 20px;
    padding: 7px;
    border-radius: 5px;
    border: 1px solid #00656a;
    color: #00656a;
    background: #ffffff;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
}

#addCustomSoundBtn:hover {
    background: #00656a;
    color: #ffffff;
}

#addCustomSoundModal h2,
#generateLoopModal h2 {
    text-align: center;
}

.addCustomSoundBlock {
    margin-bottom: 15px;
}

.addCustomSoundBlock label {
    display: block;
    font-weight: bold;
}

.addCustomSoundBlock input {
    width: 80%;
    border-radius: 5px;
    border: 1px solid black;
    margin-top: 5px;
    padding: 5px;
}

.modalActions {
    margin-top: 10px;
    text-align: center;
}

.modalButton {
    padding: 5px;
    border-radius: 5px;
    background: #ffffff;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 0 15px;
    font-size: 15px;
}

.modalCancelButton {
    border: 1px solid #807400;
    color: #807400;
}

.modalCancelButton:hover {
    background: #807400;
    color: #ffffff;
}

.modalSubmitButton {
    border: 1px solid #118000;
    color: #118000;
}

.modalSubmitButton:hover {
    background: #118000;
    color: #ffffff;
}

#apiError {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 6px);
    text-align: center;
    background: #c10d0d;
    padding: 3px;
    border-radius: 5px;
    color: #FFFFFF;
    font-weight: bold;
    display: none;
}

.generateLoopLabel {
    text-align: center;
}

#generateLoopSlider {
    margin: 20px 0 40px 0;
}

#generateLoopSliderOutput {
    text-align: center;
    margin-bottom: 30px;
}

#generateLoopSliderOutputTimes,
#generateLoopSliderDuration {
    font-weight: bold;
}
