/*  
Theme Name: Cody Christian Brasil - Code For Fan Design WP Premade 
Theme URI: https://twitter.com/codeforfan  
Author: Bruna Rafaela
Author URI:
Version: 1.0
*/

* {
 margin: 0; 
 padding: 0;
 outline: none; 
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;}
 
*:before, *:after {
-webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;}

body {
background-color: #f8f0e7;
 color: #484848; 
 font-family: 'Open Sans', sans-serif; font-size: 13px; 
 line-height: 20px;
 text-align: justify;
 margin-top: 0 !important;
 padding-top: 0 !important;}

/* ----------------- CONTAINERS ----------------- */

#main {
float: left;  
 position: relative; 
 width: 100%;
 padding-top: 30px;
 margin-bottom: 30px;}
 
#content {
max-width: 1200px;
margin: 0 auto; 
overflow: hidden;}

#footer{
clear: both;
width: 100%;
 margin: 20px auto 0 auto;
 padding: 9px 0 0 0;
 text-decoration: none;
 background-color: #fff;
 text-transform: uppercase;
 font: 400 12px 'Open Sans', sans-serif;
 letter-spacing: 1px;
 text-align: center;
 line-height: 25px;}

 #footer a {
 color: #ffd25e;}
 
#footer a:hover {
color: #484848;}

#footer .inner   {
padding: 15px;
 overflow: hidden;
 margin: 0 auto; 
 max-width: 1200px;
 display: inline-block;}

#ad{width: 100%;
margin: 20px auto;
float: left;}

.banner{max-width: 1200px; 
margin: 0 auto;
padding: 10px;
background-color: #ffffff;}

.banner .image, .banner .image:hover {
height: 90px;
background-image: none;
background-color: transparent;
background-position: center right;
background-repeat: no-repeat;
padding: 0;
border: none;
box-shadow: none;}


/* ----------------- HEADER ----------------- */

#header{
background: url("../images/3.png") top center no-repeat; 
height: 525px;
 width: 100%; 
 border: none; 
 margin: 0 auto;
 float: left;}

 /* ----------------- FEATURED ----------------- */

 
#featured {
    width: 100%;
    float: left;}

#featured .content {
    max-width: 1200px; 
    display: block;
    margin: -80px auto 0 auto;
    font-size: 12px;
    line-height: 22px;
    -webkit-box-shadow: 3px 0px 3px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 3px 0px 3px 0px rgba(0,0,0,0.05);
    box-shadow: 3px 0px 3px 0px rgba(0,0,0,0.05);
    height: 200px;
    background-color: #ffffff;}

#featured .message {
    float: left;
    display: inline-block;
    font-weight: 400;
    text-align: justify;
    color: #666;
    width: 50%;
    padding-left: 30px;
    padding-right: 20px;
    height: 100%;}

#featured .message u {
    border-bottom: 1px dotted #484848;}  

#featured .text {
    display: block;
    background-color: #414141;
    color: #fff; 
    max-width: 130px;
    margin: 20px auto 0 auto;
    margin-bottom: 20px;
    text-align: center; 
    padding: 19px 12px;
    font: 500 13px 'Raleway', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;}

#featured .icons {
    margin-top: 20px;
    text-align: center;}

#featured .icons a {
    color: #7b7b7b; 
    font-size: 15px; 
    font-weight: 300;   
    margin-right: 30px;}

#featured .icons a:hover {
    color: #484848;}

#featured .follow {
        width: 50%;
    display: inline-block;
    font-weight: 400;
    text-align: justify;
    padding-left: 20px;
    padding-right: 30px;
    height: 100%;}


/* ----------------- NAVIGATION ----------------- */

#navigation{
    margin: 0 auto; 
    width: 100%; 
    float: left; 
    background-color: #ffffff;}

#navigation .content{
    margin: 0 auto;
    max-width: 1240px;}

