/*
 * ========== Globali ==========
 */
body {
  font-family: 'Open Sans', sans-serif;
  padding-top: 50px;
  -ms-overflow-style: scrollbar;
}

/* pulsante back-to-top */
#toTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 40px;
  z-index: 99;
  width: 40px;
  height: 40px;
  text-align: center;
  padding: 6px 0 6px 0px;
  font-size: 24px;
  line-height: 0.9;
  border-radius: 20px;
}

@media (min-width: 768px) {
  .container
  {
      width: 90%;
  }
}

@media (min-width: 992px) {
  .container
  {
      width: 90%;
  }
}

@media (min-width: 1200px) {
  .container
  {
      width: 90%;
  }
}

.badge {
  vertical-align: text-top;
}

.cursor_default {
  cursor: default;
}

.color_white {
  color: #fff;
}

.displayNone {
  display: none;
}

/*
 * ========== Navbar ==========
 */
/* Since the .navbar-brand has its own padding and height, you may need to override some CSS depending on your image. */
.navbar-brand {
  padding: 0 0 0 15px;
}

/* hamburger menu via CSS */
.navbar-default .navbar-toggle {
  background-color: #8d021f;
}
.navbar-toggle {
  padding: 6px 5px;
}

/* hamburger menu animato */
/* https://codepen.io/miguelml/pen/Wromzv?editors=0100 */
.navbar-toggle span.icon-bar {
  transition: all 0.15s;
  width: 30px;
  height: 4px;
  border-radius: 3px;
}
.navbar-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 0px);
    transform-origin: 25% 10%;
}
.navbar-toggle span:nth-child(2) {
    opacity: 0;
}
.navbar-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, 1px);
    transform-origin: 25% 90%;
}
.navbar-toggle.collapsed span:nth-child(1),
.navbar-toggle.collapsed span:nth-child(3) {
    transform: rotate(0);
}
.navbar-toggle.collapsed span:nth-child(2) {
    opacity: 1;
}

#iUserDropName {
  padding: 3px 20px;
  margin: 0;
  /* color: #fff; */
  color: #333;
  white-space: nowrap;
}

/* Transition effect when sliding down (and up) */
.navbar-fixed-top {
  transition: top 0.5s;
}

.navbar .navbar-collapse.in {
  max-height: 300px!important;
  overflow-y: scroll!important;
  overflow-x: hidden!important;
}

/*
 * ========== Select2 ==========
 */
.select2-container--bootstrap.select2-container--focus .select2-selection, .select2-container--bootstrap.select2-container--open .select2-selection {
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(141, 2, 31, 0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(141, 2, 31, 0.6);
  border-color: #8D021F;
}
.select2-container--bootstrap .select2-dropdown {
  border-color: #8D021F;
}
.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
  border: 1px solid #8D021F;
}
.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
  background-color: #D5CEC4;
  color: #8D021F;
}

/*
 * ========== DataTables ==========
 */
/* distanza verticale "Showing 1 to 33 of ..." da casella search impilate su smartphone (es. editor dove ci sono + pulsanti) */
#iUserTable_wrapper.dataTables_wrapper div.dataTables_info, #iMarchiTable_wrapper.dataTables_wrapper div.dataTables_info, #iParaTable_wrapper.dataTables_wrapper div.dataTables_info {
  padding-bottom: 8px;
}

/* centratura titoli di colonna */
#iUserTable th, #iSearchTable th, #iMsgTable th, #iStoreTable th, #iMarchiTable th, #iParaTable th {
  text-align: center;
}

/* centratura gruppo pulsanti in editor */
@media screen and (max-width: 767px) {
  #iUserTable_wrapper > .row:first-child > .col-sm-5:first-child, #iMarchiTable_wrapper > .row:first-child > .col-sm-5:first-child, #iParaTable_wrapper > .row:first-child > .col-sm-5:first-child {
  text-align: center;
  }
  #iUserTable_wrapper > .row:first-child > .col-sm-5:first-child div.dt-buttons, #iMarchiTable_wrapper > .row:first-child > .col-sm-5:first-child div.dt-buttons, #iParaTable_wrapper > .row:first-child > .col-sm-5:first-child div.dt-buttons {
    width: auto;
  }
}

.table-hover>tbody>tr:hover {
  color: #fff;
}

/* allineamento verticale radio e label nel form NUovo di editor */
div.DTE_Field_Type_radio div.controls label {
  vertical-align: top;
}


/* hover su righe tabella normale e responsiva (child)*/
#iSearchTable tr, #iMsgTable tr, #iStoreTable tr {
    cursor: pointer;
}
#iSearchTable tr.child:hover, #iMsgTable tr.child:hover, #iStoreTable tr.child:hover, #iUserTable tr.child:hover, #iMarchiTable tr.child:hover, #iParaTable tr.child:hover {
  color: #333;
  cursor: default;
}
#iSearchTable th:nth-child(13) select, #iSearchTable th:nth-child(1) select {
  display: none;
}
#iSearchTable td:nth-child(13) {
  cursor: default;
}
#iSearchTable td:last-child a, #iMsgTable td:last-child a, #iStoreTable td:last-child a {
  display: block;
}

#iStoreTable th:nth-child(9) select, #iStoreTable th:nth-child(1) select {
    display: none;
}
#iStoreTable td:nth-child(9) {
  cursor: default;
}

