/* Bootstrap overrides */

.my-color {
	color: #007bff; /* default blue */
	color: rgb(0,123,255); /* default blue */
}


body {
    font-family: 'Montserrat', sans-serif;
    /* font-family: 'Montserrat Alternates', sans-serif; */
    /* font-family: 'Montserrat Subrayada', sans-serif; */
}

footer {
	width: 100%;
	clear: both;
	margin-top: 20px !important;
}

/* footer .container {
    float: left;

} */


footer svg {
    position: inline-block;
}

a {
    color: #0056b3;
}

.navbar-brand span { /* Hide text for... */
    /* display: none;
    font-size: 0; */
    position: absolute;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
    top: 50%;
}

/*
.bg-dark {
    background-color: rgb(0,123,255,0.95) !important;
    background-color: rgb(53,83,166,.97) !important;
}
*/


.navbar.bg-dark {
    /* background-image: linear-gradient(to right, rgba(68,119,153,.8 ), rgba(34,68,136,.9), rgba(17,34,102,1)) !important; */
    background-image: linear-gradient(to right, rgba(68,119,153,.97), rgba(34,68,136,98), rgba(17,34,102,1)) !important;
    /* background-color: blue !important;
    background-color: transparent !important; */
    /* background-image: linear-gradient(to right, rgba(34,68,136,.9), rgba(34,68,136,.9), rgba(17,34,102,1)) !important;
    background-color: transparent !important; */
}

/* .navbar .menu-cat {
    background-color: green;
    color: #fff;
} */

/* .navbar .menu-cat:hover {
    background-color: purple;
    color: #fff;
} */ 

.menu-cat a,
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.7);
}

.menu-cat a,
.navbar-dark .navbar-nav .nav-link:focus, 
.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255,255,255,1);
}

/* Styling for sub sub menu */
.dropdown-submenu .nav-link.dropdown-toggle {
    color: #212529;
    padding: .25rem 1.5rem;
}

/* .dropdown-item.menu-cat, */
ul.nav li li:hover,
.dropdown-item:hover {
    color: rgba(255,255,255,1);
    text-decoration: none;
    background-color: transparent;
    background-image: linear-gradient(to right, rgba(68,119,153,.9 ), rgba(34,68,136,.9), rgba(17,34,102,1));
    background-color: rgba(68,119,153,1 );
}

.dropdown-item.menu-cat,
.dropdown-item.menu-cat:hover {
    background-image: none;
    background-color: #e9ecef !important;
    color: rgba(17,34,102,1);
}

/* $btn $button */

body#contact .btn-wrapper {
    text-align: center;
}

.btn-primary {
    background-color: rgba(34,68,136,.9);
    border: 0 none;
    position: relative;
}

.btn-primary:hover {
    background-color: rgba(17,34,102,1);
    border: 0 none;
}

.btn-contact.btn-primary.btn-grp-1 {
    margin: 0 auto;
    text-align: center;
}


.btn-contact a,
.btn-contact a:hover {
    color: #fff;
}





/* $icons */

.navbar .icon-svg {
    fill: #fff;
    height: 30px;
    width: auto;

    transition: fill 1s;
}

.navbar .icon-svg:hover {
    fill: rgba(255,255,255,0.2);
    transition: fill 2s;
}

.icon, 
.icon-man, 
.icon-tools{
    height: 30px;
    fill: rgba(0,123,255, 0.9);
}

.main.portfolio .icon {
    height: 40px;
    width: 40px;
}

