@font-face {
    font-family: 'CooperHewitt-Heavy';
    src: url('/wp-content/themes/thesamwalsh/css/fonts/CooperHewitt-Heavy.eot');
    src: url('/wp-content/themes/thesamwalsh/css/fonts/CooperHewitt-Heavy.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/thesamwalsh/css/fonts/CooperHewitt-Heavy.woff') format('woff'),
         url('/wp-content/themes/thesamwalsh/css/fonts/CooperHewitt-Heavy.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'CooperHewitt-Medium';
    src: url('/wp-content/themes/thesamwalsh/css/fonts/CooperHewitt-Medium.eot');
    src: url('/wp-content/themes/thesamwalsh/css/fonts/CooperHewitt-Medium.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/thesamwalsh/css/fonts/CooperHewitt-Medium.woff') format('woff'),
         url('/wp-content/themes/thesamwalsh/css/fonts/CooperHewitt-Medium.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}




/* General */
body { 
    color:#000000; 
    margin:0; 
    padding:0; 
    font-family: 'CooperHewitt-Medium'; 
    font-size:14px; 
    background:#FFFFFF; 
    font-weight:400;
}

.pageHeight {
    height: 100%;
}

.pageStart { 
    margin-top: 180px;
    margin-bottom: 60px;
}


#samsWhiteFace { 
    position: fixed; 
    top:20px;
    z-index: 999999;
}

#samsWhiteFace svg {
    width: 100px;
}


/* Nav */
a.navLink,
a.navLink:visited,
a.navLink:active {
    /*transform: rotate(-90deg);*/
    text-transform: uppercase;
    font-family: 'CooperHewitt-Heavy';
    font-size: 25px;
    width: 140px;
    top: 45%;
    position: fixed;
    padding: 35px 20px 10px 20px;
    color: #000000;
    text-decoration: none;
    text-align: center;
    z-index: 99999;
}

a.navLink:hover,
a.navLink:focus {
    text-shadow: 2px 2px #B3B3B3;
}

a.navInfo {
    transform: rotate(-90deg);
    left:-45px;
}

a.navWork {
    transform: rotate(90deg);
    right:-45px;
}

a.navSelected,
a.navSelected:visited,
a.navSelected:active,
a.navSelected:hover {
    background: #000000 !important;
    color: #FFFFFF !important;
    text-shadow: 0px 0px #000000 !important;
}

a.navHome,
a.navHome:visited,
a.navHome:active,
a.navHome:hover {
    top: 45%;    
}


a.navNext,
a.navNext:visited,
a.navNext:active {
    /*transform: rotate(-90deg);*/
    text-transform: uppercase;
    font-family: 'CooperHewitt-Heavy';
    font-size: 25px;
    padding: 0px 20px 20px 20px;
    color: #000000 !important;
    text-decoration: none;
    text-align: center;
    z-index: 99999;
    width: 100%;
}

a.navNext:hover,
a.navNext:focus {
    text-shadow: 2px 2px #B3B3B3;
}



/* Homepage */
.face {
    width: 200px;
    display: block;
    margin: 0% auto 0;
    z-index: 100;
}



/* Info Page */
.infoContent {
    display: block;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.infoContent h1 {
    font-size: 36px;
    line-height: 30px;
    margin: 10px 0;
    font-family: 'CooperHewitt-Heavy';
    text-transform: uppercase;
    text-align: center;
    width: 100%;

}

.infoContent p {
    
    font-size: 16px;
    line-height: 24px;
    margin: 15px 0;
    width: 100%;
    text-align: center;

}

.infoContent .info-phone {
    font-family: 'CooperHewitt-Heavy';
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 0;

}

.infoContent .info-email {
    font-weight: 700;
    font-size: 19px;
    line-height: 30px;
    margin-top: 0;
    font-family: 'CooperHewitt-Heavy';

}

.infoContent .social-icons {
    display: flex;
    justify-content: center;
}

.infoContent .social-icons svg {
    width: 45px;
    display: inline;
    margin: 0 20px;

}

.infoContent .social-icons svg .social-icon-shadow {
    visibility: hidden;
}

.infoContent .social-icons svg:hover .social-icon-shadow, 
.infoContent .social-icons svg:focus .social-icon-shadow,
.infoContent .social-icons svg:visited .social-icon-shadow {
    visibility: visible;
}



.work-item {
    display: block;
    position: relative;
    margin: 0px 0px 30px 0px;
}

.work-item:hover .work-item-overlay {
    opacity: 1;
}


.work-item-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-weight: 700;
    background: rgba(179, 179, 179, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: all 1s;
}

.work-item-overlay span {
    padding: 20px;
    line-height: 30px;
    font-size: 26px;
    color: #fff;
    width: calc(100%-40px);
    text-align: center;
    text-transform: uppercase;
    font-family: 'CooperHewitt-Heavy';
}

.work-item img {
    display: block;
    max-width: 100%;
}

h1 {
    font-family: 'CooperHewitt-Heavy';
    font-size: 55px;
    line-height: 65px;
    margin: 0px 0px 20px 0px;
    text-transform: uppercase;
}

h2 {
    font-family: 'CooperHewitt-Heavy';
    font-size: 24px;
    line-height: 24px;
    margin: 30px 0px 25px 0px;
    text-transform: uppercase;
}


p {
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    margin-bottom: 20px;   
    line-height: 1.5;
}

#workSingle h1 { 
    margin-top: 40px;
    margin-bottom: 50px;
    line-height: 1 !important;
}

#workSingle a, #workSingle a:hover, #workSingle a:focus, #workSingle a:active { 
    text-decoration: none!important; 
    color: #B3B3B3 !important;
}



/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {

    /* Nav */
    a.navLink,
    a.navLink:visited,
    a.navLink:active {
        padding: 14px 20px 2px 20px;
        width: 110px;
    }


    a.navInfo {
        left:-40px;
    }

    a.navWork {
        right:-40px;
    }
 
    .pagePadding {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
    
    h1 {
        font-size: 40px;
        line-height: 50px;
    }

    
}
