/**
 * Country Selector Modal 
 */
a.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.modal-open .country_selector_modal{
  overflow: hidden;
}
.country_selector_modal {
  position: fixed;
  top: 40px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}

.modal-open .country_selector_modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.country_selector_modal .wordpress-country-selector-modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.country_selector_modal .wordpress-country-selector-modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
          box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}
.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}
.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: .5;
}
.country_selector_modal .wordpress-country-selector-modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.country_selector_modal .wordpress-country-selector-modal-body {
  position: relative;
  padding: 15px;
}
.country_selector_modal .wordpress-country-selector-modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.country_selector_modal .wordpress-country-selector-modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}
.country_selector_modal .wordpress-country-selector-modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.country_selector_modal .wordpress-country-selector-modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
.country_selector_modal .modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}
@media (min-width: 768px) {
  .country_selector_modal .wordpress-country-selector-modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
  .country_selector_modal .wordpress-country-selector-modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  }
  .country_selector_modal .modal-sm {
    width: 300px;
  }
}
@media (min-width: 992px) {
  .country_selector_modal .modal-lg {
    width: 900px;
  }
}

.country_selector_modal_close {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 99;
  border-radius: 50%;
  background-color: #dadada;
  color: #000;
  box-shadow: none;
  width: 40px;
  height: 40px;
  padding: 0;
  line-height: 1px;
}

.country_selector_modal_flag {
  width: 50px;
  display: inline;
  text-align: center;
}

.country_selector_modal p {
  margin-bottom: 10px;
  text-align: center;
}

.country_selector_modal_goto {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 100%;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    background-color: #5cb85c;
}

.country_selector_modal_stay {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    background-color: #777;
}

/*********************
Modal Header
*********************/
.country_selector_modal_header {
  top: 0px !important;
}

.country_selector_modal_header .wordpress-country-selector-modal-dialog, .country_selector_modal_footer .wordpress-country-selector-modal-dialog {
  width: 100%;
}

/*********************
Modal Footer
*********************/

.country_selector_modal_footer {
  bottom: 0px !important;
}

/*********************
Country Selector Page
*********************/

.country_selector_page_flag.circle {
    border-radius: 50%;
    height: 15px;
    width: 15px;
    background-size: cover;
}

.country_selector_continents i {
  font-size: 8em;
}

.country_selector_continents {
  text-align: center;
}

.country_selector_page .row {
  margin-bottom: 20px;
}

.country_selector_page .country_selector_country {
  margin-bottom: 5px;
}

.country_selector_country .flag-icon, .country_selector_country .mg {
  margin-right: 10px;
}

.country_selector_country .flag-icon {
  margin-right: 10px;
}

a.country_selector_continent:hover {
  color: #ad6aa0;
}

ul.country_selector_countries {
  margin: 0px;
  list-style: none;
}


.country_selector_continents_dropdown, 
.country_selector_countries_dropdown {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  width: 100%;
}
.country_selector_continents_dropdown select, 
.country_selector_countries_dropdown select{
  display: inline-block;
  width: 100%;
  cursor: pointer;
  padding: 10px 15px;
  outline: 0;
  border: 0;
  border-radius: 0;
  background: #e6e6e6;
  color: #7b7b7b;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.country_selector_continents_dropdown select::-ms-expand,
.country_selector_countries_dropdown select::-ms-expand {
  display: none;
}
.country_selector_continents_dropdown select:hover,
.country_selector_continents_dropdown select:focus,
.country_selector_countries_dropdown select:hover,
.country_selector_countries_dropdown select:focus {
  color: #000;
  background: #ccc;
}
.country_selector_continents_dropdown select:disabled,
.country_selector_countries_dropdown select:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.country_selector_continents_dropdown_arrow,
.country_selector_countries_dropdown_arrow {
  position: absolute;
  top: 16px;
  right: 15px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: #7b7b7b transparent transparent transparent;
}
.country_selector_continents_dropdown select:hover ~ .country_selector_continents_dropdown_arrow,
.country_selector_continents_dropdown select:focus ~ .country_selector_continents_dropdown_arrow,
.country_selector_countries_dropdow select:hover ~ .country_selector_countries_dropdown_arrow,
.country_selector_countries_dropdow select:focus ~ .country_selector_countries_dropdown_arrow {
  border-top-color: #000;
}
.country_selector_continents_dropdown select:disabled ~ .country_selector_continents_dropdown_arrow,
.country_selector_continents_dropdown select:hover ~ .country_selector_continents_dropdown_arrow,
.country_selector_continents_dropdown select:focus ~ .country_selector_continents_dropdown_arrow,

.country_selector_countries_dropdow select:disabled ~ .country_selector_countries_dropdown_arrow,
.country_selector_countries_dropdow select:hover ~ .country_selector_countries_dropdown_arrow,
.country_selector_countries_dropdow select:focus ~ .country_selector_countries_dropdown_arrow {
  border-top-color: #ccc;
}

.country_selector_dropdown_notice {
    padding: 20px;
    background-color: #eaeaea;
    font-size: 90%;
    margin: 15px 0px;
}


/* Dropdown Button */
.country_selector_dropbtn {
    border: none;
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.country_selector_dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.country_selector_dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    color: #000;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9999999;
}

/* Links inside the dropdown */
.country_selector_dropdown-content a {
    color: black !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.country_selector_dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.country_selector_dropdown:hover .country_selector_dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.country_selector_dropdown:hover .dropbtn {
    background-color: #3e8e41;
}