/*
* This CSS file is responsible for auto-adjust
* of user profiles, responsive styles,
* media queries, width issues
*/

div.rbc-profiles-width-2 {
    width: 48%;
    margin-right: 4%;
}

div.rbc-profiles-width-2:nth-of-type(2n) {
    width: 48%;
    margin-right: 0;
}

div.rbc-profiles-width-3 {
    width: 31%;
    margin-right: 3%;
}

div.rbc-profiles-width-3:nth-child(3n) {
    width: 31%;
    margin-right: 0;
}

div.rbc-profiles-width-2 div.rbc-profiles-field-name, div.rbc-profiles-width-3 div.rbc-profiles-field-name {
    font-size: 16px;
}

div.rbc-profiles-width-2 div.rbc-profiles-pic, div.rbc-profiles-width-3 div.rbc-profiles-pic {
    margin: 0 10px 0 0;
}

div.rbc-profiles-width-2 div.rbc-profiles-social div, div.rbc-profiles-width-3 div.rbc-profiles-social div {
    padding: 6px 0 9px 0;
}

div.rbc-profiles-width-2 .rbc-profiles-main, div.rbc-profiles-width-3 .rbc-profiles-main {
    padding: 20px 20px 0 20px;
}

div.rbc-profiles-width-2 .rbc-profiles-field-type, div.rbc-profiles-width-3 .rbc-profiles-field-type {
    width: 100%;
    margin: 0 0 8px 0;
}

div.rbc-profiles-width-2 .rbc-profiles-field-value, div.rbc-profiles-width-3 .rbc-profiles-field-value {
    width: 100%;
}

label.rbc-profiles-field-type-width-2, label.rbc-profiles-field-type-width-3 {
    display: none;
}

div.rbc-profiles-width-2 i.rbc-profiles-icon-none, div.rbc-profiles-width-3 i.rbc-profiles-icon-none {
    display: none;
}

/* Using in sidebar */
div.rbc-profiles-sidebar div.rbc-profiles-field-name {
    font-size: 16px;
}

div.rbc-profiles-sidebar div.rbc-profiles-pic {
    margin: 0 10px 0 0;
}

div.rbc-profiles-sidebar div.rbc-profiles-social div {
    padding: 6px 0 9px 0;
}

div.rbc-profiles-sidebar .rbc-profiles-main {
    padding: 20px 20px 0 20px;
}

div.rbc-profiles-sidebar .rbc-profiles-field-type {
    width: 100%;
    margin: 0 0 8px 0;
    font-size: 13px;
}

div.rbc-profiles-sidebar .rbc-profiles-field-value {
    width: 100%;
    font-size: 13px;
}

label.rbc-profiles-field-type-rbc-profiles-sidebar {
    display: none;
}

div.rbc-profiles-sidebar i.rbc-profiles-icon-none {
    display: none;
}

div.rbc-profiles-sidebar input.rbc-profiles-input-left, div.rbc-profiles-sidebar input.rbc-profiles-input-right {
    float: none;
    width: 100%;
}

/* Responsive media query */
@media only screen and (min-width: 768px) and (max-width: 959px) {

}

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

    div.rbc-profiles-field-name {
        font-size: 16px;
    }

    div.rbc-profiles-pic {
        margin: 0 10px 0 0;
    }

    div.rbc-profiles-social div {
        padding: 6px 0 9px 0;
    }

    .rbc-profiles-main {
        padding: 20px 20px 0 20px;
    }

    .rbc-profiles-field-type {
        width: 100%;
        margin: 0 0 8px 0;
    }

    .rbc-profiles-field-value {
        width: 100%;
    }

    i.rbc-profiles-icon-none {
        display: none;
    }

    input.rbc-profiles-input-left, input.rbc-profiles-input-right {
        float: none;
        width: 100%;
    }

}

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

    div.rbc-profiles-width-2, div.rbc-profiles-width-3 {
        width: 100%;
        margin-right: 0%;
    }

    div.rbc-profiles-width-2:nth-of-type(2n) {
        width: 100%;
        margin-right: 0;
    }

    div.rbc-profiles-width-3:nth-child(3n) {
        width: 100%;
        margin-right: 0;
    }

    div.rbc-profiles-field-name {
        font-size: 16px;
    }

    div.rbc-profiles-pic {
        margin: 0 10px 0 0;
    }

    div.rbc-profiles-social div {
        padding: 6px 0 9px 0;
    }

    .rbc-profiles-main {
        padding: 20px 20px 0 20px;
    }

    .rbc-profiles-field-type {
        width: 100%;
        margin: 0 0 8px 0;
    }

    .rbc-profiles-field-value {
        width: 100%;
    }

    i.rbc-profiles-icon-none {
        display: none;
    }

    input.rbc-profiles-input-left, input.rbc-profiles-input-right {
        float: none;
        width: 100%;
    }

}

@media only screen and (min-width: 261px) and (max-width: 300px) {

    div.rbc-profiles-width-2, div.rbc-profiles-width-3 {
        width: 100%;
        margin-right: 0%;
    }

    div.rbc-profiles-width-2:nth-of-type(2n) {
        width: 100%;
        margin-right: 0;
    }

    div.rbc-profiles-width-3:nth-child(3n) {
        width: 100%;
        margin-right: 0;
    }

    div.rbc-profiles-field-name {
        font-size: 16px;
    }

    div.rbc-profiles-pic {
        margin: 0 10px 0 0;
    }

    div.rbc-profiles-social div {
        padding: 6px 0 9px 0;
    }

    .rbc-profiles-main {
        padding: 20px 20px 0 20px;
    }

    .rbc-profiles-field-type {
        width: 100%;
        margin: 0 0 8px 0;
    }

    .rbc-profiles-field-value {
        width: 100%;
    }

    i.rbc-profiles-icon-none {
        display: none;
    }

    input.rbc-profiles-input-left, input.rbc-profiles-input-right {
        float: none;
        width: 100%;
    }

}


/* Custom Search Form */

/*Landscape Mode*/

@media screen and (max-device-width: 480px)
{
    .rbc-profiles-search-input-left {
        float: left;
        width: 100% !important; /*Fix for popular themes*/
        margin-bottom: 10px !important;
    }

    .rbc-profiles-search-input-right {
        float: left;
        width: 100% !important; /*Fix for popular themes*/
        margin-bottom: 0px !important;
    }
}
/* Portrait Mode */

@media screen and (max-device-width: 320px)
{
    .rbc-profiles-search-input-left {
        float: left;
        width: 100% !important; /*Fix for popular themes*/
        margin-bottom: 10px !important;
    }

    .rbc-profiles-search-input-right {
        float: left;
        width: 100% !important; /*Fix for popular themes*/
        margin-bottom: 0px !important;
    }
}
