/************/
/*** BASE ***/
/************/

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    -webkit-text-size-adjust: none;
    background: url('/img/bg.png'), linear-gradient(185deg, rgb(17, 17, 17), rgb(255, 118, 235)) fixed;
    font-family: Arial, sans-serif;
}

p{
    margin:0;
    padding:0;
}

*:focus {
    outline: none;
    -moz-outline-style: none;
}
a, a:hover, a:active, a:focus {
    outline: none;
    -moz-outline-style: none;
    text-decoration: none;
}

*{box-sizing: border-box;}


/*************/
/* STRUCTURE */
/*************/

#container{text-align: center;}

#content {
    padding-top: 1px;
    background: rgba(0,0,0,0.7);
    width:100%;
    max-width: 1000px;
    min-height: 800px;
    margin: auto;
    padding-bottom: 80px;
    text-align: center;
    font-family: Arial, sans-serif;
    box-shadow: 0px 0px 50px 0px #020202;
}

header{
    position:relative;
    background: #211222;
    color:white;
    font-size:30px;
    box-shadow: 0px 0px 50px 0px #020202;
    height:60px;
    line-height: 60px;
}

header a, header a:visited{
    color:white;
    transition: all 0.2s linear;
}

header a:hover{
    color: #cfb7d2;
}

#left-menu{
    position:absolute;
    left:10px;
    top:5px;
    font-size: 12px;
}

.left-menu-item{
    display: inline-block;
    margin-right: 12px;
}

#right-menu{
    position:absolute;
    right:10px;
    top:5px;
    font-size: 12px;
}

.gabriola{
    font-family: 'gabriola', Arial, sans-serif;
}
.fs30{font-size: 50px;}
.fs40{font-size: 50px;}
.fs50{font-size: 50px;}
.fs60{font-size: 60px;}
.fs70{font-size: 70px;}
.fs80{font-size: 80px;}

.upload-element{
    margin: 50px auto;
    max-width: 94%;
    max-height:600px;
}

.element-container{
    position: relative;
    margin: 35px auto;
    background: rgba(0,0,0,0.2);
    min-height: 10px;
    padding-bottom: 3px;
}

.element-container img{
    margin: 10px auto;
}

.element-date, .element-tag{
    text-align: right;
    color: #3a2240;
    font-style: italic;
    font-size: 12px;
    padding-right: 10px;
}

.element-keyword{
    text-align: right;
    display: inline-block;
    width: 100%;
}

.hashtag{
    margin-left: 5px;
}

.element-tag a, .element-tag a:visited{
    color: #633a6e;
    transition: all 0.2s linear;
}

.element-tag a:hover{
    color: #b46acb;
}

#media-container{
    padding: 30px 0;
}

#media-container img{
    max-width: 100%;
}

.instagram-post{
    display: flex;
    justify-content: center;
}

#upload-container{
    color:white;
    padding:40px;
    background: #35133e;
}

#upload-container h1{
    margin: 0 0 20px 0;
}

#upload-container input{
    display: block;
    margin: 30px auto;
}

#upload-container .preview{
    margin: 40px auto;
    max-width: 100%;
}

#upload-container .file-details{
    width:650px;
    margin: auto;
    text-align: left;
    font-size: 20px;
}

#uparrow{
    position:fixed;
    bottom:20px;
    right:20px;
    width:55px;
    height:55px;
    display: none;
    background-color: #360940;
    border-radius: 10px;
    text-align:center;
    -webkit-transition: background-color 0.2s linear;
    -moz-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    -o-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
}

#uparrow img{
    position:absolute;
    top:50%;
    left:0;
    right:0;
    margin:auto;
    transform:translateY(-50%);
}

#uparrow:hover{
    background-color: #64117a;
}

.error-title{
    margin: 30px auto;
    color:white;
    font-size:50px;
}

#error-container{
    color:white;
}

/**************/
/* PAGINATION */
/**************/

.paginate{
    display:flex;
    justify-content: center;
    justify-items: center;
}

.paginate-element{
    display: flex;
    justify-content: center;
    background-color: #904D86;
    width: 37px;
    height: 37px;
    border-radius: 8px;
    line-height: 37px;
    border:none;
    margin: 0 5px;
    color:white;
    font-size: 20px;
    transition: background-color 0.2s linear;
}

.paginate-element:hover{
    background-color: #b365a7;
}

.page_active, .page_active:hover{
    background-color: #cb83c0;
}

.back-arrow{
    background: #904D86 url('/img/icons/arrow-left.png') center center no-repeat;
}

.next-arrow{
    background: #904D86 url('/img/icons/arrow-right.png') center center no-repeat;
}

/***********/
/* CLASSES */
/***********/

.none{display:none;}
.input-container{position:relative;}
.icon{position:relative;top:5px;margin-right: 7px;}
.img64{width:64px;}
.img32{width:32px;}
.img24{width:24px;}
.img16{width:16px;}

.classic-block {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    max-width: 590px;
    padding:25px 0 40px 0;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    border-radius: 5px;
}
.classic-title{
    margin:0 auto 40px auto;
    font-size: 30px;
    line-height: 50px;
    height: 50px;
    text-align: center;
    background-color: #2d596b;
    color:white;
}

.block-left,.block-right{
    display:inline-block;
    text-align: left;
    vertical-align: top;
    margin:10px auto;
}

ul{margin: 0;}

/*********/
/* FONTS */
/*********/

@font-face {
    font-family: 'gabriola';
    src: url('/fonts/gabriola.eot?#iefix') format('embedded-opentype'),
    url('/fonts/gabriola.woff') format('woff'),
    url('/fonts/gabriola.ttf')  format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*********/
/* POPIN */
/*********/

.popin {
    position: relative;
    margin: auto;
    z-index:9999;
    box-shadow: 0 0 7px 0 #bfbfbf;
}

.popin ul {
    margin: auto;
    padding: 80px 0 50px 0;
    text-align: center;
}
.popin ul li {
    margin-bottom: 15px;
    font-size: 17px;
    color: black;
    list-style: none;
}

.popin.error {
    width:90%;
    max-width: 650px;
    background: #FFFFFF;
    border-radius: 5px;
}

.error .mfp-close{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: contain;
    background-image: url('/img/cross.png');
    opacity: 1;
}


/***********/
/* ERREURS */
/***********/

.error-bubble{
    position:absolute;
    left:25px;
    bottom:-5px;
    min-width:180px;
    padding:7px;
    color:#ffffff;
    border-radius:4px;
    background-color: #9B3937;
    z-index:2;
    opacity:0;
    font-size:12px;
}

.error-arrow{
    position:absolute;
    left:10px;
    top:-10px;
    z-index:2;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #9B3937;
}

/******/
/* MQ */
/******/

@media (max-width: 610px) {
    .classic-block{width:95%;margin:auto;}
}

@media (max-width: 750px) {
    header{height:100px;}
    #left-menu{top:50px;left:0;right:0;margin: auto;}
}