@charset "UTF-8";
/* Редактор контуров: конструктор подбора и позиции на генплане */

#svg_contain {
    position: relative;
    width: 100%;
    outline: 1px solid black;
    overflow: hidden;
}

#svg_contain svg {
    display: block;
    cursor: crosshair;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.contour_hint {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #888;
}

.contour_options {
    display: flex;
    margin-bottom: 8px;
    font-size: 13px;
}

.contour_options label {
    display: flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
}

.contour_options input {
    margin-right: 6px;
}

/*#svg_contain img{
    max-width: 100%;
}*/

/*#svg_contain svg{
    position: absolute;
    left: 0;
    top: 0;
}*/

.svg_actions {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.svg_action {
    margin-right: 15px;
    background-color: #ccc;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.svg_zoom_in,
.svg_zoom_out,
.svg_zoom_reset {
    min-width: 34px;
    text-align: center;
}

.svg_points_count {
    margin-left: 10px;
    font-size: 12px;
    color: #888;
}

.svg_scale_value {
    font-size: 14px;
    color: #666;
}

/*Контуры соседних объектов — неброско, под редактируемым контуром (IZ-718)*/
#svg_plane .ce_neighbors {
    pointer-events: none;
}

#svg_plane .ce_neighbor_polygon {
    fill: #000000;
    fill-opacity: 0.25;
    stroke: #888;
    stroke-width: 1.5px;
    stroke-dasharray: 6 5;
    vector-effect: non-scaling-stroke;
}

#svg_plane .ce_neighbor_label {
    fill: #888;
    text-anchor: middle;
    dominant-baseline: central;
    font-family: Arial, sans-serif;
}

/*Редактируемый контур*/
#svg_plane .ce_polygon {
    fill: yellow;
    fill-opacity: 0.5;
    stroke: green;
    stroke-width: 3px;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

#svg_plane .ce_rubber {
    stroke: #ff2d55;
    stroke-width: 1.5px;
    stroke-dasharray: 6 4;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

#svg_plane .ce_vertex {
    fill: #00ff00;
    stroke: #1a6b1a;
    stroke-width: 2px;
    vector-effect: non-scaling-stroke;
    cursor: move;
}

#svg_plane .ce_vertex_first {
    fill: #00c8ff;
}

#svg_plane .ce_vertex_hover {
    fill: #ffb400;
}

#svg_plane .ce_snap_target {
    fill: none;
    stroke: #ff2d55;
    stroke-width: 2px;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

#svg_plane polygon {
    fill: yellow;
    fill-opacity: 0.5;
    stroke: green;
    stroke-width: 3px;
}

#svg_plane polygon:hover {
    fill-opacity: .7 !important;
}

#svg_plane circle {
    stroke: #00ff00;
    stroke-width: 3;
}

