// Place all the styles related to the mainPage controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: https://sass-lang.com/
/* CSS Главного меню */

.dropdown78 {
    position: relative;
    display: inline-block;
    font-size: 16px;  
/*    font-family: 'kelson_sans_ruregular'; */
    padding: 16px;
    margin-bottom: 0px; 
/*    margin-top: 0px; */
    background-color: #ffffff;
/*    text-decoration: none; */
         }
.dropdown78 label {
   font-size: 16px;
}
.dropdown78 a {
/* Подчеркивание в главном меню */
   text-decoration: none;  
   font-family: 'kelson_sans_ruregular';
/* Цвета в главном меню */
   font-weight: bold;
   color: #151f6d; 
}
/* Цвет при выборе меню */
.dropdown78:hover {
 text-decoration: none;  
background-color: #f1f1f1;
}
/*********************************************/
/* Заголовок */
 div.middleHeader {
/* Железная дорога надпись */
    font-family: 'kelson_sans_ruregular'; 
    padding: 0px 0px 0px 0px;
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    }
.header-text {
    font-family: 'kelson_sans_ruregular';
  /*    font-size: 22px;  */
 /*    text-align: center; */
  text-align: left;
             }
.header, .footer {
    color:#ffffff;
    background: #151f6d ;
  font-size: 14px;
 font-family: 'kelson_sans_ruregular';
} 

.header {
/* Отступы заголовка */
    padding: 15px;
    height: 180px;
  }

.footer {
    padding-top: 5px;
    height:170px;
    display: block;
}
.img-logo{
position:absolute; top: 90px; left:1220px; width:13%; 
/* Смещение лого */
   padding-top: 10px;
     display: inline-block !important; 
    max-width: 100% !important;
    max-height: 100%;
      heght: auto; 
}
.logo-title h1 {
    line-height: 1.2;
    margin: 0px; 
}
.logo-header{
    display: flex;
    justify-content: center;
}
/* Для просто ключа */
.pus2 {
   color: #151f6d ;
      }
/*********************************************/
/* FOOTER */
.footer .info div>span {
            padding-right: 10px;
            display: inline-block;
  /*            width: 250px;   */
            text-align: right;
        }

        .footer .info div {
            font-size: smaller;
            padding-top: 5px;  
        }
  .footer .footerTitle {
    /*    font-weight: bold; */
    /*    text-decoration: underline;*/
    }

    .footer .footerCenter {
         text-align: center; padding-top: 50px; 
    }

    .footer .foterAddress {

    }
/********************************************/
/* Заголовки подразделов */
div.zagTitle {
    clear: both;
    margin: 10px 0px;
    padding: 10px 0px;
    position: relative;
    font-family: 'kelson_sans_ruregular';
    font-size: 16px;
 /*    font-weight: bold; */ 
}
/********************************************/
/* Цвет тела *. 
body {
    background-color: #eeeeee;
}
/********************************************/
/* Для левая часть */
.strong {
    font-size: 14px;
    font-family: 'kelson_sans_ruregular'; 
    font-weight: bold;
    padding: 5px 0px;
    color: #151f6d; 
 /*    color: #4169e1; */
  list-style-type: none;
} 
.strong1 {
    margin: 0px 0px;
    font-size: 14px;
    font-family: 'kelson_sans_ruregular'; 
/*    font-weight: bold; */
    padding: 0px 0px;
/*    color: #151f6d; */ 
    color: #4169e1;  
}
.strong2 {
    margin: 10px 0px;
    font-size: 14px;
    font-family: 'kelson_sans_ruregular'; 
/*    font-weight: bold; */
    padding: 10px 0px;
/*    color: #151f6d; */
/*    color: #4169e1; */
  list-style-type: none;
  text-decoration: none;
}
.strong2 div {
    margin: -10px 0px;
    font-size: 14px;
    font-family: 'kelson_sans_ruregular';
    color: #151f6d;
    text-decoration: none;
             }
.strong2:hover {
  text-decoration: none;
  background-color: #f1f1f1;
} 
.strong2m {
    margin: 1px 0px;
/*    font-size: 14px; */
/*    font-family: 'kelson_sans_ruregular'; */ 
/*    font-weight: bold; */
    padding: 15px 0px;
/*    color: #151f6d; */
/*    color: #4169e1; */
/* background-color: #151f6d; */
  list-style-type: none;
  text-decoration: none;
}
.strong2m h4 {
   font-size: 18px;
   padding: 10px 0px;
    font-family: 'kelson_sans_ruregular';
   color: #4169e1;
            } 
.strong2m:hover {
  text-decoration: none;
  background-color: #f1f1f1;
} 
.strong2s {
    margin: 1px 0px; 
    font-size: 14px;
    font-family: 'kelson_sans_ruregular'; 
    padding: 10px 0px;
    color: #f1f1f1; 
 background-color: #151f6d; 
  list-style-type: none;
  text-decoration: none;
}
.strong2s b {
   font-size: 18px;
    font-family: 'kelson_sans_ruregular';
            }
