.has-error .form-control {
    border-color: #a94442 !important;
}

.login .content .form-actions {
     padding: 0px 0px 0px 0px !important;
     margin-left: 0px !important;
     margin-right: 0px !important;
}

.actions {
    white-space: nowrap;
    width: 1%;
}

.form-render-show {
    background-color: #f4f9fd;
    border: 1px solid #e5e5e5;
    padding-top: 25px !important;
    margin-bottom: 25px;
}

.form-control:disabled{
    background: transparent !important;
    /*border: none !important;*/
    cursor: default !important;
}

.form-control.grey-disabled:disabled{
    background-color: #eeeeee !important;
    cursor: default !important;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.app-page-logo-container {
    display: table;
    height: 100%;
    position: absolute;
    overflow: hidden;
}

.app-page-logo-helper {
    #position: absolute; /*a variation of an "lte ie7" hack*/
    #top: 50%;
    display: table-cell;
    vertical-align: middle;
}

.app-page-logo-content {
    #position: relative;
    #top: -50%;
    margin:0 auto;
}

.app-page-logo-content a {
    float: left;
    position: relative;
}

.app-page-logo-content img {
    max-height: 38px;
    display:block;
}

div.radio {
    padding-top: 2px !important;
}

.dashboard-big-icon {
    color: #56BDB6;
    font-size: 6em !important;
    padding-top : 25px;
}

.dashboard-buttons-group{
    padding-top: 30px;
}

.amcharts-title {
    font-weight: 400;
}

.amcharts-axis-title{
    font-weight: 400;
}

.dashboard-chart-div{
    height: 420px;
    background-color: #FFF;
    padding: 6px;
}

.app-pagination-simple-numbers {
    float: right;
    margin: 0;
}
.app-answer-index-table thead tr th a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.app-answer-coordinatefield-delete-button {
    vertical-align: top;
}

.app-answer-coordinatefield-delete-button > button {
    top: 28px;
}

/*####  Tabela com coluna fixa #####*/
.table-scrollable-fixed-column .actions {
    position: absolute;
    height: auto;
    box-sizing: border-box;
    /* valor 100 é baseado no botão que leva o texto ações */
    width: 104px;
    right: 0;
}
.table-scrollable-fixed-column .actions > .dropdown {
    text-align: center;
}
.table-scrollable-fixed-column .actions .dropdown button{
    margin-right: 0;
    margin-left: 0;
    width: 100%;
}
.table-scrollable-fixed-column {
    /* valor 100 é baseado no botão que leva o texto ações */
    padding-right: 104px;
}
.table-scrollable-fixed-column .table-scrollable {
    overflow-x:scroll;
    overflow-y:visible;
    display:block;
    border: 0;
    margin: 0 !important;
}
.table-scrollable-fixed-column .table-scrollable > table td:nth-last-child(2),
.table-scrollable-fixed-column .table-scrollable > table th:nth-last-child(2){
    border-right: none;
}
.table-scrollable-fixed-column {
    position: relative;
    border: 1px solid #ddd;
    margin: 10px 0;
}
.table-scrollable-fixed-column .table-scrollable{
    border-right: 1px solid #ddd;
}
.table-scrollable-fixed-column table tbody tr{
    height: 51px;
}

/*#######  fix para voltar a funcionar o dropdown-menu-rigth do bootstrap #######*/
.dropdown-menu-right {
    left: auto;
}
.dropdown-menu-right.dropdown-menu:before {
    left: auto;
    right: 9px;
}
.dropdown-menu-right.dropdown-menu:after {
    left: auto;
    right: 10px;
}
/*#######  end fix  #######*/
.cursor-pointer {
    cursor: pointer;
}
.page-footer .page-footer-inner p {
    margin-bottom: 0;
}
body.login .content {
    width: 500px;
    margin-top: 140px;
}
    body.login .content .logo {
        padding: 0;
        margin-top: 20px;
    }
@media (max-width: 540px) {
    body.login .content {
        width: 95%;
        margin-top: 10px;
    }
}

.page-sidebar .page-sidebar-menu > li > .sub-menu > li.heading,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li > .sub-menu > li.heading {
    padding: 6px 15px 6px 15px;
}

.page-sidebar .page-sidebar-menu > li > .sub-menu > li.heading > h4,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li > .sub-menu > li.heading > h4 {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 300;
}
.app-account-choose-tile .tile-body {
    padding: 9px !important;
}
.app-account-choose-tile .tile-body img {
    width: 100%;
}

/*####### DATETIMEPICKER*/

.app-timefield-container .bootstrap-datetimepicker-widget.dropdown-menu {
    margin: 2px 0;
    padding: 4px;
    width: 130px;
}
.bootstrap-datetimepicker-widget table td {
    height: 28px;
    line-height: 28px;
    width: 58px;
}
.bootstrap-datetimepicker-widget table td span {
    height: 28px;
    line-height: 28px !important;
    width: 58px;
}
.bootstrap-datetimepicker-widget .timepicker-hour, .bootstrap-datetimepicker-widget .timepicker-minute, .bootstrap-datetimepicker-widget .timepicker-second {
    width: 58px;
    font-size: 14px;
    margin: 0;
    color: #000;
    font-weight: 300 !important;
    font-family: 'Open Sans' !important;
}
.bootstrap-datetimepicker-widget a {
    color: #000 !important;
}

/*##### coordinate modal for mobile ######*/
@media screen and (max-width: 765px) {
    #large > .modal-dialog{
        position: fixed;
        margin: 0;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    #large > .modal-dialog > .modal-content {
        height: 100%;
    }
}

