/**
 * Sommaire
 *
 * 1. Styles de base
 * 2. Module Exemple
 * 3. Map
 * 4. Icones et interface utilisateur
 * 5. style view summarize
 *
 */

/**
 * 0. Fonts
 */
@import url('https://use.fontawesome.com/releases/v5.7.1/css/all.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,700;1,400&display=swap');

@font-face {
    font-family: 'Moche';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../webfonts/Moche-Regular.eot) format('eot'), url(../webfonts/Moche-Regular.woff) format('woff'), url(../webfonts/Moche-Regular.woff2) format('woff2');
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

h1 {
    font-family: 'Moche' !important;
}

/**
 * 1. Styles de base
 */

body {
    background: #fff;
    padding-bottom: 0;
}

.no-margin {
    margin: 0 !important;
}

.login-blocks .btn.jforms-submit,
input.b-button,
a.b-button {
    display: inline-block;
    color: #fff;
    background: #007674;
    text-align: center;
    line-height: 40px;
    padding: 0px 20px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    position: relative;
    border-radius: 24px;
    margin-top: 24px;
    border: 0 none;
}

input.b-button i,
a.b-button i {
    padding: 0 0 0 10px;
}

a.b-button:hover, a.b-button:active, a.b-button:focus, a.b-button:visited {
    text-decoration: none;
}

body #header {
    background-color: #fff;
    background-image: none;
    color: #333;
    margin: 0 auto;
}

#headermenu {
    position: relative;
    top: 0;
}

.navbar .nav.pull-right {
    margin-top: 20px;
}

.navbar .nav > li > a {
    height: 40px;
    color: #004241;
    background-color: transparent;
    line-height: 36px;
    padding: 0;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    margin-left: 20px;
    position: relative;
}
.navbar .nav .active > a, .navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
    background-color: transparent;
}

.navbar .nav > li.login > a {
    width: 157px;
    color: #fff;
    background-color: #007674;
    text-align: center;
    border-radius: 24px;
}

.navbar .nav > li.login > a i {
    font-size: 20px;
    margin: 0 0 0 4px;
    padding: 0 0 2px 0;
}

.navbar .nav > li.selected > a:after {
    content: ' ';
    display: block;
    position: absolute;
    height: 4px;
    background-color: #007674;
    width: 60%;
    left: 20%;
    bottom: 0;
    border-radius: 2px;
}

#header.projets .navbar .nav > li.projets > a:after,
#header.default .navbar .nav > li.default > a:after {
    content: ' ';
    display: block;
    position: absolute;
    height: 4px;
    background-color: #007674;
    width: 60%;
    left: 20%;
    bottom: 0;
    border-radius: 2px;
}

.landing-img {
    position: relative;
}

.landing-img > img {
    border-radius: 16px;
}

.box {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
}

#landingPageContent h1 {
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 53px;
    color: #007674;
    margin: 20px 0 0;
}

#landingPageContent .box h1 {
    color: #004241;
}

.content-wrapper {
    padding: 200px 80px 0;
}

.content-wrapper.full-width {
    padding: 200px 0 0;
}

.box p {
    font-family: 'Moche';
    font-style: normal;
    font-weight: 400;
    font-size: 21px;
    margin: 0 0 0;
}

.landing-img .box {
    position: absolute;
    top: 210px;
    left: 40px;
    width: 600px;
    height: 300px;
}

.b-row {
    clear: both;
    overflow: hidden;

}

.half {
    display: block;
    float: left;
    width: 580px;
    margin-right: 36px;
}

.half.last {
    margin-right: 0;
}


.third {
    display: block;
    float: left;
    width: 426px;
    margin-right: 40px;
}

.third.last {
    margin-right: 0;
}

.description h4 {
    font-family: 'Moche';
    font-style: normal;
    font-weight: 400;
    font-size: 21px;
    line-height:26px;
    color: #007674;
}

.description p {
    font-size: 16px;
    color: #002323;
    line-height: 24px;
}

.description ul {
    margin-bottom: 40px;
}

