/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

html {
    position: relative;
    min-height: 100%;
}

p, td, h1, h2, h3, h4, h5, h6, a, li {
    font-family: 'Roboto', sans-serif;
}
  
  body {
    padding-bottom: 565px;
    /*background: url('ny-bg.jpg');*/
  }
  
  h1, h2, h3 {
      font-family: 'Roboto', sans-serif;
      font-weight: 400;
  }
  
  /* CUSTOMIZE THE NAVBAR
  -------------------------------------------------- */
  
  .header {
      margin-bottom: 17px;
      color: #fff;
      background: url('/media/redesign/header-bg1.png');
  }
  
  .header .container {
      position: relative;
  }
  
  .header-top-images {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 234px;
      overflow: hidden;
  }
  
  .header-links {
      position: absolute;
      top: 0;
      right: 0;
	  display: flex;
	flex-direction: column;
	align-items: flex-end;
  }
  
  .header-link {
      margin-top: 26px;
      display: inline-block;
      text-shadow: none;
      font-weight: bold;
      color: black;
      background: #FFF;
      padding: 5px 12px;
      border-radius: 14px;
      box-shadow: 0 1px 7px rgb(0 0 0 / 12%), 0 1px 5px rgb(0 0 0 / 24%);
      transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  }
  a.header-link {
      text-decoration: none;
  }
  
  /* Class for header positioning without krutilka */
  .sp {
      position:static; height:230px;
      background-image:url('/media/bg-simple.jpg');
      background-repeat: no-repeat;
      background-size:cover;
      background-position:center bottom;
      margin-bottom:10px;
  }
  
  /* Flip around the padding for proper display in narrow viewports */
  .navbar-wrapper > .container {
    padding-right: 0;
    padding-left: 0;
  }
  .navbar-wrapper .navbar {
    padding-right: 15px;
    padding-left: 15px;
    background: #FFF;
    border: 0;
  }
  
  #navbar {
      margin-bottom: 20px;
  }
  #navbar > ul > li > a {
      font-weight: bold;
      color: #000;
      padding: 2px 15px;
      margin-right: 10px;
      border: 1px solid #BBB;
      border-radius: 10px;
      box-shadow: 0 1px 7px rgba(0,0,0,0.12), 0 1px 5px rgba(0,0,0,0.24);
      transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  }
  
  #navbar .home-link i {
      color: #1687ca;
  }
  
  #navbar .caret {
      color: #1687ca;
  }
  
  
  /* CUSTOMIZE THE CAROUSEL
  -------------------------------------------------- */
  .carousel, .carousel .item, .carousel-inner > .item > div.slide {
    height: 281px;
    border-radius: 6px;
  }
  
  /* Carousel base class */
  .carousel {
    margin-bottom: 20px;
  }
  /* Declare heights because of positioning of img element */
  .carousel .item {
    background-color: #777;
  }
  .carousel-inner > .item > div.slide {
      position: absolute;
      top: 0;
      left: 0;
      min-width: 100%;
  
      background-repeat: no-repeat;
      background-size:cover;
      background-position:center bottom;
  }
  
  .slide-link {
      width: 100%;
      height: 100%;
      display: block;
  }
  #myCarousel .slide {
      background-size: cover;
  }
  #myCarousel .carousel-indicators {
      bottom: -5px;
  }
  
  .navbar-wrapper {
      position: static;
      height: auto;
      margin-bottom: 10px;
  }
  @media (min-width: 768px) {
      .navbar-wrapper {
          height: 286px;
      }
    .navbar-wrapper .container {
      padding-right: 15px;
      padding-left: 15px;
    }
    .navbar-wrapper .navbar {
      padding-right: 0;
      padding-left: 0;
    }
  
    /* The navbar becomes detached from the top, so we round the corners */
    .navbar-wrapper .navbar {
      border-radius: 4px;
    }
  
    /* Bump up size of carousel content */
    .carousel-caption p {
      margin-bottom: 20px;
      font-size: 21px;
      line-height: 1.4;
    }
  }
  
  @media (min-width: 992px) {
    .projects-row div.col {
      width: 17%;
      margin-left: 1.5%;
      margin-right: 1.5%;
      height: 50px;
    }
  
    .projects-row h3 {
        font-size: 16px;
    }
  
    .projects-container {
      width: 100%;
      line-height: 90px;
      text-align: center;
      margin-top: 30px;
      margin-bottom: 30px;
    }
    
    .projects-container a.btn {
        width: 250px;
        display: block-inline;
        height: 80px;
    }
  
  }
  @media (max-width: 992px) { /* Esli menu ne vlezaet menyai razmer otsupov */
      .nav > li > a {
          padding-left:8px; padding-right:8px;
          font-size:80%;
      }
      .snow-man {
          display: none;
      }
  }
  
  @media (max-width: 768px) {
      .sp {height:320px;}
      .carousel, .carousel .item, .carousel-inner > .item > div.slide {
          height: 800px;
      }
      .far-left > a > img {display:block; margin:20px auto; float:none;}
      .header h1, .header h2 {text-align:center;}
      .header h1 {font-size:40px; text-indent:0;}
      .header h2 {font-size:20px;}
      footer {
          padding: 10px 11px;
          text-align: center;
          height: 84px;
      }
      body {
          padding-bottom: 100px;
      }
	.header-links {
		flex-direction: row;
		align-items: flex-start;
	}
	.header-link {
		margin-top: 13px;
	}  
  }
  
  .administration_table td {
      padding: 10px;
  }
  
  h1 {
      margin-bottom: 20px;
  }
  .logo-link {
      color: #FFF !important;
      text-decoration: none !important;
  }
  .partner-img:before {  
      content: ' ';
      display: inline-block;
      vertical-align: middle; 
      height: 100%;
  }
  .partner-img {
      height: 261px;
      text-align: center;  /* align the inline(-block) elements horizontally */
      font: 0/0 a;         /* remove the gap between inline(-block) elements */
      padding: 0 5px;
  }
  .partner-img img {
      max-width: 100%;
  }
  .partner {
      text-align: center;
      border: 1px solid #e2e7eb;
      height: 420px;
      margin-bottom: 20px;
      position: relative;
  }
  .partner-title {
      margin-bottom: 14px;
  }
  .partner-contract {
      margin-top: 10px;
      font-style: italic;
  }
  .partner-bottom {
      padding: 13px 0 13px 0;
      border-top: 1px solid #e2e7eb;
      position: absolute;
      width: 100%;
      bottom: 0;
  }
  .errorMessage {
      color: red;
  }
  .newslent-item td, .content td {
      border: 1px solid black;
      padding: 3px 2px;
  }
  #google-search {
	width: 230px;
    position: relative;
    bottom: 2px;
  }
  #google-search .gsc-input-box {
		height: 30px;
		margin-bottom: 10px;
		border: 1px solid #BBB;
		border-radius: 10px;
		box-shadow: 0 1px 7px rgb(0 0 0 / 12%), 0 1px 5px rgb(0 0 0 / 24%);
		transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    color: #000;
  }
  #google-search td .gsc-input {
      padding-right: 2px;
	  color: #626262;
	  font-size: 14px;
	  background: none !important;
  }
  
  #google-search .gsib_b {
	  display: none;
  }
  
  #google-search .gsc-search-button button {
    position: relative;
    right: 45px;
    background: 0;
    border: 0;
  }
  
  #google-search .gsc-search-button button  svg {
    fill: #5e5e5e;
  }
  .cse .gsc-search-button input.gsc-search-button-v2, input.gsc-search-button-v2 {
      width: auto !important;
      height: auto !important;
      border-color: #474747;
      background-color: #474747;
      background-image: none;
      filter: none;
  }
  #google-search .gsc-control-cse {
      background: none;
      border: 0;
	  padding: 0;
  }
  #google-search .gsc-search-button button {
      padding: 4px 4px;
      margin-bottom: 10px;
  }
  .project-button {
      width: 100%;
      margin-bottom: 10px;
      white-space: normal;
  }
  .rektor-column {
      background: #660b9c;
      font-size: 16px;
      margin-top: 5px;
  }
  .rektor-column:hover {
      background: #550a82;
  }
  
  .sidebar-link {
      margin-bottom: 20px;
      display: block;
      padding-bottom: 20px;
      border-bottom: 1px solid #e3e3e3;
      text-align: center;
      font-size: 12px;
  }
  .sidebar-link img {
      display: block;
      width: 100%;
      margin: 0 auto;
      padding-bottom: 10px;
  }
  .main-container {
      padding: 20px 20px 20px 20px;
      margin-top: -10px;
      position: relative;
      margin-bottom: 69px;
  }
  .snow-man img {
      width: 86px;
      float: right;
      margin-right: 50px;
  }
  
  #snowfall-wrapper {
      pointer-events: none;
  }
  
  .social {
      margin-top: 20px;
  }
  
  .social-icons {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 13px;
  }
  
  .social-icons i {
      font-size: 30px;
      margin: 0 6px;
  }
  
  footer {
	  position: absolute;
	  bottom: 0;
      width: 100%;
      min-height: 540px;
      padding-top: 20px;
      background: #2980B9;
      color: #FFF;
      font-size: 15px;
  }
  
  footer a:active, footer a:focus, footer a:hover, footer a {
      color: #FFF;
  }
  
  .footer-section-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 0;
  }
  
  .footer-section-list {
	list-style: none;
    padding-left: 0;
  }
  
  .footer-section-list li {
	margin-top: 2px;
	font-size: 13px;
  }

  .main-about {
      min-height: 600px;
      background: url('redesign2/main_about_bg.jpg');
      background-position: center center;
      background-size: cover;
  }
  
  .navbar-container {
      padding: 0 !important;
  }

