/*
Theme Name: Nitz's Theme
Theme URI: https://nitzshacharenv.com/
Author: Nitzan Shachar
Author URI: https://nitzshacharenv.com/
Description: A custom WordPress theme by Nitzan Shachar
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nitz-theme
*/ 

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

a:link, a:visited {
    color: #333;
    text-decoration: none;
}

p {
    line-height: 1.6;
    margin: 15px 0;
}

/* General Layout */

div.container {
    max-width: 920px;
    margin: 0 auto;
    overflow-x: hidden;
}

article.post {
     border-bottom: 2px solid #333;
}

article.post:last-of-type{
     border-bottom: none;
}

/* Header Styles */

.site-header {
    border-bottom: 2px solid #333;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}

/* Navigation Styles */

.site-nav {
    display: flex;
    align-items: center;
}

.site-nav ul {
    margin:0;
    padding:0;
}

.site-nav ul:before, .site-nav ul:after {
    content:"";
    display:table;
} 

.site-nav ul:after {
    clear:both;
}

.site-nav ul {
    zoom:1;
}

.site-nav ul li {
    list-style:none;
    float:left;
}

/* site header menu*/ 

.site-header nav ul li a:link, 
.site-header nav ul li a:visited {
    display:block;
    padding:15px 20px; 
    text-decoration:none;
}

.site-header nav ul li a:hover {
    background-color:#333;
}

.site-header nav ul li.corrent-menu-item a:link, 
.site-header nav ul li.corrent-menu-item a:visited  {
    background-color:#666;
    color:#fff;
}

/*children menu*/

.children-links a:link, .children-links a:visited {
    text-decoration:none;
}

.children-links {
    margin-bottom:20px;
    font-size:80%;
}

.children-links li {
    margin-right:20px; 
}

.children-links .parent-link {
    float:left; 
    margin: 0px 20px; 
    border-right: 1 px solid #333;
}

.children-links .parent-link a:link, .children-links .parent-link a:visited {
    color:#333
}

.children-links .corrent_page_item a:link, 
.children-links .corrent_page_item a:visited {
    font-weight:bold;
    color:#000;
}

/*search bar*/

.search-bar {
    display: flex;
    align-items: center;
} 

div.hd_search {
    float:right
}

div.hd_search label {
    position:absolute;
    left:-9999px;
}

div.hd_search #searchsubmit {
    background-color: #f4f4f4;
    color:#fff;
    padding:5px 10px;
    border:none;
    vertical-align: top;
}

div.hd_search #s {
    vertical-align: top; 
    padding: 3px 0; 
}

/* Post Styles */

article.post {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

/*aside post styles*/ 

article.post-aside, article.post-link {
    font-size:125%; 
    background-color:#e2e2e2;
    padding:20px;
    border-radius: 5px; 
}

.post-aside-meta {
    font-size:80%;
    color:#666;
    margin-bottom:0px;
}

/* link post styles*/

article.post-link {
    padding:0px;
    background-color: azure;
}

/* gallery post styles*/

article.post-gallery {
    background-color: #222;
    color:#fff;
    padding:20px;
}

article.post-gallery img {
    border: none !important;
}

article.post-gallery h2 {
    text-align:center;
}

/*main column*/ 

.main-column {
    width:66%;
    float: left;
}

/*secondary column*/ 

.secondary-column {
    width:30%;
    float:right;
}

/*home columns style*/ 

.home_columns {
    padding-top:30px;
}

.home_column {
    width:45%;
    float:left;
}

.last {
    float: right;
    margin-right:0;
}

/*games section home page*/ 

.games_section {
    clear: both;
    margin-top: 40px;
    padding: 20px 0;
}

.games_section h1 {
    text-align: center;
}

.games_btn_box {
    display: flex;
    justify-content: space-around;
}

.games_btn_box a {
    background:#666;
    color:#e2e2e2;
    padding:5px 15px;
}

/* Footer Styles */

.site-footer {
    border-top: 2px solid #333;
    text-align: center;
}

/*footer widgets area*/ 

.footer_widget_area {
    width:25%;
    float:left;
    padding-right:40px;
    box-sizing:border-box;
    list-style: none;
    text-align: left;
}

/* site footer menu*/ 

.site-footer nav ul li {
    margin:10px;
}