﻿/*Ттаблица стилей RedResistor.ru*/

/*Общие параметры страниц*/
body {
	font-family: 'Times New Roman', serif;
	color: black;
	background-color: #ffffff;
	background-image: url(../images/bg.PNG);
}

/*Общая форма для заполнения центральных страниц с верхним и нижним ограничением*/
.main_pages {
    position: absolute;
	top: 1.5%;
	/*bottom:1.5%;	*/
	left: 50%;
  	margin-left: -512px;
  	width: 1024px;
  	height: 97%;
   	background-color: #ffffff;
	border: 1px solid #dddddd;
}

/*Общая форма для заполнения страниц без ограничений*/
.other_pages {
    position: absolute;
	top: 1.5%;
	left: 50%;
  	margin-left: -512px;
	width: 1024px;
	margin-bottom: 1%;
   	background-color: #ffffff;
	border: 1px solid #dddddd;
}

/*форма логотипа для главных страниц*/
.main-header {
    position: absolute;
    height: 97px;
	width: 1024px;								
   	background-color: #ffffff;
	border-bottom: 1px solid #dddddd;
}

/*форма логотипа для остальных страниц*/
.other_header {
    height: 97px;
   	background-color: #ffffff;
	border-bottom: 1px solid #dddddd;
}

/*Таблица Рубрики*/
.headings {
	position: absolute;
	top:108px;
	bottom:1px;
   	background-color: #ffffff;
	width: 250px;
	padding-top: -5px;
	text-align: center;
    overflow: auto;
	/*border-bottom: 1px solid #DDDDDD;*/
	/*border-right: 1px solid #DDDDDD;*/
}

/*Таблица другие страницы*/
.tab_pages {
	width: 984px;
	margin-left: 20px;
	margin-right: 20px;
	background-color: #ffffff;
   	border-collapse: collapse;
	border: 1px solid #DDDDDD;
	font-weight: normal;
	text-align: center;	
}

.border{
	border: 1px solid #DDDDDD;
	
}
.text_norm{
	font-weight: normal;
}


/*Новости*/
.news {
    position: absolute;
	top:108px;
	bottom:44px;
	right: 0px;
	width: 774px;
    background-color: #ffffff;
	text-align: center;
    overflow: auto;
	border-left: 1px solid #DDDDDD;
}

/*форма для листов с ограничениями*/
.page {
    position: absolute;
	top:108px;
	bottom:44px;
	right: 0px;
	width: 1024px;
    background-color: #ffffff;
    overflow: auto;
}

/*форма для листов без ограничениями*/
.other_page {
    background-color: #ffffff;
    overflow: hidden;
}

/*Нижнее меню главных строниц*/
.main_footer {
    position: absolute;
	bottom:0px;
   	background-color: #ffffff;
	width: 1024px;
    height: 33px;
	overflow: hidden;
	text-align: center;
	color: #dddddd;
	border-top: 1px solid #DDDDDD;
}

/*Нижнее меню остальных строниц*/
.other_footer {
	bottom:0px;
   	background-color: #ffffff;
	width: 1024px;
    height: 33px;
	overflow: hidden;
	text-align: center;
	color: #dddddd;
	border-top: 1px solid #DDDDDD;
}

/*нижнее меню навигации*/
nav {
    position: absolute;
	bottom:7px;
	right: 191px;
   	background-color: #ffffff;
	width: 620px;
    height: 19px;
	overflow: hidden;
	text-align: center;
	font-weight: bolder;
	color: #dddddd;
	/*border: 1px solid #DDDDDD;*/
}

/*Поддержать проект
.support{
    position: absolute;
	bottom:1px;
	right: 10px;
   	background-color: #ffffff;
	width: 232px;
    height: 30px;
	overflow: hidden;
	//border: 1px solid #DDDDDD;
}*/

/*Счетчик*/
.caunter{
    position: absolute;
	bottom:1px;
	/*left: 10px;*/
	right: 10px;
   	background-color: #ffffff;
	width: 90px;
    height: 31px;
	overflow: hidden;
	/*border: 1px solid #DDDDDD;*/
}

/*таблица новостей, архива, рубрик*/
.mine_table {
	border-spacing: 5px;
}

/*Таблица для лого для страниц*/
.heder_other_pages{
	margin-left: 20px;
	margin-right: 20px;
	padding-left: 0px;
	padding-right: 0px;
	text-align: left;
	border-collapse: collapse;
}

