/*
Theme Name: mefiblog-wp-theme
Theme URI: http://github.com/mefiblogger/mefiblog-wp-theme
Description: mefiblog custom theme
Author: Mefi (Gábor Nádai)
Author URI: http://mefi.be/
Version: 1.0
Tags: mefiblog
.
Like WordPress, this work is released under GNU General Public License, version 2 (GPL).
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
.
*/

body, html {
    font-family: "Open Sans", sans-serif;
    font-size: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

div#container.smaller {
    padding-top: 382px;
}

a {
    color: #00a6df;
    text-decoration: none;
}

h4 {
    color: #b0b0b0;
    margin: 40px 0 15px 0;
    font-family: "Myriad Pro", "Open Sans", sans-serif;
    font-size: 2em;
    font-weight: 200;
    text-align: center;
    font-style: italic;
}

.instagram-media {
	margin: 0 auto!important;
}

hr {
    border: 0px;
    border-top: 2px solid #e3e3e3;
    height: 0px;
    margin: 40px auto;
    width: 80%;
}

hr.cat, hr.wp-block-separator {
    background: url(images/cat_hr.png) no-repeat center;
    border: 0px;
    border: none;
    height: 25px;
    margin: 40px auto;
    width: 40%;    
}

a:hover {
    text-decoration: underline;
}

b {
    font-weight: 600;
}

b.underline {
	font-size: 1.2em;
    font-weight: 200;
    border-bottom: 2px solid #8cae44;
    text-transform: uppercase;
}

b.uppercase-highlight {
    color: #666;
    font-size: 1.5em;
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
}

strong {
    font-weight: 700;
}

ins {
    border-top: 2px solid #f9e1b8;
    border-bottom: 2px solid #f9e1b8;
    background-color: #fff7e9;
    color: #b8713d;
    display: block;
    font-style: italic;
    font-size: 1.2em;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

table {
    border-top: 1px solid #ced9e1;
    border-right: 1px solid #ced9e1;
    margin: 0 0 10px 0;
    width:100%;
}
table td {
    color: #273646;
}
table td.left, table th {
    background-color: #f1f5fa;
    color: #54738a;
    font-weight: 600;
    text-align: right;
    text-transform: uppercase;
    width: 20%;
}
table td.right img {
    height: auto !important;
	width: 100% !important;    
}
table tr {
    margin: 0;
    padding: 0;
}
table tr td {
    border-bottom: 1px solid #ced9e1;
    border-left: 1px solid #ced9e1;
    padding: 5px;
    margin: 0;
}

.highlight {
    background-color: #fffbcc;
    color: #373a36;
}

.wp-block-embed__wrapper {    
    position: relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:0;
    overflow:hidden;
}

.wp-block-embed__wrapper iframe {
    position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.wp-block-embed {
    margin: 0;
}

q:before {
    content: "\201E";
}

q:after {
    content: "\201D";
}

#search {
    background: #e8e8e8 url(images/search_icon.png) no-repeat 50px 8px;
    cursor: pointer;
    height: 50px;
    width: 100px;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    border-radius: 30px;
    position: fixed;
    left: -45px;
    top: 450px;
}

#search input {
    width: 0;
}

#search.open {
    background-position: 205px 8px;
    -webkit-transition:background-position 0.5s;
    -moz-transition:background-position 0.5s;
    -ms-transition:background-position 0.5s;
    -o-transition:background-position 0.5s;
    transition:background-position 0.5s;
    width: 250px;
    -webkit-transition:width 0.5s;
    -moz-transition:width 0.5s;
    -ms-transition:width 0.5s;
    -o-transition:width 0.5s;
    transition:width 0.5s;
}

#search.open input {
    border: 1px solid #bababa;
    border-radius: 3px;
    background-color: #fdfdfd;
    color: #696969;
    display: block;
    font-size: 0.8em;
    margin: 12px 0 0 56px;
    padding: 5px;
    outline: none;
    width: 135px;
    -webkit-transition:width 0.5s;
    -moz-transition:width 0.5s;
    -ms-transition:width 0.5s;
    -o-transition:width 0.5s;
    transition:width 0.5s;
}

