/* @import fonts */
@import url('https://fonts.googleapis.com/css?family=Alegreya|Lato:300|Open+Sans:300|Alegreya+Sans');
/*
    Story With Light Branding Color Key:

    #2e3192 = StoryWithLight blue
    #ffde16 = StoryWithLight yellow

    #191919 = Gray background color for website

    #172942 = StoryWithLight shop blue background
*/

/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin-top: 100px;
    margin-bottom: 50px;
    background: #191919;
    color: #ffde16;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* remove <a> and <button> focus styles */
a:focus, button:focus {
    outline: 0 !important;
}

/* if javascript disabled, display <noscript> tag - styles */
noscript.no-javascript {
    margin: 40px;
    font-size: 30px;
    text-align: center;
    font-family: "Open Sans", serif;
    color: red;
}

/* main navigation styles */
nav.main-nav {
    background: #191919;
    padding: 25px;
    border-bottom: 1px solid #ffde16;
    box-shadow: 0 1px 2px 1px #cccccc;
}

/* navbar header styles */

/* main-nav ul li a styles */
#main-nav ul li a {
    color: #ffde16;
    font-family: "Lato", serif;
    font-weight: lighter;
    text-transform: uppercase;
    background: #191919;
    border-radius: 2px;
    margin: 0 3px 0 3px;
    font-size: 30px;
    transition: all 300ms;
}

#main-nav ul li a:hover {
    background: #2e3192;
}

/* main-nav ul li a, portraits dropdown li a ACTIVE styles */
#main-nav ul li a.item-active, ul#portraits-dropdown-menu li a.item-active {
    background: #2e3192;
}

/* portraits dropdown menu styles */
ul#portraits-dropdown-menu {
    color: #ffde16;
    font-family: "Lato", serif;
    font-weight: lighter;
    text-transform: uppercase;
    background: #191919;
    font-size: 18px;
    text-align: center;
    border-right: 1px solid #ffde16;
    border-left: 1px solid #ffde16;
    border-bottom: 1px solid #ffde16;
    border-top: none;
    box-shadow: 0 1px 2px 0 #cccccc;
    padding: 0;
    margin: 0;
    width: 217px;
}

/* portraits dropdown menu li a styles */
ul#portraits-dropdown-menu li a {
    width: 100%;
    border-radius: 0;
    margin: 0;
    padding: 8px;
    font-size: 18px;
}

/* portraits dropdown menu, "" li, a styles */
ul#portraits-dropdown-menu, ul#portraits-dropdown-menu li.last-child-miscellaneous a  {
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
}

/* portraits dropdown menu divider styles */
li#portraits-dropdown-menu-divider {
    background: #ffde16;
    padding: 0;
    margin: 0;
}

/* facebook icon link styles */
li.brand-icons, li.brand-icons a, .brand-icons, .brand-icons a {
    padding: 0;
    margin: 0;
    width: 0;
    height: 0;
    text-decoration: none;
}

li.brand-icons a i, .brand-icons a i {
    color: #2e3192;
    transition: 300ms ease-in-out;
    position: relative;
    top: 11px;

}

li.brand-icons a:nth-child(2) i {
    margin-left: 40px;
}

li.brand-icons a:nth-child(3) i {
    margin-left: 80px;
}

li.brand-icons a i:hover, .brand-icons a i:hover {
    color: #ffde16;
}

span.brand-icons {
    margin-bottom: 30px;
    padding-bottom: 30px;
}

span.brand-icons a i {
    padding: 5px;
    margin: 5px;
    font-size: 40px;
}

/* navbar logo (.navbar-brand) styles */
img.navbar-logo {
    width: 290px;
    height: 75px;
    top: -25px;
    position: relative;
}

/* toggle-collapse button (which is inside navbar-header) styles */
div.navbar-header button.main-nav-menu-btn {
    border: 2px solid #2e3192;
    background: transparent;
    transition: all 300ms;
    margin-right: 5px;
}

/* once button is in focus since it's toggled, then the background is the bootstrap default. Override that. */
div.navbar-header button.main-nav-menu-btn:focus {
    background: transparent;
}

div.navbar-header button.main-nav-menu-btn:hover {
    border: 2px solid #ffde16;
    background: #2e3192;
}

