/**
Name: main.css
Author: Earvin MARS
For: COSMOPOLY V2
Date: 01/02/2021
All rights reserved
 */

/** LAYOUT **/

@keyframes defilement-rtl {
    0% {
        transform: translate3d(0,0,0);      /* position initiale à droite */
    }
    100% {
        transform: translate3d(-100%,0,0);  /* position finale à gauche */
    }
}

* {
    font-family: 'Montserrat', sans-serif;
    -moz-text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
    font-size: 0.70vw;
}

body {
    background-color: #FEF6DE !important;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.CP-Base-LeftLayout img{
    position: absolute;
    left: 2%;
    width: 12%;
}

.CP-Base-LeftLayout-Badge-Text {
    position: absolute;
    left: 3.75%;
    width: 12%;
    top: 14.5%;
    font-size: 0.65vw;
    line-height: 170%;
}

.CP-Base-LeftLayout-Badge-Buttons img{
    width: 3.15%;
    top: 20%;
}

.CP-Base-LeftLayout-Badge-Buttons-1{
    left: 3% !important;
}

.CP-Base-LeftLayout-Badge-Buttons-2{
    left: 5.25% !important;
    width: 3% !important;
    top: 20.40% !important;
}

.CP-Base-LeftLayout-Badge-Buttons-3{
    left: 7.15% !important;
    width: 3.50% !important;
}

.CP-Base-LeftLayout-Badge-Buttons-4{
    left: 9.65% !important;
    top: 20.30% !important;
    width: 3.1% !important;
}

.CP-Base-LeftLayout-Menu-Collapse a{
    background-color: #00388b !important;
    border-radius: 0;
    font-size: 0.85vw;
}

i.rotate {
    -moz-transition: all .2s linear;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}
i.rotate.down {
    -moz-transform:rotate(90deg);
    -webkit-transform:rotate(90deg);
    transform:rotate(90deg);
}

.CP-Base-CenterLayout img.CP-IMG-Layout-Header{
    position: absolute;
    left: 26%;
    height: 25%;
    width: 52%;
    box-shadow: 0 0 8px 2px grey;
    border-radius: 20px;
    top: 2%;
}

.CP-Base-CenterLayout .CP-Base-CenterLayout-Page{
    position: absolute;
    box-shadow: 0 0 8px 1px grey;
    border-radius: 20px;
    left: 26%;
    top: 30%;
    bottom: 8.5%;
    padding: 20px;
    overflow-y: auto;
    width: 52%;
}

.CP-Base-RightLayout img {
    position: absolute;
    bottom: 0;
    right: 2%;
    height: 80%;
    overflow: hidden;
}

.CP-Base-FooterLayout {
    width: 52%;                      /* largeur de la fenêtre */
    overflow: hidden;                     /* masque tout ce qui dépasse */
    box-shadow: 0 0 8px 1px grey;
    border-radius: 20px;
    left: 26%;
    height: 4%;
    position: absolute;
    bottom: 10px;
}

.CP-Base-FooterLayout > :first-child {
    display: inline-block;                /* modèle de boîte en ligne */
    padding-right: 2em;                   /* un peu d'espace pour la transition */
    padding-left: 100%;                   /* placement à droite du conteneur */
    white-space: nowrap;                  /* pas de passage à la ligne */
    animation: defilement-rtl 15s infinite linear;
    padding-top: 3px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.CP-Page-Objects-Table-Resize{
    width: 38px;
    height: auto;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.CP-Base-LeftLayout-ButtonGroup{
    position: absolute;
    top: 30%;
    left: 4%;
    width: 20%;
    margin-left: -1% ;
}

.CP-Base-LeftLayout-ButtonGroup a {
    width: 85%;
    height: 130% !important;
    font-size: 0.85vw;
}

.CP-Base-LeftLayout-ButtonGroup a:hover {
    background-color: #00008b;
    transition-duration: 350ms;
}

.CP-Base-LeftLayout-ButtonGroup a.btn-active {
    background-color: mediumpurple;
    border-color: mediumpurple;
}

.CP-Base-LeftLayout-ButtonGroup a.btn-active:hover {
    background-color: rebeccapurple;
    border-color: rebeccapurple;
}

.CP-Base-LeftLayout-Menu-Collapse a.btn-active {
    background-color: orange !important;
    border-color: orange !important;
}

.CP-Base-LeftLayout-Menu-Collapse a.btn-active:hover {
    background-color: orangered !important;
    border-color: orangered !important;
}

.stepwizard-step p {
    margin-top: 0px;
    color:#666;
}
.stepwizard-row {
    display: table-row;
}
.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}
.stepwizard-step button[disabled] {
    /*opacity: 1 !important;
    filter: alpha(opacity=100) !important;*/
}
.stepwizard .btn.disabled, .stepwizard .btn[disabled], .stepwizard fieldset[disabled] .btn {
    opacity:1 !important;
    color:#bbb;
}

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none !important;
    outline: none !important;
}

