/*
    Theme Name: DGSCreation-Child
    Theme URI: http://www.dgs-creation.fr
    Author: DGSCreation
    Author URI: http://www.dgs-creation.fr
    Description: DGS Création
    Template: dgscreation
    Version: 1.0.0
    License: GNU General Public License v2 or later
    License URI: LICENSE
    Text Domain: dgscreation
    Tags: DGS Création
    Text Domain:  dgscreation-child
*/

/* ----------------------------------- */
/* -------------- FONTS -------------- */
/* ----------------------------------- */
@font-face {
  font-family: 'Good Times Rg';
  src: url('fonts/good-times-rg.eot'); /* IE9 Compat Modes */
  src: url('fonts/good-times-rg.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/good-times-rg.woff') format('woff'), /* Modern Browsers */
       url('fonts/good-times-rg.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/good-times-rg.svg#5e2666664c49a6361ffd149b1015ada6') format('svg'); /* Legacy iOS */
       
  font-style:   normal;
  font-weight:  400;
}

@font-face {
  font-family: 'Gadugi';
  src: url('fonts/gadugi.eot'); /* IE9 Compat Modes */
  src: url('fonts/gadugi.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/gadugi.woff') format('woff'), /* Modern Browsers */
       url('fonts/gadugi.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/gadugi.svg#9ebbca7ebc742c75bddc25763b40c5e1') format('svg'); /* Legacy iOS */
       
  font-style:   normal;
  font-weight:  400;
}

html,body,section,div,
h1,h2,h3,h4,h5,h6,p,a,span,input,textarea {
    font-family: 'Gadugi';
    margin: 0px;
    padding: 0px;
}

a:hover {
    color: #005b28 !important;
}

input[type="submit"] {
    width: 100%;
    min-height: 40px;
    border: none;
    background-color: #005b28;
    color: #ffffff;
}

/* ----------------------------------- */
/* -------------- Page ------------- */
/* ----------------------------------- */

#masthead,
#content,
.box-slide,
#content-up-sidebar {
    max-width: 968px;
    margin: 0px auto;
}

/* ----------------------------------- */
/* -------------- Header ------------- */
/* ----------------------------------- */

#up-sidebar {
    background-color: #e5e5e5;
    width: 100%;
    height: 40px;
    line-height: 40px;
}

#content-up-sidebar .txt-upsidebarr {
    display: inline-block;
    vertical-align: middle;
    color: #999999;
    margin: 0px;
    padding: 0px 5px;
    font-size: 18px;
    line-height: 18px;
}

h1.site-title,
h1.site-title a {
    font-family: 'Good Times Rg';
    font-size: 40px;
    color: #005b28;
}

.site-branding,
.main-navigation {
    min-height: 90px;
    line-height: 90px;
}

.main-navigation {
    text-align: right;
}

.site-title,
.menu-menu-container {
    display: inline-block;
    vertical-align: middle;
    padding: 0px;
    margin: 0px;
}

.menu-item {
    padding: 32px 40px;
    border-bottom: 6px solid rgba(0, 91, 40, 0);
    -webkit-transition: border-bottom .5s;
            transition: border-bottom .5s;
}

#primary-menu > .menu-item:hover {
    border-bottom: 6px solid rgba(0, 91, 40, 0.3);
    -webkit-transition: border-bottom .5s;
            transition: border-bottom .5s;
}

#primary-menu > .current-menu-item {
    border-bottom: 6px solid rgba(0, 91, 40, 0.5);
}

.menu-item a {
    font-size: 20px;
    line-height: 18px;
    color: rgba(0, 0, 0, 0.8);
    -webkit-transition: color .2s;
            transition: color .2s;
}

.menu-item a:hover {
    color: rgba(0, 91, 40, 0.5);
    -webkit-transition: color .2s;
            transition: color .2s;
}

/* ----------------------------------- */
/* ------------ Nav Sec. ------------- */
/* ----------------------------------- */
.main-navigation ul ul {
    top: 88px;
    background-color: #ffffff;
    width: 100%;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: 0px;
}

.main-navigation ul ul:hover {
    left: 0px;
}

.main-navigation ul ul li {
    padding: 10px;
    text-align: left;
    width: 100%;
}

.main-navigation ul ul a {
    width: 100%;
}

#primary-menu .sub-menu > .current-menu-item,
#primary-menu .sub-menu li:hover {
    background-color: rgba(0, 91, 40, 1);
    color: #ffffff;
}

#primary-menu .sub-menu > .current-menu-item a,
#primary-menu .sub-menu > .current-menu-item a:hover,
#primary-menu .sub-menu li:hover a {
    color: #ffffff !important;
}

/* ----------------------------------- */
/* -------------- Slides ------------- */
/* ----------------------------------- */
#slides-visio {
    position: relative;
}

.slick-slide {
    min-height: 470px !important;
}

.content-slide {
    width: 100%;
    min-height: 470px;
    background-repeat: no-repeat;
    background-size: cover;
}

.box-slide {
    padding: 60px 0 0 0;
}

.cont-box-slide {
    padding: 30px 15px;
    background-color: #ffffff;
}

.slide-title-tpx-H2 {
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    padding: 0px 5px 30px 5px;
    color: #666666;
    text-align: left;
    margin: 0;
}

.texte-box-slide p {
    color: #666666;
    font-size: 20px;
    line-height: 24px;
    margin: 0px;
}

