#typeSelected{
    width:100%;
}
.mediaimage{
    overflow:hidden;
    height: 195px;
    position:relative;
}

.mediaimage img{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.mediatitle{
    text-align:center;
}

label.selectable{
    width:100%;
}

label.selectable input[type=radio]{
    display:none;
}

label.selectable > input:checked + .mediaoverlay{
    background:rgba(109,245,223,.5);
}

label.selectable > input:checked + .mediaoverlay div{
    opacity:1;
}

.mediaoverlay {
    width: 100%;
    display: block;
    padding: 2px;
}

.blockimagerow{
    overflow:hidden;
    height: 187px;
    position:relative;
    border:1px solid #ccc;
}

.blockimagerow .dropzone{
    height: 185px;
}

.blockimagerow img{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.blockimagerow.empty{
    background:#fff;
}

.blockimagerow.empty p{
    color:#000;
    font-size:12px;
    text-align:center;
    padding-top:90px;
}

.removeImage{
    z-index: 20;
    position: relative;
    width: 100%;
    height: 100%;
}

.removeImage:hover{
    background: rgba(255,255,255, 0.5);
}

.removeImage i{
    color:#666;
    padding-top:10px;
    padding-right:10px;
}

.removeImage i:hover{
    cursor: pointer;
    color:#000;
}

.fieldrow{
    margin:10px 0px;
}

.blockimagerowloading{
    height: 187px;
    width: 187px;
    display:block;
    border:1px solid #000;
}

.blockimagerowloading i{
    text-align:center;
    padding-bottom:8px;
    display:block;
    line-height: normal;
    margin-top:50px;
}

.blockimagerowloading p{
    text-align:center;
}

.imageactions{
    margin-top:20px;
}

.imageactions p{
    text-align:center;
}

.leftalign p{
    text-align:left;
}

label.selectable{
    border: 1px solid #ccc;
}

#mediaSearchSection{
    margin-bottom:15px;
}

.blockModal{
    height:94%;
    overflow:hidden;
}

.blockModal .modal-body{
    height:82%;
}

.blockModal .modal-body .modalcont{
    overflow:hidden;
    height:100%;
}

.blockModal #fieldsRow{
    min-height:500px;
    overflow-y:auto;
    padding-bottom:20px;
    height:100%;
}

span.error,
p.error{
    color:#f00;
}

#selectOption{
    text-align:center;
}

#selectOption h3{
    margin-top:50px;
}

.tableimage{
    overflow:hidden;
    height: 150px;
    position:relative;
    border:1px solid #ccc;
}

.tableimage img{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.tablerow{
    padding:15px 0px;
    border-bottom:1px solid #000;
}

.tablerow:last-child{
    border-bottom:0px;
}

.tablerowouter{
    clear: none;
}


.tablerowouter:after{
    clear: none;
}

.as-sortable-item, .as-sortable-placeholder{
    min-height:180px;
}

.blockheaders{
    margin-top:20px;
}

.blockarea{
    margin-bottom:20px;
}

.noblocks{
    margin:10px;
}

body{
    height:auto;
}

body #wrapper{
    height:auto;
}

.blockContentContainer {
    padding:0px 30px 50px 0px;
}

.modalcont .bootstrap-switch .bootstrap-switch-handle-on,
.modalcont .bootstrap-switch .bootstrap-switch-handle-off,
.modalcont .bootstrap-switch .bootstrap-switch-label{
    height:auto;
}

#mediaSelectorContainer{
    overflow:hidden;
    overflow-y:scroll;
    height:100%;
}

#mediaSelectorContainer .mediaData:last-child{
    margin-bottom:50px;
}
.select2-container .select2-selection {
    height: 34px !important;
}


.reconciliation-modal .modal-title {
    text-align: center;
}

.reconciliation-modal .top-filter-block {
    background-color: #ececec;
    padding: 15px;
}

.reconciliation-modal .balance-block {
    text-align: center;
}

.reconciliation-modal .balance-block .title {
    font-weight: bold;
}

.reconciliation-modal .balance-block .balance-area {
    border: 1px solid #787878;
    background-color: #ffffff;
    padding: 15px;
    max-width: 300px;
    margin: 0 auto;
    font-size: 30px;
    font-weight: bold;
}

.reconciliation-modal .balance-block .balance-area.positive {
    color: #4edd51;
}


.reconciliation-modal .balance-block .balance-area.negative {
    color: #F80E0D;
}

.reconciliation-modal .balance-block .balance-area.negative {
    color: #F80E0D;
}

.reconciliation-modal .reconcile-submit-block {
    text-align: center;
}

.reconciliation-modal .modal-messages-block p {
    padding: 10px;
}

.reconciliation-modal .reconcile-table-title {
    text-align: center;
    margin-bottom: 15px;
}

