/*
Theme Name: magnetic
Theme URI: http://devfloat.net/magnetic-theme/
Author: Rijo Abraham
Author URI: http://devfloat.net
Description: A modern free portfolio and photography wordpress theme
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: magnetic
Tags: white, three-columns, responsive-layout, featured-images, full-width-template, threaded-comments, photoblogging

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Reset
# Typography
# Header and Navigation
# Responsive code 
# Forms
# Menus
# Pagination
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments 
	## Author
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/* Reset */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,dfn,em,img,samp,ol,ul,li,label,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    /*--max-width: 100%;--*/
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display: block;
}

nav ul {
    list-style: none;
}


/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

input,select {
    vertical-align: middle;
}

/*  Typography */

body {
    background: #fff;
}
address {
    margin-bottom: 20px;
    font-style: normal;
    line-height: 1.42857143;
}
blockquote,q {
    border-left: 4px solid #707070;    
    color: #707070;    
    font-size: 18px;    
    font-style: italic;
    line-height: 1.6667;
    margin-bottom: 1.6667em;
    padding-left: 0.7778em;
	margin-top: 40px;
}
blockquote p {    
    letter-spacing: 0.02em;
	}
blockquote:before,blockquote:after,q:before,q:after {
    content: '';
    content: none;
}
 blockquote cite:before {
    content: "\2014\00a0";
}
code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
}
kbd {
  padding: 2px 4px;
  font-size: 90%;
  color: #fff;
  background-color: #333;
  border-radius: 3px;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
          box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
}
pre code {
  padding: 0;
  font-size: inherit;
  color: inherit;
  white-space: pre-wrap;
  background-color: transparent;
  border-radius: 0;
}
pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}



a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    color: #C0392B;
    text-decoration: none;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
	display: inline;
	margin-left: 5px;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: 700;
}

del {
    text-decoration: line-through;
}

abbr[title],dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}


dt {
	    font-weight: 700;
		    margin-bottom: 5px;
}
fieldset {
    border: 1px solid #d1d1d1;
    margin: 0 0 1.75em;
    padding: 0.875em;
}
legend {
    border: 0;
    padding: 0;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.75em;
    table-layout: fixed;
    width: 100%;
}
table, th, td {
    border: 1px solid #d1d1d1;
}
th, td {
    padding: 0.4375em;
}
caption, th, td {
    font-weight: normal;
    text-align: left;
}
th {
    border-width: 0 1px 1px 0;
    font-weight: 700;
}
.taxonomy-description p {
    padding:5px;
}
.content ul ul, .content ol ol {
    padding: 15px;
}
.content ul ul, .content ol ol{
    padding: 15px;
    margin-left: 10px;
}
.content ul ul li li, .content ol ol li li{
        font-style: italic;
}


h1,h2,h3,h4,h5,h6 {
    color: #4b4848;
    font-family: "Raleway",arial;
    letter-spacing: 1px;
}

h1 {
    font-size: 2em;
    margin: .67em 0;
}

h2 {
    font-size: 1.7em;
    margin: .75em 0;
}

h3 {
    font-size: 1.17em;
    margin: .83em 0;
}

h5 {
    font-size: .83em;
    margin: 1.5em 0;
}

h6 {
    font-size: .75em;
    margin: 1.67em 0;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: bolder;
}

.clearfix:before,.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/*  Header and Navigation */

.wrapper {
    width: 92.727272727273%;
    margin: 0 auto;
}

header ul.social li a,.main .work a .caption,header nav ul li a {
    transition: all .1s linear;
    -webkit-transition: all .1s linear;
    -moz-transition: all .1s linear;
    -o-transition: all .1s linear;
}

header .logo .mainlogo

{
	max-width:150px;
	max-height:120px;
}
.site-description {
    font-style: italic;
}
@media (min-width:1099px) {
.searchform {
        margin-right: 40px;
   }
    header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        min-height: 100%;
        padding: 0 0 0 50px;
        background: #fff;
        float: left;
        overflow: hidden;
        z-index: 9999;
    }

    header .logo {
        margin-top: 70px;
padding-bottom:50px;
    }
 	

    header nav {
        display: block;    
        margin-top: 160px;
        list-style: none;
    }
header nav ul li{
       padding: 5px;
    }

