body {
	margin: 0;
	padding: 0;
	color: #0f4f90;
	background-color: #fff;
	font-size: 14px;
}

* {
	font-family: Open Sans, Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
	box-sizing: border-box;
}

.mw {
	min-width: 320px;
}

.anim,
.anim * {
	transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	-webkit-transition: all 200ms ease-in-out;
}

h1 {
	font-size: 24px;
	margin: 0;
	text-align: center;
}

h2 {
	font-size: 18px;
	margin: 0;
}

h3 {
	font-size: 17px;
	margin: 0 0 5px 0;
}

h4 {
	font-size: 16px;
	margin: 0 0 5px 0;
}

img {
	border: 0;
}

form {
	margin: 0;
}

table {
	border-collapse: collapse;
}

td {
	vertical-align: top;
}

p {
	text-align: justify;
}

a {
	color: #0f4f90;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

div.btheader {
	height: 14px;
	background-color: #d56900;
}

a.logo {
	float: left;
	display: block;
	width: 158px;
	height: 158px;
	background: #1171be url('/images/xrates.png') no-repeat center center;
}

a.logo:hover {
	background-color: #188be7;
}

div.controls {
    height: 159px;
    margin-left: 158px;
}


/* top menu */

div.menu {
	height: 40px;
}

div.menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

div.menu ul li {
	float: left;
	margin: 0;
	width: 33%;
}

div.menu ul li:first-child {
	width: 34%;
}

div.menu ul li a {
	display: block;
	line-height: 38px;
	height: 40px;
	padding-left: 10px;
	margin-left: 1px;
	text-decoration: none;
	font-size: 20px;
}

div.menu ul li a {
	background-color: #1171be;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

div.menu ul li a {
	white-space: nowrap;
	overflow: hidden;
}

div.menu ul li a:hover {
	background-color: #188be7;
}

div.menu ul li a i {
	display: inline-block;
}

div.menu ul li a span {
	display: inline-block;
}


/* controls form */

form#filter {
	margin: 1px 0 0 1px;
}

form#filter .search {
	float: right;
	border: none;
	width: 117px;
	height: 117px;
	line-height: 50px;
	font-size: 50px;
	text-align: center;
	cursor: pointer;
}

form#filter .search {
	background-color: #1171be;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

form#filter .search:hover {
	background-color: #188be7;
}

div.filter {
    margin-right: 118px;
	height: 59px;
	line-height: 59px;
	background-color: #1171be;
	font-size: 0px;
	text-align: center;
}

div.filter#openOverlay{
	height: 58px;
}

div.filter>div {
	display: inline-block;
	width: 49%;
	text-align: center;
	padding: 8px 10px 0;
	box-sizing: border-box;
}

div.filter select {
	width: 100%;
	font-size: 20px;
	border: 1px solid #fff;
}

div.filter .select2-container {
	font-size: 18px;
	height: 42px;
	width: 100% !important;
}

.filter-drop-item {
	font-size: 18px;
}

.filter-drop-optgroup {
	background: hsla(210, 81%, 39%, 1);
	color: white;
	display: block;
	padding: 4px;
}

div.filter select * {
	font-size: 20px;
}

div.filter select optgroup:nth-child(even) {
	background-color: #f0f6ff;
}

div.layout {
	width: 100%;
}

div.content {
	padding: 10px;
	margin-right: 270px;
	overflow: auto;
}

div.sidebar {
	float: right;
	width: 300px;
	padding: 10px;
	background-color: #e8f4fd;
}

div.sidebar ul {
	padding-left: 0;
	margin: 0;
}

#footer {
	color: #ddd;
	background-color: #0f4f8f;
	padding: 5px 0;
	min-height: 35px;
}

#footer div {
	padding: 0 10px;
	font-size: 13px;
}

#footer a {
	color: #ddd;
	text-decoration: underline;
}

#footer a:hover {
	text-decoration: none;
}


/* news styling */

div.news div {
	margin: 0;
	padding: 5px 0 5px;
	border-bottom: 1px dashed #888;
	font-size: 13px;
}

