/* General */
p, a, h1, h2, h3, h4, h5, li, input, span, th, td, select, option, label, div, input[type="text"] {
    font-family: 'Raleway', sans-serif;
}

p, a, li, span, th, td, button, input, select, option, label, div, input[type="text"], input[type="date"],
.form-control {
    font-size: 10pt;
    color: #4e4e4e;
}

::selection {
    background: #fcb810;
    color: 4e4e4e;
}

ion-icon {
    color: #fcb810;
}

.container-lg {
    max-width: 1320px;
}

/* Firefox */
::-moz-selection {
    background: #fcb810;
    color: #4e4e4e;
}

body {
    background: #f3f3f3;
    /*background: url(../img/degraded.png);*/
}

body .container {
    width: 1080px;
    margin: 0 auto;
    position: relative;
}

/* Loading */
.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/loading.gif) no-repeat 50% rgba(78, 78, 78, 0.2);
    background-size: 50px;
    z-index: 99;
}

/* Login */
.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.form-signin img {
    height: 130px;
    margin: 0 40px 10px;
}

.form-signin input {
    margin-bottom: 10px;
}

.form-signin button {
    background-color: #fcb810;
}

/* Top bar */
nav .logo {
    background: url(../img/logo.png) no-repeat 35px 0;
    background-size: 62px;
    float: left;
    width: 130px;
    height: 36px;
}

.navbar-nav .nav-logout a {
    color: red !important;
}

/* List */
.card_ui {
    margin-top: 10px;
    margin-bottom: 10px;
}

.card_ui_alert {
    background: #ff5050;
}

.card-header_list_ui {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: white;
    border-bottom: 4px solid #fcb810;
}

.card-title_list_ui {
    margin-bottom: 0;
    font-size: 16pt;
}

.table_list_ui {
    margin-bottom: 0;
}

.table_list_ui .current_reminder {
    background: greenyellow;
}

.table thead th {
    border-top: none;
    border-bottom: 2px solid #fcb810;
}

