textarea{
    resize: none !important;
}

.divbuts{
    padding: 0.5rem;
    border: 1px solid #eee;
    border-top: 0;
    border-radius: 0 0 3px 3px;
}

.night .divbuts{
    border:1px solid #444;
    border-top:0;
}

.divbuts button{
    padding: 0.4rem 1rem;
    text-align: center;
    border: 0;
    background-color: #607D8B;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

.divbuts button:nth-child(1) {
    background-color: #009688;
}

.divbuts button:nth-child(2) {
    background-color: #795548;
}

@media screen and (max-width: 390px){
    .divbuts button:nth-child(1){
        width: calc(50% - 0.25rem);
        float: left;
    }
    .divbuts button:nth-child(2){
        width: calc(50% - 0.25rem);
        float: right;
    }
    .divbuts button:nth-child(3){
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* #####################################################  */

.telersetup{
    padding: 0.25rem;
    border: 1px solid #eeeeee;
    margin-top: 0.75rem;
    border-radius: 3px 3px 0 0;
}

.night .telersetup{
    border:1px solid #444;
}

.telersetup>div{
    padding: 0.25rem;
}

.telersetup>div>div{
    margin-bottom: 0 !important;
}

/* #####################################################  */

.teleresdiv{
    border: 1px solid #eee;
    margin-top: 0.75rem;
    border-radius: 3px;
    overflow: hidden;
    display: none;
}

.night .teleresdiv{
    border:1px solid #444;
}

.teleresdiv .titles{
    height: 1.8rem;
    line-height: 1.8rem;
    padding-left: 0.5rem;
    border-bottom: 1px solid #eee;
}

.teleresdiv .titles span{
    float: right;
    cursor: pointer;
    margin-right: 0.5rem;
    color: #795548;
}

.night .teleresdiv .titles{
    color: #aaa;
    background-color: #181a1b;
    border-bottom: 1px solid #444;
}

.teleresdiv textarea{
    width: calc(100% - 1.5rem);
    height: 8rem;
    padding: 0.5rem;
    border: 1px solid #b5d6f0;
    margin: 0.75rem;
    margin-bottom: 0;
}

.night .teleresdiv textarea{
    border: 1px solid #444;
    background-color: #181a1b;
    color: #eee;
}

.teleresdivcents{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
    padding: 0.75rem;
}

.teleresdivcents>div{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0.5rem;
    border-radius: 3px;
    background-color: #e9f2fa;
    border: 1px dashed #b6d6f0;
    cursor: pointer;
}

.night .teleresdivcents>div{
    background-color: #181a1b;
    border: 1px dashed #444;
}

.teleresdivcents>div div:first-child {
    font-size: 1rem;
    font-family: 'Times New Roman', 'Songti SC', 'Noto Serif SC', serif;
    font-weight: 500;
    line-height: 1.2;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.teleresdivcents>div div:last-child {
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    padding: 0.25rem 0.1rem;
    border-radius: 6px;
    width: 88%;
    text-align: center;
    letter-spacing: 1px;
}

/* #####################################################  */

.telecodecarddiv{
    border: 1px solid #b6d6f0;
    background-color: #e9f2fa;
    padding: 1rem 0;
    border-radius: 3px;
}

.night .telecodecarddiv{
    background-color: #242424;
    border: 1px solid #444;
}

.telecodecard{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    border-radius: 6px;
    border: 1px solid #b6d6f0;
    background-color: #fff;
    padding: 1rem;
    transition: all 0.25s ease;
    margin: auto;
}

.night .telecodecard{
    border: 1px solid #444;
    background-color: #181a1b;
}

.telecodecard>div:first-child{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
}

.telecodecard>div:first-child>div.blockcent{
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.telecodecard>div:first-child>div.blockcent>span:nth-child(1){
    background: rgba(200, 220, 240, 0.3);
    padding: 0.2rem 1.4rem;
    border-radius: 40px;
    border: 1px solid rgba(160, 190, 220, 0.5);
    display: inline-block;
    margin-bottom: 1rem;
    color: #4a6a85;
}

.night .telecodecard>div:first-child>div.blockcent>span:nth-child(1){
    background-color: #181a1b;
    border: 1px solid #444;
    color: #aaa;
}

.telecodecard>div:first-child>div.blockcent>span:nth-child(2){
    font-size: 1.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    letter-spacing: -0.005em;
    display: inline-block;
}

.telecodecard>div:first-child>div:nth-child(2){
    width: 1px;
    height: 5rem;
    background: rgba(130, 155, 180, 0.3);
    border-radius: 1px;
    margin: 0 0.3rem;
    align-self: center;
    flex-shrink: 0;
}

.night .telecodecard>div:first-child>div:nth-child(2){
    background: #444;
}


/* #####################################################  */

.telecodecard>div:last-child{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(150, 175, 200, 0.25);
}

.night .telecodecard>div:last-child{
    border-top: 1px solid #444;
}

.telecodecard>div:last-child a{
    font-size: 0.7rem;
    color: #4a6a85;
    letter-spacing: 0.8px;
    padding: 0.5rem 1.5rem;
    border-radius: 60px;
    background: rgba(210, 230, 250, 0.2);
    border: 1px solid rgba(150, 180, 210, 0.3);
    transition: all 0.2s;
    display: inline-flex;
}

.night .telecodecard>div:last-child a{
    background-color: #232627;
    border: 1px solid #444;
    color: #aaa;
}

@media screen and (max-width: 510px){
    .telecodecarddiv{
        padding: 0;
        border: 0;
        background-color: transparent;
    }

    .night .telecodecarddiv{
        border: 0;
        background-color: transparent;
    }

    .telecodecard{
        max-width: 100%;
    }
}

@media screen and (max-width: 320px){
    .telecodecard>div:first-child>div.blockcent>span:nth-child(1) {
        padding: 0.2rem 0.75rem;
    }
}