/*!
CSS      Module JS for CD Collector App
Version  1.0
Date     29.09.2022
(C) 	 2022 / www.studio50.ch
*/
/*
    
    SimCDC3 Module JS for CD Collector App
    (c) Studio50
    29.09.2022

*/

.cdc_brandFont {
    font-family: 'irisUPC', 'Tahoma', sans-serif;
    color: #333333;
    padding: 0px;
    margin: 0px;
    line-height: 24px;
}

/* Canvas with CD and drawing pie */
#cdc_CanvasContainer {
    background-color: #FAFAFA; /* 250 */
    width: 100%;
    height: auto;
    position: relative;
}

#cdc_CounterStatistics {
    margin: 0 auto;
    width: 100%;
    font-size: 0.8rem;
    color: #c0c0c0;
}

.cdc_Canvas {
    background-color: transparent;
    top: 40px;
    left: 40px;
    height: 400px;
    width: 400px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: 400px 400px;
}

/* Customer CD Title and Text */
.cdc_title {
    position: relative;
    top: 65%;
    width: auto;
    text-align: center;
    background-color: transparent;
    font-size: 85px;
    line-height: 65px;
    color: #83B421;
    font-weight: 100;
}

.cdc_text {
    position: relative;
    top: 67%;
    width: auto;
    text-align: center;
    background-color: transparent;
    font-size: 30px;
    line-height: 20px;
    color: #83B421;
    font-weight: 100;
}

/* nav- and selection buttons */
.cdc_nav_Item:hover {
    cursor: pointer;
    background-color: #f0f0f0;
}

/* CD Surface Selector Buttons */
#cdc_surfacebtnglossy {
    cursor: pointer;
    padding: 4px;
    background-repeat: no-repeat;
    background-size: 34%;
    background-position: center center;
}

#cdc_surfacebtnmatte {
    cursor: pointer;
    padding: 4px;
    background-repeat: no-repeat;
    background-size: 34%;
    background-position: center center;
}

#cdc_surfacebtnsilver {
    cursor: pointer;
    padding: 4px;
    background-repeat: no-repeat;
    background-size: 34%;
    background-position: center center;
}

.cdc_SurfaceBtn_active {
    background-color: #f0f0f0;
}

/*
                Navigation
        */
.cdc_navContainer {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #c0c0c0;
}

/* Grid for nav */
.cdc_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-gap: 0px 0px; /* rows gap, cols gap */
}

.cdc_navBG {
    height: 80px;
    min-width: 100%;
    background-repeat: no-repeat;
    background-size: 60px 60px;
    background-position: center;
    cursor: pointer;
}

    .cdc_navBG:hover {
        background-color: #f0f0f0;
    }

.nav_active {
    background-color: #f0f0f0;
}

.nav_active_label {
    background-color: #c0c0c0;
}


.cdc_nav_title {
    text-align: center;
    font-weight: bold;
}

.cdc_nav_reset {
    background-size: 50px 50px;
    width: 5%;
    background-image: url(/images/icons/Icon_cdc_Reset_0.svg);
}

.cdc_nav_surface {
    width: 20%;
    background-image: url(/images/icons/Icon_cdc_Surface_0.svg);
}

.cdc_nav_case {
    width: 20%;
    background-image: url(/images/icons/Icon_cdc_Case_0.svg);
}

.cdc_nav_text {
    width: 20%;
    background-image: url(/images/icons/Icon_cdc_Text_0.svg);
}

.cdc_nav_songs {
    width: 20%;
    background-image: url(/images/icons/Icon_cdc_Songs_0.svg);
}

.cdc_nav_sorting {
    width: 20%;
    background-image: url(/images/icons/Icon_cdc_Sorting_0.svg);
}

.cdc_nav_order {
    width: 20%;
    background-image: url(/images/icons/Icon_cdc_Order_0.svg);
}


@media screen and (max-width: 700px) {
    .cdc_navBG {
        height: 50px;
        background-size: 45px 45px;
    }

    .cdc_nav_title {
        font-size: 0.8rem;
    }

    body {
        padding: 5px;
    }
}

