/*

    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  */



/*  General CSS*/
body{
	background: #2f363e;
	font-family: 'Audiowide', cursive;
}

.wrapper{
	width: 92.7273%;
	margin: 0 auto;
	
	
}

header ul.social li a,
.main .work a .caption,
header nav ul li a{
    transition:all .2s linear;
    -webkit-transition:all .2s linear;
    -moz-transition:all .2s linear;
    -o-transition:all .2s linear;
}

h1, h2, h3, h4, h5 ,h6{
    color: #4b4848;
    
    letter-spacing: 1px;
}

h1              {
	font-size: 2em;
	margin: .67em 0;
	text-decoration: none;
}
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;  
}


.box_tablazat {
	overflow: hidden;
	margin: 0px 0px 0px 0px;
	height: auto;
}
.table_cim1{
	border: 1px solid #C8C8C8;
	padding: 3px 5px 3px 5px;
	color: #666;
	text-shadow: 0px 1px #FFF;
	
}

.table_sor1{
	border: 1px solid #dcdcdc;
	padding: 2px 5px 2px 5px;
	color: #444;
	
}
.table_sor2{
	border: 1px solid #dcdcdc;
	background-color: #F0F0F0;
	padding: 2px 5px 2px 5px;
	color: #666;
	
}
.table_sor2:hover{
	border: 1px solid #dcdcdc;
	background-color: #fffeef;
	color: #666;
}
.table_sor3{
	border: 1px solid #dcdcdc;
	padding: 2px 5px 2px 5px;
	color: #AF251C;
	
}
.table_rendel_sor1{
	background-color: #f5f5f5;
	border: 1px solid #C8C8C8;
	padding: 3px 5px 3px 5px;
	color: #666;
	
}
.table_rendel_sor2{
	border: 1px solid #fff;
	padding: 3px 5px 3px 5px;
	color: #555;
	border-bottom: 1px solid #dcdcdc;
}
.table_rendel_sor3{
	border: 1px solid #fff;
	padding: 3px 5px 3px 5px;
	color: #AF251C;
	
	border-bottom: 1px solid #dcdcdc;
}
.table_rendel_cim1{
	border: 1px solid #C8C8C8;
	padding: 10px 5px 8px 5px;
	color: #666;
	
}




/*  Header  */
@media (min-width:1000px){
    header{
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 250px;
	min-height: 100%;
	padding: 0 0 0 50px;
	
	float: left;
	overflow: hidden;
	z-index: 9999;
	background-color: #dcdcdc;
	box-shadow: inset 0px 0px 0px 1px #d2d2d2, inset 0px 0px 30px 0px #c8c8c8, 0px 0px 3px 0px rgba(0,0,0,0.3);
    }

    header .logo{
	margin-top: 100px;
	font-size: 26px;
	color: #2f363e;
	letter-spacing: 0.1em;
	text-shadow: 0px 1px #FFF;
    }

    header nav ul{
        display: block;
        overflow: hidden;
        margin-top: 100px;
        list-style: none;
    }

    header nav ul li{
        display: block;
        margin-bottom: 30px;
    }

    header nav ul li a{
        color: #999;
        
        font-size: 14px;
        text-decoration: none;
        letter-spacing: 1px;
    }

    header nav ul li a:hover,
    header nav ul li a.selected{
	color: #2f363e;
    }

    header .footer{
	position: absolute;
	bottom: 40px;
	
    }
	
	.labduma {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 66%;
	background: transparent;
	color: #888;
	letter-spacing: 0.1em;
    }

    header ul.social{
	list-style: none;
	margin-bottom: 5px;
	
    }

    header ul.social li{
        display: block;
        float: left;
        position: relative;
        margin: 0 15px 15px 0;
    }


    header ul.social li a{
        display: block;
        width: 30px;
        height: 30px;
        background: url('../img/sm.png') no-repeat;
        background-position: 0 0;
		box-shadow: 0px 0px 1px #666;
    }


    header ul.social li a:hover{
        background: url('../img/sm_hover.png') no-repeat;
    }



    header ul.social li a.fb,
    header ul.social li a.fb:hover{
        background-position: 0 0;
    }


    header ul.social li a.google,
    header ul.social li a.google:hover{
        background-position: -31px 0;
    }

    header ul.social li a.behance,
    header ul.social li a.behance:hover{
        background-position: -62px 0;
    }

    header ul.social li a.twitter,
    header ul.social li a.twitter:hover{
        background-position: -93px 0;
    }

    header ul.social li a.dribble,
    header ul.social li a.dribble:hover{
        background-position: -124px 0;
    }

    header ul.social li a.rss,
    header ul.social li a.rss:hover{
        background-position: -155px 0;
    }

    header .rights p{
        color: #454545;
        font-family: arial;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }

    header .rights a{
        font-family: arial;
        font-weight: bold;
        text-decoration: none;
    }
    #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;
}