.sitetitle{
    display: block; 
    background-color: #484848; 
    float: left;  
    text-align: left;
    width: auto;  
    display: inline-block; 
    font-style: italic;
    text-transform: uppercase;
    padding: 19px 12px;
    color: #ffffff;
    font: 500 13px 'Raleway', sans-serif;
    letter-spacing: 1px;
    webkit-border-radius: 2px;
    -moz-border-radius: 2px; 
    border-radius: 2px;
    margin-top: 20px; 
    margin-bottom: 20px;
    margin-left: 20px;}

.sitetitle .social a{
    color:#fff;
    font-size:15px;
    -webkit-transition: all 0.3s ease;  
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;}

.sitetitle .social a:hover{
    color:48484;}

.sitetitle .social {
    display:none;}

.menu {
    margin: 0;
    font: 500 13px 'Raleway', sans-serif;
    color: #484848;
    letter-spacing: 1px;
    margin-right: 20px;
    text-align: right;
    text-transform: uppercase;
    padding-top: 20px;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;}

.menu a {
    font-family: inherit;
    color: #484848;
    text-decoration: none;
    text-transform: uppercase;
    padding: 9px 9px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: inline-block;}

.menu a:hover a:active{
    color: #fff;}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;}

.menu li {
    display: inline-block;
    margin-right:10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;}

.menu li:hover{
    background-color: #ffd25e;}

.menu li a:hover{color:#fff;}

.show-menu {
    font-family: 'Ralaway', sans-serif;
    text-decoration: none;
    color: #fff;
    background: #ffd25e;
    text-align: left;
    display: none;
    font-size: 16px;
    padding: 15px 0 15px 20px;}

.show-menu,.menu input[type=checkbox] {
display: none;}

.menu input[type=checkbox]:checked ~ #menu {
display: block;}

/* ----------------- GENERAL STYLE ----------------- */

a {
    color: #ffd25e;
    text-decoration: none; 
    -webkit-transition: color 300ms ease-out;
    -moz-transition: color 300ms ease-out;
    transition: color 300ms ease-out;}

a:hover {
    color: #484848;
    text-decoration: none;
    filter:alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;}
    
strong {
    padding: 0px; 
    color: #484848; 
    font-weight: 700;}

em {
    color: #484848;
    text-decoration: none;}
    
u { 
    text-decoration: none; 
    border-bottom: 1px solid #484848;} 
    
underline {
    text-decoration: none;
    border-bottom: 1px solid #484848;}
    
.aligncenter, div.aligncenter {
    display: block; 
    margin-left: auto;
    margin-right: auto;}
    
.alignleft {
    float: left;}
    
.alignright {
    float: right;}

html, table tr td, table, tr, td, body, img {
    padding: 0; 
    margin: 0;
    border: 0; }
    
::selection { 
    background-color:#484848;
    color: #ffffff; }

::-moz-selection {
    background-color:#484848; 
    color: #ffffff; }
    
.clear{
    clear:both;
}    
    

/* ----------------- TOOLTIP ----------------- */

div#qTip {
    padding: 6px;
    border-right-width: 2px;
    border-bottom-width: 2px; 
    display: none;
    color: #fff;
    text-transform: uppercase; 
    background-color: #414141; 
    font-weight: 400;
    font-size: 13px;
    text-align: left;
    position: absolute; 
    z-index: 1000;}

/* ----------------- TOP ----------------- */

.top {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    font-size: 1.5rem;
    color: #ffffff!important;
    background-color: #484848; 
    text-decoration: none; 
    text-align: center; 
    cursor: pointer;
    border-radius: 50%;}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit; 
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;}

.fa-angle-up:before {
    content: "\f106";}


/* ----------------- LATEST GALLERY ----------------- */

.latest-gallery{
    float: left;
    display: inline-block;
    width: 100%;
    text-align: center;
    position: relative;}
    
.latest-gallery .text {
    margin-bottom: 20px;
    display: inline-block;
    text-transform: uppercase;
    padding: 19px 12px; 
    color:#fff;
    background-color: #484848;
    font: 500 13px 'Raleway', sans-serif;
    letter-spacing: 1px;
    text-align: center;} 

.latest-gallery .latest-img{
    margin: 0 auto;
       -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;} 

.latest-gallery .latest-img img:hover{
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);} 

/* ----------------- CARDS ----------------- */

.cards {
    float: left;
    max-width:100%;
    height:auto;}

.card {
    width: 32%;
    height: 325px;
    float: left;
    overflow:hidden;
    margin-bottom: 20px;
    margin-right: 24px;
    background-color: #fff;
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.05);
    box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.05);}

.card:nth-child(3n){
    margin-right:0;}

.card:nth-child(6n){
    margin-right:0;}

.card:nth-child(9n){
    margin-right:0;}

.card:nth-child(12n){
    margin-right:0;}

.card:nth-child(15n){
    margin-right:0;}

.card .featured {
	width:100%!important;
	height:170px;
}

.card .featured img {
	height: 170px;
	width: 100%!important;
	box-shadow: 0px 0px 0px;
	padding: 0px;
	border: 0px;
	opacity: 1!important;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.card-title {
    width: 100%;
    height: 85px;
    letter-spacing: 1px;
    padding: 20px;
    line-height: 30px;
    text-align: center;
    color: #484848;}
    
.card-title a {
    font: 200 20px 'Raleway', sans-serif;
    color: #484848;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;}

.card .card-date {
    display: inline-block;
    font: 500 10px 'Montserrat', sans-serif;
    line-height: 1.1;color:#000;
    position: absolute;
    z-index: 999;
    background-color:#ffc95a;
    margin-top: 10px;
    margin-left: 10px;
    padding: 10px;
    text-align: center;
    width: 45px;
    height: 30px;}

.card .author{
    width: 100%;
    height: 70px;
    text-transform: uppercase;
    display: inline-block;
    font-family: verdana;
    color: #ccc;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 400; 
    text-align: center;
    padding:35px;}

.card .author a{
    color: #ccc;}

.card .author a:hover{
    color: #ccc;}

.card:hover img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100);}

.card:hover a {
    color:#000;}

.card-posts {
    display: inline-block;
    margin-bottom: 20px;
    width:100%; 
    height:70px;
    background-color:#000;}

.card-posts a{
    display: block;
    color: #fff;
    padding: 15px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 40px;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition:	all 0.2s ease-in;
    -o-transition:		all 0.2s ease-in;
    transition: 		all 0.2s ease-in;}

.card-posts a:hover {
    color: #fff;}


/* ----------------- POSTS ----------------- */

.post {
    float: left;
    width: 67%;}
    
.post .entry {
    background-color: #ffffff;
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.05); 
    box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.05); 
    margin-bottom: 30px;}

.post .content {
    padding: 0 20px;
    margin-bottom: 35px;}

.post .head{
    font: 500 10px 'Raleway', sans-serif;  
    width: 100%;
    padding: 10px 0;
    text-align: center;
    text-transform: uppercase;
    word-spacing: 2px;
    letter-spacing: 1px;}

.post-title { 
    padding: 15px;
    margin: 15px;  
    line-height: 30px; 
    text-align: center; 
    text-transform: uppercase;}

.post-title a {
    font: 500 24px 'Raleway', sans-serif;  
    color: #484848;  
    letter-spacing: -0.5px;}

.post-title a:hover {
    color: #707070;}

.post .h3 {
    padding: 10px;
    margin: 8px 10px 8px 0; 
    font-family: 'Playfair Display', serif; 
    font-size: 25px;
    font-weight: 700; 
    font-style: normal; color: #484848;
    letter-spacing: 0;
    line-height: 30px;
    text-align: center;
    text-transform: uppercase;}

.post .post-info {
    width: 100%;
    margin: 15px;
    font-size: 10px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    color: #999999;}

.post .h3:after {
    display: table; 
    width: 50px; 
    height: 3px;
    margin: 15px auto 3px auto; 
    content: '';
    background-color: #000;}

.post .post-footer{
    margin: 0; 
    font-size: 10px;
    font-weight: 400; 
    text-transform: uppercase; 
    color: #484848; 
    padding: 20px;}

.post .author, .post .date, .post .comm, .post .cats {
    display: inline;
    padding: 6px;}

.post .comm a {
    display: inline;
    padding: 6px;
    color: #999999;}

.post .comm a:hover {
    color: #ffc95a;}

.post .cats a {
    display: inline;
    float:left;
    cursor:pointer;
    color: #ffffff;
    background-color: #ffd25e;
    -webkit-transition: all .1s ease; 
    transition: all .1s ease;
    padding: 3px 8px;
    letter-spacing: 1px; 
    text-transform: uppercase;
    margin-right: 5px;}

.post .cats a:hover {
    color: #484848;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-transition: all .1s ease;
    transition: all .1s ease;}

.post p { 
    margin-right: 5px;  
    margin-left: 5px;
    line-height: 30px;
    padding: 4px; 
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
    font-family: Raleway, sans-serif;}

.post img  {
     background-color: #414141;
    margin: 1px;
    padding: 4px;
    opacity:1;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;}

.post img:hover {
    filter:grayscale(100%);
}

.post img.alignright {
    float:right;
    margin-left: 10px;}

.post img.alignleft {
    float:left; 
    margin-right: 10px;}

.post img.aligncenter {
    display: block;
    margin-left: auto; 
    margin-right: auto}

.post .featured {
    width:100%!important;
    height:300px;
    margin: 0 0 20px 0;}

.post .featured img {
    height: 300px; 
    width: 100%!important;
    box-shadow: 0px 0px 0px;
    padding: 0px;
    border: 0px;
    opacity: 1!important;
    -webkit-border-radius: 0; 
    -moz-border-radius: 0;
    border-radius: 0;}

.post ol, .post ol ul {
    padding-left: 4px; 
    margin-right: 5px; 
    margin-left: 5px; 
    margin-bottom: 5px; 
    list-style-position: inside;
    padding-bottom: 10px;
    padding-top: 10px;}

.post ul, .post ul ul {
    list-style-position: inside; 
    list-style-image: none;
    list-style-type: none;
    padding-left: 4px; 
    margin-right: 5px; 
    margin-left: 5px;
    margin-bottom: 5px;
    padding-bottom: 10px; 
    padding-top: 10px;}


.post li {
    margin-left: 5px;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0px;}

h1 {
    padding: 9px;
    font-family: 'Raleway', sans-serif; 
    font-weight: 900;
    color: #484848;}

h2 {
    padding: 9px;
    color: #484848;
    font-size: 18px; 
    font-weight: 400; 
    text-transform: uppercase;
    letter-spacing: -1px;}

h3 {
    color: #484848;
    font-weight: 700; 
    font-size: 16px;
    border-bottom: 1px solid color: #ffc95a; 
    margin: 0px 7px 20px 7px; 
    padding: 12px 0px 0px 5px; }

h4 {
    padding: 9px;
    color: #484848;}

h5 {
    padding: 9px;
    color: #484848;}

h6 {
    padding: 9px;
color: #484848;}

blockquote {
    border-left: 7px solid #ffc95a;
    margin: 1.5em 10px; 
    padding: 0.5em 10px;
    background-color: #f9f9f9;}

.gallery {
    background-color: #f9f9f9;
    text-shadow: 1px 1px 0 #FBFBFB;
    border: 1px solid #e4e4e4; 
    margin: 5px 10px;
    padding: 0.5em 10px;
    line-height: 24px;}

.gallery strong {
    color: #484848;
    text-transform: uppercase; 
    padding-bottom: 3px;}

.gallery strong:before {
    content:"\f083";
    font-family: FontAwesome;
    font-style: normal;
    color: #9fc1c6; 
    font-weight: normal; 
    text-decoration: inherit;
    margin-right: 5px; }

.wp-caption {
    text-align: center; 
padding-top: 4px;
margin: 10px;}

.wp-caption p.wp-caption-text {
    font-size: 12px; 
    line-height: 17px; 
    padding: 0 4px 5px; 
    margin: 4px;}

.more-link {
    color: #fff;
    background-color: #414141; 
    cursor:pointer;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
    line-height: 40px;
    padding:10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    margin: 25px 0 0 0;}

.more-link:hover{
    color: #484848;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-transition: all .1s ease;
    transition: all .1s ease;}



/* ----------------- SIDEBAR ----------------- */

#sidebar {
    float: right;
    width: 30.3%; 
    max-width: 30.3%; 
    margin: 0 0 0;}

.widget {
    margin-bottom: 30px;
    padding:25px;
    text-align: justify;
    font-size: 12px;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.05);
    box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.05);
    line-height: 190%;}

.widget h2 {
    font: 500 14px 'Raleway', sans-serif; 
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #414141; 
    padding: 10px;
    text-align: center;}

.widget ul {
    margin: 0;
    border:0px; 
    padding-left: 5px;
    padding-right: 9px;
    list-style-position: inside;
    list-style-image: none;
    list-style-type: none;}

.widget ul li {
    padding: 5px 5px 5px 0;
    border-bottom: 1px solid #efefef;
    margin-bottom: 0px;}

.widget ul ul {
    list-style-position: inside;
    list-style-image: none; 
    list-style-type: square;}

.widget ul ul > li {
    padding-left: 10px;}

.widget i {
    color:#414141;}

.widget strong {
    color:#484848;}

.widget img, .widget a.img {
    margin: 0px; 
    padding: 1px;
    border: none; 
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px;
    border-radius: 3px;}

.widget img:hover, .widget a.img:hover {
    margin: 0px; 
    padding: 1px;
    border: none;}

.widget blockquote {
    background-color: #f9f9f9;
    margin: 5px 10px;
    padding: 0.5em 10px;
    font-style: italic; 
    font-size: 12px;
    text-align: justify;}

.widget .textwidget{
    text-align: justify;}

.widget .tagcloud {
    display: inline-block;}

.widget .tagcloud a {
    display: block; 
    float: left; 
    cursor: pointer; 
    margin: 0 5px 10px 0;
    padding: 3px 8px; 
    font-size: 10px!important; 
    letter-spacing: 1px;
    text-transform: uppercase; 
    color: #484848;
    border: 1px solid rgba(0, 0, 0, 0.1); 
    -webkit-transition: all .1s ease; 
    transition: all .1s ease;}

.widget .tagcloud a:hover {
    color: #ffffff;
    background-color: #9fc1c61; 
    border: none}



/* ----------------- COMMENTS ----------------- */

.comments respond {}

.comments {
float: left; 
padding: 0; }

.comments input[type=text], textarea {
width: 350px;}

textarea { 
width: 450px;}

.comments fieldset { 
padding: 10px;
 border: 1px solid #D3D8C9;
 margin: 10px 0 20px 0;}

.comments p {
padding: 0 0 10px 0px;}

.comments h2 {
 padding: 16px 0 15px 5px; 
 color: #2A171B; 
 font-family: 'Playfair Display', serif; font-weight: 900; 
 text-transform:uppercase;
 font-size: 20px; 
 font-style: normal;}

.commentmetadata {
font-size: 11px;}

.commentmetadata a {
line-height: 20px;}

.commentmetadata a:hover { }

.url {
font-family: 'Playfair Display', serif; 
font-weight: 900;
 font-style: normal;
 border-bottom: 2px solid #efefef;}

cite {
font-family: 'Playfair Display', serif; font-weight: 900; 
font-style: normal; 
border-bottom: 2px solid #efefef;}

#cdisplay {
 list-style-type: none;
 padding: 0; margin: 0;}

#cdisplay li { 
padding: 10px;  
margin-bottom: 10px;
 width: 610px;}

#cdisplay li.first {
border-bottom: 1px solid #D3D8C9;}

#cdisplay li.second {
border-bottom: 1px solid #D3D8C9;}

img.avatar, img.avatar:hover {
float: right;
 background-color: transparent; 
 padding: 1px; 
 border: none;
 -webkit-border-radius: 2px; 
 -moz-border-radius: 2px;
 border-radius: 2px; 
 margin-left: 10px;}

/* ----------------- FORM ----------------- */

textarea, option, select, input {
    width: 100%;
    padding: 15px;
    background-color: #ffffff;
    font-size: 15px;
    font-style: italic;
    border: 1px dotted #e4e4e4;}

textarea, option, select ,input: hover {
padding: 7px; 
background-color: #e4e4e4; 
border: none; 
font-size: 15px;}

#submit {
color: #FFF; 
 background-color:#f6ed00; 
 font-weight: 700;
 font-size: 12px; 
 text-transform: uppercase;
 border: 1px solid  #f6ed00;
 text-align: center;
 -webkit-transition: all 300ms ease-out;
 -moz-transition: all 300ms ease-out;
 transition: all 300ms ease-out;}

#submit:hover {
color: #FFF; 
background-color: #161616; }

#searchform {
text-align: center;}

/* ----------------- PAGINATION ----------------- */

.pagination {clear:both; padding: 20px 0; position:relative;}

.pagination span, .pagination a {
display:block; 
float:left; 
font-size: 16px;
 color: #484848; 
 background-color:#fff;
 padding: 8px 14px 8px 14px;
 margin: 1px 2px 0 2px; 
 text-transform: uppercase;}

.pagination a:hover {
color: #fff; 
background-color:#9fc1c6;}

.pagination span {
font-size: 16px; }

.pagination .current, .pagination .current a {
color:#9fc1c6;
  padding: 8px 14px 8px 14px; 
 margin: 1px 2px 0 2px; 
 font-size: 16px; 
 font-weight: 700; 
 text-transform: uppercase;}

/* ----------------- RESPONSIVE ----------------- */


@media only screen and (max-width: 1215px){

    #content {
    	width: 100%;
    }	

  #featured .content{
    	max-width:100%
    }
    .card {
    margin-right: 3px;
    margin-left: 8px;
	}

    .card .featured {
    	height: auto!important;
    }

    .card .featured img{
    	height: 100%;
    }

 
	.latest-gallery .latest-img img {
	width:50px;
	height:50px;}
}



@media only screen and (max-width: 1024px),
@media only screen and (min-width: 1024px){

body {
overflow-x: hidden;}

#content {
width: 1007px;}

#featured {
max-width: 1007px;}

#featured .content{
margin: -100px auto 0 auto;}

#content {
max-width: 100%;}

.card .author{
	margin-top:20px;}

.card .author .date {
    float: none;}

.post {
max-width: 67%; width: 67%;}

#sidebar {
max-width: 30.3%;}

#footer {
width: 100vw!important;}

#footer .inner {
width: 92vw!important;}

iframe, video, embed, img {
max-width: 100%;}

}


@media only screen and (max-width: 832px),
@media only screen and (min-width: 240px){
	.card {
    width:100%;
    margin: 0px;
    margin-bottom:20px;
    height: auto;
}

.card .author{
	margin-bottom: 20px;
}

.card .author .date {
    float: right;
}
}


@media only screen and (max-width: 1023px),
@media only screen and (min-width: 601px){

#main {
max-width: 100%;}

#header {
display: none; }

#featured {
display: none;}

#content {
width: 100%;}

#sidebar{
float: none;
width: 100%; 
max-width: 100%;}

#footer {
max-width: 100%;
font-size: 9px;}

