/*
 * Theme Name: Gianni Prod Theme
 * Author: AnDongNing
 * Author URI: http://www.prion.fr
 * Description: Theme for Gianni Production Company
 * Version: 1.0
 */


/*
 * BASICS
 */

:root{
    --aqua:     #5abcad;
    --orange:   #f5a358;
    --vertdeau: #b0d6ac;
    --noir:     #1c1c1b;
}

#wpadminbar {
    position: fixed !important;
    top: 0;
}

@font-face {
 font-family: "Agenda Light";
 src: url("./assets/webfonts/Agenda-Light.TTF");
}

@font-face {
 font-family: "Agenda Bold";
 src: url("./assets/webfonts/Agenda-Bold.TTF");
}

@font-face {
 font-family: "Agenda Medium";
 src: url("./assets/webfonts/Agenda-Medium.TTF");
}

.v-hidden {
    visibility: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Agenda Medium";
}

html {
    margin-top: 0px !important;
}

a {
    color: inherit !important;
       text-decoration: none !important;
}

a:hover,
a *:hover {
    color: var(--orange) !important;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Agenda Medium" !important;
    height: auto;

}

main {
    padding-top: 80px;
}


header > h1 {
    display: none;
}

header ul {
    margin: 0;
}

.center {
    left: 0;
    right:0;
    margin: auto;
}

#menu-header li {
    display: inline-block;
    padding: 0 15px;
    vertical-align: center;
}

#primary {
    min-height: 500px;
}

@media (max-width: 768px) {
    #primary .content-area {
        min-height: 300px;
    }
}

.nav-previous,
.nav-next {
    font-size: 2em;
}
/***
 * COLORS
 */

.txt_aqua {
    color: var(--aqua);
}

.txt_orange {
    color: var(--orange);
}

.txt_green {
    color: var(--vertdeau);
}

.txt_black {
    color: var(--noir);
}

.bg_aqua {
    background-color: var(--aqua) !important;
}

.bg_orange {
    background-color: var(--orange) !important;
}

.bg_green {
    background-color: var(--vertdeau) !important;
}

.bg_black {
    color:              #fff !important;
    background-color:   var(--noir) !important;
}

.bg_black a *:hover {
    color: var(--orange);
}

.callback-btn {
    background-color: #5abcad !important;
}

.hover_white:hover {
    color: #fff !important;
}

.hover_aqua:hover {
    color: var(--aqua);
}

.hover_orange:hover {
    color: var(--orange);
}

.hover_green:hover {
    color: var(--vertdeau);
}

.hover_black:hover {
    color: var(--noir);
}

#site-header,
#site-footer {
    color: #FFF;
}

footer {
    min-height: 120px;
    padding-top: 22px;
    padding-bottom:22px;
}

#site-header .header-menu,
#site-header .social-menu {
    font-size: 2.5rem;
}

#site-footer .social-menu li{
    font-size: 2rem;
    text-align: center;
    margin: 0px 28px;
}

@media (max-width: 768px) {
    #site-header-menu {
        text-align: center;
    }

    #site-header-menu.header-menu li{
        margin: 20px 0px;
    }

    #site-header .main-menu,
    #site-header .social-menu {
        font-size: 1.5rem;
    }
    
    #site-footer .main-menu,
    #site-footer .social-menu {
        font-size: 3rem;
    }

    #site-footer .social-menu li{
        font-size: 1.5rem;
    }

    #menu-header-menu li {
        margin-bottom: 12px;
    }

    #site-footer .social-menu li{
        margin: 0px 8px;
    }
}

.social-menu {
    text-align: center;
    margin-top:     24px;
    margin-bottom:     24px;
    width:          auto;
}

.social-menu li {
    text-align: center;
    display: inline-block;
    margin: 0px 10px;
}


/*
 * HEADER & MENU
 */

#site-header {
    left: 0;
    height: 80px;
    width: 100%;
    background-color: #b0d6ac;
}

#visibleHeader {
    position: relative;
    height: 80px;
    margin: 0 50px;
}

@media (max-width: 992px) {
    #visibleHeader {
        margin: 0 15px;
    }
}

#menu-header, 
#menu-footer {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

#menu-header {
    float: right;
    line-height: 80px;
    font-size: 1em;
}

#menu-header #menu-social {
    font-size: 1.2em;
}

#logo {
    float: left;
}

.logo {
    padding: 15px;
}

.logo h1 {
    margin: 0;
}

.logo .img {
	background-image: url('assets/img/logoHeader_white.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	height: 50px;
	width: 140px;
}

.logo .img:hover {
	background-image: url('assets/img/logoHeader_orange.png');
}

.logo img {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .logo {
        top: 10px !important;
        left: 0px !important;
    }

    .logo img {
    }
}

#hiddenHeader > .row,
#site-footer > .row,
main .container-fluid{
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
}

/*
 *
 * BUTTONS LINK
 *
 */

.homeLinkButton {
    position: relative;
    height: 80px;
}

#home .absolute.btn-lg {
    bottom: 15px;
    right: 12px;
    z-index: 1000;
}

@media (max-width: 768px) {
    #home .absolute.btn-lg {
        bottom: 15px;
        right: 12px;
    }
}

/*
 * HOMEPAGE GLOBALS
 */

#home section {
    position: relative;
    overflow: hidden;
}

