@media only screen and (min-width: 1824px) {
    #contactform {
        position: relative;
        z-index: 1;
        /* The z-index should be higher than Google Maps */
        max-width: 400px;
        height: 60%;
        margin-top: 14px;
        margin-bottom: 14px;
        margin-left: 18% !important;
        padding: 10px;
        background-color: #dedede !important;
        opacity: 1;
        /* Set the opacity for a slightly transparent Google Form */
        color: #737373;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        border-radius: 20px;
    }
}

@media only screen and (min-width:1365px) {
    #contactform {
        position: relative;
        z-index: 1;
        /* The z-index should be higher than Google Maps */
        max-width: 400px;
        height: 60%;
        margin-top: 14px;
        margin-bottom: 14px;
        margin-left: 5%;
        padding: 10px;
        background-color: #dedede !important;
        opacity: 1;
        /* Set the opacity for a slightly transparent Google Form */
        color: #737373;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        border-radius: 20px;
    }
}

@media only screen and (min-width:1024px) {
    #contactform {
        position: relative;
        z-index: 1;
        /* The z-index should be higher than Google Maps */
        max-width: 400px;
        height: 60%;
        margin-top: 14px;
        margin-bottom: 14px;
        margin-left: 1%;
        padding: 10px;
        background-color: #dedede !important;
        opacity: 1;
        /* Set the opacity for a slightly transparent Google Form */
        color: #737373;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        border-radius: 20px;
    }
}

@media only screen and (max-width: 768px) {
    #contactform {
        margin-top: 14px;
        margin-bottom: 14px;
        margin-left: 0%;
        max-width: 400px;
        padding: 10px;
        background-color: #dedede !important;
        color: #737373;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        border-radius: 20px;
        height: 60%;
        z-index: 1;
        /* The z-index should be higher than Google Maps */
        position: relative;
    }
    .google-info {
        min-height: 180px;
    }
}


/** MOBILE VERSION **/

@media only screen and (max-width: 767px) {
    #map-canvas {
        display: none;
    }
    #contactform {
        margin-top: 14px;
        margin-bottom: 14px;
        margin-left: 0%;
        max-width: 360px;
        padding: 10px;
        background-color: #dedede !important;
        color: #737373;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        border-radius: 20px;
        height: 60%;
        z-index: 1;
        /* The z-index should be higher than Google Maps */
        position: relative;
    }
    .form-control {
        width: 100% !important;
    }
    .navmenu {
        display: none !important;
    }
}

* {
    box-sizing: border-box !important;
}


/** REGLA GENERAL FOOTER  **/

.footer {
    margin-top: 0px !important;
}


/** **/

.google-info {
    font-size: 14px;
    padding: 5px;
}


/** FORMULARIO **/



.btn.btn-default.mapa {
    -webkit-border-radius: 20px !important;
    -moz-border-radius: 20px !important;
    border-radius: 20px !important;
}


/** ACABA FORMULARIO **/

.container-fluid.mapa {
    position: relative;
    margin-top: -10px;
}

.row.mapa {
    margin-top: 5px;
}

#map-canvas {
    height: 100%;
    width: 100%;
    z-index: -999;
    position: absolute;
}

#overlay {
    background-color: #a9cc63;
    height: 100%;
    width: 100%;
    z-index: 1000;
}

#active {
    transition: background-color 0.5s ease;
    display: block;
    margin-bottom: -5px;
    height: 5px;
    width: 25.08%;
    z-index: 999;
}

.navmenu {
    display: table;
    height: 35%;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.navmenu li {
    font-family: 'Ubuntu', Helvetica, Arial !important;
    padding: 5px;
    color: #737373;
    cursor: pointer;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    -webkit-transition: all 1s linear;
    transition: all 1s linear;
}

.navmenu li:first-child {
    border-left: none;
}


/** MENU DE UBICACIONES **/

#Madrid {
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
}

#Madrid:hover {
    transition: background-color 0.5s ease;
    background-color: rgba(70, 188, 236, 1);
    color: #ffffff;
}

#London {
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
}

#London:hover {
    transition: background-color 0.5s ease;
    background-color: rgba(30, 157, 193, .7);
    color: #ffffff;
}

#Barcelona {
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
}

#Barcelona:hover {
    transition: background-color 0.5s ease;
    background-color: rgba(80, 174, 160, .7);
    color: #ffffff;
}

#Benelux {
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
}

#Benelux:hover {
    transition: background-color 0.5s ease;
    background-color: rgba(118, 186, 134, .7);
    color: #ffffff;
}

#Mexico {
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
}

#Mexico:hover {
    transition: background-color 0.5s ease;
    background-color: rgba(171, 205, 98, .7);
    color: #ffffff;
}