﻿@import url('https://fonts.googleapis.com/css?family=Roboto|Suez+One');
@import url('https://fonts.googleapis.com/css?family=PT+Sans');
*{
	margin: 0;
	padding: 0;
	outline: none;
}

body, html {
	width: 100%;
	height: 100%;
}

body {
	background-color: #fafafa;
	/*font-family:Trebuchet MS, Helvetica;*/
	font-family: 'PT Sans', sans-serif;

}

header {
	width: 100%;
	padding: 10px 0.5% 0px 0.5%;
	float: left;
	  background-color: #ebebeb;
	  /*opacity: 0.2;*/
	  /*filter: alpha(opacity=50);*/
	 /* #00309a;*/
	 
}

header #logo {
	color: #fff;
	cursor: pointer;
    /*filter: drop-shadow(0px 0px 2px #fff);*/
	margin-bottom: 5px;
	margin-left: 15px;
	/*opacity: */
	}
			
}

header #logo span {
	font-size: 1.7em;
	line-height: 45px;
	margin-left: 30px;
	font-family: 'Suez One', serif;
}

@media (min-width: 701px) {
	#logo {
		float: left;
		width: 30%;
		font-size: 1.1em;
	}
	
	#about {
		float: right;
		width: 67%;
	}
}

@media (max-width: 700px) {
	#logo{
		margin-top: 15px;
		width:100%;
		font-size: 1.5em;
	}
	
		#about {
		float: left;
		width: 100%;
	}
}

#about {
	text-align: center;
	font-size: 1.4em;
	line-height: 70px;
	margin-bottom: 10px;
        
}

#about >  a {color: #00339e;}

#about > a:hover{ 
color #b0b0b0;
text-decoration: underline;


}

#about > a:not(:last-child){
margin-right:5%;
}

.fixed {
  z-index: 5000;
  background-color: ##ebebeb;
  border-bottom: 1px solid silver;
}

header.fixed #logo {
  color: #343434;
}

.fixed #about a {color: #343434}
.fixed #about a:hover {color: #7c7c7c}

/* Главный блок на сайте */

#top {
  width: 100%;
  background-image: url(../img/head3_3.jpg);
  background-color: #2e3a44;
  background-size: cover;
  text-align: center;
  color: #fff;
  
  
}

@media (min-width: 1001px) {
  #top {
    font-size: 3em;
    height: 1000px;
  }
}

@media (max-width: 1000px) and (min-width: 651px) {
  #top {
    font-size: 2em;
    height: 600px;
  }
}

@media (max-width: 650px) {
  #top {
    font-size: 2em;
    padding-top: 50%;
    height: 500px;
  }
}

@media (max-width: 450px) {
  #top {
    font-size: 1.5em;
  }
}

#top h2 {
  padding-top: 20%;
  color: #fff;
  font-family: 'PT Sans', sans-serif;

}

#top h5 {
  color: #fff;
  font-family: 'PT Sans', sans-serif;

}

/* Блок с информация */

#main {
  float: left;
  background-color: #f7f7f7;
  border-top: 2px solid silver;
  color: #00339e;
  font-size: 1.3em;
  font-family: 'PT Sans', sans-serif;
}

@media (min-width: 1401px) {
  #main {
    padding: 100px 20%;
    width: 60%;
  }
}

@media (max-width: 1400px) {
  #main {
    padding: 100px 10%;
    width: 80%;
  }
}

@media (max-width: 700px) {
  #main div {
    width: 98%!important;
    margin-bottom: 20px;
  }
}

#main div {
  width: 48%;
  margin-right: 2%;
  float: left;
  
}

#main h2 {font-size: 1.4em; color: #00339e; font-family: 'PT Sans', sans-serif;}
#main h3 {font-size: 1.2em; color: #00339e; font-family: 'PT Sans', sans-serif;}
#main p {font-size: 1em; color: #86868a; font-family: 'PT Sans', sans-serif;}



/* Блок с "С нами всё проще" */

