html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

html {
    background-image: url(../images/bg.png);
}

* {
    box-sizing: border-box;
}

body {
    line-height: 1;

}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

header {
    width: 1020px;
    margin-right: auto;
    margin-left: auto;
    background-color: #FFF;
    max-width: 100%;
    min-height: 120px;
}

.red_line {
    background-image: url(../images/red_line.png);
    background-repeat: repeat-x;
    height: 8px;
    width: 100%;
}

.logo {
    float: left;
}

.header_title {
    float: right;
    font-family: "PT Sans";
    font-size: 28px;
    font-weight: normal;
    margin-top: 25px;
    margin-right: 38px;
    text-align: right
}

.menu_top {
    margin-right: auto;
    margin-left: auto;
    position: relative;
    width: calc(100% + 29px);

    left: -15px;
}

.menu_top ul {
    width: 100%;
    display: block;
}

.menu_top ul li {
    width: 16.66%;
    float: left;
}

.menu_top ul li a {
    display: block;
    float: left;
    font-family: "PT Sans";
    font-size: 18px;
    font-weight: bold;
    color: #FFF;
    text-decoration: none;
    line-height: 66px;
    text-align: center;
    background-color: rgba(202, 0, 0, 0.7);
    height: 68px;
    text-transform: uppercase;
    border-right: 1px solid #b31515;
    border-bottom: 1px solid #b31515;
    width: 100%;
}

.menu_top ul li a:hover {
    background-color: rgba(152, 0, 0, 0.7);
}

.menu_top ul li .last {
    border-right-width: 0px;
    border-right-style: none;
}

.menu_bg_l {
    background-image: url(../images/m_1.png);
    height: 98px;
    width: 15px;
    position: absolute;
    top: -15px;
}

.menu_bg_r {
    background-image: url(../images/m_2.png);
    height: 98px;
    width: 14px;
    position: absolute;
    top: -15px;
    right: 0px;
}

.content {
    padding-right: 40px;
    padding-left: 40px;
    width: 1020px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 20px;
    background-color: #FFF;
    clear: both;
    padding-bottom: 40px;
    max-width: 100%;
}

.content a {
    color: #ca0000;
}

.content a:hover {
    text-decoration: none;
}

.content p .p_title {
    font-weight: bold;
    color: #c91923;
    display: block;
}

.block_car_img {
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.block_car_img figure {
    margin-bottom: 20px;
    width: calc(50% - 10px);

}

.block_car_img figure figcaption a {
    background-image: url(../images/bg_caption.jpg);
    height: 50px;
    width: 100%;
    text-align: center;
    display: block;
    font-family: "PT Sans";
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    color: #FFF;
    line-height: 48px;
}

.block_car_img figure figcaption a:hover {
    text-decoration: underline;
}

.content section {
    margin-top: 25px;
}

h2 {
    font-size: 18px;
    line-height: 27px;
    font-weight: bold;
    color: #c61823;
}

footer {
    width: calc(100% + 30px);
    margin-right: auto;
    margin-left: auto;
    height: 75px;
    background-image: url(../images/bg_footer.png);
    padding-top: 30px;
    position: relative;
    /* max-width: 100%; */
    left: -15px;
}

.menu_footer_bg_l {
    background-image: url(../images/menu_footer_bg_l.png);
    display: block;
    height: 15px;
    width: 14px;
    position: absolute;
    top: -15px;
    left: 1px;
}

.menu_footer_bg_r {
    background-image: url(../images/menu_footer_bg_r.png);
    display: block;
    height: 15px;
    width: 14px;
    position: absolute;
    top: -15px;
    right: 1px;
}

.menu_footer {
    margin-left: 17px;
    float: left;
}

.menu_footer li {
    display: inline;
}

.menu_footer li a {
    padding-right: 25px;
    padding-left: 25px;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-family: "PT Sans";
}

.menu_footer li a:hover {
    color: #ca0000;
}

.copyright {
    color: #CC1723;
    float: right;
    margin-right: 60px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.content img {
    max-width: 100%;
    height: auto;
}

.form label{
	display: block;
}

.form{
	margin: 20px 0;
}

.form p{
	margin-bottom: 1rem;
}

.form input{
	width: 100%;
	height: 40px;
	padding: 0 10px;
}
.form input[type=submit]{
	background-color: #b31515;
	border: none;
	color: #ffffff;
	font-weight: bold;
}

.form input[type=submit]:hover{
	background-color: rgba(152, 0, 0, 0.7);
	border: none;
	color: #ffffff;
	cursor: pointer;
}

.vacancy-form {
	max-width: 320px;
}

.alert.alert-success {
    background: #96f49a;
    padding: 10px;
    margin-top: 12px;
    border: 1px solid #04cd0d;
}

.alert.alert-danger {
    border: 1px solid #ff7373;
    padding: 6px 10px;
    margin-top: .8rem;
    color: #ff1b1b;
    font-size: 12px;
    font-weight: 700;
}