/*
 *  MAX-WIDTH 1120px
 */
@media screen and (max-width: 1120px) {

  .container {
      width: 300px;
  }
  #header .container {
    width: 300px;
  }
  #content .container {
    width: 300px;
  }
  #header {
    padding: 50px 0 0;
  }
  #header .left {
    float: none;
  }
  #header a.img img {
    height: 70px;
  }
  #header h1 {
    font-size: 2.8em;
    line-height: 70px;
  }
  #header .right {
    display: none;
  }
  #bg {
    margin-top: 0;
  }
  #bg .container {
    width: auto;
    height: 190px;
  }
  #bg .container p.title {
    font-size: 2.8em;
    position: relative;
    top: 50px;
    width: 280px;
    margin: 0 auto;
  }
  #mobilemenu {
    display: block;
    position: fixed;
    right: -180px;
    top: 10px;
    z-index: 9999;
    width: 290px;
  }
	#mobilemenu .hamburger {
    float: left;
    width: 100px;
    height: 38px;
    background: #fff;
    border: 1px solid #263747;
    color: #263747;
    font-size: 1.8em;
    cursor: pointer;
    border-radius: 5px;
  }
  #mobilemenu .hamburger span {
    float: left;
    line-height: 38px;
    margin-left: 10px;
    font-weight: bold;
  }
	#mobilemenu .hamburger i {
    float: right;
    display: none;
    margin-right: 10px;
    line-height: 38px;
    text-align: center;
    font-style: normal;
    font-weight: bold;
  }
  #mobilemenu .hamburger.opened .close {
    display: block;
  }
  #mobilemenu .hamburger.closed .open {
    display: block;
  }
  #mobilemenu .wrapper {
    position: absolute;
    left: 115px;
    width: 180px;
    background: #263747;
    border-radius: 5px;
  }
  #mobilemenu ul {
    list-style: none;
    border: 1px solid #263747;
    border-radius: 5px;
  }
  #mobilemenu ul li {
    font-size: 1.5em;
  }
  #mobilemenu ul li a {
    display: block;
    font-weight: bold;
    height: 100%;
    color: #fff;
    padding: 10px 15px;
    border-bottom: 1px solid #384e62;
    text-decoration: none;
  }
  #mobilemenu ul li span {
    display: none;
  }
  #mobilemenu ul li:first-child a {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  #mobilemenu ul li:last-child a {
    border-bottom: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  #mobilemenu ul ul li:last-child a {	
    border-bottom: 1px solid #263747;
  }
  #mobilemenu ul li.active a {
    background: #fff;
    color: #263747;
  }
  #mobilemenu ul li.active ul li a {
    background: none;
    color: #fff;
  }
  #mobilemenu ul ul {
    border: 0;
  }
  #mobilemenu ul ul li {
    font-size: 1em;
  }
  #mobilemenu ul ul li a {
    padding: 10px 15px;
    border-radius: 0 !important;
  }
  #mobilemenu ul ul li.active a {
    background: #fff !important;
    color: #263747 !important;
  }

  #mainOffer {
    padding: 50px 0 0;
  }
  #mainOffer .box {
    float: none;
    width: auto;
  }
  #mainOffer .box.vzdelavanie {
    margin-left: 0;
    margin-right: 0;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  #mainOffer .box .wrapper img {
    height: auto;
  }

  #footer .wrapper {
    flex-direction: column;
  }
  #footer .wrapper .box.menu {
    margin-bottom: 30px;
  }
  #footer .box.majko {
    display: none;
  }

  #content .item-page .page-header img {
    display: none;
  }
  #content .item-page .page-header h2 {
    line-height: normal;
  }
  #content .myArticle .obsah .item-image {
    width: auto;
    margin-right: 0;
    float: none;
    margin-bottom: 15px;
  }
  #content .myArticle h2 a {
    font-size: 1.7em;
  }
  #content .myArticle .detail dl {
    float: none;
    margin-bottom: 15px;
    text-align: center;
  }
  #content .myArticle .detail p.readmore {
    float: none;
  }
  #content .myArticle .detail p.readmore a {
    display: block;
    text-align: center;
  }


}