.main.portfolio .icon-svg:hover {
    fill: url(#my-cool-gradient) #447799;
    cursor: pointer;
}

.main.portfolio .icon-home {
    height: 50px;
}

.icon {
    /* gradient and fallback color */
    fill: url(#my-cool-gradient) #447799;
}

.end-mark {
    display: inline;
    /* border: 1px solid red; */
}

.end-mark svg {
    height: 15px;
    width: 15px;
    margin: 0 5px 3px 5px;
    /* border: 1px solid green; */
}

    /* Card svg - just front page for now */
    .svg-wrapper {
        width: 100%;
        text-align: center;
        padding: 30px 10px 10px 10px;
    }

    .card svg {
        height: 100px;
        /* transform: rotate(180deg); */
    }

    /* .card:hover .svg-wrapper {
        background-color: rgb(0,0,0,0.4);
        background-color: url(#my-cool-gradient) #447799;;
    } */

    /*
    .card:hover svg {
        fill: #fff;
        z-index: 99999;
    }
    */

    /* END card SVG */

footer .icon-sig {
    height: 50px;
    width: 55px;
    margin: 0;
    /* margin-top: 15px; */
}

.btn-primary.btn-grp-1 {
    min-width: 160px;
    text-align: left;
}

.btn-bolt {
     padding-left: 35px;
    padding-bottom: 5px;
}

.btn-bolt .icon-bolt {
    position: absolute;
    top: 6px;
    left: 8px;

    display: inline-flex;
    align-self: center;

    height: 20px;
    width: auto;
    fill: #fff;
    fill: rgba(255, 255, 255, .5);
}



.btn-primary:hover .icon-bolt {
    fill: yellow;
}

/* END Icons */

/* image gallery */
.nav-total {
    display: inline-block;
    min-width: 75px;
}



.main.container {
	margin-top: 100px;
	overflow: hidden
}

body#home .main.container {
	margin-top: 0;
}

h1 {
	/* font-family: 'Montserrat-black'; */
	font-weight: 900;
	text-transform: uppercase;
}

.center {
	text-align: center;
}

.port-image {
	border: 1px solid #ccc;
}

/* $cards */
body#home .card {
	/* min-height: 400px; */
    /* position: relative; */
}

body#home .col-md-4.d-flex {
    justify-content: center;
}


body#home .card {
    min-width: 100%;
}

body#home .card-content a {
    color: #212529;
}

body#home .card {
    z-index: 1;
}


/* body#home .card-content a:hover,
body#home .card-content a:active,
body#home .card-content a:focus {
    color: #fff;
    text-decoration: none;
}

body#home .card:hover,
body#home .card:active,
body#home .card:focus {
    color: #fff;
} */

body#home .card-content a:hover,
main.category-page .card-content a:hover {
    color: #fff;
    text-decoration: none;
}

main.category-page .card-content .error a:hover {
    color: rgb(0, 86, 179);
    text-decoration: underline;
}

body#home .card:hover,
main.category-page .card:hover {
    color: #fff;
}

body#home .card:hover:after,
body#home .card:active:after,
body#home .card:focus:after,

main.category-page .card:hover:after,
main.category-page .card:active:after,
main.category-page .card:focus:after {
    content: " ";
    position: absolute;
    background-image: linear-gradient(to right, rgb(68,119,153 ), rgb(34,68,136), rgb(17,34,102));
    opacity: 0.7;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 2px;

} 

main.category-page .card:hover .card-body {
	background-image: linear-gradient(to right, rgb(68,119,153 ), rgb(34,68,136), rgb(17,34,102));
}

/* body#home .card:hover .card-body, */
body#home .card:hover {
    background-image: linear-gradient(to right, rgb(68,119,153 ), rgb(34,68,136), rgb(17,34,102));
}

body#home .card:hover svg {
    fill: #fff;
}


body#home .card:hover img.border-bottom, 
main.category-page .card:hover img.border-bottom {
    border-bottom: 1px solid rgb(34,68,136) !important;
}

.card .card-body {
    z-index: 100;
}

/* END cards */

/* $jumbotron */

body#home .jumbotron,
body#art .jumbotron {
    background-color: #fff;
}


.jumbotron {
    margin: 0 auto;
}

body#art .jumbotron img {
    width: 100%;
}

.jumbotron.dark-theme {
    background-color: #212529;
}


.jumbotron.dark-theme * {
    color: #fff;
}


.jumbotron .icon-rob-text {
    display: block;
    width: 80%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
    text-align: center;
}

