/*
 Theme Name:   Thème - Collège de la Largue
 Template:     wp-bootstrap-starter
*/


/*
main color :#3E0524;

*/

@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
.slick-slide {
    padding-left: 15px;
    padding-right: 15px;
}


/* Reset */

.edit-link,
.elementor-editor-active .w-sc {
    display: none !important;
}

a {
    text-decoration: none !important;
    color: #3E0524;
}


/* End reset */

body {
    font-family: 'Roboto', sans-serif;
}

h1 {
    font-size: 1.9rem !important;
    border-bottom: none !important;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.1rem;
}

.w-weight-300 {
    font-weight: 300;
}

.w-weight-400 {
    font-weight: 400;
}

.w-weight-700 {
    font-weight: 700;
}


/* Header */

#masthead {
    background-color: #fff !important;
}

#masthead a {
    font-size: 0.95rem !important;
    color: #000 !important;
}

#madhead .dropdown-menu li {
    font-size: 0.80rem !important;
}

body:not(.theme-preset-active) #masthead .navbar-nav>li>a {
    padding: 0.5rem 1rem !important;
}

body:not(.theme-preset-active) #masthead .navbar-nav>li>a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav>li.current_page_item>a {
    color: #3E0524!important;
}

#masthead+header.entry-header {
    text-align: center;
    padding: 4rem;
    box-shadow: inset 2000px 0 0 0 rgba(44, 54, 152, 0.75);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /*background-image: url("w-img/bg-matiere-1.jpg");*/
}

#masthead+header.entry-header h1 {
    color: #fff;
    margin: 0;
    padding: 0;
}


/* Articles */

.w-loop-shadow {
    -webkit-box-shadow: 0px 0px 3px 0px rgba(219, 219, 219, 1);
    -moz-box-shadow: 0px 0px 3px 0px rgba(219, 219, 219, 1);
    box-shadow: 0px 0px 3px 0px rgba(219, 219, 219, 1);
    margin: 0.5rem;
}

.w-loop-inner {
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    color: #000;
    background-color: #fff;
}

.w-loop-img {
    position: relative;
}

.w-loop-label {
    position: absolute;
    top: 20px;
    left: 0;
    padding: 5px 10px;
    color: #fff;
    background-color: #3E0524;
}

.w-loop-date {
    margin-top: 10px;
    font-size: 0.85rem;
}

.w-loop-name {
    color: #3E0524;
    margin-bottom: 10px;
}

.w-loop-excerpt {
    font-size: 0.95rem;
    line-height: normal;
}


/* Enseignements */

.w-matiere-inner {
    padding: 4rem 0;
    font-size: 1.15rem;
    color: #fff;
    box-shadow: inset 2000px 0 0 0 rgba(0, 0, 0, 0.5);
    background-repeat: no-repeat;
}

.w-matiere:nth-child(2n+1) .w-matiere-inner {
    background-image: url("w-img/bg-matiere-1.jpg");
}

.w-matiere:nth-child(2n+0) .w-matiere-inner {
    background-image: url("w-img/bg-matiere-2.jpg");
}


/* Footer */

.w-footer {
    font-size: 0.9rem;
    padding: 2rem;
    color: #4d4d4d !important;
    background-color: #f5f5f5 !important;
}

.w-footer a {
    color: #4d4d4d !important;
}

.w-footer-inner h3 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.w-footer-inner h3::before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 40px;
    height: 4px;
    border-radius: 10px;
    background-color: #3E0524;
}

.w-footer .sub-footer {
    font-size: 0.8rem;
}


/* Widgets */

.w-cours-fichiers h3 {
    margin-bottom: 15px;
}

.w-recents-posts-inner ul,
.w-cours-fichiers ul {
    margin: 0;
    padding-left: 20px !important;
}

.w-cours-fichiers li {
    padding-bottom: 5px;
}

.w-cours-fichiers-inner {
    padding: 1.5rem;
    background-color: #3E0524;
}

.w-cours-fichiers-inner * {
    color: #fff !important;
}


/* Recents */

.w-recents-posts-inner {
    padding: 1.5rem;
    background-color: #f5f5f5;
}

.w-recents-posts-inner li {
    padding-top: 5px;
}


/* Slick */

.slick-prev:before,
.slick-next:before {
    color: #4d4d4d;
}


/* Home */

.home .w-sc h2 {
    color: #3E0524 !important;
}


/* Contact form */

.wpcf7 .wpcf7-form label,
.wpcf7-form input[type="submit"] {
    width: 100%;
}


/* Nav */

@media screen and (max-width:1200px) {
    #main-nav li:not(:first-child) {
        border-top: 1px solid #d4d4d4;
    }
}

.btn-primary {
    background-color: #3E0524 !important;
    border: 1px solid#3E0524 !important;
}

.btn-primary:hover {
    background-color: #18216d !important;
    border: 1px solid #18216d !important;
}