/* GENERAL */

    /* vert: #2dec49; vert-foncé: #0fa325; */

body {
    font-family: "Ubuntu", sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: bold;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 45px 0 80px 0;
}

section .heading {
    text-align: center;
    padding-bottom: 40px;
}

section .heading h2 {
    text-transform: uppercase;
}

.green-divider {
    width: 100px;
    height: 2px;
    background: #0fa325;
    margin: 0 auto;
}

.white-divider {
    width: 100px;
    height: 2px;
    background: #fff;
    margin: 0 auto;
}

p {
    margin: 0;
}

ul, ol{
    list-style: none;
}


/* MENU */

.navbar {
    background: #000;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar .navbar-nav {
    display: inline-block;
    float:none;
    vertical-align: top;
}

.navbar .navbar-collapse {
    text-align: center;
}

.navbar li a {
    color: #fff !important;
}

.navbar-nav li a:hover, .navbar-nav li.active a {
    color: #0fa325 !important;
    background-color: #fff !important;
}

.navbar-default .navbar-toggle {
    border-style: none;
}

.icon-bar {
    background-color: #fff !important;
}


/* HOME */

#home {
    padding-top: 100px;
    background: #0fa325;
}

.main-image {
    text-align: center;
    margin: 0 auto;
    float: none;
}

#home .heading h1 {
    color: #fff;
    text-transform: uppercase;
    padding-top: 20px;
}

#home .heading h3 {
    color: #000;
}


/* UTILITE */

#utility {
    background-color: #fff;
}

#utility .heading {
    padding-bottom: 30px;
}

#utility .heading h2{
    color: #0fa325;
    text-transform: uppercase;
}

#utility p {
    font-size: 17px;
}

.glyphicon-story {
    text-align: center;
    margin-top: 20px;
}

.glyphicon-story .glyphicon {
    font-size: 30px;
    text-align: center;
}

.glyphicon-story .glyphicon-lock {
    font-size: 20px;
}

.glyphicon-story .glyphicon-user, .glyphicon-story .glyphicon-globe {
    font-size: 38px;
}

.glyphicon-story-part2 , .glyphicon-story-part4 {
    padding: 0 10px;
}


/* FONCTIONNEMENT */

#fonctionnement {
    background-color: #0fa325;
}

#fonctionnement h2 {
    color: #fff;
}

.fonctionnement-block, .fonctionnement-block-central {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: #ddd;
    border-radius: 10px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
}

.fonctionnement-block-central {
    margin-top: 15px;
}

.fonctionnement-block .glyphicon, .fonctionnement-block-central .glyphicon {
    font-size: 40px;
    padding-bottom: 10px;
}

.fonctionnement-block h4, .fonctionnement-block-central h4 {
    color: #0fa325;
    font-size: 22px;
    padding-bottom: 10px;
}

.fonctionnement-block p, .fonctionnement-block-central p{
    font-size: 15px;
    text-align: left;
}

#fonctionnement .col-sm-6 {
    text-align: center;
}

.block-rsa {
    margin-bottom: 10px;
}

.rsa {
    text-align: center;
}

.fonctionnement-block-central {
    margin-top: 40px;
}

.button-lien-cryptage, .button-lien-principeRSA {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    border: 3px solid #fff;
    display: inline-block;
    margin-top: 20px;
    padding: 18px 50px;
    border-radius: 3px;
    transition: all 0.3s ease-in 0s;
}

.button-lien-cryptage:visited, .button-lien-principeRSA:visited {
    transition: all 0.3s ease-in 0s;
    color: #fff;
    text-decoration: underline #0fa325;
}

.button-lien-cryptage:hover, .button-lien-principeRSA:hover {
    background: #fff;
    color: #0fa325;
    text-decoration: underline #fff;
    transition: all 0.3s ease-in 0s;
}

.button-lien-principeRSA {
    margin: 0 auto;
}


/* SECURITY */

#security {
    background-color: #fff;
}

#security h2 {
    color: #0fa325;
}

.info-block {
    width: 60%;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    background: #ddd;
    border-radius: 10px;
    border: 2px solid #ccc;
}

.info-block .glyphicon {
    font-size: 40px;
    padding-bottom: 10px;
}

.info-block h4 {
    color: #0fa325;
    font-size: 22px;
    padding-bottom: 10px;
}

.info-block p {
    font-size: 15px;
    text-align: left;
}

#security .progress {
    height: 40px;
    margin: 0 20px 30px 20px;
    background: #ccc;
}

#security .progress-bar {
    background: #0fa325;
    text-align: center;
}

