/*
Theme Name: Custom Theme
Theme URI: http://flaticons.org/
Author: Your Name
Author URI: http://example.com/
Description: A simple theme matching the Flat Icons website design
Version: 1.0
License: GPL v2 or later
Text Domain: custom-theme
*/

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic|Raleway:300,400,800');
@import url('https://netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #4e4e4e;
    background: #fafafa;
}

a {
    color: #4e4e4e;
    text-decoration: none;
}

a:hover {
    color: #074c7a;
    text-decoration: none;
}

#page {
    background: #fafafa;
    position: relative;
}

.site-main {
    background: #fafafa;
}

.headBlock {
    background: #074c7a;
    border-top: 1px solid #2980b9;
    border-bottom: 3px solid #2980b9;
    padding: 20px;
    text-align: left;
    width: 100%;
}

.headBlock a {
    color: #99d6ff;
}

.contain {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    align-items: center;
}

.logoshit {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    margin-right: 30px;
}

.logo img {
    max-height: 80px;
    width: auto;
}

.logoBlock {
    padding-left: 15px;
    display: inline-block;
}

.logoBlock h3 {
    font: 800 21px 'Raleway', sans-serif;
    color: #fff;
    margin-bottom: 5px;
}

.logoBlock p {
    font: 300 14px 'Raleway', sans-serif;
    color: #99d6ff !important;
}

.content-area {
    padding: 40px 0;
}

.site-content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.gridHentry {
    float: left;
    width: 24%;
    padding: 15px;
    margin: 0 10px 10px 0;
    background: #FFFFFF;
    border: 1px solid #d8d8d8;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.gridHentry .entry-header {
    margin-bottom: 0px;
    border: none;
    padding: 0;
}

.gridHentry:hover .iconsTitle a {
    color: #074c7a;
}

.iconsTitle {
    padding: 0 0 10px 0;
    overflow: hidden;
    background: #fff;
}

.iconsTitle h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.3;
}

.iconsTitle a {
    font-weight: bold;
    color: #4e4e4e;
    font-size: 16px;
}

.iconsTitle a:hover {
    text-decoration: none;
    color: #074c7a;
}

.entry-excerpt {
    flex-grow: 1;
    margin-bottom: 15px;
}

.entry-excerpt p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.entry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
}

.read-more {
    color: #074c7a;
    font-size: 13px;
    font-weight: 600;
}

.read-more:hover {
    color: #2980b9;
}

.entry-footer .likes {
    color: #999;
    font-size: 12px;
}

.entry-footer .fa-heart {
    color: #e74c3c;
    margin-right: 3px;
}

.page_nav {
    clear: both;
    width: 100%;
    padding: 30px 0;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 6px 16px;
    margin: 0 3px;
    background: #074c7a;
    border: 1px solid #074c7a;
    color: #fff;
    border-radius: 3px;
    font-size: 13px;
}

.page-numbers:hover {
    background: #2980b9;
    border-color: #2980b9;
    color: #fff;
    text-decoration: none;
}

.page-numbers.current {
    background: #2980b9;
    border-color: #2980b9;
}

.site-footer {
    background-color: #074c7a;
    color: #fff;
    padding: 30px 0;
    margin-top: 50px;
    text-align: left;
    font-size: 14px;
    width: 100%;
}

.site-footer a {
    color: #fff;
}

.site-info {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
}

.site-info .pull-left {
    text-align: left;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.single-post .content-area {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content {
    background: #fff;
    padding: 30px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.8;
    color: #4e4e4e;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin: 20px 0 15px 0;
    color: #074c7a;
    font-family: 'Raleway', sans-serif;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-title {
    font-family: 'Raleway', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: #074c7a;
    font-weight: 800;
}

.entry-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

@media (max-width: 768px) {
    .gridHentry {
        width: 50%;
    }
    
    .logoshit {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .gridHentry {
        width: 100%;
    }
}