#map,
img {
    width: 100%
}

#logo,
body {
    font-size: 100%
}

.row{
    float: left;
    width: 100%;
}

.header,
.main {
    width: 80%;
    margin-right: 10%;
    margin-left: 10%
}

.appartments,
#logo {
    width: 30%;
    height: auto
}

.appartments span,
#logo,
#menu {
    text-align: center;
    float: left
}

.appartments,
.header,
#logo,
.main,
#menu {
    float: left
}

.appartments img,
.appartments span {
    border-right: 1px solid #000;
    border-left: 1px solid #000
}

#dropdown_menu a,
.footer a,
.valenciabox {
    text-decoration: none
}

@font-face {
    font-family: Ubuntu;
    src: url(font/Ubuntu-L.ttf)
}

#mobile {
    display: none
}

.header img,
.leftimg img,
.upperimages,
img {
    display: block
}

#map {
    height: 500px;
    background-color: grey
}

body {
    margin: 0;
    background-image: url(images/background.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-family: Ubuntu
}

.header {
    border-top: 3px solid #fcde1e;
    border-bottom: 2px solid #fcde1e;
    border-left: 2px solid #fcde1e;
    border-right: 2px solid #fcde1e;
    margin-top: 0;
    height: auto;
    background-color: #fff
}

#logo {
    font-style: bold;
    color: #e3001b;
    margin: 0 35%
}

#menu {
    padding: 0;
    margin-right: 5%;
    margin-left: 5%;
    width: 90%
}

.main {
    margin-top: 2.5%;
    background-color: transparent
}

.appartments {
    margin: 1.66%;
    position: relative
}

.appartments span {
    position: relative;
    top: 0;
    color: #000;
    background: #fff;
    background: rgba(255, 255, 255, .3);
    width: 96%;
    padding-right: 2%;
    padding-left: 2%;
    font-size: 110%;
    border-bottom: 1px solid #000
}

.appartments img {
    border-top: 1px solid #000
}

.footer {
    border-top: 2px solid #fcde1e;
    border-right: 2px solid #fcde1e;
    border-left: 2px solid #fcde1e;
    border-bottom: 3px solid #fcde1e;
    width: 80%;
    margin: 2.5% 10% 0 10%;
    background: #fff;
    bottom: 0;
    position: relative;
    text-align: justify;
    float: left
}

.footer a {
    color: #db3b41;
    font-size: 120%;
    text-decoration: underline
}
#widgets{
    margin-top:12%;
    width: 15%;
    float: left;
}
#tripadvisor,#trivago{
    float: left;
    width: 100%;
}
.valenciabox {
    width: 70%;
    float: left;
    background: rgba(255, 255, 255, .4)
}
.valenciabox > a > img{
    width: 100%;
    float: left;
}

.leftimg img {
    float: left;
    width: 100%;
    height: auto
}

#dropdown_menu {
    word-wrap: break-word;
    font-size: 95%;
    text-align: center
}

#dropdown_menu ul {
    width: 14.285%;
    background: #fff;
    left: 0;
    bottom: 0;
    top: 100%;
    float: left;
    padding: 0;
    margin: 2.5% 0 0
}

#dropdown_menu ul li {
    width: 100%
}

#dropdown_menu li {
    text-align: center;
    float: left;
    position: relative;
    list-style: none;
    margin: 0
}

#dropdown_menu a {
    text-align: center;
    display: block;
    padding: 15px 0;
    color: #000;
    bottom: 0
}

#dropdown_menu ul ul {
    text-align: center;
    position: absolute;
    margin: 0;
    left: 0;
    width: 100%;
    top: 100%;
    visibility: hidden;
    opacity: 0;
    background: 0 0
}

#dropdown_menu ul ul ul {
    left: 100%;
    top: 0;
    background: 0 0
}

#dropdown_menu li:hover,
#dropdown_menu li:hover li {
    background: #fcde1e;
    z-index: 1
}

#dropdown_menu li li:hover,
#dropdown_menu li li:hover li {
    background: #ffe828
}

#dropdown_menu li li li:hover {
    background: #fff232
}