.main-about-title {
    padding: 24px 0 18px 0;
    font-weight: 600;
    color: #000;
    font-size: 42px;
    line-height: 44px;
    margin-top: 66px;
}
.main-about-text {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 300;
}

.main-rector {
    min-height: 50vh;
    background: #d7e1e9;
    margin-bottom: 15px;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-around;
}
.main-rector-left {
	display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 40px;
}
.main-rector-title {
    font-size: 30px;
    font-weight: 300;
}
.main-rector-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
}
a.main-rector-link {
    text-decoration: none;
}
.main-rector-link {
    color: #414042;
    background-color: #e6e7e8;
    border-radius: 30px;
    height: 60px;
    display: inline-block;
    padding: 20px 40px;
    font-weight: 600;
}
.main-rector-image {
    background: url('redesign2/rector.png');
    background-position: center center;
    background-size: cover;
	height: 400px;
	width: 400px;
}
.full-height {
    height: 100%;
	margin-bottom: 20px;
}
.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 300;
    margin-top: 44px;
    margin-bottom: 54px;
}
.section-line {
    margin: 0 auto;
    height: 1px;
    background: #000;
    width: 140px;
}
.section-title-wrapper {
    margin-bottom: 80px;
}
.section-title-bold {
    font-weight: 600;
    font-size: 42px;
    text-align: center;
    margin-bottom: 80px;
}
.contacts-line {
    font-size: 26px;
    font-weight: 300;
    text-align: center;
}
.contacts-phone {
    font-size: 18px;
    font-weight: 300;
    text-align: center;
}
.contacts-email {
    font-size: 18px;
    font-weight: 300;
    text-align: center;
}
.contacts-social-icons {
    margin: 20px 0 60px 0;
    font-size: 40px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.contacts-social-icons a {
    color: #000;
}
.base-place-container {
    margin-bottom: 120px;
}
.base-place {
    text-align: center;
}
.base-place img {
    margin-bottom: 20px;
}
a .base-place-title {
    font-size: 24px;
    font-weight: 600;
}
.base-place a {
	color: #000;
	text-decoration: none;
}
.activity-direction-container {
    margin-bottom: 150px;
}
.activity-direction {
    border: 2px solid #9cbaed;
    padding: 35px 17px 48px 17px;
    text-align: center;
    width: 260px;
    height: 390px;
	margin: 0 auto 20px auto;
}
.activity-direction a {
    color: #000;
    text-decoration: none;
}
.activity-direction-image {
    margin-bottom: 40px;
}
.activity-direction-title {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 22px;
    height: 40px;
}
.activity-direction-subtitle {
    font-weight: 300;
    font-size: 16px;
}
.experts-container {
    margin-bottom: 120px;
}
.expert-title {
    margin-top: 10px;
    font-weight: 600;
    font-size: 22px;
    text-align: center;
}
.expert-subtitle {
    color: #7a7a7a;
    font-weight: 300;
    font-size: 14px;
    text-align: center;
}
.news-wrapper {
    padding-top: 69px;
    padding-bottom: 90px;
    background-color: #efefef;
}
a.news-item {
    color: #000;
    text-decoration: none;
    background: #FFF;
    display: block;
    padding: 30px 30px 50px;
    height: 749px;
    overflow: hidden;
}
.news-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
    display: -webkit-box;    
    -webkit-line-clamp: 10; 
    -webkit-box-orient: vertical;
}
.news-subtitle {
    font-size: 18px;
    font-weight: 300;
    overflow: hidden;
    display: -webkit-box;    
    -webkit-line-clamp: 6; 
    -webkit-box-orient: vertical;
}
.news-date {
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 10px;
}
.partners-container {
    margin-bottom: 120px;
}
.partners-container img {
	max-width: 100%;
}
.social {
    height: 480px;
}

