/*sovrascrivere/integrare alcuni stili del css bootstrap standard*/

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #646464;
  background-color: #ffffff;
}

p
{
	margin: 0 0 0px;
}

label,
input,
button,
select,
textarea {
  font-size: 12px;
  font-weight: normal;
  line-height: 16px;
}

em span {font-style:italic;}

legend {
	line-height: 31px;
    border-bottom: 1px solid #e5e5e5 !important;
}

.table th {
    border-top: 1px solid white !important;
}
/*
a {
  color: #646464;
  text-decoration: none;
}
*/

@media (min-width: 768px) {
.equal {
    display: -webkit-flex;
    display: flex;
}

.panel { width: 100% }
}

div .centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform: -webkit-translate(-50%, -50%);
  transform: -moz-translate(-50%, -50%);
  transform: -ms-translate(-50%, -50%);
}

.navbar-brand {
	font-size:30px;
}

.form-horizontal .control-label {
	text-align: inherit;
}

.badge {
	margin-right:3px;
	margin-left:3px;
}

.input-group-btn .btn {
    position: relative;
    height: 30px;
/*    top: -3px;*/
    padding-top: 4px;
}

input[type="file"] {
  width: auto;
  display: initial;
}

[hidden] {
  display: none !important;
}

.disabled-button-wrapper {
  display: inline-block;
  cursor: not-allowed;
}

.disabled-button-wrapper .btn[disabled] {
  pointer-events: none;
}

/*stili per slider: https://bootsnipp.com/snippets/GaxR2*/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  float:right;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input.default:checked + .slider {
  background-color: #444;
}
input.primary:checked + .slider {
  background-color: #2196F3;
}
input.success:checked + .slider {
  background-color: #8bc34a;
}
input.info:checked + .slider {
  background-color: #3de0f5;
}
input.warning:checked + .slider {
  background-color: #FFC107;
}
input.danger:checked + .slider {
  background-color: #f44336;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/*END stili per slider*/

@media (min-width: 576px) {
    .card-columns {
        column-count: 1;
    }
}

@media (min-width: 768px) {
    .card-columns {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .card-columns {
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    .card-columns {
        column-count: 3;
    }
}

/* usato per aggirare problema ckedit, che allinea tutte le immagini al centro */
.ck-content .image>img {
    margin: 0 !important;
}