.indicator-news-published, .indicator-news-unpublished {
  float: right;
  line-height: 23px;
  padding-right: 27px;
}
.indicator-news-published {
  background: url("../img/news_state_published.6e290f22129b.png") no-repeat scroll right center transparent;    
}
.indicator-news-unpublished {
  background: url("../img/news_state_unpublished.aec286a98e92.png") no-repeat scroll right center transparent;
}

input[type="submit"]:disabled {
    background: #dddddd;
    color: rgb(102, 102, 102);
}

.g-span-row1 {
    height: 7em;
}

.g-row .badge .category-epfl-single-color {
	color: #454545; 
}
.g-row .badge {
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 0.7em;	
}

.actu .actu-list .actu-item:first-child {
    border-top: none;
}

.media-list .media:last-child {
    border-bottom: 1px dotted #000;
}

.nav-inline .nav-item-active .nav-link:focus, .nav-inline .nav-item-active .nav-link:hover {
    border-bottom: 1px solid #000;
    cursor: pointer;
}

.nav-inline.bcnav .nav-item:last-child {
    font-weight: bold;
    color: #000;
}

.right.pagination-summary {
    padding-right: 2em;
}

.nav-pagination {
    margin: 0.5em 0;
}

.actu-dialog-image {
    max-width: 36em;
}

#content > .g-span-2_3 .page-header h1 {
    padding-right: 1em;
}

#content > .g-span-2_3 .heading,
#content > .g-span-2_3 .news-content {
    padding-right: 2em;
}

#content > .g-span-2_3 .embed-responsive {
    margin-right: 2em;
}

#sidebar .panel h3.panel-header {
    padding: 1px 0px 4px 0px;
    margin-bottom: 10px;
}

#sidebar .panel > .ui-collapse {
    padding-top: 15px;
    padding-bottom: 15px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 11px;
    letter-spacing: 1px;
    font-style: italic;
    outline: none;
}

#sidebar .panel .two-cols {
    margin-bottom: 20px;
}

#sidebar .panel label {
    font-size: 11px;
}

.actu #sidebar .panel-content > .newsletter-list-widget {
    padding-right: 0px;
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
}

.actu #sidebar .panel-content > .newsletter-list-widget .media {
    border-bottom: 0px;
}

.actu #sidebar .panel-content > .newsletter-list-widget .media:first-child {
    margin-top: 0px;
}

/* Pagination */
.actu .pagination .nav-list {
    float: left;
}

.actu .pagination-top {
    border-bottom: 1px solid;
}

.actu .nb-news-found {
    font-weight: bold;
    line-height: 2.55em;
}

span[data-role="close"] {
   background: white;
}

@media screen and (max-width: 61.1875em) {
    .media-list .media:last-child {
        border-bottom: 1px solid #ddd !important;
    }

    #content > .g-span-2_3 .page-header h1 {
        padding-right: 0px;
    }
    
    #content > .g-span-2_3 .heading,
    #content > .g-span-2_3 .news-content {
        padding-right: 0px;
    }

    #content > .g-span-2_3 .embed-responsive {
        margin-right: 0px;
    }
}

@media screen and (max-width: 46em) {
    .actu .pagination-top .pagination-nav-list,
    .actu .pagination-top .pagination-summary-current-page,
    .actu .pagination-bottom .pagination-summary {
        display:none;
    }

    .actu .pagination-top .pagination-summary {
        float: left;
        margin-left: 0;
    }

    .g-span-row1 {
        height: auto;
    }

    .pagination-nav-list {
        text-align: center;
        float: none;
        width: 100%;
    }
    
    .pagination-nav-list .nav-item {
        font-size: 0.9em;
        float: none;
        display: inline-block;
    }
    
    .lang .nav-item .nav-link:before,
    .lang .nav-item > span:before {
        content: attr(lang);
        text-transform: uppercase;
    }
    
    .lang .nav-item .nav-link,
    .lang .nav-item > span {
        padding: 0.615em;
        margin: 0 .615em;
    }
    
    .lang .nav-item .nav-link:hover {
        border-bottom: 0px;
    }
}

