/*
 Theme Name:   Theme enfant de Glob
 Theme URI:    send me an Email at cadarsir@gmail.com if you want to download release
 Description:  Theme additionnel du Template Glob
 Author:       Romain Cadarsi
 Author URI:   https://romain-cadarsi.github.io
 Template:     glob
 Version:      1.0.0
*/

.hover-primary:hover{
    color: #cf5c9e !important;
}
.cinev-widget,.widget_archive,.widget_recent_entries,.widget_recent_comments,.widget_categories,.widget_meta{
    display: none;
}
.border-grid-end{
    grid-column-start: 1;
    grid-column-end: 5;
    background-color: #bc4c96;
    height: 2px;
    border-radius: 10px;
}
.border-grid-start{
    grid-column-start: 1;
    grid-column-end: 4;
    background-color: #bc4c96;
    height: 2px;
    border-radius: 10px;
}
.st-menu ul a {
    color: #ddd;
    display: block;
    font-size: 14px;
    font-weight: bold;
    border-bottom:none;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease 0s, box-shadow 0.3s ease 0s;
}
.main-navigation ul ul a {
    width: 220px;
    font-size: 15px;
    background: #0f1430;
    padding: 7px 22px;
    text-transform: none;
    font-size: 13px;
    font-weight: 500;
}
.st-menu {
    background: #0f1430 none repeat scroll 0 0;
    border-right: 1px solid #e5e5e5;
    height: 100%;
    left: 0;
    padding-top: 20px;
    position: absolute;
    top: 0;
    transition: all 0.5s ease 0s;
    visibility: hidden;
    width: 280px;
    z-index: 99999;
    display: none;
}

#loader{
    position: fixed;
    background-color: #0f122f;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    text-align: center;
    transition-property: all;
    transition-timing-function: ease-in ;
    transition-duration: 0.3s;
}

#gifloader{
    position: relative;
    width: 30%;
    top:50%;
}

.nav-search{
    display: block;
    background-color: unset !important;
}

.trending_wrapper{
    display: none;
}
a{
    text-decoration:none;
}
.container{
    width: 90%;
    max-width: 99999999px;
}
.grid-container{
    display: grid;
    grid-template-columns: 50% 50% ;
}
.grid-component:nth-child(1){
    margin-top: 0px;
}

.grid-component{
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows:10% auto ;
    margin-top:60px;
}

.grid-component-2{
    grid-template-columns: 50% 50%;
}
.grid-component-4{
    grid-template-columns:25% 25% 25% 25%;
    grid-template-rows: 20% auto;
}

.category-grid-container{
    display : grid;
    grid-template-columns: 33% 33% 33%;
}
.entry-header{
    text-align: center;
}

.grid-post{
    width: 90%;
    float: none;
    margin: 0 auto;
}

.grid-title{
    padding-bottom: 2%;
    grid-column-start: 1;
    grid-column-end: 4;
    text-align: center;
}
.grid-component-2>.grid-title{
    padding-bottom: 2%;
    grid-column-start: 1;
    grid-column-end: 3;
    text-align: center;
}
.grid-component-4>.grid-title{
    padding-bottom: 2%;
    grid-column-start: 1;
    grid-column-end: 5;
    text-align: center;
}
.grid-entire-row{
    grid-column-start: 1;
    grid-column-end: 3;
}
.article-container{
    padding-top: 50px;
}
#masthead{
    position: fixed;
    height: 35vh;
    z-index: 1;
    transition-property: opacity;
    transition-timing-function: ease-out;
    transition-duration: 1s;
}
#masthead.scrolled>div>#site-branding>.has-logo>.site-logo>.custom-logo-link>.custom-logo{
    transition-property: width;
    transition-timing-function: ease-out;
    transition-duration: 2s;
    transition-delay: 0.5s;
}
.navigation-wrapper{
    display: block;
    transition-property: all;
    transition-timing-function: ease-out;
    transition-duration: 0.5s;

}
#categoryTitle{
    text-align: center;
    padding: 33px 0;
    background-color: #0F1430;
    border-radius: 10px 10px 0px 0px;
    color: white;
    border-bottom: solid 2px gray;
    margin-bottom: 70px;
}

