/*
	Theme Name: Andalus
	Theme URI: http://www.flatlayers.com/themes/andalus
	Author: FlatLayers
    Author URI: http://www.flatlayers.com
	Description: Clean Responsive WordPress Blog Theme
	Version: 1.1
	License: GNU/GPL Version 2 or later. 
    License URI: http://www.gnu.org/licenses/gpl.html 
	Tags:  black, custom-background, custom-colors, custom-header, custom-menu, dark, featured-images, gray, light, pink, post-formats, responsive-layout, theme-options, white
*/

/*-------------------------------------------------------------------------
[Table of contents]

    1. Browser Reset + Import + Main Styels
    2. Animation + Loading Mask / .animation .fadeInUp .loading-mask
    3. Containers + Clearfix / .container .clearfix
    4. Headings
    5. Header / header
    6. Navigation / .navigation
    7. Sticky + OWL Carousel / .stickyposts
    8. Content Section + Home Page Templates / #content
    9. Sidebar / #sidebar
    10. Article Style / article
    11. Pagination / .pagination
    12. Single Post and pages Style Changes / .single .page
    13. Comments / #comments
    14. Footer / footer
    15. Archive Pages Style + Page templates
    16. Media Queries
-------------------------------------------------------------------------*/

/*-------------------------------------------------------------------------*/
/*	1. Browser Reset + Import + Main Styels
/*-------------------------------------------------------------------------*/
@import "css/normalize.css"; /* Normalize CSS */
@import "css/owl.carousel.css"; /* Slick CSS */
@import "css/font-awesome/font-awesome.min.css"; /* Font Awesome */
@import url(http://fonts.googleapis.com/css?family=Quicksand:400,700);
@import url(http://fonts.googleapis.com/css?family=Oswald:400);

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td, 
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend {
	vertical-align: baseline;
	font-family: inherit;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	outline: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

:focus { outline: 0; }
input[type=submit] { -webkit-appearance: none; }
html {
	overflow-x: hidden;
	max-width:   100%;
}
body {
    background: #F2F2F2;
	color: #484848;
    font-family: 'Quicksand', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6;
    background-repeat: repeat-x;
    background-size: cover;
    background-attachment: fixed;
    background-position: top center;
    padding-top: 120px;
}
ol, ul { list-style: none; }
input[type=text]::-ms-clear { display: none; }
sup {
	font-size: 10px;
	vertical-align: super;
}
sub {
	font-size: 10px;
	vertical-align: sub;
}
p {
    padding-bottom: 25px;
}
strong { font-weight: 700; }
em { font-style: italic; }
p:empty { display: none; }
hr {
    background-color: rgba(0,0,0,0.05);
    border: 0;
    height: 1px;
    margin: 0 auto;
    width: 50%;
}
a {
    text-decoration: none;
    color: #FF6a6a;        
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
a:hover { background-color: #FFF0E3; }
blockquote, q {
    padding: 0 20px;
    border-left: 10px solid rgba(0,0,0,0.05);
    margin-bottom: 25px;
    display: block;
}
blockquote p {
    margin: 0;
    padding: 0;
}
pre, address {
	position: relative;
	margin-bottom: 25px;
	padding: 5px 0 5px 50px;
	overflow: auto;
	max-width: 100%;
}
pre:before {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	font-family: "FontAwesome";
	content: "\f121";
	background: rgba(0,0,0,.05);
	padding: 0 7px;
	z-index: 5;
}
address:before {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	font-family: "FontAwesome";
	content: "\f041";
	background: rgba(0,0,0,.05);
	padding: 0 7px;
	z-index: 5;
}
table {
	margin-bottom: 25px;
	width: 100%;
}
table thead, dt {
	font-weight: bold;
	background: rgba(0,0,0,0.02);
}
table th, table td, dt, dd {
	padding: 10px 0 10px 10px;
	text-align: left;
}
table tr:nth-child(even) {
	background: rgba(0,0,0,0.02);
}

/* Alignment */
.alignleft {
	float: left;
	margin-right: 30px;
}
.alignright {
	float: right;
	margin-left: 30px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Images */
img {
	height: auto;
	max-width: 100%;
}
.wp-caption {
	margin-bottom: 24px;
	max-width: 100%;
}
.wp-post-image {
	display: block;
	margin: 0 auto;
}
img.alignright,
.wp-caption.alignright { margin: 10px 0 10px 20px; }

img.alignleft,
.wp-caption.alignleft {	margin: 10px 20px 10px 0; }

img.aligncenter{}
.wp-caption .wp-caption-text,
.entry-caption {
    opacity: .8;
	font-size: 12px;
	line-height: 12px;
	text-align: center;
    padding-bottom: 0;
    line-height: 1.54;
}

/* Embeds and iframes */
embed,
iframe,
object,
video {
	max-width: 100%;
}

/* Gallery */
.gallery { margin-bottom: 25px !important; }
.gallery-item {
	float: left;
	text-align: center;
    margin-top: 0 !important;
    line-height: 0;
}
.gallery-icon {
    padding: 0;
    text-align: center;
    background: inherit;
}
.gallery img { border: none !important; }
.gallery-caption {
	opacity: .8;
	font-size: 12px;
	line-height: 1.54;
	margin: 0;
	padding: 7px 15px;
	text-align: center;
}
.sticky { }

/*-------------------------------------------------------------------------*/
/*  2. Animation + Loading Mask
/*-------------------------------------------------------------------------*/
/* rotating */
@-webkit-keyframes rotating {
    0%{
        -webkit-transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes rotating {
    0%{
        -moz-transform: rotate(0deg);
    }
    100%{
        -moz-transform: rotate(360deg);
    }
}

@-o-keyframes rotating {
    0%{
        -o-transform: rotate(0deg);
    }
    100%{
        -o-transform: rotate(360deg);
    }
}

@keyframes rotating {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}


/* Loading Mask */
.loading-mask {
    background-color: #F2F2F2;
    z-index: 9999;
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
}

.loading-mask .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: transparent;
    width: 50px;
    height: 50px;
    margin: -20px 0 0 -20px;
    border-width: 5px;
    border-style: solid;
    border-color: #FF6a6a #FF6a6a rgba(255,255,255,.5) rgba(255,255,255,.5);
    opacity: 1;
    border-radius: 25px;
    -webkit-animation: rotating 1s linear infinite;
       -moz-animation: rotating 1s linear infinite;
         -o-animation: rotating 1s linear infinite;
            animation: rotating 1s linear infinite;
}

/*-------------------------------------------------------------------------*/
/*  3. Containers + Clearfix
/*-------------------------------------------------------------------------*/
.container {
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 1080px;
}
.clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/*-------------------------------------------------------------------------*/
/*	4. Headings
/*-------------------------------------------------------------------------*/
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 15px; }
h6 { font-size: 14px; }

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    padding-bottom: 20px;
    -webkit-font-smoothing: antialiased;
    font-family: 'Oswald', Arial, Helvetica, sans-serif;
    font-weight: 400;
}

/*-------------------------------------------------------------------------*/
/*	5. Header
/*-------------------------------------------------------------------------*/
header {
    text-align: center;
    height: 120px;
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    z-index: 999;
    background: #FFFFFF;
    color: #212121;
}
header a { display: inline-block; }
#logo {
    line-height: 0;
    text-align: left;
    width: 80%;
    float: left;
    margin-top: 20px;
    margin-bottom: 20px;
}
#logo img {
    margin: 0;
    padding: 0;
    max-height: 80px;
}
#logo h1 {
    line-height: 22px;
    padding-bottom: 0;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#logo p {
	display: block;
    margin: 0;
    padding-bottom: 0;
    font-size: 8px;
    line-height: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    vertical-align: top;
}

#header-right {
	float: left;
	text-align: right;
	width: 20%;
	font-size: 22px;
    margin-top: 49px;
    line-height: 0;
}
#nav_open_button { cursor: pointer; }
#nav_close_button {
    cursor: pointer;
    display: none;
}

