﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


* {
    font-family: 'Roboto', sans-serif;
}


main > .container {
    font-family: 'Roboto', sans-serif;
    padding: 30px 15px 20px;
}

/*.blockquote-footer::before {
    content: none;
}*/

.input-group-addon, .input-group-btn {
    width: auto;

}

.block-cert {
    display: flex;
    justify-content: center;
}


    /* Контейнер подсказок */
.tooltip {
  position: relative;
  display: inline-block;
  opacity: 1;
  z-index: 1 !important;
}

/* Текст подсказки */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Расположите текст подсказки */
  position: absolute;
  z-index: 1 !important;
  bottom: 125%;
  left: -55%;
  margin-left: -60px;

  /* Исчезают в подсказке */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Подсказка стрелка */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Отображение текста подсказки при наведении курсора мыши на контейнер подсказки */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
} 


.adsss {
    display: none;
}


/*Стили navbar*/


.bg-green {
  background-color: #48884f !important;
}

.navbar-nav {
    flex-flow: wrap;
    justify-content: right;
}


.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.navbar_new {
    padding: 0.3rem 0.5rem;
}


.navbar {
    align-items: unset;
}
/*конец стилей navbar*/

/* стили инпут поиска */

.form-search {
  position: relative;
  margin-top: 5px;
  display: none;
}

.input-search {
  display: block;
}

.btn-search {
    color: #919191;
    background-color: #fff;
    border: none;
    padding: 0;
    height: auto;
    position: absolute;
    top: 0.32em;
    right: .8em;
}


/* стили инпут поиска */

/* стили инпут поиска десктоп */

.form-search-desktop {
  position: relative;

}

.input-search-desktop {
  display: block;
  height: 20px;
  font-size: 12px;
  padding: 0 5px;
  width: 200px;
}

.btn-search-desktop {
    color: #919191;
    background-color: #fff0;
    border: none;
    padding: 0;
    height: auto;
    position: absolute;
    top: .1em;
    right: .5em;
    font-size: 12px;

}

/* стили инпут поиска десктоп*/






/*СТИЛИ ШАПКИ САЙТА*/
.text-header {
    color: #fff;
}
.bg-image {
    background: url("/images/header2.jpg");
    height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;   
}
/*КОНЕЦ СТИЛЕЙ ШАПКИ*/














/*Раскрывающийся текст о техникуме*/

.morecontent span {
    display: none;
}
.morelink {
    font-weight: bold;
    color: #4682b4;
}

.spoiler_body {display:none;}
 .spoiler_links {cursor:pointer;}
/*конец раскрывающегося текста*/











/*СТИЛИ КАРТОЧЕК НОВОСТЕЙ*/

.card-title-news {
    white-space: nowrap; /* Текст не переносится */
    overflow: hidden; /* Обрезаем всё за пределами блока */
    text-overflow: ellipsis; /* Добавляем многоточие */
}

.card-text-news {
    height: 96px;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.img-news {
    height: 280px;
}





/*КОНЕЦ СТИЛЕЙ КАРТОЧЕК*/












/*Адаптив шапки сайта*/

.dropdown-menu {
    top: 90%;
}

.dropdown-item {
    white-space: normal;
}

.dropdown-menu li {
  border-bottom: 1px solid #716e6e57;
}

.dropdown-menu li:last-child {
  border-bottom: 0;
}

nav.navbar .dropdown:hover > .dropdown-menu {
 display: block; 
} 

.navbar-center-content {
        justify-content: center !important;
    }

.navbar-collapse {
    flex-grow: 0;
}

.sticky {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
}

@media (max-width: 991px) {
    .navbar-nav {
        flex-flow: column;
    }

    .form-search {
        display: block;
    }

    .top-navbar {
        display: none !important;
    }

    h1, .h1 {
        font-size: 1.5rem;
    }

    .img-news {
        height: 200px;
    }
}

@media (max-width: 920px) {



        .bg-image {
                height: 300px;  
        }

        .text-header-size h4 {
            font-size: 14px;
        }

        .text-header-size p {
            font-size: 18px;    
        }

        .text-header-size footer {
            font-size: 12px;    
        }
}




@media (max-width: 1600px) {
    .ads-pc {
        display:none;
    }

    .adsss{
        display: block !important;
    }

    .mob-rule {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    .navbar-center-content {
        justify-content: space-between !important;
    }

    .navbar-collapse {
    flex-grow: 1;
}
}
/* конец Адаптив шапки сайта*/



/*ссылки навигации*/

.mylink {
    border: 1px solid;
    padding: 10px 15px;
    margin: 0 2px;
}

.myactive .mylink {
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.mynext .mylink {
    border: 0;
}

.mypre .mylink {
    border: 0;
}

.mydisable span {
    padding: 10px 15px;
}


.pagination {
    margin-top: 35px;
    justify-content: center;
}
/*конец ссылок навигации*/



/*Стили блока акций*/

.just-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
    justify-items: center;
    grid-gap: 10px;
}

.just-grid .mb-3 .card {
    border: none;
}

/*конец стилей акций*/








.img_width img {
    max-width: 100%;
    height: auto !important;
}



















/* -----------------------------*/
/* Стили панели администратора */
/* -----------------------------*/
body {
    font-family: "Lato", sans-serif;
}

.navbar-brand_adm {
    height: auto;
    padding: 0;
}

.navbar_adm {
    justify-content: left;
    height: 50px;
}

.btn-outline-primary {
    border: 0;
}

.sidebar {
    position: fixed;
    height: 100vh;
    background-color: #f8f9fa !important;
    border-right: #6c757d36 1px solid;
    top: 50px;
}

.border-sidebar-button {
    border-bottom: #6c757d36 1px solid;
    border-right: 0;
    border-top: 0;
    border-left: 0;
}

.panel_right {
    top: 65px;
}

@media only screen and (max-width: 600px) {
  .hidden_w {
    display: none;
  }
}


/* -----------------------------*/
/* КОНЕЦ Стилей панели администратора */
/* -----------------------------*/



/*TABLE*/


table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dee2e6;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

table tbody tr td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    vertical-align: top;
}

table tbody {
    display: inline-table;
    width: 100%;
}

.table {
    display: table;
}

.table tbody {
    display: revert;
}

/*END TABLE*/



.footer {
    background-color: #f5f5f5;
    font-size: .9em;
}

.redactor-editor {
    max-height: 600px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}
