/*
Theme Name: Blog AGM-TEC
Theme URI: http://www.loic-martin.com
Description: Theme for AGM-TEC by Loïc Martin.
Version: 1.0
Author: Loïc Martin
 
Creation Theme by Loïc Martin || http://www.loic-martin.com
 
*/

* {
    margin: 0;
    padding: 0; 
}

html, body  {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Lucida Grande", Arial, Helvetica, Sans-serif;
    font-size: 0.8em;
    text-align: left;
    background: #F5F5F5;
    color: #6F6F6F;
    margin: 0;
}

ul, li {
    list-style: none;
}

p {
    margin: 0 0 1.7em 0;
}

/* gestion du footer */

#footer {
    font-size: 1em;
    color: #666;
    background-color:#ccc;
    padding: 10px 10px 0 0;
    clear: both;
}

#footer a {
color: #006699;
background-color:#ccc;
}

#footer p{
text-align: right;
font-size: 1em;
padding: 0 0px 20px 0;
}


/* gestion des liens */

a {
    text-decoration: none;
    color: #6F6F6F;
}


#main-wrapper {
    overflow-y: hidden;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
        /*background: #DDDDDE;*/
    /*height: 683px;*/
}


#leftcontent, .sidebar-widgets {
    position: absolute;
    font-family: "Playfair Display";
    font-weight: 400;
    font-style: normal;
    color: #777777;
    font-size: 13px;
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.24s ease-in-out;
    -moz-transition: opacity 0.24s ease-in-out;
    transition: opacity 0.24s ease-in-out;
    float: left;
    width: 25%;
    max-width: 275px;
    line-height: 140%;
    /*margin-right: 4%;*/
    /*margin-top: 40px;*/
    /*position: relative;*/
    z-index: 10000;
    /*padding: 20px 20px 20px 20px;*/
    box-shadow: 0 0 2px 3px rgba(0,0,0,.03),0 1px 5px rgba(0,0,0,.1);
	background: #fff;
    padding: 20px;
}

#leftcontent>li {
    margin: 20px 0 20px 0;
    padding: 20px 20px 20px 20px;
    /*box-shadow: 0 0 2px 3px rgba(0,0,0,.03),0 1px 5px rgba(0,0,0,.1);*/
    background: #fff;

}

.widgettitle {
    text-align: center;
    font-family: "Playfair Display";
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#logo {
    padding: 20px 20px 20px 20px;
    /*box-shadow: 0 0 2px 3px rgba(0,0,0,.03),0 1px 5px rgba(0,0,0,.1);*/
    background: #fff;
}

#logo img {
    width: 100%;
    height: auto;
    margin: auto;
}

#author {
    padding: 20px 20px 20px 20px;
    /*box-shadow: 0 0 2px 3px rgba(0,0,0,.03),0 1px 5px rgba(0,0,0,.1);*/
    background: #fff;
}

#author img {
    width: 100%;
    height: auto;
    margin: auto;
    margin-bottom: 20px;
}

#menu-menu-blog li {
    /*width: 80%;*/
    list-style: circle;
    margin-left: 30px;
    font-size: 1.1em;
    line-height: 2em;
    color: #6F6F6F;
    display: inline-block;
}

#menu-menu-blog {
    display: none;
    background-color: #fff;
    padding: 10px;
}

#search-2 input {
    border: none;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    font-size: 14px;
    font-weight: 300;
    color: #bababa;
    letter-spacing: 1px;
    border-right: solid 1px #ccc;
    box-shadow: none !important;
    display: inline-block;
    background: #fff;
    padding: 5px 5px 7px 10px;
    display: block;
    color: #bababa;
    border: 1px solid #ccc
}

#search-2 input:nth-child(2) {
    display: inline-block;
    border: 1px solid #000000;
    color: #000000;
    line-height: 20px;
    padding: 10px 35px;
}

#rightcontent {
    /*float: left;*/
    width: 69%;
    max-width: 900px;
    min-height: 100px;
    padding-top: 40px;
    margin-left: 30%;
    /*background-color: #fff;*/
}

.post-wrapper {
    /*float: left;*/
    clear: both;
    width: 100%;
    margin-bottom: 50px;
    position: relative;
    /*box-shadow: 0 0 2px 1px rgba(0,0,0,.06),0 1px 5px rgba(0,0,0,.1);*/
}

.post-wrapper .post {
    margin-bottom: 50px;
    box-shadow: 0 0 2px 1px rgba(0,0,0,.06),0 1px 5px rgba(0,0,0,.1);
}

