.bos_congrats_pop_achievements_list::-webkit-scrollbar {
width: 10px;
}

/* Track */
.bos_congrats_pop_achievements_list::-webkit-scrollbar-track {
background: #f1f1f1; 
}

/* Handle */
.bos_congrats_pop_achievements_list::-webkit-scrollbar-thumb {
background: #888;
border-radius: 50px; 
}

/* Handle on hover */
.bos_congrats_pop_achievements_list::-webkit-scrollbar-thumb:hover {
background: #555;
border-radius: 50px; 
}

.badgeos-congrats-achievement {
    background: #fff;
    padding: 1em 2em;
    position: relative;
    overflow: auto;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    margin-bottom: 1em;
    border-radius: 13px;
}

.bos_congrats_pop_achievements_list {
    height: 450px;
    overflow: auto;
    background: #f8f8f8;
    border-radius: 13px;
}


.badgeos-congrats-achievement .title {
    font-size: 1.2em;
    line-height: 1.4em;
    font-weight: bold;
}

.badgeos-congrats-achievement .content {
    max-width: 75%;
    padding-left: 1em;
    position: relative;
    float: left;
}

.badgeos-congrats-achievement p {
    margin-bottom: 0.75em;
	font-size: 14px;

}
.badge_desc_div p a {
    padding: 0px !important;
    background: #fff !important;
    font-size: 14px !important;
    float: none !important;
    margin-left: : 5px !important;
    color: #000 !important;
    border-radius: 0px !important;
}


.badgeos-congrats-achievement p a{
padding: 4px 10px;
background: #4a80ec;
font-size: 14px;
float: left;
margin-top: 10px;
color: #fff;
border-radius: 10px;
}
.badgeos-congrats-achievement .image {
    max-width: 25%;
    border: 3px solid #ccc;
    position: relative;
    float: left;
}
/*.badgeos-congrats-achievement {
	background: #fff;
	padding:1em 2em;
	position: relative;
	overflow: auto;
}

.badgeos-congrats-achievement .title {
	font-size: 2em;
	line-height:1.4em;
	font-weight: bold;
}

.badgeos-congrats-achievement .image {
	max-width:20%;
	position: relative;
	float: left;
}

.badgeos-congrats-achievement .content {
	max-width:75%;
	padding-left:1em;
	position: relative;
	float: left;
}
/**
 * POP Up Header Title
 */
.bos-congrats-title {
	color: #fff;
	font-size: 15px;
	height: auto;
	width: auto;
	margin-left: 9px;
}


 /* The Popup (background) */
#bos_congratulation_mask {
	display: none;  /*Hidden by default */
	position: fixed; /* Stay in place */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Popup Content/Box */
#bos_congratulation_popup {
	display: none;
	position: fixed; /* or absolute */
	width: 830px;
	height: 350px;
	position: fixed;
	/*left: 40%;
	top: 40%; 
	margin-left: -150px !important;
	margin-top: -150px !important;*/
	background-color: #fefefe;
	z-index:9999; /* Sit on top */
	border-radius: 13px;

	
	scroll-behavior: smooth;
}

/* Popup Content/Box */
#bos-congratulation-content-content {
	width: 100%;
	height: 340px;
	scroll-behavior: smooth;
}
/* Popup Content/Box */
#bos-congratulation-content-header {
	display: display;
	width: 100%;
	height: 30px;
	background-color: #888;
	padding: 20px;
	border: 1px solid #888;
	overflow:hidden;
	scroll-behavior: smooth;
}

/**
 * POP Up Header close Button
 */
/* The close Button */
.bos_congratulation_close {
	color: #aaa;
	float: right;
	font-size: 20px;
	font-weight: bold;
	margin-right: 9px
}

.badgeos-congrats {
	background-color: #fefefe;
	position: relative;
	border-radius: 13px;
}

.badgeos_congrats_head {
	width: auto;
	height: auto;
	margin-left: -20px;
	margin-top:-13px
}

.bos_congratulation_close:hover,
.bos_congratulation_close:focus {
	color:red;
	text-decoration: none;
	cursor: pointer;
} 
.nav-tab-wrapper {
	height: 30px;
	clear: left;
}
.nav-tab-wrapper > a {
	margin-left: 0 !important;
	font-weight: normal;
	width: 20%;
	display: inline-block;
	text-align: center;
	float: left;
	margin-right: 0;
	/* border-right: 1px solid #888; */
}
.nav-tab {
    border: 1px solid #ccc;
    border-bottom: none;
    margin-left: .5em;
    padding: 10px 10px;
    font-size: 14px;
    line-height: 1.71428571;
    font-weight: 600;
    background: #ccc;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
}
.nav-tab {
    font-size: 14px;
    line-height: 1.71428571;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}
