/*
Theme Name: Drawingrubber-2018
Author: DanDan
Description: base
Version: 1.0
Text Domain: Drawingrubber Dan-Dan 2018
*/


/*
    font-family: 'Gothic A1', sans-serif;
    font-family: 'Puritan', sans-serif;
    font-family: 'Pavanam', sans-serif;
*/

#bg-loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    top: 0;
    left: 0;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    text-transform: uppercase;
}

#loader {
    position: absolute;
    display: inline-block;
    text-align: center;
    width: 40px;
    top: 50%;
    left: 50%;
    margin-left: -20px;
}

#loader img {
    display: block;
    margin: 0 auto 10px auto;
    width: 40px;
    height: auto;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

.smart {
    display: none;
}

html,
body {
    height: 100%;
}

body {
    position: relative;
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Gothic A1', sans-serif;
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 1);
}

a {
    transition: 0.4s;
    text-decoration: none;
}

.alignleft {
    float: left;
    margin: 0 40px 0 0;
}

.alignright {
    float: right;
    margin: 0 0 0 40px;
}

.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}


/*------------- HEADER ---------------*/

.header {
    position: relative;
    width: 90%;
    height: 210px;
    margin: 0 auto;
    padding: 0;
    padding: 30px 0 20px;
    display: block;
}

.header-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    width: 150px;
    height: auto;
    position: relative;
}

.header-logo img {
    width: 150px;
    height: auto;
    opacity: 0.8;
}


/*------------- Contenu --------------*/

.main {
    position: relative;
    width: 90%;
    margin: 0 5% 100px 5%;
    padding: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.main-contact {
    position: relative;
    display: block;
    width: 90%;
    margin: 0 5% 0 5%;
    padding: 0;
}

.contact-left {
    margin: 0 0 0 7%;
    float: left;
    width: 13%;
}

.contact-left img {
    width: 100%;
    height: auto;
    opacity: 0.7
}

.contact-right {
    width: 100%;
}

.slideshow {
    position: relative;
    width: 100%;
    /*height: 640px;*/
    background-color: rgba(255, 255, 255, 1);
}

.contenu {
    padding: 40px 0 0 0;
    width: 64%;
    margin: 0 auto;
}

.contenu p {
    padding: 0 0 20px 0;
    margin: 0;
    font-family: 'Gothic A1', sans-serif;
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.8);
}

.contenu p a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

.colonne {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: 0.6s;
}

.colonne-x2 {
    width: 35%;
    margin: 0 3.5%;
    float: left;
    transition: 0.6s;
}

.colonne-x2 img {
    width: 100%;
    height: auto;
    transition: 0.6s;
}

@media screen and (max-width: 1300px) {
    .colonne-x2 {
        width: 40%;
        margin: 0 2.5%;
        float: left;
        transition: 0.6s;
    }
    .colonne-x2 img {
        width: 100%;
        height: auto;
        transition: 0.6s;
    }
}

@media screen and (max-width: 1180px) {
    .colonne-x2 {
        width: 40%;
        margin: 0 2.5%;
        float: left;
        transition: 0.6s;
    }
    .colonne-x2 img {
        width: 100%;
        height: auto;
        transition: 0.6s;
    }
}

@media screen and (max-width: 900px) {
    .contenu {
        padding: 40px 0 0 0;
        width: 78%;
        margin: 0 auto;
        transition: 0.6s;
    }
    .colonne {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        transition: 0.6s;
    }
    .colonne-x2 {
        width: 70%;
        margin: 0 auto;
        transition: 0.6s;
    }
    .colonne-x2 img {
        width: 100%;
        height: auto;
        transition: 0.6s;
    }
}

.contenu p a:hover {
    color: rgba(255, 255, 255, 1);
}

