.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content {
    overflow: hidden;
}

#mainContent {
    background: white !important;
    border: 1px solid #d4d4d4;
}

.descriptionHeader {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0 10px;
    margin-top:5px;
}

.descriptionHeader .action-message {
    border-radius: 0px;
}

.edit-box-container {
    padding: 10px;
}

.input-selector {
    position: relative;
    cursor: pointer;
    padding: 5px;
    border: 1px solid #dad8d9;
    width: 42px;
    height: 40px;
    border-radius: 0 3px 3px 0;
    background: rgb(255, 255, 255);
    margin-left: 4px;
}

.input-selector-list {
    display: none;
}

.input-selector-list ul {
    position: absolute;
    right: 3px;
    top: 46px;
    width: 160px;
    text-align: right;
    padding: 5px;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0px 0px 6px #00000040;
    z-index: 1;
}

.input-selector-list ul li img {
    width: 20px;
    margin-left: 10px;
    opacity: 0.6;
}

.input-selector-list ul li {
    cursor: pointer;
    direction: rtl;
    padding: 5px;
}

.input-selector-list ul li:not(:last-child) {
    border-bottom: 1px solid #00000052;
}

.input-selector-list ul li:hover {
    background-color: #e6e6e6;
}

.input-selector .fa-plus {
    position: relative;
    top: 2px;
}

.input-selector:hover {
    background: #f89c1d;
}

.input-item {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
}

.input-tools {
    flex: 1 1 5%;
    display: flex;
    flex-direction: column;
}

.input-element {
    flex: 10 10 95%;
    background: #f7f7f7;
    margin-bottom: 10px;
    padding: 10px;
    min-height: 160px;
    border: 1px solid #dad8d9;
    border-radius: 3px;
}

.input-element textarea {
    border-radius: 3px;
    width: 100%;
    min-height: 200px;
    resize: vertical;
    border: none;
    padding: 10px;
    background: #f7f7f7;
}

.input-tools>div:hover .tooltip {
    display: block;
}

.input-tools>div {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    margin-bottom: 5px;
}

.input-remove {
    flex-basis: 50px;
    background: #f27a7c;
    color: white;
    margin-right: 5px;
    border-radius: 3px 0 0 0;
}

.input-move {
    flex-basis: 50px;
    background: darkgrey;
    color: white;
    border-radius: 0;
    margin-right: 5px;
}

span.tooltip::after {
    display: none;
}

span.tooltip {
    display: none;
    position: absolute;
    visibility: visible !important;
    opacity: 1 !important;
    left: 0px;
    top: 52px;
    z-index: 22;
    background: #000000ad;
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
    transition: all 400ms ease-in-out;
}

.input-add-listItem {
    flex-basis: 50px;
    background: #67ce72;
    color: white;
    margin-right: 5px;
    border-radius: 0 0 0 5px;
}

.input-item[data-typeid="2"] .input-element ul li {
    list-style-type: decimal;
    direction: rtl;
    list-style-position: inside;
}

.input-item[data-typeid="1"] .input-element ul li {
    list-style-type: disc;
    direction: rtl;
    list-style-position: inside;
}

.description-body {
    padding: 10px 0;
}

.description-body pre {
    font-family: 'iransansweb';
    font-size: 14px;
    text-align: justify;
    direction: rtl;
    white-space: normal;
}

.description-body ol>li {
    list-style-type: decimal;
    list-style-position: inside;
    text-align: right;
    direction: rtl;
    margin-bottom: 5px;
}

.description-body ul>li {
    list-style-type: disc;
    list-style-position: inside;
    text-align: right;
    direction: rtl;
    margin-bottom: 5px;
}

.input-element ul li input {
    width: calc(100% - 21px);
    border: none;
    height: 40px;
    line-height: 40px;
    padding: 5px;
    background: #f7f7f7;
}

.input-selector-container {
    position: relative;
}

.article-section ul {
    width: 100%;
    flex: 0 0 100%;
    font-size: 14px;
}

.article-section .section-title {
    width: 100%;
    flex: 0 0 100%;
    text-align: right;
    font-weight: bold;
}

.article-section .section-title .edit-section {
    margin-right: 5px;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    width: 25px;
    height: 25px;
    text-align: center;
}

.input-item {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.input-selector-list li.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.edit-item:hover,
.edit-section:hover,
.add-item:hover {
    color: #f89e1e;
}

button.edit-item,
.add-item {
    background: transparent;
    margin-right: 5px;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    width: 25px;
    height: 25px;
    text-align: center;
}

.article-section input {
    background: #f7f7f7;
    border: 1px solid #dad8d9;
    padding: 5px;
    margin-left: 5px;
    height: 35px;
    min-width: 20vw;
    border-radius: 3px;
}

button.remove-item {
    background: #f2797b;
    position: absolute;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 3px;
    color: white;
    cursor: pointer;
}
.link-resize
{text-align: right;
padding: 0 10px;
margin-top:30px;}