
/*-------------------------
	Heading
--------------------------*/

h4, h5, h6 {
    line-height: 1.2;
    margin: 0;
}


h4 {
    font-size: 15px;
}

h5 {
    font-size: 13px;
}

h6 {
    font-size: 11px;
}

/*-------------------------
	Layout
--------------------------*/


#inner-wrapper {
    padding: 0 10px;
}


.admin #content {
    width: 980px;
    margin: 0 auto;
}



#category-presse .main {
  margin-left: 0px;
}

a, a:link, a:visited {
  outline: none;
  color: #ffe300;
  text-decoration: none;
}

a:active, a:hover, a:focus {
color: #eee;
    text-decoration: underline;
}

.frontbox:active .featured-image, .frontbox:hover .featured-image, .frontbox:focus .featured-image {outline: 2px solid #eee;}
.frontbox:active .main a, .frontbox:hover .main a, .frontbox:focus .main a {color: #eee;
    text-decoration: underline;}


.post-body a img {outline: 2px solid #ffe300;}
.post-body a:hover img {outline: 2px solid #eee;}


.post-body p:first-of-type {margin-bottom: 0em;display:inline-block}



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

#footer a {

}

#footer ul {
    margin: 0.5em 0;
}

.footer-column {
    padding-bottom: 1.5em;
    float: left;
    width: 100%;
}

.column {
    float: left;
    width: 25%;
}

.recent ul {
    padding-left: 20px;
    width: 85%;
}

.archive .toggle {
    font-size: 16px;
}



.copyright {
    font-size: 12px;
    float: left;
    width: 100%;
    padding-top: 1em;
}

.copyright p {
    margin: 0.5em 0;
    line-height: 1.2;
}






/*-------------------------
	Link
--------------------------*/



.tab {
    width: 100%;
    margin: 1.5em 0 0 0;
    line-height: 1;
    border-bottom: 1px solid #E4E7EE;
}

.tab ul {
	padding:0;
	margin:0;
}

.tab  li {
    display: inline-block;
	margin:0;
	padding:0;
}

.tab a {
    background: #E4E7EE;
    border-radius: 6px 6px 0px 0;
    color: #555555;
    text-align: center;
    padding: 8px 14px;
    display: inline-block;
    margin: 0 5px;
    font-size: 12px;
    font-weight: bold;
}

/*-------------------------
	Text element
--------------------------*/

blockquote:before {
    color: #BBBBBB;
    content: "''";
    font-size: 3em;
    line-height: 0.1em;
    margin-right: 0.2em;
    vertical-align: -0.4em;
}

blockquote:after {
    color: #BBBBBB;
    content: "''";
    font-size: 3em;
    line-height: 0.1em;
    vertical-align: -0.45em;
}

blockquote {
    font-style: italic;
    margin: 1em 0 1em 1em;
}

blockquote p {
    display: inline;
}

pre {
    margin: 1em 0;
    overflow: auto;
    background: #F1F1FF;
    color: #333333;
    display: block;
    font-size: 14px;
    padding: 10px;
    line-height: 1.3;
}

code {
    color: #333333;
    font-size: 15px;
    padding: 3px 8px;
    background: #F1F1FF;
}

pre code {
    color: #333333;
    display: block;
    font-size: 14px;
    padding: 0;
    line-height: 1.6;
}

.thumbnail {
    float: left;
    height: 80px;
    width: 80px;
    margin: 5px 15px 0 0;
    overflow: hidden;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

ul, ol {
    padding-left: 30px;
    margin: 1em 0;
}

ul li, ol li {
    margin: 0.25em 0;
}

input[type=text], input[type=password] {
    padding: 4px 6px;
    font-size: 14px;
    background-color: #F6F7F9;
    border: 1px solid #CFDAE5;
}

input[type=text]:hover, input[type=password]:hover {
    background-color: #F6F7F9;
    border: 1px solid #CCCCCC;
}

input[type=submit] {
    padding: 4px 6px;
    font-size: 14px;
    cursor: pointer;
}

input.text {
    width: 75%;
    padding: 5px;
    font-size: 14px;
    background-color: #F6F7F9;
    border: 1px solid #CFDAE5;
}

input.error, textarea.error {
    border: 1px solid red;
}

textarea {
    font-size: 15px;
    line-height: 1.4;
    background-color: #F6F7F9;
    border: 1px solid #CFDAE5;
    padding: 2%;
    width: 96%;
    min-height: 5em;
    overflow: auto;
}

textarea:hover {
    border: 1px solid #CCCCCC;
}

.error-message {
    color: red;
    background: #f4f4f4;
    padding: 10px 0;
    margin-bottom: 2em;
}

span.required {
    color: red;
}

span.help {
    font-size: 12px;
    font-style: italic;
}

.category {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    display: block;
    font-size: 13px;
    margin: 20px 0;
    padding: 0 1em;
}

.tags a:after {
    content:", ";
}
.tags a:last-child:after {
    content:"";
}

/*-------------------------
	Table
--------------------------*/

table {
    font-size: 12px;
    border: none;
    width: 100%;
    color: #333333;
    border: 1px solid #E3E3E3;
    margin: 1em 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

table h2.title {
    margin: 5px 0;
}

th, td {
    padding: 5px 10px;
    border: none;
}

th.title {
    margin: 5px 0;
    font-size: 16px;
    font-weight: normal;
}

td.title {
    font-weight: normal;
    background-color: #f6f6f6;
}

th {
    background-color: #f6f6f6;
    border-bottom: 1px solid #E3E3E3;
    border-right: 1px solid #E3E3E3;
    font-size: 16px;
}

td {
    background-color: #fafafa;
    border: 1px solid #E3E3E3;
    border-top: none;
    border-left: none;
}

table.post-list td a {
    margin: 0 5px;
}

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


#menu ul {
    margin: 0;
    padding: 0;
}

#menu a {

}

#menu ul li {
    float: left;
    margin: 0 20px 0 0;
    list-style: none;
    padding-top: 3px;
}

