/* This file contains the styling of the editorial content located in .xml files */

.emphasis-text {
	font-weight: bold;
	color: #087FAA;
}

.center-text {
	text-align: center;
}

.nowrap-text {
	white-space: nowrap;
}

/* Used in development_2017-03.xml */
.background-green {
	background-color: #66cc00;
}
.background-yellow {
	background-color: #ffff00;
}
.background-red {
	background-color: #ff0000;
}

/* Homepage banner */

#homepage-banner { 
	background: #d1edf8;
    height: auto;
    margin: 10px auto 0;
    max-width: 746px;
    min-width: 440px;
} 

#homepage-banner a { 
	color: #000000;
    display: block;
    font-family: Verdana,sans-serif;
    font-size: 14px;
    letter-spacing: 0.00em;
    line-height: 1.6;
    padding: 5px 5px 5px 10px;
    text-decoration: underline;
	-webkit-font-smoothing: antialiased;
} 
#homepage-banner a:hover, #homepage-banner a:focus { 
    color: #A9A9A9;
    outline: medium none;
    text-decoration: none;
}

@media screen and (max-width: 740px) {
	#homepage-banner {
		background: rgba(0, 0, 0, 0) url("../images/light-blue.jpg") no-repeat scroll left center;
			 }
	#homepage-banner a {
		max-width: 100%;
		padding: 8px 0 0 10px;
		margin-top: -10px;
		  }

	}

@media only screen and (max-width :1034px) {
    #homepage-banner a {
		line-height: 20px;
 }
 }

/* E-Learning homepage banner */

#e-learning-homepage-banner { 
	display: flex;
	justify-content: center;
	margin-top: 15px;
	margin-bottom: 5px;
}

/* Used in home_editorial_content.xml for the social media icons */
#social-media-links {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}
#social-media-links ul {
    list-style: outside none none;
    margin: 0;
}
#social-media-links ul li {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    display: inline-block;
    margin: 0;
    padding: 0;
}
#social-media-links ul li + li {
    margin-left: 1em;
}
#social-media-links ul li a {
    background-color: #eeeeee;
    border: 1px solid #dddddd;
    border-radius: 4px;
    color: #3366cc;
    font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Arial,sans-serif;
    font-size: 1em;
    padding: 0.4em 0.2em;
}
#social-media-links ul li a:hover, #social-media-links ul li a:focus {
    border-color: #3366cc;
	outline: none;
}
.icon-twitter {
    fill: #00aced;
    font-size: 32px;
    height: 1em;
    overflow: hidden;
    vertical-align: -15px;
    width: 1em;
}
.icon-facebook {
    fill: #3b5998;
    font-size: 32px;
    height: 1em;
    overflow: hidden;
    vertical-align: -15px;
    width: 1em;
}
.icon-youtube {
    fill: #cd201f;
    font-size: 32px;
    height: 1em;
    overflow: hidden;
    vertical-align: -15px;
    width: 1em;
}

/* Used in legis/avis.xml */
.legis-amendments {
	font-size: 0.9em;
	margin-top: 0px;
	margin-left: 10px;
}
.legis-codelist {
    margin-left: 5em;
    text-indent: -1.5em;
}

/* Used in faq/oj-series-subseries-special_edition.xml */
.faq-oj-series-col1 {
    width: 10em;
}

/* Used in help pages to set a reasonnable width for the first column of tables */
.help-table-fields-col1 {
    width: 12em;
}

/* Used in help/my-eurlex-preferences/update-website-preferences.xml */
.help-website-prefs-col1 {
    width: 16em;
}

/* Used in intro/old-celex.xml */
.table-old-celex {
    width: auto;
}
.table-old-celex th,
.table-old-celex td {
   text-align: center;
}
.table-old-celex td:first-child {
   text-align: left;
}
.table-old-celex-code {
    width: 4em;
}
.table-old-celex-doctype {
    width: 25em;
}

/* Used in glossary entries for summaries of legislation */
.summary-glossary-lettergroup-start {
    margin-left: 10px;
}

/* Prevent the right edge of tables to be hidden */
.tableTreatiesAutomatic {
    margin-left: 0px !important;
}