/*-------------------------------------------------------------------------*/
/*  6. Navigation
/*-------------------------------------------------------------------------*/
.navigation {
    display: none;
    text-align: center;
    background: #FFFFFF;
    padding-bottom: 60px;
}
.navigation .menu li a {
    display: block;    
    text-transform: uppercase;
    font-size: 18px;
    line-height: 36px;
}
.navigation .menu li ul li a {
    color: #212121;
    display: block;
    margin: 0;
    border: none;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    text-align: center;   
}

/* Social Icons */
.navigation .social-icons {
    text-align: center;
    display: block;
    position: relative;
    margin-top: 30px;
}
.navigation .social-icons ul li {
    display: inline-block;
    margin: 0;
    padding: 0;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
}
.navigation .social-icons ul li a {
    display: block;
    font-size: 18px;
    line-height: 32px;
    width: 32px;
    height: 32px;
    text-align: center;
}

/* search */
.navigation .search {
    margin-top: 30px;
    max-width: 500px;
    text-align: center;
}
.navigation .search input { text-align: center; }

/*-------------------------------------------------------------------------*/
/*  7. Sticky + OWL Carousel 
/*-------------------------------------------------------------------------*/
.stickyposts .sticky-content {
    display: block;
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-transition: all 220ms;
    transition: all 220ms;
}
.stickyposts .sticky-content .table {
    display: table;
    height: 100%;
    width: 100%;
}
.stickyposts .sticky-content .sticky-cell {    
    display:table-cell;
    vertical-align:middle;    
    padding: 10px 15.5%;    
    background-color: rgba(0,0,0,0.35);
    color: #FFFFFF;
    -webkit-transition: all 380ms;
    transition: all 380ms;
}
.stickyposts .sticky-content .sticky-cell .title {
    padding-top: 6px;
    padding-bottom: 6px;
    display: block;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.stickyposts .sticky-content .sticky-cell .category {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FF6a6a;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.stickyposts .sticky-content .sticky-cell .date {
    font-size: 12px;
    text-transform: uppercase;
    color: #EEEEEE;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.stickyposts .sticky-content .sticky-cell:hover { background-color: rgba(0,0,0,0); }

.owl-dots {
    margin: 25px 0;
    text-align: center;
}
.owl-dots .owl-dot {
    width: 15px;
    height: 15px;
    border: 2px solid #FF6a6a;
    border-radius: 50%;
    display: inline-block;
  
}
.owl-dots .owl-dot:hover,
.owl-dots .owl-dot.active { background-color: #FF6a6a; }

.owl-theme .owl-controls .owl-nav div {
    color: #FFF;
    display: block;
    zoom: 1;
    margin: 0;
    position: absolute;
    top: 50%;
    width: 40px;
    line-height: 39px;
    height: 40px;
    margin: -20px 20px 0 20px;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}
.owl-prev {
    font-size: 39px;
    line-height: 39px;
    left: 0;
}
.owl-next {
    font-size: 39px;
    line-height: 39px;
    right: 0;
}

.owl-theme:hover .owl-controls .owl-nav div { opacity: 1; }

/*-------------------------------------------------------------------------*/
/*	8. Content Section + Home Page Templates
/*-------------------------------------------------------------------------*/
#content {
    position: relative;
    display: block;
}
#blogposts {
    max-width: 740px;
    width: 100%;
    display: block;
    float: left;
    position: relative;
}
.full-width {
    max-width: 100% !important;
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
}

.right {
    float: right !important;
    margin-left: 40px;
}

.page-template-home-full-width-php #content,
.page-template-home-left-sidebar-php #content,
.page-template-home-right-sidebar-php #content,
.page-template-home-masonry-left-sidebar-php #content,
.page-template-home-masonry-right-sidebar-php #content,
.page-template-home-masonry-two-columns-php #content,
.page-template-home-masonry-three-columns-php #content { padding-top: 0 !important; }

/* Home 2 Columns */
.masonry article {
    width: 350px;
    float: left;
}

.page-template-home-masonry-two-columns-php .masonry article { width: 520px; }

.page-template-home-masonry-three-columns-php .masonry article { width: 333.33px; }

.masonry .post-header,
.masonry .post-content { padding: 30px; }

.masonry .post-header .title {
    font-size: 28px;
    padding: 15px 0;
}

.masonry .post-header .category,
.masonry .post-header .date { font-size: 12px; }


/*-------------------------------------------------------------------------*/
/*  9. Sidebar
/*-------------------------------------------------------------------------*/
#sidebar {
    max-width: 300px;
    width: 100%;
    display: block;
    float: left;
}

/* Widgets Styles */
.widget {
    display: block;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    background: #faf9cc;
}
.widget:last-child { margin-bottom: 50px; }
.widget-title {
    display: block;
    margin: 0 auto 20px;
    font-size: 18px;
    line-height: 22px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(0,0,0,.04);
    color: #444444;
    text-transform: uppercase;
}
.widget ul,
.widget div {
    display: block;
    position: relative;
    font-size: 14px;
    overflow: hidden;
}
.widget ul li {
    display: block;
    margin-bottom: 12px;
    line-height: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,.02);
}