#menu-tags {
    bottom: 0px;
    left: 0px;
    position: absolute;
    z-index: 1;
    
    width: 100%;
    height: 140px;
    line-height: 140px;
    background-color: rgba(255, 255, 255, 0.80);
    text-align: center;
}

#menu-tags .tags-items,
#menu-tags .tags-items p,
#menu-tags .tags-items p a {
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    padding: 0px;
    margin: 0px;
}

#menu-tags .tags-items p a {
    padding: 10px 20px;
    color: #666666;
}

/* ----------------------------------- */
/* ------------- Content ------------- */
/* ----------------------------------- */
.content-position {
    position:relative;
}

.page-accueil-mef {
    text-align: center;
}

.page-accueil-zones {
    padding: 30px 0px;
}

.ss-title-tpx-H2 {
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    padding: 30px 5px;
    border-bottom: 2px solid #666666;
    color: #666666;
    max-width: 220px;
    text-align: center;
    margin: 0 auto;
}

.ss-title-tpx-H3 {
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    padding: 0px 5px 30px 5px;
    color: #666666;
    text-align: left;
    margin: 0;
}

.ss-title-tpx-H3-ttl-articles {
    padding: 30px 5px 30px 5px;
}

.page-accueil-mef .entry-content {
    padding: 30px 5px;
    margin: 0px;
    color: #666666;
    font-size: 20px;
    line-height: 20px;
}

.page-accueil-mef .entry-content p {
    color: #666666;
    font-size: 20px;
    line-height: 24px;
    margin: 0px;
}

.page-accueil-cats {
    border-top: 2px solid #cccccc;
    border-bottom: 2px solid #cccccc;
    padding: 50px 5px;
}

.page-accueil-articles {
    border-top: 2px solid #cccccc;
    padding: 50px 5px;
}

.img-cats {
    max-height: 54px;
}

.img-vignettes {
    max-width: auto;
    width: 100%;
}

.entry-content.entry-content-fix-align {
    text-align: left;
    padding: 5px;
}

.link-to-article {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0px;
    left: 0px;
}

/* ----------------------------------- */
/* ---- Single / Pages / Archives ---- */
/* ----------------------------------- */
#single-article,
#single-page {
    padding: 75px 0px;
}

#archive-page {
    padding: 75px 0px 0px 0px;
}

#single-page-author {
    padding: 0px;
    margin: 0px;
}

#single-article h1,
#single-page h1,
#archive-page h1,
#single-page-author h1 {
    font-size: 22px;
    line-height: 22px;
    font-weight: bold;
}

#archive-page h1.page-title {
    color: #005b28;
}

#single-page-author h1 a {
    color: #666666;
    font-size: 22px;
    line-height: 22px;
    font-weight: bold;
}

.fixed-padding-author {
    padding-bottom: 100px;
}

#archive-page #single-article {
    border-bottom: 2px solid #cccccc;
}

#archive-page #single-article:last-child,
.single-article-news:last-child .entry-content {
    border-bottom: none !important;
}

#single-article h2,
#single-page h2 {
    font-size: 22px;
    line-height: 22px;
    font-weight: normal;
}

#single-article h3,
#single-article h4,
#single-article h5,
#single-article h6,
#single-page h3,
#single-page h4,
#single-page h5,
#single-page h6 {
    font-size: 20px;
    line-height: 20px;
    font-weight: normal;
}

#single-article .entry-content {
    padding-bottom: 100px;
    border-bottom: 2px solid #cccccc;
}

#single-page .entry-content {
    padding-bottom: 0px;
}

#single-article div.entry-content.entry-content-fix-align,
#single-page div.entry-content.entry-content-fix-align {
    border-bottom: none;
    padding-bottom: 0px;
}

.padding-left-fix {
    padding-left: 10px;
}

.img-article {
    margin-bottom: 1rem;
}

#single-article p,
#single-article strong,
#single-article a,
#single-page p,
#single-page strong,
#single-page a,
.tags-items-details a {
    color: rgba(0, 0, 0, 0.80);
}

.author-article {
    color: rgba(0, 0, 0, 0.80);
    margin: 0px;
}

/* ----------------------------------- */
/* ------------ Author Box ----------- */
/* ----------------------------------- */

#author-style {
    padding: 40px 0px;
}

#author-style .saboxplugin-wrap {
    border: none !important;
}

#author-style .saboxplugin-gravatar {
    padding-left: 0px !important;
}

#author-style .saboxplugin-authorname a {
    font-weight: bold;
    color: #005b28;
}

#author-style .auth-function {
    display: block;
    font-size: 14px;
    line-height: 14px;
    font-style: italic;
}

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

.site-footer {
    padding: 0;
    background-color: #e5e5e5;
    text-align: center;
}

#footer-mef-dgs {
    display: inline-block;
    vertical-align: middle;
    line-height: 18px;
    text-align: center;
    color: #999999;
    padding:15px 10px;
}

#footer-mef-dgs address,
#footer-mef-dgs p,
#footer-mef-dgs a {
    padding:0;
    margin: 0;
    color: #999999;
    font-size: 14px;
}

#footer-mef-dgs .dgs-creation {
    padding-top: 20px;
}

#footer-mef-dgs a:hover {
    color:#e7581d;
    cursor: pointer;
}