a.do-link:link {
	color: var(--jm-link, blue);
}

a.do-link:visited {
	color: var(--jm-link-visited, #00a);
}

a.do-link:hover {
	color: var(--jm-link-hover, #00a);
}

a.do-link:active {
	color: var(--jm-link-active, blue);
}

.do-date-filter-cont {
	position: absolute;
	width: calc( 70% );
	margin-top: 10vh;
	background: #f7f7f7;
	z-index: 2000;
	box-shadow: 2px 2px 8px #ccc;
	margin-left: calc( 15% - 15px );
	max-width: 400px;
	min-width: 224px;
}

.do-date-filter-head {
	height: 50px;
	background: var(--jm-primary, #343a40);
	color: #f7f7f7;
	font-weight: bold;
	line-height: 47px;
	padding-left: 15px;
}

.do-date-filt-mthCont,
.do-date-filt-yeaCont {
	max-height: 300px;
	overflow-y: scroll;
}

.do-date-filter-body ul li {
	list-style: none;
}

.wpdf_month_list {
	padding-left: 17px;
}

.do-date-filter-tab {
	float: left;
	width: 33.33%;
	background: #cccccc;
	margin-left: 0px;
	height: 34px;
	line-height: 34px;
	text-align: center;
	border-right: 1px solid #eee;
}

.do-date-filter-tab:nth-child(3){
	border-right: none;
}

.do-date-filter-tab.do-active {
	background: #f7f7f7;
	border-bottom: 1px solid #ccc;
}

.do-date-clear {
	clear: both;
}

.do-dfilt-dpck,
.do-date-filter-foot button {
	background: #f2f2f2;
	border: 1px solid #ccc;
}

.do-dfilt-dpck{
	padding: 7px;
	width: 100%;
}

.do-date-filter-foot button {
	background: none;
	color: var(--jm-primary, #343a40);
	border: 1px solid var(--jm-primary, #343a40);
	padding: 7px;
	margin: 15px;
	display: block;
	width: calc( 100% - 30px );
}

.do-date-filter-foot button:hover {
	background: var(--jm-primary, #343a40);
	color: #f7f7f7;
}

.do-date-filter-tab,
.do-date-filter-foot button{
	cursor: pointer;
}

.do-pck-blck>label {
	display: block;
	margin-bottom: 3px;
}

.do-date-filter-dpck {
	padding-top: 20px;
	padding-bottom: 20px;
}

.do-date-filter-dpck .do-pck-blck {
	display: inline-block;
	text-align: left;
	width: calc( 100% - 30px );
	margin-left: 15px;
}

.do-date-filter-dpck .do-pck-blck>label {
	display: block;
	margin-bottom: 3px;
}

.do-date-filter-foot {
	text-align: center;
	margin: 25px 0px 23px 0px;
}

.do-date-filter-form {
	display: none;
}

.do-date-filter-form.do-active {
	display: block;
}

.do-date-filt-mthCont .do-mthUnit,
.do-date-filt-yeaCont .do-yeaUnit{
	display: inline-block;
	background: #eee;
	border: 1px solid #ddd;
	width: 39%;
	text-align: center;
	margin: 7px;
	padding: 7px;
	cursor: pointer;
}

.do-date-filt-mthCont,
.do-date-filt-yeaCont {
	text-align: center;
}

.do-date-filt-mthCont .do-mthUnit.do-active,
.do-date-filt-yeaCont .do-yeaUnit.do-active,
.do-date-filt-mthCont .do-mthUnit.do-range,
.do-date-filt-yeaCont .do-yeaUnit.do-range {
	background: var(--jm-primary, #343a40);
	color: #f7f7f7;
	border: 1px solid var(--jm-primary, #343a40);
}

.do-date-monthBlck-title,
.do-date-yearBlck-title{
	font-weight: bold;
	border-bottom: 2px solid var(--jm-primary, #343a40);
	width: 53px;
	margin: auto;
	margin-top: 12px;
	margin-bottom: 10px;
	color: var(--jm-primary, #343a40);
	font-size: 20px;
}

.do-date-yearBlck-title{
	width: 111px;
}

.do-date-filter-cont.do-closed {
	height: 50px;
	overflow: hidden;
	margin-top: -80px;
	transition: 0.2s linear;
}

.do-date-filter-head .do-close,
.do-date-filter-head .do-minimize {
	float: right;
	position: relative;
	margin-right: 16px;
	cursor: pointer;
}

.do-date-filter-cont.do-closed .do-minimize {
	transform: rotate(180deg);
	top: 5px;
}

.do-date-filter-head .do-minimize{
	display: none;
}
/* if not overridden, display a question mark */
.do-priority{
	font-weight: 900;
}
/* priority 1,2,3 = arrow up, right, down */
.do-priority-high{
	color: var(--jm-red, #f2545c);
}

.do-priority-med{
	color: var(--jm-orange, #ff7d1a);
}

.do-priority-low{
	color: var(--jm-green, #2ba829);
}

/* ENDLESS ROTATE */
.do-rotate{
	animation: do-rotate 1.5s linear infinite;
}
@keyframes do-rotate{
	to{ transform: rotate(360deg); }
}

/* Helper classes for help cursor */
span[title] {
	cursor: help;
}

.has-help {
	cursor: help;
}

/* Custom multiselect field */
.multiselect-attr-descr {
	margin-right: 5px;
}

@media (min-width:568px){
	.do-date-filt-mthCont .do-mthUnit,
	.do-date-filt-yeaCont .do-yeaUnit{
		width: 103px;
	}
}

@media (min-width:600px){

	.do-date-filter-cont{
		margin-left: calc( 50% - 200px );
	}
}

@media (min-width: 768px){
	.do-date-filter-dpck .do-pck-blck {
		display: inline-block;
		text-align: left;
		width: calc( ( 100% - 50px ) / 2);
		margin-left: 15px;
	}
}

.select2-container--bootstrap .select2-selection--single .select2-selection__arrow {
	right: 5px;
}

.select2-container--bootstrap .select2-selection.select2-selection--single {
	padding-right: 0px;
	padding-left: 10px;
}

.col-sm-1 .select2-container--bootstrap .select2-selection.select2-selection--single {
	padding-left: 5%;
}

.select2-container--bootstrap .select2-selection__clear {
	z-index: 1;
	background: white;
	margin-right: 5px;
}

/** Visualizzazione pulsante disabilitato */
button:disabled {
	cursor: not-allowed;
	pointer-events: all !important;
}

.do-display-contents {
	display: contents;
}
.do-display-none {
	display: none;
}

.form-group>.do-display-contents>.form-group {
	margin-bottom: 0;
}
.do-row.form-group>.do-display-contents>.form-group {
	margin-bottom: 1rem;
}

.bg-dark {
	background-color: var(--jm-primary, #343a40) !important;
}

.do-tablefield .inputcol, .do-tablefield input {
	padding-right: 1px;
	padding-left: 1px;
}

.do-tablefield .row .inputcol {
	margin-top: 5px;
	margin-bottom: 5px;
}

.do-tablefield .row.even {
	background-color: #f2f2f2;
}

.do-tablefield-delbtn {
	margin-top: 5px;
}

/* FlatSelectField
-------------------------------------------------- */
.do-flat-select-container {
	display:grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	padding:20px
}

.do-flat-select-option {
	border: 1px solid var(--jm-primary, #343a40);
	color: var(--jm-primary, #343a40);
	font-size: large;
	font-weight: bold;
	letter-spacing: 2px;
	margin: 5px;
	padding: 10px;
	margin-left: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	min-height: 80px;
	cursor:pointer;
}

.do-flat-select-option.selected {
	background: var(--jm-primary, #343a40);
	color: white;
}

/* RadioSelectField
-------------------------------------------------- */
.do-radio-select-container {
	display:grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	column-gap: 5px;
}
