/************************************************************************/
/** UNITAR MAIN LIST Module Main CSS                                   **/
/************************************************************************/


/*-----------------------------------------------------------------------------------*/
/*- UNITAR MAIN LIST DASHBOARD MAIN BLOCKS                                          -*/
/*-----------------------------------------------------------------------------------*/
.main-list-dashboard-grid.block-grid { margin-top:-10px; }
.main-list-dashboard-grid.block-grid .block.main-list-block{ padding: 15px; }
.main-list-dashboard-grid.block-grid .block.main-list-block .block-inner { padding:0; }
.main-list-dashboard-grid.block-grid .block.main-list-block h2.block-title {
	color:#fff;
	background-color: #428bca;
	padding:5px 15px;
	margin:0;
}
.main-list-block .views-row {
	display:table;
	width:100%;
	position:relative;
	height:30px;
	padding: 0 0 0 3px;
	border-top:1px solid #ddd;
}
.main-list-block.main-list-block-events .views-row {
	padding-left:35px;
}
.main-list-block .views-field {
	display:table-cell;
	font-size:1.15em;
	padding:7px;
	color:#555;
}
.main-list-block .views-field a {
	color:inherit;
}
.main-list-block .views-field-color {
	height:20px;
	position:absolute;
	left:8px;
	top:8px;
	width:20px;
}
.main-list-block .views-field-color .theme_color {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius:1px;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: inset -2px -2px 6px 0 rgba(0,0,0,0.1);
}
.main-list-block .views-field-nid {
	width:80px;
	text-align:right;
	font-weight:bold;
	background-color:#f8f8f8;
	border-left: 1px solid #ddd;
	font-size:1.3em;
}
.main-list-block .attachment {
  margin: auto;
  border: none;
  text-align: center;
  font-size: 1.25em;
  padding: 6px 15px;
  background-color: #f5f5f5;
}
.main-list-block .attachment .total {
	font-weight:bold;
	font-size: 1.25em;
	vertical-align:middle;
}
.main-list-block .more-link {
  text-align: center;
  font-size: 1.25em;
  padding: 10px 8px;
  background-color: #f5f5f5;
  border-top:1px solid #ddd;
}
.main-list-block .more-link a { color:#555; }
.main-list-block .more-link a:hover { color:#222; text-decoration:none; }




/*-----------------------------------------------------------------------------------*/
/*- SEARCH FORM                                          										        -*/
/*-----------------------------------------------------------------------------------*/
.view-main-list-users form .form-submit-wrapper,
.view-main-list-event form .form-submit-wrapper,
.view-main-list-participations form .form-submit-wrapper {
	position:relative;
	float:left;
	width:100%;
	margin:10px 0px 0;
}
.view-main-list-users form .form-item-never-access,
.view-main-list-event form .form-item-my-events,
.view-main-list-event form .form-item-open-registration,
.view-main-list-event form .form-item-users-allow-photos,
.view-main-list-participations form .form-item-my-events,
.view-main-list-participations form .form-item-open-registratio {
	display:inline-block;
	margin:10px 20px 10px 0;
}
.view-main-list-users form .form-submit-wrapper button,
.view-main-list-event form .form-submit-wrapper button,
.view-main-list-participations form .form-submit-wrapper button {
	top:4px;
	margin-bottom:0;
}

/*-----------------------------------------------------------------------------------*/
/*- RESULT TABLE                                                										-*/
/*-----------------------------------------------------------------------------------*/

/* -- EVENT MAIN LIST -- */
.view-main-list-event .views-table .views-field-field-taxonomy-term-color {
	position:relative;
	padding:0;
	width:12px;
}
.view-main-list-event .views-table tbody > tr > td .theme_color {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
.view-main-list-event .views-table tbody > tr > td.views-field-field-event-date,
.view-main-list-event .views-table tbody > tr > td.views-field-field-event-date-1  {
	white-space:nowrap;
}

.view-main-list-event .views-table tbody > tr > td.views-field-field-event-registration {
	width: 125px;
	text-align: center;
}
.view-main-list-event .views-table th.views-field.views-field-field-event-registration {
	text-align: center;
}

/* -- PARTICIPANTS MAIN LIST -- */
.view-main-list-participations .views-table tbody > tr > td.views-field-field-event-date {
	min-width:120px;
}
.view-main-list-participations .views-table tbody > tr > td.views-field-field-user-surname {
	padding-left:56px;
	position:relative;
	min-height:48px;
	min-width:215px;
}
.view-main-list-participations .views-table tbody > tr > td.views-field-field-user-surname img {
	width:40px;
	height:40px;
	border:1px solid #ddd;
	position:absolute;
	top:50%;
	left:8px;
	margin-top:-20px;
}
.view-main-list-participations .views-table tbody > tr > td.views-field-field-user-nationality {
	min-width:135px;
}
.view-main-list-participations .views-table tbody > tr > td.views-field-field-user-nationality i {
	margin-right:5px;
}


/******************************************************************************************************/
/** RESPONSIVE RULES **********************************************************************************/
/******************************************************************************************************/

/*-----------------------------------------------------------------------------------*/
/*- Medium Devices and UPPER                                                        -*/
/*-----------------------------------------------------------------------------------*/
@media (min-width : 992px) {
  .view-main-list-participations #edit-title-wrapper label { width:14.6%; }
  .view-main-list-participations #edit-title-wrapper label + div { width: 85.3%; }
}


/*-----------------------------------------------------------------------------------*/
/*- Medium Devices, Desktops                                                        -*/
/*-----------------------------------------------------------------------------------*/
@media (max-width : 1199px) {

	/* -- PARTICIPANTS MAIN LIST -- */
	.view-main-list-participations .views-table tbody > tr > td.views-field-field-event-date {
		min-width:120px;
	}
	.view-main-list-participations .views-table tbody > tr > td.views-field-field-user-surname {
		min-width:0;
	}
	.view-main-list-participations .views-table tbody > tr > td.views-field-field-user-nationality {
		min-width:0;
	}

}

/*-----------------------------------------------------------------------------------*/
/*- Small Devices, Tablets                                                          -*/
/*-----------------------------------------------------------------------------------*/
@media (max-width : 991px) {

	/* -- EVENTS MAIN LIST -- */
	.view-main-list-event .views-table .views-field-field-unitar-project,
	.view-main-list-event .views-table .views-field-mail {
		display:none;
	}

	/* -- PARTICIPANTS MAIN LIST -- */
	.view-main-list-participations .views-table .views-field-field-user-organizational,
	.view-main-list-participations .views-table .views-field-field-user-nationality {
		display:none;
	}
}


/*-----------------------------------------------------------------------------------*/
/*- Extra Small Devices, Phones                                                     -*/
/*-----------------------------------------------------------------------------------*/
@media (max-width : 767px) {

	/* -- EVENTS MAIN LIST -- */
	.view-main-list-event .views-table tbody > tr > td.views-field-field-event-date,
	.view-main-list-event .views-table tbody > tr > td.views-field-field-event-date-1  {
		white-space: normal;
	}
	.view-main-list-event .views-table .views-field-name {
		display:none;
	}

	/* -- PARTICIPANTS MAIN LIST -- */
	.view-main-list-participations .views-table .views-field-field-event-date { display:none; }
	.view-main-list-participations .views-table tbody > tr > td.views-field-field-user-surname {
		padding:8px;
		min-height:0px;
	}
	.view-main-list-participations .views-table tbody > tr > td.views-field-field-user-surname img {
		display:none;
	}

	/* -- SEARCH FORM -- */
	.view-main-list-event form .form-item-my-events,
	.view-main-list-event form .form-item-open-registration,
	.view-main-list-participations form .form-item-my-events,
	.view-main-list-participations form .form-item-open-registration {
		margin:0;
		position:absolute;
		top:5px;
	}
	.view-main-list-event form .form-item-open-registration,
	.view-main-list-participations form .form-item-open-registration {
		left:120px;
	}
	.view-main-list-event form .form-submit-wrapper button,
	.view-main-list-participations form .form-submit-wrapper button {
		top:0;
		margin-top:55px;
	}
}

/* -- POLL RESULTS VIEW -- */
.view-poll-results .action-dashboard-data .fa.fa-exclamation-circle {
	color: #428bca;
	font-size: 1.4em;
	vertical-align: middle;
	padding-right: 5px;
}