/*
	Bellreguard Participa
	Developed by DISEDIT, CB
	Jan 2014
*/
body {
	background: #F1F2F3;
	font-size: 16px;
}
.clear {
	clear: both;
}
/*.container {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: default;
}*/
.main-container {
	background: #FFF;
	padding: 5px 30px;
}
.alert { padding: 8px 15px; }
.site-title {
	font-weight: bold;
	margin-top: 30px;
}
.site-logo{
	vertical-align: middle;
	margin: 10px 0 5px -13px;
	width: 230px;
}
.site-description {
	color: #2F6E7A;
	font-size: 18px;
	margin-top: -3px;
}
.social-container-q {
	margin-top: 20px;
	float: right;
}
.social-container-q a:hover {
	text-decoration: none;
}

.social-icons-q li {
	display: inline-block;
	margin-right: 10px;
	background: transparent !important;
}
.social-icons-q a {
	font-size: 28px;
	background: transparent !important;

}
.social-icons-q a span {
	font-size: 20px;
}

.social-icons-q .Bellreguard {
	margin-right: 0;
}


.social-buttons-q {
	float: right;

}
.fb-like {
	top: -5px;
}

.placeholder-instructions {

}
.placeholder-instructions h2 {

}
.upcoming {
	background: #F1F3F3;
	padding: 20px;
	margin-bottom: 20px;
}
.upcoming h4 {
	color: #777;
	margin-top: 0;
}
.upcoming h5 {
	color: #333;
	font-size: 21px;
	font-weight: bold;
}
.upcoming ul, .upcoming li {
	margin: 0; padding: 0; list-style: none;
}
.upcoming li a {
	margin-bottom: 10px;
	display: block;
	text-indent: -14px;
    margin-left: 30px;
}
.upcoming li a i {
	margin-right: 10px;
}
.vote-dates {
	color: #888;
	font-size: 14px;
	font-style: italic;
}
a.disabled-link {
	color: #888;
	text-decoration: line-through;
}
.placeholder-instructions h2 span, .results-main-header span {
	margin-right: 10px;
	color: #2F6E7A;
}
.placeholder-instructions p {
	line-height: 175%;
	text-align: justify;
}
.aj-logo {
	width: 95%;
	max-width: 150px;
}


/* LEAD */
.voting-header {
	background: #0DA19B;
	padding: 10px 30px;
	margin: 10px -30px 25px -30px;
	
}
.voting-header h2 {
	margin-top: 13px;
	font-weight: bold;
	font-size: 35px;
	color: #FFF;
	margin-bottom: 4px;
}
.voting-header p {
	color: #FFF;
	font-size: 19px;
}
.voting-info {
	background: #FFF;

	border: 2px #FFF solid;
	width: 130px;
	float: right;
	margin: 0;
}
.voting-info.voting-info-reset {
	margin: 20px auto;
	float: none;
	width: 100%;
}
.voting-info span {
	display: block;
	padding: 4px 0;
	text-align: center;
}
.voting-info .voting-open {
	background: #2F6E7A;
	color: #FFF;

}
.voting-info .voting-dates {
	font-size: 22px;
	padding-bottom: 0;
}
.voting-info .voting-month {
	font-size: 18px;
	padding-top: 0;
}

/* VOTING BOOTH */
.booth-heading {
	margin-bottom: 0;
	margin-top: 0;
	font-weight: bold;
}
.DNI-heading, .mobile-heading {
	margin-top: 0;
	font-weight: 700;
}
.ID-box {
	background: #EFF1F3;
	padding: 25px;
    margin: 25px 0;
}
.voting-booth {
	padding: 0;
	margin: 0;
	margin-bottom: 35px;
}
.voting-booth li {
	list-style: none;
}
.voting-instructions {
	background: #333;
	padding: 0 5px;
}
.options {
	position: relative;
}

.options label {
	display: block;
	margin: -10px -15px;
	padding: 13px 15px 10px 60px;
	height: 105px;
	max-width: none !important;
}
.options .option-checkbox {
	position: absolute;
	top: 10px;
	left: 10px;
}

