.justin-state-loading {
    position: relative;
}
.justin-state-loading:after,
.justin-state-loading:before {
    content: "";
}
.justin-state-loading:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 2;
}
.justin-state-loading:after {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 21px;
    height: 21px;
    border: 2px solid #777;
    border-left-color: #fff;
    border-radius: 21px;
    -webkit-animation: justin-checkout-loader-animation 0.6s linear infinite;
    animation: justin-checkout-loader-animation 0.6s linear infinite;
    z-index: 3;
}
@-webkit-keyframes justin-checkout-loader-animation {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes justin-checkout-loader-animation {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}
.wc-ukr-shipping-gradient-layer {
    background: linear-gradient(to right, #a15f93, #8c5381);
}
.toplevel_page_woo_justin_options > ul > li:last-child > a > svg {
    width: 16px;
    height: 16px;
    margin-bottom: -2px;
    margin-right: 2px;
}
.toplevel_page_woo_justin_options > ul > li:last-child > a:hover path {
    fill: #00b9eb !important;
}
#adminmenu .toplevel_page_woo_justin_options {
    color: #fff;
}
#adminmenu .toplevel_page_woo_justin_options img {
    padding: 7px 0 0 0;
    opacity: 1;
}
.justin-form-group {
    width: 100%;
    margin-bottom: 20px;
}
.justin-form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}
.justin-form-group__error {
    font-size: 12px;
    color: #fd397a;
}
.justin-form-group__tooltip {
    margin-top: 5px;
    font-size: 13px;
    color: #888;
}
.justin-form-control {
    width: 100%;
    padding: 9px 13px;
    background: #fff;
    color: #495057 !important;
    border: 1px solid #e2e5ec !important;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: none !important;
    transition: border 0.3s ease !important;
}
.justin-form-control:focus {
    border-color: #1abc9c !important;
}
.justin-form-control--invalid {
    border-color: #fd397a !important;
}
select.justin-form-control {
    height: auto !important;
    padding: 8px 13px !important;
}
input[type="number"].justin-form-control {
    width: 150px;
    padding-right: 5px;
}
.justin-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    outline: 0;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.justin-btn:focus {
    box-shadow: none;
}
.justin-btn svg {
    margin-right: 7px;
    width: 13px;
    height: 13px;
    transition: all 0.3s ease;
}
.justin-btn--primary {
    background-color: #1abc9c !important;
    border-color: #1abc9c;
    color: #fff;
}
.justin-btn--primary:hover {
    background-color: #28e1bd !important;
    border-color: #28e1bd;
    color: #fff;
}
.justin-btn--site {
    background: #5b8ae0;
    color: #fff;
    border-color: #5b8ae0;
}
.justin-btn--site:active,
.justin-btn--site:focus,
.justin-btn--site:hover {
    background: #5b8ae0;
    color: #fff;
    border-color: #5b8ae0;
}
.justin-btn--docs {
    background: #34495e;
    color: #fff;
    border-color: #34495e;
}
.justin-btn--docs:active,
.justin-btn--docs:focus,
.justin-btn--docs:hover {
    background: #46637f;
    color: #fff;
    border-color: #46637f;
}
.justin-btn--success {
    background: #0abb87;
    color: #fff;
    border-color: #0abb87;
}
.justin-btn--success:active,
.justin-btn--success:focus,
.justin-btn--success:hover {
    background: #0aa87a;
    color: #fff;
    border-color: #0aa87a;
}
.justin-btn--outline {
    color: #1e2a37;
    background: 0 0;
    border-color: #34495e;
}
.justin-btn--outline svg {
    fill: #1e2a37;
}
.justin-btn--outline:hover {
    background: #46637f;
    color: #fff;
    border-color: #46637f;
}
.justin-btn--outline:hover svg {
    fill: #fff;
}
.justin-btn--sm {
    padding: 6px 20px;
}
.justin-btn--md {
    padding: 10px 30px;
}
.justin-btn--lg {
    padding: 15px 30px;
}
.justin-message {
    padding: 13px 26px;
}
.justin-message svg {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}
.justin-message--error {
    background: rgba(253, 57, 122, 0.1);
    color: #fd397a;
    border-left: 2px solid #fd397a;
}
.justin-message--info {
    background: rgba(93, 120, 255, 0.1);
    color: #5d78ff;
    border-left: 2px solid #5d78ff;
}
.justin-message--log {
    background: rgba(255, 184, 34, 0.1);
    color: #de9e17;
    border-left: 2px solid #ffb822;
}
.justin-message--ok {
    background: rgba(10, 187, 135, 0.1);
    border-left: 2px solid #0abb87;
    color: #0abb87;
}
.justin-message--success {
    display: flex;
    align-items: center;
    background: #0abb87;
    color: #fff;
}
.justin-message--success svg {
    fill: #fff;
}
.justin-btn-loader {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #46637f;
    border-left-color: #fff;
    border-radius: 18px;
    -webkit-animation: justin-spinner-animation 0.6s linear infinite;
    animation: justin-spinner-animation 0.6s linear infinite;
}
@-webkit-keyframes justin-spinner-animation {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes justin-spinner-animation {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}
label.justin-checkbox {
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.justin-tabs {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #ddd;
}
.justin-tabs li {
    position: relative;
    width: 200px;
    margin: 0;
    padding: 18px 0;
    font-size: 16px;
    text-align: center;
    color: #1abc9c;
    cursor: pointer;
}
.justin-tabs li:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #1abc9c;
    opacity: 0;
    transition: opacity 0.3s ease;
    content: "";
}
.justin-tabs li.active:after {
    opacity: 1;
}
.justin-tab-pane {
    display: none;
    padding: 20px;
}
.justin-tab-pane.active {
    display: block;
}
.justin-sub-title {
    font-size: 16px;
}
.justin-top-links {
    margin-top: 30px;
}
.justin-top-links__link {
    font-size: 18px;
}
.justin-top-links__link + .justin-top-links__link {
    margin-left: 15px;
}
.justin-top-links__link svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}
.justin-settings {
    width: 90%;
    margin-top: 30px;
    background: #fff;
    color: #292b2c;
    border-radius: 4px;
    box-shadow: 0 0 13px rgba(82, 63, 105, 0.05);
}
.justin-settings,
.justin-settings * {
    box-sizing: border-box;
}
.justin-settings__header {
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 25px;
    border-bottom: 1px solid #ebedf2;
    overflow: hidden;
}
.justin-settings__title {
    margin: 0;
    font-size: 19px;
    color: #464457;
}
.justin-settings__submit {
    margin-left: auto;
}
.justin-settings__content {
    padding: 25px;
}
.justin-settings__db {
    margin: 15px 0;
}
.justin-settings__update-data {
    width: 200px;
}
.justin-settings__success {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-weight: 600;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.justin-settings__success.active {
    opacity: 1;
    visibility: visible;
    transition: all 0s linear;
}
.form-invoice.form-invoice-3cols {
    grid-template-columns: 1fr 1fr 1fr;
}

.justin_shipping_method_fields .select2.select2-container{
  width: 100% !important;
}

/* Two css-grid columns on 'Налаштування' and
three css-grid columns on 'Створити накладну' pages */
.st333{
  min-width: 333px;
}
.listtieam{
    display: block;
    vertical-align: middle;
        border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}
.listtieam img {
    max-height: 100px;
    display: inline-block;
}
.listtieam span {
    vertical-align: top;
    display: inline-block;
    line-height: 100px;
    margin-left: 20px;
}
#app .multiselect{
    z-index: 1000000;
    position: absolute;
    max-width: 500px;
}
.rozetka.header{
  width: 100%;
	margin-top: 10px;
	display: inline-block;
}
.rozetka.header .vp3{
  display: inline-block;
  width: 100px;
}
.rozetka.header img{
	max-width: 100%
}
.rozetka.header .vp4{
        display: inline-block;
    width: calc(97% - 100px);
    margin-left: 2%;
      line-height: 98px;
    vertical-align: top;
}
.updated .card {
	border: none;
	display: table-cell;
	width: 50%;
}
.invoices .countscab li{
	border: 1px solid #ccc;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px 4px 0px 0px;
    border-bottom: 0;
}
.light {
    font-weight: normal !important;
}
p.light{
	    margin-top: -16px;
}
.full-width-input input[type="text"],
.full-width-input textarea {
	width: 100%;
}

