/*@copyright www.optimizingowl.com test*/
body,
h1,h2,h3,p,a{
    font-family: 'Montserrat', sans-serif !important;
}
body.pop {
    overflow: hidden !important;
}
.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../images/loading.gif) center no-repeat #fff;
}
/*header*/
.menu {
    text-align: right;
}
.mobile-menu,
.nav-mobile{
    display: none;
}
header#header {
    background: #4A4A4A;
    position:  fixed;
    width:  100%;
    z-index: 999;
    top:0;
    border-bottom: 1px solid #ff5700;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.15);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.15);
    -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,.15);
}
.menu ul {
    margin: 0;
}
.menu li {
    list-style-type: none;
    display: inline-block;
}
.menu li a {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    padding: 20px 35px;
    display: block;
}
a.link:hover {
    background: #545454; /* Old browsers */
    background: -moz-linear-gradient(top, #545454 0%, #4a4a4a 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #545454 0%,#4a4a4a 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #545454 0%,#4a4a4a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#545454', endColorstr='#4a4a4a',GradientType=0 ); /* IE6-9 */
}
/*end header*/
/*about me*/
section#about {
    margin-top: 60px;
    background: url(../images/john-header.png) no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 380px;
}

section#about h1 {
    min-height:  380px;
    padding-right: 60%;
    text-align: center;
    font-size: 25px;
    font-weight: 300;
    padding-top: 100px;
    padding-left: 40px;
    margin-bottom: 0;
}
/*end about me*/
.content {
    background: #f3f3f3;
}
/*photos*/
section#photos {
    position: relative;
}
#photos span.nav-left {
    position: absolute;
    left: -40px;
    top: 52.6%;
}
#photos span.nav-right {
    position: absolute;
    right: -40px;
    top: 52.6%;
}
.content h2 {
    text-align: center;
    margin: 40px 0;
}
.curtain{
    display: block;
    position: absolute;
    left: 50%;
    top: -100%;
    margin: -30px 0 0 -30px;
    height: 60px;
    width: 60px;
    background-color: rgb(255, 87, 0);
    background-color: rgba(255, 87, 0, 0.6);
    text-align: center;
    cursor: pointer;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: opacity .25s linear, top .35s ease, margin .35s ease, -webkit-transform ease-out 0.1s, background 0.2s;
    -moz-transition: opacity .25s linear, top .35s ease, margin .35s ease, -moz-transform ease-out 0.1s, background 0.2s;
    transition: opacity .25s linear, top .35s ease, margin .35s ease, transform ease-out 0.1s, background 0.2s;
}
.curtain:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.item:hover .cover {
    background: rgba(0, 0, 0, 0.5);
}
.cover {
    background: rgba(0, 0, 0, 0);
    position: absolute;
    width:  100%;
    height:  100%;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
.figure .curtain:after{
    content: "\f065";
    font-size: 22px;
}
.curtain:after {
    position: absolute;
    display: block;
    z-index: 2;
    width: 60px;
    height: 60px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 60px;
    color: #fff;
    font-family: "FontAwesome";
    text-align: center;
    -webkit-transition: all .35s linear .1s;
    -moz-transition: all .35s linear .1s;
    -ms-transition: all .35s linear .1s;
    -o-transition: all .35s linear .1s;
    transition: all .35s linear .1s;
}
.curtain:hover:after {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}
.curtain:before {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    top: 0;
    left: 0;
    padding: 0;
    z-index: -1;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
    opacity: 0;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}
.curtain:hover:before {
    -webkit-animation: sonarEffect 1.3s ease-out 75ms;
    -moz-animation: sonarEffect 1.3s ease-out 75ms;
    animation: sonarEffect 1.3s ease-out 75ms;
}
.grid-box {
    width: 377px;
    display: inline-block;
    border-top: 4px solid #ff5700;
}
.item {
    width: 50%;
    display: inline-block;
    float:  left;
    position:  relative;
    overflow: hidden;
    max-height: 280px;
}
.item:hover .details {
    bottom: 0;
}
.item:hover .curtain{
    top:50%;
}
.item.last {
    width:  100%;
    height: 277px;
    overflow: hidden;
}
.details {
    position:  absolute;
    bottom: -50px;
    background: rgba(255, 255, 255, 0.5);
    width:  100%;
    text-align: center;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
img {
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    width:  100%;
    height:  auto;
}
/*pop photo*/
.pop-photo{
    display: none;
    width:  100%;
    height:  100%;
}
.overlay {
    position:  fixed;
    width:  100%;
    height:  100%;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    z-index: 2147483646;
}
.photo-container img.pop-img {
    position: relative;
    width: 100%;
    height: auto;
    left: 0;
    right: 0;
    border-radius:5px;
}
.photo-container {
    position: fixed;
    top: 15%;
    height: 70vh;
    width: auto;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2147483647;
    overflow:hidden;
}
span.close-pop {
    position:  absolute;
    top: 5px;
    right: 5px;
    z-index: 999;
    cursor: pointer;
}
span.close-pop i.fa.fa-times-circle {
    color: #fff !important;
    font-size: 25px;
}
.nav-photo {
    position: absolute;
    bottom: 58%;
    width: 100%;
    z-index: 999;
}
.nav-photo span.nav-left {
    position: absolute;
    left: 0px;
    cursor: pointer;
}
.nav-photo span.nav-right {
    position: absolute;
    right: 0px;
    cursor: pointer;
}
.nav-photo span.nav-left i.fa.fa-angle-left {
    color: #fff;
    background: rgba(255, 87, 0, 0.4);
    width: 40px;
    height: 55px;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    font-size: 30px;
    padding: 11px 5px 1px 2px;
    -webkit-box-shadow: 1px 2px 2px 1px #333;
    box-shadow: 1px 2px 2px 1px rgba(51, 51, 51, 0.3);
}
.nav-photo span.nav-right i.fa.fa-angle-right {
    color: #fff;
    background: rgba(255, 87, 0, 0.4);
    width: 40px;
    height: 55px;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    font-size: 30px;
    padding: 11px 0px 1px 3px;
    -webkit-box-shadow: -1px 2px 2px 1px rgba(51, 51, 51, 0.3);
    box-shadow: -1px 2px 2px 1px rgba(51, 51, 51, 0.3);
}
/*spin*/
.spritespin-stage {
    margin: 0 auto !important;
    left: 0 !important;
    right:  0 !important;
}
canvas.spritespin-canvas {
    margin: 0 auto !important;
    left: 0 !important;
    right: 0 !important;
}
section#spin_view {
    margin-top: 40px;
}
div#johnspin {
    margin: 0 auto;
    width: 100% !important;
}
span.spin_icon img {
    width:  auto;
}
span.spin_icon {
    display: block;
    text-align: center;
    margin: 30px 0;
}
/*videos*/
ul.videos.slick-initialized.slick-slider {
    padding-left: 5px !important;
}
button.slick-prev.slick-arrow,
button.slick-next.slick-arrow {
    display: none !important;
}
section#videos {
    text-align: center;
    position: relative;
}
ul.videos.slick-initialized.slick-slider {
    padding:  0;
}
section#videos span.nav-left {
    position:  absolute;
    left: -40px;
    top: 55%;
}
section#videos span.nav-right {
    position:  absolute;
    right: -40px;
    top: 55%;
}
span.nav-left i.fa.fa-angle-left,
span.nav-right i.fa.fa-angle-right {
    font-size: 45px;
    cursor:pointer;
}

