body {
    font-family: Arial,sans-serif;
}

/* PDF document links */
a[href$='.pdf'] {
	background: transparent url(/images/icon-pdf.png) center left no-repeat;
	display: inline-block;
	padding-left: 25px;
	line-height: 20px;
}
/* Word Document Links */
a[href$='.doc'], a[href$='.rtf'], a[href$='.wps'], a[href$='.txt'], a[href$='.docx']  {
	background: transparent url(/images/icon-doc.png) center left no-repeat;
	display: inline-block;
	padding-left: 25px;
	line-height: 20px;
}
/* Excel Document Links */
a[href$='.xls'], a[href$='.ods'], a[href$='.xlsx'] {
	background: transparent url(/images/icon-xls.png) center left no-repeat;
	display: inline-block;
	padding-left: 25px;
	line-height: 20px;
}
.margt {
	margin-top: 15px;
}
.margb {
	margin-bottom: 15px;
}
.margl {
	margin-left: 15px;
}
.margr {
	margin-right: 15px;
}
.margb-sm {
	margin-bottom: 10px;
}
/*th {
	background:#E0E0E0;
}
*/

.success_bg {
	background-color: #DFF0D8;
}
.info_bg {
	background-color: #D9EDF7
}
.warning_bg {
	background-color: #FCF8E3
}
.danger_bg {
	background-color: #F2DEDE
}

.errform {
        color: #CD0003;
}

.crmbar {
	background-color: #7E7C70 !important;
	border-color: #7E7C70  !important;
}

.navbar-inverse {
	background-color: #202f46;
	border-color: #202f46;
}
.navbar-inverse .navbar-nav > li > a {
	color: #fff;
}
.navbar-default .navbar-nav > li > a {
	color: #202f46;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
	color: #202f46;
}

.navbar-inverse .navbar-toggle {
	background: #000000;
	color: #fff;
}

.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
	background: #000000;
	color: #fff;
}


.navbar-brand {
	margin-right: 10px;
}

.brandactive {
	background: #000;
	color: #fff !important;
}

.brandactive:hover {
	background: #414040 !important;
}

.btn-primary {
	color: #fff;
	background-color: #202f46;
	border-color: #202f46;
}
h1.page-header {
	margin-top: -5px;
}
.sidebar {
	padding-left: 0;
}
.main-container {
	background: #FFF;
	padding-top: 15px;
	margin-top: -20px;
}
.footer {
	width: 100%;
}
:focus {
	outline: none;
}
.panel-default > .panel-heading {
	font-size: 1.3em;
	font-weight: bold;
}
.side-menu {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: #f8f8f8;
	border-right: 1px solid #e7e7e7;
}
.side-menu .navbar {
	border: none;
}
.side-menu .navbar-header {
	width: 100%;
	border-bottom: 1px solid #e7e7e7;
}
.side-menu .navbar-nav .active a {
	background-color: transparent;
	margin-right: -1px;
	background: #e7e7e7;
}
.side-menu .navbar-nav li {
	display: block;
	width: 100%;
	border-bottom: 1px solid #e7e7e7;
}
.side-menu .navbar-nav li a {
	padding: 15px;
}
.side-menu .navbar-nav li a .glyphicon {
	padding-right: 10px;
}
.side-menu #dropdown {
	border: 0;
	margin-bottom: 0;
	border-radius: 0;
	background-color: transparent;
	box-shadow: none;
}
.side-menu #dropdown .caret {
	float: right;
	margin: 9px 5px 0;
}
.side-menu #dropdown .indicator {
	float: right;
}
.side-menu #dropdown > a {
	border-bottom: 1px solid #e7e7e7;
}
.side-menu #dropdown .panel-body {
	padding: 0;
	background-color: #f3f3f3;
}
.side-menu #dropdown .panel-body .navbar-nav {
	width: 100%;
}
.side-menu #dropdown .panel-body .navbar-nav li {
	padding-left: 15px;
	border-bottom: 1px solid #e7e7e7;
}
.side-menu #dropdown .panel-body .navbar-nav li:last-child {
	border-bottom: none;
}
.side-menu #dropdown .panel-body .panel > a {
	margin-left: -20px;
	padding-left: 35px;
}
.side-menu #dropdown .panel-body .panel-body {
	margin-left: -15px;
}
.side-menu #dropdown .panel-body .panel-body li {
	padding-left: 30px;
}
.side-menu #dropdown .panel-body .panel-body li:last-child {
	border-bottom: 1px solid #e7e7e7;
}
.side-menu #search-trigger {
	background-color: #f3f3f3;
	border: 0;
	border-radius: 0;
	position: absolute;
	top: 0;
	right: 0;
	padding: 15px 18px;
}
.side-menu .brand-name-wrapper {
	min-height: 50px;
}
.side-menu .brand-name-wrapper .navbar-brand {
	display: block;
}
.side-menu #search {
	position: relative;
	z-index: 1000;
}
.side-menu #search .panel-body {
	padding: 0;
}
.side-menu #search .panel-body .navbar-form {
	padding: 0;
	padding-right: 50px;
	width: 100%;
	margin: 0;
	position: relative;
	border-top: 1px solid #e7e7e7;
}
.side-menu #search .panel-body .navbar-form .form-group {
	width: 100%;
	position: relative;
}
.side-menu #search .panel-body .navbar-form input {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	width: 100%;
	height: 50px;
}
.side-menu #search .panel-body .navbar-form .btn {
	position: absolute;
	right: 0;
	top: 0;
	border: 0;
	border-radius: 0;
	background-color: #f3f3f3;
	padding: 15px 18px;
}
/* Main body section */
.side-body {
	margin-left: 310px;
}
.image-upload {
	width: 250px;
	float: left;
	margin: 10px;
}
.image-thumbnail {
	height: 150px;
	overflow: hidden;
	text-align: center;
	margin-top: 10px;
}
.image-thumbnail img {
	height: 150px;
}
.thumb-xs {
	width: 50px;
	height: 50px;
	margin: 10px 0;
	overflow: hidden
}

