@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lato&display=swap');

body {
  font-family: 'Lato', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.5px;
  font-weight: normal;
  text-transform: uppercase;
}

#it-block-bootstrap-italia-views-block-webform-footer-block-block-1 h2 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.5px;
  font-weight: normal;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 1em;
}
.it-hero-wrapper h2 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.5px;
  font-weight: normal;
  text-transform: uppercase;
}
.it-hero-wrapper p{
  font-family: 'Lato', sans-serif !important;
  font-size: 1rem;
  line-height: 1.3;  
}
.it-hero-text-wrapper a{
   text-transform: uppercase; 
   letter-spacing:0.07em;
}
.it-footer-main label{
    font-weight: normal !important;
    font-style: italic;
}
#it-block-bootstrap-italia-views-block-webform-footer-block-block-1 .form-check label{
    color: white;
    font-size: 1.125rem !important;;
}
#it-block-bootstrap-italia-views-block-webform-footer-block-block-1 .form-check [type=checkbox]:not(:checked)+label::after {
    border-color: white;
}
.it-heading-link-wrapper a{
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.5px;
  font-weight: normal !important;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 1em;
}

form.webform-submission-pomozhem-sdelat-vybor-node-1-form{
    margin-bottom: 100px;
}

.main-menu-item span {
  margin-right: 5px !important;
  line-height: 1.3em !important;
}
.main-menu-facultet{
  display: flex;
  align-items: center;    
  justify-content: center; 
  height: 40px;
  padding-top: 20px;
    
}
.main-menu-pravila span{
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.3em !important;
}
#block-bootstrap-italia-svyazhitessnamipodval h3{
    text-align: center;
}

#block-bootstrap-italia-mestopolozhenie h3{
    text-align: center;
}
#block-bootstrap-italia-vremyaraboty h3{
    text-align: center;
}
#block-bootstrap-italia-rabotagoryacheylinii h3{
    text-align: center;
}
@media (max-width: 991.98px) {
  .dropdown-menu {
    position: static !important;
     transform: none !important;
  }
}

.field--name-field-kartinka img {
  width: 150px;
  height: 150px;
  border-radius: 50% !important;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.field--name-field-kartinka{
  padding-top: 40px;  
}
.field--name-field-nazvanie-specialnosti a{
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.5px;
  font-weight: normal;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 1em;
  font-size: 1.7em
}

.field--name-field-nazvanie-specialnosti{
    padding: 30px 10% 20px;
    text-align: center;
}
.field--name-field-fakultet-spisok{
    text-align: center;
    color: #30475F;
    padding-bottom: 20px;    
}
.field--name-field-kvalifikaciya {
    text-align: center;
    color: #30475F;
    padding-bottom: 20px;
    
}
.d-flex.field--name-field-kvalifikaciya{
    display: block !important;
}

article.node--type-specialnost .field--type-entity-reference-revisions{
    
   background-color: #f2f2f2 !important;
    
    
}
article.node--type-specialnost .field--type-entity-reference-revisions button{
    font-family: 'Bebas Neue', sans-serif;
    color: #30475F !important;
    font-weight: normal;
    text-transform: uppercase;
    border: 2px solid #FFFFFF;
    font-size: 1rem;
    display: flex;
}
article.node--type-specialnost .field--type-entity-reference-revisions:hover{
    background-color: #D9DADB !important;
}
.field--name-field-informaciya{
    text-align: center;
    color: #0059B3;
    padding-bottom: 20px;
    font-weight: bold;
}
#block-bootstrap-italia-views-block-specialnosti-meh-fakulteta-block-1 h3{
    font-size: 1.3rem;
    line-height: 1.3em;
    color: #17334F;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0px;
    
}
#block-bootstrap-italia-views-block-specialnosti-meh-fakulteta-block-1 .views-row{
    padding-bottom: 20px;
}
#block-bootstrap-italia-views-block-specialnosti-teh-fakulteta-block-1 h3{
    font-size: 1.3rem;
    line-height: 1.3em;
    color: #17334F;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0px;
    
}
#block-bootstrap-italia-views-block-specialnosti-teh-fakulteta-block-1 .views-row{
    padding-bottom: 20px;
}
#block-bootstrap-specialnosti-mehanicheskogo-fakulteta-11-block-1 h3{
    font-size: 1.3rem;
    line-height: 1.3em;
    color: #17334F;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0px; 
}
#block-bootstrap-specialnosti-mehanicheskogo-fakulteta-11-block-1 .views-row{
    padding-bottom: 20px;
}
#block-bootstrap-italia-views-block-spec-him-teh-fakulteta-block-1 h3{
    font-size: 1.3rem;
    line-height: 1.3em;
    color: #17334F;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0px; 
}
#block-bootstrap-italia-views-block-spec-him-teh-fakulteta-block-1 .views-row{
    padding-bottom: 20px;
}
.field--name-field-tegi{
    padding-top: 40px;
}
.field--name-field-tegi div{
      display: inline-block;
      padding: 0px 5px;
}
.field--name-field-tegi a{

  padding: 5px 12px;
  border: 1px solid #30475f;
  border-radius: 20px;
  font-size: 13px;
  color: #30475f;
  transition: background-color 0.3s ease;
  text-decoration: none 
}

