﻿.download-triangle {
    display: inline-block;
    position: relative;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.8em 0 0.8em 1.3em;
    top: 0.4em;
    border-color: transparent transparent transparent #ff0022;
}

.templates-content .drop {
    vertical-align: top;
    padding-top: 1em;
    padding-bottom: 1em;
}

.templates-content .btn {
    border: none;
    margin-top: 0.3em;
    border-radius: 4px;
}

.templates-content .template-edit-column {
    width: 18.65em;
}

.area-table tr.ng-scope.hovered {
    background-color: #ecf3f8;
}

.area-table .fa {
    width: 0.9em;
}

.area-table input[type="text"]{
    width:100%;
}

.area-table select{
    width:100%;
}

.templates-content .button-pannel {
    min-height: 21.1em;
}

.templates-content .pages-container{
    margin: 0;
    text-align: center;
    margin-top: 18px;
}

.templates-content .disabled {
    pointer-events: none;
    opacity: 0.4;
}

/* Area selector*/
.crop-container {
    width: 100%;
    height: 36em;
    overflow: hidden;
    position: relative;
}

.templates-content .widget-body {
    height: 13em;
    overflow-y: scroll;
}

.templates-content .row-eq-height { 
    display: flex;
    margin-bottom: 0;
}

.zoom-panel {
    position: absolute;
    font-size: 3em;
    top: -8px;
    right: 5px;
    user-select: none;
}

.zoom-panel .fa {
    position: relative;
    z-index: 8;
}

.crop-box-template {
    display: none;
}

.buttons-column {
    width: 220px;
    right: 10px;
    top: 10px;
}

.active-area {
    z-index: 5;
}

.active-area .cropper-view-box {
    outline-color: red;
}

.active-area .cropper-line {
    background-color: red;
}

.active-area .cropper-point {
    background-color: red;
}

.cropper-crop-box.highlighted {
    opacity: 1;
}

.cropper-crop-box.highlighted .cropper-view-box {
    outline-color: forestgreen;
}

.cropper-crop-box.highlighted .cropper-line {
    background-color: forestgreen;
}

.cropper-crop-box.highlighted .cropper-point {
    background-color: forestgreen;
}

.display-none {
    display: none;
}

.crop-area-preview {
    width: 200px;
    height: 100px;
    overflow: hidden;
}

/* SCROLL */
.baron {
    position: relative;
    margin-right: 18px;
}