/* fix sticky :focus on :hover on mobile devices */
.mobileHoverFix:hover, .mobileHoverFix.hover {
    background-position: 0 0;
}

/* set icon-bar of main-nav-menu-btn button background styles */
div.navbar-header button.main-nav-menu-btn span.icon-bar, div.navbar-header button.main-nav-menu-btn span.icon-bar:focus {
    background: #ffde16;
}

div.navbar-header button.toggle-collapse:hover span.icon-bar {
    background: #fff;
}

/* activate this class in JS once user clicks main-nav-menu-btn styles */
div.navbar-header button.main-nav-menu-btn-clicked {
    border: 2px solid #ffde16;
    background: #2e3192 !important;
    transition: all 300ms;
}

/* image cycle wrapper container */
div.image-wrapper {
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
}

/* image cycle (images) plugin container */
div.image-cycle {
    height: calc(100vh - 235px);
    display: inline-block;
    margin-top: 20px;
}

/* image cycle images */
div.image-cycle img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 235px);
    margin-left: auto;
    margin-right: auto;
    /* for looks */
    border-radius: 2px;
    box-shadow: 0 0 50px #2b2b2b;
    /* prevent user drag and select */
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* homepage header inside of image-cycle div */
h1.homepage-header {
    padding-top: 15px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 30px;
    font-family: "Open Sans", serif;
    letter-spacing: 1px;
    color: #ffde16;
}

/* services list inside of image-cycle div (will only show up on x-s) */
p.services {
    margin-top: 15px;
    font-size: 23px;
    font-family: "Open Sans", serif;
    padding-bottom: 60px;
}

/* main page header */
h1.main-header {
    padding-top: 15px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 35px;
    font-family: "Open Sans", serif;
    letter-spacing: 1px;
    color: #ffde16;
}

/* portfolio options grid styles */
div.row-properties {
    max-width: 1200px;
    margin: 15px auto auto auto;
}

div#second-row-properties {
    margin: 0 auto auto auto;
}

.row-properties div.col-xs-12 > div {
    cursor: pointer;
}

.background1, .background2, .background3 {
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
}

div.thumbnail-properties {
    height: 400px;
    max-width: 600px;
    border-radius: 3px;
    border: 1px solid #ffde16;
    box-shadow: 0 0 50px #2b2b2b;
    padding: 0;
    transition: all 300ms;
}

div.thumbnail-properties:hover {
    opacity: 0.7;
}

div.caption {
    background: rgba(0, 0, 0, 0.70);
    position: relative;
    float: left;
    top: 80%;
    left: 50%;
    transform: translate(-50%, 57%);
    width: 100%;
}

div.caption h3 {
    font-family: Lato, sans-serif;
    text-transform: uppercase;
    font-size: 30px;
    text-shadow: 1px 1px 1px #2a2a2a;
    color: #ffde16;
    margin: 0;
    width: 100%;
}

.background1 {
    background: url(../assets/images/portfolio-options/lg/background1.jpg) center center no-repeat;
}

.background2 {
    background: url(../assets/images/portfolio-options/lg/background2.jpg) center center no-repeat;
}

.background3 {
    background: url(../assets/images/portfolio-options/lg/background3.jpg) center center no-repeat;
}

/*.background4 {*/
    /*background: url(../assets/images/portfolio-options/lg/background4.jpg) center bottom no-repeat;*/
/*}*/

/* portfolio images styles */

/* portfolio image wrapper styles */
div.portfolio-images {
    margin-top: 15px;
}

/* portfolio images styles */
div.portfolio-images img {
    transition: all .2s ease-out;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    /* prevent user drag and select */
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

div.portfolio-images img:hover {
    transform: scale(1.05);
}

/* portfolio vertical images styles */
div.portfolio-images img.vertical {
    height: 267px;
    width: 178px;
}

/* specific image of rabbi berger height styles */
div.portfolio-images img#rabbiberger-vertical {
    width: 214px;
    height: 267px;
}