/* Jumbotron - Specifics */
body .jumbotron {
    position: relative;
}

body .jumbotron .container {
    z-index: 100;
    position: relative;
}

body#bespin-brew .jumbotron {
    position: relative;
    overflow: hidden;
}

body#bespin-brew .jumbotron:before {
    content: " ";
    position: absolute;
    width: 800%;
    height: 800%;
    top: -300%;
    left: -300%;
    background: url('../images/projects/bespin-brew/backgrounds/mugs-all-pattern-v2-95-brown.png') 0 0 repeat;
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
}


body#ebay .jumbotron:before {
    content: " ";
    position: absolute;

    background-image: linear-gradient(
        122deg, 
        rgba(229,50,56,1), 
        rgba(229,50,56,1) 25%, 
        rgba(0,100,210,1) 25%, 
        rgba(0,100,210,1) 50%, 
        rgba(245,175,2,1) 50%, 
        rgba(245,175,2,1) 75%, 
        rgba(134,184,23,1) 75%, 
        rgba(134,184,23,1) 100% );
    
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

body#suncoke-energy .jumbotron {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}

body#suncoke-energy .jumbotron:before {
    content: " ";
    position: absolute;
    background-image: linear-gradient(145deg, rgba(34,68,136,0.8) 30%, rgba(192,184,171,0.8) );
    opacity: 0.9;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}


body#tofu .jumbotron {
    background: url("../images/projects/tofu/patterns/pat-tofu-2.png") repeat;
    position: relative;

}



body#tofu .jumbotron:before {
        content: " ";
        position: absolute;

        /* background-image: linear-gradient(145deg, rgba(255,255,255,0.95) 30%, rgba(192,184,171,0.8) ); */
        background-image: linear-gradient(145deg, rgba(34,68,136,.98) 60%, rgba(192,184,171,0.9) );
        
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        /* z-index: 1; */
}

body#tofu .jumbotron:after {
        content: " ";
        background: url("../images/projects/tofu/background/tofu-nav-bg-white.png") 90% 0px no-repeat;
        background-size: 600px auto;
        opacity: 0.05;
        position: absolute;
        
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        /* z-index: 1; */
}



body#logos .jumbotron {
    background: url("../images/logos/pat-logos-1-45.jpg") repeat;
    /* color: #fff; */
    border-bottom: 1px solid #ddd;
}

body#logos .jumbotron:before {
        content: " ";
        position: absolute;

        /* background-image: linear-gradient(145deg, rgba(255,255,255,0.95) 30%, rgba(192,184,171,0.8) );
        background-image: linear-gradient(145deg, rgba(34,68,136,.90) 60%, rgba(192,184,171,0.9) ); */

        background-image: linear-gradient(0deg, rgba(3255,255,255,.6) 10%, rgba(255,255,255,.95) 30% );
        /* background-color: rgba(0,0,0,0.9);
        background-color: rgba(255,255,255,0.93); */
        
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        /* z-index: 1; */
}


/* $articles */
/* $callout */

body#home, .jumbotron,
.article {
    margin-top: 50px;
    /* margin-top: 58px; */
}

.article .main-text h5,
.article .main-text h6 {
    font-weight: bold;
}

.article .callout { 
    position: relative;
    /* border: 1px solid #dee2e6; */
    padding: 10px;
    background-color: rgba(17,34,102,.07);
    border-radius: 2px;
}

.article .callout  svg {
    position: absolute;
    
}

.article .callout h4,
.article .callout h5,
.article .callout p {
    margin-left: 35px;
}

.article .callout p {
    font-size: 14px;
    line-height: normal;
    margin-bottom: .5rem;
}

.callout-comment {
    position: relative;
    padding-top: 5px;
    padding-left: 10px;
    font-size: .7rem;
}

.callout-comment:before {
    content: "*";
    position: absolute;
    padding-top: 5px;
    left: 0px;
}

/* .article .col-md {
    position: relative;
} */

.article .main-text p:last-of-type  {
    display: inline; /* Places Block R signature at end of last paragraph */
}

