/*
Theme Name:     Ronin Squad
Template:       astra
Version:        1.0.0
Description:    Theme de l'entreprise Ronin Squad.
Author:         Christopher BROUARD
*/


/* ========== ICOMOON ICONS ========== */

@font-face {
    font-family: 'icomoon';
    src:  url('assets/fonts/icomoon.eot?vx0vm5');
    src:  url('assets/fonts/icomoon.eot?vx0vm5#iefix') format('embedded-opentype'),
    url('assets/fonts/icomoon.ttf?vx0vm5') format('truetype'),
    url('assets/fonts/icomoon.woff?vx0vm5') format('woff'),
    url('assets/fonts/icomoon.svg?vx0vm5#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[class^="icon-"].size-l, [class*=" icon-"].size-l{font-size: 2rem;}
[class^="icon-"].size-xl, [class*=" icon-"].size-xl{font-size: 3rem;}
[class^="icon-"].size-xxl, [class*=" icon-"].size-xxl{font-size: 4rem;}
[class^="icon-"].size-xxxl, [class*=" icon-"].size-xxxl{font-size: 5rem;}
[class^="icon-"].size-xxxxl, [class*=" icon-"].size-xxxxl{font-size: 6rem;}

.icon-color-blue { color: #0088ff; }
.icon-color-green { color: #389813; }
.icon-color-red { color: #880000; }
.icon-color-yellow { color: #d1c61a; }
.icon-color-orange { color: #efa014; }
.icon-color-pink { color: #d69099; }
.icon-color-darkviolet { color: #9509d1; }

.icon-kabuto:before {
    content: "\e900";
}

/* ========== PAGE Expertises ========== */

[class^="detail-kabuto"], [class*=" detail-kabuto-"] summary strong:before {
    content: "\e900";
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 10px;
}

.detail-kabuto-blue summary strong:before { color: #0088ff; }
.detail-kabuto-green summary strong:before { color: #389813; }
.detail-kabuto-red summary strong:before { color: #880000; }
.detail-kabuto-yellow summary strong:before { color: #d1c61a; }
.detail-kabuto-orange summary strong:before { color: #efa014; }
.detail-kabuto-pink summary strong:before { color: #d69099; }
.detail-kabuto-darkviolet summary strong:before { color: #9509d1; }


/* ==========  Modal slide right ========== */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto 0 auto auto;
    padding: 0;
    border-left: 1px solid #888;
    width: 90%;
    height: 100vh;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animateright;
    -webkit-animation-duration: 0.4s;
    animation-name: animateright;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animateright {
    from {right:-300px; opacity:0}
    to {right:0; opacity:1}
}

@keyframes animateright {
    from {right:-300px; opacity:0}
    to {right:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #880000;
    color: white;
    top: 0;
    position: fixed;
    width: 100%;
}

.modal-body {margin-top: 16px; padding: 2px 16px;}

.modal-footer {bottom:0;
    position: fixed;
    width: 100%;
    padding: 2px 16px;
    background-color: #880000;
    color: white;
}

/* ========== WIDGET liste article ========== */
.wp-block-latest-posts__post-title{font-size: 1.25rem; font-weight:bolder;}
.wp-block-latest-posts__post-date, .wp-block-latest-posts__post-excerpt{ font-style:italic;}
.wp-block-latest-posts__post-date{font-size: 0.75rem !important;}