header {
    background: #363636 url(images/header_empty.gif) repeat center;
    border-bottom: 5px solid #f0f0f0;
    -webkit-box-shadow: 0px -2px 21px 4px rgba(176,176,176,0.55);
    -moz-box-shadow: 0px -2px 21px 4px rgba(176,176,176,0.55);
    box-shadow: 0px -2px 21px 4px rgba(176,176,176,0.55);
    height: 380px;
    margin: 0;
    padding: 0;
    top: 0;
    width: 100%;
    z-index: 1;
}

header div {
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
    width: 100%;
}

header div.header-1 {
    background-image: url(images/header_1.jpg);
}

header div.header-2 {
    background-image: url(images/header_2.jpg);
}

header div.header-3 {
    background-image: url(images/header_3.jpg);
}

header div.header-4 {
    background-image: url(images/header_4.jpg);
}

header div.header-5 {
    background-image: url(images/header_5.jpg);
}

header div.header-6 {
    background-image: url(images/header_6.jpg);
}

header div.header-7 {
    background-image: url(images/header_7.jpg);
}

header div.header-8 {
    background-image: url(images/header_8.jpg);
}

header div.header-9 {
    background-image: url(images/header_9.jpg);
}

header.smaller {
    background-position: 0 -150px;
    -webkit-transition:background-position 1.5s;
    -moz-transition:background-position 1.5s;
    -ms-transition:background-position 1.5s;
    -o-transition:background-position 1.5s;
    transition:background-position 1.5s;
    height: 75px;
    position: fixed;
}

header.smaller div {
    background-position: center center;
}

header h1 {
    margin: 0;
}

header h1 a {
    background: transparent url(images/header_logo.png) no-repeat center;
    display: block;
    margin: 0 auto;
    height: 150px;
    padding: 200px 0 0 0;
    width: 417px;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    -o-transition: height 0.5s;
    transition: height 0.5s;
}

header.smaller h1 a {
    padding-top: 30px;
    height: 50px;
    width: 200px;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    -o-transition: height 0.5s;
    transition: height 0.5s;
}

header h1 a span {
    display: none;
}

article h2 {
    font-family: "Trebuchet Ms", "Myriad Pro", sans-serif;
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: -2px;
    margin: 30px 0 0 0;
    text-align: center;
}

article nav {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: center;
}

article nav i.fa {
    padding-left: 5px;
}

article nav a {
    font-weight: 400;
    text-decoration: none;
}

section:last {
    margin-bottom: 200px;
}

section.photos {
    background-color: #373a36;
    text-align: center;
    padding: 45px 0;
    margin: 0 0 45px 0;
}

article.photo h2 {
    color: #fff;
}

article.photo nav {
    color: #e2e2e2;
}

article.photo nav a {
    color: #fff;
}

article.photo p {
    padding-top: 40px;
}

article.photo img {
    max-width: 785px;
    height: auto;
}