/* portfolio images back to the top button */
button.back-to-top {
    background: #2e3192;
    color: #ffde16;
    font-size: 25px;
    width: 50px;
    height: 50px;
    box-shadow: 0 0 50px #2b2b2b;
    position: fixed;
    bottom: 60px;
    right: 40px;
    display: none;
    border-radius: 3px;
    transition: all .2s ease-in-out;
}

button.back-to-top:hover, button.back-to-top:focus {
    color: #ffde16;
    transform: scale(1.1);
    box-shadow: 0 0 100px #494949;
}

/* back to portfolio glyphicon link styles */
a.portfolio-back span, a.portfolio-back {
    top: -1px;
    position: relative;
    color: #cccccc;
    text-decoration: none;
    transition: all 300ms;
}

a.portfolio-back span:hover {
    color: #ffde16;
    text-decoration: none;
}

/* camera loader for portfolio styles */
#camera-loader {
    position: relative;
    margin: 60px auto 0 auto;
    height: 100px;
    width: 150px;
    border-radius: 10%;
    border: 5px solid #2e3192;
}

#camera-lens-border {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 15px;
    left: 55px;
    background-color: #ffde16;
    border-radius: 50%;
}

#camera-lens {
    position: absolute;
    border-style: solid;
    border-top-color: #2e3192;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    top: 4px;
    left: 7px;
    background-color: #CEE5ED;
    animation-name: camera-lens;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

#camera-button {
    position: absolute;
    width: 20px;
    height: 10px;
    border: solid #ffde16;
    border-radius: 30%;
    top: -17px;
    left: 15px;
    background-color: #191919;
    animation-name: camera-button;
    animation-duration: 1.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* loading header under camera loader styles */
h1.loading-header {
    padding-top: 15px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 22px;
    font-family: "Open Sans", serif;
    letter-spacing: 1px;
    color: #ffde16;
    text-transform: uppercase;
}

/* copyright warning on misc page styles */
.copyright-warning {
    color: #DD0000;
    font-family: "Open Sans", serif;
    font-weight: bold;
    margin: 10px 20px 5px 20px;
    line-height: 1.25;
}

/* buy-photos button on misc page styles */
button.buy-photos, button.buy-photos.center-block:active, button.buy-photos:after, button.buy-photos:focus {
    width: 175px;
    font-size: 19px;
    text-transform: uppercase;
    border-radius: 3px;
    background: #2e3192;
    color: #ffde16;
    border: 1px solid #ffde16;
    font-family: Lato, serif;
    margin-top: 15px;
    margin-bottom: 20px;
    transition: all .2s ease-in-out;
}

button.buy-photos:hover {
    transform: scale(1.01);
    background: #2e3192;
    color: #ffde16;
    border: 1px solid #ffde16;
    box-shadow: 0 0 50px #2b2b2b;
}

/* buy photos modal window styles */
div.bp-modal-content {
    border: 1px solid #ffde16;
    border-radius: 5px;
}

/* modal header (wrapper for title) */
div.bp-modal-header {
    background: #2e3192;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 1px solid #ffde16;
}

/* title for modal */
h4.bp-modal-title {
    font-family: "Lato", serif;
    font-size: 24px;
    text-transform: uppercase;
}

/* x button to close modal */
button.bp-modal-close {
    text-shadow: none;
    transition: all 300ms;
    color: #ffde16;
    font-size: 38px;
    top: -10px;
    position: relative;
    opacity: .4;
}

button.bp-modal-close:hover {
    color: #ffde16;
    opacity: 1;
}

/* modal body */
div.bp-modal-body {
    background: #191919;
    color: #ffde16;
    font-family: "Open Sans", serif;
    font-size: 18px;
}

/* modal footer */
div.bp-modal-footer {
    padding: 0;
    background: #2e3192;
    border-top: 1px solid #ffde16;
}

/* modal footer close button */
button.bp-modal-close-btn {
    margin: 8px auto;
    width: 175px;
    font-size: 19px;
    text-transform: uppercase;
    border-radius: 3px;
    background: #2e3192;
    color: #ffde16;
    border: 1px solid #ffde16;
    font-family: Lato, serif;
    transition: all .2s ease-in-out;
    box-shadow: 0 0 5px #ffde16;
}