.nav-tab-wrapper {
	line-height: inherit;
	clear: both;
}
.badgeos-congrats-div-tabs{
	height: 40px;
	background-color: #E5E5E5;
	clear: both;
	overflow: hidden;
	width: 100%;
	display: block;
	border-top-left-radius: 13px;
	border-top-right-radius: 13px;
}
.earned-user-credits-wrapper {
	width: 100%;
	overflow: hidden; 
	margin-bottom: 30px;
	margin-top: 30px;
}
.earned-user-credits-wrapper .badgeos-credits {
	border: 1px solid #e8e8e8;
	position: relative;
}
.earned-user-credits-wrapper .badgeos-credits .badgeos-earned-credit {
	padding: 15px 0;
}
.earned-user-credits-wrapper .badgeos-credits h3 {
	margin: 0;
	font-size: 16px;
}
.earned-user-credits-wrapper .badgeos-credits:nth-child( odd ) {
	width: 30%;
	margin: 20px 1%;
	float: left;
	padding: 1%;
	box-shadow: 1px 1px 3px 2px #ccc;
	background-color: #fff;
}
.earned-user-credits-wrapper .badgeos-credits:nth-child( even ) {
	width: 30%;
	margin: 20px 2%;
	float: left;
	padding: 1%;
	box-shadow: 1px 1px 3px 2px #ccc;
	background-color: #fff;
}
.nav-tab-active{
	background-color:#e5e5e5;
}
.badgeos-congrats-tab-content{
	overflow: auto;
	width: 100%;
	height: 400px;
}
.badgeos-congrats-tab-content-achievements {
	overflow: hidden;
	height: 450px;
}
.badgeos-congrats-rank-table {
	margin: 20px;
	width: 90% !important;
}
.badgeos-congrats-points-main{
	margin: 20px;
	width:90%;
}

.profile_ranks_last_award_field{
	font-size: 20px !important;
	font-weight: bolder;
}

 /* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	#bos_congratulation_popup {
		width: 90%;
		height: 350px;
		position: fixed;
		left: 0;
		top: 40%;
		right: 0;
		margin-left: auto !important;
		margin-top: -150px !important;
		margin-right: auto !important;
	}
	.badgeos-congrats-achievement {
		padding: 0;
	}
	.nav-tab-wrapper > a {
		width: 100%;
		float: none;
		border-bottom: 1px solid #888;
	}
	.badgeos-congrats-div-tabs {
		height: initial;
	}
	/* Popup Content/Box */
	#bos-congratulation-content-content {
		width: 100%;
		height: 350px;
		scroll-behavior: smooth;
		font-size: 9px;
	}
	/* Popup Content/Box */
	#bos-congratulation-content-header {
		display: block;
		width: 100%;
		height: 20px;
		background-color: #888;
		padding: 20px;
		border: 1px solid #888;
		overflow: hidden;
		scroll-behavior: smooth;
	}
	.bos-congrats-title{
		font-size: 16px;
	}
	.badgeos-congrats-tab-content{
		overflow: auto;
		width: 100%;
		height: 225px;
		padding: 15px;
		font-size: 16px;
	}
	.badgeos-congrats-tab-content-achievements {
		overflow: hidden;
		height: 465px;
	}
}

 /* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
	#bos_congratulation_popup {
		width: 90%;
		height: 350px;
		position: fixed;
		left: 0;
		top: 40%;
		right: 0;
		margin-left: auto !important;
		margin-top: -150px !important;
		margin-right: auto !important;
		border-radius: 13px;

	}
	
	/* Popup Content/Box */
	#bos-congratulation-content-content {
		width: 100%;
		height: 340px;
		scroll-behavior: smooth;
	}
	/* Popup Content/Box */
	#bos-congratulation-content-header {
		display: block;
		width: 100%;
		height: 30px;
		background-color: #888;
		padding: 20px;
		border: 1px solid #888;
		scroll-behavior: smooth;
	}
	.badgeos-congrats-tab-content{
		overflow: auto;
		width: 100%;
		height: 290px;
	}
	.badgeos-congrats-tab-content-achievements {
		overflow: auto;
		height: 350px;
	}
}
  /* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
	#bos_congratulation_popup {
		width: 630px;
		height: 350px;
		position: fixed;
		border-radius: 13px;
		/*left: 40%;
		top: 40%; 
		margin-left: -150px !important;
		margin-top: -150px !important;*/
	}
	/* Popup Content/Box */
	#bos-congratulation-content-content {
		width: 100%;
		height: 340px;
		scroll-behavior: smooth;
	}
	/* Popup Content/Box */
	#bos-congratulation-content-header {
		display: block;
		width: 100%;
		height: 40px;
		background-color: #888;
		padding: 10px 20px;
		border: 1px solid #888;
		overflow: hidden;
		scroll-behavior: smooth;
	}
	.badgeos-congrats-tab-content{
		overflow: auto;
		width: 100%;
		height: 400px;
	}
	.badgeos-congrats-tab-content-achievements {
		overflow: hidden;
		height: 450px;
	}
}
 
 /* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}
 
 /* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

}
@media only screen and (max-width: 400px) {
	.bos-congrats-title {
		font-size: 11px;
	}
}

/*.bos_congrats_pop_achievements_list {
	height: 300px;
	overflow: auto;
}*/

.badge_desc_textarea textarea {
	font-size: 12px !important;
}

#bos_point_block img {
	max-width: 40% !important;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

#bos_point_block h3 {
	text-align: center;
}

#bos_point_block .badgeos-earned-credit {
	text-align: center;
	padding: 0px !important;
	font-weight: bold;
	font-size: 20px;
}