.options select {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	padding: 3px 12px;
	left: 0;
	-webkit-appearance: none;
	border: 0;
	border-radius: 0;
	border-bottom: 2px #a6aeb5 solid;
	background: #EFF1F3;
}
.options select:hover {
	background: #dadee3;
}

.options .option-price {
	white-space: nowrap;
	font-weight: normal;
	color: #888;
}
.total-selected {
	color: #00c788;
	font-size: 18px;
	position: relative;
	top: -8px;
	float: right;
}
.ordered-randomly {
	float:right;color:#888;font-weight:normal;font-size:12px;
	top: 10px; position: relative;
}
.total-selected strong {
	font-size: 22px;
}
.total-error {
	color: #C62828;
}
.options input {
	margin-right: 10px;
}
.options label:hover {
	
}
.options .checkedOption {
	background: #c1f9f2;
	border-right: 5px #2F6E7A solid;
}
.options .checkedOption .option-title:after {
	content: ' \e013';
	font-family: 'Glyphicons Halflings';
	font-size: 11px;
	color: #999;
}
.options .checkedOption:hover {
	background: #c1f9f2;
}
.options .disabledOption {
	color: #999;
}
.options .checkedOption .disabledOption {
	color: #6E6E6E;
}
.modal-body h4 {
	font-weight: bold;
}
.modal-title {
	font-weight: bold;
    font-size: 23px;
    color: #2F6E7A;
}
.attachments, .attachments li {
	list-style: none; margin: 0; padding: 0;
}
.attachments .pdf {

}
.attachments .image {
	margin: 5px -10px 0 -10px;
}

.list-group-item {
	float: left;
	width: 50%;
}
.three-column .list-group-item {
	width: 33.3%;
}
.options li:first-child {
	border-radius: 5px 0 0 0;
}
.options li:nth-child(2) {
	border-radius: 0 5px 0 0;
}
.options li:nth-last-child(2) {
	border-radius: 0 0 0 5px;
}
.options li:last-child {
	border-radius: 0 0 5px 0;
}
.three-column .options li:nth-child(2) {
	border-radius: 0;
}
.three-column .options li:nth-child(3) {
	border-radius: 0 5px 0 0;
}
.three-column .options li:nth-last-child(3) {
	border-radius: 0 0 5px 0;
}
.desc-link {
	font-weight: normal;
	font-size: 12px;
	// white-space: nowrap;
}
.passport-help {
	font-size: 13px;
	color: #CCC;
}
.summary-in-booth {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}
/* GRACIES */
.gracies {
	text-align: center;
}
.gracies .glyphicon {
	font-size: 90px;
}
.gracies-success {
	width: 50%;
	margin: 40px auto;
	background: #27ae60;
	color: #FFF;
	border-radius: 5px;
	padding: 12px;
	font-size: 18px;

}
.error-message {
	width: 50%;
	margin: 15px auto;
	/*background: #e53720;*/
	border: 2px #c0392b solid;
	color: #c0392b;

	border-radius: 5px;
	padding: 12px;
	font-size: 18px;
}
.error-challenge {
	width: 50%;
	margin: 15px auto;
	background: #FFF;
	color: #555;
	border-radius: 5px;
	padding: 12px;
	font-size: 14px;
	border: 2px #CCC solid;
}
.summary-step {
	margin-top: 30px;
}
.ballot-summary {
	position: relative;
	padding-right: 30px;
	margin: 0 auto;
	background: #FFF;
	border: 2px #CCC solid;
	padding: 20px;
	border-radius: 3px;

}
.ballot-summary:after {
	content: '';
	position: absolute;
	background: #FFF;
	width: 25px;
	height: 25px;
	top: 20px;
	right: -13px;
	border-right: 2px #CCC solid;
	border-bottom: 2px #CCC solid;
	transform: rotate(-45deg);
	border-radius: 3px;
}
.summary-in-booth .ballot-summary:after {
	content: '';
	display: none;
}

