/* сброс стилей */

input,
button {
  font: inherit;
  border-radius: none;
  box-shadow: none;
  appearance: none;
}

button {
  cursor: pointer;
}

.sm {
  font-size:40px;
  font-weight:bold;
  font-family:comic sans ms,comic-sans-w01-regular,comic-sans-w02-regular,comic-sans-w10-regular,Ubuntu Neue,Ubuntu;
}

.sm_1 {
  color:#4285F4;
}

.sm_2 {
  color:#EA4335;
}

.sm_3 {
  color:#34A853;
}

.sm_4 {
  color:#FBBC05;
}

/* контейнер навигации */

.nav {
  display: inline-block;
  margin: 5px 0;
  width: 100%;
}

.logo {
  left: 50px;
  width: 250px;
  height: 70px;
  font-size: 25px;
  position: absolute;
  display: inline-block;
  background: url(../images/bg.png) repeat;
  padding-left: 40px;
  padding-top: 20px;
  color: #363636;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.logo a:hover {
  text-decoration: none;
}

.spec {
  font-size: 30px;
  color: #555;
}

.menu {
  display: inline-block;
}

/* пункты меню */

.nav_items {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.nav_item {
  margin-right: 4px;
  margin-left: 28px;
  display: inline-block;
}

.nav_item a:hover {
  text-decoration: none;
  color:#AB0535;
}

.thk {
  margin-top: 37px;
  margin-right: 10px;
}

.city {
  top: -5px;
  width: 168px;
  display: block;
  position: relative;
  text-align: right;
  font-size: 10px;
}


@media screen and (max-width: 812px) {

.logo {
  left: 10px;
  width: 200px;
  height: 60px;
  font-size: 20px;
  padding-top: 15px;
  padding-left: 35px;
}

.city {
  width: 134px;
}

}

@media screen and (max-width: 400px) {

.logo {
  left: 0px;
  width: 150px;
  height: 50px;
  font-size: 20px;
  padding-top: 10px;
  padding-left: 10px;
  border-bottom-left-radius: 0px;
}

.city {
  text-align: left;
}

}

@media screen and (min-width: 714px) {

.nav_item {
  margin-left: 8px;
}

}

@media screen and (max-width: 713px) {

.nav_item {
    margin-left: 0px;
    margin-right: 7px;
}

.menu {
  display: block;
}

}

@media screen and (max-width: 357px) {

.nav_items {
    display: block;
    text-align: left;
    white-space: nowrap;
}

}

@media screen and (max-width: 550px) {

.thk {
  margin-top: 37px;
  margin-right: 10px;
  position: fixed!important;
  top: 0;
  left: 280px;
  z-index: 10;
}

.pull-right {
    float: none;
}    
    
}


/*
@media screen and (max-width: 350px) {

.city {
  position: absolute;
  margin-top: 0px;
  float: none;
  left: 17px;
}

}
*/


/*
@media screen and (max-width: 320px) {

.logo {
  margin-top: 10px;
}

}
*/