#ad {
display:none;}

.menu {
margin-right: 0;
padding-top: 0;}

.menu ul {
position: static;
display: none;}

.menu li {
margin-bottom: 1px;
border-bottom: #e4e4e4 1px solid;}

.menu ul li, .menu li a {
width: 100%;
padding: 5px 0 5px 5px;}

.show-menu {
display:block;
color: #484848; 
 background-color: #fff;}

.sitetitle {
display: block;
float: none;
margin: 0;
font-size: 23px;
line-height: 1;
text-align: center;
color: #fff;
background-color: #484848;}

.sitetitle .social{
display: block;
padding-top: 10px;}

.post, .comments, .comments input[type=text], textarea, #cdisplay li {
width: 100%;
 max-width: 100%;
 float: none;}

.post-title a, .post .h3 {
font-size: 22px;}

.post .post-info, .post .post-footer  {
font-size: 14px;}

.post img, .post a.img {
max-width: 90%!important;
 height: auto!important;}

.post .featured {
text-align: center;}

.post .featured img {
max-width: 100%!important; 
height: auto!important;}

.wp-caption {
display: none;}

.wp-caption p.wp-caption-text {
display: none;}

iframe, video, embed, img {
max-width: 100%;}

}

@media only and (max-width: 600px),
@media only screen and (min-width: 481px){

#main {
max-width: 100%;}

#sidebar {
max-width: 100%;
 float: none;}

