.inline-form {
    display: inline-block;
}
.sm-image {
    max-width: 32px;
    max-height: 18px;
}
.md-image {
    max-width: 160px;
    max-height: 90px;
}
.lg-image {
    max-width: 320px;
    max-height: 180px;
}
td.image {
  width:50px;
}
#login-form-container{
    position: fixed;
    background: #fff;
    border-radius: 15px;
    /*box-shadow: 1px 2px 4px -1px rgba(0, 0, 0, 0.24);*/
    padding: 25px;
    display: block;
    top: 50%;
    left: 50%;
    margin-top: -174px;
    margin-left: -240px;
    width: 480px;
}
#login-form-container .btn-success{
    background: #eeae31;
    border-radius: 25px;
    text-transform: uppercase;
    border: none;
    width: 230px;
    margin: 20px auto 0;
    padding: 10px;
    display: block;
    transition: background-color .3s;
}
#login-form-container .btn-success:hover{
    background-color: #ffd03e;
    transition: background-color .3s;
}

#login-form-container .form-control{
    background-color: #fff;
    border: 1px solid #969696;
    color: #969696;
    padding: 10px 13px;
    font-size: 15px;
    width: 100%;
    margin-bottom: 24px;
    display: block;
    border-radius: 0;
    height: 42px;
    line-height: 42px;
}
#login-form-container .form-control:focus{
    border: 1px solid #eeae31;
}
#login-form-container .logo{
    display: block;
    margin:0 auto 37px;
}
#login-form-container .form-group:last-of-type{
    margin-bottom: 0;
}
#login-form-container form{
    width: 76%;
    margin: 0 auto;
}

.brand .logo img {
    max-width: 200px;
    max-height: 70px;
}

/* NESTED SORTABLE STUFF */
.sortable-box-placeholder {
    height:200px !important;;
    border: 2px dashed #828295;
    margin-bottom: 20px;
    background: #e5e6eb;
}


.placeholder {
    outline: 1px dashed #4183C4;
    /*-webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: -1px;*/
}

.mjs-nestedSortable-error {
    background: #fbe3e4;
    border-color: transparent;
}

ol {
    margin: 0;
    padding: 0;
    padding-left: 30px;
}

ol.sortable, ol.sortable ol {
    margin: 0 0 0 25px;
    padding: 0;
    list-style-type: none;
}

ol.sortable {
    margin: 4em 0;
    max-width: 600px;
}

.sortable li {
    margin: 5px 0 0 0;
    padding: 0;
}
.sortable_btn{
    margin-left: 10px;
}
.sortable li div  {
    border: 1px solid #d4d4d4;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border-color: #D4D4D4 #D4D4D4 #BCBCBC;
    padding: 6px;
    margin: 0;
    cursor: move;
    background: #f6f6f6;
    background: -moz-linear-gradient(top,  #ffffff 0%, #f6f6f6 47%, #ededed 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed));
    background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#ededed 100%);
    background: -o-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#ededed 100%);
    background: -ms-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#ededed 100%);
    background: linear-gradient(to bottom,  #ffffff 0%,#f6f6f6 47%,#ededed 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 );
}

.sortable li.mjs-nestedSortable-branch div {
    background: -moz-linear-gradient(top,  #ffffff 0%, #f6f6f6 47%, #f0ece9 100%);
    background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#f0ece9 100%);

}

.sortable li.mjs-nestedSortable-leaf div {
    background: -moz-linear-gradient(top,  #ffffff 0%, #f6f6f6 47%, #bcccbc 100%);
    background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#bcccbc 100%);

}

li.mjs-nestedSortable-collapsed.mjs-nestedSortable-hovering div {
    border-color: #999;
    background: #fafafa;
}

.sortable li.mjs-nestedSortable-collapsed > ol {
    display: none;
}

.sortable li.mjs-nestedSortable-branch > div > .disclose {
    display: inline-block;
}
/* END NESTED SORTABLE STUFF */

.images-container > div:nth-child(4n + 5) {
    clear: both;
}
.choose-image, .choose-document {
    cursor: pointer;
}
.thumbnail.selected-image {
    background-color: #eee;
    border: 1px solid #000;
}

/* Override fileInput library font size for file fa-icon */
.file-preview-other i {
    font-size: 1em;
}

ul.sidebar-menu li a.lock-invoices-btn {
    max-width: 180px;
    margin: 8px auto;
    padding: 12px 0 13px 8px;
    color: #ddd;
    background-color: #8175c7;
}

ul.sidebar-menu li a.lock-invoices-btn:hover, ul.sidebar-menu li a.lock-invoices-btn.active {
    background-color: #7c70b9;
}

ul.sidebar-menu li a.lock-invoices-btn:hover i, ul.sidebar-menu li a.lock-invoices-btn.active i {
    color: #ddd;
}
ul.sidebar-menu li a.send-invoices-btn {
    max-width: 180px;
    margin: 8px auto;
    padding: 12px 0 13px 8px;
    color: #ddd;
    background-color: #1fb5ad;
}

ul.sidebar-menu li a.send-invoices-btn:hover, ul.sidebar-menu li a.send-invoices-btn.active {
    background-color: #1ca59d;
}

ul.sidebar-menu li a.send-invoices-btn:hover i, ul.sidebar-menu li a.send-invoices-btn.active i {
    color: #ddd;
}
ul.sidebar-menu li a.generate-invoices-all-btn {
    max-width: 180px;
    margin: 8px auto;
    padding: 12px 0 13px 8px;
    color: #ddd;
    background-color: #57c8f1;
    white-space: pre-line;
}

ul.sidebar-menu li a.generate-invoices-all-btn:hover, ul.sidebar-menu li a.generate-invoices-all-btn.active {
    background-color: #50b4d2;
}

ul.sidebar-menu li a.generate-invoices-all-btn:hover i, ul.sidebar-menu li a.generate-invoices-all-btn.active i {
    color: #ddd;
}
.btn-important {
    background-color: #8175c7;
    border-color: #8175c7;
    color: #ffffff;
}
.btn-important:hover, .btn-important:active, .btn-important:focus {
    background-color: #7c70b9;
    border-color: #7c70b9;
    color: #ffffff;
}

.form-control {
    color: #333;
}
#clientsContracts tr th:nth-child(6), #clientsContracts tr td:nth-child(6) {
    display: none;
}

.to-do-list li {
    background: #f2dede;
    cursor: pointer;
}

.to-do-list li a {
    color: #a94442;
}

.m-r-10 {
    margin-right: 10px;
}
.m-t-5 {
    margin-top: 5px;
}
.m-t-20 {
    margin-top: 20px;
}
.m-b-0 {
    margin-bottom: 0;
}

.calendar-day {
    cursor: pointer;
}

.calendar-holiday {
    color: red;
    font-weight: 700;
}

.calendar-selected {
    background-color: #e8e8e8;
}

.checkbox-label {
    margin-top: 11px;
}

.forecast-row {
    background-color: #f6f6f6;
}

.measurement-row {
    background-color: #f0f0f0;
}
.horizontal-overflow {
    overflow-x: scroll;
}
tr.forecast-row > td {
    padding: 5px 2px !important;
}
.forecast-cell-input {
    max-width: 70px;
}
.ht_clone_top,
.ht_clone_left {
    display: none !important;
}
.ht_master.handsontable {
    font-size: 9px !important;
}
.ht_master.handsontable td,
.ht_master.handsontable th{
    min-width: 32px;
    height: 17px;
    line-height: 18px;
    white-space: nowrap;
    padding: 0 1px;
}
.ht_master.handsontable table{
    table-layout: initial !important;
}
.ht_master.handsontable td{
    color: #000;
}
.wtHider {
    max-width: 100% !important;
}

.special-checkbox {
    display: block;
    padding-left: 35px;
    position: relative;
    margin-bottom: 20px;
    padding-top: 3px;
    user-select: none;
}
.special-checkbox:before {
    width: 20px;
    height: 20px;
    border: 2px solid black;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
}
.special-checkbox.true:before {

    font-family: 'FontAwesome';
    font-weight: normal;
    font-style: normal;
    content: "\f00c";
    text-align: center;
    color: green;
}
.special-checkbox.false:before {

    font-family: 'FontAwesome';
    font-weight: normal;
    font-style: normal;
    content: "\f00d";
    text-align: center;
    color: red;
}

header.grey-header {
    background-color: #eee;
}

#current-site-select {
    margin-left: 30px;
    width: 260px;
}

#current-language-select {
    margin-left: 30px;
    width: 260px;
}

ol {
    list-style: none;
}

#sortable-list {
    max-width: 50%;
    margin-bottom: 50px;
}

