.map-legend-members {display: inline;}
.map-legend-associated {display: inline;}
.map-legend-institutes {display: inline;}
.map-legend-others {display: inline;}
.map-legend-members__marker {display: inline-block; border-radius: 50%; background-color: #46B04B; width: 15px; height: 15px; margin-bottom: 0;}
.map-legend-associated__marker {display: inline-block; border-radius: 50%; background-color: #003928; width: 15px; height: 15px; margin-bottom: 0;}
.map-legend-institutes__marker {display: inline-block; border-radius: 50%; background-color: #ACDD5D; width: 15px; height: 15px; margin-bottom: 0;}
.map-legend-others__marker {display: inline-block; border-radius: 50%; background-color: #BDBDBD; width: 15px; height: 15px; margin-bottom: 0;}
.map-legend-members__text {display: inline;}
.map-legend-associated__text {display: inline;}
.map-legend-institutes__text {display: inline;}
.map-legend-others__text {display: inline;}

.countries-list-country {
	position:relative;
	min-height: 30px;
}
.countries-list__flagbox {
  top: 50%;
  transform: translateY(-50%);
	width: 30px !important;
	height: 30px !important;
	float: left !important;
}
.countries-list-country__name {
	position: relative;
  top: 50%;
  transform: translateY(-50%);
}

#map-container{
	position: relative;
}
#desc_overlay{
	background: rgba(63, 181, 163, .8);
	width: 350px;
	position: absolute;
	z-index: 2;
	display: none;
	top: -40px;
	padding: 10px 15px;
	right: 70px;
	border: 1px solid #e7f6f4;
	font-family: 'PT Sans Narrow', sans-serif;
	-webkit-box-shadow: -1px 0px 15px 0px rgba(40, 50, 50, 0.42);
	-moz-box-shadow:    -1px 0px 15px 0px rgba(40, 50, 50, 0.42);
	box-shadow:         -1px 0px 15px 0px rgba(40, 50, 50, 0.42);
}
#desc_overlay h2{
	margin-top: 5px;
	margin-bottom: 0;
}
#ico_close{position: absolute; right: 10px; top: 5px; cursor: pointer}
#overlay-content{
	font-size: 16px;
	font-weight: 300;
	height: 360px;
	width: 100%;
	padding: 10px 0;
	overflow: hidden!important;
}
#overlay-content p{
	line-height: 22px;
	text-shadow: 1px 1px 10px rgba(150, 148, 150, 1);
}
#country_title{
	padding: 10px;
	background-color: #2399d9;
	font-size: 16px;
	font-weight: bold;
}
#country_desc{
	padding: 10px;
}

.animated {
    -webkit-animation-duration: .51s;
    animation-duration: .51s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}
.a_readmore{
	cursor: pointer;
}
.ui-widget{ font-family: inherit!important; font-size: inherit!important;}


.nav-tabs {
    border-bottom: 1px solid #DDDDDD;
}
.nav-tabs > li {
    float: left;
    margin-bottom: -1px;
}
.nav-tabs > li > a {
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px 4px 0 0;
    line-height: 1.42857;
    margin-right: 2px;
}
.nav-tabs > li > a:hover {
    border-color: #EEEEEE #EEEEEE #DDDDDD;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #FFFFFF;
    border-color: #DDDDDD #DDDDDD rgba(0, 0, 0, 0);
    border-image: none;
    border-style: solid;
    border-width: 1px;
    color: #555555;
    cursor: default;
}
.nav-tabs.nav-justified {
    border-bottom: 0 none;
    width: 100%;
}
.nav-tabs.nav-justified > li {
    float: none;
}
.nav-tabs.nav-justified > li > a {
    margin-bottom: 5px;
    text-align: center;
}
.nav-tabs.nav-justified > .dropdown .dropdown-menu {
    left: auto;
    top: auto;
}
.ui-widget-header {
	border: none;
	border-bottom: 1px solid #aaaaaa;
	background: none;
}
#maptabs{ margin-top: 10px;}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-90px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-90px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}



@-webkit-keyframes fadeOutDown {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
    }
}
@keyframes fadeOutDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}
.fadeOutDown {
    -webkit-animation-name: fadeOutDown;
    animation-name: fadeOutDown;
}

.ps-container {
	background-image:none !important;
}