.description li {
    font-size: 16px;
    color: #002323;
    line-height: 32px;
}

.half.last.description.margin-top {
    margin-top: 65px;
}

.green-bloc {
    background: #004241;
    border-radius: 16px;
    padding: 40px;
    width: 500px;
}
.description.green-bloc p {
    color: #fff;
    clear: both;
    margin-left: 90px;
    margin-top: 15px;
}

.description.green-bloc p span {
    font-family: 'Moche';
    color: #007674;
    background-color: #fff;
    border-radius: 40px;
    text-align: center;
    font-size: 48px;
    width: 80px;
    float: left;
    line-height: 80px;
    margin-left: -90px;
    margin-top: -15px;
    margin-bottom: 40px;
}

.description.green-bloc p span.last {
    margin-bottom: 0;
}

.b-button.tester {
    margin-top: 0;
}

.home-box {
    display: block;
    width: 252px;
    color: #004241;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.first .home-box {
    float: right;
}

.home-box p {
    margin: 19px 0 0 0;
    font-size: 16px;
    line-height: 24px;
}

.home-box.green {
    background-color: #F0FAD5;
}

.home-box.orange {
    background-color: #FFF9F4;
}

.avis .home-box {
    width: 378px;

}


.avis h1 {
    margin-bottom: 40px !important;

}

.avis .home-box p {
    margin: 0;

}

.avis .home-box p.comment {
    color: #002323;
    font-size: 24px;
    line-height: 31px;
}

.avis .home-box p.name {
    font-family: 'Moche';
    color: #007674;
    font-size: 21px;
    line-height: 26px;
    margin: 16px 0 0;
}

.avis .home-box small {
    font-size: 14px;
    line-height: 18px;
    font-style: italic;
    margin: 8px 0 0;
}

.avis .home-box p.poste {
}

.avis .b-button {
    clear: both;
    display: block;
    width: 160px;
    margin: 0 auto;
}


#title {
    display: none;
}

#logo {
    width: 212px;
    background: url('img/logo-biocoast.png') no-repeat;
}

.alert-map {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#auth {
    border: none;
}

#header #search {
    display: none;
}

#search {
    float: right;
    margin: 20px 250px 0 0;
    position: relative;
    top: 0;
    display: inline-block;
}

#search input {
    border-radius: 20px;
    border-color: #333;
}

#landingPageContent > p {
    margin: 30px 0 20px;
}

#landingPageContent > h2 {
    margin: 40px 10px 30px;
}

#landingPageContent > img {
    display: block;
    margin: 0 auto;
}

img.project-bg {
    position: absolute;
    z-index: -1;
    width: 100%;
}

.liz-repository-title {
    padding: 30px 25px 10px;
}

ul.liz-repository-project-list {
    margin: 40px 20px 0;
    float: left;
    display: block;
}

.projets .entete h1,
.projets .entete p {
    text-align: center;
}

.projets .entete h1 {
    text-align: center;
    margin-bottom: 40px !important;
}

.content-wrapper.projets {
    padding: 50px 80px 0;
}

.liz-project {
    width: 360px;
    height: 200px;
    background: #002323;
    border-radius: 4px 4px 0px 0px;
}

.liz-repository-project-item .thumbnail {
    padding: 0;
    border: 0 none;
    box-shadow: none;
    background: #FFF9F4;
    position: relative;
}

.thumbnail h5 {
    text-align: left;
    font-family: 'Moche';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 35px;
    color: #007674;
    margin: 32px 24px 24px;
}
.thumbnail p {
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    margin: 0 24px 24px;
    color: #002323;
}

.thumbnail p.sub {
    text-align: left;
    font-size: 12px;
    line-height: 15px;
    margin: 0 24px;
    color: #004241;
    text-transform: uppercase;
    font-weight: 700;
}

.bbox {
    width: min-intrinsic;
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
    display: table-caption;
    display: -ms-grid;
    -ms-grid-columns: min-content;
}

.thumbnail p.srv-wms-cap a {
    color: #007674;
}

