/*
Theme Name: IT-Connect 2024-Light
Description: Theme pour it-connect.fr
Author: Team, IT-Connect
Author URI: https://www.it-connect.fr
Template: colormag-pro
Version: 0.1.7
*/ 

/* Texte a droite du logo, dans le header du site */
.header-text{
    float: right;
    font-size: 16px;
    /*margin-right: 200px;*/
    margin-top: 20px;
    font-style: italic;
    color: #005E81;
    text-align: center;
    width: 370px;
}

/* Ne pas souligner les liens a */
a {
 text-decoration: none !important;
}

/* Diminuer la hauteur du header */
.cm-row {
 padding: 0px 0 0px !important;
}

/* Réduire espace entre menu et slider */
.cm-content {
    padding-top: 15px;
}

/* Modifier le fond derrière le texte dans le slider */
.cm-featured-category-slider .cm-slide-content, .cm-slider-area-rotate .cm-slide-content{
    background: linear-gradient(180deg, #000000 0%, #292929 100%);
    opacity: 0.9;
    height: 85px;
}

/* Taille des titres d'article dans le slider */
.cm-featured-category-slider .cm-slide-content, .cm-slider-area-rotate .cm-slide-content h3{
    font-size : 22px;
}

.cm-featured-category-slider .cm-entry-title a:hover, .cm-slider-area-rotate .cm-entry-title a:hover {
    text-decoration: none;
    color: #ffa340;
    opacity: 1.0;
}

/* Widget avec les articles les plus récents */
.cm-featured-posts .cm-entry-title a {
    color: #232323;
    font-size: 18px;
    line-height: 1.2;
}

.cm-featured-posts .cm-first-post .cm-entry-title a {
    font-size: 22px;
}

.cm-featured-posts--style-2 .cm-posts .cm-entry-title a {
    margin-bottom: 10px;
    font-size: 14px;
}

/* Logo du header */
.custom-logo{
	max-width: 80%;
	margin-top: 10px;
}


/* Couleur du nom de l'auteur */
.author-name {
    color: #0091C7;
}

/* Background author box */
.author-box {
    background-color: #F6F6F6;
}

body.archive ul.default-wp-page {
    display: inline-flex;
    justify-content: flex-start;
}

/* Background box article suivant et precedent */
.default-wp-page .previous, 
.default-wp-page .next {
    font-size: 12px !important;
}

body.archive .default-wp-page .previous, 
body.archive .default-wp-page .next {
    flex: none;
}

body.archive ul.default-wp-page li.previous a,
body.archive ul.default-wp-page li.next a {
    border: 0;
    margin: 0;
    outline: 0;
    padding: 0;
    border-radius: 2px;
    background-color: #ff9728;
    line-height: 1.6;
    color: #fff;
    position: relative;
    padding: 4px 10px;
    font-weight: 400;
}

/* SOMMAIRE */
#toc_container p.toc_title {
    text-align: center;
    color: #FFF !important;
    /*height: 35px;*/
    font-size: 15px !important;
    background-color: #005e81;
    margin: 0;
    padding: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#toc_container {
    background: #f9f9f9;
    border: none !important;
    margin-bottom: 1em;
    width: 97% !important;
    display: table;
    font-size: 95%;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#toc_container a {
    text-decoration: none;
    line-height: 25px;
    font-size: 15px;
}

#toc_container a::hover{
    text-decoration: none;
}

/* Couleur titre H2 */
h2{
	color: #0091C7;
}

/* Couleur titre H3 */
h3{
	color: #FFA340;
}

/* Liens dans les articles, au survol */
.cm-entry-summary a{
  position: relative;
}

.cm-entry-summary a::before{
    text-decoration: none;
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background-color: #49B1D7;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
}

.cm-entry-summary a:hover::before{
  text-decoration:none;
  transform-origin: left;
  transform: scaleX(1);
}

/* Texte justifie dans les articles */
/*#content .post .article-content */
.cm-post-content p{
    text-align: justify;
}

/* Bordure left sur balise pre pour le code */
pre {
    padding: 10px !important;
    border: none !important;
    border-left: 4px solid #0091C7 !important;
    background-color: #051E30 !important;
    color: white !important;
    font-style: normal;
}

.wp-block-code code{
  background-color: #051E30 !important;
  color: white !important;
}

