/*  
Theme Name: iface responsive
Theme URI: http://ifacethoughts.net/
Description: A minimal and responsive theme, using HTML5 and CSS3, for blogs. 
Version: 0.1
Author: Abhijit Nadgouda
Author URI: http://ifacethoughts.net/about/author/
 */

html, body {		
    margin: 0;
    padding: 0;
}
body {
    color: #28292b;
    font: 100%/1.6em "Open Sans", "Helvetica Neue", Arial, Helvetica, "Bitstream Vera Sans", sans;
    text-align: center;
    background-color: rgb(250, 250, 250);
}


/* Structure */
#wrap {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    text-align: left;
}
#posts,
#single {
    overflow: hidden;
    margin-top: 1.5em;
}
.primary {
    float: left;
    width: 60%;
    margin-right: 4%;
    
}
#rest {
    margin-top: 1.5em;
    line-height: 1.5em;
}
.secondary {
    float: left;
    width: 36%;
    text-align: right;
}
#footer     {
    margin: 0;
    padding: 0;
    clear: both;
    padding: 0.8em;
}

/* Basic element styles */
a {
    color: #252525;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
}
a:visited {
    color: #454545;
}
a:hover {
    background-color: #ccc;
    color: #000;
}
p {
    margin-top: 0;
}
h1, h2, h3, h4  {
    clear: both;
    color: #454545;
    text-shadow: 1px 1px 2px #fff;
}
h1 {
    font-size: 1.5em;
}
h2 {
    font-size: 1.25em;
}
h3 {
    font-size: 1.125em;
}
h4 {
    font-size: 1em;
}
pre, code {
    font: 0.875em/1.5em monofur, Consolas, Inconsolata, "Courier New", Courier, Fixed;
}
pre {
    line-height: 1.25em;
}
acronym {
    cursor: help;
}
acronym, abbr {
    border-bottom: 1px dashed #999;
}
acronym, abbr, 
span.caps {
    font-size: 90%;
    letter-spacing: .07em;
}
select {
    width: 130px;
}
blockquote {
    border-left: 2px solid #d60;
    margin-left: 0;
}
blockquote p {
    margin-left: 5%;
    color: #345;
}
blockquote cite {
    margin: 0.375em 0 0;
    display: block;
}
hr {
    display: none;
}
img {
    border: none;
}
ol li {
    list-style: decimal outside;
}
form {
    margin-bottom: .6em;
    padding: .6em;
    border: 1px solid #eee;
}
form p {
    margin: 0.375em 0;
}
textarea {
    width: 98%;
    font-size: 100%;
}
label {
    display: block;
}
input, textarea {
    clear: both;
    margin: 2px 2px 1px 0;
    padding: 2px;
    border: 1px solid #ccc;
    background-color: #eee;
    color: #000;
}
input:focus, 
textarea:focus  {
    background-color: #fff;
}

/* Custom classes and IDs */
#skiplinks              {
    text-align: right;
    text-transform: lowercase;
    border: none;
    margin: -2em 0 2em 0;
    font-size: 0.8em;
    color: #999;
}

#blogtitle              {
    font-size: 2.5em;
    margin-top: 0;
    padding: 0;
}
#blogtitle a            {
    color: #369;
    border-bottom: 0;
    text-decoration: none;
}
#blogtitle a span       {
    color: #999;
}
#blogtitle a:hover,
#blogtitle a:hover span {
    color: #369;
    background-color: transparent;
}

#searchform         {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border: none;
}
#searchform p       {
    margin: 0;
    padding: 0;
}
.search_input       {
    width: 99%;
    font-size: smaller;
    border: 1px solid #ccc;
    color: #666;
    clear: none;
}

ul#extramenu,
ul#mainmenu            {
    list-style-type: none;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}
ul#extramenu li,
ul#mainmenu li         {
    list-style-type: none;
    float: left;
}

ul#extramenu           {
    clear: top;
}
ul#extramenu li        {
    margin 0 0 0.5em 1%;
    padding: 0;
    float: right;
}
ul#extramenu li a      {
    border-bottom: none;
}

ul#mainmenu li         {
    margin: 0;
    padding: 0;
}
ul#mainmenu li a       {
    margin: 0 20px 0 0;
    padding: 0;
    text-transform: lowercase;
    text-decoration: none;
    display: inline;
    border-bottom: 1px solid #ccc;
}

article                     {
    padding: 0.8em 0;
    margin-bottom: 0.8em;
    clear: both;
}
article header time         {
    color: #999;
    text-decoration: none;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 0.8em;
}
.entry-title                {
    font-size: 2em;
    line-height: 1.25em;
    padding: 0;
    margin: 0 0 0.25em 0;
}
.entry-title a              {
    text-decoration: none;
    border-bottom: 1px solid #d3d4b9;
    display: block;
    text-shadow: 1px 1px 2px #fff;
}
#single .entry-title        {
    border-bottom: 1px solid #ccc;
}
.entry-content              {
    margin: 0;
    padding: 0;
    display: block;
}
.postmetadata               {
    margin: 0 0 1.5em 0;
    padding-top: 0;
    color: #999;
    text-align: right;
    font-size: 0.8em;
}
.postmetadata span.author   {
    display: inline;
}
.date {
    margin: 0;
}
.more-link                  {
    margin-left: 5px;
}
.entry-content h2, 
.entry-content h3           {
    padding: 0;
    border-bottom: 1px dotted #d3d4b9;
}
.entry-content ol, 
.entry-content ul           {
    margin: 0;
}
.entry-content li           {
    list-style-type: disc;
    margin: 0.5em 25px 0.5em 0;
}
.entry-content form         {
    text-align:center;
}
.entry-content a            {
    color: #369;
    font-weight: bold;
}
.entry-content a:visited    {
    color: #454545;
}
.attachment                 {
    text-align: center;
    margin: 5px 0px;
}