.app-coordinatefield-map-selector {
    margin-top: 10px;
}

/*####### Main navbar mobile layout fix ########*/
.page-header.navbar .top-menu {
    clear: none;
}

@media (max-width: 480px) {
    .page-header.navbar .top-menu .navbar-nav > li.dropdown-user .dropdown-toggle {
        padding-left: 6px;
        padding-right: 6px;
    }
}
@media (max-width: 350px) {
    .page-header.navbar .page-logo img {
        max-height: 32px;
    }
}
@media (min-width: 765px) and (max-width: 991px) {
    .page-header.navbar .page-logo {
        width: 170px;
    }
}

/*######## Mobile checkbox enhance #########*/
@media screen and (max-width: 765px) {
    .checkbox, .form-horizontal .checkbox {
        margin-bottom: 5px;
    }

    .checkbox > label, .form-horizontal .checkbox > label {
        display: block;
        padding: 20px 0;
        border: 1px solid #eee;
    }
}

.app-ratingfield-widget > label {
    font-size: 18px;
    float: right;
}

.app-ratingfield-widget > label:before {
    margin: 5px;
    font-size: 1.25em;
    font-family: FontAwesome;
    display: inline-block;
    content: '\f005'; /*  star */
    color: #d5d5d5;
}

.app-ratingfield-widget > input {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}

.app-ratingfield-widget > input + label:hover:before,
.app-ratingfield-widget > input + label:hover ~ label:before {
    color: #fff1a2;
}

.app-ratingfield-widget > input:checked + label:hover ~ label:before,
.app-ratingfield-widget > input:checked ~ label:before {
    color: #fcdf37 !important;
}

/* TODO: fix this */
/* Workaround for error on collectible groups */
.form-body > .help-block {
    color: #a94442;
}

/* styling range picker */

/*#cccccc*/
.app_range_input_wrapper .irs-line {
    height: 10px; top: 33px;
    background: #e5e5e5;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    -moz-border-radius: 16px;
}
/*#217ebd*/

.app_range_input_wrapper .irs-bar {
    height: 10px; top: 33px;
    border-top: 1px solid #3598dc;
    border-bottom: 1px solid #3598dc;
    background: #3598dc;
}
.app_range_input_wrapper .irs-bar-edge {
    height: 10px; top: 33px;
    width: 14px;
    border: 1px solid #3598dc;
    border-right: 0;
    background: #3598dc;
    border-radius: 16px 0 0 16px;
    -moz-border-radius: 16px 0 0 16px;
}
.app_range_input_wrapper .irs-slider {
    border: none;
    background: #cccccc;
    box-shadow: none;
}
.app_range_input_wrapper .irs-slider.state_hover, .app_range_input_wrapper .irs-slider:hover {
    background: #c0c0c0;
}