#dropdown_menu li:hover>ul {
    visibility: visible;
    opacity: 1
}

.upperimages {
    line-height: 0;
    -webkit-column-count: 3;
    -webkit-column-gap: 0;
    -moz-column-count: 3;
    -moz-column-gap: 0;
    column-count: 3;
    column-gap: 0;
    float: left;
    width: 98%;
    padding: 1.5% 1% 1%;
    height: auto;
    margin: 0;
    background: #fff;
    background: rgba(255, 255, 255, .3)
}

.upperimages img {
    width: 96%!important;
    height: auto!important;
    padding: 0;
    margin-left: 2%;
    margin-right: 2%;
    border: 1px solid #000
}

.bottomtext {
    float: left;
    width: 90%;
    padding-left: 5%;
    padding-right: 5%;
    font-size: 120%;
    text-align: justify;
    background: rgba(255, 255, 255, .3)
}

.is-hidden {
    display: none;
}

@media only screen and (orientation:landscape) and (max-width:1366px) {
    #mobile {
        display: none
    }
    #menu {
        padding: 0;
        margin-right: 0;
        margin-left: 0;
        width: 100%
    }
    .header,
    .footer {
        width: 89.7%;
        margin-right: 5%;
        margin-left: 5%
    }
    
    .main {
        width: 90%;
        margin-top: 2.5%;
        margin-right: 5%;
        margin-left: 5%
    }
    .leftimg {
        float: left;
        width: 100%;
        height: auto
    }
}

