*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    font-size: 16px;
}

@media (max-width: 480px) {
    html {
        font-size: 0.8rem;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #4c504a;
}

a {
    color: #0088CC;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.btn-primary {
    display: inline-block;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

.btn-main {
  border-color: #0088CC;
  background-color: #0088CC;
  border: 1px solid #0088CC;
  color: #fff;
}

.btn-primary:hover {
    background-color: #0099e6;
    border-color: #a1a1a1;
    text-decoration: none;
}

.btn-pay {
  background-color: #198754;
  border-color: #198754;
  color: #fff;
}

.btn-pay:hover {
  background-color: #157347;
  border-color: #146c43;
  text-decoration: none;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
    font-weight: 400;
}

h1, .h1 {
    margin: 1rem 0;
    font-size: 2.5rem;
}

h2, .h2 {
    font-size: 2rem;
    margin: 4rem 0 3rem 0;
}

@media (max-width: 480px) {
    h2, .h2 {
        margin: 2rem 0 1.5rem 0;
    }
}

h3, .h3 {
    font-size: 1.8rem;
    margin: 3rem 0 2rem 0;
}

@media (max-width: 480px) {
    h3, .h3 {
        margin: 2rem 0 1.5rem 0;
    }
}

h4, .h4 {
    font-size: 1.5rem;
    margin: 3rem 0 2rem 0;
}

@media (max-width: 480px) {
    h4, .h4 {
        margin: 2rem 0 1.5rem 0;
    }
}

h5, .h5 {
    font-size: 1.2rem;
    margin: 3rem 0 2rem 0;
}

@media (max-width: 480px) {
    h5, .h5 {
        margin: 2rem 0 1.5rem 0;
    }
}

h6, .h6 {
    font-weight: 600;
    margin: 1rem 0;
}

small, .small, .text_small {
    font-size: 0.8rem;
}

table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border: 1px solid #ddd;
    border-spacing: 0;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

th {
    font-weight: 600;
    border-bottom-width: 2px;
    border: 1px solid #ddd;
}

td {
    padding: 8px;
    line-height: 1.5;
    vertical-align: top;
    border-top: 1px solid #ddd;
    border: 1px solid #ddd;
}

#interpreting-rates td.city-rates {
    background: rgba(0, 136, 204, 0.03);
}

mark, .mark {
    background: rgba(0, 136, 204, 0.2);
    color: #000;
}

.lead {
    font-size: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

a.with-arrow:after {
    content: " >";
    vertical-align: top;
}

header a {
    color: #999;
    font-size: 0.95rem;
}

.logo-link {
    display: flex;
}
.logo-main, .logo-square {
    height: 60px;
    width: auto;
}

.logo-square {
    display: none;
}

@media (max-width: 1000px) {
    .logo-square {
        display: block;
    }
    .logo-main {
        display: none;
    }
}

section.cover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='270' height='270' viewBox='0 0 1080 1080'%3E%3Crect width='1080' height='1080' fill='%23003651'/%3E%3Cpath d='M 0,1080 C 0,1080 0,180 0,180 C 58.571513133555314,165.56828215562956 117.14302626711063,151.1365643112591 155,162 C 192.85697373288937,172.8634356887409 209.9994080651128,209.02202491059316 241,208 C 272.0005919348872,206.97797508940684 316.8593414724381,168.77533604636824 352,156 C 387.1406585275619,143.22466395363176 412.56322604513497,155.87663090393391 459,180 C 505.43677395486503,204.12336909606609 572.8877543470219,239.71814033789616 617,233 C 661.1122456529781,226.28185966210384 681.8857565667776,177.25080774448145 718,165 C 754.1142434332224,152.74919225551855 805.5692193858677,177.2786286841781 839,187 C 872.4307806141323,196.7213713158219 887.8373658897522,191.63467751880628 925,188 C 962.1626341102478,184.36532248119372 1021.0813170551239,182.18266124059687 1080,180 C 1080,180 1080,1080 1080,1080 Z' fill='%23000000' opacity='0.09999999999999999'/%3E%3Cpath d='M 0,1080 C 0,1080 0,360 0,360 C 38.45361943519548,345.7534591194968 76.90723887039096,331.5069182389937 122,334 C 167.09276112960904,336.4930817610063 218.82466395363173,355.72578616352206 257,369 C 295.1753360463683,382.27421383647794 319.79410531508205,389.5899371069182 355,381 C 390.20589468491795,372.4100628930818 435.99891478604013,347.9144654088051 478,329 C 520.0010852139599,310.0855345911949 558.2102355407573,296.75220125786166 611,294 C 663.7897644592427,291.24779874213834 731.160143050931,299.0767295597484 762,310 C 792.839856949069,320.9232704402516 787.1491922555188,334.9408805031447 815,333 C 842.8508077444812,331.0591194968553 904.2430879269947,313.1597484276729 954,315 C 1003.7569120730053,316.8402515723271 1041.8784560365027,338.42012578616357 1080,360 C 1080,360 1080,1080 1080,1080 Z' fill='%23000000' opacity='0.19999999999999998'/%3E%3Cpath d='M 0,1080 C 0,1080 0,540 0,540 C 56.990603033666304,563.2316685164632 113.98120606733261,586.4633370329263 156,595 C 198.0187939326674,603.5366629670737 225.0657787643359,597.3783203847577 250,561 C 274.9342212356641,524.6216796152423 297.75567887532367,458.0233814280429 332,473 C 366.24432112467633,487.9766185719571 411.91150573436914,584.5281539030707 467,586 C 522.0884942656309,587.4718460969293 586.5982981871995,493.8640029596744 638,480 C 689.4017018128005,466.1359970403256 727.6953015168331,532.0158342582316 761,556 C 794.3046984831669,579.9841657417684 822.620495745468,562.0726600073991 865,542 C 907.379504254532,521.9273399926009 963.8227155012949,499.6935257121717 1002,499 C 1040.1772844987051,498.3064742878283 1060.0886422493527,519.1532371439141 1080,540 C 1080,540 1080,1080 1080,1080 Z' fill='%23000000' opacity='0.3'/%3E%3Cpath d='M 0,1080 C 0,1080 0,720 0,720 C 29.069330373658886,682.5177457146381 58.13866074731777,645.035491429276 94,662 C 129.86133925268223,678.964508570724 172.51468738438777,750.3757799975335 205,767 C 237.48531261561223,783.6242200024665 259.8025897151313,745.4613885805895 318,749 C 376.1974102848687,752.5386114194105 470.27495375508704,797.7786656801085 507,784 C 543.725046244913,770.2213343198915 523.0975952645209,697.4239486989765 562,683 C 600.9024047354791,668.5760513010235 699.3346651868295,712.5255395239856 740,720 C 780.6653348131705,727.4744604760144 763.5637439881613,698.4738932050808 800,687 C 836.4362560118387,675.5261067949192 926.4103588605253,681.5788876556912 982,690 C 1037.5896411394747,698.4211123443088 1058.7948205697373,709.2105561721544 1080,720 C 1080,720 1080,1080 1080,1080 Z' fill='%23000000' opacity='0.39999999999999997'/%3E%3Cpath d='M 0,1080 C 0,1080 0,900 0,900 C 38.02352941176471,897.4116660500679 76.04705882352943,894.8233321001356 106,910 C 135.95294117647057,925.1766678998644 157.83529411764704,958.1183376495251 214,957 C 270.16470588235296,955.8816623504749 360.6117647058824,920.7033173017634 395,914 C 429.3882352941176,907.2966826982366 407.7176470588235,929.068393143421 446,921 C 484.2823529411765,912.931606856579 582.5176470588235,875.0231101245529 636,864 C 689.4823529411765,852.9768898754471 698.2117647058824,868.8391663583674 726,885 C 753.7882352941176,901.1608336416326 800.6352941176472,917.6202244419779 847,932 C 893.3647058823528,946.3797755580221 939.2470588235294,958.6799358737205 978,953 C 1016.7529411764706,947.3200641262795 1048.3764705882354,923.6600320631397 1080,900 C 1080,900 1080,1080 1080,1080 Z' fill='%23000000' opacity='0.49999999999999994'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: 20% 60%;
    padding: 4rem 0;
    margin: 0 0 3rem;
  }
  section.cover h1 {
    margin: 0;
  }
  section.cover h1, section.cover p {
    color: white;
  }
  section.cover p {
    font-weight: 200;
    font-size: 1.4rem;
    margin: 2.5rem 0;
  }
  section.cover a:not(.btn) {
    color: #0099e6;
  }

footer {
    background: #121214;
    border-top: 4px solid #1F1F1F;
    font-size: 0.95rem;
    margin-top: 50px;
    padding: 40px 0;
}

footer a {
    display: block;
    color: white;
}

footer .copyright {
    margin-top: 1rem;
    color: #555;
}

#lang-filter {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
  }
  #lang-filter li {
    list-style: none;
    padding: 8px 10px;
    font-size: 1rem;
  }
  @media (min-width: 992px) {
    #lang-filter li {
      padding: 15px 20px;
      font-size: 1.25rem;
    }
  }
  #lang-filter li.active {
    background: rgba(0, 136, 204, 0.1);
    color: #c4c4c4;
    border-radius: 5px;
  }
  #lang-filter li.lang-tab:hover:not(.active) {
    background: rgba(0, 136, 204, 0.1);
    border-radius: 5px;
    cursor: pointer;
  }
  #lang-filter #langInput {
    display: block;
    font-size: 1rem;
    box-sizing: border-box;
    width: 100%;
    padding: 0.375rem 0.75rem;
    appearance: none;
    border: 1px solid rgb(222,226,230);
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  #lang-filter #lang-field {
    flex: 1;
    padding-right: 0;
  }
  @media (max-width: 500px) {
    #lang-filter #lang-field {
      flex-basis: 100%;
      padding-left: 0;
    }
  }
  
  #translation-rates {
    color: #2e2e2e;
    font-size: 1rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
  }
  @media (min-width: 992px) {
    #translation-rates {
      font-size: 1.25rem;
    }
  }
  #translation-rates table thead tr {
    background-color: #2e2e2e;
    color: #ffffff;
    text-align: left;
    border: none;
  }
  #translation-rates table thead tr th.primary-blue {
    background-color: rgb(0, 136, 204);
  }
  #translation-rates table thead tr .lang-column {
    width: auto;
  }
  #translation-rates table thead tr .cost-column {
    width: 70%;
    text-align: center;
  }
  @media (max-width: 767px) {
    #translation-rates table thead tr .cost-column {
      width: auto;
      text-align: left;
    }
  }
  @media (min-width: 992px) {
    #translation-rates table thead tr .cost-column {
      width: 600px;
    }
  }
  #translation-rates table th, #translation-rates table td {
    padding: 8px 10px;
    vertical-align: middle;
    border: none;
    white-space: normal;
  }
  @media (min-width: 992px) {
    #translation-rates table th, #translation-rates table td {
      padding: 15px 20px;
    }
  }
  #translation-rates table td:last-child {
    background: rgba(0, 136, 204, 0.03);
    padding-left: 0;
  }
  @media (min-width: 601px) and (max-width: 991px) {
    #translation-rates table td:last-child {
      padding-left: 10px;
    }
  }
  @media (min-width: 992px) {
    #translation-rates table td:last-child {
      padding-left: 20px;
    }
  }
  #translation-rates table tbody tr {
    border-bottom: 3px solid rgba(0, 136, 204, 0.05);
  }
  #translation-rates table tbody tr[data-last=true] {
    border-bottom: none;
  }
  #translation-rates table tbody tr:not(.show-lang) {
    display: none;
  }
  #translation-rates table tbody tr .show-lang {
    display: table-row;
  }
  #translation-rates table tbody tr .lang {
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
  }
  #translation-rates table tbody tr .rate-block {
    display: flex;
    gap: 10px;
    align-items: stretch;
  }
  #translation-rates table tbody tr .rate-block:not(:last-of-type) {
    margin-bottom: 10px;
  }
  @media (min-width: 992px) {
    #translation-rates table tbody tr .rate-block:not(:last-of-type) {
      margin-bottom: 20px;
    }
  }
  @media (max-width: 767px) {
    #translation-rates table tbody tr .rate-block {
      flex-direction: column;
      align-items: start;
      border-left: 2px solid rgba(0, 136, 204, 0.5);
      padding-left: 10px;
    }
  }
  #translation-rates table tbody tr .rate-block .direction, #translation-rates table tbody tr .rate-block .rates {
    align-content: center;
  }
  #translation-rates table tbody tr .rate-block .direction {
    flex-basis: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: end;
    text-align: right;
    border-right: 2px solid rgba(0, 136, 204, 0.5);
    padding-right: 15px;
  }
  @media (max-width: 767px) {
    #translation-rates table tbody tr .rate-block .direction {
      font-size: 0.75rem;
      justify-content: start;
      text-align: left;
      flex-basis: unset;
      border: none;
      padding-right: 0;
    }
  }
  @media (min-width: 601px) {
    #translation-rates table tbody tr .rate-block .direction {
      font-size: 0.85rem;
    }
  }
  #translation-rates table tbody tr .rate-block .rates .word {
    font-size: 1.25rem;
    line-height: 1;
  }
  @media (min-width: 992px) {
    #translation-rates table tbody tr .rate-block .rates .word {
      font-size: 1.8rem;
    }
  }
  #translation-rates table tbody tr .rate-block .rates .page {
    font-size: 0.75rem;
    font-style: italic;
    color: rgba(0, 136, 204, 0.5);
  }
  @media (min-width: 992px) {
    #translation-rates table tbody tr .rate-block .rates .page {
      font-size: 0.9rem;
    }
  }

  .title-section {
    background-color: #171717;
    border-bottom: 5px solid #CCC;
    border-top: 5px solid #384045;
    margin-bottom: 35px;
    min-height: 50px;
    padding: 0;
    padding: 20px 0;
    position: relative;
    text-align: left;
  }
  .title-section .breadcrumb ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .title-section .breadcrumb ol > li {
    display: inline-block;
    font-size: 0.9rem;
  }
  .title-section .breadcrumb ol > li + li:before {
    content: "/ ";
    padding: 0 5px;
    color: #ccc;
  }
  .title-section h1, .title-section .h1 {
    color: #FFF;
    font-size: 2.35rem;
    font-weight: 200;
    margin: 0 0 5px 0;
    padding: 0;
  }
  .title-section h1.lang-title {
    font-size: 1.8rem;
    font-weight: 200;
    color: grey;
    margin-bottom: 10px;
    padding: 0;
    line-height: 1.1;
  }
  .title-section p.document-groups {
    color: white;
    font-size: 0.875rem;
  }

  /* мессенджеры на странице контактов */

