body {
  font-size: 11px;
}

.user-friends img {
    height: auto;
}

.page-login {
	background: url("../img/bg-sbm-new-3.jpg") no-repeat;
	background-size: cover;
}

.input-group-btn>.btn {
    position: relative;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
}

.iradio__with-input .iradio_square-green,
.iradio__with-input .icheckbox_square-green {
	margin-top: 3px;
}

.loginbox {
	margin-top: 160px;
	background-color: rgba(255,255,255,0.9);
	padding-left: 80px;
	padding-right: 80px;
	padding-top: 30px;
	padding-bottom: 30px;
	width: 460px !important;
	border-radius: 30px;
}

.sidebarfix {
	position:fixed;
}

.scroll-out-1 {
	max-height: calc(100vh - 100px);
	min-height: calc(100vh - 100px);
	overflow: hidden;
}

.main-content {
	display: inline-flex;
}

/* DataTables Pagination Spacing Fix */
.dataTables_wrapper {
	padding-bottom: 25px !important;
}

.dataTables_info,
.dataTables_paginate {
	margin-bottom: 15px !important;
}

.main-content-long {
	width: 6000px;
}

.main-content-short {
	width: 100%;
}

.no-padding-side {
	padding-left:0;
	padding-right:0;
}

.force-left-15 {
	left: -15px;
}

.view-fit {
	height: calc(100vh - 100px);
	border-right: 4px solid #e7eaec;
}

.box-fit {
	height:100%;
	margin-bottom:0;
}

.content-fit {
	height: calc(100vh - 150px);
	overflow: hidden;
	padding-left:0;
	padding-right:0;
}

.menu-box {
	padding-left: 20px;
	padding-right: 0;
}

.menu-box-right {
	padding-right: 40px;
	border-right: 0;
}

.inside-fit {
	height: calc(100vh - 192px);
	overflow:hidden;
}

.ibox.fullscreen .inside-fit {
	height: calc(100vh - 80px);
}

.inside-sidebar {
	height: calc(100vh - 45px);
}

.inside-fit > .row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.no-margin-side {
	margin-left: 0 !important;
	margin-right: 0 !important;	
}

/* .dataTables_wrapper > .row {
	margin-left: 0 !important;
	margin-right: 0 !important;
} */

.table-condensed {
	font-size: 11px;
}

.table.table-condensed > thead > tr > th, .table.table-condensed > tbody > tr > th, .table.table-condensed > tfoot > tr > th, .table.table-condensed > thead > tr > td, .table.table-condensed > tbody > tr > td, .table.table-condensed > tfoot > tr > td {
	padding: 5px 20px 5px 5px !important;
}

.datatable

.border-right {
	border-right: 3px solid #e7eaec;
}

.align-left {
	text-align: left !important;
}

.align-right {
	text-align: right !important;
}

.minimize-text {
	transform: rotate(-90deg);
	text-align: right;
	margin-top: 120px;
	margin-left: -102px;
	width: 250px;
}

.overflow-hidden {
	margin: 0px 15px;
}

.btn-xxs {
	width: 20px !important;
	height: 20px !important;
	padding: 0px 0px;
	font-size: 7px;
}

.ui-dialog{
	overflow: visible !important;
}
.ui-dialog-content{
	overflow: visible !important;
}

.no-pading {
	padding:0 !important;
}

.full-size{
}

.cursor-pointer {
	cursor:pointer;
}

.form {
	width:95%;
}

.list-selected {
	background: #f5f5f5;
}

.list-selected * {
	font-weight: 700;
}

.row-link{
	cursor: pointer;
	width: 100%;
	display: block;
}

.rubric-selected {
	background-color: #DFDFDF;
}

.preserve-line-return {
	white-space:pre-line;
}

.page-print {
	-webkit-print-color-adjust: exact;
	height: 290mm;
	width: 200mm;
}

.app-modal-window .modal-dialog {
	width: 1000px;
}

.col-centered{
	float: none;
	margin: 0 auto;
}

.tooltip.top-left .tooltip-inner {
	text-align: left !important
}

.tooltip.top-left .tooltip-inner p {
	margin-bottom: 0px;
}
/* TOOGLE SWICH */
.showhiddenswitch {
	position: relative;
	width: 64px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}
