﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input:not(.nowidth),
select:not(.nowidth),
textarea:not(.nowidth) {
    max-width: 280px;
}



/* bottoni */
.ui-button-text-small { padding: .1em  !important; } 
.ui-button-small .ui-button-text  { padding: .1em  !important; } 


/* per i bottoni dentro le griglie */
tr.ui-widget-content .ui-button-icon-only {
    margin-top: 1px;
    margin-bottom: 1px;
    margin-left: 2px;
   
}


/* Scheduling Full Calendar */

.fc-attendance, fc-attendance:hover {
    background-color :  beige !important;
    color : black !important;
}
.fc-warning {
    /*background-color: saddlebrown !important */
    /* color : darkgrey !important;   */  
    border-color : #c86363 !important;
    border-width : 2px !important;
}

.fc-planned {
     background-color : #83b5ce !important;
}

.fc-canceled {
    text-decoration : line-through !important;
    font-style : italic !important;
}

/* CSS for bootstrap List Box with Check */
/* CSS REQUIRED */
.state-icon {
    left: -5px;
}
.list-group-item-primary {
    color: rgb(255, 255, 255);
    background-color: rgb(66, 139, 202);
}
/* END CSS for bootstrap List Box with Check */


/* CSS for bootstrap funkyradio */
.funkyradio div {
  clear: both;
  overflow: hidden;
}

.funkyradio label {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #D1D3D4;
  font-weight: normal;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
  display: none;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
  position: relative;
  line-height: 2.5em;
  /*text-indent: 3.25em;*/
  padding-left: 3.25em;
  /*margin-top: 2em;*/
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: '';
  width: 2.5em;
  background: #D1D3D4;
  border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
  color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
  color: #777;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #333;
  background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
  box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
  color: #333;
  background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked ~ label:before,
.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked ~ label:before,
.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked ~ label:before,
.funkyradio-info input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5bc0de;
}

/* END CSS for bootstrap funkyradio */


/* CSS FOR RADIO AND CHECK */

.checkbox-extended label:after, 
.radio-extended label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox-extended .cr,
.radio-extended .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: 0.5em;
}

.radio-extended .cr {
    border-radius: 50%;
}

.checkbox-extended .cr .cr-icon,
.radio-extended .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 24%;
}

.radio-extended .cr .cr-icon {
    margin-left: -0.02em;
}

.checkbox-extended label input[type="checkbox"],
.radio-extended label input[type="radio"] {
    display: none;
}

.checkbox-extended label input[type="checkbox"] + .cr > .cr-icon,
.radio-extended label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox-extended label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio-extended label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox-extended label input[type="checkbox"]:disabled + .cr,
.radio-extended label input[type="radio"]:disabled + .cr {
    opacity: .5;
}

/* END CSS FOR RADIO AND CHECK */


@media screen and (min-width: 768px) {
    .modal-90 {
        width: 90% !important; 

    }
}


/* For Question in JQGrid */
.questionStyle {
    white-space:normal !important;
}

/* For Message in JQGrid */


.messageStyle {
    white-space:normal !important;
}


/* check Image in quewstion list */
.check-image {
    max-height : 40px;
    padding-left: 10px;
}




.circle-singleline {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
    background: #468847;
    color: white;
}

.circle-multiline {
    display: table-cell;
    height: 200px;
    width: 200px;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
    background: purple;
    color: white;
}

.btn-radio {
	width: 100%;
}
.img-radio {
	opacity: 0.5;
	margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}

.img-text {
	opacity: 0.5;
	margin-bottom: 5px;
   
}


.img-selected {
    border: solid 1px #CCC;
    -moz-box-shadow: 1px 1px 5px #999;
    -webkit-box-shadow: 1px 1px 5px #999;
    box-shadow: 1px 1px 5px #999;
}



.space-20 {
    margin-top: 20px;
}


/* Per il Panel nel Test */
.clickable{
    cursor: pointer;   
}

.panel-heading span {
	margin-top: -20px;
	font-size: 15px;
}


.userPhotoSmall img {
    max-height : 50px;
    display :inline;
    margin-right: 10px;
}

.img-userPhoto-grid {
    max-height: 70px;
}