code{
  background-color: #E9E9E9;
  font-family: Menlo, Consolas, monaco, monospace;
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Couleur de background du menu */ 
#site-navigation {
    background-color: #005E81;
}

/* Hover des titres de tuto dans le diaporama en home */
.widget_featured_slider .slide-content .entry-title a:hover {
    color: #FFA340 !important;
}

.cm-posts.cm-layout-2-style-2.col-2, .cm-posts.cm-layout-2-style-1.col-2.cm-entry-title{
color:red;
}

/* Widget Random Cours */
.entry-title-courses a{
    font-size: 16px;
    color: #005E81;
}

/* Border top footer */
footer .cm-footer-cols {
    border-top: 5px solid #ff9728;
    padding-top: 45px;
}

footer h3 {
    margin-bottom: 15px;
}

footer.cm-footer .widget ul li {
    padding: 5px 0;
}

footer.cm-footer .cm-lower-footer-col ul li a,
footer.cm-footer .cm-lower-footer-col p a {
    font-size: 14px;
}

/* Couleur du titre sur widget YouTube */
.widget_video_colormag span{
  background-color: #D21F15 !important;
}

.widget_video_colormag h3{
  border-bottom: 2px solid #D21F15 !important;
}

/* Feature image dans les articles, background gris */
.featured-image {
    background-color: #F6F6F6;
    text-align: center;
}

/* Learndash */
body.single .cm-posts {
    display: block;
}

#learndash_lessons a, #learndash_quizzes a, .expand_collapse a, .learndash_topic_dots a, .learndash_topic_dots a > span, #learndash_lesson_topics_list span a {
    font-size: 14px !important;
    font-family: inherit !important;
}

#lessons_list > div h4 > a, #course_list > div h4 > a, #quiz_list > div h4 > a {
    font-size: 16px !important;
}

.learndash-course-reviews-form input[type=submit] {
    border-color: #ff9728;
}
/* .bx-viewport{
border-bottom: 11px solid rgb(0, 145, 199) !important;
}*/

/* CSS Widget Forum */
.rsswidget{
color: #005E81;
font-weight: bold;
}

.rss-date{
color: #FFA340;
font-weight: bold;
}

/* Widget - Titre "Nos derniers cours gratuits" */
.widget .wp-block-heading {
    font-weight: 400;
}

/* Widget - Pied de page - Supprimer le gras */
.cm-footer .widget ul li {
    font-weight: 400;
}

/* iframe youtube dimension */
.iframe_youtube {
    width: 800px;
    height: 450px;
}

/* Breadcrumb - Fil d'ariane CSS */
.breadcrumb-trail, .breadcrumb-itc{
	background: #f9f9f9;
	/*margin: -15px 0;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	/*height: 30px;*/
	padding: 5px 0px 5px 10px;
	font-size: 12px;
	/*box-shadow: inset 1px 1px 1px #e0e0e0;*/
	overflow-x: hidden;
	overflow-y: hidden;
	line-height: 1.6em;
}

.aioseo-breadcrumbs{
        background: #f2f2f2 !important;
        margin: -15px 0;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        height: 30px;
        padding: 5px 0px 5px 10px;
        font-size: 13px;
        box-shadow: inset 1px 1px 1px #e0e0e0;
        overflow-x: hidden;
        overflow-y: hidden;
        line-height: 1.6em;
}

.sfwd-breadcrumbs .sep > span {
    display: none;
}

/* CSS Cookie Law Info */
#cookie-law-info-bar {
    background-color: #f8f8f8 !important;
    color: #005E81;
    font-family: inherit;
    border-top: 2px solid #FFA340 !important;
}

/* Titre et tag categorie dans page d'un cours */
#content .article-content .above-entry-meta .cat-links a {
    background-color: #289dcc;
    border-radius: 3px;
    color: #ffffff;
    font-size: 12px;
    padding: 3px 10px;
    display: inline-block;
    line-height: 1.37;
    margin-bottom: 10px;
    margin-top: 10px;
}

.cm-entry-title, .post .cm-entry-title a {
    color: #005e81;
}

/* Retirer le gras du menu */
.main-navigation a{
    font-weight: 100 !important;
}

/* Ads Tuto - Adsense */
.ads-tuto{
   margin-bottom: 10px;
}

/* Ads Sidebar 01 - Adsense */
.ads-sidebar-01{
margin-top: -30px;
margin-bottom: -30px;
}

/* Mettre en orange le widget des cours */
.random-posts-widget .widget-title{
    border-bottom: 2px solid #ffa340 !important;
}

