/* Global */


img { max-width:100%; }

a {
    -webkit-transition: all 150ms ease;
    -moz-transition: all 150ms ease;
	-ms-transition: all 150ms ease;
	-o-transition: all 150ms ease;
	transition: all 150ms ease;
	}

a:hover {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
    filter: alpha(opacity=50); /* IE7 */
    opacity: 0.6;
    text-decoration: none;
}

body{
    border-top:0;
    background:#c4e17f;
    margin: 0;
    padding: 0;
}

/* Bouton Actualiser */
.btn-actualiser {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #f0ad4e;
    color: #000;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.btn-actualiser:hover {
    background: #ec971f;
    text-decoration: none;
    opacity: 1;
}

/* Icônes des sites */
.site-icons {
    padding: 10px 0 15px 15px;
}
.site-icons a {
    display: inline-block;
    margin-right: 15px;
}
.site-icons .favicon {
    width: 16px;
    height: 16px;
}

.home-page h1{
    margin-top: 15px;
    margin-bottom: 20px;
    margin-left: 15px;
}

.title-link{
    font-size: 14px;
    font-style: italic;
    margin-left: 3px;
}


.section-refresh{
    font-size: 16px;
    margin-left: 10px;
}

/* Page Header */
.page-header {
    background: #f9f9f9;
    margin: -30px -40px 40px;
    padding: 20px 40px;
    border-top: 4px solid #ccc;
    color: #999;
    text-transform: uppercase;
}

.page-header h3 {
    line-height: 0.88rem;
    color: #000;
}

/* Card Box */
.card{
    margin-bottom: 0px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.card .card-img-top{
    height: 250px !important;
    width: 100% !important;
    min-width: 100%;
    object-fit: fill !important;
    border-radius: 4px 4px 0 0;
}
.mangas .card .card-img-top{
    height: 150px;
    object-fit: contain;
    background: #f5f5f5;
}
.card-body {
    padding: 10px 15px;
    min-height: 140px;
    background: #fff;
}
.card-title {
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.card-title a {
    color: #337ab7;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.card-title a:hover {
    color: #23527c;
}

.card-text {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.favicon {
    height: 16px;
    width: 16px;
    vertical-align: middle;
}
.title .favicon{
    margin: 1px 5px 0px 0px;
    float: left;
}

.favicon-clone{
    position: absolute;
    bottom: 10px;
    left: 15px;
}
.favicon-clone a {
    display: inline-block;
    margin-right: 3px;
    line-height: 0;
}
.favicon-clone .favicon{
    margin: 0;
    background: none !important;
}

/* Movies */
.detail-items .item .row > div{
    margin-bottom: 50px;
}

/* Carousel Control */
.control-box {
    text-align: right;
    width: 100%;
    margin-top: 5px;
    padding: 0;
}
.control-box li {
    display: inline-block;
    margin: 0 2px;
    list-style: none;
}
.control-box a {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 28px;
    height: 28px;
    padding: 0;
    opacity: 0.6;
    transition: all 0.2s;
}
.control-box a:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

/* Carousel BS5 */
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-item {
    display: none;
    position: relative;
    transition: transform 0.6s ease-in-out;
}
.carousel-item.active {
    display: block;
}
.carousel-item-next,
.carousel-item-prev {
    display: block;
}
.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(100%);
}
.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(-100%);
}

/* Imdb rating */
.imdb-rating{
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.imdb-rating a{
    color: black;
    text-decoration: none;
}
.imdb-rating a:hover{
    text-decoration: none;
    opacity: 0.8;
}
.imdb-rating img{
    margin-right: 5px;
}
.imdb-rating span{
    font-size: 12px;
}
.imdb-rating span b{
    font-size: 14px;
}
.imdb-rating a.imdb-top span{
    background-color: darkmagenta;
    padding: 2px;
}
.imdb-rating a.imdb-top{
    color: white;
}


/* Mobile Only */
@media (max-width: 767px) {
    .page-header, .control-box {
        text-align: center;
    }
}
@media (max-width: 479px) {
    .caption {
        word-break: break-all;
    }
}


li { list-style-type:none;}

::selection { background: #ff5e99; color: #FFFFFF; text-shadow: 0; }
::-moz-selection { background: #ff5e99; color: #FFFFFF; }

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;

    margin: 80px 15%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}