section.posts {
    width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

section.posts div.content {
    margin: 0 auto;
    width: 80%;
}

article.post h2 {
    color: #00a6df;
}

article.post h2 a:hover {
    background-color: #00a6df;
    color: #fff;
    text-decoration: none;
    padding: 5px 5px 0 5px;
}

article.post h3 {
    color: #696a6a;
    font-size: 1.5em;
    margin: 20px 0 15px 0;
}

article.post h4 {
    color: #b0b0b0;
    margin: 20px 0 15px 0;
    font-family: "Myriad Pro", "Open Sans", sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    font-style: normal;
    text-align: left;
}

article.post nav {
    color: #8cae44;
}

article.post nav b {
    font-weight: 400;
}

article.post nav a {
    color: #8cae44;
}

article.post nav a:hover {
    background-color: #8cae44;
    color: #fff;
    text-decoration: none;
}

article.post blockquote {
    background-color: #f5f5f5;
    border-left: 3px solid #c4c4c4;
    color: #63656a;
    margin: 0;
    padding: 5px 25px;
}

article.post blockquote.highlight {
    background-color: #fff;
    border: none;
    color: #8a8d8e;
    font-size: 1.5em;
    font-weight: 300;
    font-style: italic;
    text-align: center;
}

article.post blockquote.twitter-tweet {
    margin: 0 auto;
}

article.post ul {
    font-size: 1.1em;
}

article.post p {
    font-family: "Open Sans", Georgia, sans-serif;
    font-size: 1.1em;
}

article.post p.center {
    text-align: center;
}

article.post b.img-desc,
article.post p.img-desc,
article.post p.wp-caption-text {
	color: #6a6a6a;
    font-size: 0.8em;
    text-transform: uppercase;
}

article.post p img,
figure.wp-block-image img {
    display: block;
    margin: 0 auto;
}

article.post p img.size-full,
figure.wp-block-image img.size-full,
figure.wp-block-image img {
    margin: 0 auto;
    display: block;
    width: 100%;
}

article.post p img.alignright {
    float: right;
    margin-bottom: 25px;
}

article.post p img.alignleft {
    float: left;
    margin-bottom: 25px;
}

article.post div.cover-image-container {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    position: relative;
    right: 50%;
    width: 100vw;
    z-index: 2;
}

article.post div.cover-image-container img {
    border-bottom: 5px solid #f0f0f0;
    border-top: 5px solid #f0f0f0;
    box-shadow: 0px -2px 21px 4px rgba(176,176,176,0.55);
    max-width: 100vw;
}

article.post div.aligncenter {
	text-align: center;    
}

article.post div.info {
    background-color: #f5f5f5;
    border-top: 4px solid #e4e4e4;
    color: #63656a;
    margin: 0;
    padding: 5px 25px;
    border-bottom: 4px solid #e4e4e4;
}   

article.post div.oscar {
    background: #565656 url(images/oscar_icon.png) no-repeat 20px 15px;
    background-size: 75px;
	border-radius: 5px;
    color: #c2c2c2;
    font-size: 0.75em;
    min-height: 200px;
    padding: 5px 0 10px 95px;
}

article.post div.oscar h4 {
	color: #f0c60a;
	font-size: 1.5em;
	margin: 15px 0 0 15px;    
    text-transform: uppercase;
}

article.post div.oscar h4 span {
    display: block;
    font-size: 0.8em;
    font-weight: 100;
}

article.post div.oscar ul {
    list-style-type: square;
}

article.post div.oscar ul li.win {
	color: #f0c60a;
    font-weight: bold;    
}

article.post div.iframe-holder {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

article.post div.iframe-holder iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

ul.tags {
	list-style-type: none;  
    margin: 20px 0 15px 2px;
    padding: 0;
}

ul.tags li {
    display: inline;
    margin-right: 5px;
}

ul.tags li:after {
    content: ", ";
    margin-left: -4px;
     
}

ul.tags li:first-child:after,
ul.tags li:last-of-type:after {
    content: " " !important;
}

ul.tags li,
ul.tags li a {
	color: #aaa;
    font-size: 0.9em;
}

ul.tags li a:hover {
    color: #8cae44;
}

div.facebook {
    height: 20px;
    margin: 30px 0 0 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

div#comments h3,
div#respond h3 {
    color: #8cae44;
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 23px;
    text-align: center;
}

div#comments ul.commentlist {
    margin: 0 auto;
    padding: 0;
    width: 80%;
}

div#comments li.comment {
    list-style-type: none;
    margin: 0 0 50px 0;
}

div#comments p {
	margin: 0 0 5px 0;
	padding: 0;    
}

div#comments div.comment-header {
    background: #f7f7f7;
    background: -moz-linear-gradient(top,  #f7f7f7 0%, #feffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#feffff));
    background: -webkit-linear-gradient(top,  #f7f7f7 0%,#feffff 100%);
    background: -o-linear-gradient(top,  #f7f7f7 0%,#feffff 100%);
    background: -ms-linear-gradient(top,  #f7f7f7 0%,#feffff 100%); 
    background: linear-gradient(to bottom,  #f7f7f7 0%,#feffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#feffff',GradientType=0 );
	border-top: 1px solid #eaeaea;
    color: #5c5c5c;
    padding: 10px;    
}

div#comments div.comment-header-left {
    height: 48px;
}

div#comments div.comment-header-right {
    float: left;
    font-size: 0.9em;
	margin: -45px 0 0 55px
}

div#comments p.comment-header-name {
    font-weight: bold;
}

div#comments i {
    font-size: 0.8em;
    margin-left: 5px;
    color: #5c5c5c;
    cursor: pointer;    
}

div#comments i:hover {
	color: #00a6df;    
}

div#comments img.avatar {
	border-radius: 25px;    
}

div#comments div.comment-body {
    color: #5c5c5c;
	padding: 10px;    
}

