/* ================================

Theme Name: The Cherian Thomas Special
Theme URI: http://www.cucumbertown.com
Description: Personal theme for Cherian Thomas writings.
Author: Dan Hauk
Author URI: http://www.danhauk.com
Version: 1.1

==================================== */

/*  RESET
======================================================================== */
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
    margin:0;
    padding:0;
    }
table {
    border-collapse:collapse;
    border-spacing:0;
    }
fieldset,img {
    border:0;
    }
address,caption,cite,code,dfn,th,var {
    font-style:normal;
    font-weight:normal;
    }
caption,th {
    text-align:left;
    }
h1,h2,h3,h4,h5,h6 {
    font-size:100%;
    }
q:before,q:after {
    content:'';
    }
abbr,acronym {
    border:0;
    }
a img {
    border: 0;
    }



/*  GLOBAL ELEMENTS
======================================================================== */
/* Structure */
body, html {
    background: #fff;
    color: #333;
    font: 20px/1.5em Garamond, Baskerville, 'Times New Roman', Times, serif;
}

.clearfix { overflow: hidden; }

img, object { max-width: 100%; }

/* Typography */
h1, h2, h3, h4 {
    font-weight: normal;
}

a { color: #138CB4; }
a:hover { color: #333; }

/*  INFO PANEL
======================================================================== */
#info,
#info-blank {
    background-color: #f3f3f3;
    border-right: 1px solid #ccc;
    /*height: 100%;*/
    left: 0;
    padding: 20px;
    /*position: fixed;*/
    text-align: center;
    top: 0;
    width: 255px;
    position: absolute;
    z-index: 10;
}

#info-blank {
    height: 100%;
    position: fixed;
    z-index:0;
}

    .avatar {
        background: white;
        border: 1px solid #ccc;
        padding: 2px;
    }

    #info h1 {
        border-bottom: 1px solid #ccc;
        font-size: 22px;
        line-height: 1.2em;
        padding-bottom: 10px;
        text-align: center;
        text-transform: uppercase;
    }

        #info h1 a { text-decoration: none; }

    #info .description,
    .widget_text {
        border-top: 1px solid #fff;
        border-bottom: 1px solid #ccc;
        font-size: 14px;
        line-height: 18px;
        padding: 10px 0;
    }
    
    #text-3 { /* Subscribe buttons */
        border-bottom: 0;
    }
    
    #info .subscribe a {
        background: url(http://gigpeppers.com/wp-content/uploads/2012/11/sub-buttons1.png) no-repeat 0 0;
        display: inline-block;
        height: 20px;
        margin-right: 5px;
        text-indent: -9999em;
        width: 20px;
    }
    
        #info .subscribe .rss { background-position: -30px 0;}
        #info .subscribe .rss:hover {background-position: -30px -30px;}
        #info .subscribe .email:hover {background-position: 0 -30px;}
        #info .subscribe .contact {background-position: -60px 0;}
        #info .subscribe .contact:hover,
        #info .subscribe .contact.active {background-position: -60px -30px;}

    #info .social,
    .widget_social_widget {
        margin-top: 20px;
    }

        .widget_social_widget a {
            background: url(http://gigpeppers.com/wp-content/uploads/2012/11/social-icons1.png) no-repeat 0 0;
            display: inline-block;
            height: 24px;
            margin-right: 8px;
            text-indent: -9999em;
            width: 24px;
        }

        .widget_social_widget .facebook:hover { background-position: 0 -30px; }
        .widget_social_widget .instagram {background-position: -30px 0;}
        .widget_social_widget .instagram:hover {background-position: -30px -30px;}
        .widget_social_widget .twitter {background-position: -60px 0;}
        .widget_social_widget .twitter:hover {background-position: -60px -30px;}
        .widget_social_widget .gplus {background-position: -90px 0;}
        .widget_social_widget .gplus:hover {background-position: -90px -30px;}

/*  CONTACT FORM
======================================================================== */
.contactform {
    overflow: hidden;
    text-align: left;
}

.contactform ol {
    list-style: none;
}

.contactform .single,
.contactform textarea {
    border: 1px solid #ccc;
    color: #999;
    font-family: Helvetica, Arial, Tahoma, sans-serif;
    font-size: 13px;
    margin-bottom: 10px;
    padding: 5px;
    width: 188px;
}

.contactform textarea { 
    height: 80px;    
    margin-bottom: 0;
}

.contactform .single:focus,
.contactform textarea:focus {
    border-color: #138CB4;
    color: #333;
}

.contactform fieldset,
.contactform .linklove {
    display: none;
}

.contactform #sendbutton {
    background: #138CB4;
    border: 1px solid #138CB4;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    float: left;
    font-family: Helvetica, Arial, Tahoma, sans-serif;
    font-size: 13px;
    padding: 5px 10px;
}