.article .main-text br {
    margin-bottom: 10px;
}


/* .article .thumbs {
    position: relative;
    display: flex;
} */

/* .article .thumbs {
    justify-content: center;
} */

.article .thumbs .image-wrapper {
    position: relative;
    overflow: hidden;
    width: auto;
}

.article .thumbs .image-wrapper:hover:before {
    content: " ";
    position: absolute;
    background-image: linear-gradient(to right, rgb(68,119,153 ), rgb(34,68,136), rgb(17,34,102));
    opacity: 0.7;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 2px;
}

.article .thumbs .image-wrapper:hover:after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 48px;
    font-weight: bold;
    color: #fff;
    z-index: 2;
}

.article .thumbs > div:nth-child(1) .image-wrapper:hover:after {
    content: "1";
}

.article .thumbs > div:nth-child(2) .image-wrapper:hover:after {
    content: "2";
}

.article .thumbs > div:nth-child(3) .image-wrapper:hover:after {
    content: "3";
}

.article .thumbs > div:nth-child(4) .image-wrapper:hover:after {
    content: "4";
}

.article .thumbs > div:nth-child(5) .image-wrapper:hover:after {
    content: "5";
}

.article .thumbs > div:nth-child(6) .image-wrapper:hover:after {
    content: "6";
}
.article .thumbs > div:nth-child(7) .image-wrapper:hover:after {
    content: "7";
}

.article .thumbs > div:nth-child(8) .image-wrapper:hover:after {
    content: "8";
}

.article .thumbs > div:nth-child(9) .image-wrapper:hover:after {
    content: "9";
}

.article .thumbs > div:nth-child(10) .image-wrapper:hover:after {
    content: "10";
}

.article .thumbs > div:nth-child(11) .image-wrapper:hover:after {
    content: "11";
}

.article .thumbs > div:nth-child(12) .image-wrapper:hover:after {
    content: "12";
}



@media all and (max-width: 990px) {
    .dropdown-menu {
        border: 0;
    }
}

/* Test menu */

.megamenu {
  position: static;
}

.megamenu .dropdown-menu {
  background: none;
  border: none;
  width: 100%;
}

/* END test menu */


/* mega menu test CSS */



/* END Mega Menu Test CSS */






/* .jumbotron h1.display-4 {
    font-size: 3.5rem;
}

@media screen and (min-width: 320px) {
    .jumbotron h1.display-4 {
        font-size: calc(3.5rem + 6 * ((100vw - 320px) / 680));;
    }
}

@media screen and (min-width: 1000px) {

} */

/*
html {
  font-size: 16px;
}
@media screen and (min-width: 320px) {
  html {
    font-size: calc(16px + 6 * ((100vw - 320px) / 680));
  }
}
@media screen and (min-width: 1000px) {
  html {
    font-size: 22px;
  }
}
*/

.row.card-content {
    position: relative;
}

.anchor {
    position: absolute;
    top: -130px;
    z-index: -999;
}


/* Animations */

/* Rob - self portrait */

@keyframes anime-right-arm {
    0% {
       transform: translateY(-5px) translateX(15px);
    }
    50% {
       /* transform: rotatey: 7deg); */
       transform: rotateX(-1deg);
       transform-origin: bottom right;
    }
    100% {
       transform: rotateX(4deg) translateY(-3px);
       transform-origin: bottom right;
    }
}


@keyframes anime-left-arm {
    0% {
       transform: rotate(0deg);
       left: -5px;
    }
    50% {
       transform: translateX(10px);

    }
    100% {
       transform: translateX(-3px); rotateX(-2deg);
    }
}

@keyframes anime-text-1 {
    0% {
       opacity: 0;
    }
    50% {
       opacity: .5;
    }
    100% {
       opacity: 0
    }
}

@keyframes anime-text-2 {
    0% {
       opacity: .7;
    }
    50% {
       opacity: 0;
    }
    100% {
       opacity: .5;
    }
}



#arms_-_right {
    animation-name: anime-right-arm;
    animation-duration: 2.5s;
    /* animation-delay: 4s; */
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