.image{
    position: absolute;
}

.CP-Page-BlockLayout-Content{
    background-color: white;
    border: 1px solid black;
    box-shadow: 0 0 5px 1px darkgrey;
    padding: 10px;
    border-radius: 0 15px 15px 15px;
    font-size: 13px;
}

.CP-Page-BlockLayout-Title{
    background-color: lightskyblue;
    display: inline-block;
    border-top: 1px solid black;
    border-right: 1px solid black;
    border-left: 1px solid black;
    padding: 5px 10px 5px 10px;
    border-radius: 15px 15px 0 0;
    font-weight: bold;
    text-transform: uppercase;
    color: black;
    font-size: 15px;
}

.CP-Page-CharacterView-Interaction {
    height: 15px;
}

a.CP-Page-CharacterView-Actions-Button {
    width: 250px;
    height: 45px;
    text-align: center;
    padding-top: 10px;
    display: inline-block;
    font-size: 16px;
    text-decoration: none !important;
    color: white;
    background-image: linear-gradient( 135deg, #13a7e9 10%, #4265ac 100%);
    transition-duration: 0.5s;
    cursor: pointer;
    box-shadow: 0 4px 15px 0 rgba(65, 132, 234, 0.75);
    margin: 10px;
    border-radius: 25px;
}

.CP-Page-Actions-Buttons {
    text-align: center;
    display: inline-block;
    text-decoration: none !important;
    color: white;
    background-image: linear-gradient( 135deg, #13a7e9 10%, #4265ac 100%);
    transition-duration: 0.5s;
    cursor: pointer;
    box-shadow: 0 4px 15px 0 rgba(65, 132, 234, 0.75);
    border-radius: 25px;
    border: 1px;
}

.CP-Page-Actions-Buttons:hover {
    transform:scale(1.1,1.1);
    -webkit-transform:scale(1.1,1.1);
    -moz-transform:scale(1.1,1.1);
    background-image: linear-gradient( 135deg, #4265ac 10%, #13a7e9 100%);
    color: yellow;
    font-weight: bold;
}

.CP-Page-Actions-Buttons-Medium {
    font-size: 14px;
    padding: 7px 25px 12px 25px;
}

.CP-Page-Actions-Buttons-Small {
    font-size: 13px;
    padding: 3px 25px 5px 25px;
}

a.CP-Page-CharacterView-Actions-Button:hover{
    transform:scale(1.3,1.3);
    -webkit-transform:scale(1.3,1.3);
    -moz-transform:scale(1.3,1.3);
    background-image: linear-gradient( 135deg, #4265ac 10%, #13a7e9 100%);
    color: yellow;
    font-weight: bold;
}

a.CP-Page-Search-List-Item-Man span {
    font-weight: bold;
    color: #0c63e4;
    text-decoration: none;
}

a.CP-Page-Search-List-Item-Woman span {
    font-weight: bold;
    color: deeppink;
    text-decoration: none;
}

.CP-Page-CharacterHouse-Image{
    bottom: 13px !important;
    cursor: pointer;
}

/*** MAP ***/
polygon.t4 {
    stroke: #6a5b38;
}

polygon.t5 {
    stroke: #a48600;
}

polygon.t6 {
    stroke: #5d1a14;
}

polygon.t7 {
    stroke: #137826;
}

polygon.t8 {
    stroke: #AAAAAA;
}

polygon.t9 {
    stroke: #ba296a;
}

polygon.t50 {
    stroke: #000;
}

.CP-Page-CharacterHouse-Patrimony-BlockTitle {
    background-color: #5200ae;
    font-weight: bold;
    font-variant: small-caps;
    color: white;
    padding: 4px;
    vertical-align: middle;
}

img.CP-Page-CharacterHouse-Patrimony-ImgContent {
    border: 1px solid #5200ae;
}

.CP-Page-Badge-Flash {
    animation: flash 1s linear infinite ;
}

@keyframes flash {
    50% { opacity: 0; }
}

.CP-Base-LeftLayout-Button-Flash{
    background-color: red !important;
    border-color: red !important;
    animation: flash 1s linear infinite;
}
