/*--------------------------------------------------------------
NORMALIZE
--------------------------------------------------------------*/

* {
    box-sizing: border-box;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #555555;
    text-decoration: underline;
}

a:hover {
    color: #555555;
    text-decoration: none;
}


/*--------------------------------------------------------------
BACKGROUND
--------------------------------------------------------------*/

.bg-image-cover {
    object-fit: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-overlay {
    position: relative;
    z-index: 1;
}

.bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: .7;
    z-index: -1;
}

.bg-black {
    background-color: #000000;
}

.bg-gray {
    background-color: #f9f9f9;
}


/*--------------------------------------------------------------
TYPOGRAPHY
--------------------------------------------------------------*/

.font-weight-300 {
    font-weight: 300;
}

.text-default {
    color: #888888;
}


/*--------------------------------------------------------------
FORMS
--------------------------------------------------------------*/

.form-control-dominic {
    border-radius: 0;
    border: 2px solid #f9f9f9;
    padding: 15px;
    font-size: 20px;
    background-color: #f9f9f9;
}

.form-control-dominic:focus {
    border-color: #333333;
    background-color: #f9f9f9;
}

textarea.form-control-dominic {
    min-height: 200px;
}

.form-control-dominic.wpcf7-not-valid {
    border-color: #dc3545;
}


/*--------------------------------------------------------------
BUTTONS
--------------------------------------------------------------*/

.btn-dominic {
    display: inline-block;
    outline: none;
    border-radius: 0;
    border: 2px solid transparent;
    padding: 12px 40px;
    color: #111111;
    font-size: 17px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    background-color: transparent;
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}


.btn-dominic.btn-dominic-black {
    border-color: #111111;
    color: #ffffff;
    background-color: #111111;
}

.btn-dominic.btn-dominic-black:hover {
    border-color: #333333;
    background-color: #333333;
}

.btn-dominic.btn-dominic-black:active {
    border-color: #444444;
    background-color: #444444;
}

.btn-dominic.btn-dominic-black:focus {
    outline: none;
}

/*--------------------------------------------------------------
TOOLTIPS
--------------------------------------------------------------*/

.tooltip.show {
    opacity: 1;
}

.tooltip-inner {
    max-width: 300px;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 1.2;
    opacity: 1;
}


/*--------------------------------------------------------------
HELPERS
--------------------------------------------------------------*/

.select-none {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/*--------------------------------------------------------------
HEADER
--------------------------------------------------------------*/
.outdated-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #777777;
    padding: 12px 50px 12px 15px;
    text-align: center;
    font-size: 16px;
    background-color: rgba(44, 44, 52, 0.9);
    box-shadow: 0 14px 28px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 22%);
    z-index: 20;
}


/*--------------------------------------------------------------
FOOTER
--------------------------------------------------------------*/

.scroll-to-top-btn {
    position: fixed;
    bottom: -100px;
    right: 15px;
    width: 50px;
    height: 45px;
    font-size: 35px;
    line-height: 42px;
    cursor: pointer;
    z-index: 20;
    -webkit-transition: transform .3s ease-in-out;
    -moz-transition: transform .3s ease-in-out;
    -ms-transition: transform .3s ease-in-out;
    -o-transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
}

.scroll-to-top-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: .5;
    z-index: -1;
    -webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -ms-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}

.scroll-to-top-btn:hover::before {
    opacity: 1;
}

.scroll-to-top-btn.show {
    -webkit-transform: translateX(-15px);
    -moz-transform: translateX(-15px);
    -ms-transform: translateX(-15px);
    -o-transform: translateX(-15px);
    transform: translateY(-115px);
}


.footer-main .social {
    cursor: default;
}

