/*
 Theme Name:   Makr Child
 Theme URI:    http://highgradelab.com
 Description:  Makr Child Theme
 Author:       HighGrade
 Author URI:   http://highgradelab.com
 Template:     makr
 Version:      1.0.0
 License:      Commercial
 License URI:  http://themeforest.net
 Tags:         light, dark, white, one-column, two-columns, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, theme-options, translation-ready
 Text Domain:  makr-child
*/

/* ---------- Général ---------- */

strong {
    color: #3256A2;
}


p a:hover {
    text-decoration: underline;
}

div .wp-caption-text {
    background-color: white;
    color: grey;
    font-size: 10px;
    position:relative;
    text-align:center;
    font-style:italic;
}

.desaturate, .desaturate_logo img{
   -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   -ms-transition: all 0.3s ease-out;
   transition: all 0.3s ease-in-out;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.desaturate:hover, .desaturate_logo img:hover{
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

#social-link p a:hover {
    text-decoration: none !important;
}



/* ---------- / Général ---------- */

/* ---------- Menu ---------- */

#main_navbar .menu-item-language {
    border-left: 1px solid black;
}

#main_navbar a:hover {
    text-decoration: underline;
}

#main_navbar .menu-facebook {
    background-color: #3b5998;
}

#main_navbar_container ul.main_navbar .menu-don {
    background-color: #3256A2;
}

#main_navbar_container ul.main_navbar .menu-don a {
    color: white;
}

/* ---------- / Menu ---------- */

/* ---------- Pages ---------- */

.page_title_container {
    padding: 180px 0 180px 0;
}

.page-title-bg {
    background-color: #3256A2;
    padding: 8px 25px 15px 25px;
    color: white;
}

/* -------- / Pages ---------- */

/* ---------- Blog ---------- */

.blog_post_content {
    margin-bottom: 100px !important;
}

.blog_post_image_left {
    padding-left: 40px !important;
}

.blog_post_image_right {
    padding-right: 40px !important;
}

.blog_post_excerpt_left {
    border-right-width: 3px !important;
    padding-right: 30px !important;
    border-right-color: #383838 !important;
    border-right-style: solid !important;
}

.blog_post_excerpt_right {
    border-left-width: 3px !important;
    padding-left: 30px !important;
    border-left-color: #383838 !important;
    border-left-style: solid !important;
}

.post_meta {
    text-transform: uppercase;
    margin-left: 0px;
    margin-top: 0px;
    height: 40px;
    line-height: 40px;
    padding: 0 0;
    top: 0px;
    text-align: right;
    position: absolute;
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

.post_meta p a {
    font-weight: bold;
    color: #3256A2;
}

.post_meta_left {
    left: 0px;
    -webkit-transform: translateX(-100%) rotateZ(-90deg);
    -ms-transform: translateX(-100%) rotate(-90deg);
    transform: translateX(-100%) rotateZ(-90deg);
}

.post_meta_right {
    right: 0px;
    -webkit-transform: translateX(-100%) rotateZ(-90deg);
    -ms-transform: translateX(-100%) rotate(-90deg);
    transform: translateX(-100%) rotateZ(-90deg);
    -webkit-transform: rotateZ(-90deg) translateY(-100%);
    -ms-transform: rotate(-90deg) translateY(-100%);
    transform: rotateZ(-90deg) translateY(-100%);
}

.single_post_meta p a {
	color: #737373;
}

h2 a:hover {
    text-decoration: underline;
}

.post_cat {
    top: 0;
    width: 100%;
    white-space: normal;
    padding: 15px 20px 0;
    vertical-align: top;
    position: absolute;
    display: inline-block;
}

.post_cat_right {
    left: 17px;
}

.post_cat_left {
    left: 56px;
}

.blog .post_cat a, 
.category .post_cat a,
.author .post_cat a {
    color: white;
    background-color: #3256A2;
    border: 1px solid #3256A2;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    padding: 9px 15px 7px;
    margin-top: 4px;
    margin-right: 4px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.1;
    display: inline-block;
    text-transform: uppercase;
}

.post_cat a:hover {
    color: #3256A2;
    background-color:transparent;
    text-decoration: none !important;
}
.post_more {
    display: inline-block;
    font-size:36px;
    font-family: "Playfair Display";
    color: #3256A2 !important;
    -webkit-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
}
.post_more:hover {
    transition: 0.2s;
    -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
.post_more:hover {
    text-decoration: none !important;
}
/* ------- / Blog ---------- */

/* ------- Thème Makr ---------- */
.wpcf7-submit {
    margin-top: 25px !important;
    width: 16% !important;
    margin-right: 43% !important;
    border-radius: 27px !important;
}

.wpcf7 input[type="email"] {
    width: 48% !important;
    margin-right: 2% !important;
}

.wpcf7-textarea {
    width: 99% !important;
}

.wpcf7 input[type="text"] {
    width: 49% !important;
    float: left;
    margin-right: 1% !important;
}
.cd-primary-nav {
    text-align: center !important;
}
.image-hover {
   -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   -ms-transition: all 0.3s ease-out;
   transition: all 0.3s ease-in-out;
   opacity:0.3;
}
.image-hover:hover {
   opacity:1;
}
.image-color {
       -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   -ms-transition: all 0.3s ease-out;
   transition: all 0.3s ease-in-out;
   opacity:1;
}
.image-color:hover {
  opacity:0.5;
}

/* ---------- Visual Composer ---------- */

.wpb_text_column p a:hover {
    text-decoration: underline;
}
.wpb_text_column h4 {
    margin-bottom: 20px;
}

/* Section */
.vc_section.vc_section-has-fill, .vc_section.vc_section-has-fill+.vc_row-full-width+.vc_section, .vc_section.vc_section-has-fill+.vc_section {
    padding-top: 0px !important;
}

.vc_section {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

/* Accordeon */
.vc_tta-panel-title {
    text-transform: none;
    letter-spacing: 0px;
    font-weight: normal;
}

/* HotSpot */
.cq-tooltip[data-tooltip]:before, .cq-tooltip[data-tooltip]:after {
    opacity: 0;
}

.page .tooltipster-shadow {
    color: #737373;
}

.page .tooltipster-content h2, .page .tooltipster-content h3, .page .tooltipster-content h4, .page .tooltipster-content h5 {
    margin: 8px 0px 25px;
}

.page .tooltipster-content p {
    line-height: 150%;
    margin: 7px 0;
}


/* ---------- Footer ---------- */

.mc4wp-alert, .mc4wp-success {
	color: white;
	text-align: center;
}

/* ---------- Responsive ---------- */

@media screen and (max-width: 479px) {
	h1, .megamenu h1 {
    	line-height: 45px !important;
    	font-size: 40px !important;
	}

	.vc_section,
	.vc_section.vc_section-has-fill, .vc_section.vc_section-has-fill+.vc_row-full-width+.vc_section, .vc_section.vc_section-has-fill+.vc_section {
		margin-top:0px !important;
	}
}
