:root {
    --space-between-elements: 10px;
    --side-panel-background: #e1e8ff;
}

* {
    outline: none;
}

strong {
    font-weight: 600;
}

.page {
    width: 100%;
    height: 100vh;
    background: #fdfdfd;
    font-family: 'Encode Sans Condensed', sans-serif;
    letter-spacing: .03em;
    color: #212121;
}

header {
    display: flex;
    position: fixed;
    width: 100%;
    height: 70px;
    background: #f1f8ff;
    color: #0055a2;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.logo {
    margin-right: 0;
    padding: 0.5rem;
    width: 100px;
}

.img {
    max-height: 100%;
    max-width: 100%;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1180px) {
    main {
        width: 100vw;
        max-width: 800px;
        display: flex;
        padding-top: 70px;
        margin-left: 300px;
        font-weight: 400;
    }

    #nav-content {
        z-index: 1000;
        margin-top: 70px;
        padding: 20px 0 0 0;
        width: 90%;
        max-width: 280px;
        position: absolute;
        top: 0;
        left: 0;
        height: calc(100% - 70px);
        background: #f1f8ff;
        pointer-events: auto;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
}

@media (max-width: 1180px) {
    main {
        width: 100vw;
        display: flex;
        padding: 70px 10px 0 10px;
        flex-direction: column;
        height: 100%;
        font-weight: 400;
    }

    #nav-container .bg {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100% - 70px);
        visibility: hidden;
        opacity: 0.5;
        transition: .3s;
        background: #f1f8ff;
        pointer-events: auto;
    }

    #nav-container:focus-within .bg {
        visibility: visible;
        opacity: .6;
    }

    #nav-container * {
        visibility: visible;
    }

    #nav-container:focus-within .button {
        pointer-events: none;
    }

    #nav-container:focus-within .icon-bar:nth-of-type(1) {
        transform: translate3d(0,8px,0) rotate(45deg);
    }

    #nav-container:focus-within .icon-bar:nth-of-type(2) {
        opacity: 0;
    }

    #nav-container:focus-within .icon-bar:nth-of-type(3) {
        transform: translate3d(0,-8px,0) rotate(-45deg);
    }

    #nav-content {
        z-index: 1000;
        margin-top: 70px;
        padding: 20px 0 0 0;
        width: 90%;
        max-width: 280px;
        position: absolute;
        top: 0;
        left: 0;
        height: calc(100% - 70px);
        background: #f1f8ff;
        pointer-events: auto;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        transform: translateX(-100%);
        transition: transform .3s;
        will-change: transform;
    }
}

#nav-content a {
    text-decoration: none;
    outline: 0;
}

#nav-container .nav-button:active {
    transform: translateY(1px);
}

main h2 span {
    color: #BF7497;
}

main p {
    line-height: 1.5;
    margin: 0;
}

main small {
    font-weight: 300;
    color: #888;
}

main ul {
    display: block;
    list-style-type: disc;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 16px;
    padding-left: 16px;
}

main li {
    list-style-image: none;
    list-style: none;
    line-height: 25px;
    background: url(Img/a3.gif) no-repeat 0 10px;
    padding-left: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

main ul.descr {
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 16px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 4px;
    margin-right: 0;
    padding-left: 12px;
}

main li.descr {
    list-style-type: disc;
    list-style: disc;
    background: none;
    line-height: 20px;
    padding-left: 0px;
    font-family: Arial, Helvetica, sans-serif;
}

    main li.descr:empty {
        display: none;
    }

#nav-container {
    position: fixed;
    height: 100vh;
    width: 100%;
    pointer-events: none;
}


.small {
    display: flex;
    align-self: center;
}

    .small a {
        font-size: 12px;
        font-weight: 400;
        color: #888;
    }

        .small a + a {
            margin-left: 15px;
        }

#nav-container:focus-within #nav-content {
    transform: none;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    margin: auto;
}

.nav-button {
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    height: 70px;
    width: 100%;
    cursor: pointer;
    pointer-events: auto;
    padding-left: 25px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    color: #7a7c88;
    font-size: 20px;
}

.nav-button-active {
    font-weight: 600;
    color: black;
    background-color: var(--side-panel-background);
}

.button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    border-radius: 0;
    height: 70px;
    width: 30px;
    cursor: pointer;
    pointer-events: auto;
    margin-left: 25px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.icon-bar {
    display: block;
    width: 100%;
    height: 3px;
    background: #aaa;
    transition: .3s;
}

    .icon-bar + .icon-bar {
        margin-top: 5px;
    }

h1, h2, h3, h4 {
    margin: 0;
}

img {
    vertical-align: middle;
    height: auto;
    width: 100%;
}