#featured {
max-width: 100%;}

#featured .welcome {
width: 100%;}

#content {
max-width: 100%;}

#footer {
max-width: 100%;}

#footer .inner {
width: 80vw!important;}

.sitetitle {
font-size: 14px;}

.post, .comments, .comments input[type=text], textarea, #cdisplay li { 
 max-width: 100%;}

.post-title a, .post .h3 {
font-size: 22px;}

.post .post-info, .post .post-footer  {
font-size: 13px;}

.post img, .post a.img {
max-width: 90%!important; 
height: auto!important;}

.post .featured {
text-align: center;}

.post .featured img {
max-width: 100%!important; 
height: auto!important;}

.wp-caption {
display: none;}

.wp-caption p.wp-caption-text {
display: none;}

iframe, video, embed, img {
max-width: 100%;}

}

@media only screen and (max-width : 480px), 
@media only screen and (min-width: 361px){

#header {
display: none;}

#featured {
display: none;}

#content {
max-width: 100%;}

.sitetitle {
font-size: 10px;}

.post, .comments, .comments input[type=text], textarea, #cdisplay li { 
 max-width: 100%; 
 float: none;}

.post-title a, .post .h3 {
font-size: 22px;}

.post .post-info, .post .post-footer  {
font-size: 9px;}

