﻿.cat-upper-content.cat-dataform {
    overflow: auto;
}

.cat-dataform {
    overflow-y: auto;
    /*overflow-x: hidden;*/
    padding-left: 15px;
    padding-bottom: 15px;
    height: 100%;
}

.cat-row-divider {
    height: 15px;
}

.cat-sub-form .cat-dataform {
    overflow-y: visible;
    overflow-x: visible;
}

.cat-dataform .container {
    height: 100% !important;
}

.cat-full-height {
    height: 100%;
}

.cat-vertical-center {
    display: flex;
    align-items: center;
    height: 100%;
}

    .cat-vertical-center * {
        width: 100%;
    }

.cat-full-screen-container, .cat-dataform > .cat-form-view-tree-item:not(.cat-repeater) {
    height: 100%;
}

.modal-dialog .cat-full-screen-container, .modal-dialog .cat-dataform > .cat-form-view-tree-item:not(.cat-repeater) {
    overflow-y: auto;
}

.cat-no-padding {
    padding-left: 0px;
    padding-right: 0px;
}

.cat-repeater-container {
    height: 100%;
    width: 100%;
}

.cat-auto-scroll {
    overflow: auto;
}

.cat-has-hover:hover {
    cursor: pointer;
    text-decoration: underline;
}

.cat-y-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    padding: 15px;
}

.cat-repeater-search {
    height: 40px;
}

.cat-repeater-content {
    height: calc(100% - 15px);
    overflow: auto;
    padding-right: 15px;
}

.cat-repeater-search #searchinput {
    width: 100%;
}

.cat-control-container .pmd-textfield textarea.form-control {
    height: calc(100% - 40px);
    resize: none;
}

.control-label {
    font-weight: bold !important;
    text-transform: uppercase;
}

.double, .date {
    text-align: right;
}

.input-group-addon {
    background-color: transparent;
    border: none;
}

textarea.cat-form-designer, textarea.cat-form-designer:active, textarea.cat-form-designer:focus, textarea.cat-form-designer:hover {
    border: none !important;
    width: 100%;
    padding: 0px !important;
    outline: 0px !important;
    -webkit-appearance: none;
    height: 100%;
}

.cat-repeater-row > .container > .row > div, .cat-repeater-row > .container > .row > div > div {
    height: 100%;
}

.cat-repeater-row > .container > .row {
    height: 80px;
}

.cat-dataform button {
    margin-top: 11px;
}

.cat-dataform .form-group button {
    margin-top: 0px;
    border: solid 1px;
    border-color: #e6e6e6;
}

    .cat-dataform .form-group button + * {
        padding-left: 5px;
    }

    .cat-dataform .form-group button + input {
        padding-bottom: 0px;
        margin-bottom: -1px;
    }

.cat-repeater-item input {
    border: none !important;
}

.cat-repeater-item {
    /*height: 200px;*/
    width: 100%;
    float: left;
    margin-right: 15px;
    margin-bottom: 5px;
    border: 1px solid;
    border-color: transparent;
}

    .cat-repeater-item.active {
        border: 1px solid;
        border-color: #517398;
    }

    .cat-repeater-item:hover:not(.active) {
        cursor: pointer;
        border: 1px solid;
        border-color: lightgray;
    }

/* SVe 11.10.2018, radiobutton -> override the original styling from forms.less , because the row is too much height */
div.row div.form-group {
    margin-bottom: 0 !important;
}

.cat-msg-page .cat-word-Section1 {
    margin: 0px 0px !important;
}

.cat-word-page {
    min-height: 297mm;
    width: 210mm;
    position: relative;
    background: #fff;
    margin: auto;
    margin-top: 15px;
    padding: 15px;
    box-shadow: 0px 2px 38px rgba(0, 0, 0, 0.2);
}

.cat-word-Section1 {
   margin: 30px 70px !important;
}

.cat-word-page > div > div:last-child {
    position: absolute;
    bottom: 15px;
}



.cat-word-page .cat-word-Header > span {
    display: initial !important;
}

    .cat-word-page .cat-word-Header > span:first-child {
        float: left;
        display: inline-block !important;
    }

    .cat-word-page .cat-word-Header > span:last-child {
        float: right;
        display: inline-block !important;
    }

.cat-word-page .cat-word-Footer > span,
.cat-word-page .cat-word-Header > span {
    z-index: 10 !important;
    opacity: 0.4;
    border-color: gainsboro !important;
}

.cat-pdf-page {
    min-height: 297mm;
    width: max-content;
    position: relative;
    margin: auto;
    margin-top: 15px;
    padding: 15px;
}

    .cat-pdf-page .stl_ {
        background: #fff;
        margin-top: 15px;
        box-shadow: 0px 2px 38px rgba(0, 0, 0, 0.2);
    }

/*.cat-word-page:after, .cat-word-page:before {
        content: '';
        position: absolute;
        left: auto;
        background: none;
        z-index: -1;
    }

    .cat-word-page:after {
        width: 90%;
        height: 10px;
        top: 30px;
        right: 8px;
        -webkit-transform: rotate(-3deg);
        -moz-transform: rotate(-3deg);
        -o-transform: rotate(-3deg);
        -ms-transform: rotate(-3deg);
        transform: rotate(-3deg);
        -webkit-box-shadow: 0px -20px 36px 5px #295d92;
        -moz-box-shadow: 0px -20px 36px 5px #295d92;
        box-shadow: 0px -25px 35px 0px rgba(0,0,0,0.5);
    }*/

/*.cat-word-page:before {
        width: 10px;
        height: 95%;
        top: 5px;
        right: 18px;
        -webkit-transform: rotate(3deg);
        -moz-transform: rotate(3deg);
        -o-transform: rotate(3deg);
        -ms-transform: rotate(3deg);
        transform: rotate(3deg);
        -webkit-box-shadow: 20px 0px 25px 5px #295d92;
        -moz-box-shadow: 20px 0px 25px 5px #295d92;
        box-shadow: 22px 0px 35px 0px rgba(0,0,0,0.5);
    }*/
