/*
	additional styles
*/

body.show-error .footer-partners,
body.show-error .footer-share {
	display:none;
}

/* float up link right */
.scroll-top {
	margin-left:auto;
}

/* orange bars in mycountry */

.country-list-your .party .party-graphic-bar {
	background-color:#FFCB02;
}

/* ie11 needs this */
body.show-dialog #party-dialog {
	width:100%; 
}

/*missing flags */
.flag-icon-pt {
    background-image: url(../assets/flags/4x3/pt.svg);
}
.flag-icon-ee {
    background-image: url(../assets/flags/4x3/ee.svg);
}
.flag-icon-mt {
    background-image: url(../assets/flags/4x3/mt.svg);
}
.flag-icon-ie {
    background-image: url(../assets/flags/4x3/ie.svg);
}
.flag-icon-cy {
    background-image: url(../assets/flags/4x3/cy.svg);
}
.flag-icon-ro {
    background-image: url(../assets/flags/4x3/ro.svg);
}
.flag-icon-si {
    background-image: url(../assets/flags/4x3/si.svg);
}
.flag-icon-lt {
    background-image: url(../assets/flags/4x3/lt.svg);
}
.flag-icon-hr {
    background-image: url(../assets/flags/4x3/hr.svg);
}


/* eulogo */
.eulogo-icon {
	background-size: contain;
	background-position: 50%;
	background-repeat: no-repeat;
	position: relative;
	display: inline-block;
	width: 2em;
	line-height: 2em;
	border-radius: 2px;
	box-shadow: inset 0 0 1px rgba(0,0,0,0.5);
}
.eulogo-icon:before {
	content: '\00a0';
}
.eulogo-icon.missing {
	display:none;
}
	
  

/* germany loves stars */
div.title h1 {
	background-image: url(../assets/eu_stars.svg);
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
}  
    
/* downsize party title based on length */

@media (max-width: 767px) {
	.party-dialog-title {
		font-size: 40px;
	}
	.party-dialog-title.gt-24 {
		font-size: 40px; /* yes */
	}
	.party-dialog-title.gt-48 {
		margin-top:1em;
		font-size: 30px;
	}
	
}
@media (min-width: 768px) and (max-width: 1023px) {
	.party-dialog-title {
		font-size: 60px;
	}
	.party-dialog-title.gt-24 {
		margin-top:.5em;
		font-size: 50px;
	}
	.party-dialog-title.gt-48 {
		margin-top:1em;
		font-size: 40px;
	}
}

@media (min-width: 1024px) {
	.party-dialog-title {
		font-size: 80px;
	}
	.party-dialog-title.gt-24 {
		margin-top:.5em;
		font-size: 60px;
	}
	.party-dialog-title.gt-48 {
		margin-top:1em;
		font-size: 40px;
	}
}




/* testing flex support in older safari ... 

.country, .party {
    outline: 1px solid red;
}

*/