#menu ul li.active > a {
    text-decoration: underline;
}

#menu ul li:last-child {
    margin: 0;
}

#menu ul li ul.subnav {
    display:none;
}

/*----------------------------
	Search form
-----------------------------*/

#search-form {
    position: relative;
    float: right;
}

.error-404 .post #search-form,
.error-404-search .post #search-form {
    float: none;
}

.search-input {
    margin: 0;
    padding: 4px 15px;
    font-size: 14px;
    border: 1px solid #0076a3 !important;
    background: #FFFFFF !important;
    border-top-left-radius: 5px 5px;
    border-bottom-left-radius: 5px 5px;
    width: 120px;
    color: #888888;
}

.search-button {
    margin: 0;
    padding: 4px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    border: solid 1px #546673;
    border-right: 0px;
    background: #0095cd;
    border-top-right-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;
    width: 60px;
}

.search-button:hover {
    text-decoration: none;
    background: #007ead;

}



/*-------------------------
	Post
--------------------------*/



.in-post .post {
    padding-bottom: 4em;
}

p, ul {
    margin: 1em 0;
}



h1.blog-title, h2.blog-title {
    font-style: normal;
    font-size: 28px;
}



.in-post .post {
    padding-top: 0;
    border: none;
}

.in-page .border {
    padding: 0;
    margin: 0;
    border: 0;
}

.in-page .post {
    padding-top: 0;
}

.in-front .first, .in-post .post, .in-tag .first, .in-archive .first, .in-search .first, .error-404 .post, .error-404-search .post {
    padding-top: 0;
}

.in-front .first h2.title-index {
    margin-top: 0;
}

.in-profile .bio {
    font-size: 14px;
    font-style: italic;
    border-bottom: 1px solid #EBF2F6;
    padding-bottom: 1em;
    margin-bottom: 2em;
}

.post-list {
    font-size: 14px;
}





/*-------------------------
	Raleted posts
--------------------------*/

.related {
    font-size: 14px;
    width: 100%;
    float: left;
    margin-bottom: 1em;
}

.related ul {
    margin: 0;
}

/*-------------------------
	Pagination + Postnav
--------------------------*/



.pager {
    width: 100%;
    float: left;
    padding: 30px 0 1em 0;
    font-size: 12px;
    font-weight: bold;
}

.pager a {
    background: none repeat scroll 0 0 #E4E7EE;
    border-radius: 3px;
    color: #555555;
    line-height: 1;
    padding: 10px 20px;
    text-align: center;
}

.pager .newer {
    float: left;
}

.pager .older {
    float: right;
}

.pager a:hover {
    text-decoration: none;
    color: #333333;
}



/*----------------------------
	The 404 page
-----------------------------*/

.message {
    padding: 50px 20px 20px 20px;
}

.message h1 {
    font-size: 36px;
    margin-bottom: 18px;
}

.message p {
    font-size: 13px;
}

.center {
    text-align: center;
}

.search-404 {
    position: relative;
    float: left;
    width: 100%;
    margin-bottom: 1.2em;
}

.search-404 #search-form {
    float: none;
}









@media all and (max-width: 700px) {


    

    .admin #menu, .admin #header, .admin #content, .admin #footer {
        margin: 0 auto;
        width: 100%;
    }

   

}

/*----------------------------
	Video
-----------------------------*/

.video-wrapper {
    margin: 1em 0;
}

@media all and (min-width: 420px) {

    .video-wrapper {
        padding-top: 315px !important;
        position: relative;
        width: 100%;
        max-width: 420px !important;
        max-height: 315px !important;
    }

    .video-wrapper iframe, .video-wrapper object, .video-wrapper embed {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        max-width: 420px !important;
        width: 100%;
        max-height: 315px !important;
    }

}

@media all and (max-width: 420px) {

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
    }

    .video-wrapper iframe, .video-wrapper object, .video-wrapper embed {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

}

@media all and (max-width: 560px) {

    .featured-video, .featured-audio {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
    }

    .featured-video iframe, .featured-video object, .featured-video embed, .featured-audio iframe, .featured-audio object, .featured-audio embed {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

}

/*----------------------------
        Archive
-----------------------------*/

ul.archivegroup {
    padding: 0;
    margin: 0;
}

.archivegroup .expanded ul {
    display: block;
}

.archivegroup .collapsed ul {
    display: none;
}

.archivegroup li.expanded, .archivegroup li.collapsed {
    list-style: none;
}