@media only screen and (orientation:landscape) and (max-width:768px) {
    .main,
    .contacts,
    .upperimages,
    body {
        height: auto
    }
    .toggle,
    nav a {
        line-height: 60px;
        text-decoration: none;
        color: #000
    }
    #mobile {
        display: inline
    }
    #desktop,
    #drop,
    #drop-1,
    #drop-2,
    #drop-3,
    #drop-4,
    #drop-5,
    #drop-6,
    #drop-7,
    #drop-8,
    .toggle {
        display: none
    }
    body {
        bottom: 0;
        float: left;
        width: 100%;
        margin: 0;
        background-image: url(images/background_m.png);
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: auto;
        font-family: arial;
        padding: 0
    }
    .appartments {
        width: 96%;
        height: auto;
        float: left;
        position: all;
        margin: 3% 2%
    }
    .appartments span,
    .contacts {
        width: 100%;
        float: left;
        position: relative
    }
    .appartments span {
        text-align: center;
        top: 0;
        color: #000;
        background: rgba(255, 255, 255, .3);
        padding-right: 0;
        padding-left: 0;
        font-size: 120%
    }
    .contacts {
        margin: 0;
        text-align: left
    }
    #logo,
    #menu,
    nav {
        text-align: center
    }
    .contacts span {
        position: relative;
        float: left;
        top: 0;
        color: #000;
        background: #fff;
        background: rgba(255, 255, 255, .3);
        width: 96%;
        padding: 2%;
        font-size: 150%
    }
    .header,
    nav {
        background-color: #fff
    }
    .header,
    #logo,
    .main,
    #menu,
    nav,
    nav a {
        width: 100%
    }
    .contacts table {
        padding-bottom: 2%
    }
    .contacts th {
        padding: 0;
        font-weight: 400
    }
    .upperimages {
        padding-top: 3%;
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1
    }
    .main,
    #menu,
    .toggle,
    nav,
    nav a,
    nav ul {
        padding: 0
    }
    .header {
        border-top: 3px solid #fcde1e;
        border-bottom: 0;
        border-right: 0;
        border-left: 0;
        float: left;
        margin: 0;
        word-wrap: break-word!important
    }
    #logo {
        font-size: 110%;
        font-style: bold;
        float: left;
        color: #e3001b;
        margin: 0
    }
    #menu {
        margin-right: 0;
        margin-left: 0;
        float: left
    }
    .main {
        float: left;
        margin: 5% 0 0
    }
    
    .footer {
        border-top: 0px;
        border-right: 0px;
        border-left: 0px;
        border-bottom: 0px;
        width: 100%;
        margin: 5% 0 0 0;
        background: #fff;
        bottom: 0;
        position: relative;
        text-align: justify;
        float: left
    }
    
    .footer a {
      color: #db3b41;
      font-size: 120%;
      text-decoration: underline
    }
    #widgets{
        margin-top:15%;
        width: 20%;
        float: left;
    }
    #tripadvisor{
        float: left;
        width: 100%;
    }
    #trivago{
        width: 100%;
        float:left;
    }
    .valenciabox {
        width: 60%;
        float: left;
        background: rgba(255, 255, 255, .4)
    }
    .valenciabox > a > img{
        width: 100%;
        float: left;
    }
    nav,
    nav ul,
    nav ul li {
        margin: 0;
        float: left
    }
    nav {
        font-size: 130%;
        position: relative
    }
    nav ul li ul li,
    nav ul ul {
        font-size: 95%
    }
    nav ul {
        list-style: none;
        position: relative
    }
    nav a {
        display: block
    }
    .menu,
    .toggle+a {
        display: none
    }
    #drop-1:checked+ul,
    #drop-2:checked+ul,
    #drop-3:checked+ul,
    #drop-4:checked+ul,
    #drop-5:checked+ul,
    #drop-6:checked+ul,
    #drop-7:checked+ul,
    #drop-8:checked+ul,
    #drop:checked+ul,
    .toggle {
        display: block
    }
    .toggle {
        border: none
    }
    .toggle:hover,
    nav a:hover {
        background-color: #fcde1e
    }
    nav ul li,
    nav ul li .toggle {
        display: inline-block;
        width: 100%
    }
    nav ul li {
        background-color: #000
    }
    nav ul li .toggle {
        background-color: #fff
    }
    nav ul li:hover>ul,
    nav ul ul,
    nav ul ul li:hover>ul {
        display: none
    }
    nav ul li ul li,
    nav ul li ul li .toggle,
    nav ul ul,
    nav ul ul .toggle {
        background-color: #ffe828
    }
    nav ul ul {
        top: 60px;
        float: none;
        position: static;
        color: #000
    }
    nav ul a {
        background-color: #fff
    }
    nav ul a .toggle {
        background-color: #ffe828
    }
    nav ul ul a {
        background-color: #fff
    }
    nav ul ul a .toggle {
        background-color: #fcde1e
    }
    nav ul ul ul a {
        background-color: #fffc3c;
        font-size: 110%
    }
    nav ul li ul .toggle,
    nav ul ul ul a .toggle {
        background-color: #fcde1e
    }
    nav ul li ul a {
        background-color: #fffc3c
    }
    nav ul ul li {
        display: block;
        width: 100%;
        float: none;
        position: relative
    }
    nav ul ul ul li {
        position: static;
        top: 0;
        left: 0
    }
}

