/*
   Aggiungere qui tutti i CSS custom dell'applicazione
   NON modificare gli altri CSS
   I CSS definiti qui vengono lessicograficamente dopo quelli di webcommons (Ateneo 2009)
   e di conseguenza prevalgono (vedi le spefiche CSS per i dettagli: http://www.w3.org/TR/CSS2/ )
*/

h3 {
	    color: #069;
}

/*per eliminare i bordi alle simplecard modificate in ifnocard:
   <polij:simpleCard> => <polij:infoCard infocardClass="BoxSimpleCard">
*/
.BoxSimpleCard{
	border: none !important; 
}

.mce-tinymce, .mce-top-part::before  {
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}

.mce-tinymce.mce-container.mce-panel {
   border: 1px solid #cecece !important;
}

p{
	margin: 0;
	padding: 0;
}

ul{
	margin-top:0;
	margin-bottom:0;
}

ol{
	margin-top:0;
	margin-bottom:0;
}

/*
	stati scheda incarico
*/


/*
	APPROVATO
*/
#stato_approvata {
	background-color: LightGreen ;
}

/*
	INSERITA
*/
#stato_inserita {
	background-color: PaleTurquoise;
}


/*
	WORKING PROGRESS
*/
#stato_working_progress {
	background-color: LightPink;
}


/*
	NON COMPILATA
*/

#stato_non_compilata {
	background-color: PaleVioletRed;
	color : white;
}

/*
	BOCCIATA
*/

#stato_bocciata{
	background-color: tomato;
	color : white;
}

/*
	COMPILAZIONE NON PREVISTA
*/

#stato_non_compilazione{
	background-color: SlateGray;
	color : white;	
}

#stato_non_compilazione_border_top{
	background-color: SlateGray;
	color : white;	
	border-top: 0.1em solid #BBBBBB;
}


/* WARNING */
#warning {
	background-color: #FFF68F ;
}

/* ERROR */
#error {
	background-color: tomato;
}


#responsabile_sch_ins {
	background-color: PaleGreen    ;
	font-weight: bold;
}

#responsabile_a_proprio_carico{
	background-color: Moccasin;
}


#yellowgreen{
	background-color :YellowGreen;
}

#colorBoxPrecarica{
	background-color :LightCyan ;
}

#borderLeft{
	border-left: 0.1em solid #BBBBBB;
}

#borderTop{
	border-top: 0.1em solid #BBBBBB;
}

#borderLeftTop{
	border-top: 0.1em solid #BBBBBB;
	border-left: 0.1em solid #BBBBBB;
}

/*******************************************
 * text align
 ******************************************/

.alignLeft {
	text-align: left;
	padding-left: 0.8em !important;
}

.alignCenter {
	text-align: center;
}

.alignRight {
	text-align: right;
}

/*******************************************
 * vertical align
 ******************************************/
 
.vAlignTop {
	vertical-align: top;
}

.vAlignMiddle {
	vertical-align: middle;
}

/*******************************************
 * icons
 ******************************************/
.plus {
    background-image: url("/schedaincarico/images/plus.png");
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: 4px 4px;
    display: block;
    line-height: 16px;
    padding-left: 24px;
    padding-bottom: 4px;
    padding-top: 4px; 
    width: auto !important;   
}


/*****************************************
 * Bordi
 *****************************************/
 
.BorderAll{
	border: thin solid #e5eaef;
}

.NoBorder{
	border: none !important;
}

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

.NoLeftBorder{
	border-left: none !important;
}

.NoTopBorder{
	border-top: none !important;
}

.NoBottomBorder{
	border-bottom: none !important;
}

/*****************************************
 * Padding
 *****************************************/
 
 .PaddingL10{
	padding-left: 10px !important;
}

/* CSS validazione form */
.formValidationWarningMessage, .formValidationWarningLabel{
	color: #FF840B;
    font-style: italic;
}

label.formValidationWarningMessage {
    margin-left: 10px;
}

input.formValidationWarningMessage, textarea.formValidationWarningMessage {
    border-color: #FF840B;
}

.hide
{
	display:none;
}

/***
 checkbox con toggle
 es. 
 <label class="switch">
<input type="checkbox" id="togBtn">
<div class="slider round"></div>
</label>
***/

.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 1.8em;
  top: 6px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ca2222;
  -webkit-transition: .4s;
  transition: .4s;
   border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1em;
  width: 1em;
  left: 5px;
  bottom: 5px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2ab934;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(8px);
  -ms-transform: translateX(8px);
  transform: translateX(36px);
}

/*------ ADDED CSS ---------*/
.slider:after
{
 content:'No';
 color: white;
 display: block;
 position: absolute;
 transform: translate(-50%,-50%);
 top: 40%;
 left: 50%;
 /* font-size: 10px;
 font-family: Verdana, sans-serif; */
}

input:checked + .slider:after
{  
  content:'S�';
}

.sdgs-tooltip {
	width: 30em;
	font-size: 1.1em;
}

/*--------- END --------*/