.thumb-s {
	height: 75px;
	margin-bottom: 10px;
}

.thumb-s img {
	max-height: 75px;
}




/* small screen */
@media (max-width: 768px) {
.side-menu {
	position: relative;
	width: 100%;
	height: 0;
	border-right: 0;
}
.side-menu .navbar {
	z-index: 999;
	position: relative;
	height: 0;
	min-height: 0;
	background-color: none !important;
	border-color: none !important;
}
.side-menu .brand-name-wrapper .navbar-brand {
	display: inline-block;
}
	/* Slide in animation */
	@-moz-keyframes slidein {
 0% {
 left: -300px;
}
 100% {
 left: 10px;
}
}
 @-webkit-keyframes slidein {
 0% {
 left: -300px;
}
 100% {
 left: 10px;
}
}
 @keyframes slidein {
 0% {
 left: -300px;
}
 100% {
 left: 10px;
}
}
 @-moz-keyframes slideout {
 0% {
 left: 0;
}
 100% {
 left: -300px;
}
}
 @-webkit-keyframes slideout {
 0% {
 left: 0;
}
 100% {
 left: -300px;
}
}
 @keyframes slideout {
 0% {
 left: 0;
}
 100% {
 left: -300px;
}
}
/* Slide side menu*/
	/* Add .absolute-wrapper.slide-in for scrollable menu -> see top comment */
.side-menu-container > .navbar-nav.slide-in {
	-moz-animation: slidein 300ms forwards;
	-o-animation: slidein 300ms forwards;
	-webkit-animation: slidein 300ms forwards;
	animation: slidein 300ms forwards;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}
.side-menu-container > .navbar-nav {
	/* Add position:absolute for scrollable menu -> see top comment */
	position: fixed;
	left: -300px;
	width: 300px;
	top: 43px;
	height: 100%;
	border-right: 1px solid #e7e7e7;
	background-color: #f8f8f8;
	overflow: auto;
	-moz-animation: slideout 300ms forwards;
	-o-animation: slideout 300ms forwards;
	-webkit-animation: slideout 300ms forwards;
	animation: slideout 300ms forwards;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}
 @-moz-keyframes bodyslidein {
 0% {
 left: 0;
}
 100% {
 left: 300px;
}
}
 @-webkit-keyframes bodyslidein {
 0% {
 left: 0;
}
 100% {
 left: 300px;
}
}
 @keyframes bodyslidein {
 0% {
 left: 0;
}
 100% {
 left: 300px;
}
}
 @-moz-keyframes bodyslideout {
 0% {
 left: 300px;
}
 100% {
 left: 0;
}
}
 @-webkit-keyframes bodyslideout {
 0% {
 left: 300px;
}
 100% {
 left: 0;
}
}
 @keyframes bodyslideout {
 0% {
 left: 300px;
}
 100% {
 left: 0;
}
}
/* Slide side body*/
.side-body {
	margin-left: 5px;
	margin-top: 70px;
	position: relative;
	-moz-animation: bodyslideout 300ms forwards;
	-o-animation: bodyslideout 300ms forwards;
	-webkit-animation: bodyslideout 300ms forwards;
	animation: bodyslideout 300ms forwards;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}
.body-slide-in {
	-moz-animation: bodyslidein 300ms forwards;
	-o-animation: bodyslidein 300ms forwards;
	-webkit-animation: bodyslidein 300ms forwards;
	animation: bodyslidein 300ms forwards;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}
/* Hamburger */
.navbar-toggle-sidebar {
	border: 0;
	float: left;
	padding: 18px;
	margin: 0;
	border-radius: 0;
	background-color: #f3f3f3;
}
/* Search */
#search .panel-body .navbar-form {
	border-bottom: 0;
}
#search .panel-body .navbar-form .form-group {
	margin: 0;
}
.side-menu .navbar-header {
	/* this is probably redundant */
	position: fixed;
	z-index: 3;
	background-color: #f8f8f8;
}
/* Dropdown tweek */
#dropdown .panel-body .navbar-nav {
	margin: 0;
}
}
 @-moz-document url-prefix() {
 fieldset {
display: table-cell;
}
}
/* Areas */