#overview {
  float: left;
  background-image: url(../img/head2_4.jpg);
  background-color: #403f40;
  background-size: cover;
  background-attachment: fixed;
  padding: 100px 0;
  width: 100%;
  text-align: center;
  color: #fff;
}


@media (min-width: 801px) {
  #overview div {
    width: 25%;
    margin-left: 6%;
    float: left;
	margin-top: 50px;
  }
}

@media (max-width: 800px) {
  #overview div {
    width: 80%;
    margin-left: 10%;
    float: left;
  }
}


#overview span {
  float: left;
  width: 100%;
  font-size: 2em;
  margin-top: 10px;
  font-family: 'PT Sans', sans-serif;
}


/* Блок Институты и факультеты */
#ifk {
  background: #f4f4f4;
  border-top: 2px dashed #e4e3e3;
  width: 100%;
  float: left;
  padding-top: 70px;
  padding-bottom: 70px;
  font-family: 'PT Sans', sans-serif;
  
}

@media (min-width: 801px) {
  #ifk div {
    width: 25%;
    margin-left: 6%;
    float: left;
  }
}

@media (max-width: 800px) {
  #ifk div {
    width: 80%;
    margin-left: 10%;
    float: left;
  }
}

/*ul {
list-style: none;}
li{
	  margin-bottom: 30px;
}*/
/*h1, h2, h3, h4, h5 {
  font-family: 'Roboto Slab', serif;
  font-weight: lighter;
}
*/
#ifk h5 {font-size: 3em; color: #4f4f4f;font-family: 'PT Sans', sans-serif;}


#ifk .opi {
  color: #7d7d7d;
  font-size: 1.2em;
  font-weight: bold;
  font-family: 'PT Sans', sans-serif;
  
}

/* Обратная связь*/
#contact_from {
	padding:100px 0 100px 0;
}

#contact_from .contact_wrapper {
	width: 400px;
	margin: 0 auto;
	color: #636363;
}
.red{
	color:red;
}
#contact_from h1{
	font-size: 3.2em; 
	color: #4f4f4f;
	margin-bottom:30px;
	font-family: 'PT Sans', sans-serif;
}
#contact_from p{
	font-size: 1.2em; 
	font-family: 'PT Sans', sans-serif;

}

#contact_from .form_inputs{
	display:flex;
}

input {
width: 360px;
height:40px;
font-size: 20px;
margin-bottom: 30 px;
}
input:first-of-type{
	margin-right: 29px;
}
#contact_from textarea {
	width:100%;
	height:163px;
	
}

#contact_from input, textarea{
	border: 1px solid #999999;
	margin-top: 5px;
}
#contact_from .button_block{
	display: flex;
	justify-content: flex-end;
}

footer{
	width:100%;
	height: auto;
	background: #222222;
	padding: 30px 0 30px 0;
	
	
}
.wrapper {
	display: flex;
	justify-content: center;
}
.footer_sitename {
	text-align: center;
	font-size: 1.1em;
	line-height: 20px;
	margin-bottom: 30px;
	margin-top:5px;
	color: #fff;
}
.footer_address {
		margin-left:0%;
		margin-right:25%;
	color: #fff;
}
.footer_address a {

	color: #fff;
}
.footer_contacts{
	margin-left:20%;
	margin-right:0%;
	color: #fff;
}
.footer_contacts a {
	color: #fff;
}
.social{
	display: flex;
	justify-content: center;
	margin-bottom:10px;
}
.social img{
margin-left: 10px; 
}

.panel {
	text-align: center;
	font-size: 1.1em;
	line-height: 20px;
	margin-bottom: 10px;
	margin-top:30px;
        
}
.panel > a{
	color:#fff;
}
.panel > a:not(:last-child){
margin-right:2%;
}
.inform{
	font-size: 1.1em;
	line-height: 20px;
	margin-bottom: 10px;
	margin-top:30px;
}
hr {
border: none; /* Убираем границу */
    background-color: #fff; /* Цвет линии */
    color: #fff; /* Цвет линии для IE6-7 */
    height: 2px; /* Толщина линии */	
}

