/* ===== Merged from styles3.css ===== */
html,
body {
    font-family: "Proba Pro", sans-serif;font-size: 1.125em;line-height: 1.5em;color: #333333;-webkit-font-smoothing: antialiased;
}

html {
    position: relative;min-height: 100%;background: transparent;
}

:root {
    --a_color: #004BC1;
    --a_hover: #0063ff;
    --no_color: #ff2433;
    --yes_color: #009d3f;
}

@media (max-width:575px) {
html,
body {
    font-size: 15px;
}
}

@media (max-width:767px) and (min-width:576px) {
html,
body {
    font-size: 15px;
}
}

@media (max-width:991px) and (min-width:768px) {
html,
body {
    font-size: 16px;
}
}

@media (max-width:1219px) and (min-width:992px) {
html,
body {
    font-size: 16px;
}
}

@media (max-width:1679px) and (min-width:1220px) {
html,
body {
    font-size: 16px;
}
}

@media (min-width:1680px) {
html,
body {
    font-size: 17px;
}
}

a {
    color: var(--a_color);
}

a:hover,
a:focus {
    color: var(--a_hover);
}

@supports not selector(:focus-visible) {
a:focus {
    outline: 3px dashed rgba(0,123,255,.25);
}
}

.btn {
    border-radius: 0;
}

.btn-primary,
.btn-success {
    color: #f5f5f5 !important;
}

.btn-primary:focus,
.btn-success:focus {
    color: #fff !important;
}

.btn-primary {
    background-color: #0069d9;border-color: #0275d8;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #0275d8;border-color: #0275d8;
}

.btn-warning {
    background-color: #FFE358;border-color: #FFE358;color: #333 !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: #F2C94C;border-color: #FFD600;color: #000 !important;
}

img {
    max-width: 100%;height: auto;vertical-align: middle;border: 0;-ms-interpolation-mode: bicubic;
}

@media print {
html,
body {
    background: #fff !important;
}
.btn {
    color: #000 !important;
}
}

h2,
h4 {
    color: #333;
}

h2 {
    font-size: 1.625rem;
}

h4 {
    font-size: 1rem;
}

h4 {
    line-height: 1;
}

.box {
    background: #f5f5f5;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);border: 1px solid #bbb;border-right: 1px solid #e3e3e3;border-bottom: 1px solid #e3e3e3;-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}

.box {
    display: block;padding: .5rem 1rem;font-size: 1.1rem;line-height: 1.42857143;position: relative;
}

.bold {
    font-family: "ProbaPro-SemiBold", "Proba Pro", sans-serif;font-weight: bold;
}

.form-group label {
    padding-bottom: 0.2rem;font-weight: 600;
}

.form-control {
    padding: .6rem .75rem;height: auto;font-size: 1rem;
}

input.form-control {
    background: #fff;padding: .5rem .75rem .55rem .75rem;
}

input.form-control-file {
    cursor: pointer;background: #f5f5f5;padding: 0;-webkit-appearance: textfield;-moz-appearance: textfield;
}

.form-control-file::-webkit-file-upload-button {
    color: #333;display: inline-block;background: #fff;border: 0;border-right: 2px solid #6D727C;padding: .5rem .75rem .55rem .75rem;white-space: nowrap;cursor: pointer;margin-right: 1rem;
}

input.form-control,
select.form-control {
    font-family: "Roboto", sans-serif;border: 2px solid #6D727C;border-radius: 0;
}

.form-control:focus {
    border-color: #0070C9;
}

input:required:invalid {
    border-color: var(--no_color);
}

input:required:valid {
    border-color: var(--yes_color);
}

.nav-tabs a:focus {
    box-shadow: inset 1px 1px 4px 0px rgb(0,0,0,.1) !important;
}

@media screen and (max-width: 640px) {
.sections_tabs:not(.tabs-always) {
    display: none;
}
.select-custom {
    position: relative;
}
}

.sections_tabs {
    border-bottom: 2px solid #e7e8eb;
}

.tab-content {
    clear: both;padding-top: 1.25rem;position: relative;
}

.sections_tabs .nav-link {
    color: var(--a_color);font-size: 0.9em;font-weight: 600;letter-spacing: 0.8px;line-height: 1.3em;padding: .6rem 0.9rem 0.95rem 0.95rem;font-variant: small-caps;position: relative;
}

.sections_tabs .nav-link.active {
    border-color: transparent;background: rgba(13,84,196, 0.05);
}

.sections_tabs .nav-link:hover {
    border-color: transparent;
}

.sections_tabs .nav-link.active:after {
    content: "";position: absolute;bottom: -2px;left: -1px;right: -1px;border-bottom: 4px solid  var(--a_color);
}

to {
-moz-transform:rotate(360deg);
		transform:rotate(360deg)
}


.form-group.input-switch {
    position: relative;
}

.input-switch input {
    padding-right: 2rem;
}

a.input-switch {
    display: flex;position: absolute;z-index: 10;bottom: .5rem;right: .5rem;cursor: pointer;color: var(--a_color);text-decoration: none;padding: .25rem;background: #e5ecf8;border-radius: 50%;
}

a.input-switch:hover {
    color: var(--a_hover);
}

a.input-switch > i {
    font-size: 125%;
}

#form-login {
    width: clamp(35rem, 33%, 100%);max-width: 100%;background: #fff;box-shadow: 1px 1px 4px rgba(0,0,0,0.1);
}

