/* Organisation */
html,body {
    height: 100vh;
    width: 100vw;
    overflow-y: hidden;
    font-family: 'Work Sans' !important;
    margin: 0;
    
}

body a {
    color: #B9DBE3;
}

body a:hover {
    color: #B9DBE3;
}

/* Basic parts */
#app-view{
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    float: left;
}
#composition-viewer{
    width: 46%;
    height: 100%;
    background-color: #1F4C6D;
    float: left;
    position: relative;
}
#image-viewer{
    width: 54%;
    height: 100%;
    background-color: white;
    float: left;
}

/* Custom buttons */
.custom-button{
    height: 53px;
    background: #B9DBE3;
    box-shadow: 0px 5px 10px #4545451D;
    border: 2px solid #1F4C6D;
    border-radius: 90px;
    opacity: 1;
    text-align: left;
    font: normal normal bold 16px/16px Montserrat;
    letter-spacing: 0.3px;
    color: #1F4C6D;
    opacity: 1;
    cursor: pointer;
    padding: 0px 14px;
    margin-right: 6px;
}

.next-button-div{
    position: absolute;
    bottom: 0px;
    right: 13px;
    padding-right: 6px;
    padding-bottom: 20px;
}

.random-content{
    display: none;
}

/* Process elements */
#process-indicator{
    height: 6%;
    padding: 30px 0px 0px 100px;
}
.process-btn {
    height: 44px;
    display: inline-block;
    background: #1F4C6D;
    border: 2px solid #B9DBE3;
    border-radius: 90px;
    opacity: 1;
    text-align: left;
    font: normal normal bold 16px/22px Montserrat;
    letter-spacing: 0px;
    color: #B9DBE3;
    opacity: 1;
    padding: 0 14px;
    cursor: pointer;
}
.process-btn.active{
    background: #B9DBE3;
    color: #1F4C6D;
}
.horizontal{
    display: inline-block;
    position: relative;
    top: 5px;
    width: 50px;
    margin-left: -5px;
    margin-right: -5px;
    border: 1px solid #B9DBE3;
    opacity: 1;
}

/* File input */
.custom-file-input{
    width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.custom-file-input + label {
    background: #B9DBE3;
    border: 2px solid #1F4C6D;
    border-radius: 90px;
    opacity: 1;
    text-align: left;
    font: normal normal bold 22px/18px Montserrat;
    letter-spacing: 0.66px;
    color: #1F4C6D;
    opacity: 1;
    padding: 14px 20px;
    cursor: pointer;
}

.custom-file-input:focus + label,
.custom-file-input + label:hover {
    background-color: #cce1ff;
}

.custom-file-input + label.file-attention{
    background-color: #ff575c;
    color: #fcfcfc;
}

.custom-file-input:focus + label.file-attention,
.custom-file-input + label.file-attention:hover {
    background-color: #CF3A24;
}


.custom-file-input + label.file-selected{
    background-color: #a7ffb1;
}

.custom-file-input:focus + label.file-selected,
.custom-file-input + label.file-selected:hover {
    background-color: #26C281;
}

.file-input{
    float:center;
    height: 59px;
    margin-left: 24%;
    margin-top: 30px;
}

/* Content elements */
.content-tab{
    width: 100%;
    /* height: 87%; */
    transition: all 1s ease-out;
    display: none;
    padding-top: 35px;
}
.content-tab.active{
    display: block;
}

.content-tab h1{
    text-align: center;
    font: normal normal bold 48px/48px Quarto;
    letter-spacing: 0px;
    color: #FFFEFC;
    opacity: 1;
    margin: 0 0 20px 0;
}

.composition-content{
    padding: 0 30px;
}

.intro-content{
    margin-bottom: 0px;
    text-align: left;
    font: normal normal normal 28px/31px Montserrat;
    letter-spacing: 0px;
    color: #FFFEFC;
    opacity: 1;
}

/* Specifiques Image */
#generation-mode{
    margin-top: 15px;
}
#wrapper-switch{
    margin-top: 35px;
    margin-bottom: 50px;
    transform: rotate(90deg);
    width: 93px;
    position: relative;
    left: -26px;
}

#wrapper-switch>.switch {
	display: inline-block;
	position: relative;
	width: 93px;
	height: 44px;
	cursor: pointer;
	overflow: hidden;
}