.formblock_title {
	background-color: #e2e2e2;
	padding: 10px;
}

.imginwpbtn {
	position: absolute;
	top: 0;
	left: 6px;
	width: 25px;
	height: 25px;
}
#morkvanp_email_editor_id{
	color: #423d3d;
	height: 200px;
	display: block !important;
}
#mceu_24{
	/*display: none; deprecated*/
}
.card .wpbtn {
	height: auto;
	padding-left: 36px;
	position: relative;
}

.m0 {
	margin: 0;
}

.container .mtb16 {
	margin: 0;
	margin-top: 16px;
	margin-bottom: 16px;
}
#wp-morkvanp_email_editor_id-editor-tools{
	display: none;
}
#email_sent>img{
	display: none !important;
}
.clr {
	clear: both
}

.form-invoice {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-gap: 20px;
	margin-top: 12px;
}

.form-invoice .updated {
	width: 65%;
}

.form-invoice>.alink {
	grid-column: 1 / -1;
	margin-top: 8px;
	margin-top: -8px;
}
.alink a{
	margin-right: 20px;
}
.settingsgrid {
      display: grid !important;
	grid-template-columns: 2fr 1fr;
}

label.inl {
	display: inline-block;
	width: 31%;
	margin-left: 1%;
}

label.inl:first-child {
	width: 33%;
	margin-left: 0;
}