#sortable-list div {
    background-color: #eee;
    margin: 2px 0;
    padding: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.picture-edit-btn {
    display: none;
    position: absolute;
    top: 220px;
    right: 10px;
    margin: 10px;
    border-radius: 100%;
    -o-border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    width: 50px;
    height: 50px;
    line-height: 40px;
    opacity: 0.8;
}

.thumbnail-container:hover .picture-edit-btn {
    display: block;
}

.embed-container table.dataTable tbody tr {
    cursor: pointer;
}

table.dataTable tbody tr.selected-item {
    background-color: #dddddd;
}

table#picturesDataTable {
    border-collapse: collapse;
}

table#picturesDataTable > thead th {
    display: none;
}

table#picturesDataTable > thead th:first-child {
    display: table-cell;
}

table#picturesDataTable > tbody > tr {
    display: block;
    width: calc(20% - 2px);
    float: left;
    border: 1px solid black;
    margin: 1px;
}

table#picturesDataTable > tbody > tr > td:first-child {
    display: none;
}

table#picturesDataTable > tbody > tr > td:nth-child(2) {
    float: left;
    max-width: calc(100% - 54px);
}

table#picturesDataTable > tbody > tr > td:nth-child(3) {
    float: right;
}

table#picturesDataTable > tbody > tr > td:last-child {
    width: 100%;
    float: left;
}

table#picturesDataTable > tbody > tr > td:last-child img {
    max-width: calc(100% - 20px);
}

.modal-huge > .modal-dialog {
    width: 60%;
    max-height: 95%;
    overflow-x: hidden;
    overflow-y: auto;
}

.m-b-10 {
    margin-bottom: 10px;
}

#allImagesModal .modal-content {
    padding-bottom: 250px;
}

#allImagesContainer {
    padding: 0;
}

#allImagesContainer li {
    display: inline-block;
    width: 33%;
    margin: 1px;
}

#allImagesContainer li img {
    width: 100%;
}

.connected-sortable {
    min-height: 50px;
}

.connected-sortable li {
    background-color: #ddd;
    margin: 5px;
    padding: 5px;
    font-size: 14px;
    cursor: pointer;
}

.no-padding-ol {
    padding: 0;
}
#layout-blocks-sortable {
    margin: 20px 0;
    padding-left: 10px;
    cursor: pointer;
}

.no-padding-ol > li,
#layout-blocks-sortable > li {
    width: 100%;
    border: 1px solid #ddd;
    margin: 5px;
    padding: 10px;
    background-color: #fafafa;
}

#embed-links-container {
    margin-bottom: 20px;
}

label.required:after {
    content: "*";
}
.single-question-container {
    border: 1px solid #ddd;
}
