.expired-red {
	border-color: #FF0000;
}
.ribbon.expired-red, .flag.expired-red {
    background-color: #FF0000;
    color:#fff;
}
.expired-orange {
	border-color: orange;
}
.ribbon.expired-orange, .flag.expired-orange {
    background-color: orange;
}
.expired-yellow{
	border-color: yellow;
}
.ribbon.expired-yellow, .flag.expired-yellow {
    background-color:yellow;
}
.expired-green {
	border-color: #31B404;
}
.ribbon.expired-green, .flag.expired-green {
	background-color:#31B404;
}
.expired-blue {
	border-color: blue;
}
.ribbon.expired-blue, .flag.expired-blue {
    background-color: blue;
}
.expired-purple {
	border-color: purple;
}
.ribbon.expired-purple, .flag.expired-purple {
    background-color: purple;
}
.expired-brown {
	border-color: brown;
}
.ribbon.expired-brown, .flag.expired-brown {
    background-color: brown;
}
.expired-black {
	border-color: black;
}
.ribbon.expired-black, .flag.expired-black {
    background-color: black;
}
.expired-grey {
	border-color: grey;
}
.ribbon.expired-grey, .flag.expired-grey {
    background-color: grey;
}
.expired-white {
	border-color: white;
}
.ribbon.expired-white, .flag.expired-white {
    background-color: white;
}
.ribbon-wrapper {
  width: 30px;
  height: 30px;
  overflow: hidden;
  position: absolute;
  top: -2px;
  right: -2px;
}

.ribbon {
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
  position: relative;
  padding: 9px 0;
  top: -3;
  width: 50px;
  -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
  box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
  border-width:0px;
  border-width:1px;
  text-align: center;
}

.ribbon- {
	-webkit-box-shadow: none;
  	-moz-box-shadow:    none;
  	box-shadow:         none;
}
.BadgeDogear {
    background-color:
}
.BadgeDogear .ribbon-wrapper, #previewimagewrapper .ribbon-wrapper {
    width: 50px;
    height:50px;
    z-index:1;
    
}
.BadgeDogear .ribbon, #previewimagewrapper .ribbon {
    width:70px;
    height:15px;
    top:-5px;
    left:2px;
    padding: 10px 0;
}

.ImageWrapper {
    position: relative;
}

.ImageWrapper .flag-wrapper{
    position: absolute;
    left:0;
    bottom:0;
}
.flag-wrapper .flag {
    padding:4px;
}

.BadgesDisplay.ResourcePanelInfo img{
	float: none;
	margin: 0 5px 0 0;
}
.BadgesDisplay img, .ResourcePanel .ImageWrapper .BadgesDisplay img {
	display:inline-block;
	height:20px;
	float:right;
	margin-left: 5px;
}

#previewimagelink {
    display: inline-block;
}
#badges_field_table .ListToolsColumn {width:200px;}
#badges_field_table img.badge_preview {max-height:21px;}
.badges_field_details:hover td {background-color: transparent !important; color:#474747 !important;}
.badges_field_details:hover td thead td {color:#fff !important;}
.badges_field_details:hover td a, .badges_field_details:hover td a i {color:#474747 !important;}
.badges_field_details td.BadgesTableInner {padding:0px;}
.badges_field_details .BadgesTableInner thead {font-size:0.8125rem;background-color:#a2a2a2;}

#modal.edit_badge {
    width:786px !important;
    height:400px !important;
}

#Question-icon-fa {
    max-height:125px;
    overflow-y:auto;
    position:relative;
}

#badge_edit .radioOptionTable label {
    float:none;
}

#badge_edit .Question div img {
    max-height: 28px;
    margin-right:10px;
}

#badge_edit .Question div i {
    font-size:1.5rem;
    margin-right:10px;
}

#badge_edit .Question #FA-Lib {
    display:none;
    position:absolute;
    top:0px;
}

#FA-Lib-Filter {
    margin-left:282px;
}

#badge_edit .Question #FA-Lib ul {
    list-style: none;
    margin-left:0px;
    cursor: pointer;
}

#badge_edit .Question #FA-Lib ul li {
    display:inline-block;
    padding:5px;
    width:44px;
}

#badge_edit .Question #FA-Lib ul li:hover {
    background-color:#EFEFEF;
}

#badge_edit .Question #FA-Lib ul li .fa_icon_option {
    text-align:center;
}

#badge_edit .Question #FA-Lib ul li i {
    font-size:2.1875rem;
    margin-right:0px;
}

#badge_edit .Question #FA-Lib ul li .fa_icon_name {
    display:none;
    text-align:center;
    font-size:0.75rem;
}

#badge_edit .Question #IconFaView {
    display:inline-block;
}

#badge_edit .Question #IconFaView i {
    width: 26px;
    height:35px;
    line-height: 35px;
    vertical-align: top;
}

#badge_edit .Question #IconFaView span {
    width:264px;
}

#badge_edit .Question #IconFaView button {
    height:35px;
    position: absolute;
}

#badge_edit .Question #FA-Lib-Filter button {
    height:35px;
}

#badge_edit .Question #IconFaView .fa_class_toggle {
    display:inline-block;
}
#badge_edit .Question #IconFaView .fa_class_toggle label {
    float:none;
}