/*
Theme Name: Papers
Theme URI: https://javapapers.com
Author: Joe 
Author URI: https://javapapers.com
Description: Papers theme is custom developed for javapapers.com 
Version: 17191
License: Copyright Javapapers 2008 - 2019
*/
body {
    font-family: "Segoe UI", Optima, Helvetica, Arial, sans-serif;
    margin: 0px auto;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    color: #2f2f2f;
}

a, a:visited {
    text-decoration: none;
    color: #0000EE;
}

a:hover {
    color: #0000EE;
}

a#java-blog {
    line-height: 42px;
}

#java {
    float: right;
}

a img {
    border: none;
    background-color: none;
    vertical-align: bottom;
}

blockquote {
    margin: 0;
    padding: 0 18px;
    font-style: italic;
}

.wp-caption {
    border: 1px solid #b4e1fa;
}

.wp-caption.alignright {
    float: right;
}

.about {
    margin: 40px 0px;
    line-height: 1.6em;
    font-family: "Segoe UI", Optima, Helvetica, Arial, sans-serif;
}

.facebook {
    margin: 10px 0 20px 0;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.published-date {
    color: #757575;
    font-size: .9em;
    margin: 0;
    padding: 0;   
}
.modified-on {
    color: #757575;
    margin-bottom: 25px;
    font-size: .75em;
  font-family: "Segoe UI", Optima, Helvetica, Arial, sans-serif;    
}
ul.related-articles-list {
    list-style: none;
    padding: 0px;
}
.related-articles-list a, .related-articles-list a:visited {
    color: #2f2f2f;
}
/*COMMENTS */
div#comments {
    font-family: "Segoe UI",Optima,Helvetica,Arial,sans-serif;
    font-size: .8em;
    line-height: 1.7em;
}
ol.commentlist {
    list-style: none;
    padding: 0;
}

ul.children {
    list-style: none;
}

.comment-body {
    border-bottom: 1px solid #f7f7f7;
    padding: 20px 0 20px 0;
}

.bypostauthor {
    background-color: #f7f7f7;
    padding-left: 20px;
    margin-bottom: 20px;
    padding-right: 10px;
}

.comment-meta a {
    color: #2f2f2f;
    font-size: .8em;
    font-style: italic;
}

.comment-author.vcard {
    margin-bottom: 20px;
    float: left;
}

.comment-meta.commentmetadata {
    float: right;
}

.comment-body p {
    clear: both;
}

textarea#comment {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    border-radius: 3px;
}

.comment-form input {
    padding: 7px 5px;
    border: 1px solid #a9a9a9;
    border-radius: 3px;
}

.comment-form label {
    width: 50px;
    padding: 0 15px 0 0;
    display: inline-block;
}

input#submit {
    padding: 8px 12px;
    cursor: pointer;
    color: #fff;
    background: #607d8b;
    border-radius: 3px;
    border: 1px solid #4f6773;
    background-image: -webkit-linear-gradient(top, #607d8b, #546e79);
}

div#respond {
    margin: 40px 0
}
/* COMMMENTS ENDS */
.ads {
    margin: 20px 0 20px 0;
}

#download {
    padding: 8px 20px 8px 20px;
    display: inline-block;
    border-top: 1px solid #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#download a:link, #download a:visited {
    background: none;
    color: #000000;
}

.download {
    padding: 8px 20px 8px 20px;
    display: inline-block;
    border-top: 1px solid #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.download a, .download a:visited {
    color: #2f2f2f;
}

#site_header {
	height: 50px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
    text-align: center;
}

span.since {
    font-size: .8em;
    color: #595959;
    margin-left: 10px;
    font-style: italic;
}

.header-link-container {
    float: right;
    vertical-align: middle;
    margin: 3px 0;
}

#header-contact-navigation {
    vertical-align: middle;
    display: inline-block;
    margin: 6px 0 0 8px;
    border-radius: 3px;
    border: 1px solid;
    padding: 5px 20px;
    cursor: pointer;
    color: #262626;
    font-size: .95em;
    font-weight: 600;
    background-color: #f0ad4e;
    border-color: #ffc87a #e2a348 #bf8a3f;
}

#header-contact-navigation:hover {
    background-color: #e4a54b;
}

#tutorial-body p, #tutorial-body li {
    line-height: 1.7em;
}

/*********** footer starts **********/
#footer {
    clear: both;
    padding: 30px 0 20px 0;
    font-size: .9em;
    border-top: 1px solid #f0f0f0;
}

.subscribe-section {
    overflow: auto;
}

.footer-contact-banner-title {
    font-size: 1.2em;
    margin: 15px 0 30px 0;
}

#footer-contact-note h2 {
    font-size: 1.8em;
    font-weight: normal;
    margin: 2px 0;
}

#footer-contact-note {
    clear: both;
    background-color: #f0ad4e;
    color: #262626;
    padding: 30px 0 30px 0;
}

#footer-intro {
    font-size: 1.8em;
    margin: 10px 0;
}

