/********** HEADER ***********/
@media (max-width: 767px) {
    .logo-jtp {
        height: 30px;
    }
}

.navbar-collapse {
    max-height: 485px;
}

.navbar-fixed-top {
    border-width: 0;
}

@media (max-width: 991px) {
    #header {
        height: 400px;
        padding-top: 115px;
    }

    #header h1 {
        font-size: 30px;
    }

    .bxslider li {
        height: 220px;
    }

    #page-title {
        padding-top: 115px;
    }

    #content {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    #page-title {
        padding-top: 70px;
    }

    #content {
        padding: 5px 0 0 0;
    }

    .navbar-header {
        border-bottom: 5px solid #1b6f7c;
    }

    .navbar .nav {
        margin: 0px 0px 10px 0px;
    }
}

/********** CATEGORIES **********/
#categories {
    background-color: #1b6f7c;
}

#categories ul {
    /*padding-top: 10px;
    padding-bottom: 10px;*/
    text-align: center;
    color: #fff;
}

#categories ul li {
    display: inline;
    list-style: none;
}

#categories ul li :hover {
    background: #3698a9 repeat scroll 0 0 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: all 0.35s ease-in-out !important;
    -moz-transition: all 0.35s ease-in-out !important;
    -webkit-transition: all 0.35s ease-in-out !important;
}

#categories ul li a {
    font-weight: normal;
    padding: 0px 15px;
}

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

/********** QUESTION **********/
#question, .question {
    position: relative;
    font-size: 18px;
    display: block;
}

.reponse {
    height: 170px;
    background-color: #1b6f7c;
    text-align: center;
    padding: 0px;
    color: #ffffff;
    position: relative;
}

.reponse:hover {
    background-color: #36ABC4;
}

.reponse.success,
.reponse.success:hover,
.reponse.success:focus {
    background-color: #27ae60;
    color: #ffffff;
}

.reponse.error,
.reponse.error:hover,
.reponse.error:focus {
    background-color: #c0392b;
    color: #ffffff;
}

.reponse.inactive,
.reponse.inactive:hover,
.reponse.inactive:focus {
    background-color: #3E4549;
    color: #aaaaaa;
}

@media (min-width: 992px) {
    .reponse1 {
        border-right: 1px solid #3E4549;
    }

    .reponse2 {
        border-left: 1px solid #3E4549;
    }

    .question-home .reponse1 {
        border-right: 1px solid #3E4549;
    }

    .question-home .reponse2 {
        border-left: 1px solid #3E4549;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .reponse1 {
        border-bottom: 1px solid #3E4549;
    }

    .reponse2 {
        border-top: 1px solid #3E4549;
    }

    .question-home .reponse1 {
        border-right: 1px solid #3E4549;
        border-bottom: 0;
    }

    .question-home .reponse2 {
        border-left: 1px solid #3E4549;
        border-top: 0;
    }
}

@media (max-width: 767px) {
    .reponse1 {
        border-bottom: 1px solid #3E4549;
    }

    .reponse2 {
        border-top: 1px solid #3E4549;
    }
}

.reponse .libelle, .reponse .resultat {
    margin: auto;
    width: 100%;
    display: block;
    vertical-align: middle;
    display: table;
    height: 100%;
}

.reponse .libelle:focus {
    color: inherit;
}

.reponse .libelle .text, .reponse .resultat .infos {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: table-cell;
    margin: auto;
    width: 100%;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .reponse .libelle .text, .reponse .resultat .infos {
        padding: 0 10px;
    }
}

@media (min-width: 768px) {
    .reponse .libelle .text, .reponse .resultat .infos {
        padding: 0 30px;
    }
}

.resultat .rappel {
    font-size: 13px;
}

@media (max-width: 480px) {
    .resultat {
        padding: 0;
    }

    .resultat .pourcentage {
        font-size: 36px;
        font-weight: bold;
    }

    .resultat .votes {
        font-size: 12px;
    }

    .separateur-ou {
        position: absolute;
        width: 60px;
        height: 60px;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        display: table-cell;
        vertical-align: center;
    }

    .separateur-ou span {
        background-color: #2b3033;
        color: #fff;
        padding: 14px;
        display: inline-block;
        border-radius: 50%;
        font-weight: bold;
        font-size: 22px;
        width: 100%;
        text-align: center;
    }

    .separateur-ou span a {
        display: block;
    }
}

