﻿/* Global font sizes adjustments */
h1, .h1 {
    font-size: 3rem;
}

h2, .h2 {
    font-size: 2rem;
}

p {
    font-size: 1.3rem;
}

a {
    color: #E65521;
}

    a:hover {
        color: #E65521;
        text-decoration: underline;
    }

    a:focus {
        color: #E65521;
        text-decoration: none;
    }

    a:hover img {
        opacity: 1;
    }


/* Newspaper serif font */
@font-face {
    font-family: guardi;
    src: url(/Content/Fonts/Guardi_Font.ttf);
}


.full-bg {
    /* The image used */
    background-image: url("bg-1.jpg");
    /* Full height */
    height: 100vh;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .full-bg .container {
        /* Full height */
        height: 100%;
    }

.row-half-h {
    height: 50%;
}

/* custom modal (prefix "as-") */
.as-modal {
    display: none;
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 1050; /* same z-index as bootstrap modal */
    background-color: rgba(58, 58, 58, 0.95);
}

    .as-modal.as-modal-open {
        display: block;
    }

    .as-modal .container {
        height: 100%;
    }

    .as-modal .as-modal-row {
        height: 100%;
    }

        .as-modal .as-modal-row .as-modal-col {
            background-color: white;
            border-radius: 2px;
            padding-top: 15px;
            padding-bottom: 15px;
            overflow-y: auto;
        }

    .as-modal h1 {
        color: black;
    }

    .as-modal a img {
        opacity: 0.7;
    }

    .as-modal button.close {
        font-size: 3rem;
        font-weight: 400;
    }

/* responsive options for cusom modal */
@media screen and (max-width: 576px) { /* make modal full screen for xs screens */
    .as-modal .as-modal-row .as-modal-col {
        height: 100vh;
        border-radius: 0px;
    }
}

body.as-modal-open {
    overflow: hidden;
}

/* custom navbar (prefix "as-")*/
.as-navbar {
    /*background-color: rgba(0,0,0,0);*/
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* same z-index as bootstrap navbar */
    height: 120px; /* logo 70px plus 25px margin */
}

    /* custom navbar item link */
    .as-navbar .as-navbar-item a, .as-navbar-mobile-menu .as-navbar-item a {
        text-decoration: none;
        color: white;
        font-size: 1.6rem;
        text-align: right;
    }

        .as-navbar .as-navbar-item a:hover, .as-navbar-mobile-menu .as-navbar-item a:hover {
            color: #E65521;
        }

    /* active navbar link */
    .as-navbar .as-navbar-item .active, .as-navbar-mobile-menu .as-navbar-item .active {
        color: #E65521;
    }

    .as-navbar .logo {
        height: 70px;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    /* customize hamburger */
    .as-navbar .hamburger-inner, .as-navbar .hamburger-inner:after, .as-navbar .hamburger-inner:before {
        background-color: white;
    }

/* custom navbar mobile menu */
.as-navbar-mobile-menu {
    position: fixed;
    height: 70vh;
    width: 100vw;
    background-color: black;
    z-index: 990; /* z-index behind than as-navbar */
    display: none;
}

    .as-navbar-mobile-menu .container, .as-navbar-mobile-menu .row {
        height: 100%;
    }



/* Make h1 color white */
h1 {
    color: white;
}

    /* Orange underline for h1*/
    h1.ul::after {
        content: "";
        display: block;
        width: 100%;
        height: 25px;
        background: #E65521;
        margin-top: 10px;
    }

/* Orange underline for h2*/
h2.ul::after {
    content: "";
    display: block;
    width: 100%;
    height: 15px;
    background: #E65521;
    margin-top: -1px;
}

.col-intro p {
    color: white;
}

@media screen and (min-width: 992px) {
    .two-col {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}


/* Rows for the one page layout*/
.container-row {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

    .container-row .row-title {
        padding-bottom: 1.5rem;
    }

/* portfolio modal styles */
#portfolioModal {
    font-family: guardi; /* Newspaper serif Font */
}

    #portfolioModal .pf-pdf-link {
        display: inline-block;
        margin-bottom: 15px;
    }

    #portfolioModal .pf-prev img, #portfolioModal .pf-next img {
        width: 80px;
        opacity: 0.6;
    }

        #portfolioModal .pf-prev img:hover, #portfolioModal .pf-next img:hover {
            opacity: 1;
        }

    #portfolioModal .pf-title {
        margin-bottom: 30px;
    }

    #portfolioModal .pf-text {
        margin-bottom: 30px;
    }

/*#portfolioModal .as-modal-col {
        min-height: 50vh;
    }*/


.pf-wrapper {
    display: flex;
    flex-wrap: wrap;
}

    .pf-wrapper .pf-link {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-height: 180px;
        width: 33%;
        text-decoration: none;
        border-right: 7.5px solid white;
        border-left: 7.5px solid white;
        border-bottom: 15px solid white;
        padding: 15px;
    }

        .pf-wrapper .pf-link h3, .pf-wrapper .pf-link .h3 {
            font-size: 1.5rem;
            font-family: guardi;
            color: black;
            text-align: center;
            /*text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;*/
        }

/* Portfoliod cards, little squares used to preview a portfolio entry */
/*.col-pf {
    min-height: 180px;
    border-right: 15px solid white;
    border-bottom: 15px solid white;
    font-family: guardi; 
}

    .col-pf h3, .col-pf .h3 {
        font-size: 1.5rem;
    }*/


/* 
    Remove border left and right for screens xs and sm and reduce height
    and make them 100% wide
*/
@media screen and (max-width: 768px) {
    .pf-link {
        border-left: 0 !important;
        border-right: 0 !important;
        height: auto;
        min-height: 120px !important;
        width: 100% !important;
    }
}

/*  
    Remove border from first and last element in line, but only 
    for screens bigger than sm
*/
@media screen and (min-width: 768px) {
    .pf-link-0, .pf-link-3, .pf-link-6 {
        border-left: 0 !important;
    }

    .pf-link-2, .pf-link-5, .pf-link-8 {
        border-right: 0 !important;
    }
}