/*
Theme Name: Время Героев
Author:LynxASoft
Author URI:https://epc-lnr.ru

Version:1.0

ЕПЦ WordPress Theme, Copyright 2020 epc-lnr.ru
ЕПЦ is distributed under the terms of the GNU GPL
*/

@font-face {font-family:"PT Sans";src:url("./fonts/ptsans.woff") format("woff"),url("./fonts/ptsans.woff2") format("woff2"),url("./fonts/ptsans.ttf") format("truetype");font-style:normal;font-weight:400;}
@font-face {font-family:"PT Sans";url("./fonts/ptsansitalic.woff") format("woff"),url("./fonts/ptsansitalic.woff2") format("woff2"),url("./fonts/ptsansitalic.ttf") format("truetype");font-style:italic;font-weight:400;}
@font-face {font-family:"PT Sans";src:url("./fonts/ptsansbold.woff") format("woff"),url("./fonts/ptsansbold.woff2") format("woff2"),url("./fonts/ptsansbold.ttf") format("truetype");font-style:normal;font-weight:700;}
@font-face {font-family:"PT Sans";src:url("./fonts/ptsansbolditalic.woff") format("woff"),url("./fonts/ptsansbolditalic.woff2") format("woff2"),url("./fonts/ptsansbolditalic.ttf") format("truetype");font-style:italic;font-weight:700;}