.strong2s:hover {
  text-decoration: none;
  background-color: #155f6d;
} 
.strong3 {
    font-size: 14px;
    font-family: 'kelson_sans_ruregular'; 
/*    font-weight: bold; */
    padding: 5px 0px;
/*    color: #151f6d; */
    color: #000;
  list-style-type: none;
} 
.strong4 {
    font-size: 14px;
    font-family: 'kelson_sans_ruregular'; 
    font-weight: bold; 
    padding: 0px 0px;
/*    color: #151f6d; */
    color: #000;
  list-style-type: none;
  background-color: #f1f1f1;
}
.strong5 {
    font-size: 22px;  
    font-family: 'kelson_sans_ruregular'; 
/*    font-weight: bold; */ 
    padding: 0px 0px;
/*    color: #151f6d; */
    color: #000;
/*  list-style-type: none;
  background-color: #f1f1f1; */
}
.strong5m {
    font-size: 14px;  
    font-family: 'kelson_sans_ruregular'; 
/*    font-weight: bold; */ 
    padding: 0px 0px;
/*    color: #151f6d; */
    color: #000;
/*  list-style-type: none;
  background-color: #f1f1f1; */
           }
.strong5g {
    font-size: 14px;  
    font-family: 'kelson_sans_ruregular'; 
    font-weight: bold;  
    padding: 0px 0px;
/*    color: #151f6d; */
    color: #000;
/*  list-style-type: none;
  background-color: #f1f1f1; */
           }
.strong5g1 {
    font-size: 14px;  
    font-family: 'kelson_sans_ruregular'; 
/*    font-weight: bold;  */
    padding: 0px 0px 0px 10px;
/*    color: #151f6d; */
    color: #000;
/*  list-style-type: none;
  background-color: #f1f1f1; */
           } 
.strong5a {
/*    font-size: 14px;  */
    font-family: 'kelson_sans_ruregular'; 
/*    font-weight: bold; */  
    padding: 0px 0px;
/*    color: #151f6d; */
    color: red;
/*  list-style-type: none;
  background-color: #f1f1f1; */
}
.strong6 {
    font-size: 15px; 
    font-family: 'kelson_sans_ruregular'; 
/*    font-weight: bold; */
    padding: 10px 10px;
/*    color: #151f6d; */
    color: #000;
  list-style-type: none;
  background-color: #f1f1f1;
}    
.hr1 { 
   margin: 0px 0px;
   color: #f1f1f1;
} 
.ubrp {
 text-decoration: none;
}
/********************************************/
/*  Для новостеей ***************************/
div.asideDiv {
    margin:10px 0px 20px 0px;
    background-color:#f6f2f9;
    outline: 1px solid #d9d9d9;
/*    height: 100%;   */
    display: block;
    padding: 10px;
  font-family: 'kelson_sans_ruregular'; 
  font-size: 14px;
}
    div.asideDivZag {
        margin: 10px 0;
        /*background-color:#447C96;*/
        /*color:white;*/
        font-weight:bold;
      
    }
     div.asideDivShort {
        margin: 10px 0px;
    /*  background-color:#447C96;  */
        /*color:white;*/
     /*    font-weight:bold; */
    }
.main1 img {
  display:inline-block;
  height: auto;
  max-width: 100%;
}
.fbox img{
          filter: grayscale(80%);
          transition: 0.5s ease-in-out;
           }     
.fbox:hover{
          filter: grayscale(0);
          transition: 0.5s ease-in-out;
       }
/********************************************/
/* Ссылки для закупок  */
.stz2 {
    margin: 10px 0px;
    font-size: 14px;
    font-family: 'kelson_sans_ruregular'; 
/*    font-weight: bold; */
    padding: 10px 0px;
/*    color: #151f6d; */
/*    color: #4169e1; */
  list-style-type: none;
/*  text-decoration: none; */
}
.stz2:hover {
/*  text-decoration: none; */
/*  background-color: #f1f1f1; */
}
.stz3 {
  font-family: 'kelson_sans_ruregular';
}
/********************************************/
/* Для вертикалки  ************/
 /* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    margin: 5px;
    position: absolute;
    background-color: #ffffff;
    min-width: 360px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    font-size: 18px;  
    font-family: 'kelson_sans_ruregular';
}

/* Links inside the dropdown */
.dropdown-content a {
 /*    color: black; */
    color: #151f6d;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    background-color: #ffffff;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
   background-color: #f1f1f1;
 /*  color: red; */
   color: #151f6d;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover {
text-decoration: none; 
background-color: #f1f1f1;
} 
/*******************************************/
/* AUTOCOMP *******************************/
.autocomp {
  position: relative;
  display: inline-block;
/*  color: #ffffff;
  background-color: #f1f1f1; */ 
}
.autocomp-items {
  position: absolute;
  top: 100%;
  left: 100px;
  right: 0;
}
/******************************************/
/**** Таблица поездов *********************/
  .rezRez {
   font-family: 'kelson_sans_ruregular';
            border: 1px solid #cccccc;
            margin: 4px 0;
            padding: 8px 5px;
            border-radius: 3px; }
        .rezRez th, .rezRez td {
            border: 1px solid #cccccc;
            text-align: center;
            width: 3px;
            padding: 2px 2px;        }
        .rezRez th { background-color: #eeeeee; }
        .rezRez table { width: 100%; } 
        .rezRez div { width: 666px; }
/******************************************/
/******************************************/
  .slh3 {
    font-family: 'kelson_sans_ruregular';
        }
/******************************************/
/*  Ширина для SELECT */
  .selwidth {
    width: 100%;
    height:40px;
        }
/******************************************/
.nav-tabs .nav-link {
  color: #6c757d; /* Цвет неактивных вкладок */
}

.nav-tabs .nav-link.active {
  color: #151f6d; /* Синий цвет для активной вкладки */
  background-color: #fff; /* Цвет фона активной вкладки */
}

/* Для содержимого панелей */
.tab-content .tab-pane {
  color: #333; /* Основной цвет текста в панелях */
}