.country-select .flag {
    width: 32px;
    height: 32px;
    background: url("../images/countryflags_new.png")
}
.country-select .ad {background-position: -32px 0}
.country-select .ae {background-position: -64px 0}
.country-select .af {background-position: -96px 0}
.country-select .ag {background-position: -128px 0}
.country-select .ai {background-position: -160px 0}
.country-select .al {background-position: -192px 0}
.country-select .am {background-position: -224px 0}
.country-select .an {background-position: -256px 0}
.country-select .ao {background-position: -288px 0}
.country-select .ar {background-position: -320px 0}
.country-select .as {background-position: -352px 0}
.country-select .at {background-position: -384px 0}
.country-select .au {background-position: -416px 0}
.country-select .hm {background-position: -416px 0}
.country-select .aw {background-position: -448px 0}
.country-select .az {background-position: 0 -32px}
.country-select .ba {background-position: -32px -32px}
.country-select .bb {background-position: -64px -32px}
.country-select .bd {background-position: -96px -32px}
.country-select .be {background-position: -128px -32px}
.country-select .bf {background-position: -160px -32px}
.country-select .bg {background-position: -192px -32px}
.country-select .bh {background-position: -224px -32px}
.country-select .bi {background-position: -256px -32px}
.country-select .bj {background-position: -288px -32px}
.country-select .bm {background-position: -320px -32px}
.country-select .bn {background-position: -352px -32px}
.country-select .bo {background-position: -384px -32px}
.country-select .br {background-position: -416px -32px}
.country-select .bs {background-position: -448px -32px}
.country-select .bt {background-position: 0 -64px}
.country-select .bw {background-position: -32px -64px}
.country-select .by {background-position: -64px -64px}
.country-select .bz {background-position: -96px -64px}
.country-select .ca {background-position: -128px -64px}
.country-select .cd {background-position: -160px -64px}
.country-select .cf {background-position: -192px -64px}
.country-select .cg {background-position: -224px -64px}
.country-select .ch {background-position: -256px -64px}
.country-select .ci {background-position: -288px -64px}
.country-select .ck {background-position: -320px -64px}
.country-select .cl {background-position: -352px -64px}
.country-select .cm {background-position: -384px -64px}
.country-select .cn {background-position: -416px -64px}
.country-select .co {background-position: -448px -64px}
.country-select .cr {background-position: 0 -96px}
.country-select .cu {background-position: -32px -96px}
.country-select .cv {background-position: -64px -96px}
.country-select .cy {background-position: -96px -96px}
.country-select .cz {background-position: -128px -96px}
.country-select .de {background-position: -160px -96px}
.country-select .dj {background-position: -192px -96px}
.country-select .dk {background-position: -224px -96px}
.country-select .dm {background-position: -256px -96px}
.country-select .do {background-position: -288px -96px}
.country-select .dz {background-position: -320px -96px}
.country-select .ec {background-position: -352px -96px}
.country-select .ee {background-position: -384px -96px}
.country-select .eg {background-position: -416px -96px}
.country-select .eh {background-position: -448px -96px}
.country-select .er {background-position: 0 -128px}
.country-select .es {background-position: -32px -128px}
.country-select .et {background-position: -64px -128px}
.country-select .fi {background-position: -96px -128px}
.country-select .fj {background-position: -128px -128px}
.country-select .fm {background-position: -160px -128px}
.country-select .fo {background-position: -192px -128px}
.country-select .fr {background-position: -224px -128px}
.country-select .ga {background-position: -256px -128px}
.country-select .gb {background-position: -288px -128px}
.country-select .gd {background-position: -320px -128px}
.country-select .ge {background-position: -352px -128px}
.country-select .gg {background-position: -384px -128px}
.country-select .gh {background-position: -416px -128px}
.country-select .gi {background-position: -448px -128px}
.country-select .gl {background-position: 0 -160px}
.country-select .gm {background-position: -32px -160px}
.country-select .gn {background-position: -64px -160px}
.country-select .gp {background-position: -96px -160px}
.country-select .gq {background-position: -128px -160px}
.country-select .gr {background-position: -160px -160px}
.country-select .gt {background-position: -192px -160px}
.country-select .gu {background-position: -224px -160px}
.country-select .gw {background-position: -256px -160px}
.country-select .gy {background-position: -288px -160px}
.country-select .hk {background-position: -320px -160px}
.country-select .hn {background-position: -352px -160px}
.country-select .hr {background-position: -384px -160px}
.country-select .ht {background-position: -416px -160px}
.country-select .hu {background-position: -448px -160px}
.country-select .id {background-position: 0 -192px}
.country-select .ie {background-position: -32px -192px}
.country-select .il {background-position: -64px -192px}
.country-select .im {background-position: -96px -192px}
.country-select .in {background-position: -128px -192px}
.country-select .iq {background-position: -160px -192px}
.country-select .ir {background-position: -192px -192px}
.country-select .is {background-position: -224px -192px}
.country-select .it {background-position: -256px -192px}
.country-select .je {background-position: -288px -192px}
.country-select .jm {background-position: -320px -192px}
.country-select .jo {background-position: -352px -192px}
.country-select .jp {background-position: -384px -192px}
.country-select .ke {background-position: -416px -192px}
.country-select .kg {background-position: -448px -192px}
.country-select .kh {background-position: 0 -224px}
.country-select .ki {background-position: -32px -224px}
.country-select .km {background-position: -64px -224px}
.country-select .kn {background-position: -96px -224px}
.country-select .kp {background-position: -128px -224px}
.country-select .kr {background-position: -160px -224px}
.country-select .kw {background-position: -192px -224px}
.country-select .ky {background-position: -224px -224px}
.country-select .kz {background-position: -256px -224px}
.country-select .la {background-position: -288px -224px}
.country-select .lb {background-position: -320px -224px}
.country-select .lc {background-position: -352px -224px}
.country-select .li {background-position: -384px -224px}
.country-select .lk {background-position: -416px -224px}
.country-select .lr {background-position: -448px -224px}
.country-select .ls {background-position: 0 -256px}
.country-select .lt {background-position: -32px -256px}
.country-select .lu {background-position: -64px -256px}
.country-select .lv {background-position: -96px -256px}
.country-select .ly {background-position: -128px -256px}
.country-select .ma {background-position: -160px -256px}
.country-select .mc {background-position: -192px -256px}
.country-select .md {background-position: -224px -256px}
.country-select .me {background-position: -256px -256px}
.country-select .mg {background-position: -288px -256px}
.country-select .mh {background-position: -320px -256px}
.country-select .mk {background-position: -352px -256px}
.country-select .ml {background-position: -384px -256px}
.country-select .mm {background-position: -416px -256px}
.country-select .mn {background-position: -448px -256px}
.country-select .mo {background-position: 0 -288px}
.country-select .mq {background-position: -32px -288px}
.country-select .mr {background-position: -64px -288px}
.country-select .ms {background-position: -96px -288px}
.country-select .mt {background-position: -128px -288px}
.country-select .mu {background-position: -160px -288px}
.country-select .mv {background-position: -192px -288px}
.country-select .mw {background-position: -224px -288px}
.country-select .mx {background-position: -256px -288px}
.country-select .my {background-position: -288px -288px}
.country-select .mz {background-position: -320px -288px}
.country-select .na {background-position: -352px -288px}
.country-select .nc {background-position: -384px -288px}
.country-select .ne {background-position: -416px -288px}
.country-select .ng {background-position: -448px -288px}
.country-select .ni {background-position: 0 -320px}
.country-select .nl {background-position: -32px -320px}
.country-select .sj {background-position: -64px -320px}

