/*
 Theme Name:   Comme des Machines
 Theme URI: http://html5blank.com
 Description:  Comme des Machines Theme 2018
 Author:       CdM
 Template:     html5blank-stable
 Version:      1.0.0
 Tags:         jumptothefuture
 Text Domain:  comme-des-machines
*/

body{
    /*font-family: 'Libre Franklin', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    color: #737276;
}
.wrapper{
    width: 100%;
    max-width: 665px;
    /*margin:  64px auto;*/
    margin: 0px auto 64px auto;
    box-sizing: border-box;
}
.out-wrapper{
    width: 100%;
}
.out-wrapper main{
    max-width: 665px;
    margin: 0 auto;
}
.descripcion-tag{
    text-align: center;
    font-weight: 700;
    color: #444242;
    text-transform: uppercase;
    font-size: 93px;
    /*font-size: 8.6vw;*/
    letter-spacing: 0px;
    margin: 32px 0;
    padding: 0;
    line-height: 0.8em;
}
.descripcion-tag span{
    display: block;
}
h1, h2{
    font-weight: 700;
    font-size: 1.4em;
    letter-spacing: 0px;
    margin: 0 0 32px 0;
    padding: 0;
}
h1 span, h2 span{
    display: block;
}
header:before,
header:after,
main:before,
main:after,
footer:before,
footer:after  {
    content: " "; 
    display: table; 
}

header:after,
main:after,
footer:after {
    clear: both;
}
header .subheader{
	display: flex;
	justify-content: space-between;
}
.cabecera-redessociales{
    margin: 0;
    padding: 0;
}
.cabecera-redessociales ul{
    width: 100%;
    margin: 0;
    padding: 0;
}
.cabecera-redessociales ul li
{
    display: inline-block;
    margin: 0 20px 0 0;
    padding: 0;
}
p{
    margin: 0 0 32px 0;
}
header .sidebar{
    margin: 0;
    padding: 0;
}
header .sidebar .mlp-language-box{
	text-align: right;
}
header .sidebar .mlp-language-box ul{
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}
header .sidebar .mlp-language-box ul li{
	margin: 0 0 0 20px;
}
header .sidebar .mlp-language-box ul li a{
	text-decoration: none;
	text-transform: uppercase;
	text-align: right;
	color: #737276;
	font-size: 20px;
}
/*main*/

main{
    margin: 64px 0;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 18px;
}
main a:link, footer a:link{
    color: #737276;
    text-decoration: none;
}
main a:visited, footer a:visited{
    color: #737276;
    text-decoration: none;
}
main a:hover, footer a:hover{
    color: #737276;
    text-decoration: underline;

}
main a:active, footer a:active{
    color: #737276;
    text-decoration: none;
}
main a:active, footer a:active{
    color: #737276;
    text-decoration: none;
}
main img{
    width: 100%;
    height: auto;
}

/* para posicionar categorias*/
/*article[class*="category-"]*/
.categoria-container{
	display: flex;
	justify-content: flex-start;
}
.categoria-container .categoria-imagen{
	max-width: 500px;
	margin: 0 32px 32px 0;
}

/*footer*/

footer .footer-container{
	display: flex;
	justify-content: space-between;
}
footer .copyright{
	text-align: center;
	margin: 0 10px 0 0;
	float: right;
	text-transform: uppercase;
}
footer .logo{

   
}
footer .texto{

	display: flex;
	text-align: right;
	justify-content: flex-end;
}
footer .logo img{
    max-width: 280px;
}
footer .enlaces-pie{
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.1em;
}
footer .sidebar{
	float: right;
}
footer .sidebar #menu-pie{
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
}
footer .sidebar #menu-pie li{
	margin: 0;
	padding: 0;
	display: inline-block;
}
footer .sidebar #menu-pie li a{
	text-transform: uppercase;
}
/*inicio*/
.inicio-foto{
    position: relative;
}
.inicio-foto p:first-child{
    position: relative;
    top: 0;
    z-index: 10;
}

.inicio-foto div.inicio-texto{
    position: absolute;
    top: 0;
    /*top: 135px;
    left: 256px;
    margin: 0 auto;*/
    z-index: 20;
    font-weight: 700;
    font-size: 2.2em;
    width: 100%;
    height: 100%;
    line-height: 49px;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); 
    display: flex;
    justify-content: center;
    align-items: center;
}
.inicio-foto div.inicio-texto span{
    display: block;

}
.inicio-foto div.inicio-texto ul{
    padding: 0;
    margin: 0;
    list-style: none;
    color: #FFF;
    max-width: 768px;

}
.inicio-foto div.inicio-texto ul li{
    border-bottom: 2px solid #FFF;
    padding: 32px 0 32px 0;
}
.inicio-foto div.inicio-texto ul li:first-child{
    border-bottom: 2px solid #FFF;
    padding: 0 0 32px 0;
}
.inicio-foto div.inicio-texto a:link, .inicio-foto div.inicio-texto a:visited, .inicio-foto div.inicio-texto a:hover, .inicio-foto div.inicio-texto a:active{
    color: #fff;
}
/* contacto */
.contacto{

}
/* productos y servicios, industrias y detalle */
ul.galeria{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row ;
    justify-content: space-between;
    /*column-gap: 64px;
    column-count: 2;*/
}
ul.galeria li{
    margin: 0 0 32px 0;
    flex-basis: 46.8%;
    max-width: 478px;

}
ul.galeria li{
    max-width: 496px;
    width: 48.4%;

}
ul.galeria li:nth-child(odd){
    margin: 0 6.4% 32px 0;
}
ul.galeria li:nth-child(odd){
    margin: 0 3.2% 32px 0;
}
ul.galeria li img{
    margin: 0 0 32px 0;
}
ul.galeria h3{
    padding: 0;
    margin: 0;
    font-weight: 700;
    font-size: 1.4em;
    text-transform: uppercase;
}
ul.galeria li p{
    padding: 0;
    margin: 0;
}
ul.galeria strong{
    padding: 0;
    margin: 0;
    font-weight: 700;
    font-size: 1.4em;
    text-transform: uppercase;
}