.footer-main .social a {
    display: inline-block;
    padding: 8px 12px;
    color: #999999;
    font-size: 30px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

.footer-main .social a:hover {
    color: #1b1e21;
}


/*--------------------------------------------------------------
PAGE BANNER
--------------------------------------------------------------*/

.page-banner-full {
    position: relative;
    min-height: 100vh;
}

.page-banner-full .scroll-to-bottom {
    position: absolute;
    bottom: 2%;
    left: 0;
    width: 100%;
    text-align: center;
}

.page-banner-full .scroll-to-bottom > a {
    display: inline-block;
    width: 40px;
    height: 40px;
    color: #ffffff;
    font-size: 35px;
    line-height: 40px;
}

.page-banner-title {
    font-size: 50px;
    line-height: 1;
}

.page-banner-content {
    font-size: 22px;
    letter-spacing: .2rem;
    text-transform: uppercase;
}

/*--------------------------------------------------------------
PANEL
--------------------------------------------------------------*/

.panel-title {
    font-size: 40px;
}

.panel-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}


/*--------------------------------------------------------------
HOME
--------------------------------------------------------------*/

.home-work .collapsed > .work-item {
    display: none;
}

.home-work .collapsed > .work-item:first-child,
.home-work .collapsed > .work-item:nth-child(2),
.home-work .collapsed > .work-item:nth-child(3),
.home-work .collapsed > .work-item:nth-child(4) {
    display: block;
}

.home-work .work-item {
    display: block;
    -webkit-animation: slide-up .8s;
    -o-animation: slide-up .8s;
    animation: slide-up .8s;
}

.home-work .work-item:first-child,
.home-work .work-item:nth-child(2),
.home-work .work-item:nth-child(3),
.home-work .work-item:nth-child(4) {
    -webkit-animation: none;
    -o-animation: none;
    animation: none;
}

.home-work .work-item a {
    position: relative;
}

.home-work .work-item a:hover::before {
    opacity: .2;
}

.home-work .work-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 0;
    -webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -ms-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}

.home-work .work-item h3 {
    font-size: 27px;
}


.home-contact span.wpcf7-not-valid-tip {
    display: none;
}

.home-contact div.wpcf7-response-output {
    position: relative;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    margin: 30px 0 0;
    text-align: center;
    padding: 0;
    color: #1b1e21;
    font-size: 18px;
    line-height: 1.4;
    overflow: hidden;
    z-index: 1;
}

.home-contact div.wpcf7-response-output.wpcf7-validation-errors {
    color: #dc3545;
}

.home-contact div.wpcf7-response-output.wpcf7-mail-sent-ok {
    color: #28a745;
}

.home-contact div.wpcf7 .ajax-loader {
    display: none;
    width: 17px;
    height: 19px;
    margin: 13px;
    background-image: none;
    color: #000000;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 20px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}

.home-contact div.wpcf7 .ajax-loader.is-active {
    display: inline-block;
}

.home-contact div.wpcf7 .ajax-loader::before {
    content: '\f021';
}


/*--------------------------------------------------------------
ANIMATIONS
--------------------------------------------------------------*/

@-webkit-keyframes slide-up {
    from {
        bottom: -50px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@keyframes slide-up {
    from {
        bottom: -50px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}


@-webkit-keyframes bounce {
    0%, 10%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        transform: translateY(-15px);
    }

    60% {
        -webkit-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 10%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        transform: translateY(-15px);
    }

    60% {
        -webkit-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

.animation-bounce {
    -webkit-animation: bounce 2s ease infinite;
    animation: bounce 2s ease infinite;
}


/*--------------------------------------------------------------
MEDIA QUERIES
--------------------------------------------------------------*/

@media only screen and (max-width: 767px) {

    /*--------------------------------------------------------------
    FORMS
    --------------------------------------------------------------*/

    .form-control-dominic {
        font-size: 16px;
    }


    /*--------------------------------------------------------------
    PAGE BANNER
    --------------------------------------------------------------*/

    .page-banner-title {
        font-size: 40px;
    }

    .page-banner-content {
        font-size: 18px;
    }


    /*--------------------------------------------------------------
    PANEL
    --------------------------------------------------------------*/

    .panel-title {
        font-size: 30px;
    }

    .panel-content {
        font-size: 16px;
    }

    .home-work .work-item h3 {
        font-size: 22px;
    }
}