@font-face {
    font-family: 'avenir';
    src: url('../fonts/avenir-reg.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:focus { outline:none; }
::-moz-focus-inner { border:0; }

html, body, #page-blur-container {
    width: 100%;
    /*height: 100%;*/
    height: 100%;
    color: black;
    font-family: 'avenir';
}

#profile {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    display: none;
}

#profile-content-container {
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    max-width: 600px;
}

@media only screen and (max-width : 768px) {
    #profile-content-container {
        font-size: 0.8em;
    }
}

#profile-content {
    background-color: rgba(255, 255, 255, .85);
    text-align: justify;
    padding: 3px;
}

#profile-avatar {
    width: 45%;
    float: left; 
    padding-right: 5px;
}

#profile-buttons-full-container {
    width: 100%;
}

#profile-buttons-container {
    width: 100%;
    padding-top: 3px;
    /*background-color: white;*/
}

#profile-buttons-container table {
    table-layout: fixed;
}

.profile-button {
    text-align: center;
    position: relative;
}

.profile-button img {
    background-color: #66ccff;
    cursor: pointer;
}

.profile-button-separator {
    width: 0.5%;
    height: 100%;
    /*background-color: white;*/
}

#profile-content-container table tr td:first-child:hover img {
    background-color: #99cc33;
}

#profile-content-container table tr td:nth-child(3):hover img {
    background-color: #ff0000;
}

#profile-content-container table tr td:last-child:hover img {
    background-color: #3b5998;
}

section {
    width: 100%;
    min-height: 100%;
    overflow: hidden;
}

section#home {
 /*   background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;*/
}

.navbar-brand {
    padding: 5px;
    cursor: pointer;
}

.navbar-nav {
    text-align: center;
}

.navbar-nav li {
    margin: 5px;
}

.navbar-nav li:hover {
    color: #919191;
}

.icon-bar {
    background-color: black !important;
}

@media (max-width: 767px) {
    .select-lang {
        line-height: 50px;
        font-size: 1.2em;
        margin-left: 10px;
    }
}

@media (min-width: 768px) {
    .select-lang {
        position: fixed;
        right: 0;
        margin: 20px;
        font-size: 1.4em;
        z-index: 200;
    }
}

#side-nav {
    position: fixed;
    top: 30%;
    z-index: 20;
}

#side-nav img {
    margin-bottom: 10px;
    margin-left: 15px;
    cursor: pointer;
}

#side-nav ul {
    list-style-type: none;
    padding-left: 15px;
}

#side-nav ul li {
    position: relative;
    font-size: 1.7em;
    transition: 500ms;
    -webkit-transition: 500ms;
}

#side-nav ul li span {
    position: relative;
    display: block;
    text-decoration: none;
    z-index: 10;
}

#side-nav ul li:after {
    content:"";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: #00b8d4;
    opacity: 0;
}

#side-nav ul li:hover:after {
    width: 100%;
    opacity: 1;
    transition: 500ms;
    -webkit-transition: 500ms;
}

#social {
    position: fixed;
    right: 0;
    top: 30%;
    background-color: #66ccff;
    z-index: 998;
}

#social ul {
    margin: 0 !important;
    list-style-type: none;
    padding: 0;
    width: 60px;
}

#social img {
    vertical-align: bottom;
}

#social img:hover {
    vertical-align: bottom;
}

#social li:first-child img:hover {
    background-color: #ff0000;
}

#social li:nth-child(2) img:hover {
    background-color: #99cc33;
}

#social li:last-child img:hover {
    background-color: #3b5998;
}

@media (min-width: 768px) {
    #buttonsContainer {
        padding-top: 10%;
        max-width: 1400px;
        font-size: 1.5em;
    }
}

@media (min-width: 452px) and (max-width: 767px) {
    #buttonsContainer {
        font-size: 1.4em;
    }
}

@media (max-width: 451px) {
    #buttonsContainer {
        font-size: 1em;
    }
}

#buttonsContainer .col-xs-4 {
    cursor: pointer;
}

#buttonsContainer .col-xs-4 img {
    margin: 0 auto;
}

#madeforyou {
    margin-top: 10px;
    margin-bottom: 25px;
}

.parallax {
    width: 100%;
    height: 100%;
    position: absolute;
    top: -40%;
    z-index: -1;

    background-repeat: no-repeat;
    background-size: cover;
}

#home .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

#scroll-down-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    cursor: pointer;
}

footer {
    width: 100%;
    z-index: 998;
    text-align: center;
    position: absolute;
    bottom: 0;
}

@media (max-width: 768px) {
    footer {
        font-size: 0.7em;
    }
}

.slider-container .col-xs-12.col-sm-8.col-sm-offset-2 {
    padding: 0;
}

section#portfolio {
    min-height: 100%;
    background-color: white;
}

@media (max-width: 767px) {
    section#portfolio {
        min-height: 600px;
    }
}

#portfolio table {
    max-width: 475px;
}

#portfolio-slider, #colors-slider {
    height: 100vh;
}

#portfolio-slider {
    min-height: 500px;
}

#portf-desc-container {
    display: none;
}

.small-cont {
    max-width: 800px;
}