div#comments div.comment-body a.comment-content-reply {
 	color: #5c5c5c;
    font-weight: bold;
}

div#comments div.comment-body p.badge b {
    background-color: #c4c4c4;
    border-radius: 5px;
    color: #fff;
    font-size: 0.8em;
    padding: 3px 6px;
    text-transform: uppercase;
}

div#comments div.comment-body p.notice {
    color: #999;
    font-size: 0.8em;
    margin: 10px 0 10px 5px;
    padding-bottom: 10px;
}

div#respond {
	margin: 0 auto 100px auto;
	width: 80%;    
}

div#respond p.comment-form-notice {
    color: #535353;
    font-size: 0.8em;    
    margin-bottom: 32px;
    text-align: center;
    text-transform: uppercase;
}

div#respond label {
    color: #434343;
    display: block;
    font-size: 0.9em;
    font-weight: bold;    
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

div#respond input,
div#respond textarea {
    border: 1px solid #a3a3a3;
    box-shadow: inset 0 22px 10px -19px rgba(220,220,220,1);
    border-radius: 4px;
    color: #636363;
    font-family: "Open Sans", "Helvetica", "Arial", sans-serif;    
    font-size: 0.9em;
    padding: 5px 7px;
    width: 250px;
}

div#respond input:focus,
div#respond textarea:focus {
    border: 1px solid #636363;
    box-shadow: inset 0 22px 10px -19px rgba(205,205,205,1);
    color: #232323;
    outline: none;
    outline-width: 0;
}

div#respond input#submit {
    background-color: #00a6df;
    border: 1px solid #006da2;
    box-shadow: inset -2px -7px 13px -4px rgba(0,123,178,1);
    color: #fff;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: 400;
    margin-left: 304px;
    text-transform: uppercase;
    width: 64%;
}

div#respond p.logged-in-as {
    display: block;
    float: left;
	height: 10px;
    margin-top: 6px;
    width: 290px;
}

div#respond p.comment-form-comment {  
    display: block;
    float: right;
    margin: 0 0 22px 5px;
    width: 62%;
}

div#respond p.comment-form-comment textarea {
    height: 161px;
    width: 100%;    
}

section.comments {
    min-width: 480px;
    max-width: 1000px;
    margin: 0 auto 50px auto;
    padding: 0 15px;
}

section.timeline {
    background: #fff url(images/timeline_background.png) repeat-y center;
    width: 1000px;
    margin: 30px auto 0 auto;
    padding: 100px 15px;
}

section.timeline article {
    color: #232323;
    display: block;
    height: 400px;
    width: 400px;
}

section.timeline article p {
    font-style: italic;
}

section.timeline article p.lead {
    font-style: normal;
    font-weight: 600;
}

section.timeline article h2 {
    color: #00a6df;
    font-size: 2.5em;
    margin-top: -14px;
    text-align: left;
}

section.timeline article h2:first-letter {
    text-transform: uppercase;
}

section.timeline article a {
    color: #8cae44;
    font-style: normal;
    text-decoration: underline;
}

section.timeline article a:hover {
    color: #00a6df;
}

section.timeline article.left {
    background: transparent url(images/timeline_left.png) no-repeat right 12px;
    margin-left: 103px;
}

section.timeline article.left p {
    margin: 10px 0 15px 0;
    padding-right: 25px;
}

section.timeline article.right {
    background: transparent url(images/timeline_right.png) no-repeat 0 -3px;
    float: right;
    margin-top: -200px;
    margin-right: 32px;
    padding-left: 125px;
    width: 345px;
}

div#previous-links-container {
    height: 25px;
    margin: 0;
    padding: 0;
}

div#previous-links-container p#previous-page-link {
    float: left;
    margin: 0;
    padding: 0;
}

div#previous-links-container p#next-page-link {
    float: right;
    margin: 0;
    padding: 0;
}

div#footer {
	margin-top: 30px;    
}

footer {
    background: #8cae44 url(images/footer_logo.png) no-repeat center;
    background-size: 45px;
    bottom: 0;
    color: #fff;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    height: 15px;
    letter-spacing: 1px;
    margin: 0;
    padding: 15px 0 15px 0;
    text-align: center;
    width: 100%;
}

footer span {
    margin-left: -53px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-shadow: 0 0 1px #fff;
    text-decoration: none;
}