#wrapper-switch>.switch input {
	position: absolute;
	top: -30px;
	left: -30px;
	width: 0;
	height: 0;
}

#wrapper-switch>.switch input + span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #B9DBE3;
    border-radius: 90px;
    transition: color 1000ms,background-color 1000ms;
}

#wrapper-switch>.switch input + span:before {
	content: "";
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 4px;
	width: 33px;
	height: 33px;
	background: #1F4C6D;
	border-radius: 50%;
	transform: translateY(-50%);
	transition: all .5s;
}
#wrapper-switch>.switch input:checked + span:before {
	left: 56px;
}
.option-label{
    text-align: left;
    font: normal normal 600 18px/17px Montserrat;
    letter-spacing: 0px;
    color: #B9DBE3;
    opacity: 1;
}

#number-gen {
    display: none;
}

#number-gen label{
    display: block;
    margin-bottom: 10px;
}
#number-random-gen{
    background: #B9DBE3;
    border: solid 1px #B9DBE3;
    border-radius: 90px;
    opacity: 1;  
    width: 60px;
    height: 46px;
    text-indent: 15px;
    font: normal normal 600 22px/17px Montserrat;
    letter-spacing: 0px;
    color: #1F4C6D;
    opacity: 1;
    outline: none;
}

/* Image viewer */
#image-div{
    height: 94%;
    width: 100%;
    background-color: #B9DBE3;
}
#preview-img{
    width: 100%;
    height: 100%;
    background-color: #B9DBE3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    display: none;
}
#preview-caption{
    width: 100%;
    height: 6%;
    background-color: #B9DBE3;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    padding: 15px 27px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 3px solid #1F4C6D;
}

#preview-caption-text{
    width: 75%;
    height: 100%;
    float: left;
    text-align: left;
    font: normal normal normal 22px Open Sans;
    letter-spacing: 0px;
    color: #1F4C6D;
}
#preview-caption-step{
    width: 25%;
    height: 100%;
    float: right;
    text-align: right;
    font: normal normal normal 20px Open Sans;
    letter-spacing: 0px;
    color: #1F4C6D;
}

/* image mosaic */
.img-mosaic{
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

/* .mosaic-element{
    width: 125px;
    height: 125px;
    width: 19%;
    height: auto;
    margin: 0px 11px 11px 0px;
} */


.mosaic-element.selected{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 10px solid #B9DBE3;
    /* outline: 10px solid #B9DBE3;
    outline-offset: -10px; */
}

.mosaic-element img{
    width: 100%;
    height: 100%;

}

#mosaic-effets .mosaic-element{
    width: 15%;
    height: auto;
    margin: 0px 12px 10px 0px;
}

#mosaic-bg .mosaic-element{
    width: 15%;
    margin: 0px 12px 10px 0px;
}

#bg-file-input{
    display: block;
    visibility: hidden;
    width: 0;
    height: 0;
}

#logo-position{
    margin-top: 100px;
    display: none;
}

.mosaic-element img{
    width: 100%;
    height: 100%;
}

#mosaic-logo .mosaic-element{
    width: 23%;
    height: auto;
    margin: 0px 12px 10px 0px;
}

.loading-overlay {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 185, 219, 227, .8 ) 
                url('../images/loading.gif') 
                50% 50% 
                no-repeat;
    background-size: 80px 80px;
}
body.loading .loading-overlay {
    overflow: hidden;   
    display: block;
}
.main-intro{
font: normal normal bold 30px/30px Quarto;
letter-spacing: 3px;
color: #1F4C6D;
text-align: center;
}

.portrait-overlay {
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 185, 219, 227, 1 );
}
body.portrait .portrait-overlay {
    overflow: hidden;   
    display: block;
}

#results-img-div{
    overflow-y: scroll;
    height: 545px;
    margin-top: 20px;
}

#effets-img-div,#bg-img-div{
    overflow-y: scroll;
    height: 554px;
    margin-top: 20px;
}

#results-img-div::-webkit-scrollbar,#effets-img-div::-webkit-scrollbar,#bg-img-div::-webkit-scrollbar{
    width: 2px;
}

