/* testovaci verze record formu */
#RFButtons {margin-top: 22px;}
#RFButtons a, .RFlinks a {display: block;text-decoration: none;padding: 8px 12px;color: white;font-weight: normal;line-height: 1.4;transition: background-color 0.5s;margin: 10px 20px;}
#RFButtons a:last-of-type {margin-bottom: 0;}
#RFButtons a .addition, .RFlinks a .addition {display: block;font-size: 12px;}
#RFButtons a[data-type=cashin], .RFlinks a[data-type=cashin] {background-color: #4caf50;}
#RFButtons a[data-type=cashout], .RFlinks a[data-type=cashout] {background-color: #e91e63;}
#RFButtons a[data-type=note], .RFlinks a[data-type=note] {background-color: #2196f3;}
#RFButtons a.inactive {background-color: #777777;color: white;}
#RFLayer {background-color: rgba(0,0,0,0.5);position: absolute;left: 0;top: 0;z-index: 600;height: 100%;width: 100%;display: none;}


.RF,
#RF-result-popup-form {
    position: absolute;
    z-index: 605;
    top: 30px;
    left: 50%;
    margin-left: -350px;
    width: 700px;
    background: white;
    display: none;
    padding: 20px;
    border-top: 15px solid;
}

#RF-result-popup-form {
    border-color: #ff9933;
}

.RF[data-type=rent] {border-color: #4caf50;}
.RF[data-type=cashin] {border-color: #4caf50;}
.RF[data-type=cashout] {border-color: #e91e63;}
.RF[data-type=note] {border-color: #2196f3;}

.RF a.close,
#RF-result-popup-form a.close {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: url(../img/ui/icon-close.png) center center no-repeat;
    background-size: 11px 11px;
    text-indent: -100em;    
}
#RF-result-popup-form {border-color: #4caf50;}

.RF .secondStep {display: none;}
.RF .currency-mark {margin-left: 10px;}
.RF input[type=number] {width: 120px;padding: 5px 0 5px 10px;}
#RFCover .empty-message {height: 100%;width: 100%;position: absolute;top: 22px;left: 0;background-color: rgba(0,0,0,0.7);text-align: center;color: white;display: none;-webkit-transform-style: preserve-3d;-moz-transform-style: preserve-3d;transform-style: preserve-3d;}
#RFCover .empty-message p {position: relative;top: 50%;-webkit-transform: translateY(-50%);-ms-transform: translateY(-50%);transform: translateY(-50%);margin: 0;padding: 0 15px;}
.RF a.add {margin-top: 8px;}
.RF .field-record_type {margin-bottom: 0;margin-left: 175px;}
.RF .field-record_type label {width: auto;position: relative;margin-bottom: 0;display: block;}
.RF .field-record_type label .quickHint {visibility: hidden;font-size: 12px;font-weight: normal;margin-left: 27px;position: relative;top: -3px;display: block;}
.RF .field-record_type label:hover .quickHint {visibility: visible;}
.RF .RFlink2 {float: right;font-weight: normal;font-size: 13px;margin-top: 7px;}
.RFlinks {margin: 0;}
.RFlinks li {list-style: none;float: left;margin-right: 15px;}
.RFlinks a {margin: 0;min-width: 210px;}

.tenant-balance-form button {background: #4caf50;border: 0;color: white;margin-top: 0;}
.tenant-balance-form button:hover {background: #2e8232;}
.tenant-balance-form button:active {background: #17541a;}
.tenant-balance-form a.close-link {margin: 0 0 0 30px;font-weight: normal;}

@media (max-width: 1250px) {
    #page {height: auto;}
    #lc {float: none;width: 100%;overflow: initial;height: auto;}
    #lc h2 {border: 0;float: left;line-height: 50px;font-size: 13px;margin: 0 20px 0 23px;}
    #lc .filterInput {float: left;width: 300px;margin: 8px 0;}
    #lc .list {display: none !important;}
    #filterCover {display: none;}
    #main {float: none;width: 100%;padding-bottom: 25px;padding-top: 41px;}
    #RFButtons {margin-top: 0;}
    #RFButtons a {float: left;width: 33.3333334%;margin: 0;display: table-cell;height: 41px;}
    #RFButtons a span.name {position: relative;top: 50%;transform: translateY(-50%);display: block;}
    #RFButtons a .addition {display: none;}
}
