/*******************************************************************************
 *                                                                             *
 *   Мост Безопасности // Стиль для первой страницы                            *
 *   ----------------------------------------------------------------------    *
 *   Copyright (C) 1998-2018 Studio "Cherry-Design"                            *
 *   URL: http://www.cherry-design.ru/                                         *
 *   E-mail: mike@cherry-design.ru                                             *
 *                                                                             *
 *******************************************************************************/

/* Слайдер
-------------------------------------------------------------------------------*/

.index_slider {
    width: 100%;
    background-color: rgba(0,0,0,0.7);
}

.index_slider_inner {
    width: 100%;
    min-height: 250px;
    border-top: 2px solid #980f10;
    padding: 20px 10px 20px 10px;
    color: #ffffff;
}

.index_slider_mask {
    width: 100%;
    overflow: hidden;
}

.index_slider_container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
	transition:all 0.5s ease-in-out;
}

/* Слайд
-------------------------------------------------------------------------------*/

.slide {
    width: 1%;
    margin: 20px 0 10px 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    flex-grow: 1;
}

.slide_image {
    width: 100%;
    height: 180px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide_image a {
    display: block;
    width: 100%;
    height: 180px;
}

.slide_image a span {
    display: none;
}

.slide_text {
    width: 100%;
    flex-grow: 1;
}

.slide_text address {
    color: #bf1617;
    font-style: normal;
}

.slide_text p.slide_title {
    margin: 0 0 20px 0;
    padding: 0 0 0 0;
    font-size: 2em;
    font-weight: 100;
    font-family: "Roboto Condensed";
    color: #ffffff;
}

.slide_text a {
    text-decoration: none;
    color: #ffffff;
}

.slide_text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    line-height: 1.3em;
}

.slide img {
    width: 200px;
    height: auto;
}

/* Слайд (навигация)
-------------------------------------------------------------------------------*/

.slide_navigation {
    margin: 0;
    padding: 0;
    text-align: center;
}

.slide_navigation ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.slide_navigation ul li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 10px 10px 0;
    background-color: #cecfcf;
    color: #ffffff;
    cursor: pointer;
}

.slide_navigation ul li.selected {
    background-color: #bf1717;
}

.slide_navigation ul li span {
    display: none;
}

/* Видеоролики
-------------------------------------------------------------------------------*/

.index_video {
    width: 100%;
}

.index_video_inner {
    width: 100%;
    padding: 20px 10px 20px 10px;
}

.index_video_inner .embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 57%;
}

.index_video_inner .embed iframe {
    position: absolute; 
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.index_video_inner ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap   
}

.index_video_inner ul li {
    width: 100%;
    padding: 20px 0 0 0;
}

.index_video_inner ul li img {
    width: 100%;
}

/* Статический текст
-------------------------------------------------------------------------------*/

.index_text {
    width: 100%;
    background-color: #ffffff;
}

.index_text_inner {
    width: 100%;
    padding: 5px 10px 20px 10px;
}

.index_text_inner .content_text {
    width: 100%;
    min-height: auto;
}

.index_text_inner .content_text h1 {
    margin-top: 0px;
    text-align: center;
}

/* Последние сообщения форума
-------------------------------------------------------------------------------*/

.index_forum {
    width: 100%;
    background-color: #ffffff;
}

.index_forum_inner {
    width: 100%;
    padding: 30px 10px 30px 10px;
    
}

.index_forum_inner .index_forum_title {
    font-family: "Roboto Condensed";
    font-size: 2.2em;
    font-weight: normal;
    text-align: center;
    margin: 20px 0 30px 0;
}

.index_forum_inner .table_overflow {
    display: block;
    overflow: auto;
}

.index_forum_inner table {
    padding: 0;
    margin: 0;
    border-collapse: collapse;
    border: 1px #cccccc solid;
}

.index_forum_inner table tr:nth-of-type(2n+1) {
    background-color: #f0f0f0;
}

.index_forum_inner table th {
    padding: 3px 5px;
    font-weight: normal;
	background-color: #27484b;
    border-right: 1px #27484b solid;
	color: #ffffff;
    font-size: 0.95em;
}

.index_forum_inner table td {
    padding: 3px 5px;
    border-bottom: 1px #cccccc solid;
    border-left: 1px #cccccc solid;
    border-right: 1px #cccccc solid;
}

/* Последние сообщения форума (выравнивание и ширины ячеек)
-------------------------------------------------------------------------------*/

.index_forum_table {
    width: 100%;
}

.index_forum_table th { text-align: center; }
.index_forum_table td { text-align: center; }

.index_forum_table th:nth-of-type(1) { text-align: left; }
.index_forum_table td:nth-of-type(1) { text-align: left; }

.index_forum_table th:nth-of-type(1) { width: 55%; }
.index_forum_table th:nth-of-type(2) { width: 10%; }
.index_forum_table th:nth-of-type(3) { width: 10%; }
.index_forum_table th:nth-of-type(4) { width: 25%; }

.index_forum_title_date {
    display: none;
    font-style: italic;
    color: #666666;
}

.index_forum_title_views {
    display: none;
    color: #666666;
}

.index_forum_num_messages {
    display: none;
}