@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&subset=cyrillic');
@charset "windows-1251";
* {
  margin: 0;
  padding: 0;
  outline: none;
}

html, body {
	
}

body {
  background-color: #f5f5f5;
  background-attachment: fixed;
  background-size: 100%;
  font-family: 'Roboto', sans-serif;  
}

body#first-body {
  background: url('img/background1.jpg') no-repeat fixed center;
  background-size: cover;  
}

body#department {
  background: url('img/background2.jpg') no-repeat fixed center;
  background-size: cover;  
}

/*** ОСНОВНА ТЕМА ***/

.main-colors{
  background: #561711;
  color: #fff;  
}
.main-colors:hover{
  color: #c0c0c0;  
}
p {
  font-size: 13pt;
  margin-bottom: 10px;
  text-indent: 30px;
  text-align: justify;
}
h4 {
  font-size: 15pt;
  margin-bottom: 10px;
  color: #561711;
}
h3 {
  font-size: 18pt;
  margin: 0 0 30px;
  color: #561711;
  text-align: center;
  display: inline-block;
  border-bottom: 5px double;
}

.t-center{
  text-align: center;
}
.main-container a{
  text-decoration: none;
  color: #0d5595;	
}
.main-container a:hover{
  color: #347ab9;
}
.main-container ol{
  margin-bottom: 10px;
  font-size: 13pt;
  padding-left: 1rem;
}
.text-img{
  margin-top: 6px;
}
.ground-line{
  padding: 30px 0 35px;	
}
.white-line{
  background: #fdfdfd;
}
.transpar-line{
  background: #ecebeb;
}
.sp-color {
  color: #9f3931;	
}
.no-break {
  white-space: nowrap;
}
.sp-link:hover{
  padding-left: 5px;
  transition: padding 0.3s ease;	
}



/*** СТИЛІ ДЛЯ ХЕДЕРУ ***/
div.top-bar{
  background: #dbd6d6;
}
div.top-bar p{
  color: #000;
}
div.top-bar 	img.logo {
  width: 220px;
  padding-top: 12px;
  padding-bottom: 12px;
}
div.top-bar a{
  text-decoration: none;
  color: black;
}
div.top-bar a:hover{
  color: #561711;
}
div.top-bar h1{
  font-size: 19pt;
  color: #561711;
  font-weight: 600;
  margin-bottom: 15px;  
}
p.special-adap{
  margin-top: 15px;
}
div.top-bar h2{
  font-size: 12.3pt;	
}
div.div-h{
  padding-left: 55px;
}


/*** ГОЛОВНА НАВІГАЦІЙНА ПАНЕЛЬ ***/
@media (max-width: 991px) {
  .top-nav{
    border-top: 1px solid #ffffff8f;
	margin-top: 3px;
  }
  .languages{
    border-top: 1px solid #ffffff8f;
    padding-top: 5px;
  }  
  .dropdown-item {
    white-space: unset!important;
  }    
}
@media (min-width: 992px) {
  .languages{
    border-top: none;
    padding-top: 0px;
  }

}
.nav-style{
  background: #561711;
  font-size: 13pt;
}
.nav-style .nav-link{
  color: #fff;
  padding: 0.2rem 0;
  margin-right: 0px;
}  
.nav-style .nav-link:hover{
  color: #c0c0c0;
}
.dropdown-menu{
  border-radius: 0;
  padding: 0;
  margin-top: 0.5rem!important; 
}
.dropdown-item{
  padding: 0.5rem;

}
.dropdown-item:focus, .dropdown-item:hover {
  background-color: #d2d5d9;
}
#spare-block{
  margin: auto;
}
#spare-title, #spare-title2{
  color: white;
  font-size: 20pt;
  padding-right: 40px;
  margin: 0px;
  display: none;
  font-weight: 500;	  
}
@media (max-width: 500px){
  #spare-title {
    font-size: 15pt;
    margin: 0px;
	padding: 0px;
  }
  #spare-title2 {
    font-size: 11pt;
    margin: 0px;
	padding: 0px;
    padding-right: 0px;	
  }   
}
#main-nav img {
  width: 70px;
}	


/*** СТИЛІ ДЛЯ ФУТЕРУ ***/
.footer-styles{
  background: #561711;
  color: #fff;  
}
.footer-styles h4{
  font-weight: 400;	
  color: #fff;
}
.footer-styles a{
  color: #fff;
  text-decoration: none;  
}
.footer-styles a:hover{
  color: #c0c0c0; 	
}
.footer-styles p {
  margin-bottom: 5px;
}


/*** СТИЛІ СІТКИ ФАКУЛЬТЕТІВ ***/
div.all-faculties{
  min-height: 200px;
  padding: 10px;
  background: whitesmoke;
  box-shadow: 0 0 5px 1px #56171136;
}
div.all-logos{
  width: 25%;
  text-align: center;
  margin: 27px 0;
  display: inline-block;
  float: left;
}
div.all-logos img{
  max-width: 100%;
  padding-right: 10px;
}

div.all-inf{
  width: 75%;
  display: inline-block;
}
div.all-inf p, div.all-inf h4{
  margin-bottom: 0px;
}
div.all-inf a{
  text-decoration: none;
  color: #561711;
}
div.all-inf a:hover{
  color: #7f7f7f;
}
.social-links{
  max-width: 90%;
  border-bottom: 2px solid #a7b5c1;
  padding-bottom: 1px;
  margin-bottom: 2px!important; 
}

.video {
  position: relative;
  padding-bottom: 56.25%;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.all-tittle{
  display: inline-block;
}


/*** СТОРІНКИ ***/
#title-img{
  width: 250px;		
  max-width: 100%
}
.marker {
  float: left;
  width: 100px;
  max-width: 18%;
  margin-right: 10px;
  height: 100%;
}
.no-wrap {
  white-space: nowrap;
  max-width: 100%; 
  overflow: hidden; 
}
.all-tables td{
  border: 1px solid black;
  padding: 5px 0 5px 10px;		
}
.elem-hight {
  height: 340px;	
}	


/*** ВИКЛАДАЧІ ***/
img.fac-logo{
  margin-right: 6px;
  margin-bottom: 10px;
}
img.fac-logo:hover {
  box-shadow: 0 0 6px 2px #e468687a;
  border-radius: 50px;
}
img.teach {
  margin-top: 5px;
  border: 1px solid #b2b2b2;
} 

.containermypictures {
  max-height: 400px; /* Обмеження висоти контейнера */
  max-width: 100%; /* Обмеження ширини контейнера */
  width: auto; /* Адаптивна ширина */
  display: flex; /* Центрує зображення */
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Гарантує, що нічого не виходить за межі контейнера */  
  margin: 0 auto; /* Центрує контейнер на сторінці */
}

.containermypictures img {
  max-height: 400px; /* Вписує картинку у висоту контейнера */
  max-width: 100%; /* Вписує картинку у ширину контейнера */
  height: auto; /* Зберігає пропорції */
  width: auto; /* Зберігає пропорції */
}