header nav ul li ul li {
    padding:6px;
}


    header nav ul li a {
        color: #454545;
        font-family: "Raleway",arial;
        font-size: 14px;
        text-decoration: none;
        letter-spacing: 1px;
    }

    header nav ul li a:hover,header nav ul li a.selected {
        color: #969595;
    }

    header .footer {
        position: absolute;
        bottom: 40px;
    }

    header ul.social {
        list-style: none;
        margin-bottom: 5px;
    }

    header ul.social li {
        display: block;
        float: left;
        position: relative;
        margin: 0 15px 15px 0;
    }

    header ul.social li a {
        display: block;
        width: 30px;
        height: 30px;
        background: url(http://anaares.es/wp-content/themes/ana-ares/img/sm.png) no-repeat;
        background-position: 0 0;
    }

    header ul.social li a:hover {
        background: url(http://anaares.es/wp-content/themes/ana-ares/img/sm_hover.png) no-repeat;
    }

    header ul.social li a.fb,header ul.social li a.fb:hover {
        background-position: 0 0;
    }

    header ul.social li a.instagram,header ul.social li a.instagram:hover {
        background-position: -31px 0;
    }

    header ul.social li a.behance,header ul.social li a.behance:hover {
        background-position: -62px 0;
    }

    header ul.social li a.twitter,header ul.social li a.twitter:hover {
        background-position: -93px 0;
    }

    header ul.social li a.vimeo,header ul.social li a.vimeo:hover {
        background-position: -124px 0;
    }

    header ul.social li a.rss,header ul.social li a.rss:hover {
        background-position: -155px 0;
    }

    .rights p {
        color: #454545;
        font-family: "Raleway",arial;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
        margin-top: 5px;
    }

    .rights a {
        font-family: "raleway-bold",arial;
        font-weight: 700;
        text-decoration: none;
    }

    #menu_icon,.close_menu {
        display: none;
    }
}

#menu_icon,.close_menu {
    float: right;
    margin-right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url(https://s3-us-west-2.amazonaws.com/links1by1/men_icons.png) no-repeat;
}

#menu_icon {
    background-position: 0 0;
}

.close_menu {
    background-position: -41px 0 !important;
}

/*  Main  */
.main {
    width: 100%;
    height: 100%;
    padding-left: 300px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #f6f6f6;
    clear: both;
}

/*  Home/portfolio  */
.main .work {
    display: block;
    width: 33.333333333333%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
}

.main .work img {
    width: 100%;
    height: 100%;
}

.main .work .media {
    width: 100%;
    vertical-align: middle;
}

.main .work .caption {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    opacity: 0;
}

.main .work a:hover .caption {
    opacity: .7;
    transition: all .3s ease-in-out;
}

.work .caption .work_title {
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    margin-top: -40px;
}

.main .work .caption h2 {
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 20px 0;
    z-index: 77;
    color: #454545;
    font-family: "Raleway",arial;
    font-size: 16px;
    letter-spacing: .5px;
    border-bottom: 1px solid #bfbbbb;
    border-top: 1px solid #bfbbbb;
}

/*  Inner Page  */
.top {
    width: 100%;
    height: 450px;
    overflow: hidden;
    display: block;
    position: relative;
    background: #ccc;
/* background: url('') no-repeat; */
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: 50% 50%;
}

.work_nav {
    display: block;
    width: 100%;
}

.work_nav .btn {
    float: right;
}

.work_nav ul {
    list-style: none;
}

.work_nav ul li {
    display: block;
    float: left;
    margin: 0 0 1px 1px;
    position: relative;
}