@media (min-width : 480px) and (max-width: 767px) {
    .small-cont {
        max-width: 500px;
    }
}
@media (min-width : 768px) and (max-width: 992px) {
    .small-cont {
        max-width: 500px;
    }
}
@media (min-width : 992px) and (max-width: 1100px) {
    .small-cont {
        max-width: 800px;
    }
}

#portf-desc-container .row {
    margin-top: 20px;
}

@media (min-width: 768px) {
    #portf-desc-container .row {
        margin: 20px;
    }
}

#portf-desc-container #title {
    font-weight: bold;
    font-size: 1.2em;
}

.back-to-button {
    font-weight: bold;
}

.back-to-button:hover {
    color: #919191;
    cursor: pointer;
}

#colors-slider {
    min-height: 650px;
}

section#colors {
    min-height: 650px;
    background-color: #666666;

/*    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;*/
}


#products-full-container {
    margin-top: 100px;
}

.product-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-top: 3px solid black;
    overflow: auto;
    padding-top: 5px;
    margin-top: 20px;
}

@media (min-width : 768px) and (max-width: 992px) {
    .product-container {
        max-width: 500px;
    }
}
@media (min-width : 992px) and (max-width: 1100px) {
    .product-container {
        max-width: 700px;
    }
}

.product-category {
    font-size: 1em;
    /*background-color: #80deea;*/
    text-align: center;
}

.product {
    margin-top: 20px;
    padding-left: 20px;
    text-align: center;
    font-size: 1em;
}

@media (max-width: 768px) {
    #products {
        padding-top: 0;
    }
    .productCategory {
        font-size: 1.5em;
        /*background-color: #80deea;*/
    }
    .product {
        padding-top: 20px;
    }
}

.product-name {
    min-height: 20px;
    min-width: 1px;
    
}

.product img {
    margin: 0 auto;
}

.product:hover {
    cursor: pointer;
    font-weight: bold;
}

.no-pad {
    padding: 0;
}

#prod-desc-container {
    display: none;
}

#prod-desc-container .row {
    margin-top: 20px;
}

@media (min-width: 768px) {
    #prod-desc-container .row {
        margin: 20px;
    }
}

#prod-desc-container #title {
    font-weight: bold;
    font-size: 1.2em;
}

#separatorView {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    box-shadow: 0px 0px 4px black;
    -webkit-box-shadow: 0px 0px 4px black;
    -moz-box-shadow: 0px 0px 4px black;
}

#separatorView img {
    position: relative;
    left: 50%;
    top: 50%; 
    margin-left: -50px;
    margin-top: -27px;
}

section#materials {
    position: relative;
}

#materials .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50.1%);
    -ms-transform: translate(-50%, -50.1%);
    -webkit-transform: translate(-50%, -50.1%);
    -moz-transform: translate(-50%, -50.1%);
    -o-transform: translate(-50%, -50.1%);
}

#material-categories {
    list-style-type: none;
    padding: 0;
}

@media (max-width: 767px) {
    #material-categories li {
        text-align: center;
        overflow: auto;
    }
    #materials .container {
        width: 100%;
    }
}

#material-categories li:hover {
    text-decoration: underline;
}

#material-categories .active {
    font-weight: bold;
}

#materials table {
    max-width: 500px;
    /*-webkit-filter: blur(0);*/
}

#materials .carousel-inner table, #materials .carousel-inner tr, #materials .carousel-inner td {
    border: 20px solid;
    border-color: transparent;
    border-collapse: collapse;
}

#materials #large-img {
    display: none;
    cursor: pointer;
}

#materials #large-img a {
    position: absolute !important;
    top: 0;
}

#materials #close-btn {
    position: absolute;
    top: 0;
    right: 20px;
}

#materials #close-btn:hover {
    background-color: #808080;
}

/* entire container, keeps perspective */
.flip-container {
    perspective: 1000;
    -ms-perspective: 1000;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -o-perspective: 1000;
}
/* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
    transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
}

@media only screen and (min-width : 480px) {
    .flip-container, .flipper, .front, .back {
        width: 150px;
        height: 150px;
    }
}

/* flip speed goes here */
.flipper {
    transition: 0.6s;
    -ms-transition: 0.6s;
    -webkit-transition: 0.6s;
    -moz-transition: 0.6s;
    -o-transition: 0.6s;

    transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;

    position: relative;
}

/* hide back of pane during swap */
.front, .back {
    backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;

    position: absolute;
    top: 0;
    left: 0;
}

/* front pane, placed above back */
.front {
    z-index: 2;
    /* for firefox 31 */
    transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
    transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);

    text-align: center;
    cursor: pointer;

    width: 100%;
    height: 100%;
    
    display: table;
}

.back p {
    display: table-cell;
    text-align: left;
    vertical-align: bottom;
}

.show-num {
    font-size: 1.2em;
}

.pin-button-wrapper {
    position: relative;
}

.pin-button-wrapper:hover .on-pin-button {
    visibility: visible;
}

.pin-button-wrapper .on-pin-button {
    cursor: pointer;
    visibility: hidden;
    position: absolute;
    top: 5px;
    right: 5px;
}