.invoices-dropdown-menu .dropdown-menu {
    left: -100px;
}

.invoices-dropdown-menu .dropdown-menu > li {
    padding-left: 15px;
    padding-right: 15px;
}

.invoices-dropdown-menu .dropdown-menu > li > a {
    color: #fff;
    margin-top: 7px;
    margin-bottom: 7px;
}

.invoices-dropdown-menu .dropdown-menu > li > a.btn-primary:hover{
    background-color: #F80E0D;
}

.invoices-dropdown-menu .dropdown-menu > li > a.btn-info:hover{
    background-color: #5bc0de;
    opacity: 0.7;
}

.invoices-dropdown-menu .dropdown-menu > li > a.btn-warning:hover{
    background-color: #f0ad4e;
    opacity: 0.7;
}

.extraLargeModal {
    max-width: 1200px;
    width: 100%;
}

.loader {
    margin: 22px auto;
    font-size: 8px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load5 1.1s infinite ease;
    animation: load5 1.1s infinite ease;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}
@-webkit-keyframes load5 {
    0%,
    100% {
        box-shadow: 0em -2.6em 0em 0em #ff503f, 1.8em -1.8em 0 0em rgba(255,80,63, 0.2), 2.5em 0em 0 0em rgba(255,80,63, 0.2), 1.75em 1.75em 0 0em rgba(255,80,63, 0.2), 0em 2.5em 0 0em rgba(255,80,63, 0.2), -1.8em 1.8em 0 0em rgba(255,80,63, 0.2), -2.6em 0em 0 0em rgba(255,80,63, 0.5), -1.8em -1.8em 0 0em rgba(255,80,63, 0.7);
    }
    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.7), 1.8em -1.8em 0 0em #ff503f, 2.5em 0em 0 0em rgba(255,80,63, 0.2), 1.75em 1.75em 0 0em rgba(255,80,63, 0.2), 0em 2.5em 0 0em rgba(255,80,63, 0.2), -1.8em 1.8em 0 0em rgba(255,80,63, 0.2), -2.6em 0em 0 0em rgba(255,80,63, 0.2), -1.8em -1.8em 0 0em rgba(255,80,63, 0.5);
    }
    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.5), 1.8em -1.8em 0 0em rgba(255,80,63, 0.7), 2.5em 0em 0 0em #ff503f, 1.75em 1.75em 0 0em rgba(255,80,63, 0.2), 0em 2.5em 0 0em rgba(255,80,63, 0.2), -1.8em 1.8em 0 0em rgba(255,80,63, 0.2), -2.6em 0em 0 0em rgba(255,80,63, 0.2), -1.8em -1.8em 0 0em rgba(255,80,63, 0.2);
    }
    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.2), 1.8em -1.8em 0 0em rgba(255,80,63, 0.5), 2.5em 0em 0 0em rgba(255,80,63, 0.7), 1.75em 1.75em 0 0em #ff503f, 0em 2.5em 0 0em rgba(255,80,63, 0.2), -1.8em 1.8em 0 0em rgba(255,80,63, 0.2), -2.6em 0em 0 0em rgba(255,80,63, 0.2), -1.8em -1.8em 0 0em rgba(255,80,63, 0.2);
    }
    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.2), 1.8em -1.8em 0 0em rgba(255,80,63, 0.2), 2.5em 0em 0 0em rgba(255,80,63, 0.5), 1.75em 1.75em 0 0em rgba(255,80,63, 0.7), 0em 2.5em 0 0em #ff503f, -1.8em 1.8em 0 0em rgba(255,80,63, 0.2), -2.6em 0em 0 0em rgba(255,80,63, 0.2), -1.8em -1.8em 0 0em rgba(255,80,63, 0.2);
    }
    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.2), 1.8em -1.8em 0 0em rgba(255,80,63, 0.2), 2.5em 0em 0 0em rgba(255,80,63, 0.2), 1.75em 1.75em 0 0em rgba(255,80,63, 0.5), 0em 2.5em 0 0em rgba(255,80,63, 0.7), -1.8em 1.8em 0 0em #ff503f, -2.6em 0em 0 0em rgba(255,80,63, 0.2), -1.8em -1.8em 0 0em rgba(255,80,63, 0.2);
    }
    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.2), 1.8em -1.8em 0 0em rgba(255,80,63, 0.2), 2.5em 0em 0 0em rgba(255,80,63, 0.2), 1.75em 1.75em 0 0em rgba(255,80,63, 0.2), 0em 2.5em 0 0em rgba(255,80,63, 0.5), -1.8em 1.8em 0 0em rgba(255,80,63, 0.7), -2.6em 0em 0 0em #ff503f, -1.8em -1.8em 0 0em rgba(255,80,63, 0.2);
    }
    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.2), 1.8em -1.8em 0 0em rgba(255,80,63, 0.2), 2.5em 0em 0 0em rgba(255,80,63, 0.2), 1.75em 1.75em 0 0em rgba(255,80,63, 0.2), 0em 2.5em 0 0em rgba(255,80,63, 0.2), -1.8em 1.8em 0 0em rgba(255,80,63, 0.5), -2.6em 0em 0 0em rgba(255,80,63, 0.7), -1.8em -1.8em 0 0em #ff503f;
    }
}
@keyframes load5 {
    0%,
    100% {
        box-shadow: 0em -2.6em 0em 0em #ff503f, 1.8em -1.8em 0 0em rgba(255,80,63, 0.2), 2.5em 0em 0 0em rgba(255,80,63, 0.2), 1.75em 1.75em 0 0em rgba(255,80,63, 0.2), 0em 2.5em 0 0em rgba(255,80,63, 0.2), -1.8em 1.8em 0 0em rgba(255,80,63, 0.2), -2.6em 0em 0 0em rgba(255,80,63, 0.5), -1.8em -1.8em 0 0em rgba(255,80,63, 0.7);
    }
    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.7), 1.8em -1.8em 0 0em #ff503f, 2.5em 0em 0 0em rgba(255,80,63, 0.2), 1.75em 1.75em 0 0em rgba(255,80,63, 0.2), 0em 2.5em 0 0em rgba(255,80,63, 0.2), -1.8em 1.8em 0 0em rgba(255,80,63, 0.2), -2.6em 0em 0 0em rgba(255,80,63, 0.2), -1.8em -1.8em 0 0em rgba(255,80,63, 0.5);
    }
    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.5), 1.8em -1.8em 0 0em rgba(255,80,63, 0.7), 2.5em 0em 0 0em #ff503f, 1.75em 1.75em 0 0em rgba(255,80,63, 0.2), 0em 2.5em 0 0em rgba(255,80,63, 0.2), -1.8em 1.8em 0 0em rgba(255,80,63, 0.2), -2.6em 0em 0 0em rgba(255,80,63, 0.2), -1.8em -1.8em 0 0em rgba(255,80,63, 0.2);
    }
    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.2), 1.8em -1.8em 0 0em rgba(255,80,63, 0.5), 2.5em 0em 0 0em rgba(255,80,63, 0.7), 1.75em 1.75em 0 0em #ff503f, 0em 2.5em 0 0em rgba(255,80,63, 0.2), -1.8em 1.8em 0 0em rgba(255,80,63, 0.2), -2.6em 0em 0 0em rgba(255,80,63, 0.2), -1.8em -1.8em 0 0em rgba(255,80,63, 0.2);
    }
    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.2), 1.8em -1.8em 0 0em rgba(255,80,63, 0.2), 2.5em 0em 0 0em rgba(255,80,63, 0.5), 1.75em 1.75em 0 0em rgba(255,80,63, 0.7), 0em 2.5em 0 0em #ff503f, -1.8em 1.8em 0 0em rgba(255,80,63, 0.2), -2.6em 0em 0 0em rgba(255,80,63, 0.2), -1.8em -1.8em 0 0em rgba(255,80,63, 0.2);
    }
    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.2), 1.8em -1.8em 0 0em rgba(255,80,63, 0.2), 2.5em 0em 0 0em rgba(255,80,63, 0.2), 1.75em 1.75em 0 0em rgba(255,80,63, 0.5), 0em 2.5em 0 0em rgba(255,80,63, 0.7), -1.8em 1.8em 0 0em #ff503f, -2.6em 0em 0 0em rgba(255,80,63, 0.2), -1.8em -1.8em 0 0em rgba(255,80,63, 0.2);
    }
    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.2), 1.8em -1.8em 0 0em rgba(255,80,63, 0.2), 2.5em 0em 0 0em rgba(255,80,63, 0.2), 1.75em 1.75em 0 0em rgba(255,80,63, 0.2), 0em 2.5em 0 0em rgba(255,80,63, 0.5), -1.8em 1.8em 0 0em rgba(255,80,63, 0.7), -2.6em 0em 0 0em #ff503f, -1.8em -1.8em 0 0em rgba(255,80,63, 0.2);
    }
    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,80,63, 0.2), 1.8em -1.8em 0 0em rgba(255,80,63, 0.2), 2.5em 0em 0 0em rgba(255,80,63, 0.2), 1.75em 1.75em 0 0em rgba(255,80,63, 0.2), 0em 2.5em 0 0em rgba(255,80,63, 0.2), -1.8em 1.8em 0 0em rgba(255,80,63, 0.5), -2.6em 0em 0 0em rgba(255,80,63, 0.7), -1.8em -1.8em 0 0em #ff503f;
    }
}

.reconcile-submit-block .loader-block {
    display: none;
}