#results-img-div::-webkit-scrollbar-thumb,#effets-img-div::-webkit-scrollbar-thumb,#bg-img-div::-webkit-scrollbar-thumb{
    background-color: #B9DBE3;
    border-radius: 12px;
}

#mosaic-results .mosaic-element{
    margin: 0px 10px 10px 0px;
    width: 18%;
    height: auto;
}

#mosaic-results{
    margin-top: 5px;
}

#results-tab{
    padding-top: 15px;    
}
.result-endtro{
    margin-bottom: 0px;
    text-align: left;
    font: normal normal normal 24px/27px Montserrat;
    letter-spacing: 0px;
    color: #FFFEFC;
    opacity: 1;
    padding: 21px 27px 10px 27px;
}

#star-logo{
    position: absolute;
    height: 46px;
    width: 42px;
    left: 24px;
    top: 30px;
}

.help-tip{
    width: 46px;
    height: 46px;
    position: relative;
    left:10px;
    top: 15px;
}

.nftooltip {
    margin-top: 30px;
    padding: 16px 25px;
}
.nftooltip.tooltipster-sidetip>.tooltipster-box{
    background-color: #FEFFFF;
    border: 2px solid #1F4C6D;
    border-radius: 26px;
}
/* Use this next selector to style things like font-size and line-height: */
.nftooltip>.tooltipster-box>.tooltipster-content {
    text-align: left;
    font: normal normal normal 24px/33px Montserrat;
    letter-spacing: 0px;
    color: #1F4C6D;
    opacity: 1;
    
}

.nftooltip.tooltipster-sidetip.tooltipster-base{
    height:auto !important;
}

/* MQ Medium screen */
@media (min-width: 1025px) and (max-width: 1800px) { 
    .horizontal{
        width: 25px;
    }
    .process-btn {
        height: 44px;
        font: normal normal bold 12px/22px Montserrat;
        padding: 0 12px;
    }
    .custom-button{
        padding: 0px 14px;
        height: 44px;
        font: normal normal bold 12px/22px Montserrat;
    }
    #generation-mode {
        margin-top: 7px;
    }
    .nftooltip>.tooltipster-box>.tooltipster-content {
        font: normal normal normal 20px/24px Montserrat;
    }
    .intro-content{
        font: normal normal normal 20px/22px Montserrat;
    }
    .file-input{
        height: 40px;
    }
    #wrapper-switch{
        margin-top: 35px;
        margin-bottom: 40px;
    }
    #preview-caption{
        padding: 8px 27px;
    }
    #preview-caption-text{
        font: normal normal normal 20px Open Sans;
    }
    #mosaic-logo .mosaic-element{
        margin: 0px 11px 10px 0px;
    }
    #logo-position{
        margin-top: 65px;
    }


    #bg-img-div{
        height: 380px;
    }
    #mosaic-bg .mosaic-element{
        width: 18%;
        height: auto;
        margin: 0px 11px 11px 0px;
    }
    #effets-img-div{
        height: 410px;
    }
    #mosaic-effets .mosaic-element{
        width: 14.5%;
        height: auto;
        margin: 0px 11px 11px 0px;
    }
    #results-img-div{
        height: 335px;
    }
    #mosaic-results .mosaic-element{
        width: 14.5%;
        height: auto;
        margin: 0px 11px 11px 0px;
    }
    .result-endtro{
        font: normal normal normal 20px/23px Montserrat;
        padding: 21px 27px 10px 27px;
    }
} 

#switch-mode-info{
    font-size: 16px;
}

/* MQ Small screen */
/* @media (min-width: 916px) and (max-width: 1025px) { 
    .horizontal{
        width: 12px;
    }
    .process-btn {
        height: 35px;
        font: normal normal bold 10px/22px Montserrat;
        padding: 0 8px;
    }
    #process-indicator{
        padding: 30px 0px 0px 75px;
    }
} */

/* MQ Medium devices */
/* @media (min-width: 661px) and (max-width: 915px) { 
    .horizontal{
        width: 12px;
    }
    .process-btn {
        height: 35px;
        font: normal normal bold 9px/22px Montserrat;
        padding: 0 6px;
    }
    #process-indicator{
        padding: 30px 0px 0px 75px;
    }
} */

/* MQ Small devices  */
/* @media (max-width: 660px){ 

} */





