/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,a,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
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;
    vertical-align:baseline;
    background:transparent;
    text-decoration: none;
}
html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/*==================== Public Style ============*/
h1,h2,a{
    font-family: 'Rokkitt';
}
/*p,span{*/
/*font-family: 'Lora';*/
/*}*/
.pull-right{
    float: right;
}
.pull-left{
    float: left;
}
#wrapper{
    /* padding: 35px 0 0 0 */
}
/*.container{*/
/*width: 1170px;*/
/*margin: 0 auto;*/
/*}*/
/* ============================ Home Style =================== */
.header{
    height: 85px;
    border-top: solid 1px #eeeeee;
    border-bottom: solid 1px #eeeeee;
    line-height: 85px;
}
.header .logo{

}
.header .logo h1{
    font-size: 27px;
    position: relative;
    text-shadow: 1px 0 #000;
}
.header .logo h1:after{
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #00bcb1;
    position: absolute;
    bottom: 36px;
    right: -7px;
}
.header .nav li{
    list-style: none;
    display: inline-block;
    margin: 0 0 0 20px;
}
.header .nav li a:link,
.header .nav li a:visited{
    text-decoration: none;
    color: #000000;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}
.content{
    width: 840px;
    margin: 0 auto;
    padding: 20px 0px 0 0;
}
.post{
    width: 854px;
    margin: 0 auto;
    position: relative;
}
.post h2{
    margin: 64px 0 10px 0;
    font-size: 27px;
    color: #545050;
    font-weight: 700;
}
.post > p{
    line-height: 28px;
    font-weight: 300;
}
.post>span.share-post{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    background-image: url('../img/share.jpg');
}
.post .post-content{
    margin: 0 0 0 110px
}
.post .meta-post p{
    font-size: 12px;
    color: #c0c0c0;
}
.post .meta-post p:last-child{
    margin: 8px 0 15px 0;
}
.post .post-content > p {
    width: 690px;
    line-height: 28px;
    font-weight: 300;
}
.post .post-content a.read:link,
.post .post-content a.read:visited,
.post a.read:link,
.post a.read:visited{
    display: inline-block;
    margin: 20px 0 0 0;
    color: #c0c0c0;
    padding: 0 0 9px 0;
    border-bottom: solid 3px #f3f3f3;

}
.post .post-content img{
    border-radius: 4px;
    margin: 5px 0 20px 0;
    width: 80%;
}
.content > a:link,
.content > a:visited{
    font-size: 20px;
    font-weight: bold;
    color: #03c3eb;
    display: inline-block;
    margin: 64px 0 0 0;
    padding: 0 0 10px 0;
    font-family: 'Rokkitt', serif;
    border-bottom: solid 5px #f5f5f5;
    transition: all ease-in-out 0.4s;
}

.more-posts{
    /*width: 800px;*/
    margin: 0 auto;
    padding: 0 40px 0 0;
}
.more-posts .post:nth-child(1) h2,
.more-posts .post:nth-child(2) h2{
    margin: 30px 0 15px 0;
}
.more-posts .post{
    /*width: 372px;*/
    float: left;
}
.more-posts .post h2{
    margin: 40px 0 10px 0;
    font-size: 21px;
    color: #545050;
    font-weight: 700;
}
.more-posts .post img{
    border-radius: 7px;
    margin: 0 0 20px 0;
    width: 100%;
    max-height: 300px;
}
.more-posts .margin-right{
    margin: 0 56px 0 0;
}
.more-posts .last-one{
    margin: 20px 0 15px 0;
}
.more-posts-link{
    text-align: center;
}
.more-posts .more-posts-link a{
    display: inline-block;
    color: #686868;
    border: solid 1px #e7e7e7;
    font-size: 16px;
    border-radius: 4px;
    padding: 10px 50px;
    font-family: 'Rokkitt', serif;
    margin: 60px 0 53px 0;
    font-weight: 300;
}
#footer{
    width: 850px;
    margin: 0 auto;

}
#footer .footer-content{
    width: 800px;
    padding: 30px 0 70px 0;
    border-top: solid 5px #f0f0f0;
}
#footer p{
    font-family: 'Rokkitt';
    color: #000000;
    font-weight: 600;
}

/* Home Blog Read Post */
.articale-content{
    width: 100%;
    position: relative;
}
.articale-content p{
    margin: 0 0 30px 0;
    line-height: 28px;
    font-weight: 600;
}
.articale-content span:before{
    content: 'Ã¢â‚¬Å“';
    display: block;
    position: absolute;
    top: 5px;
    left: -30px;
    color: #f1f1f1;
    font-size: 50px;
    font-family: 'Lora';

}
.articale-content span{
    display: inline-block;
    width: 293px;
    height: 130px;
    float: left;
    position: absolute;
    top: 30px;
    left: -60px;
    font-family: 'Rokkitt';
    font-size: 31px;
    font-weight: 800;
    line-height: 36px;
}
.articale-content span p{
    font-size: 12px;
    color: #c0c0c0;
}
.articale-content p:nth-child(2){
    margin: 30px 0 0 260px;
    display: inline-block;
}
.post .articale-content a:link,
.post .articale-content a:visited{
    margin: 20px 5px 0 0;
    color: #666666;
    border-radius: 5px;
    background-color: #f3f3f3;
    padding: 9px 14px;;
}
.slider-posts{
    width: 690px;
    margin: 40px 0 0 110px;
    border-top: solid 1px #eeeeee;
}
.slider-posts .post {
    width: 310px;
    margin: 20px 0 0 0;
}
.first-slide-post{
    float: left;
}
.first-slide-post:after{
    content: '';
    display: block;
    width: 1px;
    height: 425px;
    background-color: #eeeeee;
    position: absolute;
    top: 0px;
    right: -35px;

}
.slider-posts .post h2{
    font-size: 19px;
    margin: 10px 0;
}
.scond-slide-post{
    margin: 20px 0 0;
    float: right;
}
.slider-posts .post > span{
    display: inline-block;
    margin: 10px 0 20px 0;
    font-weight: bold;
    font-family: 'Rokkitt', serif;
}
.slider-posts .post img{
    border-radius: 4px;
}





@media (max-width: 992px) {


}
@media (max-width: 768px) {

    .content {
        width: 620px;
    }
    .img-height {
        height: 270px;
    }
    .post .post-content > p {
        width: 540px;
    }
    .more-posts .post img {
        width: 73%;
        height: 290px;
    }
}
@media (max-width: 500px) {
    .post {
        width: 100%;
    }
    .content {
        width: 100%;
    }
    .img-height {
        height: 200px;
    }
    .more-posts .post img {
        width: 100%;
    }
    .post .post-content {
        margin: 0 !important;
        padding: 12px;
    }
    .post .post-content > p {
        width: 100%;
        font-size: 13px;
    }
    .post h2 {
        font-size: 21px;
        line-height: 30px;
        padding: 12px;
    }
    .more-posts{
        padding: 0;
    }
}
.post-content ol li{
    margin-bottom: 10px;
}
.post-content ol br{
    display: none;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