button.bp-modal-close-btn:hover, button.bp-modal-close-btn:active {
    /*transform: scale(1.01);*/
    background: #2e3192;
    color: #ffde16;
    border: 1px solid #ffde16;
    box-shadow: 0 0 5px #2b2b2b;
}

/* bio text on about page styles */
p.bio {
    margin: 15px auto 75px auto;
    font-family: "Open Sans", serif;
    font-size: 26px;
    max-width: 700px;
}

p.bio > span.avail {
  display: inline-block;
  margin-top: 20px;
}

/* highlight text in bio styles */
span.bio-highlight {
    color: white;
}

/* main-footer styles */
footer.main-footer {
    border-top: 1px solid #ffde16;
    box-shadow: 0 1px 3px 1px #cccccc;
    background: #191919;
    opacity: 0.92;
    min-height: 42px;
}

/* main footer headings styles */
footer.main-footer h5 {
    font-family: "Open Sans", serif;
    margin-top: 5px;
    margin-bottom: 2px;
    font-size: 13px;
}

/* Media Queries */

/* once navbar cannot stay without breakpoints (1st): 1175px */
@media (max-width: 1177px) {
    body {
        margin-top: 85px;
    }
    nav.main-nav {
        padding: 11px;
    }
    a.navbar-brand {
        padding-right: 0;
    }
    img.navbar-logo {
        width: 195px;
        height: 50px;
        top: -15px;
        left: -10px;
        position: relative;
    }
    #main-nav ul li a {
        font-size: 25px;
    }
    ul#portraits-dropdown-menu {
        width: 200px;
    }
    ul#portraits-dropdown-menu li a {
        font-size: 18px;
    }
    /* facebook icon */
    li.brand-icons a i {
        top: 13px;
        position: relative;
    }
    /* image cycle */
    div.image-cycle {
        margin-top: 5px; /* reset margin-top from global above */
    }
    /* homepage header and portfolio header */
    h1.homepage-header, h1.main-header {
        padding-top: 0;
        padding-bottom: 10px;
    }
    /* portfolio images styles */
    div.portfolio-images {
        margin-top: 0;
    }
    /* copyright warning on misc portfolio page */
    .copyright-warning {
        margin: 0 15px 5px 15px;
    }
    /* buy-photos link on misc portfolio page */
    button.buy-photos {
        margin-bottom: 20px;
    }
}

@media (max-width: 1223px) {
    div.portfolio-images img:hover {
        transform: none;
    }
}

/* once navbar cannot stay without breakpoints (2nd): 955px */
@media (max-width: 955px) {
    img.navbar-logo {
        width: 180px;
        height: 47px;
        top: -13px;
        position: relative;
    }
    #main-nav ul li a {
        font-size: 22px;
    }
    ul#portraits-dropdown-menu {
        width: 178px;
    }
    ul#portraits-dropdown-menu li a {
        font-size: 16px;
    }
}

/* once navbar cannot stay without breakpoints (3rd): 885px */
@media(max-width: 885px) {
    #main-nav ul li a {
        padding: 15px 10px 15px 10px;
    }
    /* facebook icon */
    li.brand-icons a i {
        top: 13px;
        position: relative;
    }
    li.brand-icons a {
        padding: 0 !important;
    }
    ul#portraits-dropdown-menu {
        width: 180px;
    }
    ul#portraits-dropdown-menu li a {
        font-size: 16px;
    }
}

@media (max-width: 828px) {
    #main-nav ul li a {
        font-size: 22px;
        padding: 15px 5px 15px 5px;;
    }
    /*ul#portraits-dropdown-menu {
        width: 111px;
    }*/
    ul#portraits-dropdown-menu li a {
        font-size: 16px;
    }
}

/* MIN-WIDTH - Tablet screen size (right before mobile menu shows up) 768px */
@media (min-width: 768px) {
    /* show dropdown menu on hover of "Portfolio" link */
    ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;
        animation-name: showPortfolioDropdown;
        animation-duration:.4s;
        animation-iteration-count: 1;
        animation-timing-function: ease;
        animation-fill-mode: forwards;
        -webkit-animation-name: showPortfolioDropdown;
        -webkit-animation-duration:.4s;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-timing-function: ease;
        -webkit-animation-fill-mode: forwards;
        -moz-animation-name: showPortfolioDropdown;
        -moz-animation-duration:.4s;
        -moz-animation-iteration-count: 1;
        -moz-animation-timing-function: ease;
        -moz-animation-fill-mode: forwards;
    }
}