.contactform #sendbutton:hover {
    background: #31acd5;
}

.contactform #sendbutton:active {
    background: #31acd5;
    margin-top: 1px;
}

.contactform #usermessagea {
    font-size: 14px;
    text-align: center;
}

.contactform .failure { color: #c11414; }
.contactform .success { color: #70ab12; }

/*  POSTS
======================================================================== */
#container {
    margin-left: 295px;
    padding: 20px 40px 40px;
    max-width: 700px;
}

.post { margin-bottom: 60px; }

    .post .date {
        color: #999;
        font-size: 16px;
        font-style: italic;
    }

    .post h1 {
        font-size: 36px;
        line-height: 40px;
        margin-bottom: 16px;
    }

        .post h1 a {
            color: #333;
            text-decoration: none;
        }

            .post h1 a:hover { color: #138CB4; }

    .post h2 { 
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 16px;
    }
    .post h3 { 
        font-size: 26px;
        line-height: 40px;
    }

    .post p,
    .post ul,
    .post ol,
    .post blockquote {
        margin-bottom: 1.2em;
    }

    .post ul,
    .post ol {
        margin-left: 2em;
    }

        .post li { margin-bottom: 6px; }

    .post blockquote {
        background: #F0F5FA;
        font-style: italic;
        padding:20px;
    }

    .post pre {
        background: #F0F5FA;
        font-size: 0.7em;
        line-height: 1.9em;
        margin-bottom:1.2em;
        overflow-x: auto;
        padding: 15px;
    }

    .gist .gist-file .gist-data .line_numbers span {
        font-size: 0.7em !important;
        line-height: 1.9em !important;
    }

    .gist .gist-file .gist-meta {
        font-size: 0.6em !important;
        line-height: 1.9em !important;
    }

/* Index Page Posts */
.index {
    border-bottom: 1px solid #ececec;
    margin-bottom: 16px;
}

    .index img {
        -webkit-border-radius: 5px;
           -moz-border-radius: 5px;
             -o-border-radius: 5px;
                border-radius: 5px;
        float: left;
        height: 40px;
        margin: 0 16px 16px 0;
        width: 40px;
    }

    .index .date {
        float: right;
        font-size: 14px;
        font-style: normal;
        line-height: 46px;
    }

    .index h2 {
        float: left;
        font-size: 24px;
        line-height: 40px;
        width: 520px;
    }

        .index h2 a { text-decoration: none; }

/* Images */
img.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

img.aligncenter {
    display: block;
    margin: 16px auto;
    text-align: center;
}

img.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

/* Pagination */
.post-pagination {
    margin: 40px 0;
    text-align: center;
}

.nav-previous, .nav-next {
    display: inline-block;
    width: 46%;
    max-width: 200px;
    margin: 0 1%;
}

    .post-pagination a {
        display: block;
        padding: 5px;
        background: #f5f5f5;
        border: 1px solid #ccc;
        border-radius: 3px;
        font: 12px 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
        text-transform: uppercase;
        text-align: center;
        text-decoration: none;
        line-height: 30px;
        transition: all 0.2s;
    }

    .post-pagination a:hover {
        background: #fff;
        border-color: #138CB4;
    }

    .post-pagination a.disabled {
        background: #fff;
        border-color: #e0e0e0;
        color: #ccc;
    }

/*  DISQUS
======================================================================== */
.dsq-comment-footer { font-size: 16px !important; }

#dsq-footer,
.dsq-comment-header { font-size: 14px !important; }

#dsq-content #dsq-footer .dsq-font { font-size: 12px !important; }

/*  FOOTER
======================================================================== */
#footer {
    clear: both;
    color: #999;
    font-size: 14px;
}


/*  MOBILE
======================================================================== */
@media only screen and (max-width: 1070px) {
	.index h2 {
		float:none;
		line-height:22px;
		margin-bottom:0;
		width:auto;
	}
	.index .date {
		float:none;
		line-height:16px;
	}
}
@media only screen and (max-width: 800px) {
	.hide-on-mobile { display:none !important; }

	#info {
		padding:10px 0;
		position:static;
		overflow:hidden;
		text-align:left;
		width:100%;
	}
	.avatar {
		float:left;
		margin:0 10px;
	}
	#info h1 {
		border:0;
		margin-left:122px;
		margin-right:10px;
		padding:0;
		text-align:left;
	}
	#info .description,
        .widget_text {
		border:0;
		margin-left:122px;
		margin-right:10px;
	}
        .widget_social_widget {
		border-top:1px solid #ccc;
		clear:both;
		margin:10px 10px 0;
		padding-top:10px;
		text-align:center;
	}

	#container {
		margin:0;
		padding:20px 0 40px;
		width:100%;
	}
	.post, #disqus_thread {
		padding:0 10px;
	}

}