.nav-tabs-dropdown {
	display: none;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.nav-tabs-dropdown:before {
	content: "\e114";
	font-family: 'Glyphicons Halflings';
	position: absolute;
	right: 30px;
}

@media screen and (min-width: 769px) {
#nav-tabs-wrapper {
	display: block!important;
}
}

@media screen and (max-width: 768px) {
.nav-tabs-dropdown {
	display: block;
}
#nav-tabs-wrapper {
	display: none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	text-align: center;
}
.nav-tabs-horizontal {
	min-height: 20px;
	padding: 19px;
	margin-bottom: 20px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}
.nav-tabs-horizontal > li {
	float: none;
}
.nav-tabs-horizontal > li + li {
	margin-left: 2px;
}
.nav-tabs-horizontal > li,  .nav-tabs-horizontal > li > a {
	background: transparent;
	width: 100%;
}
.nav-tabs-horizontal > li > a {
	border-radius: 4px;
}
.nav-tabs-horizontal > li.active > a,  .nav-tabs-horizontal > li.active > a:hover,  .nav-tabs-horizontal > li.active > a:focus {
	color: #ffffff;
	background-color: #428bca;
}
}

.crmicons i {
	font-size: 6em;
	background: #C5BFC0;
	text-align: center;
	border-radius: 50%;
	height: 160px;
	width: 160px;
	line-height: 160px;
}

.crmicons strong {
	display: block;
	text-align: center;
	font-size: 2em;
	margin: 15px 0 30px;
}

.crmicons a:hover {
	text-decoration:none
}

.flash-button{
	background:blue;
	padding:5px 10px;
	color:#fff;
	border:none;
	border-radius:5px;
	
	animation-name: flash;
	animation-duration: 1s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;

	//Firefox 1+
	-webkit-animation-name: flash;
	-webkit-animation-duration: 1s;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;

	//Safari 3-4
	-moz-animation-name: flash;
	-moz-animation-duration: 1s;
	-moz-animation-timing-function: linear;
	-moz-animation-iteration-count: infinite;
}

@keyframes flash {  
    0% { opacity: 1.0; }
    50% { opacity: 0.5; }
    100% { opacity: 1.0; }
}

//Firefox 1+
@-webkit-keyframes flash {  
    0% { opacity: 1.0; }
    50% { opacity: 0.5; }
    100% { opacity: 1.0; }
}

//Safari 3-4
@-moz-keyframes flash {  
    0% { opacity: 1.0; }
    50% { opacity: 0.5; }
    100% { opacity: 1.0; }
}



.greybackground{
    background-color: #999999;
    z-index: -100;
}

.greybackground img {
	height: auto !important;
	padding: 20px;
}

/** multi select selectpicker 
 .dropdown {
   list-style: none;
   display: inline-block;
   min-width: 300px;
 }
 
 .dropdown-toggle {
   padding: 5px;
   text-decoration: none;
   background-color: #ffffff;
   display: inline-block;
   font-size: 14px;
   border: 1px solid #DDDDDD;
   margin-bottom: -1px;
 }
 
 .dropdown-menu {
   margin: 0;
   list-style: none;
   white-space: nowrap;
   border: 1px solid #DDDDDD;
   padding: 10px;
   background-color: #ffffff;
 }
 /** end multi select selectpicker **/