div.news .title {
	color: #0f4f90;
	font-weight: bold;
	text-decoration: underline;
}

div.news .title:hover {
	text-decoration: none;
}

div.news .time {
	display: block;
	padding: 2px 0;
	color: #888;
}

div.news .short {
	display: block;
}

div.news .all {
	display: block;
	text-align: center;
	line-height: 30px;
}


/* testimonials styling */

.testimonials-heading {
	text-align: center;
	margin: 0 0 15px 0;
}

.testimonials-heading span{
	font-size: 16px;
	color: #fff;
	cursor: pointer;
	padding: 4px 30px 6px 30px;
	background-color: #1171be;
	border-radius: 5px;
	display: inline-block;
}

.testimonials-heading span:hover{
	background-color: #1882d8;
}

div.testimonials .item {
	margin: 0;
	padding: 5px 0 5px;
	border-bottom: 1px dashed #888;
}

div.testimonials .details {
	float: left;
	width: 200px;
	padding: 5px;
}

div.testimonials .name {
	overflow: hidden;
	font-weight: bold;
	padding-left: 20px;
	line-height: 16px;
	background: no-repeat 2px 0px;
}

div.testimonials .t1 {
	background-color: #f4f4f4;
}

div.testimonials .t2 {
	background-color: #f4f8ff;
}

div.testimonials .t3 {
	background-color: #f4fff4;
}

div.testimonials .t1 .name {
	background-image: url('/images/icons/comment_bad.png');
}

div.testimonials .t2 .name {
	background-image: url('/images/icons/comment_neytral.png');
}

div.testimonials .t3 .name {
	background-image: url('/images/icons/comment_good.png');
}

div.testimonials .time {
	font-size: 12px;
}

div.testimonials .ip {
	padding-left: 20px;
	line-height: 16px;
	background: no-repeat 2px 3px;
}

div.testimonials p {
	margin: 0 0 0 220px;
}



/* pager */

div.pages {
	padding: 15px 0 0;
	text-align: center;
}

div.pages a {
	display: inline-block;
	padding: 4px 7px;
	font-weight: bold;
	text-decoration: none;
}

div.pages a {
	background-color: #1171be;
	color: #fff;
}

div.pages a:hover {
	background-color: #188be7;
}


/* popular rates */

div.rates {
	padding: 0;
}

div.rates p {
	margin: 0;
	padding: 5px 0 5px;
	border-top: 1px dashed #888;
	border-bottom: 1px dashed #888;
}

div.rates a {
	display: block;
	line-height: 24px;
	padding: 0 5px;
	text-decoration: none;
	color: #0f4f90;
	font-size: 13px;
}

div.rates a:hover {
	background-color: #def;
}

div.rates.home {
	-moz-column-count: 2;
	-webkit-column-count: 2;
	column-count: 2;
	-moz-column-gap: 10px;
	-webkit-column-gap: 10px;
	column-gap: 10px;
	padding: 10px 0 20px;
}

div.rates.home ul {
	margin: 0;
	padding: 0;
}

div.rates.home li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

