/*
Theme Name: Formations
Author: Catalyst Webdesign
Description: Thème pour les formations de Catalyst Webdesign
Version: 1.0

*/

/* GENERAL region*/

body {
    margin: 0;
    padding: 0;
    background: #0a7582;
    background: linear-gradient(229deg, #0a7582, #55958d, #08656d, #13877d);
    color: #111111;
    font-family: p22-underground, sans-serif;
    min-height: 100vh;
}


img {
    max-width: 100%;
}

/* * * Listes region*/
header ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

main li {
    margin-bottom: 10px;
}

p {
    line-height: 1.3em;
}


/*endregion*/

/* * * Boutons et liens region*/

a {
    text-decoration: none;
    color: #111111;
    transition: .5s;
}

a:hover {
    color: #000000;
}


/*endregion*/

/* * * Wrapper region*/
.wrapper {
    width: 1200px !important;
    max-width: 90% !important;
    margin: 50px auto;
    position: relative;
    background: white;
    padding: 40px;
    box-shadow: 0 0 15px white;
    box-sizing: border-box;
}

.single-product .wrapper {
    margin: 0 auto 50px auto;
}


.wrapper::after {
    content: "";
    position: absolute;
    z-index: -1;
    background: transparent;
    border: 1px solid white;
    width: calc(100% + 8.5px);
    height: calc(100% + 8px);
    top: -4px;
    left: -5px;
    box-shadow: 0 0 15px white;
}

/*endregion*/

/*endregion*/

/* HEADER region*/

/* * GENERAL region*/

header {
    position: relative;
    padding: 30px;
}

header .logo {
    margin: 30px;
    position: absolute;
    top: 0;
    left: 0;
}

header h1 {
    color: white;
    display: inline-block;
    position: relative;
    font-weight: 300;
}

header h1 img {
    height: auto;
    display: block;
    margin: 0 auto;
}

.desktop header h1 img {
    width: 10vw;
    max-width: 200px;
}

.mobile header h1 img {
    width: 70vw;
}

header h1 p {
    font-size: 9px;
    position: absolute;
    right: 7%;
    margin: 0;
}

header .titre {
    text-align: center;
    color: white;
}

header h2 {
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    margin: 30px auto;
    padding: 0 10px;
}

.woocommerce-breadcrumb {
    width: 1200px;
    max-width: 90%;
    color: white !important;
    margin: 50px auto 15px auto !important;
}

.woocommerce-breadcrumb a {
    color: white !important;
}

/*endregion*/

/* * NAV region*/

/* * * CONTENT region*/
.desktop header nav .content-menu {
    display: block !important;
}

.mobile header nav .content-menu {
    display: none;
}

/*endregion*/

/* * * UL region*/
header nav #menu-principal {
    display: flex;
    justify-content: center;
}

.mobile header nav #menu-principal {
    flex-direction: column;
    align-items: center;
}

/*endregion*/

/* * * LI region*/
header nav #menu-principal > li {
    padding: 10px 20px;
    font-size: 14px;
}

/*endregion*/

/* * * A region*/
header nav #menu-principal a {
    color: #fff;
    transition: .5s;
}

header nav #menu-principal a:hover {
    color: #cc5a8b;
}

/*endregion*/

/* * * BURGER region*/
.burger {
    width: 30px;
    height: 30px;
    cursor: pointer;
    justify-content: space-between;
    flex-direction: column;
    margin: 10px auto;
    display: flex;
}

.desktop .burger {
    display: none;
}

.burger div {
    background-color: #fff;
    width: 100%;
    height: 5px;
}

/*endregion*/
/*endregion*/

/*endregion*/

/* MAIN region*/

main {
    overflow: hidden;
}

a.button,
button {
    color: #cc5a8b !important;
    text-transform: uppercase !important;
    font-weight: 300 !important;
    font-size: 14px !important;
    padding: 10px 10px 7px 10px !important;
    text-decoration: none !important;
    border: 1px solid white !important;
    transition: .5s !important;
    border-radius: 0 !important;
    background: transparent !important;
}

