
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #888;
    line-height: 30px;
    text-align: center;
}

strong {
    font-weight: 500;
}

a, a:hover, a:focus {
    color: #219cc5;
    text-decoration: none;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

h1, h2 {
    margin-top: 10px;
    font-size: 38px;
    font-weight: 100;
    color: #555;
    line-height: 50px;
}

h3 {
    font-size: 22px;
    font-weight: 300;
    color: #555;
    line-height: 30px;
}

img {
    max-width: 100%;
}

.medium-paragraph {
    font-size: 18px;
    line-height: 32px;
}

.colored-text {
    color: #219cc5;
}

::-moz-selection {
    background: #219cc5;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #219cc5;
    color: #fff;
    text-shadow: none;
}

/***** Loader *****/

.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: hidden !important;
    z-index: 99999;
}

.loader-img {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -30px 0 0 -30px;
    width: 60px;
    height: 60px;
    background: url(../img/loading.gif) center center no-repeat;
}

/***** General style, all sections *****/

.section-container {
    margin: 0 auto;
    padding-bottom: 80px;
}

.section-container-gray-bg {
    background: #f8f8f8;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.section-container-image-bg,
.section-container-image-bg h2,
.section-container-image-bg h3 {
    color: #fff;
}

.section-container-image-bg .divider-1 span {
    background: #fff;
}

.section-description {
    margin-top: 60px;
    padding-bottom: 10px;
}

.section-description p {
    margin-top: 20px;
    padding: 0 120px;
}

.section-container-image-bg .section-description p {
    opacity: 0.8;
}

.section-bottom-button {
    padding-top: 60px;
}

.btn-link-1 {
    position: relative;
    display: inline-block;
    height: 50px;
    margin: 0 5px;
    padding: 16px 20px 0 20px;
    background: #219cc5;
    font-size: 16px;
    font-weight: 300;
    line-height: 16px;
    color: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.btn-link-1:hover, .btn-link-1:focus, .btn-link-1:active {
    outline: 0;
    opacity: 0.6;
    color: #fff;
}

.btn-link-1:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(0, 0, 0, 0.1);
}

.btn-link-2 {
    display: inline-block;
    height: 50px;
    margin: 0 5px;
    padding: 15px 20px 0 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #fff;
    font-size: 16px;
    font-weight: 300;
    line-height: 16px;
    color: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.btn-link-2:hover, .btn-link-2:focus,
.btn-link-2:active, .btn-link-2:active:focus {
    outline: 0;
    opacity: 0.6;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
}

/***** Divider *****/

.divider-1 span {
    display: inline-block;
    width: 200px;
    height: 1px;
    background: #ddd;
}

/***** Top menu *****/

.navbar {
    padding-top: 10px;
    background: #333;
    background: rgba(51, 51, 51, 0.3);
    border: 0;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

.navbar.navbar-no-bg {
    background: none;
}

ul.navbar-nav {
    font-size: 16px;
    color: #fff;
}

.navbar-inverse ul.navbar-nav li a {
    color: #fff;
    opacity: 0.8;
    border-bottom: 1px solid transparent;
}

.navbar-inverse ul.navbar-nav li a:hover {
    color: #fff;
    opacity: 1;
    border-bottom: 1px solid #fff;
}

.navbar-inverse ul.navbar-nav li a:focus {
    color: #fff;
    outline: 0;
    opacity: 1;
    border-bottom: 1px solid #fff;
}

.navbar-inverse ul.navbar-nav li a.btn-link-2 {
    height: auto;
    margin: 4px 0 0 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #fff;
}

.navbar-inverse ul.navbar-nav li a.btn-link-2:hover,
.navbar-inverse ul.navbar-nav li a.btn-link-2:focus,
.navbar-inverse ul.navbar-nav li a.btn-link-2:active,
.navbar-inverse ul.navbar-nav li a.btn-link-2:active:focus {
    outline: 0;
    opacity: 0.6;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
}

.navbar-brand {
    width: 97px;
    background: url(../img/logo.png) left center no-repeat;
    text-indent: -99999px;
}

/***** Top content *****/

.inner-bg {
    padding: 40px 0 70px 0;
}

.top-content .text,
.top-content .text h1 {
    color: #fff;
}

.top-content .text .divider-1 span {
    background: #fff;
}

.top-content .description {
    margin: 20px 0 10px 0;
}

.top-content .description p {
    opacity: 0.8;
}

/***** Archives / Single blog page / Sidebar *****/

.archives {
    margin-top: 80px;
    padding-bottom: 60px;
    text-align: left;
}

.single-post {
    padding-bottom: 40px;
}

.single-post img {
    width: auto;
    height: auto;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.single-post-image a:hover {
    border: 0;
    opacity: 0.6;
}

.single-post h2 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 22px;
    font-weight: 300;
    color: #555;
    line-height: 30px;
}

.single-post h2 a {
    color: #555;
}

.single-post h2 a:hover, .single-post h2 a:focus {
    color: #219cc5;
}

.single-post-text-meta {
    margin-top: 10px;
}

.single-post-text-meta span {
    font-size: 24px;
    color: #ddd;
    line-height: 24px;
}

.posts-navigation {
    padding-top: 20px;
    font-size: 18px;
    line-height: 32px;
}

.posts-navigation a {
    display: inline-block;
    padding: 0 12px;
    color: #888;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.posts-navigation a:hover, .posts-navigation a:focus {
    background: #219cc5;
    color: #fff;
}

.posts-navigation a.posts-navigation-active {
    background: #ddd;
    color: #fff;
}

.posts-navigation a.posts-navigation-active:hover, .posts-navigation a.posts-navigation-active:focus {
    background: #219cc5;
    color: #fff;
}

.sidebar {
    margin-top: 80px;
    padding-left: 20px;
    padding-bottom: 60px;
    text-align: left;
}

.sidebar h3 {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
    font-weight: 300;
    color: #555;
    line-height: 30px;
    font-style: normal;
    text-transform: uppercase;
}

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

.sidebar .search-form input[type="text"] {
    width: 260px;
}

.sidebar li.widget {
    padding-top: 30px;
}

.sidebar li.widget ul li {
    margin-bottom: 5px;
    padding: 0 10px 5px 10px;
    border-bottom: 1px dotted #ddd;
}

.sidebar li.widget ul li a {
    color: #888;
}

.sidebar li.widget ul li a:hover, .sidebar li.widget ul li a:focus {
    color: #219cc5;
}

.sidebar .sidebar-image-widget {
    padding: 10px;
    padding-bottom: 0;
}

.sidebar .sidebar-image-widget img {
    max-width: 40px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.sidebar .sidebar-image-widget a {
    display: inline-block;
    margin: 0 7px 10px 0;
    border: 0;
}

.sidebar .sidebar-image-widget a:hover {
    border: 0;
    opacity: 0.6;
}

.post-content {
    margin-top: 80px;
    padding-bottom: 60px;
    text-align: left;
}

.post-content img {
    width: auto;
    height: auto;
    margin-bottom: 10px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.post-content h2 {
    margin-top: 20px;
}

.post-content h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #555;
    line-height: 30px;
    font-style: normal;
    text-transform: uppercase;
}

.post-content blockquote {
    font-size: 16px;
    line-height: 30px;
    font-style: italic;
}

.post-meta {
    padding-top: 10px;
    padding-bottom: 30px;
}

.post-meta div {
    display: inline;
    padding-right: 10px;
}

.post-meta div span {
    font-size: 24px;
    color: #ddd;
    line-height: 24px;
}

.post-meta div a {
    color: #888;
    border-bottom: 1px dotted #ddd;
}

.post-meta div a:hover, .post-meta div a:focus {
    color: #219cc5;
    border: 0;
}

/** comments **/
.post-comments {
    margin-top: 10px;
    padding-top: 20px;
    padding-bottom: 30px;
    border-top: 1px solid #ddd;
}

.post-comments ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-comments ol ul, .post-comments ol ul ul {
    list-style: none;
}

.post-single-comment {
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden;
    border-bottom: 1px dotted #ddd;
}

.post-single-comment-avatar {
    float: left;
    width: 10%;
}

.post-single-comment-text {
    float: left;
    width: 90%;
    padding-left: 20px;
}

.post-single-comment-text .post-single-comment-top {
    overflow: hidden;
}

.post-single-comment-text .post-single-comment-top .post-single-comment-author {
    float: left;
    width: 60%;
}

.post-single-comment-text .post-single-comment-top .post-single-comment-date {
    float: right;
    width: 40%;
    text-align: right;
}

.post-single-comment-text .post-single-comment-bottom {
    margin-top: 10px;
}

.post-single-comment-text .post-single-comment-reply {
    text-align: right;
}

/** leave a comment **/
.post-comments-form form {
    padding-top: 15px;
}

.post-comments-form form input, .post-comments-form form textarea {
    width: 100%;
    max-width: 500px;
}

.post-comments-form form textarea {
    height: 100px;
}

/***** Footer *****/

footer {
    padding: 40px 0 35px 0;
}

.footer-social {
    font-size: 50px;
    line-height: 50px;
}

.footer-social a {
    margin: 0 10px;
    color: #ddd;
}

.footer-social a:hover, .footer-social a:focus {
    color: #219cc5;
}

.footer-copyright {
    margin-top: 25px;
}

/***** MEDIA QUERIES *****/

@media (min-width: 992px) and (max-width: 1199px) {

    .sidebar .search-form input[type="text"] {
        width: 200px;
    }

}

@media (min-width: 768px) and (max-width: 991px) {

    .sidebar {
        padding-left: 10px;
    }

    .sidebar .search-form input[type="text"] {
        width: 100%;
    }

    .sidebar .search-form button.btn {
        width: 100%;
        margin-top: 15px;
    }

    .sidebar-image-widget br {
        display: none;
    }

}

@media (max-width: 767px) {

    .navbar {
        padding-top: 0;
    }

    .navbar.navbar-no-bg {
        background: #333;
        background: rgba(51, 51, 51, 0.9);
    }

    .navbar-brand {
        margin-left: 15px;
    }

    .navbar-collapse {
        border: 0;
    }

    .navbar-inverse ul.navbar-nav li a:hover, .navbar-inverse ul.navbar-nav li a:focus {
        padding-bottom: 10px;
        border-bottom: 1px solid transparent;
    }

    .navbar-inverse ul.navbar-nav li a.btn-link-2 {
        margin-left: 15px;
        margin-right: 15px;
    }

    .navbar-inverse ul.navbar-nav li a.btn-link-2:hover,
    .navbar-inverse ul.navbar-nav li a.btn-link-2:focus,
    .navbar-inverse ul.navbar-nav li a.btn-link-2:active,
    .navbar-inverse ul.navbar-nav li a.btn-link-2:active:focus {
        outline: 0;
        opacity: 0.6;
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid #fff;
        color: #fff;
    }

    .sidebar {
        margin-top: 10px;
        padding-left: 0;
    }

    .sidebar .search-form input[type="text"] {
        width: 100%;
    }

    .sidebar .search-form button.btn {
        width: 100%;
    }

    .sidebar-image-widget br {
        display: none;
    }

    .single-post-text {
        margin-top: 30px;
    }

    .post-single-comment-text .post-single-comment-top .post-single-comment-date {
        font-size: 12px;
    }

}

@media (max-width: 415px) {

    h1, h2 {
        font-size: 32px;
    }

}

/* Retina-ize images/icons */

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (   min--moz-device-pixel-ratio: 2), only screen and (     -o-min-device-pixel-ratio: 2/1), only screen and (        min-device-pixel-ratio: 2), only screen and (                min-resolution: 192dpi), only screen and (                min-resolution: 2dppx) {

    /* logo */
    .navbar-brand {
        background-image: url(../img/logo@2x.png) !important;
        background-repeat: no-repeat !important;
        background-size: 97px 29px !important;
    }

}
