/*

    Template Author : pixelhint.com
    Author Email    : contact@pixelhint.com
    Template Name   : Magnetic
    
    
    *****************************************
    
    
    - Fonts
    - General CSS
    - Header
    - Home/portfolio 
    - Inner page 
    - Map/Contact page  
    - Tooltip 
    - Responsive code
  
    
*/



/*  Fonts  */


@font-face {
    font-family: 'raleway-regular';
    src: url('https://fonts.googleapis.com/css2?family=Inter:wght@700&family=Karla:wght@300&family=Khula:wght@600&family=Nunito:wght@200&family=Overpass&display=swap');
    src: url('../fonts/raleway-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-regular.woff') format('woff'),
         url('../fonts/raleway-regular.ttf') format('truetype'),
         url('../fonts/raleway-regular.svg#ralewayregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'raleway-bold';
    src: url('../fonts/raleway-bold.eot');
    src: url('../fonts/raleway-bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-bold.woff') format('woff'),
         url('../fonts/raleway-bold.ttf') format('truetype'),
         url('../fonts/raleway-bold.svg#ralewaybold') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'raleway-semibold';
    src: url('../fonts/raleway-semibold.eot');
    src: url('../fonts/raleway-semibold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-semibold.woff') format('woff'),
         url('../fonts/raleway-semibold.ttf') format('truetype'),
         url('../fonts/raleway-semibold.svg#ralewaysemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}



/*  General CSS*/
body{
    background: #000;
}

.wrapper{
    width: 92.72727272727273%;
    margin: 0 auto;
}

.main .work a .caption,
header nav ul li a{
    transition:all .1s linear;
    -webkit-transition:all .1s linear;
    -moz-transition:all .1s linear;
    -o-transition:all .1s linear;
}

h1{
    color: #B0B0B0;
	font-family: "raleway-regular", arial;
    letter-spacing: 0px;
}

h2, h3, h4, h5 ,h6{
    color: #4b4848;
    font-family: "raleway-regular", arial;
    letter-spacing: 1px;
}

h1              { font-size: 2em; margin: .67em 0 }
h2              { font-size: 1.5em; margin: .75em 0 }
h3              { font-size: 1.17em; margin: .83em 0 }
h5              { font-size: .83em; margin: 1.5em 0 }
h6              { font-size: .75em; margin: 1.67em 0 }
h1, h2, h3, h4,
h5, h6          { font-weight: bolder }

.clearfix:before,  
.clearfix:after {  
    content: " ";  
    display: table;  
}  
.clearfix:after {  
    clear: both;  
}  
 
.clearfix {  
    *zoom: 1;  
}







/*  Header  */
@media (min-width:1099px){
    header{
        top: 0;
        left: 0;
		width: 100%;
		padding: 0 0 0 50px;
		position: fixed;
		background: #000; 
        float: left;
        overflow: hidden;
        z-index: 20000;
    }

    header nav ul{
        display: block;
		position: fixed;
		top: 100px;
		left: 0px;
		padding: 0 50px 0 50px;
        list-style: none;
		background-color: #000;
		z-index: 9999;
    }

    header nav ul li{
        display: block;
        margin-bottom: 15px;
    }

    header nav ul li a{
        color: #4b4848;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        letter-spacing: 1px;
    }

    header nav ul li a:hover,
    header nav ul li a.selected{
        color: #969595;
    }
	
    #menu_icon,
    .close_menu{
        display: none;
    }

}

#menu_icon,
.close_menu{
    float: right;
    margin-right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url('../img/men_icons.png') no-repeat;
}

#menu_icon{    
    background-position: 0 0;
}
.close_menu{
    background-position: -41px 0!important;
}

#titulo{
    float: left;
    padding: 15px 0 0 0;
    width: 400px;
    height: 90px;
	overflow: hidden;
	}


/*  Main  */
.main{
    width: 100%;
    height: 100%;
    padding: 100px 50px 50px 250px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #000;
    clear: both;
}

.content{
    color: #666;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 22px;
    padding: 30px 30px 30px 30px;
    background: #000;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.content p{
    color: #666;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 60px;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
    color: #666;
    font-family: "raleway-semibold", arial;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 30px;

}

.portada {
    display: block;
	width: 100%;
    height: auto;
	padding: 0 0 30px 0;
    position: relative;
	overflow:hidden;
   
}


.foto {
	padding: 0 30px 0 0;
    width: 300px;
    height: 300px; 
	float: left;
    
}

    iframe {
	width: 420px;
	height: 315px;
	
}



/*  Home/portfolio  */
.main .work{
    display: block;
    width: 50%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
}

.main .work .media{
    width: 100%;
    vertical-align: middle;
}

.main .work .caption{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    background: #ffffff;
    opacity: 0;
}


.main .work a:hover .caption{
    opacity: 1;
}


.work .caption .work_title{
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    margin-top: -40px;
}

.main .work .caption h1{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 20px 0;
    z-index: 77;
    color: #454545;
    font-family: "raleway-regular", arial;
    font-size: 16px;
    letter-spacing: .5px;
    border-bottom: 1px solid #bfbbbb;
    border-top: 1px solid #bfbbbb;
}



/*  Responsive code  */
@media (max-width:1099px){

    header{
		display: block;
        width: 100%;
        min-height: 80px;
        padding: 0;
        position: fixed;
		z-index: 20000;
		background-color: #000;
    }
	
    header #menu_icon,
    header .close_menu{
        position: relative;
		margin: 30px 30px 30px 30px;
    }
    
    header nav{
        width: 100%;
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 9999;
    }

    header nav ul{
        list-style: none;
        display: none;
        
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 20px 30px;
        text-align: left;
        color: #DADADA;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        border-top: 1px solid #666;
        background: #000;
    }
    header nav ul li a:active{
        background: #f7f5f5;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }
	
	#titulo{
    float: left;
    padding: 25px 0 25px 30px;
    width: 300px;
    height: 60px;
	overflow: hidden;
	font-size:80%;
	}



    .main{
    width: 100%;
    height: 100%;
    padding: 85px 0px 0px 0px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #000;
    clear: both;
}


.content{
 
    padding: 30px 30px 30px 30px;
    background: #000;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

}

@media (max-width:550px){
	
	header{
		display: block;
        width: 100%;
        min-height: 100px;
        padding: 0;
        position: fixed;
		z-index: 20000;
		background-color: #000;
    }
	
	header nav{
        width: 100%;
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 9999;
	}
  
	
	#titulo{
    float: left;
    padding: 13px 0 30px 30px;
    width: 130px;
    height: 50px;
	overflow: hidden;
	font-size: 70%;
	}
	
     .main .work{
        width: 100%;
    }
	
.foto {
    display: block;
	padding: 0 0 30px 0;
    width: 100%;
    height: auto; 
	float: left;
    
}

 iframe {
	width: 250px;
	height: 188px;
	
}
	
}