/* Base Container */
.cdc_Container {
    max-width: 900px;
    margin: 0 auto;
    background-color:#ffffff;
    padding:20px;
}

/*
            CD Case Selector Buttons

            cdc_casebtnlinen
            cdc_casebtnblack
            cdc_casebtnwhite
            cdc_casebtntransparent

        */
#cdc_casebtnlinen {
    cursor: pointer;
    padding: 4px;
    background-repeat: no-repeat;
    background-size: 34%;
    background-position: center center;
}

#cdc_casebtnblack {
    cursor: pointer;
    padding: 4px;
    background-repeat: no-repeat;
    background-size: 34%;
    background-position: center center;
}

#cdc_casebtnwhite {
    cursor: pointer;
    padding: 4px;
    background-repeat: no-repeat;
    background-size: 34%;
    background-position: center center;
}

#cdc_casebtntransparent {
    cursor: pointer;
    padding: 4px;
    background-repeat: no-repeat;
    background-size: 34%;
    background-position: center center;
}


/* Custom Text Fields */
#cdc_customtitle {
    font-weight: bold;
    border: 1px solid #c0c0c0;
    width: 300px;
    text-align: center;
    font-size: 120%;
}

#cdc_customtext {
    border: 1px solid #c0c0c0;
    resize: none;
    width: 300px;
    height: 70px;
    text-align: center;
}

/* cd surfce for transparency on silver cd's */
.silver {
    color: rgba(131, 180, 33, 0.7);
}
/* glossy and matte surface, no transparency */
.full {
    color: rgba(131, 180, 33, 1);
}

/*
            MP3 Player
            songPlay
            mp3_Player1_play
        */
.mp3_Player1 {
    width: 20px;
    height: 20px;
    line-height: 20px;
    min-height: 20px;
    vertical-align: middle;
    border-radius: 0px;
    padding: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    background-color: #c0c0c0;
    cursor: pointer;
}

.mp3_Player1_play {
    width: 20px;
    height: 20px;
    background-color: transparent !important;
    background-image: url(/images/player/player_Play_b1.svg);
}

.mp3_Player1_pause {
    width: 20px;
    height: 20px;
    background-color: transparent !important;
    background-image: url(/images/player/player_Pause_b2.svg);
}

    .mp3_Player1_pause:hover {
        background-color: transparent !important;
    }

.mp3_Player1_play, div.mp3_Player1_pause {
    background-size: 18px 18px;
    background-position: 7px 50%;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
}

/* Song Container */
.cdc_gridSongs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-gap: 0px 0px; /* rows gap, cols gap */
}

.song {
    height: 32px;
    border: 1px solid #666666;
    line-height: 32px;
    margin-bottom: 1px;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* song selectable */
.enabled {
    background-color: #f0f0f0;
}
/* song selected */
.selected {
    background-color: #99df3b;
}
/* song not selectable, too little time left */
.disabled {
    color: #999999;
    background-color: #cdcdcd;
    cursor: default;
}

/* div table for thse song items */
.songTitle {
    padding: 4px 10px 4px 4px;
    width: 100%;
    height: 32px;
    font-size: 0.9rem;
    color: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.songTime {
    display: table-cell;
    width: 10%;
}

.songPlay {
    cursor: pointer;
    float: right;
    width: 32px;
    height: 32px;
    background-color: #f0f0f0;
}

    .songPlay:hover {
        background-color: #f0f0f0;
    }

/*
            Song sorting
        */
.sortable {
    margin: auto;
    padding: 0;
    width: 310px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .sortable li {
        list-style: none;
        border: 1px solid #CCC;
        background: #F6F6F6;
        color: #666666;
        margin: 5px;
        padding: 5px;
        height: 22px;
        cursor: grab;
    }

/* eg for the dorting page as it is initially very short */
.cdc_pageFiller {
    height: 200px;
}