/* Text Widget */
.widget_text div { padding: 0; }

/* Tag Widget */
.widget .tagcloud {
    background: inherit;
    overflow: hidden;
}
.widget .tagcloud a {
    font-size: 12px !important;
    background: rgba(0,0,0,.02);
    padding: 8px 15px;
    margin: 0 3px 6px 3px;
    display: inline-block;
}
.widget .tagcloud a:hover { background: #FFF0E3; }
/* Calender Widget */
.widget_calendar caption {
    margin: 0 auto;
    font-size: 18px;
    line-height: 22px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    color: #444444;
    text-transform: uppercase;
}
.widget_calendar table { margin-bottom: 0; }
.widget_calendar div { padding: 0; }
.widget_calendar thead tr th {
    padding: 2px;
    font-weight: bold;
    text-align: center;
}
.widget_calendar td {
    padding: 2px;
    text-align: center;
}
.widget_calendar tfoot tr td {
    padding: 5px;
    padding-bottom: 0;
    border: none;
}
.widget_calendar tfoot #prev { text-align: right;}
.widget_calendar tfoot #next { text-align: left; }

/* Recent Posts */
.widget_recent_entries .post-date {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
}

/* Menu Widget */
.widget .menu li {
    display: block;
    margin-bottom: 0;
    line-height: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.widget .menu li a {
    display: block;
    margin: 0;
    line-height: 1;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,.02);
    font-weight: 700;
    text-align: center;
}
.widget .menu .menu-item-has-children > a:after {
    content: "\002B";
    margin-left: 7px;
}
.widget .menu li ul {
    position: relative;
    height: 0;
    opacity: 0;
    visibility: hidden;
}
.widget .menu ul li a { font-weight: 400; }
.widget .menu li:hover > ul {
    visibility: visible;
    height: auto;
    opacity: 1;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease; 
}

/* About Widget */
.fl-about div { padding: 0; }
.fl-about img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
.fl-about p {
    margin-top: 10px;
    text-align: left;
    line-height: 1.4;
    padding-bottom: 0;
}

/* Flickr Widget */
.fl-flickr .flickr { line-height: 0; }
.fl-flickr .flickr li {
    width: 50%;
    line-height: 0;
    padding: 5px;
    margin: 0;
    display: inline-block;
    border-bottom: none;
}
.fl-flickr .flickr li:before { display: none; }
.fl-flickr .flickr li a {
    display: block;
    line-height: 0;
}

/* Socials Widget */
.fl-socials .social-icons {
    padding: 0;
    line-height: 0
}
.fl-socials .social-icons a {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 16px;
    display: inline-block;
}

/* Banner Widget */
.fl-banner div { line-height: 0; }
.fl-banner div img {
    max-width: 100%;
    line-height: 0;
}

/* Embed Widget */
.fl-embed div { line-height: 0; }

/* Latest Posts Widget */
.fl-latest-posts div { text-align: center; }
.fl-latest-posts div img { width: 100%; }
.fl-latest-posts .text {
    padding: 10px 0;
    line-height: 1.4;
}
.fl-latest-posts .category {
    display: inline-block;
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(0,0,0,.02);
}
.fl-latest-posts .title {
    display: block;
    padding-bottom: 0;
    margin: 5px 0;
    line-height: 20px;
}
.fl-latest-posts .title a { color: #444444; }
.fl-latest-posts .date {
    display: block;
    font-size: 11px;
    line-height: 16px;
} 
.fl-latest-posts .text {
    border-bottom: 1px solid rgba(0,0,0,.02);
    margin-bottom: 20px;
    color: #B6B6B6;
}
.fl-latest-posts .text:last-child {
    margin-bottom: 0;
}

/*-------------------------------------------------------------------------*/
/*	10. Article Style
/*-------------------------------------------------------------------------*/
article {    
    background: #FFFFFF;
    margin-bottom: 50px;
    display: block;
    position: relative;
    text-align: center;
}

/* Case there is no posts */
.no-posts { padding: 30px 40px 10px 40px; }

/* Post Format */
.format {
	color: #FF6a6a;
	display: block;
    font-size: 32px;
    line-height: 32px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Share Icons */
.sharing {
    display: block;
    position: relative;
    text-align: center;
    margin-top: 30px;
}

.sharing ul {
    line-height: 0;
    margin-left: 0;
    margin-bottom: 0;
}
.sharing li {
    display: inline-block;
}
.sharing li a {
    display: block;
    width: 28px;
    height: 28px;
    font-size: 14px;
    line-height: 28px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

/* Post Content */
.post-content { padding: 50px; }
.post-header { padding: 50px; }
.post-header .category {
    display: block;
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 5px;
    text-transform: uppercase;
    border-bottom: 1px solid #FFF0E3;
}
.post-header .title {
    font-size: 38px;
    padding-top: 25px;
    padding-bottom: 25px;
    display: block;
}
.post-header .title a {
    color: #444444;
    word-wrap: break-word;
}
.post-header .date {
	font-size: 14px;
    display: block;
    color: #B6B6B6;
}
.thecontent { text-align: left; }
.thecontent hr { margin-bottom: 25px; }

/* Content List Style and Mixes Lists */
.thecontent ul {
    list-style: disc;
	margin-left: 50px;
	margin-bottom: 25px;
}
.thecontent ol {
    list-style: decimal;
    margin-left: 50px;
    margin-bottom: 25px;
}
.thecontent ul ul,
.thecontent ol ol,
.thecontent ul ol,
.thecontent ol ul {
	margin-bottom: 0;
    margin-left: 30px;
}

/* Read More */
.read-more {
    position: relative;
    text-align: center;
    display: flex;
    display: -webkit-flex; /* Safari */
    align-items: center;
    -webkit-align-items: center; /* Safari 7.0+ */
}
.read-more p { padding-bottom: 0; }
.read-more .flex-line {
    background: #FFF0E3;
    height: 1px;
    flex: 1;
    -webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */ 
}
.read-more .more-link {
    text-align: center;
    text-transform: uppercase;
    padding: 7px 14px;
    font-size: 16px;
}
/* Post Formats Styles */
article .post img {
    max-width: 100%;
    height: auto;
}
.gallery-slider {
   width: 100%;
   display: block;
   position: relative;
}
.picture {
    position: relative;
    display: block;
    overflow: hidden;
}
.picture img {
	width: 100%;
	height: auto;
	display: block;
}
.video,
.sound {
	position: relative;
    display: block;
    margin: 0;
    padding: 0;
    z-index: 0;
    line-height: 0;
}
.sound iframe,
.video iframe {
    margin: 0;
    padding: 0;
    z-index: 0;
    width: 100%;
}
.format-standard .post-content { padding-top: 0 !important; }
.format-link,
.format-quote {
    background-size: auto auto;
    background-position: center center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    z-index: 0;
}
.format-link a:hover,
.format-quote a:hover { background-color: inherit; }
.format-link .post-content .title,
.format-quote .post-content .title {
    padding: 25px 0;    
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.format-link .top-layer,
.format-quote .top-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
    z-index: -1;
}
.format-link .category,
.format-quote .category {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-top: 18px;
    text-transform: uppercase;
}
.format-link .date,
.format-quote .date {
    margin-top: 18px;
    font-size: 14px;
    display: block;
    color: #B6B6B6;
}
.format-link .date {
    margin: 0 0 50px;
}
.format-link .thecontent p {
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
}
.format-quote .title {
    display: block;
    font-size: 24px;
    line-height: 32px;
}
.format-quote .post-content .title a { color: #FFFFFF; }
.format-quote .quote-source {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

/*-------------------------------------------------------------------------*/
/*	11. Pagination
/*-------------------------------------------------------------------------*/
.pagination {
	display: block;
    font-size: 16px;
    text-transform: uppercase;
    padding: 25px 0;
    background-color: #FFFFFF;
    text-align: center;
}
.pagination .page-numbers {
    display: inline-block;
    text-align: center;
    width: 32px;
    height: 32px;
    font-size: 16px;
    line-height: 32px;
}


/*-------------------------------------------------------------------------*/
/*	12. Single Post and pages Style Changes
/*-------------------------------------------------------------------------*/
.single #content,
.archive #content,
.page #content,
.search #content,
.error404 #content { padding-top: 50px; }

.single #blogposts { margin-bottom: 50px; }

.single article { margin-bottom: 0; }

.post-content .tags {
    margin-top: 25px;
    font-size: 14px;
}
.post-content .tags a {
    margin: 0 10px;
    display: inline-block;
}

.post-content .tags a:before {
content: "#";
}

/* Page Links */
#page-links a {
	padding: 3px 10px;
	line-height: 1;
}

/* Post Navigation */
.posts-nav {
    padding: 0 10px;
    margin-top: 40px;
}
.posts-nav span {
    text-transform: uppercase;
    font-size: 11px;
    display: block;
    padding-bottom: 5px;
}
.posts-nav h5 { padding-bottom: 0; }
.nextpost {
    width: 50%;
    display: block;
    float: right;
    padding-left: 12px;
    line-height: 0;
}
.prepost {
    width: 50%;
    display: block;
    float: left;
    text-align: right;
    border-right: 1px solid rgba(0,0,0,.05);
    padding-right: 12px;
    line-height: 0;
}



/* Related Posts */
#relatedposts {
    display: block;
    margin-top: 40px;
    padding: 50px;
    background: #FFFFFF;
}
.block-head {
    text-transform: uppercase;
    padding-bottom: 5px;
    display: block;
    text-align: center;
    margin: 0 auto 25px;
    color: #444444;
    border-bottom: 1px solid #FFF0E3;
}
.related {
    display: block;
    float: left;
    width: 31%;
    margin-right: 3.5%;
}
.related:last-child { margin-right: 0; }
.related h4 {
	font-size: 14px;
    line-height: 1.4;
    padding: 8px 0 4px 0;
}
.related .date {
	display: block;
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
}

/*-------------------------------------------------------------------------*/
/*  13. Comments
/*-------------------------------------------------------------------------*/
#comments {
    margin-top: 40px;
    padding: 50px;
    background: #FFFFFF;
}
.commentlist {
    width: 100%;
    list-style:none;
    text-align: left;  
}
.commentlist li {
    margin: 0;
    padding: 0;
}
.commentlist li img.avatar {
    float:left;
    border:none;
    position: relative;
    margin-right: 10px;
    height: 50px;
    width: 50px;
    border-radius: 100%;
}
.fn, .fn a {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
.fn { color: #444444; }
.says { display: none; }
.commentmetadata a {
    font-size: 11px;
    line-height: 11px;
    margin: 0;
    padding: 0;
    vertical-align: top;
    color: rgba(0,0,0,.8);
}
.comment-body {
	display: block;
    border-bottom: 1px solid rgba(0,0,0,.02);
    margin-bottom: 20px;
}
.comment-body p { 
    display: block;
    margin: 0 0 10px 60px;
    padding-bottom: 0;
}
ul.children {
    padding-left: 30px;
    padding-top: 5px;
}
ul.children li { margin: 5px 0; }
.nocomments { text-align:center; }
.reply {
	text-align: right;
	line-height: 0;
}
.reply a {
    font-size: 11px;
    line-height: 24px;
    margin: 0;
    display:inline-block;
    padding: 0 18px;
    text-transform: uppercase;
    background: rgba(0,0,0,.05);
}
.reply a:hover { background: #FFF0E3; }
.bypostauthor { }

/* Respond */
#respond {
    display: block;
    font-size: 14px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,.05);
}
#reply-title {
	text-transform: uppercase;
    padding-bottom: 0;
    font-size: 20px;
    color: #444444;
}
#respond .logged-in-as {
    font-size: 12px;
    line-height: 1.4;
    padding-bottom: 20px;
}
#respond small {
    display: block;
	font-size: 11px;
}
#respond p { padding-bottom: 10px; }
#respond .form-submit { padding-bottom: 0; }
#commentform small {
    margin-bottom: 20px;
    color: #B6B6B6;
}