#categoryTitle::first-letter{
    color: #cf5c9e;
    font-size: 1.5em;
}
.site-content {
    clear: both;
    padding: 30px 0 80px;
}

.inview{
    margin : 20px auto;
}

.article-titre{
    text-align: center;
}

#article{
    width: 75%;
    margin : 0 auto;
}
.image-thumb{
    width: 80%;
    margin: auto;
}

@-webkit-keyframes fadeIn {
    from { height: 0;
        opacity: 0}
    to { opacity: 1;
        height: auto}
}
@keyframes fadeIn {
    from { opacity: 0;
        height: 0}
    to { opacity: 1;
        height: auto}
}

@-webkit-keyframes fadeOut {
    from { height: auto;
        opacity: 1}
    to { opacity: 0;
        height: 0px}
}
@keyframes fadeOut {
    from { opacity: 0;
        height: auto}
    to { opacity: 1;
        height: 0px;}
}

#masthead.scrolled{
    height: max-content;
}

.entry-content{
    padding-bottom: 100px;
}
.author-box {
    margin-top: 55px;
    margin-bottom: -5px;
    border-top: 1px solid #ebebeb;
    text-align: center;
}
.author-box .image img {
    display: inline-block;
    margin-top: -65px;
    border-radius: 50%;
    border: 22px solid #fff;
    width: 150px;
}
.author-box .author > a {
    position: relative;
    margin-top: 3px;
    font-size: 23px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.4;
    bottom: 25px;
}
#masthead.scrolled>div>#site-branding>.has-logo>.site-description{
    transition-property: all;
    transition-timing-function: ease-in;
    transition-duration: 0.5s;
    transition-delay: 0.5s;
    /*! height: 0px; */
    opacity: 0%;
    transform: scaleY(0);
}
#masthead.scrolled>div>#site-branding>.has-logo>.site-logo>.custom-logo-link>.custom-logo{
    width: 40%;
    transition-property: all;
    transition-timing-function: ease-in;
    transition-duration: 0.5s;
    transition-delay: 0.5s;
}
.navigation-wrapper.scrolled{
    opacity: 0 ;
    width: 0px;
}
.site-logo{
    width: 80%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    transition-property: all;
    transition-timing-function: ease-in;
    transition-duration: 0.5s;
    transition-delay: 0.5s;
}

.post-template-default > #page > div > div > div > main > article > header > .entry-title {
    width:auto;
    height: 20%;
}
.n2-ss-slider-1{
    width: 100%;
}

.navigation-search-wrapper{
    margin-right: 0%;
    margin-left: 0%;
}


.site-header p {
    margin-bottom: 0;
    margin-top: 7px;
    color: whitesmoke;
    font-size: 160%;
    font-family: Roboto;
    font-weight: 300;
    transition-property: all;
    transition-timing-function: ease-in;
    transition-duration: 0.5s;
    transition-delay: 0.5s;
}
.site-branding{
    width: 50%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    top:10px;
}


#masthead>.container{
    width: 100%;
    height: 100%;
    max-width: 10000000px;
    background-color: rgb(17, 22, 51,0.83);
}

#masthead{
    padding: 0%;
    height: 10%;
    top:0px;
    height: auto;
}
.navigation-wrapper.nav-layout-fullwidth {
    background-color: rgb(17, 22, 51,0.83);
}
.footer-widgets>.container{
    border: none;
}
.site-info>.container{
    border: none;
}
ul.menu{
    background-color: rgb(17, 22, 51,0);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.menu-menu-container,.main-navigation{
    width: auto;
    margin-left: 10px;
    margin-right: auto;
    /*! display: flex; */
    /*! align-content: center; */
    /*! justify-content: center; */
}
.menu-item{
    margin:0%;
}
.navigation-wrapper>.container{
    width: 100%;
    max-width: 100000px;
}


#primary-menu>.menu-item{
    border-right: solid 2px rgb(143,72,133);

    margin-bottom: 1.5%;

}
#primary-menu>.menu-item:first-child{
    border-right: solid 2px rgb(143,72,133);
    border-left: solid 2px rgb(143,72,133);
}
.current-menu-item.current-menu-item>a{
    background-color: rgb(143,72,133);

}
body{
    background-color:black 0;
    background:transparent;
}
body,a{
    font-family: 'Roboto', sans-serif;
    width: 100%;
}