a.button:hover,
button:hover {
    border: 1px solid #cc5a8b !important;
}


/*endregion*/

/* FOOTER region*/


/*endregion*/

/* PAGES region*/

/* * Front page region*/

.woocommerce-shop .texte-intro-shop {
    text-align: center;
    margin-bottom: 50px;
}

.woocommerce-shop .texte-intro-shop h2 {
    color: #cc5a8b;
}

.woocommerce-shop ul.products {
    display: flex;
    justify-content: space-around;
}

.woocommerce-shop ul.products li {
    text-align: center;
    margin: 0 !important;
    width: 30% !important;
}

.woocommerce-shop ul.products img {
    max-width: 200px;
    margin: 10px auto !important;
}

.woocommerce-shop ul.products li .price,
.woocommerce-shop ul.products li .add_to_cart_button,
.woocommerce-shop .woocommerce-result-count,
.woocommerce-shop .woocommerce-ordering {
    display: none !important;
}

/*endregion*/


/* * Produits region*/

.single-product div.product div.images {
    width: 38% !important;
}

.single-product .product_meta,
.single-product .up-sells,
.single-product #tab-description h2,
.single-product .tabs,
.single-product .qty {
    display: none;
}

.single-product div.product .price,
.single-product div.product .price span {
    color: #cc5a8b !important;
}

.woocommerce-message,
.woocommerce-info {
    border-top-color: #cc5a8b !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #cc5a8b !important;
}

.woocommerce-message a,
.woocommerce-info a {
    border-color: #f6f5f8 !important;
}

.single-product .single_add_to_cart_button {
    margin-left: 0 !important;
}

/*endregion*/

/* * Page 404 region*/
.error404 {}

/*endregion*/

/* * Page Search region*/
.search {}

/*endregion*/

/*endregion*/

/* EXTENSIONS region*/


/*endregion*/

input,
select,
textarea {
    padding: 10px;
    border: 0;
    width: 300px;
    max-width: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    background: white;
    margin: 0 auto;
    font-family: p22-underground, sans-serif;
    outline: 0;
    font-size: 13px;
    display: block;
    min-width: 60px;
}

input[type='checkbox'] {
    width: 12px;
    margin: 5px 5px 5px 0;
    display: inline-block;
}

.single_add_to_cart_button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
    border: 1px solid #cc5a8b !important;
    cursor: pointer;
    background: transparent;
    box-shadow: none;
    color: #cc5a8b;
    transition: .5s !important;
}

.single_add_to_cart_button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
    color: #fff !important;
    background: #cc5a8b !important;

}

.woocommerce-order-overview {
    text-align: center;
    display: flex;
    justify-content: center;
}



.tutor-container {
    width: 1200px !important;
    max-width: 90% !important;
    margin: 50px auto;
    position: relative;
    background: white;
    padding: 40px;
    box-shadow: 0 0 15px white;
    box-sizing: border-box;
}

.tutor-container::after {
    content: "";
    position: absolute;
    z-index: -1;
    background: transparent;
    border: 1px solid white;
    width: calc(100% + 8.5px);
    height: calc(100% + 8px);
    top: -4px;
    left: -5px;
    box-shadow: 0 0 15px white;
}

.tutor-ratings,
.tutor-meta,
.tutor-course-wishlist-btn,
.tutor-course-details-instructors {
    display: none;
}

.tutor-ratio-16x9,
.tutor-ratio-3x2 {
    padding-top: 80% !important;
}

.tutor-course-details-header {
    text-align: center;
}

.tutor-color-success {
    color: #53948D;
}

.tutor-course-thumbnail {
    text-align: center;
}

.tutor-course-details-page .tutor-course-thumbnail img {
    width: 400px;
}

.woocommerce-Addresses header,
.woocommerce-Addresses header h2,
.woocommerce-Addresses header a.edit {
    padding: 0;
    text-align: left;
    color: black;
}

.woocommerce-Addresses header a.edit {
    float: left !important;
    font-size: 10px;
    color: grey;
    margin-bottom: 20px;
}
