body {
    background-image: url("../img/bg-pattern.png");
    padding-top: 90px;
    min-height: calc(100vh - 90px);
}

.page {
    position:relative;
    padding: 20px 20px 0;
    width: 1060px;
    margin: 0 auto 52px;
}

.page .container {
    margin: 0;
}

.page-header,
.page-header > h1 {
    margin-top: 0;
}

.navbar .brand {
    color: #2589A5;
}

.container.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.292969);
    margin-top: 10px;
}

.nav.pull-right li a {
    padding-right: 0;
}

.display-block {
    display: block !important;
    width: 98% !important;
}

.transparent-bg {
    -moz-box-shadow: rgba(0, 0, 0, 0.292969) 0px 1px 4px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.292969) 0px 1px 4px;
    box-shadow: rgba(0, 0, 0, 0.292969) 0px 1px 4px;
    background-color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.manytomany {
    list-style: none;
    margin: 0;
    padding-top: 5px;
}

.manytomany li {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}

.grab {
    cursor: pointer;
}

.attributes {
    list-style: none;
}

.attributes li {
    margin-bottom: 10px;
}

.varTable {
/*    width: 650px;
    margin-left: 410px;
    margin-top: -100px;*/
}

.variables {
    list-style: none;
    margin: 0;
}

.variables li {
    line-height: 24px;
}

.variables li span {
    display: inline-block;
    width: 120px;
    text-align: right;
    margin-right: 10px;
}

.faq textarea {
    width: 400px;
    height: 20px;
}

.control-group {
    position: relative;
}

.control-group:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -10px;
    left: -20px;
    pointer-events: none;
    width: calc(100% + 40px);
    height: 50px;
    transition: .3s ease all;
    background-color: transparent;
}

.control-group.willChange:before {
    background-color: #fff3d1;
}

.control-group.willChange .bulkEditConfirmation label {
    color: black;
}

.controls {
    position: relative;
}

.help-popover {
    position: absolute;
    margin-left: 20px !important;
    top: -11px;
    left: auto;
    display: none;
}

.span4:first-child .help-popover,
.two-column .help-popover {
    left: 220px;
}


.table-striped tbody>tr.success:nth-child(odd)>td,
.table-striped tbody>tr.success:nth-child(odd)>th {
    background-color: #cee0c7;
}

.table-striped tbody>tr.error:nth-child(odd)>td,
.table-striped tbody>tr.error:nth-child(odd)>th {
    background-color: #f2cdcd;
}

.table-striped tbody>tr.warning:nth-child(odd)>td,
.table-striped tbody>tr.warning:nth-child(odd)>th {
    background-color: #ece7d2;
}

.collapsable i {
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url("../img/glyphicons-halflings.png");
    background-position: 14px 14px;
    background-repeat: no-repeat;
    margin-top: 2px;
    background-position: -456px -72px;
}

.collapsable.open i {
    background-position: -313px -119px;
}


#clientIdDrop .dropdown-menu{
    overflow: auto;
    max-height: 500px;
    top:30px;
}

#clientIdDrop .dropdown-menu form{
    padding: 10px 20px;
    margin: 0;
}

#clientIdDrop .dropdown-menu ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

#clientIdDrop .dropdown-menu ul a{
    display: block;
    padding: 5px 15px;
    border-bottom: 1px solid #ddd;
}

#cityDrop{
	position:relative;
}

#cityDrop .dropdown-city{
    overflow: auto;
    position: absolute;
    top: 0;
    background: white;
    width: 300px;
    z-index: 100000;
    max-height: 350px;
    box-shadow: 0 2px 5px rgba(0,0,0,.3);
    border-radius: 5px;
}

#cityDrop .dropdown-city ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

#cityDrop .dropdown-city ul a{
    display: block;
    padding: 5px 15px;
    border-bottom: 1px solid #ddd;
}

#top-main-menu-container{
    position: fixed;
    top: 40px;
    background: white;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    overflow: auto;
    max-height: 100%;
}

#top-main-menu{
    margin: 0;
    padding: 0;
}
#top-main-menu>li{
    display: block;
    vertical-align: top;
    list-style: none;
    margin: 0;
    border-bottom: 1px solid #ddd;
}
#top-main-menu>li > a,
#top-main-menu>li > span{
    display: inline-block;
    width: 25%;
    font-size: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom:2px solid #ccc;
}
#top-main-menu>li ul{
    display: inline-block;
    width: 72%;
    padding: 5px 0;
}
#top-main-menu>li li{
    list-style: none;
    margin: 0;
    display: inline-block;
}
#top-main-menu>li li a{
    margin-right: 15px;
    margin-bottom: 5px;
}
.highlight {
    background-color: #fff34d;
    -moz-border-radius: 5px; /* FF1+ */
    -webkit-border-radius: 5px; /* Saf3-4 */
    border-radius: 5px; /* Opera 10.5, IE 9, Saf5, Chrome */
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* FF3.5+ */
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* Saf3.0+, Chrome */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* Opera 10.5+, IE 9.0 */
}

#messagesArea{
	position:fixed;
	z-index:1000;
	bottom:10px;
	right:10px;
	width:300px;
}

#messagesArea .alert{
	box-shadow: 0 5px 10px rgba(0,0,0,.5);
}

.bulkActions__paginator,
.bulkActions__footer {
	display: block;
}

.bulkActions__paginator {
	margin-top: 16px;
	margin-bottom: 8px;
	text-align: right;
}

.bulkActions__paginator .bulkActions__paginator__navigation--text {
	margin-right: 12px;
}

