@import url(https://fonts.googleapis.com/css?family=Bad+Script);
body{
    background: #fff;
}
.wrapper{
    width: 100%;
    margin: 0 auto;
}
header ul.social li a,
.main .work a .caption,
header nav ul li a{
    list-style: none;
    text-decoration: none;
    transition:all .1s linear;
    -webkit-transition:all .1s linear;
    -moz-transition:all .1s linear;
    -o-transition:all .1s linear;
}
h1, h2{
    color: #444;
    font-family: 'Bad Script', "helvetica", cursive;
}
h1              { font-size: 2.5em; margin: .67em 0 }
h2              { font-size: 1.5em; margin: .75em 0 }
h1, h2          { font-weight: bolder }

span {font-size: 1.5em;}

.clearfix:before,  
.clearfix:after {  
    content: " ";  
    display: table;  
}  
.clearfix:after {  
    clear: both;  
}  
.clearfix {  
    *zoom: 1;  
}
/* Header and Footer */
header {
    width: 100%;
    top:0;
    height: 60px;
    border-bottom: 4px;
    border-color: 444;
    position: absolute;
    text-align: center;
    background-color: #fff;
}
header > ul {
    margin-left: 1%;
    height: 30x;
}
header ul li{
    display: inline-block;
    list-style: none;
    margin:  0 4em 0 0em ;
    position: relative;
}
header a{
    text-decoration: none;
    display: inline;
    margin:  20px auto 10px auto;
    opacity: 0.5;
}
header a:hover {
    opacity: 1.0;
    font-size: 1.1em;
}
header .back{
    float: left;
    top: 0px;
    margin: 0.5em 0;
}
footer {
    width: 100%;
    bottom:0;
    height: 2px;
    position: relative;
    text-align: center;
}
footer > ul {
    bottom: 0;
    height: 30px;
}
footer ul li{
    display: inline-block;
    list-style: none;
    font-size: 1.0em; 
    margin:  0 4em 0 2em ;
    position: relative;
}
footer a{
    text-decoration: none;
    display: inline;
    margin:  20px auto 10px auto;
    opacity: 0.5;
}
footer a:hover {
    opacity: 1.0;
    font-size: 1.1em;
}
.foome {
    list-style: none;
    vertical-align:baseline;
    background-color: #fff;
}
footer .back{
    float: left;
    top: 0px;
    margin: 0.7em 0;
    float:left;
}
.mobile { 
    position: relative;
    display: none;
}
/*  Main  */
.main{
    width: 100%;
    height: 100%;
    top: 70px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #fff;
    clear: both;
}
.mainOne{
    width: 100%;
    height: 100%;
    top: 70px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #fff;
    clear: both;
}
/*  Home/portfolio  */
.main .work{
    display: block;
    width: 50%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
}
.mainOne .workOne{
    display: block;
    width: 100%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
}
.main .work .media{
    width: 100%;
    vertical-align: middle;
}
.mainOne .workOne .mediaOne{
    width: 100%;
    vertical-align: middle;
}
.main .work .caption{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    background: #ffffff;
    opacity: 0;
}
.mainOne .workOne .captionOne{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    background: #ffffff;
    opacity: 0;
}
.main .work a:hover .caption{
    background-image: url(../../../assets/imgs/caption.png);
    opacity: 0.7;
}
.mainOne .workOne a:hover .captionOne{
    background-image: url(../../../assets/imgs/caption.png);
    opacity: 0.7;
}
.work_title{
    opacity: 1;
}
work_titleOne{
    opacity: 1;
}
.work .caption .work_title{
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 30%;
    margin-top: -40px;
}
.workOne .captionOne .work_titleOne{
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 40%;
    margin-top: -40px;
}
.main .work .caption h1{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 0.5em 0;
    z-index: 77;
    color: #444;
    line-height: 1.5;
    font-family: 'Bad Script', "helvetica", cursive;
    letter-spacing: .5px;
    border-bottom: 2px solid #bfbbbb;
    border-top: 2px solid #bfbbbb;
}
.mainOne .workOne .captionOne h1{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 0.5em 0;
    z-index: 77;
    color: #444;
    line-height: 1.5;
    font-family: 'Bad Script', "helvetica", cursive;
    letter-spacing: .5px;
    border-bottom: 2px solid #bfbbbb;
    border-top: 2px solid #bfbbbb;
}
/*  Tooltip  */
.tooltip{
    display: block;
    padding: 7px 10px;
    background: #454545;
    color: #fff;
   font-family: 'Bad Script', "helvetica", cursive;
    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 ;
    display: block;
    text-align: center;
    position: absolute;
    bottom: -3px;
    left: 50%;
    margin-left: -3px;
}
/*  Responsive code  */
@media (max-width:1180px){

    .main .work{
        width: 100%;
}
    .main{
        width: 100%;
        position: relative;
        padding-left: 0;
}
    .mainOne .workOne{
        width: 100%;
}
    .mainOne{
        width: 100%;
        position: relative;
        padding-left: 0;
}
    
     h2              { font-size: 1.5em; margin: .75em 0 }
    
     span {font-size: 1.2em;}

     footer ul li{
        margin:  0 1.4em ;
}
     header ul li{
         margin: 0 2em ;

} 
}
@media (max-width:900px){

    .main .work .mainOne .workOne{
        width: 100%;
}
    .main .mainOne{
        width: 100%;
        position: relative;
        padding-left: 0;
}
     .main .work .mainOne .workOne{
        width: 100%;
}
    
    h1              { font-size: 1.5em; margin: .67em 0 }
    h2              { font-size: 1.2em; margin: .75em 0 }
  
    h1, h2      { font-weight: bolder }
    
    header > ul {
        margin-left: 10%;
}
   
    header ul li{
        font-size: 1.0em; 
        margin:  0 0.9em ;
}
    
    footer ul li{
        font-size: 1.0em; 
        margin: 0 2em ;
}
    
    footer  h2{ font-size: 1.2em; margin: 1.3em 0;}
    
    span {font-size: 1.4em;}
}
@media (max-width:600px){
    h2       { font-size: 1.1em; margin: 1.1em 0.5em }
    
    span {font-size: 1.25em;}
    
    header > ul {
        margin-left: 1.8%;
}
     footer ul li{
        margin:  0 1.5em 0 1.5em ; 
}
}
@media (max-width:480px){
     .main .work .mainOne .workOne{
        width: 100%;
    }
    h1              { font-size: 1.2m; margin: 0.5em 0 }
    h2              { font-size: 0.9em; margin: 1.5em 0 }

    span{
        font-size: 1.3em;
}
    header a:hover{
        opacity: 1.0;
        font-size: 1.15em;
}   
    header .mobile{
        float: left;
        display: inline;
        position: relative;
        margin:0;
}
    header ul{
        margin: 0;
    }
    footer a:hover {
        opacity: 1.0;
        font-size: 1.0em;
    
}
    footer ul {
        margin-right: 2.5em;
    }
    footer  li{
        font-size: 1.2em;
        margin: 0.7em 0;
}   
    footer ul li{
        margin:  0; 
}
    footer h2{
        margin: 0 0 2.2em 0;
}
    footer a:hover {
        opacity: 1.0;
        font-size: 1.0em;
    
}
    footer .mobile{
        float: left;
        display: inline;
        position: relative;
        margin:0;
} 
    .foome{
        display: none;
        visibility: hidden;
}
    .buttonfoo {
        margin: 0.5em 0;
}
    .old{
        display: none;
} 
}