#comments, #respond  {
    margin: 1.5em 0 0 0;
}
#commentform {
    margin-right: 40px;	
}
#commentform input   {
    width: 60%;
}
#commentform #submit {
    width: auto;
}
#commentlist         {
    margin: 0.8em 40px 0 0;
    padding: 0;
    border-top: 1px solid #ddd;
}
#commentlist li      {
    margin: 1.5em 0;
    padding: 3px;
    text-indent: 0;
    list-style: none;
    border-bottom: 1px solid #ddd;
}
.commentmetadata     {
    display: block;
    text-align: right;
    margin-bottom: 1.5em;
}
.nocomments          {
    text-align: center;
    margin: 0;
    padding: 0;
}
#commentlist         {
    font-size: small;
    line-height: 1.3em;
}

.navigation          {
    width: 100%;
    margin: 0.4em 0 0.8em 0;
    clear: both;
}
.older               {
    width: 45%;
    float: left;
}
.newer               {
    width: 45%;
    float: right;
    text-align: right;
}

#contactform form   {
    border: none;
}

#rest h4       {
    text-transform: uppercase;
    margin: 1.6em 0 0.8em 0;
    clear: none;
}
#rest h4 span  {
    color: #999;
}
#rest ul, 
#rest ul ol    {
    margin: 0 0 5px 0;
    padding: 0;
}
#rest li       {
    margin: 0;
    padding: 0;
    list-style: none;
}
#rest ul p, 
#rest select   {
    margin: 5px 0 8px;
}
#rest ul ul, 
#rest ul ol    {
    margin: 5px 0 0 0;
}
#rest ul ul ul {
    margin: 0 0 0 0.8em;
}
#rest ul ul li, 
#rest ul ol li {
    margin: 0.8em 0;
    padding: 0;
}

#recentposts, #recentposts li {
    text-indent: 0;
    padding: 0;
}
#recentposts li     {
    list-style: none;
    margin: 0.8em 0;
}
#recentposts li a, 
#contactme li       {
    padding: 0.1875em 5px;
    margin: 0.8em 0;
}
#recentposts li a:hover, 
#contactme li:hover {
    border-color: #d3d4b9;
}
ul#badges li        {
    list-style: none;
}
.wp_quotes_author   {
    font-weight: bold;
    text-align: right;
}

.ads            {
    margin: 1.5em 0;
}
.primary .ads   {
    margin-right: 40px;
    border: 1px solid #ccc;
}
.googlelinkunit {
    clear: both;
    display: block;
}
#adsense-vert   {
    padding-top: 1.5em;
}
#rest .tall     {
    width: 160px;
    margin: 0 0 1.5em 0.8em;
}
#rest .button   {
    text-align: left;
    margin-top: 0;
}

#brief              {
    clear: both;
    display: block;
    padding: 5px 0;
    margin: 5px 0;
    border-top: 1px solid #d3d4b9;
    border-bottom: 1px solid #d3d4b9;
}
#categories         {
    margin: 0 1% 0 0;
    padding: 0 0 0 1%;
    line-height: 2em;
    list-style: none;
}
#categories li      {
    margin: 3px;
    display: inline;
}
#categories a:hover {
    background-color: #e3e4ca;
    color: #000;
}
#categories .children {
    display: inline;
    margin: 0;
    padding: 0;
}
#brief .secondary p {
    padding: 0 1% 0 0;
}

#footer             {
    margin: 0;
    clear: both;
    padding: 5px;
    text-align: center;
    font-size: 0.8em;
}
ul#affiliations li  {
    list-style: none;
    display: inline;
}

.alignright         {
    float: right;
    margin: 0 0 0.8em 8px;
}
.alignleft          {
    float: left;
    margin: 0 8px 0.8em 0;
}
#rest .alignright,
#rest .alignleft    {
    width: 45%;
}
.clearfix:after     {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.clearfix           {
    display: inline-block;
}

@media screen and (min-width: 1150px) {
    .primary {
        width: 56%;
    }
    .secondary {
        width: 38%;
    }
}

@media screen and (max-width: 900px) {
    .primary {
        width: 56%;
    }
    .secondary {
        width: 42%;
    }
    #categories {
        border-bottom: 1px dotted #ccc; 
        margin-bottom: 1.6em;
        padding-bottom: 1.6em;
    }
}

@media screen and (max-width: 899px) {
    body {
        line-height: 1.6em;
    }
    .primary,
    .secondary {
        width: 100%;
        margin-right: 0px;
    }
    #posts,
    #single,
    article {
        margin-right: 0px;
        margin-left: 0px;
    }
    #searchform {
        margin-top: 1.6em; 
    }
}

@media screen and (max-width: 600px) {
    body {
        font-size: 0.875em;
        line-height: 1.6em;
    }
}