.work_nav a {
    display: block;
    width: 40px;
    height: 40px;
    background: url(https://s3-us-west-2.amazonaws.com/links1by1/p_navigation.png) no-repeat;
    background-position: 0 0;
}

.work_nav a.previous {
    background-position: 0 0;
}

.work_nav a.grid {
    background-position: -41px 0;
}

.work_nav a.next {
    background-position: -82px 0;
}

.top .title {
    display: block;
    width: 100%;
    color: #4b4848;
    font-family: "raleway-bold",arial;
    font-size: 26px;
    font-weight: 700;
    background: rgba(255,255,255,.7);
    padding: 20px;
    text-transform: uppercase;
    line-height: 30px;
    margin: 0 !important;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.content_header {
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 50%;
    margin-left: -46.363636363636%;
}

.content {
    color: #4b4848;
    font-family: "Raleway",arial;
    font-size: 15px;
    line-height: 22px;
    padding: 60px 30px;
    background: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.content p {
    color: #4b4848;
    font-family: "Raleway",arial;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 20px;
}

.content h1,.content h2,.content h3,.content h4,.content h5,.content h6 {
    color: #4b4848;
    font-family: "Raleway",arial;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 30px;
}


/*  Responsive code  */

@media (max-width: 600px) {
    .comment-metadata time {
        display: inline-block;
    }

    #comments {
        padding: 0 !important;
    }
}
@media only screen and (min-width: 1099px) and (max-width: 1400px) {
  .menu-magnetic-container {
  
  margin-top:-70px;
  }

}
@media only screen and (min-width: 320px) and (max-width: 1920px) {
    img {
	/*--max-height: 530px;--*/
	}

}
@media only screen and (min-width: 320px) and (max-width: 1099px) {
    .menu-main_menu-container {
        margin-top: 0;
    }

    header .logo {
        margin: 0 !important;
        margin-left: 10px;
    }
	 header .logo p {
      display:none;
    }
    .header-search {
        float: right;
        margin: 30px 30px 0 0;
        padding: 5px;
    }

    .menu-search {
        position: absolute;
        width: 160px;
    }
}

@media (max-width:1099px) {
    header {
        display: block;
        width: 100%;
        min-height: 100px;
        padding: 0;
        position: relative;
    }

    header .logo h3 {
        margin: 40px 0 0 30px;
        float: left;
    }
    header .logo .mainlogo {
    margin: -20px 10px 20px 10px;
    float: left;
    max-width: 150px;
    height: 60px
	}
    header .footer {
        display: none;
    }

    header #menu_icon,header .close_menu {
        float: right;
        margin: 30px 30px 0 0;
    }

    header nav {
        width: 100%;
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 9999;
    }

    header nav ul {
        list-style: none;
        display: none;
        position: relative;
    }

    header nav ul li a {
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        color: #454545;
        font-family: "Raleway",arial;
        font-size: 14px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        background: #fff;
    }

    header nav ul li a:active {
        background: #f7f5f5;
    }
	blockquote,q {
margin-left:0;
}

    #menu_icon,.close_menu,.show_menu {
        display: block;
    }

    .show_menu {
        display: block;
    }

    .main {
        width: 100%;
        position: relative;
        padding-left: 0;
    }

    #map {
        margin: 0 !important;
    }
}

@media (max-width:550px) {
    .main .work {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,input[type="button"],input[type="reset"],input[type="submit"] {
    background-color: #74c86e;
    border-bottom: 2px solid #51ba49;
    border-radius: 3px;
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    border: 0;
    padding: 16px;
    cursor: pointer;
    float: left;
    margin-right: 10px;
}

button:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover {
    background-color: #dadada;
    border-color: #c1c0c0;
}

button:focus,input[type="button"]:focus,input[type="reset"]:focus,input[type="submit"]:focus,button:active,input[type="button"]:active,input[type="reset"]:active,input[type="submit"]:active {
    border-color: #aaa #bbb #bbb;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5),inset 0 2px 5px rgba(0,0,0,0.15);
}

input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea {
    float: none;
    clear: both;
    width: 92.727272727273%;
    margin-bottom: 20px;
    padding: 10px 3%;
    border: none;
    background: #f2f2f2;
    border-radius: 3px;
    margin-top: 10px;
}

select {
    border: 1px solid #ccc;
}

input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,input[type="number"]:focus,input[type="tel"]:focus,input[type="range"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="time"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="color"]:focus,textarea:focus {
    color: #111;
}


.form-submit {
    margin-top: 10px;
    margin-bottom: 20px;
}

#respond {
    background: #fff;
    padding: 15px;
}

#respond p {
    padding: 10px;
}