@media (min-width: 481px) {

    .resultat {
        padding: 20px 40px;
    }

    .resultat .pourcentage {
        font-size: 36px;
        margin-top: 8px;
        font-weight: bold;
    }

    .resultat .votes {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .separateur-ou {
        position: absolute;
        width: 80px;
        height: 80px;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        display: table-cell;
        vertical-align: center;
    }

    .separateur-ou span {
        background-color: #2b3033;
        color: #fff;
        padding: 20px;
        display: inline-block;
        border-radius: 50%;
        font-weight: bold;
        font-size: 27px;
        width: 100%;
        text-align: center;
    }

    .separateur-ou span a {
        display: block;
    }
}

.resultat .citation {
    font-size: 20px;
}

div.social-actions {
    padding: 0;
}

ul.social-actions {
    list-style: none;
    margin-left: 0px;
    padding-left: 0px;
    margin-bottom: 0;
}

ul.social-actions li a {
    text-decoration: none;
    display: inline;
}

ul.social-actions li a:hover {
    color: #1b6f7c;
    bottom: 12px;
    text-decoration: none;
    transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
}

ul.like-actions li {
    padding: 0 10px;
    font-size: 25px;
}
ul.like-actions li span {
    font-size: 0.7em;
}

@media (max-width: 480px) {
    ul.social-actions li {
        display: inline;
    }
}

@media (min-width: 481px) {
    ul.social-actions li {
        display: inline;
        /*padding-right: 20px;*/
        /*line-height: 50px;*/
    }
}

ul.like-actions li a.like.active {
    color: #27ae60;
}

ul.like-actions li a.dontlike.active {
    color: #c0392b;
}

ul.like-actions li a.like,
ul.like-actions li a.dontlike {
    color: #778489;
}

.auteur {
    line-height: 50px;
}

.categorie-et-auteur-block {
    padding-left: 0;
}

@media (min-width: 768px) {
    .categorie-et-auteur {
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .categorie-et-auteur {
        padding-right: 0;
    }

    .categorie-et-auteur-block {
        margin-top: 2px;
        padding-right: 0;
    }

    .categorie {
        text-overflow: ellipsis;
        background-color: #1b6f7c;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        color: white;
        width: 100%;
        display: inline-block;
        font-size: 14px;
    }
}

.categorie {
    background: #f98253  repeat scroll 0 0 !important;
    border: none !important;
    font-weight: 400 !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    text-shadow: none !important;
    padding: 3px 20px;

}

h2 .categorie {
    font-size: large;
    letter-spacing: normal;
    vertical-align: middle;
}

div.question-suivante {
    /*float: right;*/
    font-size: 12px;
    text-align: center;
}

div.question-suivante a {
    display: inline-block;
    background-color: #4c9757;
}
div.question-suivante a:hover {
    background-color: #45c158;
}

.question-unlike-texte {
    padding-right: 10px;
}

.question-like-texte {
    padding-left: 10px;
}

#message {
    margin-bottom: 20px;
    margin-top: 5px;
}

#sub-content {
    margin-bottom: 20px;
}

/********** ACCUEIL **********/
.question-home .reponse {
    height: 50px;
    font-size: 14px;
}

.question-home .reponse .libelle span {
    padding: 0 30px;
}

.question-home .separateur-ou {
    width: 38px;
    height: 38px;
}

.question-home .separateur-ou span {
    font-size: 16px;
    padding: 7px;
}

@media (max-width: 767px) {
    .question-home .reponse {
        height: 100px;
        font-size: 14px;
    }

    .question-home .reponse .libelle .text {
        padding: 0 20px;
    }

    .question-home .separateur-ou {
        width: 38px;
        height: 38px;
    }

    .question-home .separateur-ou span {
        font-size: 10px;
        padding: 0px;
        line-height: 37px;
        margin: auto;
    }
}

.message-vignette {
    font-size: 14px;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    min-height: 75px;
    display: table;
}

.message-vignette span {
    vertical-align: middle;
    display: table-cell;
    padding: 0 5px;
}

.vignette-canvas {
    display: table-row;
    margin: auto;
}

.vignette-title {
    font-size: 14px;
    font-weight: bold;
    background-color: #3E4549;
    color: #fff;
    text-align: center;
    padding: 6px 0;
    font-family: 'Open Sans', sans-serif
}

.vignette {
    padding: 0;
    background-color: #585b5c;
    text-align: center;
}

.vignette-quiz {
    padding: 10px;
    color: #FFF;
    font-weight: bold;
    background-color: #1b6f7c;
}

.img-icon-overlay {
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.img-icon-overlay p {
    position: absolute;
    width: 100%;
    margin-top: -20px;
    top: 50%;
    text-align: center;
}

.img-icon-overlay p a {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.99);
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 5px;
    text-align: center;
    color: #333;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    font-size: 20px;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.img-icon-overlay p a.fb {
    background-color: rgba(59, 89, 152, 1.5);
    color: white;
}

