/*
 Theme Name:   Spacious Hugues Garros
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Spacious Hugues Garros Theme
 Author:       Panhaleux Aurelien
 Author URI:   http://example.com
 Template:     spacious
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, right-sidebar, left-sidebar, flexible-header, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, footer-widgets, blog, e-commerce
 Text Domain:  spacious-child
*/

/* Remplacer la police */
body, p, button, input, select, textarea {
    font-family: 'Open Sans', sans-serif !important;
}

/* Réduire la largueur globale du contenu */
.inner-wrap {
    width: 92%;
    max-width: none;
}

/* Remplacer la couleur tonique */
.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a {
    color: #fff;
    background-color: #94a0a4;
}

.widget-title span {
    border-bottom: 2px solid #f4933f;
    padding-bottom: 5px;
}

#content .comments-area article header cite a:hover,
#content .comments-area a.comment-edit-link:hover,
#content .comments-area a.comment-permalink:hover {
    color: #f4933f;
}

.comments-area .comment-author-link a:hover {
    color: #f4933f;
}

.comments-area .comment-author-link span {
    background-color: #f4933f;
    color: #FFFFFF;
}

.comment .comment-reply-link:hover {
    color: #f4933f;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #f4933f;
}

#wp-calendar #today {
    color: #f4933f;
}

.footer-widgets-area a {
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
}

.footer-widgets-area a:hover {
    color: #f4933f !important;
}

.footer-socket-wrapper .copyright a:hover {
    color: #f4933f;
}

a#scroll-up {
    color: #FFFFFF;
    background-color: #f4933f;
}

.read-more, .more-link {
    color: #f4933f;
}

.post .entry-title a:hover, .page .entry-title a:hover {
    color: #f4933f;
}

.post .entry-meta .read-more-link {
    background-color: #f4933f;
}

.post .entry-meta a:hover, .type-page .entry-meta a:hover {
    color: #f4933f;
}

.single #content .tags a:hover {
    color: #f4933f;
}

blockquote {
    border: 1px solid #EAEAEA;
    border-left: 3px solid #f4933f;
}

.spacious-button,
input[type="reset"],
input[type="button"],
input[type="submit"],
button {
    color: #FFFFFF;
    background-color: #f4933f;
}

.previous a:hover,
.next a:hover {
    color: #f4933f;
}

a {
    color: #f4933f;
}

#site-title a:hover {
    color: #f4933f;
}

.main-navigation ul li ul {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.8);
    border-top: 1px solid #f4933f;
}

.main-navigation ul li ul li a:hover, .main-navigation ul li ul li:hover > a, .main-navigation ul li.current-menu-item ul li a:hover {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
    color: #f4933f;
}

.site-header .menu-toggle:hover {
    background: #f4933f;
}

.main-small-navigation li:hover {
    background: #f4933f;
}

.main-small-navigation ul > .current_page_item,
.main-small-navigation ul > .current-menu-item {
    background: #f4933f;
}

.small-menu a:hover,
.small-menu ul li.current-menu-item a,
.small-menu ul li.current_page_ancestor a,
.small-menu ul li.current-menu-ancestor a,
.small-menu ul li.current_page_item a,
.small-menu ul li:hover > a {
    color: #f4933f;
}

#featured-slider .slider-read-more-button {
    background-color: #f4933f;
    color: #FFFFFF;
}

#controllers a:hover, #controllers a.active {
    background-color: #f4933f;
    color: #f4933f;
}

.breadcrumb a:hover {
    color: #f4933f;
}

.tg-one-half .widget-title a:hover,
.tg-one-third .widget-title a:hover,
.tg-one-fourth .widget-title a:hover {
    color: #f4933f;
}

.pagination span {
    border: 1px solid #EAEAEA;
    background-color: #f4933f;
    color: #FFFFFF;
}

.pagination a span:hover {
    color: #f4933f;
    border-color: #f4933f;
}

.widget_testimonial .testimonial-icon:before {
    color: #f4933f;
}

.widget_testimonial .testimonial-post {
    border-color: #f4933f #EAEAEA #EAEAEA #EAEAEA;
}

.call-to-action-content-wrapper {
    border-color: #EAEAEA #EAEAEA #EAEAEA #f4933f;
}

.call-to-action-button {
    background-color: #f4933f;
}

#content .comments-area article header cite a:hover,
#content .comments-area a.comment-edit-link:hover,
#content .comments-area a.comment-permalink:hover {
    color: #f4933f;
}

