  /*@media only screen and ( min-width: 640px ) /* 640 */
  /*{*/
  #nav
		{
			/*width: 60em; /* 1000 */
      /*width: 80%;*/
			/*font-family: 'Open Sans', sans-serif;*/
			font-weight: 700;
			/*position: absolute;*/
			/*top: 25%;
			left: 50%;*/
			/*margin-left: -30em; /* 30 480 */
      /*margin-top: 13px;*/
      position: relative;
      text-align: right;
		}

    #nav > #logo {
      position: absolute;
      left: calc(0% - 88.5px);
      width: 177px;
      /*height: 60px;*/
    }

			#nav > a
			{
				display: none;
			}

			#nav li
			{
				position: relative;
			}
				#nav li a
				{
					color: #292b2d;
          /*font-weight: bold;*/
					display: block;
				}
				#nav li a:active
				{
					/*background-color: #c00 !important;*/
				}

			#nav span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: #777777;
				content: '';
				vertical-align: middle;
				display: inline-block;
				position: relative;
				right: -0.313em; /* 5 */
			}

			/* first level */

			#nav > ul
			{
				height: 3.0em; /* 60 */

				/*background-color: #e15a1f;*/
        background-color: transparent;
        float: left;
        margin: 0;
        padding: 0;
        z-index: 100;
        /*width: calc(100% - 75px);
        width: calc(100% - 151px);*/
        width: 100%;
			}
				#nav > ul > li
				{
					/*width: 25%;*/
          margin: 13px 10px;
					height: 100%;
					/*float: left;*/
          list-style: none;
          display: inline-block;
				}

        #nav > ul > li:nth-child(1),
        #nav > ul > li:nth-child(2),
        #nav > ul > li:nth-child(3),
        #nav > ul > li:nth-child(4) {
        }

        @media (min-width: 950px) {
          #nav > ul > li{
            margin: 13px 20px;
          }
        }

        @media (min-width: 1250px) {
          #nav > ul > li{
            margin: 13px 30px;
          }
        }

					#nav > ul > li > a
					{
						height: 100%;
						font-size: 15px; /* 24 */
						line-height: 3.0em; /* 60 (24) */
						text-align: center;
					}
						#nav > ul > li:not( :last-child ) > a
						{
							/*border-right: 1px solid #cc470d;*/
						}
						#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
              border-bottom: 2px solid #777777;
              text-decoration: none;
						}

            #nav > ul > li:hover:nth-child(1) > a {
              border-bottom: none;
            }


				/* second level */

				#nav li ul
				{
					background-color: #fff;
          /*background-color: transparent;*/
					display: none;
					position: absolute;
					top: 100%;
          margin: 0px;
          padding: 0px;
          z-index: 11000;
          width: 200px;
          text-align: center;
				}

        #nav li ul li {
          list-style: none;
        }

					#nav li:hover ul
					{
						display: block;
						left: 0;
						right: 0;
					}
						#nav li:not( :first-child ):hover ul
						{
							left: -1px;
						}
						#nav li ul a
						{
							font-size: 1.10em; /* 20 */
							/*border-top: 1px solid #e15a1f;*/
							padding: 0.75em; /* 15 (20) */
						}
							#nav li ul li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
								background-color: #777777;
                color: #ffffff;
                text-decoration: none;
							}



		@media only screen and ( max-width: 62.5em ) /* 1000 */
		{
			#nav
			{
				width: 100%;
				position: static;
				/*margin: 0;*/

			}
		}
  /*} /*  konec velkeho menu  -- */

		@media only screen and ( max-width: 45em ) /* 720 */
    /*@media only screen and ( max-width: 639px ) /* 640 */
		{
			#nav
			{
				position: relative;
				top: auto;
				left: auto;
			}

      #nav span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: #fff;
				content: '';
				vertical-align: middle;
				display: inline-block;
				position: relative;
				right: -0.313em; /* 5 */
			}

				#nav > a
				{
					width: 4.5em;
					height: 4.5em;
					text-align: left;
					text-indent: -9999px;
					background-color: #fff;
					position: relative;
          margin-left: calc(100% - 5em);
          margin-top: 0.6em;

				}
					#nav > a:before,
					#nav > a:after
					{
						position: absolute;
						border: 2px solid #777777;
						top: 35%;
						left: 25%;
						right: 25%;
						content: '';
					}
					#nav > a:after
					{
						top: 60%;
					}

				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
				}

        #nav > a:hover {
          background-color: #292b2d;
        }

			/* first level */

			#nav > ul
			{
				height: auto;
				display: none;
				position: absolute;
				left: 0;
				right: 0;
        background-color: #292b2d;
        color: #fff;
        width: 100%;
			}
				#nav:target > ul
				{
					display: block;
          z-index: 11000;
          border-bottom: 1px solid #fff;
				}
				#nav > ul > li
				{
					width: 100%;
					float: none;
          margin: 0;
				}
					#nav > ul > li > a
					{
						height: auto;
						text-align: left;
						padding: 0 1.3em; /* 20 (24) */
            color: #fff;
					}

          #nav > ul > li > a:hover
           {
             background-color: #777777;
             color: #fff;
             text-decoration: none;
           }

						#nav > ul > li:not( :last-child ) > a
						{
							border-right: none;
							border-bottom: 1px solid #424446;
						}


				/* second level */

				#nav li ul
				{
					position: static;
					padding:0 0 0 3em; /* 20 */
					padding-top: 0;
          width: 100%;
          text-align: left;
          background: #292b2d;

				}

        #nav li ul a {
          color: #fff;
          font-weight: normal;
        }
		}