.app_range_input_wrapper .irs-from, .app_range_input_wrapper .irs-to, .app_range_input_wrapper .irs-single {
    background: #3598dc;
}

.app_range_input_wrapper .irs-min, .app_range_input_wrapper .irs-max {
    background: #e5e5e5;
}

.app_range_input_wrapper .irs-grid-pol {
    background: #3598dc;
}
.app_range_input_wrapper .irs-grid-pol.small {
    background: #999;
}

/* end styling range picker */

.app-checkbox input, .app-radio input {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}
.app-checkbox label, .app-radio label {
    position: relative;
    padding-left:22px;
}
.app-radio label:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 8px;
    top:3px;
    left: 0px;
    background: #fff;
    border: #b9b9b9 1px solid;
}

.app-checkbox label:before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    top:3px;
    left: 0px;
    background: #fff;
    border: #b9b9b9 1px solid;
}
.app-radio label:hover:before,
.app-radio input[type="radio"]:focus + label:before {
    -webkit-box-shadow: 0 0 0 2px #f2f2f2;
    box-shadow: 0 0 0 2px #f2f2f2;
}


.app-radio input[type="radio"]:disabled + label:before {
    background-color: #eee;
}

.app-checkbox label:hover:before,
.app-checkbox input[type="checkbox"]:focus + label:before {
    outline: solid #f2f2f2 2px;
}

.app-checkbox input[type="checkbox"]:disabled + label:before {
    background-color: #eee;
}

.app-checkbox label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    content: '';
    position: absolute;
    width: 8px;
    height: 5px;
    top: 8px;
    left: 4px;
    background: transparent;
    border: #787878 2px solid;
    border-top: none;
    border-right: none;

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.app-checkbox input[type="checkbox"]:checked + label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}
.app-radio label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    top: 8px;
    left: 5px;
    background: #787878;
}
.app-radio input[type="radio"]:checked + label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

.swal-use-terms-violation {
    width: 530px !important;
}

.flags {
    padding: 0 5px;
    float: left;
}
.flags ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.flags ul li {
    display: inline-block;
}
.flags a {
    padding: 13px 5px;
    display: inline-block;
}
.flags a.inactive {
    cursor: default;
}

.sidebar-logo-wrapper {
    height: 100px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.sidebar-logo-wrapper .sidebar-logo {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 80px;
    margin-top: 10px;
}

.sidebar-logo-wrapper .sidebar-logo-none {
    display: block;
    line-height: 100px;
    text-align: center;
    min-width: 235px;
}

.sidebar-logo-wrapper .sidebar-change-logo {
    transition: none !important;
    border: none !important;
    padding: 3px 9px !important;
    position: absolute !important;
    top: 0;
    right: 0;
    font-size: 12px !important;
    color: #fff !important;
    background: #000;
    display: none !important;
    opacity: 0.6;
}

.sidebar-logo-wrapper:hover .sidebar-change-logo {
    background: #000 !important;
    color: #fff !important;
    display: block !important;
}

.sidebar-logo-wrapper .sidebar-change-logo:hover {
    text-decoration: underline;
}

/*
 send dropdown menu upfront zopim chat
*/
.dropdown-menu {
    z-index: 16000003 !important;
}

.selectable {
    cursor: pointer;
    transition: all .2s ease !important;
    text-align: center;
    box-sizing: border-box;
    height: 221px;
}

.thumbnail .title {
    font-size: 15px;
    font-weight: 300;
    color: #333;
    display: block;
    margin-bottom: 10px;
}

.selectable.selected {
    box-shadow:
        0 0 0 4px #1caf9a,
        2px 3px 10px rgba(0, 0, 0, .75);
    border-color: transparent;
}

.dropdown-menu.control-width {
    width: 300px;
}

.dropdown-menu.control-width li a {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

.input-fluid {
    width: 100%;
}