.ballot-summary h3 {
	margin-top: 0;
	margin-bottom: 0;
}
.summary-options ul, .summary-options ol {
	margin: 0; padding: 0;
	margin-bottom: 15px;
	margin-left: 0;
}
.summary-options li {
	list-style: none;
	font-size: 16px;
	line-height: 200%;
}
.number {
	background: #E1E2E3;
	border-radius: 3px;
	padding: 4px 10px;
	margin-right: 10px;
}
.fine-print {
	margin-top: 15px;
}

.admin-shortcut {
	position: absolute;
	top: -100px;
	right: 10%;
	background: #FFF;
	border: 2px #CCC solid;
	border-radius: 4px;
	box-shadow: 0px 0px 4px -1px #FFF;
	padding: 10px 20px;
	font-size: 18px;
}

.errors {
	color: #FFF;
	background: #c0392b;
	padding: 5px 10px;
	font-weight: bold;
	margin-bottom: 7px;
}

/* Results */
.results-main-header {
	margin-bottom: 20px;
}
.results-header {
	background: #BBB;
	color: #FFF;
	padding: 8px 10px;
	margin: 20px 0;
}
.results-option {
	background: #FFF;
	padding: 15px;
	box-shadow: 0px 2px 16px -5px rgba(0,0,0,0.7);
	height: 210px;
	position: relative;
}
.results-details {
	position: absolute;
	bottom: 15px;
	left: 15px;
	right: 15px;
}
.results-option h5 {
	font-weight: bold;
	margin-top: 0;
	font-size: 18px;
	line-height: 145%;
}
.results-result, .results-percentage {
	font-size: 13px;
	color: #999;
	margin: 3px;
}
.results-percentage {
	background: #DDD;
	border-radius: 4px;
}
.results-percentage-bar {
	background: #2F6E7A;
	color: #FFF;
	border-radius: 5px;
	text-align: right;
	font-size: 12px;
}
.results-position {
	font-size: 38px;
	color: #CCC;
	float: right;
	margin-top: -10px;
	margin-left: 10px;
}
.results-top-three {
	background: #2F6E7A;
}
.table-results {
	background: #FFF;
}
.other-results a {
	font-size: 15px;
}
.home-block {
	position: relative;
}
.home-icon {
	background: #2F6E7A;
	color: #FFF;
	padding: 2px 17px;
    border-radius: 50%;
    font-size: 35px !important;
	position: absolute;
	top: 0;
	left: 0;
	font-weight: bold;
}

.home-block-text {
	margin-left: 70px;
	border-left: 1px #EEE solid;
	padding-left: 30px;
}

.intro {
	font-size: 19px;
}
.dates {
	font-weight: bold;
	color: #2F6E7A;
}
.table-calendar td{
	text-align: center;
}
.month {
	background: #CCC;
	color: #FFF;
}
.weekdays {
	font-size: 11px;
	color: #AAA;
}
.weekdays {
	text-align: center;
}
.ph1 {
	background: #1abc9c;
	background: rgba(26, 188, 156, 0.5);
}
.ph2 {
	background: #2ecc71;
	background: rgba(39, 174, 96, 0.5);
}
.ph3 {
	background: #3498db;
	background: rgba(41, 128, 185, 0.5);
}
.ph4 {
	background: #9b59b6;
	background: rgba(142, 68, 173, 0.5);
}
.ph5 {
	background: #d35400;
	background: rgba(211, 84, 0, 0.5);
}
.ph6 {
	background: #f39c12;
	background: rgba(243, 156, 18, 0.5);
}
.ph-grey {
	color: rgba(0, 0, 0, 0.3);
}

.calendar-legend li {
	padding-left: 25px;
	position: relative;
}

.calendar-legend-square {
	position: absolute;
	top: 4px;
	left: 0;
	width: 15px;
	height: 15px;
	display: block;
	margin-right: 10px;
}

.submit-button {
	display: block;
	background: #2F6E7A;
	color: #FFF;
	text-align: center;
	padding: 10px;
	margin: 20px -20px -20px -20px;
}
.submit-button:hover {
	color: #FFF;
	text-decoration: none;
	background: #0DA19B;
}

.submit-button .glyphicon {
    margin-right: 10px;
}