/*credits*/
section#credits li {
    list-style-type: none;
    font-size: 20px;
    position:  relative;
    cursor: default;
}
section#credits ul {
    margin: 0;
}
section#credits span {
    position:  absolute;
}
span.title {
    position: relative !important;
    background: #f3f3f3;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
section#credits li:hover span.title {
    margin-left:50px;
}
/*social*/
div#social {
    position:  fixed;
    top: 45%;
}
div#social ul {
    padding:  0;
}
div#social li {
    position: relative;
    list-style-type: none;
    color: #fff;
    background: #4A4A4A;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    padding: 20px 60px 20px 20px;
    left: -108px;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
div#social li:hover{
    left:0;
}
div#social li a {
    color:  #fff;
    text-decoration: none;
}
div#social li:nth-child(1) i {
    padding: 13px 16px;
    background:  #3b5998;
    border-radius: 50%;
    position:  absolute;
    right: 10px;
    top: 10px;
}
div#social li:nth-child(2) i {
    padding: 13px 13.5px;
    background:  #00aced;
    border-radius: 50%;
    position:  absolute;
    right: 10px;
    top: 10px;
}
div#social li:nth-child(3) i {
    padding: 13px 14px;
    background:  #4875B4;
    border-radius: 50%;
    position:  absolute;
    right: 10px;
    top: 10px;
}
/*contact*/
section#contact:after {
    content:  '';
    display: block;
    clear: both;
}
section#contact {
    margin-bottom: 50px;
}
.form-horizontal .form-group {
    margin:  0 !important;
}
section#contact .submit-btn {
    text-align: center;
    margin: 20px 0 !important;
    display: block;
}
section#contact .submit-btn input#submit {
    padding: 10px 80px;
}
input#name,
input#email {
    padding: 10px;
    height:  auto;
}
textarea.form-control {
    resize: none;
}
.submit {
    text-align: center;
    padding-top: 20px;
}
.submit input#submit {
    width:  200px;
    text-transform: uppercase;
}
label.error {
    color: #ff0000;
    font-weight: 100;
}
.form-group.col-md-12.captcha {
    margin-top: 15px !important;
    display: block;
}
label.control-label.captcha {
    margin-right:15px;
    float:  left !important;
}
form.form-horizontal input,
textarea.form-control{
    border: none !important;
    border-bottom: 1px solid #ff5700 !important;
    background: transparent;
    box-shadow: none !important;
}
form.form-horizontal .form-group {
    margin: 5px 0 !important;
}
.captcha .col-sm-2 {
    padding:  0;
}
input#submit {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4 !important;
}
/*footer*/
footer{
    background: #4A4A4A;
}
.copy {
    color: #fff;
    padding:  20px 0;
    text-align: center;
}
.copy a {
    color: #fff;
}
/*go top*/
.hovicon {
    display: inline-block;
    font-size: 27px;
    line-height: 51px;
    cursor: pointer;
    margin: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    position: fixed;
    text-decoration: none;
    z-index: 1;
    color: #fff;
    bottom: 10%;
}
.hovicon.auto-width {
    width: auto;
    height: auto;
    padding: 15px;
}
.hovicon:after {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content:'';
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
.hovicon:before {
    speak: none;
    font-size: 48px;
    line-height: 90px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    display: block;
    -webkit-font-smoothing: antialiased;
}
 .hovicon.effect-1 {
    background: rgba(255, 87, 0, 0.7);
    -webkit-transition: background 0.2s, color 0.2s;
    -moz-transition: background 0.2s, color 0.2s;
    transition: background 0.2s, color 0.2s;
    transition: transform .6s cubic-bezier(0.20, 0, 0.10, 1.2);
    transform: translate(80px, 0px);
}
.hovicon.effect-1:after {
    top: -7px;
    left: -7px;
    padding: 7px;
    box-shadow: 0 0 0 4px rgba(255, 87, 0, 0.4);
    -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
    -webkit-transform: scale(.8);
    -moz-transition: -moz-transform 0.2s, opacity 0.2s;
    -moz-transform: scale(.8);
    -ms-transform: scale(.8);
    transition: transform 0.2s, opacity 0.2s;
    transform: scale(.8);
    opacity: 0;
}
.hovicon.effect-1.sub-a:hover {
    background: #ff5700;
    color: #fff;
}
.hovicon.effect-1.sub-a:hover i {
    color: #fff;
}
.hovicon.effect-1.sub-a:hover:after {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
i.hovicon.effect-1.sub-a:not(.fixed) {
    transition: transform .6s cubic-bezier(0.20, 0, 0.10, 1.2);
    transform: translate(170px, 0px);
    right: 50px;
}
i.hovicon.effect-1.sub-a.fixed {
    transform: translate(0px, 0px);
    right:  50px;
}
/*responsive*/
@media screen and (min-width:768px) and (max-width:1024px){
    section#about h1 {
        padding-top: 15px;
        padding-bottom: 15px;
    }  
    .item {
        max-height: 210px;
    }
    .grid-box {
        width: 300px;
    }
}
@media (max-width: 960px){
    /*header*/
    .menu,
    div#social {
        display: none;
    }
    body.nav-open{
        overflow: hidden;
    }
    body .nav-mobile li a{ 
        opacity: 0;
    }
    body.nav-open .nav-mobile li a{
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    body.nav-open li:nth-child(1) a.link {
        transition-delay: 0.1s;
        transition: all 0.5s ease-in-out;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
    }
    body.nav-open li:nth-child(2) a.link {
        transition-delay: 0.2s;
        transition: all 0.6s ease-in-out;
        -webkit-transition: all 0.6s ease-in-out;
        -moz-transition: all 0.6s ease-in-out;
        -o-transition: all 0.6s ease-in-out;
    }
    body.nav-open li:nth-child(3) a.link {
        transition-delay: 0.3s;
        transition: all 0.7s ease-in-out;
        -webkit-transition: all 0.7s ease-in-out;
        -moz-transition: all 0.7s ease-in-out;
        -o-transition: all 0.7s ease-in-out;
    }
    body.nav-open li:nth-child(4) a.link {
        transition-delay: 0.4s;
        transition: all 0.8s ease-in-out;
        -webkit-transition: all 0.8s ease-in-out;
        -moz-transition: all 0.8s ease-in-out;
        -o-transition: all 0.8s ease-in-out;
    }
    body.nav-open li:nth-child(5) a.link {
        transition-delay: 0.5s;
        transition: all 0.9s ease-in-out;
        -webkit-transition: all 0.9s ease-in-out;
        -moz-transition: all 0.9s ease-in-out;
        -o-transition: all 0.9s ease-in-out;
    }
    .mobile-menu ul.mobile-social {
        padding-left: 15px;
    }
    .mobile-menu {
        display:block;
        position: fixed;
        background: #fff;
        height: 50px;
        width:  100%;
        left: 0;
        right: 0;
        z-index: 999;
        border-bottom: 1px solid #ff5700;
    }
    span.menu-interract {
        position:  absolute;
        right: 20px;
        top: 12px;
        z-index: 999;
        color: #000;
        font-size:  20px;
    }
    .nav-mobile a.link:hover {
        background:  transparent;
        text-decoration: none;
    }
    .nav-mobile {
        display: none;
        height: 100vh;
        width: 100%;
        position: fixed;
        left: 0;
        right: 0;
        background: #fff;
        margin: 0;
        padding-top: 50px;
    }
    .nav-mobile ul {
        padding: 30px 0 0 0;
        font-size:  0 !important;
    }
    .nav-mobile ul li {
        list-style-type: none;
        text-align: center;
    }
    .nav-mobile ul li a {
        padding: 15px 0;
        display: inline-block;
        color: #000;
        font-size: 25px;
        transform: translate(0,-200px);
        -webkit-transform: translate(0,-200px);
        -o-transform: translate(0,-200px);
        -moz-transform: translate(0,-200px);
    }
    img.mobile-img {
        display: block !important;
    }
    section#about {
        background: none;
        margin-top: 50px;
        min-height: auto;
        background-position: top;
    }
    section#about h1 {
        min-height:  auto;
        padding:  0;
        font-size: 17px;
        padding: 10px;
        font-weight: 100 !important;
        font-family: 'Montserrat', sans-serif;
        margin-top:0;
    }
    section#credits li {
        font-size:  17px;
    }
    ul.mobile-social li {
        list-style-type: none;
        display: inline-block;
        padding: 15px 10px;
    }
    /*photos*/
    section#photos span.nav-left {
        left: 5%;
        z-index: 999;
    }
    section#photos span.nav-right {
        right:  5%;
        z-index: 999;
    }
    .curtain {
        top: 50%;
    }
    .item {
        max-height: 240px;
    }
    .grid {
        text-align: center;
    }
    /*credits*/
    span.view-all-credits {
        display: block !important;
        width:  100%;
        position:  relative !important;
        text-align: center;
        font-size:  20px;
        margin: 15px 0;
    }
    span.view-all-credits i.fa.fa-sort-down {
        vertical-align: top;
        padding-left: 10px;
    }
    span.view-all-credits i.fa.fa-sort-up{
        vertical-align: bottom;
        padding-left: 10px;
    }
    ul.all-credits {
        display: none;
    }
    /*video section*/
    .slick-list.draggable {
        padding-left: 4px;
    }
    section#videos span.nav-left,
    section#videos span.nav-right {
        z-index: 9;
        background: rgba(255, 87, 0, 0.4);
        border-radius: 50px;
        width: 65px;
        height: 65px;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 !important;
        -webkit-box-shadow: 1px 2px 2px 1px #333;
        box-shadow: 1px 2px 2px 1px rgba(51, 51, 51, 0.3);
    }
    section#videos span.nav-left{
        padding-right: 4px;
        padding-top:5px;
        left:5%;
    }
    section#videos span.nav-right {
        padding-left: 4px;
        padding-top:5px;
        right: 5%;
    }
    section#videos span.nav-left i,
    section#videos span.nav-right i {
        font-size: 40px !important;
    }
    .captcha .col-sm-2 {
        padding: 0;
    }
    /*go top*/
    i.hovicon.effect-1.sub-a.fixed {
        right:  0;
    }
    i.hovicon.effect-1.sub-a:not(.fixed) {
        right:  0;
    }
}