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







/*  Header  */
@media (min-width:768px){
    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.twitter,
    header ul.social li a.twitter:hover{
        background-position: 0 0;
    }


    header ul.social li a.medium,
    header ul.social li a.medium:hover{
        background-position: -31px 0;
    }

    header ul.social li a.linkedin,
    header ul.social li a.linkedin:hover{
        background-position: -62px 0;
    }

    header ul.social li a.freelance,
    header ul.social li a.freelance: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: "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;
    overflow: hidden;
    position: relative;
    z-index: 55;
    background: #f6f6f6;
}


.grand-adventure-wrapper {
	max-width: 594px;
}

.star-wars-wrapper {
	max-width: 822px;
}

.star-wars-wrapper-2 {
	max-width: 600px;
}

.rsq-agency-wrapper {
	max-width: 1440px;
}

.rsq-agency-wrapper-2 {
	max-width: 1440px;
}

.rsq-agency-wrapper-3 {
	max-width: 1440px;
}

.hibbett-sports-wrapper {
	max-width: 640px;
}

.hibbett-sports-wrapper-2 {
	max-width: 526px;
}

.mio-wrapper {
	max-width: 406px;
}

.pisco-porton-wrapper {
	max-width: 500px;
}

.bertram-yachts-wrapper {
	max-width: 751px;
}

.disney-parks-wrapper {
	max-width: 750px;
}

.disney-parks-video-wrapper {
	max-width: 640px;
}

.ucla-wrapper {
	max-width: 580px;
}


.ucla2-wrapper {
	max-width: 580px;
}

.ucla3-wrapper {
	max-width: 580px;
}

.arizona-wrapper {
	max-width: 640px;
}

.arizona-wrapper2 {
	max-width: 640px;
}

.bimzelx-wrapper {
	max-width: 640px;
}

/*  Home/portfolio  */
.main .work{
    display: block;
    width: 33.33333333333333%;
    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;
}







/*  Inner Page  */
.top{
    background: url('../img/hero_goodlord.jpg') no-repeat;

}

.top2{
	background: url('../img/hero_secret.jpg') no-repeat;
}

.top3{
	background: url('../img/hero_grandadventure.jpg') no-repeat;
}


.top4{
	background: url('../img/hero_starwars.jpg') no-repeat;
}

.top5{
	background: url('../img/hero_rsqagency.jpg') no-repeat;
}

.top6{
	background: url('../img/hero_hibbettsports.jpg') no-repeat;
}

.top7{
	background: url('../img/hero_bertramyachts.jpg') no-repeat;
}

.top8{
	background: url('../img/hero_piscoporton.jpg') no-repeat;
}

.top9{
	background: url('../img/hero_mio.jpg') no-repeat;
}

.top10 {
	background-color: #f6f6f6;
}

.top11 {
	background: url('../img/hero_disneyparks.jpg') no-repeat;
}

.top12 {
	background: url('../img/hero_ucla.jpg') no-repeat;
}

.top13 {
	background: url('../img/hero_paramount.jpg') no-repeat;
}

.top14 {
	background: url('../img/hero_unm.jpg') no-repeat;
}

.top15 {
	background: url('../img/hero_budlight.jpg') no-repeat;
}

.top16 {
	background: url('../img/hero_chargers.jpg') no-repeat;
}


.top17 {
	background: url('../img/hero_falcons.jpg') no-repeat;
}

.top18 {
	background: url('../img/hero_hardrock.jpg') no-repeat;
}

.top19 {
	background: url('../img/hero_underarmour.jpg') no-repeat;
}

.top20 {
	background: url('../img/hero_arizona.jpg') no-repeat;
}

.top21 {
	background: url('../img/hero_metaverseinternship3.jpg') no-repeat;
}

.top22 {
	background: url('../img/hero_wwe.jpg') no-repeat;
}

.top23 {
	background: url('../img/hero_yale.jpg') no-repeat;
}

.top24 {
	background: url('../img/hero_orexo.jpg') no-repeat;
}

.top25 {
	background: url('../img/hero_havasAI.jpg') no-repeat;
}

.top26 {
	background: url('../img/hero_havasmango.gif') no-repeat;
}

.top27 {
	background: url('../img/hero_pepsico.gif') no-repeat;
}

.top28 {
	background: url('../img/hero_nuun.gif') no-repeat;
}

.top29 {
	background: url('../img/hero_bimzelx.png') no-repeat;
}

.top30 {
	background: url('../img/hero_nasa.png') no-repeat;
}

.top31 {
	background: url('../img/hero_img-academy.png') no-repeat;
}

