/*

    *****************************************
    
    
    - Fonts
    - General CSS
    - Header
    - Home/portfolio 
    - Inner page 
    - Map/Contact page  
    - Tooltip 
    - Responsive code
  
    
*/



/*  Fonts  */
@font-face {
    font-family: 'raleway-regular';
    src: url('../fonts/raleway-regular.eot');
    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: #fff;
}

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

header ul.social li a,
.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, 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;  
}
#nav a {
	padding-top: 5px;
	padding-bottom: 1px;
	padding-left: 20px;
	padding-right: 20px;
	background-color: blue;
	float: left;
	display: inline-block;
}
#nav ul {
	padding-left: 0px;
	padding-right: 0px;
}







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

    header .logo{
        margin-top: 100px;
    }

    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: #454545;
        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;
    }

    header .footer{
        position: absolute;
        bottom: 50px;
    }

    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;
    }


    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 ul.social li a.youtube,
    header ul.social li a.youtube:hover{
        background-position: -155px 0;
    }
header ul.social li a.pinterest,
    header ul.social li a.pinterest:hover{
        background-position: -124px 0;
	}
    header .rights p{
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }

    header .rights a{
        font-family: "raleway-bold", 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;
    background: #f6f6f6;
    clear: both;
	
}







/*  Home/portfolio  */
.main .work{
	text-align: center;
    display: block;
    width: 33.33333333333333%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
}
.main .work2{
    display: block;
    width: 100%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
	margin:  0 auto;
}
.main .work .media{
    width: 100%;
    vertical-align: middle;
}
.main .work2 .media{
    width: 100%;
    vertical-align: middle;
}
	
.main .leave_it .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: .9;
}


.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;
}

.img-responsive { max-width: 100%; 
}






/*  Banners  */
.top{
	width: 100%;
	height: 350px;
	overflow: hidden;
	display: block;
	position: relative;
	background: url('../img/banners/griz_banner.jpg') no-repeat;
	background-image: url(../images/banners/griz3d_f1_banner.jpg);	
}
.f1{
 background: url('../images/banners/griz3d_f1_banner.jpg') no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: 50% 50%;
}
.cari{
 background: url('../img/banners/griz_banner.jpg') no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: 50% 50%;
}
.design{
 background: url('../images/banners/griz3d_c_design_banner_b.jpg') no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: 50% 50%;
}
.greenwich{
 background: url('../img/banners/griz_greenwich_banner.jpg') no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: 50% 50%;
}  
.process{
 background: url('../images/banners/griz_illustration_process.jpg') no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: 50% 50%;
}
.griz3d{
 background: url('../images/banners/griz3d_3d_banner.jpg') no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: 50% 50%;
}
.movies{
 background: url('../images/banners/griz_movies_banner.jpg') no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: 50% 50%;
}  
.about{
 background: url('../images/banners/griz3d_about_banner.jpg') no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: 50% 50%;
}
.contact{
 background: url('../images/banners/griz3d_contact_banner.jpg') no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: 50% 50%;
}
.error{
 background: url('../images/banners/griz3d_error_banner.jpg') no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: 50% 50%;
}
.thanks{
 background: url('../images/banners/griz3d_thanks.jpg') no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: 50% 50%;
}
			
.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: #4b4848;
    font-family: "raleway-bold", arial;
    font-size: 26px;
    font-weight: bold;
    background: rgba(255, 255, 255, .7);
    padding: 20px;
    text-transform: uppercase;
    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: #4b4848;
	font-family: "raleway-regular", arial;
	font-size: 15px;
	line-height: 22px;
	padding: 60px 30px;
	background: #fff;
	text-decoration: none;
	
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}


.content p{
    color: #4b4848;
    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: #4b4848;
    font-family: "raleway-semibold", arial;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 30px;
}
/*  process  */
.main .process_pics{
    display: block;
    width: 25%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
}

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

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


.main .process_pics a:hover .caption{
    opacity: .9;
}


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