footer ul {
    display: inline;
    list-style-type: none;
    margin: 0 0 0 70px;
    padding: 0;
}

footer ul li {
    display: inline;
    padding-right: 20px;
    text-transform: uppercase;
}

footer span.small {
    display: none;
}

footer span.large {
    display: inline-block;
}

@media all and (max-width: 500px) {
 	header h1 a {
    	background-size: 80%;    
    }
}

@media all and (max-width: 1000px) {
    body {
        overflow-x: hidden;    
    }

    header {
        height: 200px;
    }
    
    header h1 a {
        background-size: 50%;
        background-position-y: 20%;
        width: 100%;
    }
    
    article h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    
    h4.outsider {
    	margin: 0 auto 50px auto; 
    	padding: 0;
        width: 90%;
    }
    
    section.posts {
        width: 90%;
    }
    
    section.posts div.content {
        margin: 0;
        width: 100%;
    }

    section.posts p {
    	padding: 5px;    
    }
    
    section.post div.aligncenter {
    	width: 90%;
    }
    
    section.post div.aligncenter img {
    	width: 100%;    
    }
    
    section.timeline {
    	background: #fff;
        background-image: none;
        margin: 0 auto;
        padding: 0 15px;
        width: 90%;
    }
    
    section.timeline article.left,
    section.timeline article.right {
        background: #fff;
        background-image: none;
        float: none;
        height: auto;
        margin: 0 0 50px 0;
        padding: 0;
        text-align: center;
        width: 100%;
    }
    
    section.timeline article h2 {
    	text-align: center;    
    }
    
    section.timeline article p {
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
    	width: 100%;
    }
    
    article.post blockquote.highlight {
        font-size: 0.9em;
        padding: 0;
        text-align: center;
        width: 100%;
    }
    
    article.post div.oscar {
		background: #565656 url(images/oscar_icon.png) no-repeat 20px 15px;
    	background-size: 25px;
	    font-size: 0.7em;
    	padding: 10px 0 10px 40px;
    }
    
    article img {
        height: auto;
        max-width: 100%;
    }
    
    #search {
        background: none;
        border: none !important;
        border-radius: none;
        height: 50px;
        left: 0;
        margin: 0 auto 65px auto;
        width: 85%;
        border: 1px solid #e8e8e8;
        position: relative;
        text-align: center;
        top: 35px;
    }
    
    #search input {
        border: 1px solid #adadad;
        border-radius: 5px;
        color: #adadad;
        height: 60%;
        font-size: 1em;
        margin: 5px 0 0 0;
        text-align: center;
        width: 80%;
    }
    
    div#previous-links-container {
        height: 35px;
    }
    
    div#previous-links-container p#previous-page-link span.large,
    div#previous-links-container p#next-page-link span.large{
        display: none;
    }
    
    div#previous-links-container p#previous-page-link span.small,
    div#previous-links-container p#next-page-link span.small {
        font-size: 1.5em;
    }
    
    div#previous-links-container p#previous-page-link a,
    div#previous-links-container p#next-page-link a {
        background-color: #00a6df;
        border-radius: 10px;
        color: #fff;
        display: block;
        height: 40px;
        padding: 0 10px 0 10px;
        text-align: center;
        width: 30px;
    }
    
    div#previous-links-container p#previous-page-link a:hover,
    div#previous-links-container p#next-page-link a:hover {
        text-decoration: none;
    }
    
	div#respond p.comment-form-comment {
    	display: block;
	    float: none;
    	margin: 15px 0 0 0;  
	    width: 100%;
	}
    
	div#respond p.logged-in-as {
    	display: block;
		float: none;
        margin-bottom: 25px;
    	width: 90%;
	}
    
    div#respond input,
    div#respond textarea{
    	width: 100%;    
    }
    
    div#respond p.form-submit {
    	width: 100%;    
    }
    
    div#respond p.form-submit input#submit {
        -webkit-appearance: none;
        width: 100%;
	    margin: 20px 0 0 0;
    }

    footer {
        background-position: center 2px;
        height: 45px;
        position: relative;
    }

    footer span.small {
        display: inline-block;
        margin-top: 35px;
    }

    footer span.large {
        display: none;
    }

    footer span {
        margin: 0;
    }

    footer ul {
        margin: 0;
    }
    
    footer ul li {
        padding-right: 0;    
    }
}