.bulkActions__paginator .bulkActions__paginator__navigation--text,
.bulkActions__paginator .bulkActions__paginator__navigation--items {
	display: inline-block;
	vertical-align: middle;
}

.bulkActions__paginator a.bulkActions__paginator__navigation--item {
	margin-left: 8px;
	font-weight: bold;
	text-decoration: none;
}

input#itemsPage[value="20"] ~ .bulkActions__paginator__navigation a:nth-child(1) { border-bottom: 1px solid; }
input#itemsPage[value="50"] ~ .bulkActions__paginator__navigation a:nth-child(2) { border-bottom: 1px solid; }
input#itemsPage[value="100"] ~ .bulkActions__paginator__navigation a:nth-child(3) { border-bottom: 1px solid; }



.bulkActions__footer {
	position: fixed;
	z-index: 999;
	bottom: 0;
	left: 0;
	width: 100%;
    padding: 12px 0 0;
    border-radius: 0;
}

.bulkActions__footer .container {
	margin-right: auto;
	margin-left: auto;
}

.bulkActions__footer .bulkActions__footer__navigation:after {
	content: '';
	display: table;
	width: 100%;
	clear: both;
}


.bulkActions__footer .bulkActions__footer__navigation--counter {
	float: left;
    font-size: 18px;
    line-height: 26px;
}

.bulkActions__footer .bulkActions__footer__navigation--counter #counter {
	font-weight: bold;
}

.bulkActions__footer .bulkActions__footer__navigation--actions {
	float: right;
}

.bulkActions__footer .bulkActions__footer__navigation--actions > * {
    display: inline-block;
    margin-bottom: 0;
}

.bulkActions__footer .bulkActions__footer__navigation--actions > *:last-child {
	margin-left: 8px;
}

.bulkSuccess .alert {
    padding-top: 20px;
}

.bulkSuccess .alert strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.bulkSuccess .btn {
    margin-top: 16px;
    margin-bottom: 16px;
}

.bulkEditConfirmation,
.bulkEditConfirmation ~ .controls {
    float: left;
}

.bulkEditConfirmation input,
.bulkEditConfirmation label {
    display: inline-block;
    margin: 0;
    vertical-align: sub;
}

.bulkEditConfirmation label {
    margin-left: 6px;
    color: #707070;
}

body.isBulkMode [class*="span"] {
    display: block;
    float: none;
    width: auto;
}

body.isBulkMode .vars .badge {
    cursor: pointer;
}

body.isBulkMode .form-horizontal .control-label {
    margin-left: 20px;
    width: 250px;
}

body.isBulkMode .form-horizontal .controls {
    margin-left: 20px;
}

body:not(.isBulkMode) .bulkUpdateExcerpt,
body.isBulkMode .bulkUpdateExcerpt:empty {
    display: none;
}

body.isBulkMode .bulkUpdateExcerpt {
    padding: 12px 24px 24px;
    margin-top: 12px;
    background-color: #f4f4f4;
    box-sizing: border-box;
}

body.isBulkMode .bulkUpdateExcerpt div {
    margin-bottom: 6px;
}

body.isBulkMode .bulkUpdateExcerpt div i {
    color: #969696;
}

.multiple-select {
    width: 220px;
}

.multiple-select .dropdown-menu {
    width: 100%;
    height: auto;
    overflow: auto;
    top: 0;
    margin: 0;
}

.multiple-select a.btn.dropdown-toggle {
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

.multiple-select a.btn.dropdown-toggle,
.multiple-select a.btn.dropdown-toggle:hover {
    background: white;
}

.multiple-select a.btn.dropdown-toggle .caret {
    float: right;
}

.multiple-select a.btn.dropdown-toggle small {
    margin-top: 1px;
    margin-right: 4px;
    padding: 4px 5px 3px;
    color: white;
    border-radius: 999px;
    background-color: #217b94;
    float: right;
    line-height: 1;
    letter-spacing: -1px;
}

.multiple-select--group-header label {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 12px;
    margin-bottom: 12px;
    padding-right: 3px;
}

.multiple-select--group-header:not(:first-child) {
    margin-top: 24px;
}

.multiple-select li {
    margin-bottom: 4px;
    background-color: white;
    transition: .3s ease background-color;
}

.multiple-select li:hover {
    background-color: #F4F4F4;
}

.multiple-select li label {
    white-space: normal;
    margin-bottom: 0;
    padding: 3px;
}

.multiple-select div:after,
.multiple-select li:after {
    content: '';
    display: table;
    clear: both;
}

.multiple-select input {
    float: right;
    margin-right: 12px;
    margin-left: 8px;
}


.show-dropdown-menu .btn.dropdown-toggle {
	display: none;
}

.show-dropdown-menu .dropdown-menu {
	position: relative;
	display: block;
	max-height: 45vh;
	padding-left: 15px;
}

.claimsForm-top,
.claimsForm-bottom {
    margin: 0 -5px 10px;
    display: block;
}

.claimsForm-top select,
.claimsForm-top input[type=text],
.claimsForm-top input[type=number]{
    width: calc( 25% - 10px);
    box-sizing: border-box;
    float: left;
    height: 30px;
    margin: 0 5px;
}

.claimsForm-bottom > div {
    width: calc( 25% - 10px);
    box-sizing: border-box;
    float: left;
    height: 30px;
    margin: 0 5px;
    text-align: right;
}

.claimsForm-bottom .control-label {
    width: auto;
}

.claimsForm-bottom select {
    width: 120px;
}

.claimsForm-bottom .date {
    width: 104px;
}

.claimsForm-bottom .date input {
    width: 72px;
}