.top32 {
	background: url('../img/hero_quantumfiber.png') no-repeat;
}

.top33 {
	background: url('../img/hero_mutiny.png') no-repeat;
}

.top33 {
	background: url('../img/hero_blazy-susan.png') no-repeat;
}

.top34 {
	background: url('../img/hero_img-academy.png') no-repeat;
}

.top35 {
	background: url('../img/hero_saints.png') no-repeat;
}


.top, .top2, .top3, .top4, .top5, .top6, .top7, .top8, .top9, .top10, .top11, .top12, .top13, .top14, .top15, .top16, .top17, .top18, .top19, .top20, .top21, .top22, .top23, .top24, .top25, .top26, .top27, .top28, .top29, .top30, .top31, .top32, .top33, .top34, .top35 {
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: block;
    position: relative;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: 50% 50%;
}

 .top10 {
    height: 30px;
   }

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

.slides li {
	margin-right: 0!important;
}

#carousel .slides li:hover {
	cursor: default;
	cursor: pointer;
}

#carousel .slides li {
	margin-right: 5px!important;
}

.top .title, .top2 .title, .top3 .title, .top4 .title, .top5 .title, .top6 .title, .top7 .title, .top8 .title, .top9 .title, .top11 .title, .top12 .title, .top13 .title, .top14 .title, .top15 .title, .top16 .title, .top17 .title, .top18 .title, .top19 .title, .top20 .title, .top21 .title, .top22 .title, .top23 .title, .top24 .title, .top25 .title, .top26 .title, .top27 .title, .top28 .title, .top29 .title, .top30 .title, .top31 .title, .top32 .title, .top33 .title, .top34 .title, .top35 .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;

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

}





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







/*  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:769px){

    header{
        display: block;
        width: 100%;
        min-height: 100px;
        padding: 0;
        position: relative;
    }
    header .logo{
        margin: 40px 0 0 30px;
        display: inline-block;
    }
    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 30px 30px 0 0;
    }
    header nav ul{
        list-style: none;
        display: none;
        margin-top: 35px;
        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;
    }
}

@media (max-width:550px){
     .main .work{
        width: 100%;
    }
}




/* CSS for responsive iframe */
/* ========================= */

/* outer wrapper: set max-width & max-height; max-height greater than padding-bottom % will be ineffective and height will = padding-bottom % of max-width */
#Iframe-Master-CC-and-Rs {
  max-width: 100%;
  max-height: 100%; 
  overflow: hidden;
  
}

/* inner wrapper: make responsive */
.responsive-wrapper {
  position: relative;
  height: 0;    /* gets height from padding-bottom */
  padding-bottom: 45%;
  /* put following styles (necessary for overflow and scrolling handling on mobile devices) inline in .responsive-wrapper around iframe because not stable in CSS:
    -webkit-overflow-scrolling: touch; overflow: auto; */
  
}
 
.responsive-wrapper.resume {
  position: relative;
  height: 0;    /* gets height from padding-bottom */
  padding-bottom: 145%; 
  
 }

.responsive-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  margin: 0;
  padding: 0;
  border: none;
}

/* padding-bottom = h/w as % -- sets aspect ratio */
/* YouTube video aspect ratio */
.responsive-wrapper-wxh-572x612 {
  padding-bottom: 107%;
}

.responsive-wrapper.video {
  padding-bottom: 55.5%; 
  
 }

/* general styles */
/* ============== */

.set-box-shadow { 
  -webkit-box-shadow: 4px 4px 14px #4f4f4f;
  -moz-box-shadow: 4px 4px 14px #4f4f4f;
  box-shadow: 4px 4px 14px #4f4f4f;
}

.set-margin {
  margin: 0 30px 30px;
}
.center-block-horiz {
  margin-left: auto !important;
  margin-right: auto !important;
}

.responsive-iframe-wrapper {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	position: relative;
    
    height: 0;
    padding-bottom: 50%;
    overflow: hidden;
}

 
.responsive-iframe-wrapper iframe,
.responsive-iframe-wrapper object,
.responsive-iframe-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider {
    margin: 50px auto 10px!important;
}

.resume-wrapper-desktop {
	display: block;
}

.resume-wrapper-mobile {
	display: none;
}

.resume-img {
	margin: 0 auto 30px;
	text-align: center;
	max-width: 100%;
}

@media (max-width:768px){ 
.resume-wrapper-desktop {
	display: none;
}
}

@media (max-width:768px){ 
.resume-wrapper-mobile {
	display: block;
}
}