﻿:root {
    --ipd-cti-height:353px;
    --ipd-cti-width:264px;
    --ipd-cti-head-height:42px;
    --ipd-cti-width:264px;
    --ipd-btnbar-height:32px;
    --ipd-splitter-height:10px;
}

body {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    width: 100vw;
    height: 100vh;
    font-family: Arial, sans-serif;
    font-weight: 300;
    color: var(--accent-font-color);
    overflow: hidden; 
}
div {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    position: relative;
}
    div.ui {
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-rows: 5px var(--ipd-cti-height) var(--ipd-splitter-height) 20px 1fr calc(var(--ipd-splitter-height) + var(--ipd-btnbar-height)) var(--ipd-splitter-height) 20px 1fr 25px calc(var(--ipd-splitter-height) + var(--ipd-btnbar-height)) 5px;
        grid-template-columns: 5px 1fr 5px;
        grid-template-areas:
            "space1 space1 space1"
            "space2 cti-panel space3"
            "space2 objectsplitter space3"
            "space2 objects-head space3"
            "space2 objects-main space3"
            "space2 objects-foot space3"
            "space2 commentsplitter space3"
            "space2 comment-head space3"
            "space2 comment-main space3"
            "space2 comment-foot-remote-partys space3"
            "space2 comment-foot space3"
            "space4 space4 space4";
    }
    div.ui-iagent {
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-rows: 5px var(--ipd-cti-height) 1fr;
        grid-template-columns: 5px 1fr 5px;
        grid-template-areas:
            "space1 space1 space1"
            "space2 cti-panel space3"
            "space4 space4 space4";
    }
div.space1 {
    grid-area: space1;
}
div.space2 {
    grid-area: space2;
}
div.space3 {
    grid-area: space3;
}
div.space4{
    grid-area: space4;
}


div.cti-panel {
    height: var(--ipd-cti-height);
    grid-area: cti-panel;
}

    div.objectsplitter {
        grid-area: objectsplitter;
    }

div.commentsplitter {
    grid-area: commentsplitter;
}


div.buttonBar {
    height: var(--ipd-btnbar-height);
    margin: 0 auto 0 auto;
    overflow: hidden;
}
div.buttonBarWithTopSplitter {
    height: calc(var(--ipd-splitter-height) + var(--ipd-btnbar-height));
    margin: 0 auto 0 auto;
    overflow: hidden;
}
div.buttonBarWithTopBottomSplitters {
    height: calc(var(--ipd-splitter-height) + var(--ipd-btnbar-height) + var(--ipd-splitter-height));
    margin: 0 auto 0 auto;
    overflow: hidden;
}
.buttonBarRight {
    float: right;
}
.buttonBarRightFlex {
    margin-left: auto;
    order: 2;
}


div.cti-card {
    width: var(--ipd-cti-width);
    margin: 0 auto 0 auto;
    background: #fff;
    display: none;
}


div.cti-card-head {
    height: var(--ipd-cti-head-height);
    margin: 0 auto 0 auto;
}
div.cti-card-main {
    height: 260px;
    margin: 2px auto 2px auto;
    padding: 3px 0 3px 0;
}

div.cti-card-foot {
    height: calc(var(--ipd-splitter-height) + var(--ipd-btnbar-height));
    margin: 0 auto 0 auto;
}

div.objects-head {
    grid-area: objects-head;
    display: none;
}

div.objects-main {
    grid-area: objects-main;
    margin: 0 12px 6px 12px;
    display: none;
}

div.objects-foot {
    grid-area: objects-foot;
    margin: 0 8px 0 12px;
    display: none;
}

div.comment-head {
    grid-area: comment-head;
    display: none;
  }
  div.comment-main {
    grid-area: comment-main;
    margin:0 12px 6px 12px;
    display: none;
  }
  div.comment-foot {
    grid-area: comment-foot;
    margin:0 8px 0 12px;
    display: none;
  }

 div.comment-foot-remote-partys
  {
    grid-area: comment-foot-remote-partys;
    margin:5px 6px 0 12px;
  }




.horizontalSplitterDiv {
    height: 0px;
    padding: 5px 0 5px 0;
}
.horizontalSplitter {
    border: 1px solid var(--accent-bg-color);
    margin: 0 0 0 0;
    display: flex;
}

.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: not-allowed;
}


.btn {
    border-radius: 50px 50px 50px 50px;
    width: 45px;
    height: 30px;
    text-align: center;
    float: left;
    box-sizing: border-box;
    padding: 5px 3px 0 0;
    margin: 0 7px 10px 7px;
    border: none;
    cursor: pointer;
    font-size: 19px;
}
.btn.right {
    float:right;

}

    .btn.green {
        background: #5CDB74;
        color: white;
    }

    .btn.red {
        background: #f50707;
        color: white;
    }


.cardSplitter {
    height: 10px;
    margin: 0 auto 0 auto;
    position: relative;
    padding: 0 0 0 0;
}
.lowercards {
    background: #fff;
}

.lowercard {
    width: 252px;
    margin: 0 auto 0 auto;
    position: relative;
    padding: 0 0 0 0;
    background: #fff;
}

.width-machine {
    /*   Sort of a magic number to add extra space for number spinner */
    padding: 0 1rem;
}

textarea {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    resize: none;
    min-height: 40px;
    line-height: 20px;
}

.buttonBarWithSplitter {
    height: 47px;
    margin: 0 auto 0 auto;
    position: relative;
    padding: 0 0 0 0;
}

.ctiTypeOfCall{
    height: var(--ipd-cti-head-height);
    width: var(--ipd-cti-width); 
    position: relative;
    color: var(--accent-header-color);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

.authHeader {
    height: var(--ipd-cti-head-height);
    width: var(--ipd-cti-width);
    position: relative;
    color: var(--accent-header-color);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}