/*
Theme Name: masterok
Theme URI:
Author: VIT
Author URI:
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2025
Text Domain: masterok123.ru
*/
* {margin: 0; padding: 0;}

* {
	box-sizing: border-box;
}

body {
  font-family: Open Sans,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.container {
	max-width: 1100px;
	margin: auto;
	height: inherit;
}

header {
	height: 150px;
	background: #f9f5dd;
}
header img{
	height: 148px;
}	

nav {
	height: 50px;
	min-height: 40px;
	background: #31486c;
}
nav a{
	font-size: 1.1em;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}
nav a:hover{
  color: #fa4e1b;
}
nav ul {
	list-style-type: none;
	height: 100%;
	display: flex;
	align-items: center;
}

nav ul li {
	display: inline-block;
	margin-left: 20px;
}

.middle {
	height: 500px;
	display: flex;
	flex-direction: row;
}

aside {
	width: 0px;
	border: 1px solid black;
	background-color: transparent;
	min-height: 100px;
}

main {
	width: calc(100% - 0px);
	background-color: transparent;
}

footer {
	height: 150px;
	border: 1px solid black;
	text-align: center;
	background: black;
	text-align: center !important;
  	background: #000;
  	padding: 15px 0;
  	color: #fff;
}
footer .logo {
	margin-bottom: 10px;
}	
footer .logo a{
  font-size: 1.4em;
  font-weight: 700;
  color: #525252;
  cursor: pointer;
  text-decoration: none;
}
footer .logo a:hover {
  color: #797878;
}
footer .copyright {
  width: 100%;
  height: auto;
}

@media (max-width: 700px) {
	.middle {
		flex-direction: column-reverse;
	}

	aside {
		width: 100%;
	}

	main {
		width: 100%;
		height: calc(100% - 0px);
	}

	nav {
		height: auto;
	}

	nav ul {
		padding-top: 20px;
		flex-direction: column;
		justify-content: center;
	}

	nav ul li{
		margin-left: 0;
		margin-bottom: 20px;
	}
}