/* General and Response Inputs Style */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,.1);
    background: inherit;
    padding: 10px 0;
    font-size: 14px;
    width: 100%;
    max-height: 40px;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
textarea:focus {
    max-height: 120px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: rgba(0,0,0,.7);
}
.form-allowed-tags { display:block; }
input[type="submit"] {
    cursor: pointer;
    padding: 0px 32px;
    margin-top: 10px;
    font-size: 12px;
    line-height: 34px;
    text-align: center;
    border: none;
    background: rgba(0,0,0,.05);
    text-transform: uppercase;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
input[type="submit"]:hover { background: #FFF0E3; }

/*-------------------------------------------------------------------------*/
/*  14. Footer
/*-------------------------------------------------------------------------*/
footer {    
    background: #EEEEEE;
    background-attachment: fixed;
    background-position: bottom center;
    text-align: center;
}
#dynamic-sidebar {
    font-size: 13px;
    line-height: 22px;
    text-align: left;    
    padding-top: 60px;
    padding-bottom: 30px;
}
.widget-column {
    position: relative;
    display: block;
    float: left;
    width: 30%;
    margin-right: 5%;
}
.widget-column:last-child { margin-right: 0; }
.widget-column .widget {
    border: none;
    padding: 0;
    margin-bottom: 30px;
    background: inherit;
    text-align: left;
    color: #484848;
}
#footer-bottom {
    background: #2d2d2d;
    padding: 50px 0;
    color: #FFFFFF;
    position: relative;
}
#totop {
    position: absolute;
    font-size: 16px;
    width: 40px;
    height: 30px;
    line-height: 30px;
    left: 50%;
    margin-left: -20px;
    top: -20px;
    background: #2d2d2d;
    cursor: pointer;
}
#footer-bottom a {
    color: #FFFFFF;
    text-decoration: underline;
}
#copyright {
    font-size: 14px;
    line-height: 18px;
    display: block;
}
#copyright a:hover {
    text-decoration: none;
    background: inherit;.
}
#footer-logo {
    padding-top: 20px;
    line-height: 0;
}