div.rates.home a {
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media screen and (max-width: 480px) {
	div.rates.home {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
		width: 320px;
		margin: 0 auto;
	}
}


/* articles */

div.articles {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px #888 dashed;
}

div.articles ul {
	margin-left: 15px;
}


/* common cells */

.c1 {
	text-align: left;
}

.c2 {
	text-align: right;
}

.c3 {
	text-align: center;
}


/* common listing */

table.listing th {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#d56900), to(#b65a01));
	background: -moz-linear-gradient(top, #d56900, #b65a01);
	background: -o-linear-gradient(top, #d56900, #b65a01);
	background-color: #000;
}

table.listing {
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	border-collapse: separate;
}

table.listing thead th {
	padding: 0px 4px;
	line-height: 30px;
	font-weight: normal;
	white-space: nowrap;
	color: #ddd;
}

table.listing thead th.line {
	border-left: 0px solid #faefe5;
}

table.listing thead th a {
	color: #fff;
	text-decoration: none;
}

table.listing thead th a:hover {
	text-decoration: underline;
}

table.listing tbody td {
	padding: 0 4px;
	font-size: 14px;
	vertical-align: middle;
	white-space: nowrap;
	position: relative;
}

table.listing tbody td:nth-child(5){
	padding-right: 15px;
}

table.listing tbody td.wrap {
	white-space: initial;
}

table.listing tbody td.narrow {
	width: 1px;
}

table.listing tbody td.line {
	border-left: 1px solid #faefe5;
}

table.listing tbody td.icons {
	font-size: 12px;
}

table.listing tbody td span.comma {
	font-size: 12px;
	color: #666;
}

table.listing tbody td a {
	color: #0f4f8f;
	text-decoration: none;
}

table.listing tbody tr.row td {
	color: #0f4f8f;
	height: 28px;
	background-color: #fff;
}

table.listing tbody tr.row:hover td {
	background-color: #faefe5;
}

table.listing tbody tr.row:hover td a.link-testimonials {
	background-color: #bde1ff;
}

table.listing tbody tr.row:hover td a.link-testimonials:hover {
	background-color: #acd9ff;
}

table.listing tbody tr.row:hover td a.link-passport {
	background-color: #ffdaa8;
}

table.listing tbody tr.row:hover td a.link-passport:hover {
	background-color: #ffcd88;
}

table.listing tbody tr.line td {
	padding: 1px 0;
	background: none;
}

table.listing tbody tr.line td div {
	border-top: 1px solid #faefe5;
}

table.listing tfoot th {
	height: 7px;
}

table.listing tfoot td {
	color: #c60;
	background-color: #ecf1f6;
	padding: 5px;
	font-size: 13px;
}

table.listing div.extra {
	float: right;
	position: relative;
}

table.listing div.extra .icons {
	font-size: 0;
	white-space: nowrap;
	color: #bbb;
}

table.listing div.extra .icons>* {
	display: inline-block;
	font-size: 13px;
	padding: 1px;
	line-height: 20px;
}

table.listing div.extra:hover .icons {
	color: #0f4f8f;
}

table.listing div.extra .popup {
	display: none;
	position: absolute;
	z-index: 2;
	left: 100%;
	top: 0;
	margin-left: 10px;
	width: 220px;
}

table.listing div.extra:hover .popup {
	display: block;
}

table.listing div.extra .popup {
	padding: 3px;
	font-size: 12px;
}

table.listing div.extra .popup {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#333), to(#000));
	background: -moz-linear-gradient(top, #333, #000);
	background: -o-linear-gradient(top, #333, #000);
	background-color: #000;
	color: #fff;
	border: 1px solid #000;
	box-shadow: 0 0 3px 0 #000, inset 0 0 1px #fff;
}

table.listing div.extra ul {
	margin: 0;
	padding: 0 0 0 15px;
}

table.listing div.online {
	padding-left: 20px;
	background: no-repeat left center;
}

table.listing a.link-passport {
	text-align: left;
	padding: 5px 8px 5px 33px;
	margin: 3px;
	background-repeat: no-repeat;
	background-position: 10px center;
	border-radius: 5px;
	display: block;
}

table.listing a.link-testimonials {
	padding: 2px 0 2px 33px;
	margin: 3px;
	background-image: url('/images/icons/comment_none.png');
	background-repeat: no-repeat;
	background-position: 12px center;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	font-size: 14px;
}

table.listing a.link-testimonials b{
	margin: 0 3px;
}

@media screen and (max-width: 480px) {
	table.listing div.extra {
		float: left;
		clear: left;
	}
}

.a {
	color: #1f6fc0;
	font-size: 24px;
}

.b {
	color: #468e00;
	font-size: 24px;
}

div.links {
	font-size: 16px;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	padding: 0 0 10px 0;
	line-height: 20px;
	text-align: right;
}

div.links a {
	color: #fff;
	text-decoration: none;
	padding: 10px 22px;
	margin-top: 10px;
	background-color: #1171be;
	border-radius: 4px;
	display: inline-block;
}

div.links a:hover {
	background-color: #1480d7;
}

div.links a .fa{
	margin: 0 5px;
}

.contact_title{
	text-align: center;
	padding: 10px 0 0 0;
}

#form{
	display: none;
}

table.form {
	max-width: 728px;
	margin: 0 auto 30px auto;
}

table.form td {
	padding: 10px 5px;
}

table.form tr td:nth-child(1){
	padding-right: 10px;
	width: 10%;
	text-align: right;
}

table.form tr td:nth-child(2){
	width: 90%;
}

table.form .field {
	padding: 2px;
	width: 100%;
	border: 1px solid #0f4f8f;
	color: #0f4f8f;
	background-color: #e8f4fd;
}

table.form .hint {
	font-size: 11px;
}

table.form .col_submit{
	text-align: center;
}

table.form .submit {
	font-size: 16px;
	color: #fff;
	cursor: pointer;
	padding: 4px 30px 6px 30px;
	background-color: #1171be;
	border: 0;
	border-radius: 5px;
}

table.form .submit:hover{
	background-color: #1882d8;
}

table.form .btns{
	display: -webkit-flex;
	display: flex;
	justify-content: space-between;
}

table.form .btns .button{
	color: #fff;
	font-size: 13px;
	line-height: 13px;
	cursor: pointer;
	padding: 0 35px 1px 35px;
	width: 32%;
	height: 30px;
	background-repeat: no-repeat;
	background-position: 13px center;
	border-radius: 5px;
	display: -webkit-flex;
	display: flex;
	align-items: center;
}

table.form .btns .button.good{
	background-image: url('/images/icons/comment_good.png');
	background-color: #72a671;
}

table.form .btns .button.good:hover{
	background-color: #83be82;
}

table.form .btns .button.bad{
	background-image: url('/images/icons/comment_bad.png');
	background-color: #be7c7c;
}

table.form .btns .button.bad:hover{
	background-color: #cc9e9e;
}

table.form .btns .button.inert{
	background-image: url('/images/icons/comment_neytral.png');
	background-color: #83a0c7;
}

table.form .btns .button.inert:hover{
	background-color: #9db3d0;
}

/* exchanger hints */

ul.hints {
	margin: 0 0 10px 0!important;
	padding: 5px 0 1px;
	border-top: 1px dashed #888;
}

ul.hints li {
	list-style-type: none;
	margin: 0;
	padding: 0 0 4px 20px;
	background: no-repeat left top;
	line-height: 16px;
}


/* other */

.error {
	border: 1px solid #ecc;
	padding: 5px;
	color: #c00;
	background-color: #fee;
	font-size: 13px;
}

.info {
	border: 1px solid #cec;
	padding: 5px;
	color: #080;
	background-color: #efe;
	font-size: 13px;
}

.good {
	color: #0a0;
}

.bad {
	color: #c00;
}

.neytral {
	color: #06c;
}

.red {
	color: #f00;
}

.point {
	cursor: pointer;
}

@media screen and (max-width: 800px) {
	a.logo {
		width: 140px;
	}
	#openOverlay button {
		display: none;
	}
	div.controls {
		margin-left: 140px;
	}
	div.menu ul li a {
		padding-left: 0;
		text-align: center;
	}
	div.menu ul li a i {
		display: inline-block;
	}
	div.menu ul li a span {
		display: none;
	}
	div.content {
		margin-right: 0;
	}
	div.sidebar {
		display: none;
	}
}

@media screen and (max-width: 540px) {
	/*	.compact1 { display: none; }*/
}

@media screen and (max-width: 480px) {
	/*	.compact2 { display: none; }*/
	table.listing div.extra {
		float: left;
	}
}

/* banner */
.banner {
	display: table;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.banner a,
.banner img {
	display: block;
	max-width: 100%;
}

.banner_home {
	margin-bottom: 10px;
}

.banner_contacts {
	margin-top: 20px;
}

.banner_exchangers {
	margin-top: 20px;
}

.banner_rates {
	margin-top: 10px;
}

.banner_testimonials {
	margin-top: 10px;
}

/* to the body element */
.noscroll { overflow: hidden; }

#ratesOverlay {
	display: none;
	position: fixed;
	overflow-y: scroll;
	top: 0; right: 0; bottom: 0; left: 0;
	background: rgba(0, 0, 0, 0.3);
}

#ratesOverlayContent {
    margin: 5vh auto;
    width: 90%;
    padding: 8px 28px;
    background: #fff;
    border-radius: 16px;
    position: relative;
}

#ratesTableWrapper {
	min-width: 800px;
}

.ratesOverlayTable {
	width: 50%;
	display: inline-block;
	box-sizing: border-box;
}

.ratesOverlayTable th{
	background: hsla(210, 81%, 39%, 1);
    color: white;
    padding: 4px;
    cursor: default;
}

.ratesOverlayTable td{
	text-align: center;
    padding: 4px;
}

.ratesOverlayTable td img, .filter-drop-item img {
	margin: 0;
	padding: 0;
	width: 20px;
	vertical-align: middle;
}

.ratesOverlayTable td img {
	width: 16px;
}

/*.ratesOverlayTable td span {
	border: 1px solid black;
}
*/
.ratesOverlayTable td.available:hover {
	background: hsla(210, 81%, 39%, 1);
    color: white;
    cursor: pointer;
}

.ratesOverlayTable td.selected {
	background: hsla(210, 81%, 39%, 1);
    color: white;
    cursor: default !important;
}

.ratesOverlayTable td.unavailable {
	background: hsl(0, 0%, 85%);
}

.ratesOverlayTable .tableTitle {
    font-size: 24px;
    padding-bottom: 5px;
    text-align: center;
}

#openOverlay button {
	color: white;
	background: #d56900;
	border: none;
	line-height: 35px;
	font-size: 20px;
	padding: 0 5%;
	border-radius: 4px;
	margin-top: 7px;
}