.contact-right p {
    padding: 0 0 20px 0;
    margin: 0;
    font-family: 'Gothic A1', sans-serif;
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 12px;
    line-height: 23px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-right p a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

.contact-right p a:hover {
    color: rgba(255, 255, 255, 1);
}

.contenu h6 {
    padding: 30px 0 60px 0;
    margin: 0;
    font-family: 'Gothic A1', sans-serif;
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 13px;
    line-height: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.main-page {
    position: relative;
    display: block;
    width: 90%;
    margin: 0 5% 0 5%;
    padding: 0;
}

.main-page p {
    padding: 0;
    margin: 0;
    font-family: 'Gothic A1', sans-serif;
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.8);
}

.main-page p a {
    text-decoration: none;
    padding: 0 0 20px 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.main-page p a:hover {
    color: rgba(255, 255, 255, 1);
}


/* Carousel */

#slide-accueil {
    width: 100%;
    margin: 0;
    padding: 0;
}


/*------------- MENU -------------------*/

.nav {
    position: relative;
    margin: 0;
    padding: 0;
    width: 40%;
    display: flex;
    justify-content: flex-end;
}

.nav ul {
    z-index: 200;
    margin: 0;
    padding: 0;
    text-indent: 0;
    /*flex-wrap: wrap;
	justify-content: left;
	align-items: flex-start;*/
}

.nav li {
    display: block;
    float: left;
    margin: 0;
    text-decoration: none;
    position: relative;
}

.nav li a {
    font-family: 'Gothic A1', sans-serif;
    font-size: 15px;
    line-height: 18px;
    font-weight: normal;
    font-style: normal;
    position: relative;
    display: block;
    padding: 4px 11px 2px;
    margin: 0px 8px 2px 0;
    text-decoration: none;
    /*text-transform: uppercase;*/
    color: rgba(255, 255, 255, 0.8);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-bottom: 1px solid rgba(83, 71, 65, 0);
    border-radius: 0px;
}

.nav li a:hover {
    border-bottom: 1px solid rgba(83, 71, 65, 1);
}

.nav .current-menu-item>a,
.nav li .current-menu-item>a .nav .current-menu-ancestor>a,
.nav li .current-menu-ancestor>a,
.nav .current_page_item>a,
.nav li .current_page_item>a,
.nav .current_page_ancestor>a,
.nav li .current_page_ancestor>a,
.nav .current-category-ancestor a,
.nav .current-post-ancestor a,
.nav li .current-post-ancestor a {
    border-bottom: 1px solid rgba(83, 71, 65, 1);
}


/*.nav li .current-menu-item,
.nav .current-menu-item>a,
.nav li .current-menu-item>a .nav .current-menu-ancestor>a,
.nav li .current-menu-ancestor>a,
.nav .current_page_item>a,
.nav li .current_page_item>a,
.nav .current_page_ancestor>a,
.nav li .current_page_ancestor>a,
.nav .current-category-ancestor a,
.nav .current-post-ancestor a,
.nav li .current-post-ancestor a {
  border: 1px solid rgba(255,255,255,0.5);
	background: rgba(101, 101, 101, 1) !important;
}*/

.nav li ul {
    min-width: 350px;
    background-color: rgba(53, 11, 63, 1);
    display: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: 26px;
    left: 0;
    z-index: 800;
}

.nav ul li:hover>ul {
    border-left: 0;
    display: block;
}

.nav li ul li {
    clear: both;
}

.nav li ul li a {
    clear: both;
    font-family: 'Gothic A1', sans-serif;
    font-size: 15px;
    line-height: 18px;
    font-weight: normal;
    font-style: normal;
    position: relative;
    display: block;
    padding: 4px 11px 2px;
    margin: 0px 8px 2px 0;
    text-decoration: none;
    color: rgba(255, 255, 255, 1);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 0px;
}

.nav li ul li:hover {}

#slide-accueil .item {
    height: 450px;
}

.owl-carousel .owl-item img {
    height: 450px;
    width: auto;
}

.owl-controls {
    height: 0;
}

.owl-nav {
    height: 3px;
    position: absolute;
    top: calc(50% - 50px / 2);
    left: 0;
    right: 0;
}

.owl-prev {
    float: left;
    margin: 0 0 0 30px;
    background: url(images/fleche-gauche.svg) no-repeat center center;
    opacity: 0.2;
}

.owl-next {
    float: right;
    margin: 0 30px 0 0;
    background: url(images/fleche-droite.svg) no-repeat center center;
    opacity: 0.2;
}

.owl-next:hover,
.owl-prev:hover {
    opacity: 0.7;
}

.owl-theme .owl-controls .owl-nav [class*=owl-] {
    color: #fff;
    font-size: 0px;
    margin: 0 30px;
    padding: 0;
    display: inline-block;
    cursor: pointer;
    width: 28px;
    height: 35px;
}

.modal-dialog {
    position: relative;
    min-height: 90%;
    align-items: center;
    margin: 0;
    pointer-events: none;
}

.modal-body {
    position: relative;
    flex: none;
    padding: 0;
    text-align: center;
}

.modal-body img {
    height: 70%;
    width: auto;
}

.modal-header {
    width: 90%;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}