#security h5 {
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    font-size: 12px;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 3px;
    left: -10px;
}


/* CRYPTEA-LAB */

#cryptea-lab {
    background-color: #0fa325;
}

#cryptea-lab .heading {
    color: #fff;
}

.crypt-block-heading {
    background-color: #ccc;
    border-radius: 10px;
    border: 2px solid #bbb;
    margin-bottom: 30px;
}

.crypt-block {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    background: #ddd;
    border-radius: 10px;
    border: 2px solid #ccc;
    margin-bottom: 40px;
}

.crypt-block .glyph-title {
    font-size: 40px;
    padding: 10px 0;
}

.crypt-block h4 {
    color: #0fa325;
    font-size: 22px;
    padding-bottom: 10px;
}

.crypt-block-align-left {
    text-align: left;
    margin-bottom: 20px;
}

.texte-input {
    min-width: 150px;
    width: 80%;
    max-width: 350px;
    height: 110px;
    resize: none;
}

.texte-output {
    min-width: 160px;
    width: 50%;
    max-width: 450px;
    height: 120px;
    resize: none;
}

.radio-text {
    font-family: "Ubuntu";
    font-size: 15px;
}

.result .glyphicon, .plus .glyphicon {
    margin: 20px 0;
    font-size: 30px;
}

.btn-group, .btn-group-double {
    margin-top: 20px;
}

.btn-group-quadruple {
    margin-top: 0px;
}

#input-hill-a, #input-hill-b, #input-hill-c, #input-hill-d {
    width: 100px;
    height: 33px;
    margin: 0px;
}

#input-hill-a, #input-hill-c {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

#input-hill-b {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

#input-hill-d {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

#input-hill-a {
    border-bottom-color: #000;
    border-right-color: #000;
}

#input-hill-b {
    border-left-color: #000;
    border-bottom-color: #000;
}

#input-hill-c {
    border-right-color: #000;
}

#input-hill-d {
    border-left-color: #000;
}

.seconde-group-hill {
    position: relative;
    left: -3.5px;
}

.first-group-hill-incorrect, .first-group-hill-incorrect:hover, .first-group-hill-incorrect:focus {
    outline: none;
    border-top: 2px solid red;
    border-left: 2px solid red;
    border-bottom: 2px solid red;
}

.seconde-group-hill-incorrect, .seconde-group-hill-incorrect:hover, .seconde-group-hill-incorrect:focus {
    outline: none;
    border-top: 2px solid red;
    border-right: 2px solid red;
    border-bottom: 2px solid red;
}

.btn-group-affine-a {
    margin: 0;
}

.avant-input-btn-group .glyphicon {
    font-size: 15px;
    padding: auto 0;
}

.avant-input-btn-group-double {
    height: 67px;
}

.input-btn-group, .input-btn-group-double {
    width: 126px;
    height: 33.5px;
}

.input-btn-group-double {
    position: relative;
    float: left;
}

#input-clef {
    min-height: 67px;
    height: 67px;
    max-height: 68px;
    min-width: 126px;
    width: 126px;
    max-width: 126px;
    resize: none;
}

.button-valider {
    margin-top: 20px;
}

.button-valider .glyphicon {
    padding-right: 8px;
}

.incorrect, .incorrect:hover, .incorrect:focus {
    outline: none;
    border: 2px solid red;
}


/* REMERCIEMENTS */

#remerciements {
    background-color: #fff;
    height: 385px;
}

#remerciements h2 {
    color: #0fa325;
}

.carousel-control.left, .carousel-control.right {
    background-image: none;
    color: #0fa325;
}

.carousel-indicators {
    bottom: 0px;
}

.carousel-indicators li {
    border-color: #d82c2e;
}

.carousel-indicators li.active {
    background-color: #0fa325;
}

#carousel-remerciements .item {
    padding: 40px 30px;
}

#carousel-remerciements .item h6 {
    color: #0fa325;
    font-style: italic;
}

h6 {
    font-size: 25px;
    text-decoration: underline;
}

#carousel-remerciements p {
    font-size: 20px;
}

.souligner {
    text-decoration: underline;
}


/* CONCOURS */
#concours {
    background-color: #0fa325;
}

#concours h2 {
    color: #fff;
}

#concours p {
    font-size: 17px;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}


/* FOOTER */

footer {
    background: #ccc;
    padding: 20px 0 40px;
}

footer .glyphicon {
    font-size: 25px;
    margin:20px;
    color: #0fa325;
    height: 30px;
}

footer .glyphicon:hover {
    font-size: 27px;
}

footer h5 {
    color: #000;
    font-weight: normal;
}