@media only screen and (max-width:768px) and (orientation:portrait) {
    .main,
    .contacts,
    .upperimages,
    body {
        height: auto
    }
    .toggle,
    nav a {
        line-height: 60px;
        text-decoration: none;
        color: #000
    }
    #desktop {
        display: none
    }
    #mobile {
        display: inline
    }
    body {
        bottom: 0;
        float: left;
        width: 100%;
        margin: 0;
        background-image: url(images/background_m.png);
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: auto;
        font-family: arial;
        padding: 0
    }
    .appartments {
        width: 96%;
        height: auto;
        float: left;
        position: all;
        margin: 3% 2%
    }
    .appartments span,
    .contacts {
        width: 100%;
        float: left;
        position: relative
    }
    .appartments span {
        text-align: center;
        top: 0;
        color: #000;
        background: rgba(255, 255, 255, .3);
        padding-right: 0;
        padding-left: 0;
        font-size: 120%
    }
    .contacts {
        margin: 0;
        text-align: left
    }
    #logo,
    #menu,
    nav {
        text-align: center
    }
    .contacts span {
        position: relative;
        float: left;
        top: 0;
        color: #000;
        background: #fff;
        background: rgba(255, 255, 255, .3);
        width: 96%;
        padding: 2%;
        font-size: 70%
    }
    .header,
    nav {
        background-color: #fff;
        float: left
    }
    .header,
    #logo,
    .main,
    #menu,
    nav,
    nav a {
        width: 100%
    }
    .contacts table {
        padding-bottom: 2%
    }
    .upperimages {
        padding-top: 3%;
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1
    }
    .main,
    #menu,
    .toggle,
    nav,
    nav a,
    nav ul {
        padding: 0
    }
    .header {
        border-top: 3px solid #fcde1e;
        border-bottom: 0;
        border-right: 0;
        border-left: 0;
        margin: 0;
        word-wrap: break-word!important
    }
    #logo {
        font-size: 110%;
        font-style: bold;
        float: left;
        color: #e3001b;
        margin: 0
    }
    #menu {
        margin-right: 0;
        margin-left: 0;
        float: left
    }
    .main {
        float: left;
        margin: 5% 0 0
    }
    .footer {
        border-top: 0px;
        border-right: 0px;
        border-left: 0px;
        border-bottom: 0px;
        width: 100%;
        margin: 5% 0 0 0;
        background: #fff;
        bottom: 0;
        position: relative;
        text-align: justify;
        float: left
    }
    
    .footer a {
      color: #db3b41;
      font-size: 120%;
      text-decoration: underline
    }
    #widgets{
        width: 20%;
        float: left;
    }
    #tripadvisor{
        float: left;
        width: 100%;
    }
    #trivago{
        width: 100%;
        float:left;
    }
    .valenciabox {
        width: 80%;
        float: left;
        background: rgba(255, 255, 255, .4)
    }
    .valenciabox > a > img{
        width: 100%;
        float: left;
    }
    #drop,
    #drop-1,
    #drop-2,
    #drop-3,
    #drop-4,
    #drop-5,
    #drop-6,
    #drop-7,
    #drop-8,
    .toggle {
        display: none
    }
    nav {
        font-size: 130%;
        margin: 0;
        position: relative
    }
    nav ul li ul li,
    nav ul ul {
        font-size: 95%
    }
    nav ul {
        float: left;
        margin: 0;
        list-style: none;
        position: relative
    }
    nav a {
        display: block
    }
    .menu,
    .toggle+a {
        display: none
    }
    #drop-1:checked+ul,
    #drop-2:checked+ul,
    #drop-3:checked+ul,
    #drop-4:checked+ul,
    #drop-5:checked+ul,
    #drop-6:checked+ul,
    #drop-7:checked+ul,
    #drop-8:checked+ul,
    #drop:checked+ul,
    .toggle {
        display: block
    }
    .toggle {
        border: none
    }
    .toggle:hover,
    nav a:hover {
        background-color: #fcde1e
    }
    nav ul li,
    nav ul li .toggle {
        display: inline-block;
        width: 100%
    }
    nav ul li {
        margin: 0;
        float: left;
        background-color: #000
    }
    nav ul li .toggle {
        background-color: #fff
    }
    nav ul li:hover>ul,
    nav ul ul,
    nav ul ul li:hover>ul {
        display: none
    }
    nav ul li ul li,
    nav ul li ul li .toggle,
    nav ul ul,
    nav ul ul .toggle {
        background-color: #ffe828
    }
    nav ul ul {
        top: 60px;
        float: none;
        position: static;
        color: #000
    }
    nav ul a {
        background-color: #fff
    }
    nav ul a .toggle {
        background-color: #ffe828
    }
    nav ul ul a {
        background-color: #fff
    }
    nav ul ul a .toggle {
        background-color: #fcde1e
    }
    nav ul ul ul a {
        background-color: #fffc3c;
        font-size: 110%
    }
    nav ul li ul .toggle,
    nav ul ul ul a .toggle {
        background-color: #fcde1e
    }
    nav ul li ul a {
        background-color: #fffc3c
    }
    nav ul ul li {
        display: block;
        width: 100%;
        float: none;
        position: relative
    }
    nav ul ul ul li {
        position: static;
        top: 0;
        left: 0
    }
}