/* MAX-WIDTH - Tablet screen size (right after mobile menu shows up) 767px */
@media (max-width: 767px) {
    /* reset logo size from last media query */
    img.navbar-logo {
        width: 195px;
        height: 50px;
        top: -15px;
        left: -10px;
        position: relative;
    }
    /* hide dropdown caret since dropdown will not show during mobile burger menu */
    span.dropdown-caret {
        display: none;
    }
    /* style up navbar for burger mobile menu */
    nav.main-nav {
        padding: 10px;
    }
    /* navbar-collapse div */
    div#main-nav {
        top: 8px;
        position: relative;
        text-align: center;
    }
    #main-nav ul li a {
        margin: 5px 0 5px 0;
        padding: 10px 5px 10px 5px;
    }
    /* homepage header styles for mobile */
    h1.homepage-header {
        font-size: 30px;
    }
    /* brand icon */
    li.brand-icons a i {
        display: none;
    }
    /* x close button on buy photos modal */
    button.bp-modal-close {
        opacity: 1;
    }
}

@media (max-width: 715px) {
    p.bio {
        margin: 15px 15px 75px 15px;
    }
}

@media (max-width: 700px) {
    /* homepage header styles */
    h1.homepage-header {
        font-size: 25px;
    }
}

@media (max-width: 600px) {
    /* homepage header styles */
    h1.homepage-header {
        font-size: 22px;
    }
    /* portfolio options thumbnail properties styles */
    div.thumbnail-properties {
        height: 275px;
        max-width: 410px;
    }
    /* portfolio options thumbnail captions styles */
    div.caption {
        position: relative;
        float: left;
        top: 80%;
        left: 50%;
        transform: translate(-50%, 7%);
        width: 100%;
    }
    /* background images of portfolio options thumbnails */
    .background1 {
        background: url(../assets/images/portfolio-options/md/background1.jpg) center center no-repeat;
    }

    .background2 {
        background: url(../assets/images/portfolio-options/md/background2.jpg) center center no-repeat;
    }

    .background3 {
        background: url(../assets/images/portfolio-options/md/background3.jpg) center center no-repeat;
    }

    /*.background4 {*/
        /*background: url(../assets/images/portfolio-options/md/background4.jpg) center bottom no-repeat;*/
    /*}*/
}

@media (max-width: 430px) {
    div.portfolio-images img {
        width: 100%;
    }
}


@media (max-width: 422px) {
    /* portfolio options thumbnail properties styles */
    div.thumbnail-properties {
        height: 250px;
        max-width: 600px;
    }
    /* portfolio options thumbnail captions styles */
    div.caption {
        position: relative;
        float: left;
        top: 80%;
        left: 50%;
        transform: translate(-50%, -2%);
        width: 100%;
    }
    /* background images of portfolio options thumbnails */
    .background1 {
        background: url(../assets/images/portfolio-options/sm/background1.jpg) center center no-repeat;
    }

    .background2 {
        background: url(../assets/images/portfolio-options/sm/background2.jpg) center center no-repeat;
    }

    .background3 {
        background: url(../assets/images/portfolio-options/sm/background3.jpg) center center no-repeat;
    }

    /*.background4 {*/
        /*background: url(../assets/images/portfolio-options/sm/background4.jpg) center bottom no-repeat;*/
    /*}*/
}



/* @Keyframes */

/* For Portfolio dropdown:hover fadeIn */
@keyframes showPortfolioDropdown {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* For Portfolio dropdown:hover fadeIn (-webkit) */
@-webkit-keyframes showPortfolioDropdown {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* for camera loader for portfolio images */
@keyframes camera-lens {
    0% {
        transform: rotate(0deg);
    }
    85% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes camera-button {
    0% {
        transform: scaleY(1) translateY(0);
    }
    85% {
        transform: scaleY(1) translateY(0);
    }
    95% {
        transform: scaleY(0.5) translateY(5px);
    }
    100% {
        transform: scaleY(1) translateY(0px);
    }
}