.thumbnail {
    width: 100%;
    /*max-height: 459px;*/
    max-height: 350px;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
}
.post-wrapper .excerpt_content {
    padding: 5% 15%;
    background-color:  #fff;
}
.post-wrapper .excerpt_content iframe {
    width: 100%;
}

.post-wrapper .excerpt_content .post-title {
    text-align: center;
}

.post-title h2, .post-title, #rightcontent .post-content h2, .post-title h1, .post-title, #rightcontent .post-content h1 {
    font-family: "Playfair Display";
    text-transform: none;
    font-weight: 400;
    font-style: normal;
    font-size: 45px;
    opacity: 1;
    visibility: visible;
    line-height: 130%;
    margin-bottom: 0;
    -webkit-transition: opacity 0.24s ease-in-out;
    -moz-transition: opacity 0.24s ease-in-out;
    transition: opacity 0.24s ease-in-out;
}

.post-title h2 a, .post-title a, #rightcontent .post-content h2 a, .post-title h1 a, .post-title a, #rightcontent .post-content h1 a{
    color: #000000;
    -webkit-transition: all .24s ease-in;
    -moz-transition: all .24s ease-in;
    -o-transition: all .24s ease-in;
    transition: all .24s ease-in;
}

.post-title h2 a:hover, .post-title a:hover, #rightcontent .post-content h2 a:hover, .post-title h1 a:hover, .post-title a:hover, #rightcontent .post-content h1 a:hover {
    color: #cd0216;
}

.meta {
    font-family: "Lato";
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    font-style: normal;
    color: #a1887f;
    font-size: 11px;
    opacity: 1;
    visibility: visible;
    line-height: 160%;
    text-align: center;
    margin-bottom: 50px;
    -webkit-transition: opacity 0.24s ease-in-out;
    -moz-transition: opacity 0.24s ease-in-out;
    transition: opacity 0.24s ease-in-out;
}

.post_content p {
    font-family: "Playfair Display";
    line-height: 180%;
    font-size: 1.4em;
}

.post_content h2 {
    font-family: "Playfair Display";
    line-height: 180%;
    font-size: 1.8em;
}

.post_content h3 {
    font-family: "Playfair Display";
    line-height: 180%;
    font-size: 1.7em;
}

.post_content h4 {
    font-family: "Playfair Display";
    line-height: 180%;
    font-size: 1.6em;
}

#rightcontent article .read-more {
    font-family: "Lato";
    font-weight: 400;
    font-size: 12px;
    color: #333;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    margin: 50px auto 50px auto;
    -webkit-transition: .25s;
    -o-transition: .25s;
    transition: .25s;
}

#rightcontent article .read-more a {
    display: inline-block;
    border: 1px solid #000000;
    color: #000000;
    line-height: 20px;
    padding: 10px 35px;
    -webkit-transition: all .24s ease-in;
    -moz-transition: all .24s ease-in;
    -o-transition: all .24s ease-in;
    transition: all .24s ease-in;
}


#rightcontent article .read-more a:hover {
    color: #fff;
    border: 1px solid #cd0216;

    background-color: #cd0216;
}

#rightcontent article .post_tags {
    font-family: "Playfair Display";
    font-size: 1.1em;
    text-align: center;
    margin: 50px auto 0;
    border-top: 1px solid #E2E2E2;
    padding-top: 30px;
}

#rightcontent article .post_tags span{
    color: #555555;
    font-weight: 700;

}

#rightcontent article .post_tags a{
    font-style: italic;
    color: #000000;
}

.navigation a{
    font-family: "Lato";
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    margin: 50px auto 50px auto;
    display: inline-block;
    border: 1px solid #000000;
    color: #000000;
    line-height: 20px;
    padding: 10px 35px;
    text-transform: uppercase;
    -webkit-transition: all .24s ease-in;
    -moz-transition: all .24s ease-in;
    -o-transition: all .24s ease-in;
    transition: all .24s ease-in;
}

@media screen and (max-width: 1005px) {
  #rightcontent {
    width: 62%;
  }

    .thumbnail {
        max-height: 280px;
        overflow: hidden;
    }
}


@media screen and (max-width: 800px) {
    #menu-menu-blog {
        display: block
    }

    #rightcontent {
        width: 90%;
        float: none;
        margin: auto;
    }

    .thumbnail {
        max-height: 250px;
        overflow: hidden;
    }

    #leftcontent {
        display: none;
    }

}

#tienda a {
	text-align: center;
    display: inline-block;
    margin: auto;
    padding: 15px 40px;
    background-color: #cd1010;
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
}

