 /*
Theme Name: USBC 2023
Author: Akatomy
*/

/* Reset CSS
 * --------------------------------------- */
 
* {
    box-sizing: border-box;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
    padding: 0;
    margin: 0;

}
a{
  text-decoration:none;
  color: inherit;
  cursor: pointer;
}
table {
    border-spacing: 0;
}
fieldset,img {
    border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
    font-weight: normal;
    font-style: normal;
}
strong{
  font-weight: bold;
}
nav ol, nav ul {
    list-style: none;
    margin:0;
    padding:0;
}
caption,th {
    text-align: left;

}
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-size: 100%;
    margin:0;
    padding:0;
    color:#333;
}
q:before,q:after {
    content:'';
}
abbr,acronym { border: 0;
}

/* Global
 * --------------------------------------- */

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

.container {
    padding: 50px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.homeContainer {
    background-image: linear-gradient(to bottom, #f5f4f3, #fff);
}

    .homeContainer > div.homeIntro {
        padding: 50px 50px 30px 50px;
        max-width: 1600px;
        margin: auto;
        text-align: center;
        border-bottom: 1px dotted #d12d7c;
        background: linear-gradient(to right,rgba(255,255,255,0),rgba(209, 45, 124, 0.1) 10%, rgba(209, 45, 124, 0.3),rgba(209, 45, 124, 0.1) 90%, rgba(255,255,255,0));
    }

@media screen and (max-width: 900px) {

    .homeContainer > div.homeIntro {
        padding: 30px 30px 10px 30px;
    }

}

    .homeContainer > div.homeIntro p {
        font-size: 18px;
        line-height: 24px;
    }

    .homeContainer > div.homeIntro ul {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-wrap: wrap;
    }

    .homeContainer > div.homeIntro ul li {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-family: 'Anton', sans-serif;
        color: #575757;
        padding: 20px;
        flex: 1 1 0;
        flex-basis: 20%;
    }

    .homeContainer > div.homeIntro ul li span.number {
        font-family: 'Anton', sans-serif;
        position: relative;
        font-size: 36px;
        line-height: 42px;
        color: #d12d7c;
    }

    .homeContainer > div.homeColumns {
        display: flex;
        align-items: flex-start;
        padding: 50px;
        max-width: 1600px;
        margin: auto;
    }

@media screen and (max-width: 900px) {

    .homeContainer > div.homeColumns {
        flex-direction: column;
        padding: 30px;
    }

}

        .homeContainer > div.homeColumns > div:nth-child(1) {
            flex-basis: 60%;
        }

        .homeContainer > div.homeColumns > div:nth-child(1) > div {
            padding-right: 60px;
        }

        .homeContainer > div.homeColumns > div:nth-child(2) {
            flex-basis: 40%;
        }

        .homeContainer > div.homeColumns > div:nth-child(2) > div {
            text-align: center;
        }

@media screen and (max-width: 900px) {

    .container {
        padding: 30px;
    }

        .homeContainer > div.homeColumns > div:nth-child(1) {
            flex-basis: 100%;
            width: 100%;
        }

        .homeContainer > div.homeColumns > div:nth-child(1) > div {
            padding-right: 0px;
        }

        .homeContainer > div.homeColumns > div:nth-child(2) {
            flex-basis: 100%;
            width: 100%;
        }

}

.container p:not(:last-child), .container ul:not(:last-child) {
    margin-bottom: 24px;
}

.container a {
    color: #d12d7c;
    text-decoration: underline;
    transition: 0.2s
}

    .container a:hover {
        color: #000;
        text-decoration: none;
    }

.container ul {
    list-style: disc inside;
}

body {
 	background-color: #fff;
    color: #000;
    font-family: 'Nunito Sans', sans-serif;
    position: relative;
    font-size: 16px;
    line-height: 22px;
}

header {
    padding: 10px 40px;
}

header .siteLogo img {
    width: 100px;
    height: auto;
}

@media screen and (max-width: 900px) {

    header {
        padding: 10px 20px;
    }

    header .siteLogo img {
        width: 100px;
    }

}

@media screen and (max-width: 640px) {

    header .siteLogo img {
        width: 60px;
    }

}

header > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header > div nav.mainMenu ul, header > div nav.burgerMenu ul {
    display: flex;
    justify-content: center;
    font-family: 'Anton', sans-serif;
    color: #575757;
    text-transform: uppercase;
    font-size: 20px;
}

header > div nav.mainMenu > ul > li {
    padding: 15px;
    position: relative;
    display: block;
    }

header > div nav.mainMenu > ul ul {
    display: none;
}

header > div nav.mainMenu > ul > li:hover, header > div nav.mainMenu > ul > li.current_page_item {
    background: #d12d7c;
    color: #fff;
}

header > div nav.mainMenu > ul > li:hover ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 300%;
    font-size: 0.85em;
    top: 100%;
    left: 0px;
    background: #d12d7c;
    color: #fff;
    z-index: 30;
}

header > div nav.mainMenu span, header > div nav.burgerMenu span {
    cursor: pointer;
}

header > div nav.mainMenu > ul > li:hover ul li {
    padding: 10px 20px;
}

header > div nav.mainMenu > ul > li:hover ul li:hover {
    background: #333;
}

header > div nav.mainMenu > ul > li:hover ul li:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

header > div nav.subMenu ul {
    display: flex;
    justify-content: flex-end;
    font-family: 'Anton', sans-serif;
    color: #d12d7c;
    text-transform: uppercase;
    font-size: 20px;
    align-items: center;
}

header > div nav.subMenu ul a img {
    transition: 0.2s;
}

header > div nav.subMenu ul a:hover {
    color: #575757;
}

header > div nav.subMenu ul a:hover img {
    transform: rotate(360deg);
    filter: brightness(0);
}

header > div nav.subMenu ul li:not(first-child) {
    padding-left: 20px;
}

.burger, header > div nav.burgerMenu {
    display: none;
}

@media screen and (max-width: 1280px) {

    .burger {
        display: block;
    }

    .hideOnMobile {
        display: none;
    }

    header > div nav.mainMenu {
        display: none;
    }

    header > div nav.burgerMenu {
        display: block;
        position: fixed;
        z-index: 2000;
        background: #d12d7c;
        top: 0;
        bottom: 0;
        left: -100%;
        width: 100%;
        padding: 30px;
    }

    header > div nav.burgerMenu ul {
        display: flex;
        flex-direction: column;
        position: relative !important;
        top: auto !important;
        color: #fff !important;
    }

    header > div nav.burgerMenu > ul > li {
        padding: 10px 0px;
    }

    header > div nav.burgerMenu > ul > li  a {
        display: block;
    }

    header > div nav.burgerMenu > ul > li:hover ul {
         width: 100%;
     }

    header > div nav.burgerMenu > ul> li:hover > a {
        color: #333;
    }

    header > div nav.burgerMenu > ul > li ul {
        display: none;
        font-size: 0.7em;
        color: #fff;
        margin-top: 10px;
    }

    header > div nav.burgerMenu > ul > li ul li {
        padding: 5px 10px;
    }

    header > div nav.burgerMenu > ul li ul li:hover {
        background: #333;
        padding: 5px 10px !important;
    }

    header > div nav.burgerMenu > ul > li:hover ul li {
        padding: 5px 10px !important;
    }

    header > div nav.burgerMenu > ul > li ul li {
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    header > div nav.burgerMenu > ul > li ul li:first-child {
        border-top: 1px solid rgba(255,255,255,0.2);
    }

}

h1 {
    font-size: 60px;
    line-height: 66px;
    display: block;
    font-family: 'Anton', sans-serif;
    color: #ffff;
    font-style: italic;
    text-transform: uppercase;
    margin: 0px 0px 24px; 
    z-index: 2;
    position: relative;
}

div.doubleTitleH1 {
    position: relative;
    width: 100%;
    max-width: 1600px;
}

div.doubleTitleH1.centered {
    display: inline-block;
}

    div.doubleTitleH1 span {
        font-size: 60px;
        line-height: 66px;
        position: absolute;
        top: -10px;
        left: -10px;
        font-family: 'Anton', sans-serif;
        color: rgba(255, 255, 255, 0);
        text-transform: uppercase;
        opacity: 0.2;
        z-index: 1;
        text-stroke: 1px #fff;
        -webkit-text-stroke: 1px #fff;
        text-fill-color: rgba(255, 255, 255, 0);
        padding-right: 10px;
    }

@media screen and (max-width: 640px) {

    h1 {
        font-size: 40px;
        line-height: 46px;
    }

        div.doubleTitleH1 span {
            font-size: 40px;
            line-height: 46px;
        }

}

h2 {
    font-size: 30px;
    line-height: 36px;
    display: block;
    font-family: 'Anton', sans-serif;
    color: #d12d7c;
    font-style: italic;
    text-transform: uppercase;
    margin: 0px 0px 40px; 
    z-index: 2;
    position: relative;
}

.container h2 {
    margin-bottom: 30px;
}

.container h2:not(:first-child) {
    margin-top: 50px;
}

div.doubleTitleH2 {
    position: relative;
}

div.doubleTitleH2.centered {
    display: inline-block;
}

    div.doubleTitleH2 span {
        font-size: 30px;
        line-height: 36px;
        position: absolute;
        top: -10px;
        left: -10px;
        font-family: 'Anton', sans-serif;
        color: #fff;
        text-transform: uppercase;
        opacity: 0.2;
        z-index: 1;
        text-stroke: 1px #d12d7c;
        -webkit-text-stroke: 1px #d12d7c;
        text-fill-color: #fff;
        padding-right: 10px;
    }

h3 {
    font-size: 24px;
    font-family: 'Anton', sans-serif;
    color: #d12d7c;
    margin: 0px 0px 20px; 
}

section.mast {
    background-position: center center;
    background-size: cover;
    padding: 80px;
}

@media screen and (max-width: 900px) {

    section.mast {
        padding: 50px;
    }

}

article.actuItem {
    margin-bottom: 30px;
}

article.actuItem > div {
    display: flex;
}

p.date {
    margin-bottom: 5px !important;
    font-size: 12px;
    text-transform: uppercase;
    color: #575757;
    font-family: 'Anton', sans-serif;
}

.single-post p.date {
    margin-bottom: 30px !important;
}

article.actuItem img {
    width: 200px;
    height: auto;
    margin: 0px 30px 0px 0px;
}

article.actuItem:not(:last-child):after {
    display: block;
    content: "";
    height: 1px;
    overflow: hidden;
    background-color: rgba(209,45,124,0.2);
    margin: 30px 0px;
    width: 100%;
}

@media screen and (max-width: 640px) {

    article.actuItem > div {
        flex-direction: column;
    }

    article.actuItem img {
        width: 100%;
        height: auto;
        margin: 0px 0px 30px 0px;
    }

}

article p:not(:last-child) {
    margin-bottom: 16px;
}

.actuItem p a:not(.more) {
    text-decoration: underline;
    color: #d12d7c;
}

    .actuItem p a:not(.more):hover {
        text-decoration: none;
    }

a.more {
    font-family: 'Anton', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #d12d7c;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: 0.2s;
}

a.more:after {
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    background-image: url(../img/ball.svg);
    background-size: cover;
    margin-left: 6px;
    transition: 0.2s;
}

a.more:hover {
    color: #000;
}

a.more:hover:after{
    transform: rotate(360deg);
    filter: brightness(0);

}

ul.partenaires {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

    ul.partenaires li {
        padding: 20px;
    }

    ul.partenaires img {
        height: 100px;
        width: auto;
    }

@media screen and (max-width: 640px) {

    ul.partenaires img {
       max-width: 100%;
       height: auto;
       max-height: 60px;
    }

}

footer > div.footerContent {
    padding: 10px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: rgba(209,44,123,0.85);*/
    color: #d12d7c;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

@media screen and (max-width: 640px) {

    footer > div.footerContent {
       flex-direction: column;
    }

}

.close {
    display: none;
    cursor: pointer;
}

@media screen and (max-width: 1280px) {

    .close {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        z-index: 10;
        color: #fff;
        font-weight: bold;
        text-decoration: underline;
    }

}

.listeCA {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
}

.listeCA article {
    flex-basis: calc(100% / 3);
    padding: 20px;
}

@media screen and (max-width: 1440px) {

    .listeCA article {
        flex-basis: calc(100% / 3);
    }

}

@media screen and (max-width: 1024px) {

    .listeCA article {
        flex-basis: 50%;
    }

}

@media screen and (max-width: 640px) {

    .listeCA article {
        flex-basis: 100%;
    }

}

.aligncenter img {
    margin-bottom: 30px;
}

@media screen and (min-width: 1281px) {

    .mobileOnly {
        display: none !important;
    }

}

.convocations {
    padding: 12px 30px;
    background: #d12d7c;
    color: #fff;
    text-align: center;
}

    .convocations a {
        font-family: 'Anton', sans-serif;
        color: #fff;
        text-transform: uppercase;
        font-size: 20px;
    }

    .convocations a:hover {
        color: #000;
    }

/*figure.wp-block-gallery {
    justify-content: center !important;
}

figure.wp-block-gallery .wp-block-image {
    flex-grow: 0 !important;
    width: auto !important;
}

figure.wp-block-gallery .wp-block-image img {
    height: 220px !important;
    width: auto !important;
    object-fit: contain !important;
    max-width: auto !important;
    flex: 0 0 auto !important;
}

@media screen and (max-width: 640px) {

    figure.wp-block-gallery {
        flex-direction: column;
    }

}*/

/*.@media screen and (max-width: 1024px) {

    .burger, .close {
        display: block;
    }

    .close {
        position: absolute;
        top: 60px;
        right: 40px;
    }

    #menu-container {
        position: fixed;
        z-index: 2000;
        background: #f15a29;
        top: 0;
        bottom: 0;
        left: -100%;
        width: 100%;
    }

        #menu-container nav {
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 100%;
        }

        #menu-container ul {
            flex-direction: column;
            justify-content: center;
            padding: 20px;
            text-align: center;
            text-transform: uppercase;
            font-weight: 500;
            color: #fff; 
            letter-spacing: 0.5px;
            list-style: none;
        }

        #menu-container ul li:not(:first-child) {
            margin-left: 0px;
            border-top: 1px solid #fff;
        }

        #menu-container > nav > ul  li {
            padding: 20px 0px;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 500;
            color: #fff;
        }

        #menu-container ul li a {
            color: #fff;
        }

}*/