/**
 * @file
 * Subtheme specific CSS.
 */

#page, #main-wrapper {
  background: transparent !important;
}

#main.container{ /*main#content.main-content*/
    background: #0009;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em; 
    color:#898;
    
}
body.node--type-jeu-ligne-gd #main.container, body.node--type-page #main.container { /*main#content.main-content*/
    background: #fff9;   
    color: #010;
}
#navbar-main {
  background-color: transparent !important;
}

/* main menu */
#block-ubi-barrio5-main-menu {
    margin-left: 3%;
}
#block-ubi-barrio5-main-menu a:link,  #block-ubi-barrio5-main-menu a:visited {
  background: #ff8d0d;
  border-radius: 10px;
  margin: 0;
  padding: 2px 10px;
  color: #fff !important;
  margin-right:10px;
    margin-top:5px;
}
.all-link {
    background: #f33 !important;
}

#block-ubi-barrio5-content {
    margin-bottom:5em;
}

a, .link {
  color: #ff8d0d !important;
}
.btn-primary {
  background-color: #898 !important;
  border-color: #898 !important;
}
h1 {
  font-size: 1.8em;
  margin-top: 1em;   
}
.h1-game, .h3-game {
    text-transform: capitalize;
}
.h3-game {
    font-size:1em;
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 1em;
}
.h3-game a:link, .h3-game a:visited {
    text-transform: capitalize;
    text-decoration: none; 
    color:#EF781B;
} 

.field--name-field-description-full {
    color: #898;
}


.navbar-brand {
  font-size: 2.8em;
  text-transform: uppercase;
  color: #ff8d0d;
  margin-left: 10px;  
text-shadow: 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a, 0 0 2px #10204a;    
}





.nav-link {
  color: #000 !important;
}

.title-game {
  font-size: 2.6rem;
  text-transform: uppercase;
  color: #000;
  margin-left: 10px;  
  padding-top: 1em;
  padding-bottom: 0.5em;    
text-shadow: 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white;
}

.title-category {
  font-size: 2.6rem;
  text-transform: uppercase;
  color: #000;
  margin-left: 10px;  
  padding-top: 1em;
  padding-bottom: 1em;
text-shadow: 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white;
}


footer .container {
    background:#cccd;
    background:#0009;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;   
    padding-top: 0em;
    border-top: 2px dashed #0003;
}
.site-footer {
  background: transparent !important;
  padding:0
}

.site-footer .block {
  border: 0px solid #444;
}

.view-view-node-modal { /* play */
    clear: both;
    text-align: center;
    padding-top: 2em;
    padding-bottom: 2em;
}

#cboxClose.cbox-close-plain {
  font-size: 60px;
  line-height: 58px;
  top: 20px;
  right: 10px;
  width: 50px;
  height: 50px;    
}



/* CSS buttons : https://getcssscan.com/css-buttons-examples */
.button-5 {
  align-items: center;
  background-clip: padding-box;
  background-color: #fa6400;
  border: 1px solid transparent;
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 3rem;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
  min-width: 220px;    
}

.button-5:hover,
.button-5:focus,
a.button-5:link,
a.button-5:hover
{
  background-color: #fb8332;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
  color: #fff !important;
}

.button-5:hover {
  transform: translateY(-1px);
}

.button-5:active {
  background-color: #c85000;
  box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
  transform: translateY(0);
}




.node.node--type-jeu-ligne-gd.node--view-mode-full .field--name-field-jeu-ligne-image-src {
    float:none !important;
    text-align:center;
}


/* CSS */
.button-87 {
  margin: 8px;
  padding: 8px 30px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 10px;
  display: block;
  border: 0px;
  font-weight: 700;
  box-shadow: 0px 0px 14px -7px #f09819;
  background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-87:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.button-87:active {
  transform: scale(0.95);
}
.button-87:hover,
.button-87:focus,
a.button-87,
a.button-87:link,
a.button-87:hover
{
  /*background-color: #fb8332;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;*/
  color: #fff !important;
}


/* terms */
.field--name-field-description-full  {
    margin-top:2em;
}
.field--name-field-description-full h3 {
    font-size: 1.1rem;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
}

/* games category page */
a.game-category:link, a.game-category:visited, a.game-category:hover   {
  text-align: center;
  font-size: 1em;
  text-decoration: none;
  display: block;
  background: #f9f9f9aa;
  /*width: 200px;*/
  margin-bottom: 0em;
    padding:0.2em;
  color: #ff6f00;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;  
    border-radius: 5px;
    text-transform: uppercase;
}
a.game-category:hover   {
  /*color: #ff8d0d; 
  color: #fff;     
  background: #ff8d0d;    */
}

.view-menu-terms-jeux .field--name-field-jeu-ligne-image-src {
text-align: center;
  width: 100%;
}

.view-menu-terms-jeux  .views-field-name {
    margin-bottom: 2em;
}
/* navbar */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-direction: row-reverse;
    margin-left: 50px;
  }
}



/* dropdown language */
#block-ubi-barrio5-dropdownlanguage h2 {
text-align: center;
}
#block-ubi-barrio5-dropdownlanguage legend {
    display:none;
}

#block-ubi-barrio5-footermenu {
    text-align:center;
}
#block-ubi-barrio5-footermenu .nav-link { 
  color: #898 !important;
}


/* home */
body.path-frontpage h2 {
  color: #898;
  font-size: 1.3em;
  font-weight: 500;    
}
#block-ubi-barrio5-views-block-home-jeux-block-2 { /* featured */
  background: #fff3;
  padding: 0.1em;
  border-radius: 0.5em;
  margin-top:2em;
}
#block-ubi-barrio5-views-block-home-jeux-block-2 h3 {
  font-size:1.2em;
}

#block-ubi-barrio5-views-block-home-jeux-block-1 { /* news */
  margin-top:2em; 
}

#block-ubi-barrio5-views-block-menu-terms-jeux-block-2 { /* cat */
   background: #fffc;
  padding: 0.1em;
  border-radius: 0.5em;
  margin-top:2em;   
}
#block-ubi-barrio5-views-block-menu-terms-jeux-block-2 .field--name-field-jeu-ligne-image-src {
  text-align: center;
  width: 100%;
}
#block-ubi-barrio5-views-block-menu-terms-jeux-block-2 .field--name-field-jeu-ligne-image-src img {
   margin:0; 
}
#block-ubi-barrio5-views-block-home-jeux-block-3 { /* selection */
   background: #fff3;
  padding: 0.1em;
  border-radius: 0.5em;
  margin-top:2em;   
}
a.game-category-home:link, a.game-category-home:visited, a.game-category-home:hover   {
  text-align: center;
  font-size: 1.1em;
  text-decoration: none;
  display: block;
  background: #f9f9f9;
  width: 200px;
  margin-bottom: 1em;
  color: #ff6f00;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;  
  text-transform:uppercase;
}
a.game-category-home:hover   {
 /* color: #ff8d0d; 
  color: #fff;     
  background: #ff8d0d;    */
}

#navbar-top {
  background-color: #00000099;
  justify-content: center;
}
.navbar {
  --bs-navbar-padding-y: 0rem;
}
