.country-select{width: 100%;}
.country-select .selected-flag .arrow{
 border-top: 6px solid #fff;
 border-left: 5px solid transparent;
 border-right: 5px solid transparent;
 right: 15px;
}
.country-select .selected-flag .arrow.up{border-bottom: 6px solid #fff;}
.country-select .selected-flag{
 padding: 0 0 0 20px;
 background: rgba(0,0,0,0.3);
 transition: .3s;
}
.country-select.inside .flag-dropdown:hover .selected-flag,
.country-select .country-list .country.highlight{
 background: rgba(0,0,0,0.5);
}
.country-select.inside .selected-flag{width: 80px;}
.country-select.inside input, 
.country-select.inside input[type=text]{padding-left:100px}
.country-select .country-list{background-color:#333;}
.country-select .country-list .country{
 padding: 10px 20px;
 font-size: 16px;
}
.country-select .country-list .flag{margin-right: 14px}


@media screen and (max-width: 600px){

 .country-select .country-list{width: calc(95vw - 50px);}

}


@media screen and (max-width: 400px){

 .country-select{display: flex;flex-wrap: wrap;}
 .country-select .country-list{
  width: calc(95vw - 40px);
  margin: 0 0 0 -2px;
 }
 .country-select.inside .flag-dropdown{
  position: relative;
  width: 100%;
  height: 42px;
  left: 0;
  right: auto;
  border: 1px solid #fff;
  border-bottom: none;
 }
 .country-select.inside .flag-dropdown::after{
  content: 'Click here to choose';
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translate(0,-50%);
  white-space: nowrap;
 }
 .country-select.inside .selected-flag{
  width: 100%;
  padding: 0 0 0 15px;
 }
 .country-select.inside input, 
 .country-select.inside input[type=text],
 .country-select .country-list .country{padding: 12px 15px;}

}