.main-navigation a {
    display: block;
    text-decoration: none;
    font-size: 17px;
    font-weight: 300;
    padding: 15px 22px;
    color:
            #fff;
    text-transform: uppercase;
}
#content{
    margin:5%;
    margin-top:20%;
    margin-bottom: 2%;
    background-color: rgb(255, 255, 255);
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    -webkit-box-shadow: -1px 0px 52px -12px rgba(0,0,0,0.75);
    -moz-box-shadow: -1px 0px 52px -12px rgba(0,0,0,0.75);
    box-shadow: -1px 0px 52px -12px rgb(178, 70, 146);
    padding-top: 0px;
}

html {
    background-image: url('/app/uploads/background.jpg');
    background-image: -webkit-image-set(
            url('/app/uploads/background.webp') type("image/webp"),
            url('/app/uploads/background.jpg') type("image/jpeg"));
    background-image: image-set(
            url('/app/uploads/background.webp') type("image/webp"),
            url('/app/uploads/background.jpg') type("image/jpeg"));
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.header-breaking .breaking_text strong, a:hover, .social-links ul a:hover::before, .footer-widgets .widget a:hover, .entry-title:hover, .entry-title a:hover, h2.entry-title a:hover, .social-links ul a:hover {
    color:
            rgb(143,72,133);
}
.navigation-wrapper{
    background: transparent;
    background-color: transparent;
}
.site-header {
    background-image: none;
    background-repeat: no-repeat;
    background-size: cover;
}
.navigation-wrapper .navigation-search-wrapper {
    background: transparent;
    position: relative;
    width: 100%;
    text-align: center;
}
.navigation-search-wrapper{
    background: transparent;
    background-color: transparent;
}
#content > div:nth-child(1){
    /*! margin-left: 5%; */
    /*! margin-right: 5%; */
    max-width: 10000000px;
}

.content-area {
    width: 100%;
}
#secondary{
    width: 25%;
}

.posted-on{
    display: none;
}

.post-grid>.entry-header,.post-grid>.entry-info{
    position: relative;
    /*! bottom: 190px; */
}

