﻿html {
    font-size: 12px;
    /*

        font-size ставится в scripte Layout 

    text-size-adjust: 100%;
  

    */

}

body {
    background: #fff;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;

    line-height: 1.8rem;
    color: #333333;
}







    a {
        color: #57626a;
        text-decoration: none;
        border-bottom: dashed 1px #558914;
    }

        a:hover {
            text-decoration: none;
            color: #000;
        }

    #wrap {
        width: 99%;
    }


    #header {
        width: 97%;
        height: 200px;
        font-size: 1.1rem;
        background: url( /Content/Header_right.jpg);
        background-repeat: repeat-x;
        position: relative;
        transition: all linear 0.2s
    }


    #img_header {
        position: absolute;
        top: 0;
    }


    #header_right {
        float: right;
        width: 2.5%;
        height: 170px;
        background: url(/Content/Header_right.jpg);
        background-repeat: repeat-x;
    }


    h1 {
        font-size: 1.6rem;
        font-weight: 100;
        padding: 0px 0 0px 0px;
    }

    h2 {
        font-size: 1.3rem;
        font-weight: 100;
        padding: 0px 0 3px 0;
    }

    h3 {
        font-size: 1.1rem;
        font-weight: 100;
        padding: 5px 0 2px 0;
        line-height: 12px;
    }

    p {
        text-indent: 1.36rem;
        text-align: justify;
    }


    .miniFont {
        font-size: 0.8rem;
    }


    #footer {
        background: #eee;
        border-top: 3px solid #57626a;
        margin-top: 20px;
        text-align: center;
        color: #333;
        font-size: 1rem;
        padding: 10px;
        transition: all linear 0.2s
    }



    input[type="text"], textarea {
        padding: 3px 3px 3px 3px;
        border: solid 1px darkgrey;
        box-shadow: inset 1px 1px 2px 0 #c9c9c9;
        transition: box-shadow 0.5s;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 1rem;
        width: 80%;
        min-width: 200px;
    }

    input[type="email"], input[type="password"]
    {
        padding: 3px 3px 3px 3px;
        border: solid 1px darkgrey;
        box-shadow: inset 1px 1px 2px 0 #c9c9c9;
        transition: box-shadow 0.5s;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 1rem;
        width: 200px;
    }

    select, option {
        padding: 3px 3px 3px 3px;
        border: solid 1px darkgrey;
        box-shadow: inset 1px 1px 2px 0 #c9c9c9;
        transition: box-shadow 0.5s;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 1rem;
        width: 200px;
    }

    select:focus, option:focus {
        box-shadow: inset 1px 2px 2px 0 #707070;
    }

    select:hover, option:hover {
        box-shadow: inset 1px 2px 2px 0 #707070;
    }


    input[type="text"]:focus, input[type="email"]:focus, textarea:focus, input[type="password"]:focus {
        box-shadow: inset 1px 2px 2px 0 #707070;
    }

    input[type="text"]:hover, input[type="email"]:hover, textarea:hover, input[type="password"]:hover {
        box-shadow: inset 1px 2px 2px 0 #707070;
    }


    fieldset {
        border-color: lightgrey;
        border-style: solid;
        margin-top: 20px;
    }

    legend {
        padding: 0px 17px 0px 17px;
        margin-left: 15px;
        color: #57626a;
    }


    .error {
        color: #FF4800;
    }

    .errorColor {
        color: red;
    }

    .errorImage {
        float: left;
        width: 250px;
        padding: 20px;
    }

    .button {
        border: none;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.17) 9%,rgba(0,0,0,0.41) 22%,rgba(0,0,0,0.65) 35%,rgba(0,0,0,0.65) 93%,rgba(0,0,0,0.65) 100%);
        height: 2.5rem;
        font-size: 1rem;
        color: white;
        padding: 0.8rem 1rem 0.8rem 1rem;
        border-radius: 5px;
        transition: all 900ms ease;
        margin: 1rem 0px 1rem 0px;
    }

        .button:hover {
            background: rgba(0,0,0,0);
            color: #3a7999;
            box-shadow: inset 0 0 0 3px #3a7999;
            cursor: pointer
        }

    .lightButton {
        border: 1px solid blue;
        cursor: pointer;
    }

        .lightButton:hover {
            background: lightgrey;
            color: #3a7999;
            box-shadow: inset 0 0 0 3px #3a7999;
            border: 1px solid red;
            cursor: pointer;
        }


    .back_button {
        width: 35px;
        height: 35px;
        margin-left: 30px;
        margin-top: 20px;
        float: right;
        cursor: pointer;
        transition: all linear 0.5s
    }

        .back_button:hover {
            transform: rotate(-10deg) scale(1.3)
        }

    .button_AsLink {
        background: none !important;
        border: none;
        padding: 0 !important;
        margin: 5px 0px 10px 0px;
        /* font-weight: bold; */
        font-size: 1rem;
        color: blue;
        text-decoration: underline;
        cursor: pointer;
        text-align: left !important;
    }