.img-icon-overlay p a.tw {
    background-color: rgba(64, 153, 255, 1.5);
    color: white;
}

.img-icon-overlay p a img {
    width: 20px;
    height: auto;
}

.img-icon-overlay p a:hover {
    opacity: 0.7;
}

.vignette:hover .img-icon-overlay {
    opacity: 1;
}

.vignette:hover img {
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/********** JTP JOUR **********/
@media (max-width: 767px) {
    .jtp-jour {
        margin-top: 81px;
    }
}

@media (min-width: 768px) {
    .jtp-jour {
        padding-right: 15px;
    }
}

.jtp-jour .reponse {
    height: 187px;
}

.jtp-jour .reponse1 {
    border-right: 0px;
    border-bottom: 1px solid #1b6f7c;
}

.jtp-jour .reponse2 {
    border-left: 0px;
    border-top: 1px solid #1b6f7c;
}

.jtp-jour .separateur-ou span {
    background-color: #1b6f7c;
}

.jtp-jour .reponse {
    background-color: #3E4549;
}

.jtp-jour .reponse:hover {
    background-color: #2b3033;
}

hr {
    border-top: 0px;
    border-bottom: 1px dotted #e4e4e4;
    margin: 15px 0;
}

.separator {
    padding: 20px 0px;
    background: #2b3033;
    margin-bottom: 20px;
    color: #FFF;
    text-align: center;
    font-weight: bold;
    font-size: 1.3em;
}

@media (min-width: 481px) {
    .title-white {
        background: url("../img/arrow.png") no-repeat scroll center bottom #3E4549;
        padding-bottom: 20px;
    }

    .mini-h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .title-white {
        background: url(../img/arrow.png) no-repeat scroll center bottom #3E4549;
        padding-bottom: 10px;
        padding-top: 0;
        background-size: 5%;
    }

    .mini-h2 {
        font-size: 18px;
        margin-top: -7px;
        margin-bottom: -7px;
    }
}

.btn-main.multisocial-button {
    width: 100%;
    padding: 4px 0 4px;
    margin-top: 2px;
    text-transform: none;
    line-height: 18px;
}

/********** FORM **********/
form label {
    display: none;
}

form input,
form select,
form textarea {
    width: 100%;
}

form select {
    border: 0px solid transparent;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    background-color: #f1f4f5;
}

/********** TEMPLATE **********/
.progress {
    border-radius: 0;
    margin-top: 20px;
    background-color: #ffffff;
    box-shadow: none;
    margin-bottom: 0px;
}

.progress .progress-bar-success {
    background-color: #27ae60;
}

.progress .progress-bar-danger {
    background-color: #c0392b;
}

@media (min-width: 768px) {
    .social-actions .hidden-xs,
    .auteur .hidden-xs {
        display: inline !important;
    }
}

@media (max-width: 991px) {
    .fb-page {
        margin-top: 20px;
    }
}

/********** HELPERS **********/
.margin-top-0 {
    margin-top: 0px !important;
}

.pd0 {
    padding: 0px !important;
}

.mt5 {
    margin-top: 5px !important;
}

.mt10 {
    margin-top: 10px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.mt50 {
    margin-top: 50px !important;
}

.mb10 {
    margin-bottom: 10px !important
}

.mb20 {
    margin-bottom: 20px !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.mb50 {
    margin-bottom: 50px !important;
}

/********** FACEBOOK **********/
.fb-comments,
.fb-comments span,
.fb-comments span iframe {
    width: 100% !important;
}

/********** MODERATION **********/
#moderation {
    color: #FFF;
    margin-bottom: 50px;
    /*background: #2b3033;*/
    font-size: 2em;
}

#moderation a:hover {
    opacity: 0.8;
}

#moderation a {
    text-decoration: none;
    font-size: 20px;
}