* {-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
html, body {height:100%;}
body {margin:0;padding:0;font-family:"PT Sans", Tahoma, Arial, sans-serif;font-size:26px;color: #1f2533;background-color:#fff;}

input[type="text"], input[type="email"] {padding:5px;border:1px solid #ccc;border-radius:3px;}
input[type="submit"] {cursor:pointer;font-family:Arial, sans-serif;color:#fff;text-decoration:none;border:none;overflow:hidden;position:relative;clear:both;text-align:center;font-size:18px;padding:5px 15px;border-radius:2px;background:#0F64A2;transition:all 0.3s ease-in 0s;}
input[type="submit"]:hover {text-decoration:none;background:#1781D0;}

legend {border-bottom:0 none;}
.fl {float:left;}
.fr {float:right;}
.center {text-align:center;}
.clear {clear:both;}

ul {list-style-type:none;padding:0;margin:0;}
a img, img {border:none;max-width: 100%;}
a {outline:none;color: rgb(236, 101, 53);text-decoration:none;}
a:hover, a:focus {outline:none;color:rgb(236, 101, 53);text-decoration:none;}

h1, h1 a{font-size:48px;margin:0;text-decoration:none;margin-bottom:15px;font-weight: 700;text-transform: uppercase;}
h1.title{position:relative;line-height: 40px;font-weight:bold;overflow:hidden;padding-top: 80px;padding-bottom: 105px;}
h2{color:#1f2533;text-transform:uppercase;font-size:48px;font-weight:700;padding-bottom: 34px;line-height:1.23;}
h3{color:#1f2533;font-family:Tahoma;font-size:16px;font-weight:bold;}
hr {border-top:2px solid #0F64A2;}
td, th {padding:0 10px;line-height:1.2;}
p {line-height:1.2;}
em {font-family: arial;}

.post-content .post-title {font-size: 36px;line-height: 1.23;text-transform:normal;}
.post-content .entry-date {color: rgba(0,0,0,.5);font-size: 10px;margin-bottom:40px;font-weight:700;letter-spacing: 1.5px;}
.aligncenter {margin: 0 auto;text-align: center;display: inherit;}

.color {color: rgb(236, 101, 53);}
.color-gray {color: #1f2533;opacity: 0.75;}

.bodydecorleft {position:absolute;left:0;top: 39.1px;width: 524px;}
.bodydecorleft img {width:100%;}
.bodydecorright {position:absolute;right:0;top:0;width:478px;text-align: right;}
.bodydecorright img {width:100%;}
.bodydecorshadow {position: absolute;width:100%;left: 0px;top: 430px;height: 300px;background-image: linear-gradient(0turn,rgba(255,255,255,1) 10%,rgba(255,255,255,0) 100%);border-color: transparent;
border-style: solid;}
.line {margin:90px 0;}

/* ------ BEGIN Шапка ------- */
.header {position: fixed;display: table;background-color:#fff;padding: 0 40px;height: 100px;width: 100%;box-shadow: rgba(0, 0, 0, 0.6) 0px 1px 3px;z-index: 2000;}
.header .header-leftside {display: table-cell;vertical-align: middle;min-width: 222px;}
.header .header-leftside .logo img {width: 180px;min-width: 180px;max-height: 100px;height:auto;display: block;}
.header .header-centerside {display: table-cell;vertical-align: middle;text-align: center;width: 100%;}

.header .header-rightside {display: table-cell;vertical-align: middle;min-width: 222px;text-align: right;}
.header .header-rightside .cabinet-btn {text-align: center;}
.header .header-rightside .cabinet-btn a {color: #fff;border: 2px solid #1f2533;background-color: #1f2533;text-transform: uppercase;height: 40px;font-size: 14px;padding-left: 30px;padding-right: 30px;margin-left: 10px;display: block;padding-top: 8px;}
.header .header-rightside .cabinet-btn a:hover {box-shadow: 0px 0px 4px rgba(0,0,0,1)}

.li {position:relative;padding-left:45px;line-height: 38px;font-size: 26px;font-family: 'Arial',Arial,sans-serif;margin-bottom: 15px;}
.li:before {content:"";position: absolute;display: block;left: 0;top: 14px;background:url(./images/8.svg) 0 0 no-repeat;width:34px;height:10px;}
.page-content ul {margin-bottom: 30px;}
.page-content li {position: relative;padding-left: 45px;font-size: 18px;color: #4f4f4f;font-family: 'Arial',Arial,sans-serif;margin-bottom: 15px;}
.page-content li:before {content:"";position: absolute;display: block;left: 20px;top: 14px;width:10px;height:2px;background-color: #000;}
.page-content .main-text {font-family: 'Arial',Arial,sans-serif;padding-left:45px;font-size: 18px;line-height: 1.5;}


.navbar-nav {float: none;}
.navbar-nav > li {display: inline-block;float: none;padding:0 25px;}
.navbar-nav > li > a {position:relative;text-transform: uppercase;font-size: 16px;color: #1f2533;padding:0;}
.navbar-nav > li > a:after {content: '';position: absolute;left: 0;bottom: 20%;opacity: 0;width: 100%;height: 100%;border-bottom: 1px solid #ec6535;box-shadow: inset 0px -1px 0px 0px #ec6535;transition: all 0.3s ease;pointer-events: none;}
.navbar-nav > li > a:hover:after {opacity:1;bottom:-1px;}


	
	
.main-logo {text-align: center;margin-bottom: 80px;}
.main-logo img {margin-bottom:20px;}
.main-logo p {font-size: 18px;font-family: arial, sans-serif;}

.content {position: relative;margin-top: 140px;padding-bottom: 90px;overflow: hidden;}
.content p {line-height: 1.45;}


.category-posts .entry-item {position: relative;padding-bottom: 25px;padding-top: 25px;border-bottom:1px solid rgba(0,0,0,.15);}
.category-posts .entry-title {overflow: hidden;text-overflow: ellipsis;font-size: 22px;color: #1f2533;padding-bottom: 0px;text-transform: none;}
.category-posts .entry-title a {color: #1f2533;}
.category-posts .entry-date {font-size: 14px;color: #ec6535;margin-top: 15px;font-weight: 700;}


#footer {padding-top: 90px;padding-bottom: 90px;background-color: #1f2533;color:#fff;font-size:14px;}
#footer .widgettitle {color:#fff; letter-spacing: 1px;text-transform: uppercase;font-size: 16px;line-height: 1.35;font-weight: 700;margin-bottom:14px;margin-top: 3px;padding: 0;}
#footer ul li {display: block;line-height: 18px;margin-bottom: 12px;}
#footer ul li a {color:#fff;outline: none;font-size: 14px;}
#footer .cabinet-btn a {border-bottom: 1px solid rgb(236, 101, 53);color:rgb(236, 101, 53);font-weight:700;}
#footer ul.t-sociallinks__wrapper {overflow:hidden;text-align:left;margin-top: 40px;}
#footer ul.t-sociallinks__wrapper li  {display: inline-block;}
/* ----------- BEGIN Кнопка скрола вверх ----------- */
#scroll-to{position:fixed;right:10px;bottom:10px;cursor:pointer;background-color:#0F64A2;height:40px;line-height:35px;width:40px;border-radius:2px;text-align:center;z-index:999;visibility:hidden;opacity:0;transition:all 0.25s ease-in-out;}
#scroll-to:hover{text-decoration:none;background-color:#fff;border:2px solid #0F64A2;}
#scroll-to.show{visibility:visible;opacity:1;}
#scroll-to span {position:absolute;display:block;border-top:3px solid #fff;border-left:3px solid #fff;width:14px;height:14px;top:50%;left:50%;margin-left:-7px;margin-top:-4px;transform:rotate(45deg);}
#scroll-to:hover span {border-color:#0F64A2;transition:all 0.25s ease-in-out;}
.fa{display:inline-block;font-size:22px;font-weight:700;font-family:'Glyphicons Halflings';text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0, 0);}
.fa-chevron-up:before{content:"\e253";}

@media(max-width:768px) {

	h1.title {padding-top: 80px;padding-bottom: 80px;font-size: 28px;}



	.content {margin-top: 0;padding-bottom: 60px;}
	.bodydecorleft, .bodydecorright, .bodydecorshadow {display:none;}
	
	.main-logo {margin-top: 80px;}
	
	.header-mobile {position: relative;display: flex;padding:15px 20px 20px;justify-content: space-between;background-color: #ec6535;width: 100%;z-index: 2000;}
	.header-mobile .header-leftside, .header-mobile .header-rightside {display: inline-block;font-size: 24px;font-weight: 400;white-space: nowrap;}
	.header-mobile .header-leftside img {height: auto;display: block;max-width:200px;box-sizing: border-box;padding: 0;margin: 0 auto;}
	.t-menuburger {position: relative;display: block;top: 50%;height: 32px;width: 28px;margin-top: -10px;padding: 0;border: none;background-color: transparent;outline: none;transform: rotate(0deg);transition: transform .5s ease-in-out;cursor: pointer;z-index: 999;}
	
	.t-menuburger span {display: block;position: absolute;width: 100%;opacity: 1;left: 0;transform: rotate(0deg);transition: .25s ease-in-out;height: 3px;background-color: #000;}
	.t-menuburger span:nth-child(1) {top:0}
	.t-menuburger span:nth-child(2), .t-menuburger_fourth span:nth-child(3) {top: 4px;opacity: 0;}
	.t-menuburger span:nth-child(4) {top: 8px;}
	
	.t-menuburger-opened {height: 7px;}
	.t-menuburger-opened span:nth-child(1) {top: 8px;width: 0%;left: 50%;}
	.t-menuburger-opened span:nth-child(1), .t-menuburger-opened span:nth-child(4) {top: 4px;}
	.t-menuburger-opened span:nth-child(2) {transform: rotate(45deg);}
	.t-menuburger-opened span:nth-child(2), .t-menuburger-opened span:nth-child(3) {opacity: 1;}
	.t-menuburger-opened span:nth-child(3) {transform: rotate(-45deg);}
	.t-menuburger-opened span:nth-child(4) {top: 8px;width: 0%;left: 50%;}
	
	.header-menu {overflow: hidden;padding-bottom: 40px;box-shadow: 0 1px 3px rgba(0,0,0,0.6);display: none;}
	
	.category-posts .entry-title a {color: #1f2533;font-size: 24px;text-overflow: ellipsis;overflow: hidden;}
	
	h1.post-title {font-size: 26px;line-height: 1.23;margin-top: 40px;}
	.entry-date {color: rgba(0,0,0,.5);font-size: 10px;letter-spacing: 1.5px;font-weight: 600;margin-bottom: 10px;margin-right: 15px;padding-bottom: 15px;}
	.content p {font-size: 16px;line-height: 1.45;padding: .25rem 0;margin: 0 0 20px;}
	
	.navbar-nav {margin:0;padding: 20px 0;}
	.navbar-nav > li {display: inline-block;float: none;padding: 0 25px;text-align: center;width: 100%}

	.header-menu .cabinet-btn {text-align: center;}
	.header-menu .cabinet-btn a {display: inline-block;font-weight: 700;color: #fff;border: 2px solid #1f2533;background-color: #1f2533;text-transform: uppercase;font-size: 12px;padding:6px 25px;}
	.header-menu .cabinet-btn a:hover {box-shadow: 0 0 4px rgba(0,0,0,1)}
	
	#footer .widgettitle {font-size: 12px;}
	#footer {font-size: 12px;}
	.widget-bar {margin-bottom: 30px;}
	#footer ul li {margin-bottom: 10px;}
	#footer ul li a {font-size: 12px;}
	
	#scroll-to {right:0;bottom:0;background-color:#0F64A280;border-radius:0;width:100%;}
	#scroll-to:hover {border:none;background-color:#0F64A2;}
	#scroll-to:hover span {border-color:#fff;}
}


@media(max-width:460px) {

}