.countries-list-country {display:inline-block;width:33%;height:55px;vertical-align:top;}
.countries-list-country .countries-list__flagbox {width:45px !important;height:45px !important;margin:0 10px 0 0;padding:0;border:0;}
.countries-list-country .countries-list__flagbox .phoca-flag {border:0;box-shadow:0 0 10px 0 #cccccc;}
.countries-list__title {display:none}
.countries-list-members {margin-bottom:30px}
.countries-list-members h2 {margin-bottom:15px}
.countries-list-associated {margin-bottom:30px}
.countries-list-associated h2 {margin-bottom:15px}
.countries-list-institutes {margin-bottom:30px}
.countries-list-institutes h2 {margin-bottom:15px}

#mapdiv *[title='Interactive JavaScript maps'] {display:none !important}
#map-legend {margin:15px 0 30px;text-align:center;position:relative;}
#map-legend div {white-space:no-wrap}
#map-legend .map-legend-members__marker {display:inline-block;margin:0px 5px 15px 0;padding:0;line-height:15px;width:15px;height:15px;vertical-align:top;}
#map-legend .map-legend-members__text {display:inline-block;vertical-align:top;padding:0;margin:0 15px 15px 0;font-size:0.95rem;height:15px;line-height:15px;}
#map-legend .map-legend-associated__marker {display:inline-block;margin:0px 5px 15px 0;padding:0;line-height:15px;width:15px;height:15px;vertical-align:top;}
#map-legend .map-legend-associated__text {display:inline-block;vertical-align:top;padding:0;margin:0 15px 15px 0;font-size:0.95rem;height:15px;line-height:15px;}
#map-legend .map-legend-institutes__marker {display:inline-block;margin:0px 5px 15px 0;padding:0;line-height:15px;width:15px;height:15px;vertical-align:top;}
#map-legend .map-legend-institutes__text {display:inline-block;vertical-align:top;padding:0;margin:0 15px 15px 0;font-size:0.95rem;height:15px;line-height:15px;}
#map-legend .map-legend-others__marker {display:inline-block;margin:0px 5px 15px 0;padding:0;line-height:15px;width:15px;height:15px;vertical-align:top;}
#map-legend .map-legend-others__text {display:inline-block;vertical-align:top;padding:0;margin:0 15px 15px 0;font-size:0.95rem;height:15px;line-height:15px;}
#ico_close {width:16px;height:16px;background:url(http://luky.jinr.ru/jinr_m/img/country_closemodal.png) no-repeat;right:15px;top:15px}
#ico_close img {display:none}
#desc_overlay {width:300px;background:rgba(11,21,72,0.72);border:0;box-shadow:none;color:white;margin:0;padding:15px 15px 0;}
#desc_overlay .pop_desc_title {color:white;font: bold 1.2rem 'Roboto';margin:-4px 0 -2px 0;padding:0;padding-left:55px;}
#desc_overlay .pop_desc_title a {color:white}
#desc_overlay .phoca-flagbox {display:block;float:none;margin:0;padding:0;position:absolute;left:15px;top:15px;width:45px;height:45px;border:0;}
#desc_overlay .phoca-flagbox a {display:block;width:45px;height:45px;position:relative}
#desc_overlay .phoca-flagbox .phoca-flag {display:block;vertical-align:top;border:0;margin:0;padding:0;}
#overlay-content {height:auto;text-shadow:none}
#overlay-content .country-year {margin:0;padding:0 0 0 55px;font:normal 0.95rem 'Roboto';margin-bottom:15px;min-height:25px;}
#overlay-content .country-topics {margin:0;padding:0;position:relative;}
#overlay-content p {line-height:auto;text-shadow:none;font:normal 0.95rem 'Roboto';}
#overlay-content .country-topics p:nth-child(odd) {position:absolute;left:0;width:45px;height:45px;}
#overlay-content .country-topics p:nth-child(even) {display:block;min-height:45px;margin:0 0px 15px 0;padding:0 0 0 55px;}
#overlay-content .country-topics .country-topic-1__icon {background:url(../img/jinr_theme_theoretical_s.png) left top no-repeat;}
#overlay-content .country-topics .country-topic-2__icon {background:url(../img/jinr_theme_elementary_s.png) left top no-repeat;}
#overlay-content .country-topics .country-topic-3__icon {background:url(../img/jinr_theme_nuclear_s.png) left top no-repeat;}
#overlay-content .country-topics .country-topic-4__icon {background:url(../img/jinr_theme_condensed_s.png) left top no-repeat;}
#overlay-content .country-topics .country-topic-5__icon {background:url(../img/jinr_theme_computing_s.png) left top no-repeat;}
#overlay-content .country-topics .country-topic-6__icon {background:url(../img/jinr_theme_education_s.png) left top no-repeat;}

.countries-list-country.former {display: none}
.countries-list-country.suspended .phoca-flagbox {opacity:0.3}
.countries-list-country .countries-list-country__name .comment {display: none}
.countries-list-country.suspended .countries-list-country__name .comment {display: block; font-size:75%;color:#aaa;}