.random-posts-widget .widget-title span{
    background-color: #ffa340 !important;
}

/* Titre police normal (suppression du gras) pour les widgets */
h3.cm-widget-title span {
    font-weight: 400 !important;
}

/* Boutons share reseaux sociaux */
.class_rs_share{
    width: 30px;
}

.bloc-partage {
height: 30px;
background-color: #f6f6f6;
padding: 10px;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.text-share{
margin-right: 10px;
color: #005E81;
font-weight: bold;
}

 /* Ajuster l'author box */
.author-description-wrapper {
    width: 83%;
}

/* widget cours page accueil */
/*.widget_beside_slider .widget_highlighted_posts {
    margin-bottom: 0px;
    padding-bottom: 9px !important;
    padding-top: 10px !important;
    #border-bottom: 11px solid #FFA340 !important;
    border-top: 5px solid #FFA340 !important;
}*/

/* Masquer Google reCaptcha */
.grecaptcha-badge { 
    visibility: hidden !important;
}

.comment-list li.comment {
    background: #F8F8F8;
    padding: 20px 10px;
    border: 1px solid #eaeaea;
}

.post .cm-post-content .cm-entry-header .cm-entry-title,
.post .cm-post-content .cm-entry-header .cm-entry-title a {
    line-height: 1.2;
   /* font-size: 22px;*/
}

.cm-posts.cm-layout-2-style-1 .post:first-child .cm-post-content .cm-entry-header .cm-entry-title,
.cm-posts.cm-layout-2-style-1 .post:first-child .cm-post-content .cm-entry-header .cm-entry-title a {
    font-size: 32px;
}

.cm-beside-slider-widget > section {
    height: 100%;
}

.cm-beside-slider-widget > section > p {
    display: none;
}

.itc-courses-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 100%;
}

.itc-courses-home .itc-course {
    display: flex;
    align-items: flex-end;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 12px;
    color: #fff;
    font-size: 11px;
    min-height: 130px;
}

.itc-courses-home .itc-course i {
    color: #fff;
}

.itc-courses-side-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

h3.cm-widget-title {
    font-weight: 400 !important;
}

div.aioseo-author-bio-compact {
    background-color: #F6F6F6;
    border: none;
    padding: 15px;
}

div.aioseo-author-bio-compact img.aioseo-author-bio-compact-image {
    border-radius: 500px;
}

div.aioseo-author-bio-compact .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main {
    font-size: 15px;
}

div.aioseo-author-bio-compact .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header .author-name {
    padding: 0;
    font-size: 20px;
}

div.aioseo-author-bio-compact .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header .author-job-title {
    font-weight: normal;
}

div.aioseo-author-bio-compact .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials {
    gap: 10px;
}

div.aioseo-author-bio-compact .author-socials img {
    width: 20px;
}

/* Courses Archive */
.post-type__sfwd-courses article {
    border: 1px solid #eaeaea;
    border-radius: 4px;
}

.post-type__sfwd-courses article .cm-featured-image img {
    border-radius: 4px 4px 0 0;
}

.post-type__sfwd-courses article .course-informations {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.post-type__sfwd-courses article .course-informations__steps-count {
    font-size: 1.5rem;
}

.post-type__sfwd-courses article .learndash-course-reviews-review-stars {
    font-size: 1.5rem;
}

.post-type__sfwd-courses article .cm-entry-title {
    font-size: 2rem !important;
}

.post-type__sfwd-courses article .course-author-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

#loginform > p {
    text-align: left;
}

.cm-entry-button span {
    font-weight: 400;
}

form.comment-form input[type="submit"] {
    border-color: #ff9728;
}

body.archive .cm-posts > span.ezoic-grid-wrapper {
    display: none;
}

mark {
    background: none !important;
}


/* Style CSS FAQ - Ajout du 31/10/2025*/
.aioseo-faq-block-question {
    font-weight: 600;
    font-size: 1.4em;
    color: #005b96;
    margin-top: 1.2em;
    margin-bottom: 1em;
    padding: 0.6em 0.8em;
    border-left: 4px solid #0078d7;
    background-color: #f5f8fa;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.aioseo-faq-block-question:hover {
  background-color: #e8f1f9;
}

.aioseo-faq-block-answer {
    margin-bottom: 1em;
}

.cm-post {
    margin-bottom: 5px;
}