.edge {
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: 16px;
    margin-right: 16px;
    align-content: center;
}

.container-horizontal {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-between-elements);
    max-width: 100%;
    overflow: hidden;
}

    .container-horizontal > * {
        flex: 1;
        margin-right: var(--space-between-elements);
    }

    .container-horizontal *:first-child {
        margin-left: 0;
    }

    .container-horizontal *:last-child {
        margin-right: 0;
    }

    .container-horizontal button:first-child {
        margin-top: 0;
    }

    .container-horizontal button:last-child {
        margin-bottom: 0;
    }

.container-vertical {
    display: flex;
    flex-direction: column;
}

.container-bottom {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.button-cert {
    flex: 1;
    margin-bottom: 5px; 
    margin-top: 5px; 
    width: 100%;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.5em 1em;
}

.cert-select {
    width: 100%;
    height: 100%;
    border-color: transparent;
    outline-color: transparent;
}

.tab {
    flex: 1;
}

.tab_header {
    margin: 10px 0px;
    text-align: center;
    color: #7a7c88;
    font-weight: normal;
    font-size: 22px;
    line-height: 30px;
}

.info_msg {
    margin: 0px;
    color: #7a7c88;
    font-weight: normal;
    font-size: 22px;
    line-height: 30px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #d8d8d8;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.red {
    background-color: #e83127;
}

.yellow {
    background-color: #face48;
}

.green {
    background-color: #59bd2a;
}

.mpopup {
    display: none;
    position: fixed;
    z-index: 1005;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal_header {
    padding: 2px 2px;
    background-color: #f1f8ff;
    color: #333;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}
.popup_logo {
    padding: 0.5rem;
    width: 100px;
}
.popup img {
    max-height: 100%;
    max-width: 100%;
}
.modal_content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 0.3rem;
}
.modal_body {
    padding: 12px 12px 0 12px;
    font-family: Roboto,"Segoe UI","Helvetica Neue",Arial,sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #0055a2;
    overflow: hidden;
    font-size: 20px;
    width: 100%;
}
.modal_footer {
    padding: 0 12px 12px 12px;
    color: #0055a2;
    overflow: hidden;
    font-size: 20px;
}
.modal_edge {
    margin-top: 10px;
    margin-bottom: 10px;
}
.modal_button {
    padding: 0 1rem;
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-color: #dcdfe6;
    color: #606266;
    text-align: center;
    box-sizing: border-box;
    outline: 0;
    margin: 0;
    -webkit-transition: .1s;
    transition: .1s;
    font-weight: 500;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 0.3rem;
}
.modal_button_buy {
    float: left;
    width: 150px;
}
.modal_button_action {
    float: right;
    width: 100px;
}
.modal_input {
    margin: 3px 0;
    padding: 7px;
    border: 1px solid #dcdfe6;
    border-color: #dcdfe6;
    border-radius: 0.3rem;
    width: 100%;
    box-sizing: border-box;
}
.modal_close {
    padding: 0.5rem;
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.modal_close:hover, .modal_close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.modal_button.disabled, .modal_button[disabled],
fielduset[disabled] .modal_button {
  background-color: #bdc3c7;
  color: #CCC;
  opacity: 0.7;
  cursor: not-allowed;
}
.modal_success {
    font-family: Roboto,"Segoe UI","Helvetica Neue",Arial,sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: green;
    text-align: center;
    padding: 5px 10px 10px 10px;
}
.modal_error {
    font-family: Roboto,"Segoe UI","Helvetica Neue",Arial,sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: red;
    text-align: center;
    padding: 5px 10px 10px 10px;
}
.copied_popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 8px;
    opacity: 0;
}
#cert_info, #cert_info1, #cert_info2, #cert_info_decr, #cert_chain_info {
    flex: 1;
    background-image: url(Img/cert.png);
    border: 1px solid #5a9251;
    padding: 10px;
    min-height: 200px;
}

#cert_chain_info {
    min-height: 150px;
}

#cont_info {
    flex: 1;
    background-image: url(Img/cert.png);
    border: 1px solid #5a9251;
    padding: 10px;
    min-height: 200px;
}

.loader {
  border: 3px solid #f3f3f3; 
  border-top: 3px solid #3498db; 
  border-radius: 50%;
  width: 15px;
  height: 15px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.boxdivclass {
    height: 100%;
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: hidden;
    flex: 1;
}

.store-select {
    max-width: 50%;
}

.list-border {
    flex: 0.7;
    max-width: 70%;
    height: 300px;
    border: 1px solid;
}

.error {
    color: red;
    font-weight: bold;
}

.warning {
    color:orange;
    font-weight:bold;
}