.country-select .bq {background-position: -32px -320px}
.country-select .no {background-position: -64px -320px}
.country-select .bv {background-position: -64px -320px}
.country-select .np {background-position: -96px -320px}
.country-select .nr {background-position: -128px -320px}
.country-select .nz {background-position: -160px -320px}
.country-select .om {background-position: -192px -320px}
.country-select .pa {background-position: -224px -320px}
.country-select .pe {background-position: -256px -320px}
.country-select .pf {background-position: -288px -320px}
.country-select .pg {background-position: -320px -320px}
.country-select .ph {background-position: -352px -320px}
.country-select .pk {background-position: -384px -320px}
.country-select .pl {background-position: -416px -320px}
.country-select .pr {background-position: -448px -320px}
.country-select .ps {background-position: 0 -352px}
.country-select .pt {background-position: -32px -352px}
.country-select .pw {background-position: -64px -352px}
.country-select .py {background-position: -96px -352px}
.country-select .qa {background-position: -128px -352px}
.country-select .re {background-position: -160px -352px}
.country-select .ro {background-position: -192px -352px}
.country-select .rs {background-position: -224px -352px}
.country-select .ru {background-position: -256px -352px}
.country-select .rw {background-position: -288px -352px}
.country-select .sa {background-position: -320px -352px}
.country-select .sb {background-position: -352px -352px}
.country-select .sc {background-position: -384px -352px}
.country-select .sd {background-position: -416px -352px}
.country-select .se {background-position: -448px -352px}
.country-select .sg {background-position: 0 -384px}
.country-select .si {background-position: -32px -384px}
.country-select .sk {background-position: -64px -384px}
.country-select .sl {background-position: -96px -384px}
.country-select .sm {background-position: -128px -384px}
.country-select .sn {background-position: -160px -384px}
.country-select .so {background-position: -192px -384px}
.country-select .sr {background-position: -224px -384px}
.country-select .st {background-position: -256px -384px}
.country-select .sv {background-position: -288px -384px}
.country-select .sy {background-position: -320px -384px}
.country-select .sz {background-position: -352px -384px}
.country-select .tc {background-position: -384px -384px}
.country-select .td {background-position: -416px -384px}
.country-select .tg {background-position: -448px -384px}
.country-select .th {background-position: 0 -416px}
.country-select .tj {background-position: -32px -416px}
.country-select .tl {background-position: -64px -416px}
.country-select .tm {background-position: -96px -416px}
.country-select .tn {background-position: -128px -416px}
.country-select .to {background-position: -160px -416px}
.country-select .tr {background-position: -192px -416px}
.country-select .tt {background-position: -224px -416px}
.country-select .tv {background-position: -256px -416px}
.country-select .tw {background-position: -288px -416px}
.country-select .tz {background-position: -320px -416px}
.country-select .ua {background-position: -352px -416px}
.country-select .ug {background-position: -384px -416px}
.country-select .us {background-position: -416px -416px}
.country-select .um {background-position: -416px -416px}
.country-select .uy {background-position: -448px -416px}
.country-select .uz {background-position: 0 -448px}
.country-select .va {background-position: -32px -448px}
.country-select .vc {background-position: -64px -448px}
.country-select .ve {background-position: -96px -448px}
.country-select .vg {background-position: -128px -448px}
.country-select .vi {background-position: -160px -448px}
.country-select .vn {background-position: -192px -448px}
.country-select .vu {background-position: -224px -448px}
.country-select .ws {background-position: -256px -448px}
.country-select .ye {background-position: -288px -448px}
.country-select .za {background-position: -320px -448px}
.country-select .zm {background-position: -352px -448px}
.country-select .zw {background-position: -384px -448px}
.country-select .ax {background-position: -416px -448px}
.country-select .aq {background-position: -448px -448px}
.country-select .ac {background-position: 0px -480px}
.country-select .cx {background-position: -32px -480px}
.country-select .cc {background-position: -64px -480px}
.country-select .cw {background-position: -96px -480px}
.country-select .fk {background-position: -128px -480px}
.country-select .gf {background-position: -160px -480px}
.country-select .tf {background-position: -192px -480px}
.country-select .yt {background-position: -224px -480px}
.country-select .nu {background-position: -256px -480px}
.country-select .nf {background-position: -288px -480px}
.country-select .mp {background-position: -320px -480px}
.country-select .pn {background-position: -352px -480px}
.country-select .bl {background-position: -384px -480px}
.country-select .sh {background-position: -416px -480px}
.country-select .mf {background-position: -448px -480px}
.country-select .ic {background-position: 0px -512px}
.country-select .gs {background-position: -32px -512px}
.country-select .ss {background-position: -64px -512px}
.country-select .tk {background-position: -96px -512px}
.country-select .wf {background-position: -128px -512px}
.country-select .io {background-position: -160px -512px}
.country-select .pm {background-position: -192px -512px}
.country-select .ta {background-position: -224px -512px}
.country-select .xk {background-position: -256px -512px}
.country-select .ld {background-position: -288px -512px}
.country-select .nd {background-position: -320px -512px}
.country-select .yu {background-position: -352px -512px}
.country-select .wl {background-position: -384px -512px}