/*-------------------------------------------------------------------------*/
/*  15. Archive Pages Style + Page templates
/*-------------------------------------------------------------------------*/
.page-template-default .post-header .title,
.page-template-archive-php .post-header .title,
.page-template-timeline-php .post-header .title { padding: 0; }
/* Category, Tag, Authour,...etc box Style */
.box {
    padding: 50px;
    display: block;
    text-align: center;
}
.box span {
    display: block;
    font-size: 14px;
    line-height: 14px;
    margin-bottom: 15px;
    color: #B6B6B6;
}
.box h3 {
    line-height: 1;
    padding: 0;
    color: #444444;
}
.box p {
    padding: 7px 0 0;
    font-size: 14px;
}
.box .authoravatar img {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.error404 .thecontent { text-align: center; }

.error404 .thecontent input {
    text-align: center;
    max-width: 600px;
}

/* Archive Page */
#archive {
    display: block;
    width: 100%;
    text-align: left;
}
#archive .section-title {
    cursor: pointer;
    margin-top: 40px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    padding-bottom: 4px;
    font-size: 14px;
    text-transform: uppercase;
}
#archive .section-title i { float: right; }
#archive div ul { display: none; }
#archive div ul li {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    font-size: 14px;
}

/* Timeline Page */
#timeline {
	margin-top: 20px;
    padding-bottom: 30px;
}
#timeline h4 {
    font-size: 15px;
	line-height: 35px;
	text-align: center;
	height: 35px;
	width: 86px;
	background: rgba(0,0,0,.1);
	margin: 0 auto;
	padding-bottom: 0;
	display: block;
}
#timeline .date {
	display: block;
	font-size: 11px;
	padding-top: 20px;
	text-transform: uppercase;
}
#timeline .timeline-item {
	width: 100%;
	display: block;
}
#timeline .timeline-item:nth-child(even) .timeline-item-details {
	width: 50%;
	float: left;
	position: relative;
	text-align: right;
	border-right: 1px solid rgba(0,0,0,.1);
	-webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