#arms_-_Left {
    animation-name: anime-left-arm;
    animation-duration: 2s;
    /* animation-delay: 2s; */
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

#laptop_text_1 {
    animation-name: anime-text-1;
    animation-duration: 3s;
    /* animation-delay: 2s; */
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;

    display: block !important;
}

#laptop_text_2 {
    animation-name: anime-text-2;
    animation-duration: 3s;
    /* animation-delay: 2s; */
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.icon.icon-rob-portrait {
    height: auto;
    width: auto;
    max-width: 700px;
    display: block;
    margin: 0 auto;

    /* max-height: 500px;
    width: auto;
    margin: 0 auto;
    display: block; */
}


/* Animation Front cats */

@keyframes anime-brush {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(2px);
    }
    50% {
        transform: translateY(4px);
    }
    75% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes anime-code-brush {
    0% {
        transform: translateX(0);
        transform: scale(1);
    }
    25% {
        transform: translateX(-3px);
        transform: scale(1.05);
    }
    50% {
        transform: translateX(-6px);
        transform: scale(1.1);
    }
    75% {
        transform: translateX(-3px);
        transform: scale(1.05);  
    }
    100% {
        transform: translateX(0);
        transform: scale(1);
    }
}

@keyframes anime-design {
    0% {
        transform: translateX(-1px);
        transform: translatey: -1px);
    }

    33% {
        transform: translateX(-2px);
        transform: translatey: -2px);
    }

    66% {
        transform: translateX(-1px);
        transform: translatey: -1px);
    }
    100% {
        transform: translateX(0);
        transform: translatey: 0);
    }
}

@keyframes anime-opacity {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes anime-scale-opacity {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .1;
        transform: scale(.4);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes anime-rotate-90 {
    from {
        opacity: 1;
        transform: rotate(0);
    }
    to {
        transform: rotate(90deg);
    }
}

@keyframes anime-shrinky-rotatey {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(.4);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes anime-shrink-rotate {
    from {
        transform: rotate(0deg) scale(1);
    }
    to {
        transform: rotate(359deg) scale(.4);
    }
}



.card:hover svg.icon-graphics-design #Layer_2 {    
    animation-name: anime-brush;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

.card:hover svg.icon-graphics-design #Layer_1_copy,
.card:hover svg.icon-graphics-design #Layer_3 {
    animation-name: anime-opacity;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}


.card:hover svg.icon-mockups #layer_1 path {
    animation-name: anime-opacity;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    transform-origin: center;   
}

/* .card:hover svg.icon-mockups #layer_1 path:nth-child(4),
.card:hover svg.icon-mockups #layer_1 path:nth-child(5),
.card:hover svg.icon-mockups #layer_1 path:nth-child(6) {
    animation-name: anime-opacity;
    animation-duration: 14s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    transform-origin: center;   
}

.card:hover svg.icon-mockups #layer_1 path:nth-child(1) {
    animation-name: anime-rotate-90   ;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    transform-origin: center;   
} */

.card:hover svg.icon-websites path:nth-child(1) {
    animation-name: anime-shrinky-rotatey;
    animation-duration: 12s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    transform-origin: center;   
}

.card:hover svg.icon-websites path:last-child {
    animation-name: anime-opacity   ;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    transform-origin: center;   
}


.card:hover svg.icon-creative-coding #brush {    
    animation-name: anime-code-brush;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    transform-origin: center;
}

.card:hover svg.icon-creative-coding #angle-brackets {
    transform: opacity 4s;
    animation-name: anime-opacity;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

/*
.card:hover svg.icon-creative-coding #angle-brackets .st0 {
    animation-name: anime-code-brackets-left;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}


.card:hover svg.icon-creative-coding #angle-brackets .st0:nth-child(2) {
    animation-name: anime-code-brackets-right;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}
*/



/*
.svg-wrapper {
    width: 100%;
    text-align: center;
    padding: 10px;
}

.card svg {
    height: 100px;
}
*/







