/* Theme Name:cadsolution
Author:KAV
Author URI:http://www.webdesign-bk.ru
Version:1.0.0
Created:январь 2026
License:Creative Commons Attribution 3.0 License (https://creativecommons.org/licenses/by/3.0/)
File Description:Main CSS file of the template */
:root {
    --main-color: #63d5d9;
    --accent-color: #e39d7a;
    --background-color: #284D61;
    --background-color-dark: #172e3a;
}
@font-face {
    font-family: 'Geometria';
    src: url('fonts/Geometria.ttf');
    font-weight: normal;
    font-style: normal;
}

html, body {
	margin: 0;
	width: 100%;
	font-family: "Geometria", sans-serif;
	font-size: 16px;
	overflow: auto;
	background-color: var(--background-color);
	
	
}
h1 {
	color: var(--accent-color);
	text-transform: uppercase;
	font-size: 20px;
	margin: 18px 0;
}
h2 {
	color: var(--accent-color);
	text-transform: uppercase;
	font-size: 20px;
	margin: 18px 0;
}
h3 {
	color: var(--accent-color);
	text-transform: uppercase;
	font-size: 20px;
	margin: 18px 0;
}
/* Высота wrapper задается в customize.js */
#wrapper {
	width: 100%;
	overflow: hidden;
}
.container {
	display: flex;
}
#section-1 {
	width: 30%;
	background-color: #000;
	padding-bottom: 20px;
}
#section-2 {
	display: flex;
	width: 70%;
	
}
.content {
	margin: 0 20px 20px 20px;
	width: 700px;
	position: relative;
	color: #fff;
}
.content a {
	color: yellow;
}
.content a:hover {
	color: var(--accent-color);
}
.content-block p {
/*	text-indent: 20px;*/
	text-align: justify;
}

header {
	width: 100%;
	padding-left: 20px;
	background-color: var(--background-color-dark);
}
.main-title {
	text-transform: uppercase;
	font-size: 24px;
	font-weight: bold;
	line-height: 50px;
	letter-spacing: 0.2em;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 2px;
	box-sizing: border-box;
	color: #FFF;
}
.main-title {
	position: relative;
	width: 100%;
}

/* Меню */
.nav-menu {
	font-size: 14px;
	text-align: left;
	line-height: 40px;
	height: 40px;
	display: block;
}
.nav-menu ul {
	padding-left: 0;
	margin: 0;
}
.nav-menu li:first-child {
	margin-left: 0;
}
.nav-menu li {
	display: inline-block;
	margin-left: 30px;
}
.nav-menu li a {
	text-decoration: none;
	color: white;
}
.nav-menu li a:hover {
	color: var(--accent-color);
}

/* Список в левой колонке */
.main {
	font-size: 14px;
	display: block;
	letter-spacing: 0.1em;
	text-align: right;
	margin-right: 20px;
	color: var(--main-color);
}
.main ul {
	list-style-type: none;
}
.main ul a {
	
	text-decoration: none;
	color: #f1cfbe;
}
.main li {
	margin: 10px 0px;
	padding-right: 5px;
	border-right: 1px solid #f1cfbe;
}
.main li a:hover {
	color: var(--accent-color);
}

/* Элементы на главной странице */
.attachment-block {
	display: flex;
	flex-wrap: wrap;
}
.attachment-block-item {
	margin: 0 20px 20px 0;
}
.attachment-block-item img {
	display: block;
	width: 100px;
	height: 100px;
	object-fit: cover;
}

/* Элементы Downloads */
.download-block {
    background-color: #172e3a;
    margin-top: 20px;
    font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.1em;
}
.download-block p {
	text-indent: 0;
	margin: 0;
}
.download-block-main {
	display: flex;
}
.download-thumb img {
	display: block;
	width: 150px;
	height: auto;
}
.download-block-caption {
	width: 100%;
	position: relative;
	padding: 10px 10px 10px 20px;
	
}
.download-block-caption h2 {
	font-size: 16px;
	line-height: 20px;
	margin: 0 0 5px 0;
	text-transform: none;
	font-weight: normal;
}
.download-button {
	display: block;
	width: 100%;
	height: 30px;
	text-align: center;
	letter-spacing: 0.2em;
	background-color: #182329;
}
.download-button a {
	display: block;
	color: #fff;
	text-decoration: none;
}

.download-block-description {
	padding: 10px;
	background-color: #182329;
}
.edit-post-link {
	font-size: 12px;
	position: absolute;
	top: 5px;
	right: 20px;
	text-decoration: none;
	color: red !important;
}
.main-sidebar {
	display: flex;
	flex-direction: column;
	width: 300px;
	padding: 10px 20px;
}
.widget {
	color: #fff;
	margin-bottom: 10px;
}
footer {
	display: flex;
	background-color: #172e3a;
	height: 30px;
	line-height: 30px;
	font-size: 14px;	
	letter-spacing: 0.1em;
	color: #63d5d9;
}
/* Ширина первой секции задается в customize.js */
#footer-section-1 {
	background-color: #000; 
	text-align: center;
}
#footer-section-2 {
	padding-left: 20px;
}

.search-result a {
	text-decoration: none;
	line-height: 30px;
	color: #fff;
	padding-left: 5px;

}
.search-result a:first-child {
	color: #63d5d9;
	padding-left: 5px;
	content: '\21D2';
}
.search-result a:first-child:after {
	content: '\25BA';
	color: var(--accent-color);
	margin-left: 5px;
}

blockquote {
	color: var(--main-color);
    border-left: 1px solid;
    text-align: left;
    padding-left: 20px;
    margin: 0; 
}
blockquote p {
	text-indent: 0 !important;
}

/* vk ВИДЖЕТ */
#vk_groups {
	color: #fff important;
}
a.wcommunity_name_link {
	color: #fff important;
	text-transform: uppercase;
}
.community_head {
        background-color: #DAE2E8; /*цвет фона заголовка */
        color: #45688E; /*цвет текста заголовка*/
}