.entry-header{
    /*! text-shadow: 0px 0px 2px black; */
}
.footer-widgets .widget .widget-title {
    color: #d9d9d9;
    border-top: none;
    text-align: center;
}
.jetpack-social-widget-list{
    text-align: center;
}
.footer-widgets .widget {

    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 0;
    width: 100%;

}
.navigation-wrapper.nav-layout-fullwidth {
    background-color: rgb(17, 22, 51,0.83);
    top: 185px;
    position: fixed;
    z-index: 8;
    width: 100%;
    border-bottom: solid 1px rgb(136, 136, 136,0.83);

}
@media all and (min-width: 500px) and (max-width: 900px){

    .container{
        width: 100%;
    }
    .grid-component{
        grid-template-columns: 50% 50%;
    }
    .category-grid-container{
        grid-template-columns: 50% 50%;
    }
    .grid-component-4>.grid-title{
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .grid-title{
        padding-bottom: 2%;
        grid-column-start: 1;
        grid-column-end: 3;
        text-align: center;
    }
    .grid-entire-row:nth-child(1)>article:nth-child(odd){
        grid-column-start: 2;

    }
    .grid-entire-row:nth-child(1)>article:nth-child(even){
        grid-column-start: 1;

    }

    #article{
        width: 100%;
    }
    .border-grid-end{
        grid-column-end: 3;
    }
    .footer-column {
        width: 100% !important;
        float: none;
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
}

@media all and (min-width: 0px) and (max-width: 500px){
    .container{
        width: 100%;
    }
    .grid-component{
        display: block;
    }
    .border-grid-end{
        margin-bottom: 40px;
    }

    #article{
        width: 100%;
    }


    .category-grid-container{
        display: block;
    }
    .content-area{
        width: 100%;
    }

    .grid-container{
        grid-template-rows: auto auto auto;
    }
    .grid-component-4{
       display: block;
    }

    .navigation-wrapper.nav-layout-fullwidth {
        display: none;
    }

    .footer-widgets .widget {
        box-sizing: border-box;
        margin-bottom: 20px;
        padding: 0;
        width: 100%;

    }

    .container{
        border-bottom: solid 1px grey;
    }

    .entry-header>.entry-meta,.author>a{
        color: grey;
        text-shadow: none;
        background-color: #f9f7fe;
        border-top: solid 6px #f9f7fe;
    }
    .entry-excerpt {
        color:
                black;
        font-size: 13px;
        font-weight: 300;
        display: none;
    }
    .post-grid>.entry-header,.post-grid>.entry-info{
        /*! position: relative; */
        /*! bottom: 70px; */
        padding: 0%;
    }
    .post-grid {
        width: 100%;
        margin-top: 5%
    }

    #secondary {
        width: 100%;
    }

    .site-header p {
        font-size: 100%;
    }

    .site-logo {

        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;

    }
    .sidebar{
        width: 30%;
    }
    .header-breaking {
        padding: 10px 15px;
        border: none;
        clear: both;
    }
    #masthead.scrolled>div>#site-branding>.has-logo>.site-logo>.custom-logo-link>.custom-logo{
        width: 100%;
    }
    #content{
        margin:0%;
        background-color: rgb(249,247,254);
        border-top-right-radius: 10px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        border-top-left-radius: 10px;
        margin-top: 35%;
    }
    #content > div:nth-child(1){
        position: relative;
        margin-left: 0%;
        margin-right: 0%;
        max-width: 10000000px;
    }

    .post-template-default>#page>div>div>div>main>article>header>.entry-title{
        position: absolute;
        width: 70%;
        top:1%;
        left: 7%;
        font-size: 130%;
        color: white;
        text-shadow: black 1px 0 10px;
        width:auto;
    }

    .post-template-default > #page > div > div > div > main > article > header > .entry-title {
        font-size: 120%;
        width: auto;
        height: 20%;
    }
}
@media all and (min-width: 0px) and (max-width: 1400px){

    .st-effect-1.st-menu-open .st-effect-1.st-menu {
        visibility: visible;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        display: block;
    }
    .st-menu::after {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        content: '';
        opacity: 1;
        -webkit-transition: opacity 0.5s;
        transition: opacity 0.5s;
        display: none;
    }
    #content{
        margin-top: 150px ;
    }
    .grid-component{
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .navigation-wrapper>.container{
        margin:0px;
        padding: 0px;
        margin-left: auto;
        margin-right: auto;
    }
    .navigation-search-wrapper{
        margin: 0px;
        padding: 0px;
    }

    .content-area{
        width: 100%
    }
    #secondary{
        width: 100%;
    }

    .header-breaking {
        padding: 10px 15px;
        border: none;
        clear: both;
    }
    .site-content>.container{
        border:none;
        overflow: scroll;
    }


}
@media all and (min-width: 400px) and (max-width: 500px){
    .post-grid {
        width: 100%;
        margin-top: 5%;
        margin-bottom: 15%;
    }
}
@media all and (min-width: 900px) and (max-width: 1400px){
    #content{
        margin-top: 250px;
    }
}

@media all and (min-width: 0px) and (max-width: 1400px) {
    .top-mobile-menu-button {
        display: block;
    }
    .navigation-wrapper{
        display: none;
    }

    .entry-excerpt p {
        margin-bottom: 0px;
    }
}
@media all and (min-width: 1400px) {
    .top-mobile-menu-button {
        display: none;
    }
}