#footer-contact-navigation {
    background-image: -webkit-linear-gradient(top,#ececec,#dcdcdc);
    border-radius: 3px;
    border: 1px solid;
    padding: 8px 30px;
    cursor: pointer;
    color: #474747;
    font-weight: 600;
    background-color: #e4e3e3;
    border-color: #ffffff #e4e3e3 #969696;
}

#footer-contact-navigation:hover {
    background-image: -webkit-linear-gradient(top,#eaeaea,#d6d5d5);
}

.follow {
    margin: 20px 0 0 0px;
}

.follow a {
    padding-right: 15px;
    color: #4f6773;
}

.follow>a img {
    border: 1px solid #e0e0e0;
    padding: 8px;
    border-radius: 25px;
    margin: 20px;
}

.copyright {
    text-align:center;
}

/******** footer ends **********/

/******** sidebar starts *******/
#aboutcntnt {
    line-height: 1.5em;
    background-color: #fcfcfc;
    padding: 0 20px 20px 20px;
    margin-bottom: 40px;
    border-radius: 4px;
    border: 1px solid #f2f2f2;
}

.heading-large {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #474747;
}

#photo {
    width: 75px;
    height: 75px;
    margin: 20px auto;
}

#photo img {
    border-radius: 50%;
    border: 1px solid #f2f2f2;
}

.since-badge {
    margin-bottom: 40px;
    text-align: center;
}

.summary a, #aboutdesc a {
    color: #000000;
    text-decoration: underline;
}

#aboutdesc p {
    margin-top: 0px;
}

#contactMe a {
    color: #474747;
    font-weight: bold;
}

.subscribe {
    padding: 10px 8px;
    cursor: pointer;
    color: #FFF;
    background: #607d8b;
    margin: 0;
    border: 1px solid #4f6773;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    background-image: -webkit-linear-gradient(top, #607d8b, #546e79);
    background-image: linear-gradient(top, #607d8b, #546e79);
}

.feedb-email {
    padding: 10px 8px;
    width: 162px;
    margin: 0;
    float: left;
    border: 1px solid #a1a2a2;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.searchform {
    margin-bottom: 45px;
    font-size: 11px;
    color: #333333;
    padding: 20px 0px 0px 0px;
}

#recommended {
    border: 1px solid #f2f2f2;
    border-radius: 4px;
    margin-bottom: 30px;
    padding: 20px;
}

#recommended ul li a {
    color: #585858;
}

#recommended ul {
    padding: 0;
    list-style: none;
}

#recommended>ul li {
    margin: 1em 0;
}

#recommended>ul li:last-child {
    border-bottom: 0px;
}

#recommended>ul li>a:hover {
    text-decoration: underline;
}

.recommended-taxonomy {
    margin-top: 10px;
    color: #2c2c2c;
}

#recommended>ul li .recommended-taxonomy a {
    margin-top: 15px;
    color: #01c3a3;
    font-weight: bold;
    font-size: 1em;
    text-transform: uppercase;
}

#sidebar {
    font-size: .95em;
    width: 220px;
    float: right;
    padding: 20px 0px 20px 0px;
}
/********** sidebar ends ************/
h1 a, h1 a:visited {
    color: #2f2f2f;
}

h1 {
    margin: 0 0 10px 0;
    font-weight: 500;
    font-family: "Segoe UI", Optima, Helvetica, Arial, sans-serif;
    font-size: 1.5em;   
}

h2 {    font-size: 1.3em;}
h2, h3, h4 {
    margin-top: 1.3em;
    font-family: "Segoe UI", Optima, Helvetica, Arial, sans-serif;
}

h2 a, h2 a:visited {
    color: #000000;
    border-bottom: none;
    text-decoration: none;
}

h3 a:hover {
    color: #000000;
    text-decoration: underline;
}

/* TUTORIAL MENU starts */
div#tutorial-menu {
    margin-bottom: 30px;
}

#tutorial-menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.main-menu a {
    font-size: .9em;
    color: #585858;
    display: block;
}

.main-menu>li>a {
    margin-top: 1px;
    padding: 8px 10px;
}

#tutorial-menu li a:hover {
    text-decoration: underline;
}