.field--name-field-tegi a:hover{
  background-color: #30475f;
  color: #fff;
}
form.search-form{
  padding-top: 60px;  
}
#it-block-bootstrap-italia-content .webform-submission-form{
   padding-top: 40px; 
}
@media screen and (min-width: 1024px) {
  #it-block-bootstrap-italia-privetstvie {
    background-image: url("/sites/default/files/userfiles/main/Image00001-darken.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 600px;/* Высота на весь экран */
    color: white;
  }
   #it-block-bootstrap-italia-privetstvie .field--type-text-with-summary {
     width: 80%;
    text-align: right;
    float: right;
    margin-right: 5%;
    margin-top: 20%;
    color: white;
    padding: 20px;
    border: 1px solid #0066CC;
    font-style: italic;
    font-size: 1.5em;
    line-height: 1em;
    background: rgba(0, 89, 179, 0.6);
 }
}
@media screen and (max-width: 767px) {
  #it-block-bootstrap-italia-privetstvie {
    background-image: url("/sites/default/files/userfiles/main/Image00001-darken.jpg");
    background-size: contain; /* Показывает всю картинку, не обрезая */
    background-repeat: no-repeat;
    background-position: top center;
    height: auto; /* Высота по содержимому */
    padding-top: 50px; /* Можно добавить отступ сверху */
    padding-bottom: 50px;
    color: white;
  }
   #it-block-bootstrap-italia-privetstvie .field--type-text-with-summary {
       font-style: italic;
       padding: 10px;
       text-align: center;
       line-height: 1em;
   }
}

.blazy__caption{
    content: attr(alt);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px;
  font-size: 14px;
  text-align: center;
}

.block-views-blockgallery-item-block-1 h2{
    text-align: center;
    padding: 30px 0;
    font-weight: normal;
}
.block-views-blockgallery-item-block-1 .blazy__caption--description{
    line-height: 1rem;
    text-transform: uppercase;
    padding: 0 10px;
}
.block-views-blockgallery-item-block-1 .gallery-item {
  width: 30%; /* или 33.33% для 3 в ряд */
  aspect-ratio: 4 / 3; /* или 1 / 1 для квадратов */
  position: relative;
  overflow: hidden;
  display: inline-block;
  margin: 1%;
  vertical-align: top;
}

.block-views-blockgallery-item-block-1 .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.block-views-blockgallery-item-block-1{
    
}
.blazy--grid .media__element {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.blazy--grid .media--ratio {
  padding-bottom: 0 !important;
  height: auto !important;
}

.block-views-blockstudencheskaya-zhizn-block-1 .b-layout .block {
    padding: 0px !important;
}
.node--type-galereya-studencheskaya-zhizn .node__title a{
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  display: block;
  text-align: center;
  padding: 20px 0px;
  font-weight: normal;
}
.webform-question{
  display: block;
  text-align: center;
  padding: 20px 0px;
  font-weight: normal;
  color:#0066CC;
}