.wpbtn {}

.header a.vam {
	vertical-align: middle;
}

th[scope="row"],
tr th p {
	padding-left: 8px;
}

.card.text-white.bg-danger {
	clear: both;
}

td input[type=checkbox] {
	max-width: 25px;
}

.formsubmit {
	cursor: pointer;
}

.tablecontainer {
	display: block;
	float: left;
	width: 100%;
	/* background: #fff; */
	margin-right: 1%;
}

.tablecontainer table {
	background: #fff;
}

.tablecontainer td {
	padding-top: 0;
	padding-bottom: 30px;
}

.tablecontainer td #submit {
	margin-top: 30px;
}

table tr td.pb7 {
	padding-bottom: 2px;
}

.tablecontainer th {
	margin-top: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
}

.tablecontainer th h3,.tablecontainer th h4 {
	margin-top: 0;
}

.w70 {
	width: 85%;
	float: left;
}

.p0 {
	padding: 0 !important;
	margin-top: 8px !important;
}

.ttntable th,
.ttntable td {
	vertical-align: middle;
}

#wpwrap #wpcontent {
	padding-right: 20px;
}

body>#wpfooter {
	position: relative;
}

.lastrow {
	width: auto;
	display: none;
}

.firstrow {
	width: 400px;
}
.form-invoice>#messagebox {
    grid-column: 1 / -1;
    margin-top: 8px;
    height: 0px;
    transition: all 1s ease;
    overflow: hidden;
    background: #fff;
    padding: 0px;
    margin-left: 0;
}
#errno>div{
	overflow: hidden;
}
#errno, #nnnid{
	opacity: 0;
	z-index: -10;
    position: relative;
}
#messagebox > div{
	width: 100%;
	max-width: 100%;
}
#messagebox > div.card {
    width: 100%;
    max-width: 100%;
    border: none;
    padding: 8px;
    margin: 0;
    box-shadow: none;
}
#messagebox > div > p{
	width: 50%;
	float: left;
	margin: 0;
padding: 0;
color: #23282d;
}
#messagebox > div > p br{
	display: block;
	margin:0 !important;
}
@media screen and (max-width: 1200px) {
	.idrow {
		display: none;
	}
}

@media screen and (max-width: 782px) {
	.form-invoice {
		display: block;
	}
	.updated .mtb16 p {
		padding: 5%;
	}
	.lastrow .button {
		width: 100%;
		padding-left: 8px;
		text-align: left;
	}
	.lastrow a img {
		padding-right: 8px;
	}
	.daterow {
		display: none;
	}
	.townrow {
		display: none;
	}
	.firstrow .row-actions {
		display: none !important;
	}
	.firstrow {
		width: 114px;
	}
	.lastrow {
		width: 166px;
		display: table-cell;
	}
	.w70 {
		width: 100%;
		float: none;
	}
	.p0 {
		padding: 0 !important;
		width: 98% !important;
		margin-top: 8px !important;
	}
	.ttntable th,
	.ttntable td {
		vertical-align: middle;
	}
	#wpwrap #wpcontent {
		padding-right: 20px;
	}
	input[type=checkbox],
	input[type=radio] {
		max-width: 25px;
	}
	td input[type=checkbox] {
		max-width: 25px;
	}
	td.flexd {
		display: flex;
	}
	td input.w24 {
		width: 24px
	}
	.updated .card {
		display: block;
		width: 90%;
		background: none;
		min-width: 80%;
		max-width: 100%;
	}
	input[type=checkbox] {
		width: auto;
	}
	td>input[type=checkbox] {
		margin-top: 0;
		max-width: 25px;
	}
	.tablecontainer {
		display: block;
		float: none;
		width: 96%;
		background: #fff;
		margin-right: 1%;
		padding: 3%;
	}
}

@media screen and (max-width: 582px) {
	.nav-tab-active {
		margin-bottom: 0;
		color: #444 !important;
	}
	.lastrow .button {
		width: 32px;
		padding-right: 8px;
		padding-left: 8px !important;
		color: transparent !important;
	}
	.lastrow {
		width: 40px;
		display: table-cell;
		text-align: center !important;
	}
	.newnaw .nav-tab {
		float: left;
		border: none;
		border-bottom: none;
		margin-left: 0;
		padding: 0px 4px;
		font-size: 12px;
		line-height: 24px;
		font-weight: normal;
		background: #e5e5e500;
		color: #0085ba;
		text-decoration: underline;
		white-space: nowrap;
	}
	h1 {
		font-size: 1.2em;
	}
	.settingsgrid {
		display: block;
	}
}

@media screen and (max-width: 500px) {
	.firstrow {
		width: 58px;
	}
	.firstrow a {
		word-wrap: break-word;
	}
}
/* /Two css-grid columns on 'Налаштування' and
three css-grid columns on 'Створити накладну' pages */
