/*
 * Base structure
 */


/* Move down content because we have a fixed navbar that is 50px tall */

body {
    padding-top: 50px;
    background: #F1F1F1;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

/*
 * Global add-ons
 */

.no-padding {
    padding: 0;
}


/* custom btn styles */

.btn.c-btn-primary {
    background: #3477C6;
    border: none;
    border-radius: 0;
    font-weight: bold;
    font-style: italic;
    color: #ffffff;
    padding: 6px 18px;
}

/* custom btn styles */

.sub-header {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.sub-header h2 {
    font-size: 1.3em;
}
.button-container {
    text-align: right;
    padding-top: 8px;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */

.navbar-fixed-top {
    border: 0;
}

/*
 * Sidebar
 */


/* Hide for mobile, show later */

.sidebar {
    display: none;
}
@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto;
        /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */

.nav-sidebar {
    margin-right: -21px;
    /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav-sidebar li a {
    padding-right: 20px;
    padding-left: 20px;
    /*font-weight: bold;*/
    border-bottom: 1px solid #DEDEDE;
    display: block;
    color: #1F1F1F;
}
.nav-sidebar .active > a,
.nav-sidebar .active > a:hover,
.nav-sidebar .active > a:focus {
    color: #fff;
    background-color: #428bca;
}
.nav-sidebar li a .toggle-child {
    font-size: 10px;
    /* float: right; */
    /* margin-top: 3px; */
    position: absolute;
    right: 0;
    padding: 15px 10px;
    background-color: #F5F5F5;
    top: 0;
    border-left: 1px solid #E8E8E8;
    color: #000000;
}
.nav-sidebar li .sub-menu {
    padding: 0;
    display: none
}
.nav-sidebar li .sub-menu a {
    text-decoration: none;
    padding: 10px 0px 10px 30px;
    background-color: #FFFFFF;
}

/*
 * Main content
 */

.main {
    padding: 20px;
}
.pagination {
    float: right;
}
.setting-fieldset {
    margin-top: 30px;
}
.setting-fieldset legend {
    font-size: 1.2em;
    font-weight: bold;
}
p.form-error {
    color: #c30000;
    text-align: right;
}
.form-half-left {
    padding: 10px;
    background-color: #F7F7F7;
    border-radius: 4px;
}
@media (min-width: 768px) {
    /*.main {
        padding-right: 40px;
        padding-left: 40px;
    }*/
}
.main .page-header {
    margin-top: 0;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}
.placeholders h4 {
    margin-bottom: 0;
}
.placeholder {
    margin-bottom: 20px;
}
.placeholder img {
    display: inline-block;
    border-radius: 50%;
}
/*
.tab-content {
    padding-top: 30px;
}
*/
.chosen-container {
    min-width: 100%;
}
.sep-form-group {
    background-color: #EFEFEF;
    padding: 10px;
    border: 1px solid #E2E2E2;
    border-radius: 5px;
}
.sep-form-group .sep-form-group-add {
    text-align: right;
}
.filter-container {
    text-align: right;
    padding: 10px 5px;
    background-color: #F1F1F1;
}
span.grid-dim {
    color: #A9A9A9;
    font-style: italic;
}
.dropzone {
    /*width: 150px;*/
    min-height: 150px;
    background-color: #F5F5F5;
    border: 3px dashed #ccc;
    cursor: pointer;
    position: relative;
}
#profile-image {
    width: 150px;
}
.dropzone .edit-image {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #0975FB;
    padding: 5px;
    background-color: #DCDCDC;
}
.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
}
.upload-progress {
    width: 0%;
    height: 7px;
    background: #0985F3;
}
div#profile-image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}
.ad-container {
    width: 100%;
}
.ad-container img {
    width: 100%;
}

.middle-sec {
    padding-top: 15px
}

/* wall styles */

::-webkit-input-placeholder {
    font-style: italic;
}
:-moz-placeholder {
    /* Firefox 18- */
    font-style: italic;
}
::-moz-placeholder {
    /* Firefox 19+ */
    font-style: italic;
}
:-ms-input-placeholder {
    font-style: italic;
}

.tr-wall-form, .tr-common-wall-updates .updates-list li.up-item {
    background: #ffffff;
    border: 1px solid #cccccc;
    padding: 15px;
    border-radius: 2px;
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1);
    margin: 0 0 15px 0;
    position: relative;
}
.row-textarea textarea {
    max-height: 90px;
    border: none;
    width: 100%;
    resize: none;
}
.row-textarea textarea:focus {
    outline: none;
}
.wall-submit-btn {
    position: absolute;
    right: 0;
    bottom: 0;
}
.row-attachment ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.row-attachment ul li {
    max-width: 80px;
    text-align: center;
    float: left;
    margin: 5px;
}
.row-attachment ul li:first-child {
    margin-left: 0;
}
.row-attachment ul li img {
    width: 100%;
}

.updates-list {
    padding: 0;
    list-style: none;
}

.up-username,
.up-comment-username {
    font-weight: 600;
}

.up-user-image {
    width: 100%;
    max-width: 100px;
}

.up-title {
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 600;
    color: #454545;
}

.up-subtitle, .up-subtitle a {
    color: #818181;
}

.up-action {
    border-top: 1px solid #E3E7EA;
}

.up-action ul {
    list-style: none;
}


.up-action li {
    float: left;
    padding: 10px;
}

.up-action li a {
    color: #646464;
    font-weight: 600
}

.up-action li a:hover {
    text-decoration: none;
}

.up-action li:first-child {
    padding-left: 0;
}

/*.up-comments {
    margin-bottom: 15px;
}*/

.up-comment-field {
    max-height: 62px;
    width: 100%;
    border: 1px solid #E3E7EA;
    resize: none;
    border-radius: 2px;
    padding: 5px;
}

.up-comments > .up-comment-row {
    border-top: 1px solid #E3E7EA;
    padding: 7px 0;
}

.up-slick-item {
    text-align: center;
    outline: none;
}

.up-slick-item-image:before {    /* create a full-height inline block pseudo=element */
    content: ' ';
    display: inline-block;
    vertical-align: middle;  /* vertical alignment of the inline element */
    /*min-height: 250px;*/
}

.up-slick-item-image img {
    display: inline-block;
    vertical-align: middle;
}

/* wall styles */