
/* custom style begins */

.dhx_layout-cell.dhx_layout-columns.dhx_diagram_editor{
    height: 500px!important;
}
.main__container {
    height: calc(100% - 100px);
    display: flex;
}

.sample__container {
    height: 100%;
    width: calc(100% - 200px);
    overflow: auto;
}

.dhx_sample-controls {
    background: #fff;
}

.dhx_sample-slider__container {
    width: 350px;
}

.template {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: rgba(0, 0, 0, 0.7);
    border: 1px solid #DFDFDF;
    padding: 10px 12px;
    cursor: pointer;
}

.template span {
    display: flex;
}

.template h3,
.template p {
    text-align: left;
    font-size: 14px;
    line-height: 20px;
    height: 20px;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.template .template_container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.template .template_img-container {
    min-width: 93px;
    width: 93px;
    margin-right: 12px;
}

.template .template_img-container-medium {
    min-width: 44px;
    width: 44px;
    margin-right: 12px;
}

.template .template_img-container img,
.template_img-container-medium img {
    width: inherit;
    height: auto;
}

.template .template_icon {
    height: 20px;
    width: 20px;
    margin-right: 4px;
}

.dhx_selected .template {
    outline: 2px solid #8c8c8c;
}

.sidebar__container {
    min-width: 200px;
    min-height: 400px;
    width: 200px;
    height: 100%;
    background: #fff;
    border-left: 1px solid #DFDFDF;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.sidebar__container a {
    text-decoration: none;
    display: block;
    text-align: center;
    width: 100%;
    height: unset !important;
    line-height: 28px;
    color: #fff;
    background: #3e6c8c !important;
    border-radius: 14px;
    padding:5px 20px !important;
    margin-top: 28px;
}
.sidebar__container a:hover{
    color: #fff !important;
}
.sidebar__container span {
    font-size: 14px;
    line-height: 20px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.7);
    padding: 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: initial !important;
    display:flex;
}
.sidebar__container span p{
    margin:0px;
    margin-left:5px;
}
.sidebar__container img {
    height: 208px;
    width: auto;
    background: #8c8c8c;
    margin-bottom: 28px;
}


/* new css */

html, body, .dhx_diagram {
    background: #fff;
}
.dhx_sample-container__without-editor {
    height: calc(100% - 121px);
}
.dhx_sample-container__with-editor {
    height: calc(100% - 61px);
}
.dhx_sample-widget {
    height: 100%;
}
.toggle_container {
    position: absolute;
    right: 2px;
    top: 10px;
    cursor: pointer;
    height: 20px;
    width: 20px;
}

.dhx_diagram_template_a_box {
    background-color: transparent;
}
.dhx_diagram_template_a_box {
    padding: 0;
    border: 1px solid #dfdfdf;
    background-color: #fff;
    overflow: hidden;
}
.dhx_diagram_template_a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 12px;
}
.dhx_diagram_template_a__inside {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}
.dhx_diagram_template_a__picture {
    width: 90px;
    min-width: 90px;
    background: center center/cover no-repeat #f7f7f7;
    background-position: top;
}
.dhx_diagram_template_a__picture:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.dhx_diagram_template_a__body {
    padding-left: 12px;
    min-width: 200px;
}
.dhx_diagram_template_a__title,
.dhx_diagram_template_a__text {
    font: normal 14px/20px Roboto, sans-serif;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.dhx_diagram_template_a__title {
    text-align: start;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
}
.dhx_diagram_template_a__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 4px 0;
}
.dhx_diagram_template_a__icon {
    font-size: 18px;
    margin-right: 4px;
    color: rgba(0, 0, 0, 0.7);
}
.dhx_diagram_template_a__text {
    color: rgba(0, 0, 0, 0.7);
}
.dhx_diagram_template_a__link {
    color: #0288d1;
}