.post img, .post a.img {
max-width: 90%!important;
 height: auto!important;}

.post .featured {
text-align: center;}

.post .featured img {
max-width: 100%!important;
 height: auto!important;}

.wp-caption {
display: none;}

.wp-caption p.wp-caption-text {
display: none;}

iframe, video, embed, img {
max-width: 100%;}

}

@media only screen and (max-width: 360px),
@media only screen and (min-width: 241px){

#header {
display: none;}

#main {
max-width: 100%;}

#content {
max-width: 100%;}

#footer {
text-align: center;}

.sitetitle {
font-size: 10px;}

.post, .comments, .comments input[type=text], textarea, #cdisplay li { 
 max-width: 100%;
 float: none;}

.post-title a, .post .h3 {
font-size: 20px;}

.post .post-info, .post .post-footer  {
font-size: 9px;}

.post img, .post a.img {
max-width: 70%!important; height: auto!important;}

.post .featured {
text-align: center;}

.post .featured img {
max-width: 100%!important; height: auto!important;}

.wp-caption {
display: none;}

.wp-caption p.wp-caption-text {
display: none;}

iframe, video, embed, img {
max-width: 100%;}

}

@media only screen and (max-width: 240px),
only screen and (max-device-width: 240px){

#header {
display: none;}

#main { 
max-width: 100%;}

#featured {
display: none;}

#content {
max-width: 100%!important; 
font-size: 90%;}

#footer {
text-align: center;}

.post, .comments, .comments input[type=text], textarea, #cdisplay li {
  max-width: 100%; 
  float: none;}
  
.post-title a, .post .h3 {
font-size: 15px;}

.post img, .post a.img {
max-width: 80%!important;
 height: auto!important;}
 
.post .featured {
text-align: center;}
	
.post .featured img {
max-width: 90%!important;
 height: auto!important;}

.wp-caption {
display: none;}

.wp-caption p.wp-caption-text {
display: none;}

iframe, video, embed, img {
max-width: 100%;}

}