@media all and (max-width: 1080px){
	#header-logo-wrapper {
	    height: 350px;
	}
	#header-logo-content {
	    background-size: contain;
	    height: 350px;
	}
	#header-logo-content-index {
	    background-size: contain;
	    height: 350px;
	}
	#content-boxed {
	    width: 615px;
	}
	#right {
	    padding: 10px 0;
	}
	#seccion{
		height: 480px;
		font-size: 1.2em;
	}
	.primero{
		height: 485px !important;
	}
	.segundo #left {
	    padding: 110px 0;
	}
	.tercero{
		height: 680px !important;
	}
	.tercero #right {
	    padding: 95px 0;
	}
	.cuarto{
		height: 960px !important;
	    font-size: 1.1em !important;
	}
	.cuarto #left {
	    padding: 115px 0;
	}
}

@media all and (max-width: 850px){
	nav li {
	    font-size: 1em;
	}
	nav li a {
	    padding: 11px 0;
	}
	#header-logo-wrapper {
	    height: 320px;
	}
	#header-logo-content {
	    background: url(../images/logo-header-smd-2016-tablet.png);
	    height: 320px;
	    background-size: contain;
	    left: 0;
	    background-position: center;
	    background-repeat: no-repeat;
	}
	#header-logo-content-index {
	    height: 320px;
	    background-size: contain;
	    left: 0;
	    background-position: center;
	    background-repeat: no-repeat;
	}
	#content-boxed {
	    width: 90%;
	}
	#left, #right{
		padding: 5px 0 !important;
	}
	#seccion{
		background-size: contain;
	    background-repeat: no-repeat;
	    background-position: bottom;
	}
	#titulo-seccion {
		display: block;
	    width: 100%;
	}
	#titulo-seccion img {
	    width: 100%;
	    margin-top: 20px;
	}
	.primero{
	    background-image: url('../images/television-smd-2016-tablet.png');
	    height: 555px !important;
	}
	.segundo{
	    background-image: url('../images/maquina-smd-2016-tablet.png');
	}
	.fixwidth .featherlight-content {
	    width: 80% !important;
	}
	.tercero{
	    background-image: url('../images/micro-smd-2016-tablet.png');
	    height: 790px !important;
	}
	.cuarto{
	    background-image: url('../images/telefono-smd-2016-tablet.png');
	    height: 980px !important;
	}
}

@media all and (max-width: 650px){
	nav li {
	    font-size: 0.8em;
	    margin: 0 5px;
	}
	#header-logo-wrapper {
	    height: 240px;
	}
	#header-logo-content {
	    height: 240px;
	}
	#header-logo-content-index {
	    height: 240px;
	}
	.primero{
	    height: 585px !important;
	}
	.segundo{
		height: 400px !important;
	}
	.cuarto{
	    background-image: url('../images/telefono-smd-2016-tablet.png');
	    height: 990px !important;
	}
	#footer-separator{
		display: none;
	}
	#footer-bar {
	    flex-direction: column;
	}
	#copyright {
	    order: 3;
	}
	#aviso-legal {
	    font-size: 0.8em;
	}
	#rrss {
	    font-size: 1.3em;
	}
}

/*MENU RESPONSIVE*/

/* Clearfix */
.clear:before, .clear:after {
    content: " ";
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

a#pull {
    display: none;
}

@media all and (max-width: 510px){
	body{
		font-size: 15px;
	}
	#header-logo-wrapper {
	    height: 220px;
	}
	#header-logo-content {
	    height: 220px;
	}
	#header-logo-content-index {
	    height: 220px;
	}
	.primero{
	    height: 700px !important;
	}
	.segundo {
	    height: 390px !important;
	}
	#guia-wrapper {
	    flex-direction: column-reverse;
	}
	.tercero{
	    height: 850px !important;
	}
	.cuarto {
	    height: 1130px !important;
	}
	#footer-info {
	    height: 300px;
	}
	#footer-info p {
	    font-size: 12px;
	}
	#patologias {
	    width: 250px;
	}
	/*MENU MOVIL*/
	#header-bar{
		padding: 0;
	}
	#menu{
		background: rgb(4, 74, 110);
	}
	.menu-web{
		display: none;
	}
    nav {
        border-bottom: 0;
        height: auto;
        color: #000;
    }

    nav ul {
        display: none;
        height: auto;
        width: 100%;
        padding: 0;
    }

    nav li {
        width: 48%;
        float: left;
        position: relative;
        margin: 15px 1% !important;
        text-align: center;
    }

    nav a {
        text-align: left;
        width: 100%;
        text-indent: 25px;
        padding: 10px;
        color: #fff;
        font-size: 17px;
    	text-decoration: none;
    }

    nav a:hover{
    	color: #e7e397;
	    text-shadow: 1px 1px 10px #E7E397;
	    text-decoration: none;
    }

    nav a#pull {
        display: block;
        /*background-color: #666;*/
        width: 100%;
        position: relative;
        padding: 20px 0;
        font-size: 25px;
        text-decoration: none;
        text-transform: uppercase;
    }

    nav a#pull:after {
        content:"";
        background: url('../images/nav-icon.png') no-repeat;
        width: 20px;
        height: 20px;
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 25px;
    }
}