﻿.onglet_rs a {
    text-decoration: none;
}

.article_concours img,
#desktop-post-info img,
.section__wrap img,
#howToPlay img,
.fitimg {
    max-width: 100%;
    height: auto!important;
}

.wide-concours .grid_block_image {
    height: 295px;
}

.grid_block_image {
    height: 220px;
    /*TODO: Change the height to the real value */
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: background-size 0.5s ease;
}


.concours-border:hover {
    border: 1px solid black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2392156863);
}


.concours-border.wide-concours {
    border: 2px solid black;
}

.concours-border {
    border: 1px solid #dee2e6; /*#cfc2d6;*/
    border-radius: 1.5rem;
    overflow: hidden;

    width: 100%;

    transition: border 500ms ease-out;
    -o-transition: border 500ms ease-out;
    -moz-transition: border 500ms ease-out;
    -webkit-transition: border 500ms ease-out;

    transition: box-shadow 200ms ease-out;
    -o-transition: box-shadow 200ms ease-out;
    -moz-transition: box-shadow 200ms ease-out;
    -webkit-transition: box-shadow 200ms ease-out;
}

.grid_block_content_wrap {
    padding: 25px;
    padding-bottom: 0px;
}

.concours-border::after {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.concours-border:hover::after {
    opacity: 1;
    border: 1px solid black;
}


.jackpot-btn {
    width: 100%;
    border: 2px solid black;
}

.jackpot-btn-border {
    position: relative;
}

.jackpot-btn-border:before,
.jackpot-btn-border:after {
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    background: linear-gradient(90deg, var(--bs-btn-border-color), orange);
    background-size: 400%;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    animation: steam 8s linear infinite;
    border-radius: var(--bs-border-radius);
}

@keyframes steam {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 200% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.jackpot-btn-border:after {
    filter: blur(10px);
}


#sortable {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#sortable li {
  margin: 3px 3px 3px 0;
  padding: 1px;
  float: left;
  height: auto;
  font-size: 4em;
  text-align: center;
  /*cursor: grab;*/
}

#sortable img {
  max-height: 17vh;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.ui-sortable-placeholder {
  background-color: #a2a2a29c;
  visibility: visible !important;
}

a.disabled {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

.imgwrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

width:100%;
height:100%;
}

.imgwrap .grid_block_image .overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.imgwrap .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#login_form{
  padding-top: 25px;
}


.horizontal-divider {
   width: 100%; 
   text-align: center; 
   border-bottom: 1px solid #000; 
   line-height: 0.1em;
   margin: 10px 0 20px; 
} 

.horizontal-divider span{ 
    background:#fff; 
    padding:0 10px; 
}

#site_logo, #site_logo_alt{
    max-height: 200px;
}

#post-img-container img {
    max-height: 300px;
    max-width: 100%;
    width: auto;
    height: auto;
}

.right-content {z-index: 0;}


/* Recaptcha badge to the left */
/*.grecaptcha-badge {
	width: 70px !important;
	overflow: hidden !important;
	transition: all 0.3s ease !important;
	left: 0 !important;
}
.grecaptcha-badge:hover {
	width: 256px !important;
}*/
.grecaptcha-badge { visibility: hidden !important; height: 0px !important; width: 0px !important; }



.a2a_kit .a2a_svg {
    width: 45px!important;
    line-height: 45px!important;
    height: 45px!important;
    background-size: 45px!important;
}

@media (min-width: 576px) { 
    
    .a2a_kit .a2a_svg {
        width: 50px!important;
        line-height: 50px!important;
        height: 50px!important;
        background-size: 50px!important;
    }

 }

@media (min-width: 768px) {

    .a2a_kit .a2a_svg {
        width: 64px!important;
        line-height: 64px!important;
        height: 64px!important;
        background-size: 64px!important;
    }

}


.participate-button-container {
	width: 100%;
}

@media (min-width: 1400px) { 
	.participate-button-container {
		min-width: fit-content;
		width:auto;
	}
}

.concours-border h5 {
	/* height: 72px; */
}

.participate-button-container { width: 100%; }

@media (min-width: 1400px) { 
	.participate-button-container { min-width: fit-content;width:auto; }
}

#scratch { min-width: 100%; }
#scratch-header-container .flex_center { margin: 15px 0; }