/*27.02.20 параметры разделительной линии
hr{
    border: none;
    background-color: #DDDDDD;
    color: #DDDDDD;
    height: 1px;
}*/

/*позиционирование логотипа*/
.logo {
	padding-left: 10px;
	padding-top: 10px;
}

/*заголовки*/
h2 {
	color: red;
	font-weight: normal;
	font-style: italic;
}

.step_h2 {
   padding-left: 40px;
}

h3 {
	color: red;
	font-weight: normal;
	font-style: italic;
}

.step_h3 {
   padding-left: 40px;
}

.center {
   text-align: center;
}

.ofer{
	background-color: #ffffff;
	margin-top: 10px;
	margin-left: 40px;
	width: 350px;
	padding: 10px;
	border: 1px solid red;
	border-radius: 5px;
	text-align: center;
	font-weight: bold;
}


/*общий текс*/
p {
	font-weight: normal;
	color: black;
	padding-left: 20px;
	padding-right: 20px;
	margin-top: 0px;
	margin-bottom: 0px;
}

/*Заклавная буква большая и красная с отступом*/
.ferst_letter_red:first-letter{
    font-size: 140%;
	padding-left: 20px;
    color: red;
}

/*с отступом*/
.step_p:first-letter{
	padding-left: 20px;
}

.p_top_margin{
	margin-top: 10px;
}

/*параметры вставки программного кода*/
.prog_code {
    border: dashed 1px #634F36;
    background: #FEFAFA;
    font-family: "Courier New", Courier, monospace;
	color: black;
    margin-left: 20px;
	margin-right: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 10px;
    font-size: 85%;
	text-align: left;
}

/*цытата*/
.sentence {
    color: red;
    text-align: right;
}


/*видео*/
.wideo{
	width: 640px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	margin-bottom: 10px;
}
/*одна картинка*/
.one_pages{
	width: 640px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	/*border: 1px solid #DDDDDD;*/
}

/*одна картинка на 200*/
.one_pages_200{
	width: 200px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	/*border: 1px solid #DDDDDD;*/	
}

/*одна картинка на 500*/
.one_pages_500{
	width: 500px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	/*border: 1px solid #DDDDDD;*/	
}


/*две картинки*/
.two_pages{
	width: 920px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	/*border: 1px solid #DDDDDD;*/
}
/*три картинки*/
.three_pages{
	width: 919px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	/*border: 1px solid #DDDDDD;*/
}

/*четыре картинки*/
.four_pages{
	width: 921px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
	margin-bottom: 5px;
	/*border: 1px solid #DDDDDD;*/
}
/*первая картинка с лева*/
.first_page_four{
	float: left;
	margin-right: 5px;
}


/*первая картинка с лева*/
.first_page{
	float: left;
	margin-right: 20px;
}

/*Сылки*/
a {
	color: #6B6BFF;
	text-decoration: none;
}
a:hover {
	color: red;
}
a:active {
	color: #dddddd;
}

/*списки рубрик и архива*/
.lists {
	padding: 0px;
	text-align: center;
	list-style-type: none;
}

/*список новостей*/
.news_lists {
	text-align: left;
	list-style-type: none;
}
.news_lists_point {
	color: #6B6BFF;
	list-style-type: circle;
}
.news_lists_point:hover {
	color: red;
	list-style-type: disc;
}
.news_lists_point:active {
	color: #dddddd;
	list-style-type: disc;
}

/*Всплывающее окно*/
.modalDialog:target {
	display: block;
	pointer-events: auto;
}

.modalDialog > div {
	width: 1000px;
	position: relative;
	margin: 1% auto;
	padding: 4px;
	border-radius: 6px;
	background: #fff;
}
.modalDialog {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.5);
	z-index: 99999;
	display: none;
	pointer-events: none;
}

/*Всплывающее окно 700*/
.modalDialog_700:target {
	display: block;
	pointer-events: auto;
}

.modalDialog_700 > div {
	width: 700px;
	position: relative;
	margin: 1% auto;
	padding: 4px;
	border-radius: 6px;
	background: #fff;
}
.modalDialog_700 {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.5);
	z-index: 99999;
	display: none;
	pointer-events: none;
}



/*Конец всплывающее окно*/