.comments-area .comment-author-link a:hover {
    color: #f4933f;
}

.comments-area .comment-author-link span {
    background-color: #f4933f;
    color: #FFFFFF;
}

.comment .comment-reply-link:hover {
    color: #f4933f;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #f4933f;
}

#controllers a:hover, #controllers a.active {
    background-color: #f4933f;
    color: #f4933f;
}

/*Logo Hugues Garros*/
#header-logo-image img {
    width: 450px;
}

/* Menu principal */
.main-navigation a {
    color: #444444;
    display: block;
    float: left;
    padding: 8px;
    height: auto;
    text-transform: uppercase;
}

/* Aligner la navigation du bandeau vers le bas */
#header-right-section {
    margin-top: 37px;
}

/* Masquer le repère du slider */
#controllers {
    display: none;
}

/*Ne pas afficher le bouton de call to action dans le slider*/
#featured-slider .slider-read-more-button {
    display: none;
}

/*Wrapper du bandeau principal*/
#masthead {
    position: relative;
}

/*Encadré du bandeau (le bandeau est un slider à une seule image)*/
#featured-slider .entry-container {
    bottom: 10%;
    left: 15px;
    top: auto;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
}

#featured-slider .entry-description-container {
    background-color: rgba(230, 104, 16, .8);
}

/* Trois encadrés sous le bandeau,
 * attention, en cas de suppression / ajout des widgets correspondant,
 * il faudra actualiser le nom de l'id associé (text-id)
 */
.home #main .widget.widget_text#text-6,
.home #main .widget.widget_text#text-7,
.home #main .widget.widget_text#text-8 {
    float: left;
    width: 27%;
    margin: 0 1% 4%;
    padding: 3% 2% 3% 2%;
    height: 200px;
    text-align: center;
}

/* Couleur de fond des encarts 1 et 3 */
.home #main .widget.widget_text#text-6,
.home #main .widget.widget_text#text-8 {
    background-color: #aaa;
}

/* Couleur de fond de l'encart du milieu */
.home #main .widget.widget_text#text-7 {
    background-color: #f48236;
}

/* Titre des encarts */
.home #main .widget.widget_text .widget-title {
    text-transform: uppercase;
    font-weight: bold;
    color: #c30;
}

/* Texte des encarts */
.home #main .widget.widget_text .textwidget {
    color: white;
    text-align: left;
    letter-spacing: 1px;
}

@media only screen and (min-width: 600px) {
    .home #main .widget.widget_text#text-6 {
        margin-left: 0;
    }

    .home #main .widget.widget_text#text-8 {
        margin-right: 0;
    }
}

/*Augmenter la marge entre les visuels et le contenu des pages*/
.alignright {
    margin-left: 60px;
}

/*Cadre mission responsive*/
@media only screen and (min-width: 600px) {
    #text-9 {
        display: none;
    }
}

#text-9 {
    background-color: #f4933f;
    margin: 0 1% 4%;
    padding: 5% 5% 3% 5%;
}

/* Pour les petites résolutions, ne pas afficher le bandeau */
/* Améliorer l'aspect des 3 encadrés */
@media only screen and (max-width: 599px) {
    #featured-slider {
        display: none;
    }

    .home #main .widget.widget_text#text-6,
    .home #main .widget.widget_text#text-7,
    .home #main .widget.widget_text#text-8 {
        width: auto;
        height: auto;
        padding: 5% 5% 3% 5%;
    }
}

/* N'afficher la citation du bandeau que pour les grandes résolutions */
/* Sinon l'affichage se fait mal */
#headerquote {
    display: none;
}

@media only screen and (min-width: 1180px) {
    .home #headerquote {
        display: block;
        position: absolute;
        top: 35%;
        z-index: 100;
        width: 80%;
        left: 15px;
        font-size: 1.7rem;
        line-height: 2rem;
        color: #333;
        margin-top: 17px
    }
}

/* Léger contournement du mode d'affichage des colonnes du footer */
/* pour donner l'impression qu'il y en a 2 au lieu de 4 */
@media screen and (max-width: 1078px) {
    .footer-widgets-area .tg-one-fourth.tg-column-2,
    .footer-widgets-area .tg-one-fourth.tg-column-3 {
        display: none;
        width: 0;
    }
}

/* Augmenter les marges du bandeau */
#header-text-nav-wrap {
    padding-top: 30px;
}

/* Aligner le texte des témoignages sur la gauche pour la homepage */
.widget_testimonial .testimonial-post p {
    text-align: left;
}
