/*
 Theme Name:   Electro10count 2024
 Theme URI:    https://generatepress.com
 Description:  Thème electro10count.com version 2024 basé sur GeneratePress.
 Author:       WebJonathan
 Author URI:   https://www.webjonathan.net
 Template:     generatepress
 Version:      mars 2024
*/
/* base */                
body { overflow-x:hidden; }
.txt-center { text-align:center; }
.txt-left { text-align:left; }
.txt-right { text-align:right; }
.txt-normal { font-size:100%; line-height:normal; } 
.txt-small { font-size:80%; line-height:normal; }
.txt-big { font-size:120%; line-height:normal; }
.txt-bold { font-weight:bold; }   
.txt-size70 { font-size:70%; }     
.txt-size75 { font-size:75%; }     
.txt-size80 { font-size:80%; }     
.txt-size85 { font-size:85%; }     
.txt-size90 { font-size:90%; }     
.txt-size95 { font-size:95%; }
.txt-size100 { font-size:100%; }
.txt-size110 { font-size:110%; }
.txt-size120 { font-size:120%; }
.txt-size130 { font-size:130%; }
.txt-size140 { font-size:140%; }
.txt-size150 { font-size:150%; }
.on-middle { float:none; margin-left:auto; margin-right:auto; width:auto; text-align:center; }
.on-left { float:left; margin-left:auto; margin-right:5%; }
.on-right { float:right; margin-left:5%; margin-right:auto; }
p + .on-middle { margin-top:-0.5em; }
/* wordpress */
.entry-content p + h1, .entry-content ul + h1, .entry-content ol + h1, .entry-content p + h2, .entry-content ul + h2, .entry-content ol + h2 { margin-top:35px; }
.entry-content p + h3, .entry-content ul + h3, .entry-content ol + h3, .entry-content p + h4, .entry-content ul + h4, .entry-content ol + h4 { margin-top:15px; }
.entry-content #snippet-box { margin:3em 0 0.5em 0; max-width:100%; }
.entry-content .snippet-title { width:auto; }
.entry-content .snippet-markup { padding-top:0.5em; padding-bottom:1em; }
.entry-content .snippet-label { width:10%; }
.entry-content .snippet-data { width:85%; }
.entry-content .snippet-markup .snippet-data:last-child { padding-top:1em; }
.entry-meta .post-navigation { position:relative; margin-top:15px; width:100%; }                                   
.entry-meta .post-navigation:before { content:''; display:block; clear:both; height:5px; border-top:1px solid #dadada; }
.entry-meta .post-navigation .nav-previous { float:left; margin:5px 2%; width:46%; text-align:left; }
.entry-meta .post-navigation .nav-next { float:right; margin:5px 2%; width:46%; text-align:right; }
.entry-meta .post-navigation:after { content:''; display:block; clear:both; height:5px; border-bottom:1px solid #dadada; }
button:not(.menu-toggle), html input[type="button"], input[type="reset"], input[type="submit"], 
.button, .button:visited, .wp-block-button .wp-block-button__link { padding:10px 42px 8px 42px; border-radius:50px; letter-spacing:0px; }
/* formulaires */
.form-item, .form-submit { margin:25px 0; width:100%; max-width:650px; }
.form-item input[type="tel"], .form-item input[type="url"], .form-item input[type="text"], .form-item input[type="password"], .form-item input[type="file"], 
.form-item input[type="search"], .form-item input[type="number"], .form-item input[type="email"], .form-item textarea, .form-item select { margin:3px 0; width:100%; }
.form-item label { display:block; margin:0; width:100%; font-size:90%; }
/* generatepress */
.archive .inside-article .entry-title { font-size:20px; }
.gallery-icon { /*border-top:1px solid #e8eff7; border-bottom:1px solid #e8eff7;*/ border:1px solid #e8eff7; }
.gallery-caption { padding:10px 5px; font-size:75%; color:#1a2026; }
.footer-widgets .widget .menu { font-size:14px; }
.footer-widgets .widget .widget-title { font-size:16px; }
.sidebar .widget_recent_entries ul, .sidebar .widget_recent_comments ul { margin-top:-10px; } 
.sidebar .widget_recent_entries li, .sidebar .widget_recent_comments li { display:block; padding-top:10px; border-bottom:1px solid #e8eff7; }
.sidebar .widget_recent_comments li { font-size:90%; }
.sidebar .widget_recent_entries li a { display:block; }
.sidebar .widget_recent_entries li span.post-date { display:block; font-size:75%; color:#1a2026; }
.nav-aligned-right .main-navigation ul li, .nav-aligned-center .main-navigation ul li { letter-spacing:0.75px; }
.one-container .inside-article { min-height:300px; }
.generate-columns-container .inside-article .page-content, .generate-columns-container .inside-article .entry-content, 
.generate-columns-container .inside-article .entry-summary { margin-top:1em; }
.featured-image, .post-image { background:#fff; }
/* personnalisation */
.page-template-blank .site-header .inside-header { background:#0c062f; } 
.page-template-blank .site-footer .site-info { background:#3d3449; }
.page-template-legal .type-page .entry-content h2 { font-size:110%; }
.page-template-legal .type-page .entry-content h3 { font-size:90%; }
.page-template-legal .type-page .entry-content h4 { font-size:85%; }
.page-template-legal .type-page .entry-content p, .page-template-legal .type-page .entry-content ul, .page-template-legal .type-page .entry-content ol, 
.page-template-legal .type-page .entry-content td, .page-template-legal .type-page .entry-content th { font-size:80%; }
.page .star-rating { float:none; margin-top:10px; }
.post .star-rating { float:right; margin-top:4px; }
.archive .post .star-rating { margin-top:10px; }
.comment-form .star-rating { float:none; }
.comment-form .yasr-visitor-votes { margin-bottom:10px; }
.comment-form .yasr-container-custom-text-and-visitor-rating { float:left; line-height:2.5em; }
.comment-form .yasr-total-average-container { display:none; }
.comment-form .yasr-total-average-text { display:none; visibility:hidden; }
/* responsive design */
@media only screen and (max-width: 768px) {
  .archive .post .star-rating { margin-top:16px; }
}
@media only screen and (max-width: 540px) {
  .entry-meta .post-navigation .nav-previous, .entry-meta .post-navigation .nav-next { float:none; width:96%; }
  .gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item, .gallery-columns-5 .gallery-item, .gallery-columns-6 .gallery-item { max-width:50%; }
  .post .star-rating { float:none; margin-top:10px; } 
}
/*EOF*/