/* ===== Merged from styles4.css ===== */
.card a:not(.btn) {
    color: var(--a_color);
}

.card a:not(.btn):hover,
.card a:not(.btn):focus {
    color: var(--a_hover);
}

.card h4 {
    color: #333;
}

.card .box {
    background: #f5f5f5;
    border-color: #e3e3e3;
    color: #000;
}

.card .text-muted {
    color: #8798a7 !important;
}

.card .sections_tabs {
    border-bottom: 2px solid #e7e8eb;
}

.card .sections_tabs .nav-link {
    color: var(--a_color);
}

.card .sections_tabs .nav-link.active {
    background: rgba(13,84,196, 0.05);
}

.card .sections_tabs .nav-link.active:after {
    border-bottom: 4px solid  var(--a_color);
}

/* ===== Merged from cabinet.css ===== */
.sign-tab {
    min-height: 15rem;
}

#pkDiiaBlock {
    min-height: 21rem;
}

#pkKeyMediaSelectCont {
    display:flex;flex-direction:row;
}

.diia-box {
    display: flex;justify-content: center;
}

@property --angle {
syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

#diia-border-loader {
    width: 184px;height: 184px;--angle: 0deg;border-radius: 3px;border: 2px solid transparent;background: conic-gradient(from var(--angle), var(--a_color) 0deg, var(--a_color) 90deg, white 90deg, white 180deg, var(--a_color) 180deg, var(--a_color) 270deg, white 270deg) border-box;animation: 3s rotate linear infinite;
}

#diia-border-loader.inactive {
    background: white;
}

#diia-border-loader.success {
    background: conic-gradient(from var(--angle), var(--yes_color) 0deg, var(--yes_color) 90deg, white 90deg, white 180deg, var(--yes_color) 180deg, var(--yes_color) 270deg, white 270deg) border-box;
}

#diia-border-loader.fail {
    background: var(--no_color);
}

#diia-border-loader.signed {
    background: var(--yes_color);
}

@keyframes rotate {
to {
	--angle: 360deg;
    }
}

#diia-logo {
    width: 100%;height: 100%;border-radius: 2px;
}

#diia-timer {
    font-size: 1.2rem;margin-bottom: 1rem;
}

#diia-timer.inactive {
    opacity: 0;
}

#diia-button,
#diia-wait,
#diia-app {
    display: none;
}

#diiaBlock.initing #diia-wait,
#diiaBlock.inactive #diia-button,
#diiaBlock.ready #diia-app {
    display: inline-block;
}

#pkTypeDiia {
    font-variant: normal;
}

#init-button,
#sign-button,
#wait-button {
    display: none;
}

#signBlock.initing #init-button,
#signBlock.inactive #sign-button,
#signBlock.signing #wait-button {
    display: inline-block;
}

.modal-n-overlay {
    position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.4);display: none;justify-content: center;align-items: center;
}

.modal-n {
    background: #fff;padding: 20px;border-radius: 8px;min-width: 300px;box-shadow: 0 0 10px rgba(0,0,0,0.3);text-align: center;
}

.modal-n h2 {
    margin-top: 0;
}

.modal-n button {
    margin: 10px;padding: 8px 16px;border: none;border-radius: 4px;cursor: pointer;
}

.btn-confirm {
    background-color: #28a745;color: #fff;
}

.btn-cancel {
    background-color: #dc3545;color: #fff;
}
