﻿/*
 * Site Tableau Embedded
 * Company: MYDRAL
 * Author:  Olivier CEROU
 * Date:    26 March 2020
 */


/************************************************/
/* LAYOUT                                       */
/************************************************/

.render-body {
    padding-top: 80px;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

div.nav-dropdown-menu {
    margin-top: 13px;
    white-space: nowrap;
    padding-right: 5px;
}

.nav-item {
    margin-right: 10px;
}

.nav-action {
    color: black;
}

.nav-action:hover {
    color: white;
    background: orange;
}

.card-body img {
    background-color: #1b6ec2;
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.text-card-title {
    color: #1b6ec2;
}

.titre-container {
    display: block;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 10px;
}

.titre-page {
    float: left;
    font-size: x-large;
}

.titre-boutons {
    float: right;
}

.hidden {
    display: none;
}

.btn-std {
    width: 100px;
}

.btn-small {
    width: 80px;
}

.bottom-1 {
    margin-bottom: 16px;
}

.bottom-2 {
    margin-bottom: 32px;
}

/************************************************/
/* ELEMENTS POUR LISTES ET FICHES               */
/************************************************/

.filtre-container {
    background: #e8ecef;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.field-label {
    padding-top: 8px;
    text-align: right;
    font-style: italic;
}

.field-label-center {
    padding-top: 8px;
    text-align: center;
    font-style: italic;
}

.field-value {
    padding-top: 8px;
    padding-bottom: 4px;
    text-align: left;
    font-weight: bold;
}

.field-label-subpart {
    margin-top: 20px;
    padding-top: 5px;
    font-size: 20px;
    font-style: italic;
    text-align: center;
}

.field-button {
    text-align: center;
}

.field-audit {
    font-size: 10px;
    font-style: italic;
    text-align: left;
    padding-left: 10px;
}

.field-id {
    font-size: 10px;
    font-style: italic;
    text-align: right;
    padding-right: 10px;
}

.row-form {
    margin-top: 2px;
    margin-bottom : 2px;
}

.row-form-button {
    margin-top: 40px;
    margin-bottom: 2px;
}

/************************************************/
/* ELEMENTS PAGES DE CONTENU                    */
/************************************************/

/* HEADER */
.embedded-header {
    background-image: url("../public/EMBEDDED-Header.png");
    background-position: center;
    background-size: cover;
    height: 400px;
    color: white;
    text-align: left;
    padding-left: 5vw;
}

.embedded-header-title {
    padding-top: 100px;
    font-size: 32pt;
    text-align: left;
}

.embedded-header-subtitle {
    padding-top: 20px;
    width: 80vw;
    max-width: 450px;
    font-size: 12pt;
    text-align: left;
}

.embedded-header-subtitle a:link {
    color: white;
    text-decoration: underline;
}

.embedded-header-subtitle a:visited {
    color: white;
    text-decoration: underline;
}

.embedded-header-subtitle a:hover {
    color: darkorange;
    text-decoration: underline;
}

.embedded-header-subtitle a:active {
    color: darkorange;
    text-decoration: underline;
}

/* CONTENT */
.embedded-content {
    padding-left: 30px;
    padding-right: 30px;
    font-size: 12pt;
    text-align: justify;
}

.embedded-content-title {
    font-size: 24pt;
}

.embedded-content-subtitle {
    font-size: 16pt;
    font-weight: bold;
    text-align: center;
}

.embedded-list-title {
    margin-left: 40px;
    display: list-item;
    list-style: disc;
    font-weight: bold;
}

hr.embedded-hr {
    border-top: 1px solid #29abe2;
}

/* FOOTER */
.embedded-footer {
    background-image: url("../public/EMBEDDED-Footer.png");
    background-position: center;
    background-size: cover;
    height: 800px;
    color: white;
    text-align: left;
    padding-top: 20px;
    padding-left: 50px;
    padding-right: 50px;
}

.embedded-footer-content {
    text-align: center;
    vertical-align: top;
}

/************************************************/
/* CARTES ROTATIVES                             */
/************************************************/

.image-flip:hover .backside,
.image-flip.hover .backside {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    border-radius: .25rem;
}

.image-flip:hover .frontside,
.image-flip.hover .frontside {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.mainflip {
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -ms-transition: 1s;
    -moz-transition: 1s;
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
    position: relative;
}

.frontside {
    position: relative;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    z-index: 2;
    margin-bottom: 30px;
}

.backside {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    -moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
}

.frontside,
.backside {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transition: 1s;
    -moz-transform-style: preserve-3d;
    -o-transition: 1s;
    -o-transform-style: preserve-3d;
    -ms-transition: 1s;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
}

.frontside .card,
.backside .card {
    min-height: 365px;
}

.backside .card a {
    font-size: 18px;
}

.frontside .card .card-body img {
    background-color: #1b6ec2;
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.text-card-title {
    color: #1b6ec2;
}

/************************************************/
/* ELEMENTS GENERIQUES .NET                     */
/************************************************/

a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.container {
    font: sans-serif, Muli, Helvetica, Arial;
}


@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }
    .small-container {
        max-width: 1200px;
    }
}

@media (min-width: 1800px) {
    .container {
        max-width: 1200px;
    }

    .container-full-width {
        max-width: none;
    }
}