@media screen and (max-width: 22.5em) {
    .media-list .media {
        display: block;
    }
}

@media screen and (min-width: 61.25em) {
    .actu .actu-list {
        padding-right: 2em;
    }
}

.actu-advanced-search-toolbar {
    margin-top: 1em;
    padding: 0;
    border: none;
}

.actu-advanced-search-toolbar .right {
    margin: 0;
}


.actu .panel-content.keywords-panel {
    padding-right: 0;
    padding-top: 10px;
}

.actu .panel-content.keywords-panel .search-button {
  margin-left: -3em;
  width: 3em;
  display: inline-block;
  padding: 0;
  vertical-align: top;
}

.actu .actu-news-header {
    margin-top: 2.135em;
}

.actu .actu-news-source {
    float: right;
    margin-left: 2em;
}

.actu .news-video-overlay {
    background: transparent url("../img/icon_video.8655ecd9ab39.png") no-repeat scroll center center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}

.actu .news-content {
    clear: both;
}

.actu .newsletter-list h4 {
    margin: 0;
}

.actu .newsletter-list .nav-item {
    border-top: 1px dotted black;
}

@media screen and (max-width: 46em) {
    .actu .actu-news-header {
        margin-top: 0;
    }
}


.actu #sidebar {
    margin-top: 0.11em;
}

.actu #sidebar .nav-item {
    margin: 1em 0;
}


.actu .actu-news-footer {
    margin: 2em 0;
    color: #fff;
    padding: 0.2em 0.5em;
}

.actu .actu-news-footer a {
    color: inherit;
}

.actu .actu-news-footer * {
    vertical-align: middle;
}

.actu .actu-news-footer-label {
    font-weight: bold;
    margin-left: 2em;
    margin-right: 0.2em;
}

.actu .actu-news-footer-label:first-child {
    margin-left: 0;
}

.actu .heading {
    font-weight: bold;
}

.actu .publish-date {
  font-family: "Georgia","Times New Roman",Times,serif;
  font-style: italic;
}

/* News visual */

.actu .news-visual {
    width: 24.923em;
    margin: 0.3846em 0.6154em 0.6154em 0;
    float: left;
    position: relative;
}

.actu .news-visual:before {
    content: "";
    display: block;
    padding-top: 56.173%;
}

.actu #data-widget-toggle-news-visual {
	padding-right: 2em;
}

@media screen and (max-width: 46em) {
    .actu .news-visual {
        width: 100%;
    }
}

@media screen and (max-width: 61.1875em) {
    .actu #data-widget-toggle-news-visual {
		padding-right: 0;
	}
}

.actu .news-visual-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.actu .news-visual-legend {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: 0;
    color: #FFFFFF;
    overflow: hidden;
    padding: 2px 8px;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
}

/* Advanced search form */

#id_keywords {
    display: inline-block;
    width: 100%;

}

.two-cols, .two-cols ul {
    clear: both;
}

.two-cols li {
    width: 50%;
    float: left;
}


/* News categories */
@media screen and (max-width: 22.5em) {
    .media-visual {
        width: 100%;
    }

    .media-visual:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, transparent 30%) repeat scroll 0% 0%;
    }
}

.badge.category-epfl {
    color: #e2001a;
}

.badge.category-education {
    color: #fff100;
}

.badge.category-research {
    color: #ff0097;
}

.badge.category-innovation {
    color: #04f827;
}

.badge.category-campus {
    color: #02ffff;
}

/*
 * Displaying red boxes for "Import" news
 */  

div.import-news {
	display: inline;
}

div.import-news a.copy-news { 
	right: 0; 
	position: absolute; 
	background: #AE0010; 
	color: #FFF; 
	padding: 0 4px; 
	font-weight: bold; 
}

div.import-news a.copy-news:hover { 
	display: inline; 
	background: #000; 
	border-color: #000; 
	color: #FFF; 
}