main h2,
#home section h2 {
    margin-top: 15px;
    margin-bottom: 15px;
    text-align:center;
    font-size: 3em;
    font-weight: 600;
}

@media (max-width: 768px) {
    #home h2 {
        font-size: 1.5rem;
    }
}

/*
 * HOMEPAGE - NEWS SECTION
 */

#home section#news {
    position: relative;
    height: 680px;
}

#home #news ul,
#home #news li{
    list-style-type: circle;
    width: 100%;
    height: 600px;
}

@media (max-width: 768px) {
    #home section#news {
        height: 580px;
    }
    #home #news ul,
    #home #news li{
        height: 500px;
    }
}

#home #news li > div:first-child {
    z-index: 1;
    width: 100%;
    height: inherit;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: local;
    background-size: cover;
}

#home #news li article {
    position: relative;
    height: inherit;
    z-index: 5;
    color: white;
    margin: auto;
}

#home #news .newsTitle {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 42px;
}

#news .newsTitle h2 {
    margin-bottom: 5px;
}

.slideshow-container {
    max-height: calc(100vh - 80px);
    position: relative;
    margin: auto;
    margin-bottom: 0;
}

.mySlides {
    display: none;
}

.mySlides h3 {
    font-family: "Agenda Light";
    position: absolute;
    font-size: 4em;
    bottom: 30px;
    right: 50px;
    color: #FFF;
    text-shadow: 8px 8px 10px #1c1c1b;
}

@media (max-width: 768px) {
    #fp-slide h3 {
        font-size: 1.2em;
        margin-left: auto;
        margin-right: auto;
        right: 0;
        left: 0;
        text-align: center;
        bottom: 10px;
    }
}

@-webkit-keyframes fade {
  0% {opacity: .4}
  100% {opacity: 1}
}

@keyframes fade {
  0% {opacity: .4}
  100% {opacity: 1}
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 2.5s;
  animation-name: fade;
  animation-duration: 2.5s;
}

/*
 * HOMEPAGE - QUI-SOMMES-NOUS SECTION
 */

section#quiSommesNous {
    background-color: #5abcad;
    background-color: #f5a358;
}

section#quiSommesNous .container-fluid{
    color: #f5a358;
    color: #fff;
}

section#quiSommesNous #slogan h2 {
    font-size: 3em;
    font-weight: 700;
}

section#quiSommesNous #slogan h3 {
    color: #FFF;
    font-size: 1.5em;
    font-weight: 300;
    text-align: center;
}

section#contact {
    background-color: #f5a358;
}

.toggleContactForm_container {
    text-align: center;
}

.toggleContactForm_container label,
.toggleContactForm_container textarea,
.toggleContactForm_container input{
    width: 100%;
}

.toggleContactForm-trigger, 
.toggleNewsletterForm-trigger,
.btn-histoire {
    left:0;
    right: 0;
    margin: auto;
    font-weight: 400;
    margin-bottom: 15px;
    max-width: 550px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    color: var(--noir);
    background-color: var(--vertdeau);
    cursor: pointer;
} 

.toggleNewsletterForm-trigger:hover,
.btn-histoire:hover,
.toggleContactForm-trigger:hover{
    color: var(--orange);
    background-color: #fff;
}

.btn-histoire:active,
.toggleNewsletterForm-trigger:active,
.toggleContactForm-trigger:active {
    box-shadow: inset 2px 2px 2px #1c1c1b;
    background-color: #b0d6ac;
    color: #1c1c1b;
}

@media (max-width: 768px) {
    section#quiSommesNous #slogan h2 {
        font-size: 1.2em;
    }
}

.article-loop-header {
    margin-bottom: 8px;
}

article h3 {
    font-size: 1.6rem;
    font-weight: 300;
}

article h3 i{
    font-size: 0.6em;
}

@media (max-width: 768px) {
    article h3 {
        font-size: 1.2rem;
        font-weight: 300;
    }
    
    article h3 i{
        font-size: 0.6em;
    }
}

#home article .excerpt {
    margin-top: 2Px;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    #home article .excerpt {
        font-size: 0.8em;
    }
}
.article-loop {
    margin: 15px 0px;
}

.article-loop-excerpt {
    font-size: 0.8em;
    line-height: 1em;
}

.article-loop-img {
    min-height: 120px;
    overflow: hidden;
}
.centeredImg {
    position: absolute;
    top: 50%;
    left: 50%; 
    height: 100%;
    width: auto;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.single.container,
article.page,
.archive.content-area {
    max-width: 1200px;
    margin-bottom:50px;
    
}

@media (max-width: 768px) {
    .single.container-fluid,
    section.content-area.container-fluid,
    article.page,
    .archive.content-area {
        padding-top: 80px;
    }
}

.offre_price_banner {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 42px; 
    line-height: 42px; 
    text-align: right;
    background-color: #222;
    color: #FFF;
    padding: 0px 10px;
    opacity: 0.6;
}

.offre_price_banner i {
    font-size: 1.1em;
    font-weight: bold;
    opacity: 1;
}

.ar-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ar-container.tt {
  padding-top: 66.66%; /* 3:2 Aspect Ratio */
}

.ar-container.hf {
  padding-top: 62.5%; /* 8:5 Aspect Ratio */
}

.ar-container.oo {
  padding-top: 62.5%; /* 8:5 Aspect Ratio */
}

.ar-container.sn {
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.ar-container img,
.ar-container iframe{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