a.liz-project-delete {
    color: #007674;
    font-size: 16px;
    line-height: 20px;
    text-decoration: underline;
    position: absolute;
    right: 24px;
    bottom: 35px;
}

.liz-project-show-desc {
    color: #000;
    margin: 10px 0;
    text-decoration: underline;
    display: block;
}

.thumbnail a.b-button {
    margin-top: 0;
    margin-bottom: 24px;
}

footer {
    position: relative;
    overflow: hidden;
    background-color: #004241;
    color: #F0FAD5;
    margin-top: 80px;
    padding: 40px 0 40px;
}

footer .span12 {
    margin-right: auto;
    margin-left: auto;
    float: none;
}

footer .span4 {
    margin-left: 13px;
}

footer .span4 ul {
    list-style-type: none;
    text-align: center;
    margin: 0;
}

footer .span4 ul li {
    margin-bottom: 5px;
}

footer .span4 a {
    color: #fff;
}

footer h4 {
    font-family: 'Moche';
    font-style: normal;
    font-weight: 400;
    font-size: 21px;
    font-weight: 26px;
    text-align: center;
}

.logo-footer {
    text-align: center;
}

footer .span4.socials ul {
    margin: 0;
}

.socials img {
    margin: 0 auto;
    display: block;
}

p.copyright {
    text-align: center;
    color: #004241;
    font-size: 14px;
    line-height: 40px;
    text-decoration-line: underline;
    margin: 0;
}

#attribution-box,
.filepond--credits {
    display: none;
}


/**
 * Desktop only
 */
@media (min-width: 1200px) {
    #header, .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
        width: 1360px;
    }
}


@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (   min--moz-device-pixel-ratio: 2), only screen and (     -o-min-device-pixel-ratio: 2/1), only screen and (        min-device-pixel-ratio: 2), only screen and (                min-resolution: 192dpi), only screen and (                min-resolution: 2dppx), only screen and (                   max-height: 640px) , only screen and (                   max-device-height: 640px) {
    #header {
        height: 80px;
    }

    #logo {
        height: 80px;
    }


    #headermenu {
        height: 80px;
        position: relative;
        padding: 0;
    }

    .navbar-inner {
        min-height: 80px;
    }
}


.nav-list-bottom .nav-list {
    padding-right: 0;
    padding-left: 0;
}

.nav-list-bottom li a {
    font-size: 12px;
}


.jforms-chkbox {
    display: block;
    clear: both;
}

.jforms-chkbox input,
.jforms-chkbox label {
    float: left;
    margin-right: 10px;
}

.jforms-ctrl-menulist {
    display: block;
}

.jforms-help {
    top: -26px;
    left: -5px;
    position: absolute;
}

label.jforms-label {
    display: initial;
}

.form-label {
    clear: both;
    margin: 10px 0 5px;
    padding-left: 18px;
}

.form-control {
    position: relative;
}

#lizmap-modal img {
    margin-top: 70px;
}


table.dataTable tbody td.api-state {
    padding: 0;
}

.circleBase h2 {
    font-size: 16px;
    line-height: 28px;
}

/**
 * 4. Icones et interface utilisateur
 */
.modal-close {
    position: absolute;
    cursor: pointer;
    right: 10px;
    top: 8px;
}
.modal-close a.b-button {
    top: 3px;
    background-image: none;
    font-size: 12px;
    line-height: 12px;
    text-transform: uppercase;
    font-weight: 400;
    height: auto;
    width: auto;
    margin: 0;
    padding: 6px 12px 6px 3px;
    color: #002323;
    background-color: #FFF9F4;
}
.modal-close a.b-button i {
    padding: 0 10px;
}

.ui-widget-overlay.ui-fileupload {
    opacity: 0.8;
    background: black;
    z-index: 1499;
}

.ui-fileupload-wait {
    position: fixed;
    height: auto;
    width: 300px;
    top: 225px;
    left: 809px;
    background: #F6F6F6;
    padding: 0;
    z-index: 1500 !important;
}