.moderation-non-valide {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #f98253;
    margin: auto;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.moderation-valide {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #27ae60;
    margin: auto;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.moderation-doublon {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #c0392b;
    margin: auto;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.moderation-faute {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #c0392b;
    margin: auto;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.moderation-categorie {
    background: #1b6f7c repeat scroll 0 0 !important;
    border: none !important;
    font-weight: 400 !important;
    font-size: 2em;
    border-radius: 0px !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    text-shadow: none !important;
    padding: 3px 20px;
}

.moderation-tp {
    font-weight: bold;
    font-size: 20px;
    color: #2b3033;
}

#moderation-valide-bloc a, #moderation-non-valide-bloc a, #moderation-doublon-bloc a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}

.redBold {
    color: red;
    font-weight: bold;
}

.orangeBold {
    color: orange;
    font-weight: bold;
}

.greenBold {
    color: green;
    font-weight: bold;
}

@media (max-width: 480px) {
    .popover {
        background: url("../img/icon/share.png") right bottom #eee;
        background-size: 35px;
        background-repeat: no-repeat;
        border-radius: 0;
    }

}

@media (max-width: 480px) {
    .row.video-first {
        color: white;
        margin: 0;
        padding: 15px;
        background: #333 url(/img/certified_min.png) right bottom no-repeat;
        height: 430px;
    }
}

/* MEDIA VIDEO */
@media (min-width: 481px) {
    .row.video-first {
        color: white;
        margin: 0;
        padding: 15px;
        background: #333 url('/img/certified_min.png') right bottom no-repeat;
        height: 430px;
    }
}

.et-vous {
    background-color: #333;
    border-left: solid 5px white;
    padding: 15px;
    height: 430px;
}

.et-vous-footer {
    padding: 40px 0;
    position: absolute;
    bottom: 0;
    margin-left: -15px;
}

.row.video-first > div:first-child, .et-vous > div:first-child {
    color: white;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 0 0px 0 rgba(0, 0, 0, 0.0);
    font-weight: normal;
    text-transform: uppercase;
    font-size: 22px;
    padding-bottom: 10px;
}

.row.videos-vrac {
    margin-top: 30px;
}

.row.videos-vrac .titre {
    color: #333;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 0 0px 0 rgba(0, 0, 0, 0.0);
    font-weight: normal;
    text-transform: uppercase;
    font-size: 22px;
    padding-bottom: 10px;
}

.video-desc {
    padding-bottom: 20px;
}

.video-first span.video-desc-titre {
    width: 100%;
    padding: 5px;
    margin-left: -5px;
    margin-right: -5px;
    background-color: #3E4549;
    font-size: 14px !important;
}

.video-first span.video-desc-text {
    padding-top: 5px;
}

.thumbs img {
    width: 100%;
}

.video-desc span.video-desc-titre {
    font-size: 12px;
    text-align: justify;
    float: left;
    clear: left;
}

.video-desc span.video-desc-text {
    font-size: 12px;
    text-align: justify;
    float: left;
    clear: left;
    min-height: 40px;
}

#modal-video .modal-content {
    border-radius: 0;
    background-color: rgb(43, 48, 51);
}

#modal-video .modal-header {
    background-color: #1b6f7c;
    border: 0;
    height: 60px;
}

#modal-video .modal-header button {
    color: white;
    font-size: 33px;
}

#modal-video .modal-title {
    font-size: 25px;
    margin-top: -8px;
    padding: 5px;
}

#modal-video .modal-body {
    padding: 10px;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 800px;
    }
}

.blue-jtp {
    color: #1b6f7c;
}

.btn-blue-jtp {
    background-color: #1b6f7c;
}

.btn-blue-jtp:hover {
    background-color: #3698a9;
}

.ss-titre {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    padding: 15px 0;
    text-align: center;
}

.video-click p {
    font-size: 3rem;
    margin-bottom: 3rem;
    line-height: 30px;
}

.video-desc-text a {
    padding-left: 5px;
}

.buttons-like {
    text-align: right;
    padding-right: 0;
}

.padding-right-0 {
    padding-right: 0;
}

.facebook-button {
    text-align: right;
}

.twitter-button {
    text-align: left;
}

@media (min-width: 768px) {
    .header-question {
        margin-right: 15px;
    }
}

.shop-link-footer {
    padding: 20px 0;
    bottom: 0;
}

.shop {
    background-color: #333;
    border-left: solid 5px white;
    padding: 15px;
}

.shop .vignette-title {
    font-size: 20px;
    padding: 0;
}

.shop img {
    width: 80%;
    padding: 4px 4px 44px 4px;
    background-color: #dedede;
    transform: rotate(-6deg);
    max-width: 150px;
    display: block;
    margin: 0 auto;
}

.banniere {
    text-align: center;
}

.banniere img {
    width: 100%;
    border: 1px solid #000;
}

.banniere-mt {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .btn-shop {
        position: relative;
        top: -30px;
        width: 100%;
    }

    .btn-shop a{
        transform: rotate(-6deg) translate(calc(50% - 30px), -10px);
    }
}

@media (max-width: 767px) {
    .btn-shop {
        position: relative;
        top: -30px;
        width: 100%;
    }

    .btn-shop a {
        transform: rotate(-6deg) translate(calc(50% - 30px), -10px);
    }

    .banniere img {
        width: 45%;
        margin-top: 0px;
    }

    .banniere-mt {
        margin-top: 0px;
    }
}

.shop .ss-titre {
    font-weight: normal;
}

.video-message {
    font-size: 14px;
}

.banner-publicite {
    background-color: #f5f5f5;
    border: 1px solid #d7d5d5;
}