/* TRUSTEES */
.trustees-title {
    font-size: 30px;
    font-weight: 600;
    margin: 40px 0 30px 0;
    max-width: 800px;
    line-height: 36px;
}
.trustees-title-row {
    width: 100px;
    height: 3px;
    background: #000;
    margin-bottom: 40px;
}
.trustees-subtitle {
    font-size: 20px;
    font-weight: 300;
    max-width: 800px;
}
.trustees-consist-title {
    margin-top: 200px;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 80px;
}
.trustees-consist-title-direction {
    font-size: 37px;
    text-align: center;
    font-weight: bold;
	margin-bottom: 65px;
}
.trustee {
    height: 360px;
    margin-bottom: 20px;
}
.trustee-title {
    font-size: 22px;
    font-weight: 600;
    margin-top: 10px;
    line-height: 24px;
    margin-bottom: 15px;
}
.trustee-subtitle {
    color: #7a7a7a;
    font-size: 14px;
    font-weight: 300;
}
.trustees-container {
    margin-bottom: 200px;
}
.trustee-image {
	width: 206px;
    height: 206px;
    overflow: hidden;
}
.expert-image {
	width: 206px;
    height: 206px;
	background-position: center center;
	background-size: cover;
}
.expert {
    height: 500px;
    margin-bottom: 20px;
}