.main .process_pics .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;
}
/*  Contact page map  */
#map .map_adresse{
    font-family: 'raleway-regular', arial;
    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-family: 'raleway-bold', arial;
    font-weight: bolder;
}

#map img{
    max-width: none;
}


/*  contact  */
#container_contact_r {
		background:;float:left; width: 503px; height: 450px; margin: 45px 0px 68px 0; background-repeat:no-repeat;
		}
		#container_message_boxes {
			width: 387px; height: 10px; border:none; margin: 0 0 15px 0px;
		}
		.text_field {
	background: #D0CFCF;
	width: 387px;
	height: 44px;
	border: none;
	margin: 0 0 20px 0px;
	font-family: 'raleway-regular', arial;
	font-size: 12px;
	color: #4b4848;
	padding-left: 5px;
	outline: none;
		}
		#container_message {
	background: #D0CFCF;
	width: 387px;
	height: 129px;
	border: none;
	margin: 0 0 20px 0px;
	font-family: 'raleway-regular', arial;
	font-size: 12px;
	color: #4b4848;
	padding-left: 5px;
	padding-top: 10px;
	padding-right: 10px;
	border: none;
	-webkit-appearance: none;
	outline: none;
		}
		#container_footer2 {
	background: url(../images/footer_line3.png) repeat-x top; position:relative; height: 600; margin: 80px 0 0 0;
		}
		#container_submit	{
			background: #FFFFFF
			width: 81px; height: 38px; border:none; margin: 12 0 20px 384px; 
			font-family: 'raleway-bold', arial;
			color: #F0F0F0;
		}
		#container_thanks_box {
		width: 644px; height: 377; margin: 25px 0 10px 160px; text-align:center;
	}
		#container_top_thanks_box {
	width: 960px; height: 350px; margin: 15px 0 50px 0; text align: center;
		}
		#container_thanks_txt {
	text-align: center;
	width: 640px;
	height: 120px;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	color: #4b4848;
	font-size: 20px;
	padding-top: 120px;
	margin: 0px 0px 0 0;
		}

/*  contact  */

/*  Tooltip  */
.tooltip{
    display: block;
    padding: 7px 10px;
    background: #454545;
    color: #fff;
    font-family: "raleway-regular", arial;
    font-size: 12px;
    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: #454545 transparent transparent transparent;
    display: block;
    text-align: center;
    position: absolute;
    bottom: -3px;
    left: 50%;
    margin-left: -3px;
}
    

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

    header{
        display: block;
        width: 100%;
        min-height: 100px;
        padding: 0;
        position: relative;
    }
    header .logo{
        margin: 40px 0 0 30px;
        float: left;
    }
    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 30px 30px 0 0;
    }
    
    header nav{
        width: 100%;
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 9999;
    }

    header nav ul{
        list-style: none;
        display: none;
        position: relative;
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        background: #fff;
    }
    header nav ul li a:active{
        background: #f7f5f5;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }

    .main .work{
        width: 50%;
    }
    .main{
        width: 100%;
        position: relative;
        padding-left: 0;
    }
    #map{
        margin: 0!important;
    }
	
    header cssmenu ul li a{
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        background: #fff;
    }
		
	
	
#frame { 
overflow: hidden;
position: relative;
width:900px;
height:600px;
-ms-zoom: 1.0;
-moz-transform: scale(1.0);
-moz-transform-origin: 0px 0;
-o-transform: scale(1.0);
-o-transform-origin: 0 0;
-webkit-transform: scale(1.0);
-webkit-transform-origin: 0 0; 

}
	
/*small_screen*/
@media (max-width:992px){
	
#frame { 
overflow: hidden;
position: relative;
width:960px;
height:600px;
-ms-zoom: 1.0;
-moz-transform: scale(1.0);
-moz-transform-origin: 0px 0;
-o-transform: scale(1.0);
-o-transform-origin: 0 0;
-webkit-transform: scale(1.0);
-webkit-transform-origin: 0 0; 	
}
	
/*tablet*/	
	