ul li.cat-item:first-child {
    background: #f9e0bb;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}
/* equivalent to li.cat-item:nth-child(2) */
ul li.cat-item:first-child+li {
    background: #CAE5C1;
}

ul li.cat-item:first-child+li+li {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background: #f1f1f1;
}

.main-menu li.cat-item {
    background-color: #dfdfdf;
}

.sub-menu>li {
    background: #FFFFFF;
    margin: 0 0 0 1px;
    border-right: 1px solid #f2f2f2;
}

.sub-menu>li>a {
    background: #fff;
    padding: 4px 10px 4px 10px;
}

.sub-menu>li>a:before {
    background: url(images/menu-open.png) no-repeat;
    height: 8px;
    width: 12px;
    display: inline-block;
    content: '';
}

ul.post-list {
    background-color: #FFFFFF;
}

.post-list>li {
    padding: 4px 10px 4px 22px;
}

.post-list>li>a {
    color: #585858;
}

#tutorial-menu li.current-post {
    font-size: .9em;
    font-weight: bold;
}
/* TUTORIAL MENU ENDS */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe, .video-container object, .video-container embed
    {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* html table style in post starts */
.tutorial-table {
    width: 100%;
    border-top: #e5e5e5 1px solid;
    border-spacing: initial;
    margin: 20px 0px;
    word-break: break-word;
    table-layout: fixed;
}

.tutorial-table th {
    background-color: #f5f5f5;
    padding: 5px;
    text-align: left;
}

.tutorial-table td {
    border-bottom: #f0f0f0 1px solid;
    background-color: #ffffff;
    padding: 5px;
}

.tutorial-table ul {
    padding: 0;
    list-style-type: none;
    margin: 0px;
}

.tutorial-table 	li:before {
    content: " - ";
    position: relative;
    margin-left: -10px;
    left: -5px;
}
/* html table style in post ends */

/* social share links in POST starts */
.share ul {
    padding: 0;
}

.share li {
    display: inline-block;
}

.share li>a {
    padding: 0 10px 10px 0;
    display: block;
}

/* social share links in POST ends */

/* style for previous and next PAGE navigation in index, archive pages starts */
.previous-page {
    padding: 4px 12px;
    background: transparent;
    float: left;
    color: #505658;
    text-align: center;
}

.next-page {
    padding: 4px 12px;
    background: transparent;
    float: right;
    color: #505658;
    text-align: center;
}

a div.previous-page:hover {
    background: #78848a;
    color: #FFF;
}

a div.next-page:hover {
    background: #78848a;
    color: #FFF;
}

.navigation {
    font-size: .9em;
    margin: 20px 0 40px 0;
    border-radius: 3px;
    border: 1px solid;
    border-color: #97a4ab;
    min-width: 90px;
    box-sizing: border-box;    
}
/* style for previous and next PAGE navigation in index, archive pages ends */

/* style for previous and next POST navigation in single page starts */
div#tutorial-navigation {
    margin: 40px 0;
    border-top: 1px solid #e0e0e0;
    overflow: hidden;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

#tutorial-navigation #previous-tutorial {
    float: left;
}

#tutorial-navigation #previous-tutorial a {
    color: #2f2f2f;
    padding: 20px 10px 20px 0px;
}

#tutorial-navigation #next-tutorial {
    float: right;
    padding: 20px 0px
}

#tutorial-navigation #next-tutorial a {
    color: #2f2f2f;
    padding: 20px 0px 20px 0px;
}

.navigation-label {
    font-size: .9em;
    color: #474747;
    font-weight: bold;
}

/* style for previous and next POST navigation in single page ends */

/* Code Prettify Theme */
pre {
    overflow: auto;
    margin: 0 0 18px 0;
    padding: 4px;
    tab-size: 4;
}

.prettyprint {
    border: 1px solid #f7f7f7;
    max-height: 600px;
}

@media all and (max-width: 519px) {
    .prettyprint {
        max-height: 300px;
    }
}

@media all and (min-width: 520px) and (max-width: 690px) {
    .prettyprint {
        max-height: 400px;
    }
}

.pln {
    color: #4d4d4c;
}

@media screen {
    .str {
        color: #718c00;
    }
    .kwd {
        color: #8959a8;
    }
    .com {
        color: #78B937;
    }
    .typ {
        color: #4271ae;
    }
    .lit {
        color: #f5871f;
    }
    .pun {
        color: #4d4d4c;
    }
    .opn {
        color: #4d4d4c;
    }
    .clo {
        color: #4d4d4c;
    }
    .tag {
        color: #c82829;
    }
    .atn {
        color: #f5871f;
    }
    .atv {
        color: #3e999f;
    }
    .dec {
        color: #f5871f;
    }
    .var {
        color: #c82829;
    }
    .fun {
        color: #4271ae;
    }
}

/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
    margin-top: 0;
    margin-bottom: 0;
}

/* Responsive styles */
img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.ie8 img {
    height: auto;
    width: auto\9;
}

.ie8 img.size-large {
    max-width: 60%;
    width: auto;
}

.ad-size {
    width: 336px;
    height: 280px;
}

.content {
    width: 550px;
    margin: 0 auto;
}

#tutorial-body {
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 1.1em;
    float: left;
    width: 550px;
    padding: 20px 0px 20px 0;
}

@media all and (min-width: 590px) and (max-width: 912px) {
    .content {
        width: 550px;
    }
    #sidebar {
        display: none;
    }
}

@media all and (max-width: 589px) {
    body {
        word-wrap: break-word;
    }
    .content {
        width: auto;
        padding: 0 20px;
    }
    #tutorial-body {
        margin: 0 auto;
        float: none;
        width: auto;
    }
    #sidebar {
        display: none;
    }
    .follow {
        margin: 10px 0 0 0;
        line-height: 40px;
    }
}