#respond label {
    padding: 5px;
    font-size: 18px;
    margin-bottom: 20px;
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
a.search-toggler {
    display: block;
    width: 24px;
    height: 24px;
    background: url(https://s3-us-west-2.amazonaws.com/links1by1/icon-search.png) no-repeat;
    background-position: 0 0;
}

a:hover.search-toggler {
    width: 26px;
    height: 26px;
}

.active-search .menu-search {
    display: block;
    position: absolute;
}

.menu-search {
    webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
    right: 0;
    z-index: 999;
    display: none;
    padding: 5px 25px 0 0;
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.blog-pagination {
    padding: 30px 0 20px 0;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.page-numbers {
    padding: 10px;
    border: 1px solid #f5f5f5;
    background: #f5f5f5;
}

.blog-pagination a:hover {
    background: #fff;
    color: #969595;
}



/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: .875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,.clear:after,.entry-content:before,.entry-content:after,.comment-content:before,.comment-content:after,.site-header:before,.site-header:after,.site-content:before,.site-content:after,.site-footer:before,.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.no-results,.not-found {
    padding: 20px;
}

.byline,.updated:not(.published) {
    display: none;
}

.posted-on time {
    color: #C0392B;
}

.single .byline,.group-blog .byline {
    display: inline;
}

.tags-links {
    margin-top: 50px;
    display: inline-block;
}

.dot:before {
    content: ".";
    padding: 5px;
    color: #EF2D56;
}

.single .entry-meta {
    padding: 10px;
    display: inline-block;
    background: #F6F6F6;
    margin-bottom: 10px;
    line-height: 1.2em;
    letter-spacing: .9px;
}

.single .entry-meta a:hover {
    color: #969595;
}

.page-content,.entry-content,.entry-summary {
    margin: 1.5em 0 0;
}
.page-content p {
    padding: 5px;
    margin-bottom: 20px;
}
.page-content input[type="search"] {
	width:250px;
}
.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.rights p {
    text-align: center;
    line-height: 20px;
}

.rights {
    margin-top: 0;
    padding: 10px;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,.archive .format-aside .entry-title {
    display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}


#comments {
    padding: 20px;
    margin-bottom: 60px;
    width: 92.727272727273%;
    margin: 0 auto;
}

.comments-title {
    margin-bottom: 30px;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

#comments ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#comments ul li {
    clear: both;
    margin-bottom: 28px;
    margin-top: 28px;
}

#comments ul li ul {

    list-style: none;
    margin-left: 45px;
    border-left: 1px solid #ddd;
    padding: 20px 0 0 50px;
}
#comments input[type="submit"] {
    margin-top: -25px;	
}
.comment-author {
    float: left;
    margin-bottom: 23px;
}

.comment-author img {
    float: left;
    width: 72px;
    height: 72px;
}

.comment-author b {
    font-size: 14px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 14px;
}

.comment-author span {
    display: none;
}

.comment-content {
    background-color: #fff;
    padding: 25px;
}

.comment-content p {
    font-family: "Raleway",arial;
    font-size: 15px;
    line-height: 24px;
}

.comment-meta {
    padding: 20px;
}

.comment-body .reply {
    padding: 8px;
    display: inline-block;
    border-left: 2px solid #D2D9DB;
    text-transform: uppercase;
    border-radius: 3px;
    margin-top: 5px;
    color: #fff;
    font-size: 14px;
}

.reply a:hover {
    color: #969595;
}

.comment-author b a:hover {
    color: #969595;
}

.comment-metadata a {
    font-style: italic;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #969595;
}

.comment-metadata .edit-link {
    padding: 10px;
}

.comment-metadata time {
    color: #454545;
}
/*--------------------------------------------------------------
## Author
--------------------------------------------------------------*/
#post-author {
	padding: 10px;
    margin-bottom: 60px;
    width: 92.727272727273%;
    margin: 0 auto;	
	margin-top: 15px;
}

.author-box {
	background: #fff;
    padding: 15px 15px 30px 15px;
}
.author-box img {
	float:left;
}
.author-box  .info {
        margin-left: 100px;
	padding: 10px;
}
.author-box  .display-name{
    margin-bottom: 20px;
    font-family: Roboto;
    font-variant: small-caps;
    font-size: 18px;

}
.author-box  .author-desc{
    margin-bottom: 20px;
    font-family: Roboto;
    font-size: 14px;
    letter-spacing: 0.012em;
    line-height: 1.2em;
    color: #767676;

}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,/* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer {
/* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,.entry-content .wp-smiley,.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,iframe,object {
    max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: .8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}