ul.contacts-list {
	padding: 0 0 0 10px;
}

ul.contacts-list li {
	display: flex;
	align-items: center;
	margin: 5px 0;
}

ul.contacts-list li:before {
	content: "→";
	font-weight: bold;
	margin-right: 5px;
}

ul.contacts-list li span {
	flex-basis: 25%;
}

@media (max-width: 700px) {
	ul.contacts-list {
		display: flex;
		gap: 5px;
		padding: 0;
	}

	ul.contacts-list li {
		flex-direction: column;
		align-items: start;
		flex-basis: 50%;
		gap: 10px;
	}
	ul.contacts-list li:before {
		content: "";
	}
}

.messengers-list {
    display: flex;
    height: 30px;
    justify-content: start;
	gap: 10px;
}

.messengers-list a {
    width: 30px;
}

.messengers-list svg {
    height: 100%;
}

.office-details {
    margin-bottom: 1rem;
}

.office-details span, .fw-bold {
    font-weight: bold;
}

.vivid-block {
    border-left: 7px solid #0088CC;
    background: #eef9ff;
    padding: 1rem;
    margin: 1rem 0;
}

.vivid-block > * {
  margin-top: 0;
}

#payment-gateway {
  display: none;
}

.payment-details {
  margin: 1rem 0;
}

hr {
  margin: 1rem 0;
}