#closeOverlayIcon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 16px;
    font-size: 32px;
    margin-top: -16px;
}

#closeOverlayIcon:hover {
	cursor: pointer;
	color: hsl(210, 81%, 40%);
}

#openOverlay button:hover {
	background: hsl(30, 100%, 47%);
	cursor: pointer;
}

.select2-selection__rendered {
    line-height: 31px !important;
}
.select2-container .select2-selection--single {
    height: 35px !important;
}
.select2-selection__arrow {
    height: 34px !important;
}
.select2-container--default .select2-results>.select2-results__options{
    max-height: 500px;
}

.select2-results__option {
    padding: 3px;
}

.filter > div {
	margin-top: -1px;
}

.label-official {
	padding: 2px 0px;
}

.label-official span {
	font-size: 14px;
    background: #d56900;
    padding: 0px 8px;
    color: white;
    border-radius: 8px;
}

.vv-currency-icon-big {
	width: 14px;
    vertical-align: middle;
    margin-top: -3px;
}

.vv-currency-icon-small {
	width: 12px;
    vertical-align: middle;
    margin-top: -1px;
}

.vv-clear-selected-currency {
	display: none;
}

td.selected .vv-clear-selected-currency {
	display: inline;
}

.vv-clear-selected-currency i {
	font-size: 16px;
	/*cursor: pointer;*/
}

.vv-clear-selected-currency i:hover {
	color: #d56900;
}

@media screen and (max-width: 600px) {
	div.filter>div {
	    width: 90%;
	    padding: 0px;
	}

	div.filter>div:nth-of-type(1) {
	    margin-top: 4px;
	}

	form#filter .search {
	    width: 60px;
	    font-size: 30px;
	}

	div.filter {
	    margin-right: 61px;
	}

	a.logo {
	    width: 100px;
	    background-size: 90px;
	}

	div.controls {
	    margin-left: 100px;
	}
}

.rates-banner {
	max-width: 700px;
	width: 100%;
	margin: 5px auto -5px auto;
	text-align: center;
}

.rates-banner img {
	max-width: 700px;
	width: 100%;
	margin: 0 auto;
}