﻿body
{
    padding-top: 50px;
    padding-bottom: 20px;
    background-color: #f2f8fc;
}

/* Set padding to keep content from hitting the edges */
.body-content
{
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt
{
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea
{
    /*max-width: 280px;*/
}

a
{
    color: #000000;
}

    a:hover
    {
        color: #ff7d00;
    }

/* Margin */
.mt5
{
    margin-top: 5px;
}

.mt10
{
    margin-top: 10px;
}

.mt20
{
    margin-top: 20px;
}

.mt40
{
    margin-top: 40px;
}

.mb5
{
    margin-bottom: 5px;
}

.mb10
{
    margin-bottom: 10px;
}

.mb20
{
    margin-bottom: 20px;
}

.mb40
{
    margin-bottom: 40px;
}

/* Overlay */
.title-overlay
{
    margin-top: -25px;
    position: absolute;
    padding: 0 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.product-img-overlay
{
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.categories-img-overlay
{
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Dropdown Menu Hover */
/* remove the padding from the navbar so the dropdown hover state is not broken */
.navbar
{
    padding-top: 0px;
    padding-bottom: 0px;
}

    /* remove the padding from the nav-item and add some margin to give some breathing room on hovers */
    .navbar .nav-item
    {
        padding: .25rem .25rem;
        margin: 0 .25rem;
    }

    /* makes the dropdown full width  */
    .navbar .dropdown
    {
        position: static;
        background-color: #e3f2fd;
    }

    .navbar .dropdown-menu
    {
        border: none;
        background-color: #fff;
        margin: 0;
        width: 100%;
        left: 0;
        right: 0;
        border-radius: 0;
        /*  height of nav-item  */
        /*top: 45px;*/
    }

        .navbar .dropdown-menu div[class*="col"]
        {
            margin-bottom: 0.25rem;
        }

    /* shows the dropdown menu on hover */
    .navbar .dropdown:hover .dropdown-menu, .navbar .dropdown .dropdown-menu:hover
    {
        display: block !important;
    }

    .navbar .dropdown-menu .dropdown-item
    {
        padding: 0;
        white-space: normal;
    }

/* Grid List */
#gridList > li
{
    position: relative;
}

    #gridList > li > img
    {
        width: 240px;
        height: 240px;
        opacity: 1;
        display: block;
        transition: .5s ease;
        backface-visibility: hidden;
    }

    #gridList > li > .figure-caption
    {
        position: absolute;
        top: 5%;
        left: 5%;
        width: 100%;
        color: #ff7d00;
        font-weight: 500;
    }

#gridList li .align-middle
{
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

#gridList li:hover img
{
    opacity: 0.3;
}

#gridList li:hover .align-middle
{
    opacity: 1;
}

/* Button */
/* Rounded */
.btnRound
{
    border-radius: 40px;
}

/* Professionals */
.pro-item
{
    background: #fff;
    display: block;
    box-shadow: rgba(0,0,0,.1) 0 1px 3px
}

    .pro-item + .pro-item
    {
        margin-top: 8px
    }

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

    .pro-item.-premium
    {
        border: 8px #fda45a;
        border-right-style: solid;
        position: relative;
    }

.pro-item-premium
{
    font-size: .75em;
    position: absolute;
    right: 20px;
    top: 8px;
}

.pro-item-user-title
{
    text-transform: uppercase;
    font-size: 1.66rem;
    font-weight: 700;
}

.pro-item-user-title
{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.pro-item-user-title
{
    text-transform: uppercase
}

    .pro-item-user-title q.-first, .projects-item-title q.-first, .user-header-title q.-first
    {
        margin: 0
    }

.avatar, .avatar-image, .avatar:before
{
    border-radius: 50%;
    box-sizing: content-box;
    display: block;
    height: 48px;
    width: 48px;
}

.avatar
{
    background: #9faba5;
    float: left;
    margin: 0 12px;
    position: relative;
}

.avatar, -micro
{
    height: 18px;
    width: 18px;
}

.pro-item-user-avatar
{
    float: left;
    margin-left: -64px;
    position: absolute
}

@media all and (max-width:767px)
{
    .pro-item-user-avatar
    {
        margin: 0;
        left: 50%;
        top: 0;
        -webkit-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%)
    }

    .pro-item-user-rating, .pro-item-user-title
    {
        text-align: center;
    }
}

.pro-item-projects-link
{
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 38px;
}

.pro-item-photo, .pro-item-projects-link
{
    float: left;
    height: 64px;
    margin-right: 4px;
    margin-top: 4px;
    width: 64px;
}

@media all and (max-width:1023px)
{
    .pro-item-photo, .pro-item-projects-link
    {
        height: 48.67px;
        width: 48.67px;
    }
}

.pro-item-photo:last-child, .pro-item-projects-link:last-child
{
    width: auto;
}

.rating
{
    display: inline-block;
}

.rating-value
{
    color: #ff7d00;
    font-size: 1em;
    line-height: 1.1em;
    margin: 0 -.1em;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    width: 5em;
}

.rating[data-rating="1"] .rating-value:before
{
    content: "★"
}

.rating[data-rating="2"] .rating-value:before
{
    content: "★★"
}

.rating[data-rating="3"] .rating-value:before
{
    content: "★★★"
}

.rating[data-rating="4"] .rating-value:before
{
    content: "★★★★"
}

.rating[data-rating="5"] .rating-value:before
{
    content: "★★★★★"
}

.rating[data-rating="4"] .rating-value:after
{
    color: #9faba5;
    content: "★"
}

.rating[data-rating="3"] .rating-value:after
{
    color: #9faba5;
    content: "★★"
}

.rating[data-rating="2"] .rating-value:after
{
    color: #9faba5;
    content: "★★★"
}

.rating[data-rating="1"] .rating-value:after
{
    color: #9faba5;
    content: "★★★★"
}

.rating[data-rating="0"] .rating-value:after
{
    color: #9faba5;
    content: "★★★★★"
}

.rating-value.-premium
{
    font-size: 1.2em;
    line-height: .7em;
}

    .rating-value.-premium .rating-ratings
    {
        font-size: .7em;
    }

@media all and (max-width:1023px)
{
    .rating-ratings
    {
        display: none;
    }
}

.rating-add, .rating-ratings
{
    color: #ff7d00;
    cursor: pointer;
    margin-left: .7em;
}

    .rating-ratings + .rating-add:before
    {
        color: #9faba5;
        content: "·";
        margin-right: .7em;
    }

@media all and (max-width:767px)
{
    .rating-add, .rating-add:before
    {
        display: none;
    }

    .pro-item
    {
        max-width: 100vw;
    }
}

.mag-item
{
    margin-bottom: 5px;
}

/* Products */
.product-img-title
{
    font-size: 42px;
    color: #fff;
    font-weight: 700;
}

.product-img-text
{
    font-size: 18px;
    color: #fff;
}

.categories .categories-title
{
    margin: 30px 0;
}

.categories img
{
    /*height: 100% !important;
    left: 0;
    position: relative;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: auto !important;*/
    margin: 5px;
}

.categories .categories-img-overlay a, .categories-img-overlay a:hover
{
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.product-item-overlay
{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    background: 0 0;
    /*margin-bottom: 80px !important;*/
}

/*.product-item-overlay:hover
    {
        opacity: 1;
    }*/

.product-item
{
    width: 200px;
    -webkit-transition: opacity .25s;
    transition: opacity .25s;
}

.product-item:hover .product-item-info
{
    opacity: .5;
    box-shadow: 0 0 5px 2px rgba(221,221,221,.82)
}

.product-item:hover .product-item-overlay
{
    opacity: 1;
}

/*Small devices (landscape phones, 576px and up) */
@media (max-width: 576px)
{
    .product-img-title
    {
        font-size: 18px;
    }

    .product-img-text
    {
        font-size: 12px;
    }

    .categories .categories-img-overlay a, .categories-img-overlay a:hover
    {
        font-size: 12px;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (max-width: 768px)
{
    .product-img-title
    {
        font-size: 18px;
    }

    .product-img-text
    {
        font-size: 12px;
    }

    .categories .categories-img-overlay a, .categories-img-overlay a:hover
    {
        font-size: 12px;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (max-width: 992px)
{
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (max-width: 1200px)
{
}

/* Sign In */
.login
{
    -ms-flex-align: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.form-signin
{
    width: 100%;
    max-width: 680px;
    padding: 15px;
    margin: auto;
}

    .form-signin .checkbox
    {
        font-weight: 400;
    }

    .form-signin .form-control
    {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 10px;
        font-size: 16px;
    }

        .form-signin .form-control:focus
        {
            z-index: 2;
        }

    .form-signin input[type="email"]
    {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"]
    {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.sign-up
{
    display: block;
    max-width: 780px;
    position: relative;
    /*background: rgba(255, 255, 255, 0.9);*/
    border-radius: 4px;
    margin: 20px auto;
}

.sign-up-container
{
    display: table;
    width: 100%;
}

.sign-up-info
{
    border-bottom-left-radius: 4px;
    background: rgb(228, 231, 230);
}

.sign-up-info
{
    display: table-cell;
    width: 50%;
    padding: 32px;
}

.sign-up-form
{
    width: 100%;
    padding: 10px;
    margin: auto;
}