.button_AsLink_noMargin {
    background: none !important;
    border: none;
    padding: 0 !important;
    /* font-weight: bold; */
    font-size: 1rem;
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    text-align: left !important;
}


    .right_button {
        width: 20px;
        height: 20px;
        margin: 3px;
        padding: 7px;
        cursor: pointer;
        transition: all 700ms ease;
        background: 1rem;
    }

        .right_button:hover {
            box-shadow: inset 0 0 0 3px #3a7999;
        }


    .DocAsLink {
        margin: 5px 0px 5px 0px;
        /*optional*/
        color: black;
        text-decoration: underline;
        cursor: pointer;
    }


    .button_AsLink:hover {
        color: blueviolet;
    }



    .mini_button {
        width: 15px;
        height: 15px;
        margin-left: 20px;
        float: left;
        cursor: pointer;
        transition: all linear 0.5s
    }

        .mini_button:hover {
            transform: rotate(-10deg) scale( 1.3)
        }

    .mini_maxi_button {
        width: 65px;
        height: 65px;
        margin: 15px;
        float: none;
    }




    .imageButton {
        cursor: pointer;
        border: none;
        background: radial-gradient(ellipse at center, #deefff 0%,#98bede 100%);
        height: 26px;
        font-size: 1rem;
        color: white;
        padding: 3px;
        border-radius: 5px;
        position: relative;
        transition: all 500ms ease;
        margin: 5px;
        z-index: 30;
    }

    .imageButton_select {
        border: none;
        background: rgba( 0,0,0,0);
        height: 36px;
        font-size: 1rem;
        color: #3a7999;
        padding: 3px;
        border-radius: 5px;
        box-shadow: inset 0 0 0 3px #3a7999;
        position: relative;
        transition: all 500ms ease;
        margin: 5px;
    }


    .imageButton:hover {
        background: rgba(0,0,0,0);
        color: #3a7999;
        box-shadow: inset 0 0 0 3px #3a7999;
    }


    .backGradientFon {
        background: radial-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.17) 9%,rgba(0,0,0,0.41) 22%,rgba(0,0,0,0.65) 35%,rgba(0,0,0,0.65) 93%,rgba(0,0,0,0.65) 100%);
    }


    dl dt {
        font-size: 1rem;
        font-weight: bold;
        margin: 7px 7px 2px 0px;
        text-align: left;
    }

    dl dd {
        margin: 0px 7px 8px 27px;
        text-align: left;
        font-size: 1rem;
    }

    .imageForItem {
        width: 2rem;
        height: 2rem;
        margin: 5px;
        transition: all linear 0.5s
    }