.voter-id {
	background: #FFF;
	padding: 0 4px;
	border: 1px solid #ccc;
	border-radius: 6px;
}
.voter-id table, .voter-guide {
	width: 100%;
}
.voter-id td {
	border-right: 1px #DDD solid;
	padding: 0 4px;
}
.voter-id input, .voter-id select {
	width: 100%;
	border: 0;
	padding: 10px;
	text-align: center;
	font-size: 18px;

}


.voter-id input:focus {
	outline: 0;
	
}
.voter-id .dni-input, .voter-id .last-input {
	border-right: 0;
}
.voter-guide {
	background: none;
	border-radius: 0;
	border: 0;
	font-size: 14px;
}
.voter-guide td {
	padding: 10px;
}
.list-group-item label {
	padding-right: 100px;
	
}

.disabledOption .option-thumb {
	opacity: 0.3;
}
.checkedOption .disabledOption .option-thumb {
	opacity: 0.6;
}

.option-thumb {
	width: 70px;
	height: 70px;
	position: absolute;
	top: 10px;
	right: 10px;
	background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}


.modal-dialog .option-thumb {
	position: static;
	display: inline-block;
	width: 30px;
	height: 30px;
	vertical-align: middle;
}
*/

@media (max-width: 1200px) {
	.total-selected {
		float: none;
		display: block;
		top: 0;
		margin: 5px 0;
	}
}

/* medium devices */

@media (max-width: 990px) {

	.site-logo {
		width: 300px;
		margin-left: 0;
	}

	.social-icons-q {
		margin-right: 0;
	}
	.option-title-wrapper {
		    display: block;
			max-height: 46px;
			overflow: hidden;
			text-overflow: ellipsis;
	}


}

@media (max-width: 590px) {
	.main-container {
		padding: 5px 20px;
	}
	.list-group-item {
		float: none;
		width: 100%;
	}
	.options li:first-child {
		border-radius: 5px 5px 0 0;
	}
	.options li:nth-child(2) {
		border-radius: 0;
	}
	.options li:nth-last-child(2) {
		border-radius: 0;
	}
	.options li:last-child {
		border-radius: 0 0 5px 5px;
	}

	.gracies-success, .error-message, .error-challenge {
		width: 100%;
	}
	.btn-confirmacio {
		margin-bottom: 10px;
	}

	.ordered-randomly {
		float: none;
		display: block;
		text-align: right;
		margin-bottom: 10px;
	}
	.booth-heading {
		margin-bottom: 20px;
	}
	.voting-info {
		float: none;
		width: auto;
		margin: 0;
	}
	.voting-header {
		margin: 10px -20px;
	}



	.voting-header h2 {
		font-size: 28px;
	}
	.voting-header p {
		font-size: 15px;
		opacity: 0.8;
	}
	.social-container-q {
		float: none;
		margin-top: 5px;
	}

	.site-logo {
		width: 80%;
		margin: 0 auto;

	}
	.site-information {
		text-align: center;
	}
	.social-icons-q {
		margin: 0; padding: 0; list-style: none;
		margin-bottom: 10px;
		text-align: center;
	}
	.social-buttons-q {
		float: none;
		text-align: center;
	}
	.home-icon {
		position: relative;
		text-align: center;
		width: 60px;
		display: block;
		margin: 0 auto;
	}

	.home-block h2 {
		text-align: center;
		margin-top: 5px;
		margin-bottom: 25px;
	}
	.home-block {
		border-bottom: 1px #EEE solid;
		margin-bottom: 30px;
		padding-bottom: 20px;
	}
	.home-block-text {
		margin-left: 0;
		border-left: 0;
		padding-left: 0;
	}
	
	.ballot-summary {
        margin-bottom: 30px;
    }
    .ballot-summary:after {
        top: auto;
        right: auto;
        bottom: -14px;
    	left: 50%;
        margin-left: -12px;
    	border-left: 2px #CCC solid;
    	border-bottom: 2px #CCC solid;
        border-right: none;
    	transform: rotate(-45deg);
    	border-radius: 3px;
    }
    .soft-hidden-xs {
        display: none;
    }


}

