/**
 * Country Selector Modal 
 */
.modal-open .country_selector_modal{
  overflow: hidden;
}
.country_selector_modal.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.modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.country_selector_modal .modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.country_selector_modal .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 .modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.country_selector_modal .modal-body {
  position: relative;
  padding: 15px;
}
.country_selector_modal .modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.country_selector_modal .modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}
.country_selector_modal .modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.country_selector_modal .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 .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
  .country_selector_modal .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 .modal-dialog, .country_selector_modal_footer .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;
}