.baron__track_v {
    position: absolute;
    z-index: 3;
    top: -2px;
    bottom: 0;
    right: -18px;
    width: 18px;
    overflow: hidden;
    background-image: linear-gradient(to right, #f2f1ec, #fdfef9);
    border: 1px solid #ecede5;
}
.baron__track_v .baron__control {
    display: block;
}

.baron__track_v .baron__control,
.baron__track_v .baron__bar {
    border: 1px solid #f3ffff;
    box-shadow: 1px 1px 1px #b7caf5 inset, 1px 1px 1px #7b9fd3;
    border-radius: 3px;
    background-image: linear-gradient(to right, #c9d7fc, #baccf4);
    text-align: center;
    font-size: 8px;
    line-height: 14px;
    color: #4e6287;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.baron__track_v .baron__control:hover,
.baron__track_v .baron__bar:hover {
    background-image: linear-gradient(to right, #d9e7ff, #cadcff);
}

.baron__track_v .baron__up,
.baron__track_v .baron__down {
    position: absolute;
    z-index: 1;
    width: 15px;
    height: 16px;
    box-sizing: border-box;
}

.baron__track_v .baron__up {
    top: 0;
}

.baron__track_v .baron__down {
    bottom: 0;
}

.baron__track_v .baron__free {
    position: absolute;
    top: 18px;
    bottom: 18px;
    width: 0;
}

.baron__track_v .baron__bar {
    position: absolute;
    z-index: 1;
    width: 15px;
    box-sizing: border-box;
    border: 1px solid #f3ffff;
    box-shadow: 1px 1px 1px #b7caf5 inset, 1px 1px 1px #7b9fd3;
    border-radius: 3px;
    background-image: linear-gradient(to right, #c9d7fc, #baccf4);
    opacity: 1;
    -webkit-transition: opacity .2s ease-in;
    transition: opacity .2s ease-in;
    pointer-events: auto;
}

.baron__track_v .baron__scroll_lines {
    position: absolute;
    top: 45%;
    width: 6px;
    height: 7px;
    left: 0;
}

.baron__track_v .baron__scroll_lines:before {
    content: '';
    position: absolute;
    top: 0;
    left: 3px;
    width: 6px;
    height: 7px;
    z-index: 1;
    background-image: linear-gradient( to bottom, #f0f4ff 0px, #f0f4ff 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 2px, #f0f4ff 2px, #f0f4ff 3px, rgba(255, 255, 255, 0) 3px, rgba(255, 255, 255, 0) 4px, #f0f4ff 4px, #f0f4ff 5px, rgba(255, 255, 255, 0) 5px, rgba(255, 255, 255, 0) 6px, #f0f4ff 6px, #f0f4ff 7px, rgba(255, 255, 255, 0) 7px, rgba(255, 255, 255, 0) 8px );
}

.baron__track_v .baron__scroll_lines:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 6px;
    height: 7px;
    background-image: linear-gradient( to bottom, #8aaff6 0px, #8aaff6 1px, rgba(138, 175, 246, 0) 1px, rgba(138, 175, 246, 0) 2px, #8aaff6 2px, #8aaff6 3px, rgba(138, 175, 246, 0) 3px, rgba(138, 175, 246, 0) 4px, #8aaff6 4px, #8aaff6 5px, rgba(138, 175, 246, 0) 5px, rgba(138, 175, 246, 0) 6px, #8aaff6 6px, #8aaff6 7px, rgba(138, 175, 246, 0) 7px, rgba(138, 175, 246, 0) 8px );
}

.baron__track_v._dragging .baron__bar,
.baron__track_v .baron__bar:hover {
    background-image: linear-gradient(to right, #d9e7ff, #cadcff);
}



.baron__track_h {
    position: absolute;
    z-index: 3;
    left: -2px;
    bottom: -18px;
    right: 0;
    height: 18px;
    overflow: hidden;
    background-image: linear-gradient(to bottom, #f2f1ec, #fdfef9);
    border: 1px solid #ecede5;
}

.baron__track_h .baron__control {
    display: block;
}

.baron__track_h .baron__control,
.baron__track_h .baron__bar {
    border: 1px solid #f3ffff;
    box-shadow: 1px 1px 1px #b7caf5 inset, 1px 1px 1px #7b9fd3;
    border-radius: 3px;
    background-image: linear-gradient(to bottom, #c9d7fc, #baccf4);
    text-align: center;
    font-size: 8px;
    line-height: 14px;
    color: #4e6287;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.baron__track_h .baron__control:hover,
.baron__track_h .baron__bar:hover {
    background-image: linear-gradient(to bottom, #d9e7ff, #cadcff);
}

.baron__track_h .baron__left,
.baron__track_h .baron__right {
    position: absolute;
    z-index: 1;
    width: 16px;
    height: 15px;
    box-sizing: border-box;
}

.baron__track_h .baron__left {
    left: 0;
}

.baron__track_h .baron__right {
    right: 0;
}

.baron__track_h .baron__free {
    position: absolute;
    right: 18px;
    left: 18px;
    height: 0;
}

.baron__track_h .baron__bar {
    position: absolute;
    z-index: 1;
    height: 15px;
    box-sizing: border-box;
    border: 1px solid #f3ffff;
    box-shadow: 1px 1px 1px #b7caf5 inset, 1px 1px 1px #7b9fd3;
    border-radius: 3px;
    background-image: linear-gradient(to bottom, #c9d7fc, #baccf4);
    opacity: 1;
    -webkit-transition: opacity .2s ease-in;
    transition: opacity .2s ease-in;
    pointer-events: auto;
}

.baron__track_h .baron__scroll_lines {
    position: absolute;
    left: 45%;
    width: 8px;
    height: 7px;
    top: 0;
}

.baron__track_h .baron__scroll_lines:before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 8px;
    height: 7px;
    z-index: 10;
    background-image: linear-gradient( to right, #f0f4ff 0px, #f0f4ff 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 2px, #f0f4ff 2px, #f0f4ff 3px, rgba(255, 255, 255, 0) 3px, rgba(255, 255, 255, 0) 4px, #f0f4ff 4px, #f0f4ff 5px, rgba(255, 255, 255, 0) 5px, rgba(255, 255, 255, 0) 6px, #f0f4ff 6px, #f0f4ff 7px, rgba(255, 255, 255, 0) 7px, rgba(255, 255, 255, 0) 8px );
}

.baron__track_h .baron__scroll_lines:after {
    content: '';
    position: absolute;
    left: 1px;
    top: 4px;
    width: 8px;
    height: 7px;
    background-image: linear-gradient( to right, #8aaff6 0px, #8aaff6 1px, rgba(138, 175, 246, 0) 1px, rgba(138, 175, 246, 0) 2px, #8aaff6 2px, #8aaff6 3px, rgba(138, 175, 246, 0) 3px, rgba(138, 175, 246, 0) 4px, #8aaff6 4px, #8aaff6 5px, rgba(138, 175, 246, 0) 5px, rgba(138, 175, 246, 0) 6px, #8aaff6 6px, #8aaff6 7px, rgba(138, 175, 246, 0) 7px, rgba(138, 175, 246, 0) 8px );
}

.baron__track_h._dragging .baron__bar,
.baron__track_h .baron__bar:hover {
    background-image: linear-gradient(to bottom, #d9e7ff, #cadcff);
}

.note_scroll{
    max-height:160px;
    overflow-y: auto;
}