@media (max-width:768px){
     .main .work{
        width: 100%;
}
#frame { 
overflow: hidden;
position: relative;
width:900px;
height:600px;
-ms-zoom: 0.85;
-moz-transform: scale(0.85);
-moz-transform-origin: 0px 0;
-o-transform: scale(0.85);
-o-transform-origin: 0 0;
-webkit-transform: scale(0.85);
-webkit-transform-origin: 0 0; 

}
	
	
/*550 mobile*/	
	
@media (max-width:550px){
     .main .work{
        width: 100%;
}
#frame { 
overflow: hidden;
position: relative;
width:900px;
height:600px;
-ms-zoom: 0.85;
-moz-transform: scale(0.5);
-moz-transform-origin: 0px 0;
-o-transform: scale(0.5);
-o-transform-origin: 0 0;
-webkit-transform: scale(0.6);
-webkit-transform-origin: 0 0; 

}
/*414*/	
	
@media (max-width:414px){
     .main .work{
        width: 100%;
}
#frame { 
overflow: hidden;
position: relative;
width:900px;
height:600px;
-ms-zoom: 0.45;
-moz-transform: scale(0.45);
-moz-transform-origin: 0px 0;
-o-transform: scale(0.45);
-o-transform-origin: 0 0;
-webkit-transform: scale(0.45);
-webkit-transform-origin: 0 0; 

}
/*375*/	
	
@media (max-width:375px){
     .main .work{
        width: 100%;
}
#frame { 
overflow: hidden;
position: relative;
width:900px;
height:600px;
-ms-zoom: 0.4;
-moz-transform: scale(0.4);
-moz-transform-origin: 0px 0;
-o-transform: scale(0.4);
-o-transform-origin: 0 0;
-webkit-transform: scale(0.4);
-webkit-transform-origin: 0 0; 

}
	/*320*/	
	
@media (max-width:320px){
     .main .work{
        width: 100%;
}
#frame { 
overflow: hidden;
position: relative;
width:900px;
height:600px;
-ms-zoom: 0.85;
-moz-transform: scale(0.5);
-moz-transform-origin: 0px 0;
-o-transform: scale(0.5);
-o-transform-origin: 0 0;
-webkit-transform: scale(0.35);
-webkit-transform-origin: 0 0; 

}
/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	text-decoration: none;
}

a:visited {
}

a:hover,
a:focus,
a:active {
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	width: 100%;
    margin: 15px 0 10px;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	position: relative;
    padding: 0;
    margin: 0 0 -1px;
}

.main-navigation a {
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-left: 0;
    border-right: 0;
	display: block;
	text-decoration: none;
    text-align: left;
	padding: 10px 0px;
    color: #444 !important;
    font-size: 13px;
}
.main-navigation a:hover {
    color: #FFF !important;
}

.main-navigation ul ul {
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
	background-color: #FFF;
	float: left;
	position: absolute;
	top: 0;
	left: -999em;
	z-index: 20;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 2px;
}

.main-navigation ul ul li a {
    background-color: #FFF;
    border: 0;
	text-align: left;
	min-width: 130px;
	padding: 11px 10px;
	white-space: nowrap;
}

.main-navigation ul ul li {
    padding: 0;
}

.main-navigation li:hover > a {
}

.main-navigation ul ul :hover > a {
}

.main-navigation ul li:hover > ul {
	left: 100%;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
}

.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a,
.main-navigation li.current-menu-parent > a,
.main-navigation li.current_page_parent > a,
.main-navigation li.current-menu-ancestor > a,
.main-navigation li.current_page_ancestor > a {
    color: #FFF !important;
}

.header-menu-button,
.main-menu-close {
    display: none;
}
.menu-dropdown-btn {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.1);
    color: #838383;
    margin: 0;
    padding: 10px 14px;
    /* box-shadow: -1px 0 0 rgba(0, 0, 0, 0.08); */
    height: 35px;
    line-height: 15px;
    text-align: center;
    font-size: 14px;
    z-index: 9;
    cursor: pointer;
}

.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 30px 0;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
	


	
	