#iMsgTable th:nth-child(11) select, #iMsgTable th:nth-child(1) select, #iMsgTable th:nth-child(2) select {
    display: none;
}
table[aria-describedby="iMsgTable_info"] th:nth-child(1) select, table[aria-describedby="iMsgTable_info"] th:nth-child(2) select {
    display: none;
}
#iMsgTable td:nth-child(11) {
  cursor: default;
}
#iMsgTable th:nth-child(2) {
  padding-right: 5px;
}


/* righe selezionate tabella editor */
table.dataTable tbody>tr.selected, table.dataTable tbody>tr>.selected {
  background-color: #aa9c88;
}

table.dataTable tbody tr.selected a, table.dataTable tbody th.selected a, table.dataTable tbody td.selected a {
  color: #8d021f;
}

/* pulsante apri e chiudi righe tabella responsiva standard */
table.dataTable.dtr-column>tbody>tr>td.control:before, table.dataTable.dtr-column>tbody>tr>th.control:before {
  background-color: #8D021F;
}
table.dataTable.dtr-column>tbody>tr.parent td.control:before, table.dataTable.dtr-column>tbody>tr.parent th.control:before {
  background-color: #da0c31;
}

/* pulsante apri e chiudi righe tabella responsiva editor */
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
  background-color: #8D021F;
}
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child:before {
  background-color: #da0c31;
}

/* incrementata separazione verticale tra messaggio di errore e pulsante submit, allineato testo a sinistra e forzati testo e pulsante su due righe */
div.modal div.DTE div.DTE_Form_Error {
  padding-bottom: 10px;
  text-align: left;
  width: 100%;
}

/* placeholder tagliato su select2 multiple in editor */
.select2-container .select2-search--inline {
  min-width: 100%;
}
.select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field {
  min-width: 100%;
}

/* allineamento titoli colonna in alto */
.table>thead>tr>th {
  vertical-align: top;
}


/*
 * ========== Awesome Bootstrap Checkbox ==========
 */

/* https://apurnell.com/2017/12/unable-to-reference-font-awesome-5-icons-with-css/ */
@font-face{
  font-family: 'FontAwesome';
  font-style: normal;
  font-weight: 900;
  src: url("assets/fontawesome-free/web-fonts-with-css/webfonts/fa-solid-900.eot");
  src: url("assets/fontawesome-free/web-fonts-with-css/webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("assets/fontawesome-free/web-fonts-with-css/webfonts/fa-solid-900.woff2") format("woff2"), url("assets/fontawesome-free/web-fonts-with-css/webfonts/fa-solid-900.woff") format("woff"), url("assets/fontawesome-free/web-fonts-with-css/webfonts/fa-solid-900.ttf") format("truetype"), url("assets/fontawesome-free/web-fonts-with-css/webfonts/fa-solid-900.svg#fontawesome") format("svg");
}

/*
 * ========== textarea Autosize ==========
 */

/* https://github.com/jackmoore/autosize/issues/245 */
.textarea_overflow {
    overflow: auto !important;
}

/*
 * ========== Elementi ==========
 */

/* password strength bar height */
.progress {
    height: 5px;
}

/* Resize solo verticale per caselle di testo */
.textarea_resize_v {
    resize: vertical;
}

/* divisore verticale form claim solo per dimensioni superiori a smartphone */
/* @media (min-width:768px) {
  .claimForm__col_borderRight
  {
      border-right: 1px solid #cbcbcb;
  }
} */

h3.panel-title {
  font-weight: 700;
}

.popover {
  color: #777;
}
.popover-content {
  max-height: 400px;
  overflow-y: auto;
}
@media (min-width:768px) {
  .popover-content {
    max-height: 700px;
  }
}

.form-control:focus {
  border-color: #8D021F;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(141, 2, 31, 0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(141, 2, 31, 0.6);
}

#spinner {
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 9999;
/* background-color: #ffffff; */
}

/* larghezza colonne standard tabelle */
.table__col_width_30 {
    width: 30px;
    max-width: 30px;
}
.table__col_width_55 {
    width: 55px;
    max-width: 55px;
}
.table__col_width_70 {
    width: 70px;
    max-width: 70px;
}
.table__col_width_100 {
    width: 100px;
    max-width: 100px;
}
.table__col_width_140 {
    width: 140px;
    max-width: 140px;
}
.table__col_width_200 {
    width: 200px;
    max-width: 200px;
}

.table__col_width_280 {
    width: 280px;
    max-width: 280px;
}

.alert_marginTop {
  margin-top: 20px;
}

.notify__bell_red {
  color: #eb5a46;
}
.notify__bellWrapper_mobile {
  margin-right: 0px;
}
.popover li.list-group-item:hover {
  background-color: #D5CEC4;
  /* cursor:pointer; */
}

ul.plan__ul > li {
  width: 230px;
}
.plan__hr {
  margin-top: 0;
}

#store__button {
  margin-bottom: 20px;
}

.pickadate__inputWrapper {
    position: relative;
}

.notify__badge_red {
  background-color: #eb5a46;
}



/* http://stackoverflow.com/questions/3062968/remove-textarea-inner-shadow-on-mobile-safari-iphone */
/* textarea, input[type=text] {
    -webkit-appearance: none;
} */