/* gif animado*/

.aviso, main{
    color: #5e5e5e ;
}
main.gif-animado{
    /*margin: 64px auto;*/
    margin: 0px auto 0px auto;
}
div.aviso p{
    /*font-size: 26px;*/
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}
div.aviso q{
    font-style: italic;
}
main.gif-animado img{
    margin: 0px 0 64px 0;
}
main.gif-animado p{
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0px;
}

main.gif-animado p:last-child{
    /*margin: 16px 0 0 0;*/
    margin: 0px 0 0 0;
}

h1.descripcion-tag {
    color: #424242 ;
    line-height: 0.75em;
    margin: 32px 0 16px 0;
}
.logo{
    margin: 0;
}
@media only screen and (max-width: 480px) {
main.gif-animado p{
    font-size: 14px;
}
footer .logo img {
    max-width: 200px;
}
div.aviso p{
    font-size: 17px;
    font-weight: 400;
    margin: 0;
}
main.gif-animado{
    margin: 32px 0 32px 0;
}
main.gif-animado img{
    margin: 0px 0 32px 0;
}
.cabecera-redessociales img{
    max-height: 16px;
}
h1.descripcion-tag {
    color: #424242 ;
    line-height: 0.75em;
    margin: 16px 0 16px 0;
}
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.page main h1,.archive main h1 {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

@media only screen and (max-width: 992px) {
    footer{
    	padding: 0 10px;
	}
	header .cabecera-redessociales{
		padding: 0 0 0 0px;
	}
	header .sidebar{
		padding: 0 10px 0 0 ;
		width: 45%;
	}
}
@media only screen and (max-width: 1024px) {
.aviso-mantenimiento{
    /*font-size: calc(15px + 1.4vw);*/
}
main, footer{
    padding: 0px;
}
.cabecera-redessociales ul li:first-child{
    padding: 0 0 10px 10px;
}
.wrapper {
    /*margin: 32px auto;*/
    margin: 0px auto 32px auto;
    padding: 0px;
}
}
@media only screen and (max-width: 665px) {
.wrapper {
    /*margin: 32px auto;*/
    margin: 0px auto 32px auto;
    padding: 0 16px;
}
}
@media only screen and (max-width: 910px) {
    /* Style adjustments for viewports that meet the condition */
    .inicio-foto div{
    font-size: 1.8em;
    line-height: 36px;

    }
}
@media only screen and (max-width: 768px) {
    /* Style adjustments for viewports that meet the condition */
    .inicio-foto  div.inicio-texto{
    font-size: 1.6em;
    line-height: 33px;

    }
    .inicio-foto div.inicio-texto ul li {
    border-bottom: 2px solid #FFF;
    padding: 16px 0 16px 0;
    }
    .inicio-foto div.inicio-texto ul li:first-child {
    padding: 0px 0 16px 0;
    }
	footer .logo{
		/*text-align: center;*/
		float: left;
		width: 100%; 
	}
	footer .texto{
		float: right;
		width: 100%;
		display: block;
	}
	footer .copyright{
		text-align: center;
		margin: 0;
		float: right;
		width: 100%;
		text-transform: uppercase;
	}
	footer .sidebar{
		float: right;
		width: 100%;
		text-align: center;
	}
	footer .sidebar #menu-pie {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}
}
@media only screen and (max-width: 600px) {
    /* Style adjustments for viewports that meet the condition */
    .inicio-foto div.inicio-texto div{
    font-size: 1.4em;
    line-height: 28px;

    }
    .inicio-foto div.inicio-texto ul li {
    padding: 12px 0 12px 0;
    border-bottom: 1px solid #FFF;
    }
    .inicio-foto div.inicio-texto ul li:first-child {
    padding: 0px 0 12px 0;
    border-bottom: 1px solid #FFF;
    }
    footer div {
    display: inline;
    justify-content: space-between;
    flex-wrap: nowrap;
    }
}
@media only screen and (max-width: 500px) {
    /* Style adjustments for viewports that meet the condition */
    .inicio-foto  div.inicio-texto{
    font-size: 1.2em;
    line-height: 26px;

    }
    .inicio-foto div.inicio-texto ul li {
    padding: 8px 0 8px 0;
    border-bottom: 1px solid #FFF;
    }
    .inicio-foto div.inicio-texto ul li:first-child {
    padding: 0px 0 8px 0;
    border-bottom: 1px solid #FFF;
    }
}
@media only screen and (max-width: 500px) {
    ul.galeria li{
        margin: 0 0 16px 0;
        flex-basis: 100%;
        max-width: 500px;

    }
    ul.galeria li:nth-child(odd){
        margin: 0 0% 16px 0;
    }
    ul.galeria li img{
        margin: 0 0 16px 0;
    }
}
@media only screen and (max-width: 420px) {
    /* Style adjustments for viewports that meet the condition */
    .inicio-foto  div.inicio-texto{
    font-size: 1em;
    line-height: 24px;

    }
    .inicio-foto div.inicio-texto ul li {
    padding: 8px 0 8px 0;
    border-bottom: 0px solid #FFF;
    }
    .inicio-foto div.inicio-texto ul li:first-child {
    padding: 8px 0 8px 0;
    border-bottom: 0px solid #FFF;
    }
       /* nav ul li a
{
    text-decoration: none;
    color: #737276;
    font-size: 10px;
    font-weight: 300;
    display: block;
}*/
}