.country-select {
	position:relative;
	display:block;
}
.country-select * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.country-select .hide{display:none}
.country-select .v-hide{visibility:hidden}
.country-select input {
	position: relative;
	z-index: 0;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-left: 44px;
}
.country-select .flag-dropdown {
	position: relative;
	top: 0;
	bottom: 0;
	right: 0
}

.country-select .flag-dropdown .selected-flag {
	position: absolute;
  top: -26px;
  right: 0px;
  height: auto;
}

.country-select .flag-dropdown:hover{cursor:pointer}
.country-select .flag-dropdown:hover .selected-flag {
	background-color: #000;
	/* @alternate */
	background-color: rgba(0,0,0,0.05);
}
.country-select input[disabled]+.flag-dropdown:hover{cursor:default}
.country-select input[disabled]+.flag-dropdown:hover .selected-flag{background-color:transparent}
.country-select .selected-flag {
	z-index: 1;
	position: relative;
	width: 60px;
	height: 100%;
	padding: 0 0 0 8px
}
.country-select .selected-flag .flag {
    position: absolute;
    top: 50%;
    margin-top: -15px;
    right: 20px;
}
.country-select .selected-flag .arrow {
    position: relative;
    top: 50%;
    margin-top: -2px;
    left: 36px;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid #555
}
.country-select .selected-flag .arrow.up {
	border-top: none;
	border-bottom: 4px solid #555
}
.country-select .country-list {
	list-style: none;
	position: absolute;
	z-index:2; padding:0;
	margin: 0 0 0 -1px;
	box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
	background-color: white;
	border: 1px solid #ccc;
	width: 100%;
	max-height: 200px;
	overflow-y: scroll;
	right:0;
}
.country-select .country-list .flag {
	display: inline-block;
    vertical-align: middle;
}
.country-select .country-list .divider {
	padding-bottom: 5px;
	margin-bottom: 5px;
	border-bottom: 1px solid #ccc
}
.country-select .country-list .country {
	line-height: 11px;
	padding: 7px 10px;
	text-align: left;
}
.country-select .country-list .country .dial-code{color:#999}
.country-select .country-list .country.highlight {
	background-color:#000;
	/* @alternate */
	background-color:rgba(0,0,0,0.05);
}
.country-select .country-list .flag,.country-select .country-list .country-name{margin-right:6px}
.country-select.inside .flag-dropdown{padding:1px}
.country-select.inside input[type="text"],.country-select.inside input[type="tel"]{padding-right:44px;margin-left:0;  padding-left: 10px;}
.country-select.outside input[type="text"],.country-select.outside input[type="tel"]{border:none;margin-left:38px;}

/*#txt-from-postcode-fake { position: relative; }
.col-lg-12 #selected-flag {
	position: absolute;
  top: -25px;
  right: 0px;
}
.col-lg-12 #arrow {
	  position: absolute;
  	top: 5px;
}*/


#txt-from-country {
	position: relative;
}

#txt-from-country + .flag-dropdown .selected-flag {
	position: absolute;
	top: 20px;
	right: 20px;
}

#txt-from-postcode {
	position: relative;
	padding-left: 10px;
}

#txt-from-postcode + .flag-dropdown .selected-flag {
	position: absolute;
  top: -20px;
  right: 0px;
}

#txt-to-postcode {
	position: relative;
	padding-left: 10px;
}

#txt-to-postcode + .flag-dropdown .selected-flag {
	position: absolute;
  top: -20px;
  right: 0px;
}

.select-country .country-select .flag-dropdown .selected-flag {
  position: absolute;
  top: -64px;
  right: 0px;
  height: 58px;
  z-index: 0;
}

 .select-country .country-select.inside .flag-dropdown {
 	padding: 0;
}

 .select-country .country-select .selected-flag  {
 	z-index: 10;
}