.locationDiv {
    width: 95%;
    height: auto;
    margin: 4px 4px 4px 10px;
    padding: 7px;
    cursor: pointer;
    transition: all linear 0.1s;
    border-radius: 4px;
    background: linear-gradient( to bottom, #ffffff 0%,#e5e5e5 100%);
    font-size: 0.9rem;
    border: 1px solid lightgrey;
}


    .locationDiv:hover {
        transform: translateX( -10px)
    }


    .selectableDiv {
        display: inline-block;
        width: auto;
        height: auto;
        margin: 4px 4px 4px 10px;
        padding: 7px;
        cursor: pointer;
        transition: all linear 0.2s;
        border-radius: 4px;
        background: linear-gradient( to bottom, #ffffff 0%,#e5e5e5 100%);
    }


        .selectableDiv:hover {
            transform: translateX( 5px)
        }


    .selectableDiv1 {
        display: inline-block;
        width: auto;
        height: auto;
        margin: 4px 4px 4px 10px;
        padding: 7px;
        cursor: pointer;
        border-radius: 4px;
        background: linear-gradient( to bottom, #ffffff 0%,#e5e5e5 100%);
    }


        .selectableDiv1:hover {
            background: lightgray;
        }

.selectableDiv_br {

    width: auto;
    height: auto;
    margin: 4px 4px 4px 10px;
    padding: 7px;
    cursor: pointer;
    border-radius: 4px;
    background: linear-gradient( to bottom, #ffffff 0%,#e5e5e5 100%);
}


    .selectableDiv1:hover {
        background: lightgray;
    }
    /* CHECKBOXES AND RADIOBUTTONS */

    .checkbox__input {
        opacity: 0;
        height: 0px;
    }



    .checkbox__label:before {
        content: ' ';
        display: block;
        height: 1.5rem;
        width: 1.5rem;
        position: absolute;
        top: 0;
        left: 0;
        background: 1rem;
    }

    .checkbox__label:after {
        content: ' ';
        display: block;
        height: 1.5rem;
        width: 1.5rem;
        border: 1px solid #ec1d25;
        transition: 200ms;
        position: absolute;
        top: 0;
        left: 0;
        /* background: #fff200; */
        transition: 100ms ease-in-out;
    }

    .checkbox__input:checked ~ .checkbox__label:after {
        border-top-style: none;
        border-right-style: none;
        transform: rotate(-45deg);
        height: 1.5rem;
        border-color: green
    }

    .checkbox-transform {
        position: relative;
        font-size: 1rem;
        font-weight: 700;
        color: #666;
        cursor: pointer;
    }

    .checkbox__label:after:hover, .checkbox__label:after:active {
        border: 3px solid green;
    }

    .checkbox__label {
        margin-left: 10px;
        line-height: .75
    }

    .scale_button {
        width: 2.1rem;
        height: 2.1rem;
        margin: 5px;
        cursor: pointer;
        transition: all linear 0.5s
    }

        .scale_button:hover {
            transform: scale( 1.1) translateX( 5px)
        }

    .right_button {
        width: 2rem;
        height: 2rem;
        margin: 3px;
        padding: 7px;
        cursor: pointer;
        transition: all 700ms ease;
        background: 1rem;
    }

        .right_button:hover {
            box-shadow: inset 0 0 0 3px #3a7999;
        }


    .pattern {
        display: none;
    }


    /* ПО ФАЙЛАМ УКАЗАТЕЛЯМ НА ФАЙЛЫ */

    .ToFile {
        width: 5rem;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid red;
        border-radius: 5px;
        display: inline-block;
        margin: 10px;
        cursor: pointer;
        overflow: hidden;
        position: relative;
    }

    .TypeFile {
        font-size: 1.1rem;
        color: blue;
        margin: 7px 5px 5px -7px;
        width: 100%
    }



    .shake {
        animation: 0.2s tremorX ease-out infinite !important;
        border: 1px solid red !important;
    }

    .change_backgroundColor {
        animation: 1s change_backgroundColor ease-out infinite !important;
    }

    /* Используется для выделения элементов в goldKeeper */
    .alloted {
        animation: 1s change_backgroundColor ease-out infinite !important;
    }

    .toRotate {
    }

        .toRotate:hover {
            animation: 1.5s rotateY ease infinite;
        }


    .toSwing {
    }

        .toSwing:hover {
            animation: 1.5s swingY ease infinite;
        }


    .canSelect:hover {
        background: rgba(0,0,0,0);
        color: #3a7999;
        box-shadow: inset 0 0 0 3px #3a7999;
        cursor: pointer
    }

    .fs8pt {
        font-size: 8pt;
    }

    @keyframes tremorX {
        0%, 25% {
            transform: translateX( -2px);
        }

        50%, 100% {
            transform: translateX( 2px);
        }
    }

    @keyframes tremorY {
        0%, 25% {
            transform: translateY( -2px);
        }

        50%, 100% {
            transform: translateY( 2px);
        }
    }

    @keyframes rotateY {
        0%, 15% {
            transform: rotateY( 360deg);
        }
    }

    @keyframes swingY {
        0%, 40% {
            transform: rotateY( 30deg);
        }

        40%, 80% {
            transform: rotateY( -30deg);
        }
    }

    @keyframes change_backgroundColor {
        0% {
            background-color: red;
        }

        50% {
            background-color: blue;
        }

        100% {
            background-color: red;
        }
    }


    @keyframes forNewMessages {
        0%, 1% {
            transform: translateX( -2px) scale( 1.3);
        }

        2%, 3% {
            transform: translateX( 2px) scale( 1.3);
        }

        4%, 5% {
            transform: translateX( -2px) scale( 1.3);
        }

        6%, 7% {
            transform: translateX( 2px) scale( 1.3);
        }

        8%, 9% {
            transform: translateX( -2px) scale( 1.3);
        }

        10%, 11% {
            transform: translateX( 2px) scale( 1);
        }
    }


    .withError {
        border: 1px solid red !important;
    }


.button_inTable {
    cursor: pointer;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0 0.3rem 0 0.3rem;
    padding: 0.3rem;
    border: 1px solid black;
    transition: all linear 0.5s;
    border-radius: 10%;
    background-color: white;
}

    .button_inTable:hover {
        /*animation: 0.4s tremorY ease-out infinite;*/
        border: 1px dashed black;
        transform: scale( 1.1);
        background-color: lightgrey;

    }




.keeperWindow {
    z-index: 9; 
    background: white; 
    border: 1px solid black; 
    border-radius: 15px; 
    padding: 10px; 
    min-width: max-content;
    overflow-x: hidden;
    overflow-y: auto;
    height: fit-content;
    max-height: 70%;
    font-size: 1rem !important;
}

.ps_layerProperties td {
    padding: 1rem;
    align-content: flex-start;
    vertical-align: top;
}


/* Объект таблица в pv_tObject*/

.ps_tObject {
    border: 1px solid #eee;
    table-layout: fixed;
    margin-bottom: 20px;
    font-size: 1rem;
}

    .ps_tObject th {
        font-weight: bold;
        padding: 5px;
        background: #efefef;
        border: 1px solid #dddddd;
        text-align: left;
    }

.ps_tObject td {
    padding: 5px 10px;
    border: 1px solid #eee;
    border-top: 1px solid lightgrey;
    vertical-align: top;
}

    .ps_tObject .ps_nameFile {
        overflow-wrap: anywhere;
        max-width: 10rem !important;
    }
    .ps_tObject .ps_nameLayer {
        max-width: 10rem !important;
        overflow-wrap:anywhere;
    }
    .ps_tObject .ps_addon {
        max-width: 10rem !important;
    }

.ps_tObject tr:nth-child( odd) {
    background: #fff;
}

.ps_tObject tr:nth-child( even) {
    background: #F7F7F7;
}

.blockZona {
    background: linear-gradient(to bottom, #d6f0fd 3%,#f2f9fe 56%,#f2f9fe 64%,#f2f9fe 64%);
}

/* Объект таблица в tObjects */

.ps_tObjects {
    border: 1px solid #eee;
    table-layout: fixed;
    margin-bottom: 20px;
    font-size: 1rem;
}

    .ps_tObjects th {
        font-weight: bold;
        padding: 5px;
        background: #efefef;
        border: 1px solid #dddddd;
    }

    .ps_tObjects td {
        padding: 5px 10px;
        border: 1px solid #eee;
        border-top: 1px solid lightgrey;
        text-align: left;
        clear: both;
        vertical-align:top
    }

    .ps_tObjects tr:nth-child( odd) {
        background: #fff;
    }

    .ps_tObjects tr:nth-child( even) {
        background: #F7F7F7;
    }

.ps_tObjects .ps_info {
    float: right;
    font-size: 0.7rem;
}


/* */

.delete-animation {
    animation: deleteAnimation 1s ease-out;
}

@keyframes deleteAnimation {
    0% {
        height: 100%;
        background-color: transparent;
    }

    100% {
        height: 0;
        background-color: tomato;
    }
}

.replace-animation {
    animation: replaceAnimation 1.5s ease-out;
}

@keyframes replaceAnimation {
    0% {
        height: 100%;
        background-color: transparent;
    }

    100% {
        background-color: lightblue;
    }
}


.menu_layerProperties, .menu_leftTabs {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .menu_layerProperties li, .menu_leftTabs li {
        margin-right: 10px;
        cursor: pointer;
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 5px;
        transition: background-color 1s ease;
        font-size: 1rem
    }

        /* Стиль для выделенного элемента */
        .menu_layerProperties li.ps_active, .menu_leftTabs li.ps_active {
            background-color: #007bff;
            color: #fff;
        }

/* Если нужна анимация при выделении */
@keyframes tabHighlight {
    from {
        background-color: #007bff;
        color: #fff;
    }

    to {
        background-color: #fff;
        color: #000;
    }
}

.menu_layerProperties li.highlight {
    animation: tabHighlight 1s forwards;
}

table {
    font-size: 1rem;

}


/* trio button style */
.trioWindow {
    float: right;
    position: sticky;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 20;
    padding: 0.3rem
}

.trioClose {
    cursor: pointer;
    position: absolute;
    top: -0.3rem;
    right: 0.5rem;
    width: 2.1rem;
}

.trioMove {
    z-index: 10;
    position: absolute;
    top: -0.1rem;
    right: 3rem;
    width: 1.7rem;
    cursor: pointer;
}

.trioTrey {
    z-index: 10;
    position: absolute;
    top: -1.6px;
    right: 5.5rem;
    height: 1.8rem;
    cursor: pointer;
}

.charList {

    overflow-x: auto;
    width: 70%;
    font-size: 1.4rem;
}