/*  Main  */
.main{
	width: 100%;
	height: 100%;
	padding-left: 300px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	z-index: 55;
	clear: both;
	padding-bottom: 0px;
	padding-top: 0px;
	padding-right: 0px;
	background-color: #2f363e;
	
}
}
.terkep{
	width: 100%;
	height: 100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	z-index: 55;
	background: #b4b4b4;
	clear: both;
	max-height: 1000px;
	max-width: 1620px;
	
}









/*  Home/portfolio  */
.main .work{
	display: block;
	width: 29%;
	height: auto;
	float: left;
	position: relative;
	overflow: hidden;
	margin: 50px 10px 0px 50px;
	border-bottom: solid 1px #e1e1e1;
}

.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;
	background: rgba(0,0,0,0.3);
}


.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 60px;
	z-index: 77;
	color: 434e5b;
	font-size: 13px;
	letter-spacing: 0.5px;
	border-bottom: 1px solid #666;
	border-top: 1px solid #666;
	background: -webkit-linear-gradient(left,  rgba(250,250,250,0.0) 1%,rgba(250,250,250,0.4) 25%,rgba(250,250,250,0.8) 51%,rgba(250,250,250,0.4) 76%,rgba(250,250,250,0.0) 100%);
	
}



/*  Inner Page  */



.work_nav{
    display: block;
    width: 100%;
}

.work_nav .btn{
    float: right;
}

.work_nav ul{
    list-style: none;
}

.work_nav ul li{
    display: block;
    float: left;
    margin: 0 0 1px 1px;
    position: relative;
}

.work_nav a{
    display: block;
    width: 40px;
    height: 40px;
    background: url('../img/p_navigation.png') no-repeat;
    background-position: 0 0;
}

.work_nav a.previous{
    background-position: 0 0;
}

.work_nav a.grid{
    background-position: -41px 0;
}

.work_nav a.next{
    background-position: -82px 0;
}

.top .title{
	display: block;
	width: 100%;
	color: #2f363e;
	font-size: 24px;
	font-weight: normal;
	background: rgba(255, 255, 255, .7);
	padding: 20px;
	text-transform: none;
	line-height: 30px;
	margin: 0!important;
	overflow: hidden;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.content_header{
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 50%;
    margin-left: -46.36363636363637%;
	
}

.content{
	color: #666;
	font-size: 15px;
	line-height: 22px;
	padding: 30px 30px;
	background: #fff;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	border-top: 6px solid #b8242b;
}

.content p{
	color: #666;
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 60px;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
	color: #2f363e;
	font-weight: normal;
	line-height: 28px;
	margin-bottom: 30px;
}







/*  Contact page map  */
#map .map_adresse{
    
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 1px;
}

#map .map_address,
#map .map_tel{
    padding: 5px;
}

#map .map_address .address,
#map .map_tel .tel{
    
    font-weight: bolder;
}







/*  Tooltip  */
.tooltip{
    display: block;
    padding: 7px 10px;
    background: #3b4b5d;
    color: #fff;
    
    font-size: 10px;
    position: absolute;
    white-space: nowrap;
    z-index: 999;
    opacity: 0;
    text-align: center;
    letter-spacing: .5px;

}

.tooltip:after{
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 3px 3px 0 3px;
    border-color: #2f363e transparent transparent transparent;
    display: block;
    text-align: center;
    position: absolute;
    bottom: -3px;
    left: 50%;
    margin-left: -3px;
}







/*  Responsive code - Responsive code - - Responsive code - - Responsive code - - Responsive code -   */
@media (max-width:1000px){

    header{
	display: block;
	width: 100%;
	min-height: 100px;
	padding: 0;
	position: relative;
	background-color: #dcdcdc;
	border-bottom: 1px solid #666;	
    }
    header .logo{
        margin: 35px 0 0 30px;
        display: inline-block;
		font-size: 26px;
		
	color: #2f363e;
	letter-spacing: 0.1em;
	text-shadow: 0px 1px #FFF;	
    }
    

	
	
	
	
	
	header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 30px 30px 30px 0;
    }
    header nav ul{
        list-style: none;
        display: none;
        margin-top: 30px;
        position: relative;
		
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        color: #2f363e;
        
        font-size: 14px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        background: #e6e6e6;
    }
    header nav ul li a:hover{
        background: #dcdcdc;
		 color: #2f363e;
    }
	header nav ul li a:active{
        background: #d2d2d2;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }

    .main .work{
        width: 43%;
		margin: 30px 0px 0px 30px;
    }
    .main{
        width: 100%;
        position: relative;
        padding-left: 0;
		padding-right: 0px;
    }
    #map{
        margin: 0!important;
    }
}

@media (max-width:550px){
     .main .work{
        width: 100%;
		margin: 40px 0px 0px 0px;
		border-bottom: solid 1px #bebebe;
    }
	.main{
        width: 100%;
        position: relative;
        padding-left: 0;
		padding-right: 0px;
		margin: 0px auto;
    }

.top{
	width: 100%;
	height: 300px;
}
.content{
	
	padding: 10px 10px;
	
}