.showhiddenswitch-checkbox {
	display: none;
}
.showhiddenswitch-label {
	display: block;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid #1ab394;
	border-radius: 2px;
}
.showhiddenswitch-inner {
	width: 200%;
	margin-left: -100%;
	-moz-transition: margin 0.3s ease-in 0s;
	-webkit-transition: margin 0.3s ease-in 0s;
	-o-transition: margin 0.3s ease-in 0s;
	transition: margin 0.3s ease-in 0s;
}
.showhiddenswitch-inner:before,
.showhiddenswitch-inner:after {
	float: left;
	width: 50%;
	height: 20px;
	padding: 0;
	line-height: 20px;
	font-size: 12px;
	color: white;
	font-family: Trebuchet, Arial, sans-serif;
	font-weight: bold;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.showhiddenswitch-inner:before {
	content: "SHOW";
	padding-left: 10px;
	background-color: #1ab394;
	color: #FFFFFF;
}
.showhiddenswitch-inner:after {
	content: "HIDDEN";
	padding-right: 10px;
	background-color: #FFFFFF;
	color: #999999;
	text-align: right;
}
.showhiddenswitch-switch {
	width: 20px;
	margin: 0;
	background: #FFFFFF;
	border: 2px solid #1ab394;
	border-radius: 2px;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 44px;
	-moz-transition: all 0.3s ease-in 0s;
	-webkit-transition: all 0.3s ease-in 0s;
	-o-transition: all 0.3s ease-in 0s;
	transition: all 0.3s ease-in 0s;
}
.showhiddenswitch-checkbox:checked + .showhiddenswitch-label .showhiddenswitch-inner {
	margin-left: 0;
}
.showhiddenswitch-checkbox:checked + .showhiddenswitch-label .showhiddenswitch-switch {
	right: 0;
}

/* SWITCHES */
.showhiddenswitch {
	position: relative;
	width: 70px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}
.showhiddenswitch-checkbox {
	display: none;
}
.showhiddenswitch-label {
	display: block;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid #1AB394;
	border-radius: 3px;
}
.showhiddenswitch-inner {
	display: block;
	width: 200%;
	margin-left: -100%;
	-moz-transition: margin 0.3s ease-in 0s;
	-webkit-transition: margin 0.3s ease-in 0s;
	-o-transition: margin 0.3s ease-in 0s;
	transition: margin 0.3s ease-in 0s;
}
.showhiddenswitch-inner:before,
.showhiddenswitch-inner:after {
	display: block;
	float: left;
	width: 50%;
	height: 16px;
	padding: 0;
	line-height: 16px;
	font-size: 10px;
	color: white;
	font-family: Trebuchet, Arial, sans-serif;
	font-weight: bold;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.showhiddenswitch-inner:before {
	content: "SHOW";
	padding-left: 9px;
	background-color: #1AB394;
	color: #FFFFFF;
}
.showhiddenswitch-inner:after {
	content: "HIDDEN";
	padding-right: 7px;
	background-color: #FFFFFF;
	color: #919191;
	text-align: right;
}
.showhiddenswitch-switch {
	display: block;
	width: 18px;
	margin: 0;
	background: #FFFFFF;
	border: 2px solid #1AB394;
	border-radius: 3px;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 52px;
	-moz-transition: all 0.3s ease-in 0s;
	-webkit-transition: all 0.3s ease-in 0s;
	-o-transition: all 0.3s ease-in 0s;
	transition: all 0.3s ease-in 0s;
}
.showhiddenswitch-checkbox:checked + .showhiddenswitch-label .showhiddenswitch-inner {
	margin-left: 0;
}
.showhiddenswitch-checkbox:checked + .showhiddenswitch-label .showhiddenswitch-switch {
	right: 0;
}

.scrollable-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}

/* Avatar */
.avatar-upload {
  position: relative;
  max-width: 205px;
  margin: 50px auto;
}

.avatar-upload.is-2x3 {
  max-width: 128px;
}

.avatar-upload.is-square {
  max-width: 192px;
}

.avatar-upload.has-left-indent {
	margin: 50px 0;
}
.avatar-upload.is-square,
.avatar-upload.is-2x3 {
	margin: 15px 0;
}
.avatar-upload .avatar-edit {
	position: absolute;
  right: 12px;
  z-index: 1;
  top: 10px;
}
.avatar-upload.is-square .avatar-edit,
.avatar-upload.is-2x3 .avatar-edit {
	right: -15px;
	top: -15px;
}
.avatar-upload.is-square .avatar-edit input + label,
.avatar-upload.is-2x3 .avatar-edit input + label {
	width: 35px;
  height: 35px;
}
.avatar-upload .avatar-edit input {
  display: none;
}
.avatar-upload .avatar-edit input + label {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #1ab394;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}
.avatar-upload .avatar-edit input + label:hover {
  background: #15997f;
}
.avatar-upload .avatar-edit input + label:after {
  content: "\f040";
  font-family: 'FontAwesome';
	color: white;
	font-size: 18px;
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  text-align: center;
  margin: auto;
}
.avatar-upload.is-square .avatar-edit input + label:after,
.avatar-upload.is-2x3 .avatar-edit input + label:after {
	font-size: 15px;
	top: 7px;
}
.avatar-upload .avatar-preview {
  width: 192px;
  height: 192px;
  position: relative;
	border-radius: 100%;
	background-color: #f3f3f4;
}

 .avatar-upload.is-2x3 .avatar-preview {
	 width: 128px;
 }

.avatar-upload .avatar-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.avatar-upload.is-square .avatar-preview,
.avatar-upload.is-square .avatar-preview > div,
.avatar-upload.is-2x3 .avatar-preview,
.avatar-upload.is-2x3 .avatar-preview > div {
	border-radius: 0px;
}

.form-check:hover {
	cursor: pointer;
}

.profile__short-info {
	position: relative;
	margin: 12px 0;
	min-height: 120px;
}

.profile__short-info-centered {
	position: absolute;
	top : 50%;
	transform: translateY(-50%);
}

.ibox.selected {
	border: 1px solid #1a7bb9
}

.form__chosen-fix-size .chosen-container.chosen-container-single {
	width: 257px !important;
}

.bootstrap-duallistbox-container option {
	font-size : 12px !important;
	white-space: normal;
	padding: 4px;
}

.bootstrap-duallistbox-container option:nth-child(even) {
	background-color : #DFDFDF;
}

.bootstrap-duallistbox-container option:hover {
	background-color : #18a689;
	color : white;
}

.form__title {
	white-space: nowrap; 
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

.form__description {
  display: block;
  display: -webkit-box;
	height: 66px;
	line-height: 1.5;
  margin: 0 auto;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chosen-container-multi .chosen-choices {
	background-image: none !important;
	padding: 3px 12px !important;
	border-radius: 0px;
}

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

.has-error .chosen-container-multi .chosen-choices, 
.has-error .chosen-container-single .chosen-single {
	border-color: #ed5565;
}

.has-hidden-chosen .chosen-container {
	width : 100% !important;
}



.image-container div {
	width: 100%;
	padding-bottom: 100%;
  background-size: cover;
  background-repeat: no-repeat;
	background-position: center;
	background-color: #e7eaec;
}

.image-container.is-2x3 {
	max-width: 360px;
}

.image-container.is-2x3 div{
	padding-bottom: 150%;
}

.image-container.is-2x3.m-b-xs div{
	padding-bottom: 150%;
	min-height: 60px;
}

.view-detail-library .well.well-sm{
	background-color: white;
	margin-bottom: 15px;
}

.image-view {
	width: 100%;
	padding-top: 100%;
  background-size: cover;
  background-repeat: no-repeat;
	background-position: center;
	background-color: #f3f3f4;
}

.image-view.is-rounded {
	border-radius: 50%;
}

.animate-show-hide.ng-hide {
  opacity: 0;
}

.animate-show-hide.ng-hide-add,
.animate-show-hide.ng-hide-remove {
  transition: all linear 0.5s;
}

.check-element {
  border: 1px solid black;
  opacity: 1;
  padding: 10px;
}

.input-xs:not(.ui-select-search) {
		font-weight: 600;
		width: 100% !important;
    height: 22px;
    padding: 5px 5px;
    font-size: 12px;
		line-height: 1.5;
}

.select-xs {
		font-weight: 600;
    height: 22px;
    padding: 0px;
    font-size: 12px;
		line-height: 1.5;
}

.ui-select-multiple.ui-select-bootstrap {
	padding: 3.2px 12px 1.5px !important;
}

input.ui-select-search.input-xs.ng-pristine.ng-untouched.ng-valid.ng-empty {
	width: 100% !important;
}

.ui-select-bootstrap .ui-select-choices-row.active>span {
	background-color: #1ab394 !important;
}

.form-group.has-error .note-editor.note-frame.panel.panel-default {
	border-color: #ed5565 !important;
}

.well.error-border {
	border-color: #ed5565 !important;
}

.wrap-box {
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
 }

span.ui-select-choices-row-inner {
	white-space: normal !important;
	border-bottom: 1px solid #f1f1f1;
}
 
.has-full-width {
	width: 100% !important;
}

.break-word {
	word-break: break-word !important;
}


/* Custom Toaster Error*/
.custom-error-toast {
	border-left: 5px solid #d9534f; /* Bootstrap red */
	background: #fff0f0;
}
.custom-error-toast .toast-title {
	color: #b52b27;
	font-weight: bold;
}
.custom-error-toast ul {
	padding-left: 20px;
	margin-bottom: 0;
}
.custom-error-toast li {
	margin-bottom: 4px;
}

.custom-error-toast .copy-btn {
	background: #f5f5f5;      /* subtle light background */
	color: #b52b27;           /* match the error red for visibility */
	border: 1px solid #b52b27;
	border-radius: 3px;
	padding: 2px 8px;
	margin-top: 8px;
	cursor: pointer;
	font-size: 12px;
	transition: background 0.2s, color 0.2s;
}

.custom-error-toast .copy-btn:hover {
	background: #b52b27;
	color: #fff;
}