/* ABOUT */

.about-title {
    font-size: 42px;
    text-align: center;
    font-weight: 600;
    margin: 60px 0 30px 0;
}
.about-subtitle {
    font-size: 24px;
    text-align: center;
    max-width: 600px;
    font-weight: 300;
    margin: 0 auto;
}
.about-slides {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0 100px 0;
}
.services-wrapper {
    padding: 120px 0 60px 0;
    background: #ebebeb;
}
.services-title {
    font-weight: 600;
    font-size: 42px;
    text-align: center;
    margin-bottom: 100px;
}
.service-type {
    font-weight: 600;
    font-size: 24px;
    width: 180px;
    margin-right: 50px;
}
.service-description {
    font-size: 20px;
    font-weight: 300;
}
.service {
    display: flex;
    margin-bottom: 40px;
}
.advantages-title {
    font-size: 42px;
    font-weight: 600;
    margin: 100px 0 60px 0;
}
.advantage {
    display: flex;
    margin-bottom: 40px;
}
.advantage-image {
    width: 100px;
    text-align: center;
}
.advantage-text {
    width: 300px;
}
.advantage-title {
    font-weight: 600;
    font-size: 22px;
}
.advantage-subtitle {
    font-weight: 300;
    font-size: 16px;
}
.people-section-title {
    font-size: 42px;
    font-weight: 600;
    margin: 100px 0 60px 0;
	text-align: center;
}
.people-section-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin: 40px 0 120px 0;
	text-align: center;
}
.people {
    height: 360px;
    margin-bottom: 20px;
}
.people-title {
    font-size: 22px;
    font-weight: 600;
    margin-top: 10px;
    line-height: 24px;
    margin-bottom: 15px;
}
.people-subtitle {
    color: #7a7a7a;
    font-size: 14px;
    font-weight: 300;
}
.navbar-default {
	background: #FFF;
}
.all-news-button-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 40px;
}
a.btn2 {
	text-decoration: none;
}
.btn2 {
	border: 2px solid #9cbaed;
	padding: 20px;
	transition: all 0.3s;
	text-transform: uppercase;
    color: #000;
    font-weight: bold;
}
.btn2:hover {
	color: #FFF;
	background: #9cbaed;
}
	
@media (max-width: 768px) {
	.activity-direction-container {
		margin-bottom: 20px;
	}
	.news-wrapper {
		padding-top: 10px;
		padding-bottom: 0;
	}
	.section-title-bold {
		margin-bottom: 10px;
	}
	a.news-item {
		height: auto;
		max-height: 749px;
	}
	.news-subtitle {
		height: auto;
	}
	.main-about-title {
		margin-top: 13px;
	}
	.partners-container {
		margin-bottom: 21px;
	}
	.base-place-container {
		margin-bottom: 32px;
	}
	.main-rector-left {
		padding-top: 20px;
	}
	.navbar-header button {
		margin-right: 20px;
	}
	#navbar {
		margin: 20px;
	}
	.trustees-consist-title {
		margin-top: 60px;
		margin-bottom: 30px;
	}
	.trustee {
		min-height: 284px;
		text-align: center;
		height: auto;
	}
	.experts-container {
		text-align: center;
		margin-bottom: 0;
	}
	.people-section-title {
		margin: 48px 0 20px 0;
	}
	.people-section-subtitle {
		margin: 40px 0 32px 0;
	}
	.people {
		height: auto;
		text-align: center;
	}
	.about-slides {
		overflow: hidden;
	}
	.main-rector {
		flex-direction: column;
	}
	.navbar-header {
		margin: 0 !important;
	}
	footer {
      min-height: 0;
	}
	.mobile-none {
		display: none;
	}
}