.add-circle_ui {
    float: right;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.expand_ui {
    float: right;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.enter_ui {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.ellipsis-vertical_ui {
    margin-left: 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.dropdown_ellipsis-vertical_ui {
    display: inline-block;
}

.patient_active_ui {
    float: left;
    width: 20px;
    height: 20px;
    background: url(../img/icons/modernui/checkmark-outline.png) no-repeat 3px 0;
    background-size: 20px;
}

.patient_inactive_ui {
    float: left;
    width: 20px;
    height: 20px;
    background: url(../img/icons/modernui/close-outline.png) no-repeat 3px 0;
    background-size: 20px;
}

.warning_ui {
    float: left;
    width: 20px;
    height: 20px;
    background: url(../img/icons/modernui/warning.png) no-repeat 3px 0;
    background-size: 20px;
}

.pagination_list_ui .pagination {
    margin-top: 10px;
    margin-bottom: 0;
}

.pagination_list_ui .pagination .page-item span, .pagination_list_ui .pagination .page-item a {
    color: #4e4e4e;
    border: 1px solid #4e4e4e;
}

.pagination_list_ui .pagination .active span {
    background-color: #fcb810;
    color: #4e4e4e;
    border: 1px solid #4e4e4e;
}

.search {
    margin-bottom: 10px;
}

.btn_ui_search {
    background-color: #fcb810;
}

.add_filter {
    padding: 0;
    border: 0;
    cursor: pointer;
    outline: 0px;
}

.add_filter ion-icon {
    width: 30px;
    height: 30px;
    margin-top: 3px;
}

/* Card */
.mandatory {
    display: inline;
    padding: 0 2px;
    font-size: 10pt;
    font-weight: bold;
    color: red;
  }

.field_desc {
    display: block;
    height: 14px;
    text-align: right;
    padding: 0 2px;
    font-size: 9pt;
}

.form-control:focus {
    border-color:#fcb810;
    box-shadow: 0 0 0 .1rem #fcb810;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    margin-bottom: 3px;
}

.dropdown_ellipsis-vertical_ui2 {
    float: right;
} 

.ellipsis-vertical_ui2 {
    margin-left: 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.new_doc {
    float: right;
    width: 20px;
    height: 20px;
    background: url("../img/icons/modernui/add-circle.png") no-repeat;
    background-size: 20px;
    border: none;
}

.save_doc {
    float: right;
    width: 20px;
    height: 20px;
    background: url("../img/icons/modernui/save.png") no-repeat;
    background-size: 20px;
    border: none;
}

.del_doc {
    float: right;
    width: 20px;
    height: 20px;
    background: url("../img/icons/modernui/trash.png") no-repeat;
    background-size: 20px;
    border: none;
    margin-left: 10px;
}

.field_search {
    position: absolute;
    top: 27px;
    right: 2px;
    width: 30px;
    height: 30px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: url(../img/icons/modernui/search.png) no-repeat;
    background-size: 25px;
}

.field_go {
    position: absolute;
    top: 26px;
    right: 32px;
    width: 30px;
    height: 30px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: url(../img/icons/modernui/arrow-forward.png) no-repeat;
    background-size: 29px;  
}

.delete_line {
    float: right;
    width: 20px;
    height: 20px;
    background: url("../img/icons/modernui/trash.png") no-repeat;
    background-size: 20px;
    border: none;
    margin-top: 5px;
}

.field_search_line {
    position: absolute;
    top: 4px;
    right: 2px;
    width: 30px;
    height: 30px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: url(../img/icons/modernui/search.png) no-repeat;
    background-size: 25px;
}

.table_grid tr:hover {
    background-color: white !important;
}


.table_grid tr td {
    position: relative;
    border-right: 1px solid #fcb810;   
    padding: 0;
}

.table_grid tr td:last-child  {    
    border-right: none;   
}

.table_grid tr td input[type="text"] {
    border: none;
    border-radius: 0%;
}

.table_grid tr td input[type="text"]:focus {
    box-shadow: none;
}

.right_text {
    text-align: right;
}

.modal_list tr td {
    cursor: pointer;
}

.patient_info p, .confirm_delete_info p {
    margin-bottom: 0;
}

.white_patient_info {
    height: 133px;
}

.alert {
    position: absolute;
    top: 63px;
    right: 15px;
}

.alert-dismissible .close {
    top: -6px;
}

.line_delete {
    border-right: none !important;
}

.line_delete button {
    margin-left: 2px;
}

.line_options div {
    margin-top: 4px;
}

.w-5 {
    /* Corregir problema de tamaño flechas en paginador */
    width: 20px;
}

.vatnumber {
    text-transform: uppercase;
  }

/* Phone */
@media (max-width: 576px) { 
    .hide_phone {
        display: none;
    }

    .search input, .search select {
        margin-bottom: 5px;
    }

    .btn_ui_search {
        width: 100%;
    }
}

/* Tablet */
@media (max-width: 768px) { 
    .hide_tablet {
        display: none;
    }
}

.main_panel_direct button {
    width: 145px;
    height: 50px;
    margin-top: 10px;
    margin-right: 10px;
    border: none;
    cursor: pointer;
    font-size: 10pt;
    padding-left: 35px;
    border: 2px solid white;
    border-radius: 10px;

    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s; 
}

.main_panel_direct button:hover {
    border: 2px solid #fcb810;
  
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;  
  }

  .main_panel_direct form {
      display: inline;
  }

.main_panel_patient {
    background: url(../img/icons/card/show_patients.png) no-repeat 0px 4px white;
    background-size: 35px;  
  }
  
 .main_panel_reminder {
    background: url(../img/icons/card/show_reminders.png) no-repeat 0px 5px white;
    background-size: 35px;  
  }
  
 .main_panel_diary {
    background: url(../img/icons/card/show_diaries.png) no-repeat 0px 5px white;
    background-size: 35px;  
  }
  
.main_panel_sales_quote {
    background: url(../img/icons/card/show_quotes.png) no-repeat 0px 5px white;
    background-size: 35px;  
  }
  
 .main_panel_sales_invoice {
    background: url(../img/icons/card/show_invoices.png) no-repeat 0px 5px white;
    background-size: 35px;  
  }
  
  .main_panel_payment {
    background: url(../img/icons/card/show_payments.png) no-repeat 0px 5px white;
    background-size: 35px;  
  }
  