.ui-fileupload-wait .ui-dialog-titlebar {
    background: #2B2B2B;
    color: #FBFBFB;
}

.ui-fileupload-content {
    width: auto;
    min-height: 128px;
    max-height: none;
    height: auto;
    text-align: center;
}

.ui-fileupload-content .lds-ellipsis {
    margin-top: 10px;
    margin-bottom: 10px;
}

.ui-fileupload-content .lds-ellipsis div {
    background: #2B2B2B;
}

body .modal {
    width: 760px;
}

#popup-csv-results_wrapper {
    margin-top: 60px;
}

/** Loader */
.lds-ellipsis {
    display: block;
    position: relative;
    margin: 0 auto;
}

.lds-ellipsis div {
    position: absolute;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #002323;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 3px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 3px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 12px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 21px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(9px, 0);
    }
}


.circleBase {
    border-radius: 50%;
    margin: 0 auto;
}

.circle4 {
    width: 15px;
    height: 15px;
    background: #4bc475;
    border: 1px solid #fff;
}

.circle3 {
    width: 15px;
    height: 15px;
    background: #ffff66;
    border: 1px solid #fff;
}

.circle2 {
    width: 15px;
    height: 15px;
    background: #ffa500;
    border: 1px solid #fff;
}

.circle1 {
    width: 15px;
    height: 15px;
    background: #ff0000;
    border: 1px solid #fff;
}

.circleBase:hover {
    border: 1px solid #002323;
}

/* Tooltip text */
.tooltiptext {
    visibility: hidden;
    min-width: 300px;
    padding: 0;
    margin-left: 25px;
    transform: translate(0, -50%);
    color: #444444;
    font-weight: normal;
    font-size: 13px;
    box-sizing: border-box;
    transition: opacity 0.8s;
    opacity: 0;
    position: absolute;
    z-index: 1;
    background: #FFFFFF;
    box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.tooltiptext h1 {
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    color: #002323;
    margin: 0;
    background: #EFD5C0;
    padding: 16px;
    border-radius: 8px 8px 0 0;
}

.tooltiptext h4 {
    margin: 16px 0 0;
    color: #004241;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    padding: 0 16px;
}

.tooltiptext p {
    padding: 0 16px;
    color: #002323;
    font-size: 16px;
    line-height: 24px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.circleBase:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.circleBase .tooltiptext::after {
    content: ' ';
    position: absolute;
    top: 50%;
    right: 100%; /* To the left of the tooltip */
    margin-top: 2px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

.jforms-help {
    background: url(./img/icons/question.png) no-repeat;
}

span.jforms-required-star {
    color: #A67056;
}

.login-blocks fieldset {
    border: 0 none;
    background: #FFF9F4;
    border-radius: 8px;
    padding: 24px;
}

.login-blocks {
    max-width: 560px !important;
    margin: auto;
}

.login-blocks h1 {
    color: #007674;
    font-size: 32px;
}

.login-blocks .text {
    color: #002323;
    font-size: 16px;
    line-height: 24px;
}

.login-blocks .form-horizontal .control-label,
.login-blocks .form-horizontal .controls {
    float: none;
    display: block;
    text-align: left;
    width: auto;
    margin-left: 0;
}
.login-blocks .form-horizontal .controls.remember_me {
    margin-left: 22px;
}

.login-blocks .btn.jforms-submit,
.login-blocks .b-button {
    margin-top: 0;
}

.login-blocks .validate.b-button {
    float: right;
}

.login-blocks .crud-links-list .b-button {
    margin-bottom: 20px;
}

.login-blocks .crud-links-list .del-btn {
    color: #007674;
    font-size: 16px;
    line-height: 20px;
    text-decoration-line: underline;
}

.login-blocks .loginbox-links {
    padding-top: 32px;
    clear: both;
    font-size: 16px;
    color: #007674;
    text-decoration-line: underline;
}


.login-blocks .form-horizontal .form-actions {
    background: transparent;
    border: 0 none;
    padding: 0;
    margin: 0;
    float: right;
}

#auth .home {
    display: none;
}