#timeline .timeline-item:nth-child(even) .timeline-item-details div {
	padding-right: 20px;
}
#timeline .timeline-item:nth-child(odd) .timeline-item-details {
	width: 50%;
    float: right;
    position: relative;
    text-align: left;
    padding-left: 20px;
    border-left: 1px solid rgba(0,0,0,.1);
}
#timeline .timeline-item:nth-child(even) .timeline-item-details:before {
	background: rgba(0,0,0,.2);
	width: 7px;
	height: 7px;
	display: block;
	float: right;
	position: absolute;
	right: -4px;
	margin-top: 32px;
	content: "";
}
#timeline .timeline-item:nth-child(odd) .timeline-item-details:before {
	background: rgba(0,0,0,.2);
	width: 7px;
	height: 7px;
	display: block;
	float: left;
	position: absolute;
	left: -4px;
	margin-top: 32px;
	content: "";
}


/*-------------------------------------------------------------------------*/
/*  16. Media Queries
/*-------------------------------------------------------------------------*/
@media only screen and (max-width: 1170px) and (min-width: 961px) {
    .container { max-width: 940px; }    
    #blogposts { max-width: 650px; }
    #sidebar { max-width: 260px; }
    .right { margin-left: 30px; }
    .masonry article { width: 305px; }
    .page-template-home-masonry-two-columns-php .masonry article,
    .page-template-home-masonry-three-columns-php .masonry article { width: 450px; }
}
@media only screen and (min-width: 769px) and (max-width: 960px) {
    .container { max-width: 726px; }
    #blogposts { max-width: 100% !important; }
    #sidebar { max-width: 100%; }
    .right { margin-left: inherit; }

    .widget {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .widget-column {
        width: 100%;
        margin-right: 0;
    }

    .fl-flickr .flickr li { width: 25%;}
    
    .masonry article,
    .page-template-home-masonry-two-columns-php .masonry article,
    .page-template-home-masonry-three-columns-php .masonry article { width: 343px; }
}


@media only screen and (max-width: 768px) {
    .container {
        width: 95%;
    }
    #blogposts { max-width: 100% !important; }
    #sidebar { max-width: 100%; }
    .right { margin-left: inherit; }
    .widget-column {
        width: 100%;
        margin-right: 0;
    }

    .widget {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .post-content,
    .post-header { padding: 30px; }

    .post-header .title {
        font-size: 28px;
        padding: 15px 0;
    }

    .format-link .post-content .title { font-size: 28px; }

    .format-quote .title {
        font-size: 22px;
        line-height: 30px;
    }

    .masonry .post-header .category,
    .masonry .post-header .date { font-size: 12px; }

    #authorarea,
    #relatedposts,
    #comments { padding: 30px; }

    .masonry article,
    .page-template-home-masonry-two-columns-php .masonry article,
    .page-template-home-masonry-three-columns-php .masonry article { width: 100%; }
}


@media only screen and (max-width: 479px) {    

    .stickyposts .flex-caption {
        width: 260px;
        left: 50%;
        margin-left: -130px;
        top: 20px;
    }

    .related {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .related:last-child { margin-bottom: 0; }

    #authorarea .authoravatar { width: 80px; }
}

