/* List Tags - Margin & Padding Alignments */
div.select2-drop.select2-drop-above {
    margin-top: 0px;
    border-color: #cbcccb!important;
}

div.form-control.select2-container.select2-dropdown-open {
    border-color: var(--light-text);
    border-radius: 2px 2px 3px 3px;
}
breadcrumbs .row {
    margin-left: 7px;
    margin-right: 7px;
}
categories-list .row {
    margin-left: 7px;
    margin-right: 7px;
}
resources-list .row {
    margin-left: 7px;
    margin-right: 7px;
}

#interface-wrapper {
    background-color: #fff;
    border-radius: 5px;
    margin-top: 20px;
    padding-left: 0px;
    padding-right: 0px;
    border: 1px solid #ddd;
    margin-left: 30px;
    margin-right: 30px;
    min-height: 800px;
}

#add-resource-button {
    position: relative;
    top: 50px;
    left: -30px;
    color: #fff;
    background-color: #03aba8;
    border-radius: 2em;
    float: right;
    text-transform: capitalize;
}

.col-xs-12 > .select2-container.form-control {
    border: 1px solid #d3d5d8;
}

.select2-drop { z-index: 100001 !important; }
.modal-dialog { width: 75% !important; }
#delete-resource { width: 50% !important; }
#uploads-middle-box {
    position: relative;
    top: 25px;
    left: 20px;
}
#uploads-file-box { padding-top: 5px; }
#uploads-url-box { padding-top: 10px; }

.close {
    font-size: 21px;
    line-height: 1;
}

#modal-close-top {
    position: relative;
    left: 65px;
}

.page-title {
    margin-top: 50px;
    font-size: 30px;
}

/* TABLES ANS LISTS VIEW TAGS */
#table-list-wrapper {
    margin-left: 0px;
    margin-right: 0px;
}
.table { margin-bottom: 0px; }
.table > tbody { font-size: 93%; }
.table > tbody > tr { cursor: pointer; }
.table > tbody > tr > td {
    padding: 15px 5px 10px 5px;
    border-bottom-color: #dddddd;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
.category-info-main-mobile { display: none; }
.mobile-main-info { display: hidden; }
.category-item-count { padding-left: 20px; }
.folder-icon {
    padding: 5px 20px 5px 20px;
    margin-right: 10px;
    width: 65px;
}
.file-type-icon {
    width: 30px;
    max-height: 35px;
    margin-right: 20px;
    margin-left: 20px;
}
.file-type-icon-small {
    width: 30px;
    max-height: 20px;
}
.resource-cell-img {
    position: relative;
    left: 17px;
    top: -2px;
}
.row-arrow {
    display: inline-block;
    font-style: normal;
    position: relative;
    margin: 10px 0px 0px 10px;
    width: 0.75em;
    height: 0.75em;
    border-top: 1px solid #999;
    border-right: 1px solid #999;
    transform: rotate(45deg);
}
.res-list-row-arrow {
    margin-right: 8px;
    position: relative;
    top: -5px;
}

/* BREADCRUMBS TAG */
.bread-wrapper {
    margin-top: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top-color: #dddddd;
    border-top-width: 1px;
    border-top-style: solid;
    padding-left: 35px;
    padding-right: 35px;
}
.bread-wrapper-bottom {
    border-bottom-color: #dddddd;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    margin-bottom: 10px;
}
.breaded-text { font-size: 90% !important; }

/* SEARCH AND FILTERS TAG */
#filter-search-wrapper { margin: 20px 35px -5px 35px; }

#search.search-resources {
    float: left;
    font-size: 15px;
    border: 1px solid #e2e6e8;
    background: white;
    border-radius: 20px;
    font-weight: 600;
    padding: 0 15px;
    height: 35px;
    min-height: auto;
    width: 300px;
    outline: none;
    margin-bottom: 10px;
    margin-right: 20px;
}
.search-wrapper { z-index: 10; }

.filter-wrapper {
    position: relative;
    left: 43px;
    top: 3px;
}
#search-text[disabled] { background-color: #eeeeee; }

#filter-label {
    padding-top: 0px;
    position: relative;
    top: -6px;
}
#filter-clear {
    position: relative;
    top: -9px;
}
#interface-wrapper .filter-select {
    font-size: 90%;
    max-width: 150px;
    height: 35px;
    min-height: 35px;
    padding: 0px 15px;
    display: inline-block;
    margin-right: 5px;
    position: relative;
    top: -25px;
    left: 10px;
    margin-bottom: 5px;
}
.clear-button {
    position: relative;
    top: -40px;
    left: 270px;
}
#clear-search-img { width: 20px; }
#clear-search-img:hover { color: red; }

/* RESOURCE PROFILE PAGE */
.activity-title {
    display: flex;
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.align-center div {
    padding-bottom: 5px;
    padding-left: 0px;
}
.right-spacing {
    padding-right: 20px;
    display: inline-block;
}
.resource-profile-wrapper {
    /* margin-top: 30px; */
    min-height: 500px;
}
.resource-delete-btn { border-color: #d3d5d8; }
.cat-name::after {
    padding-right: 6px;
    content: "; ";
}
.prof-info-bar {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    /* Top Border */
    border-top-color: #dddddd;
    border-top-width: 1px;
    border-top-style: solid;
    /* Botttom Border */
    border-bottom-color: #dddddd;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
#prof-about-wrapper { padding-left: 23px; }
.btn-row { padding-bottom: 10px; }
.btn-row > button { width: 118px; }
.private-resource {
    font-size: 14px;
    color: grey;
}

#lock-img {
    width: 15px;
    padding-bottom: 5px;
}

/* Private/Public Toggle Switch Styles */
input.toggle-switch[type=checkbox] {
    height: 0px;
    width: 0px;
    visibility: hidden;
}
label.toggle-switch {
    cursor: pointer;
    text-indent: -9999px;
    width: 48px;
    height: 26px;
    background: #6b8592;
    display: block;
    border-radius: 100px;
    position: relative;
    top: -15px;
}
label.toggle-switch:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 5px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}
input.toggle-switch:checked + label { background: #03aba8; }
input.toggle-switch:checked + label:after { left: calc(100% - 5px); transform: translateX(-100%); }
label.toggle-switch:active:after { width: 15px; }

#profile-btns {
    padding-top: 14px;
}

#download-file-btn > button,  #external-site-btn > button {
	width: 118px;
}

/* Mid - Large Screens */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .filter-wrapper {
        left: 10px;
    }
}

/* Small - Mid Screens */
@media screen and (min-width: 576px) and (max-width: 991px) {
    .filter-wrapper {
        position: relative;
        left: 10px;
        top: 5px;
    }
    #filter-row-2 {
        position: relative;
        left: 34px;
    }
    .filter-select { max-width: 44%; }
    .search-resources { width: 100%; }
    .btn-row { display: initial;}
    #filters-second-row { left: 0px; }
    #profile-btns { left: 12px; }
    #interface-wrapper { padding-bottom: 50px; }
}

/* Small phones */
@media screen and (min-width: 100px) and (max-width: 576px) {
    #uploads-middle-box { top: 5px; }
    #modal-close-top { left: 25px; }
    #interface-wrapper {
        margin-top: 30px;
        margin-left: 0px;
        margin-right: 0px;
        padding-bottom: 8.5rem;
    }
    #table-list-wrapper {
        width: 100%;
    }
    .fixed-header tbody{
        display:block;
        overflow:auto;
        height:250px;
        width:100%;
    }
    .fixed-header thead tr{ display:block; }
    .align-center div { margin-right: 35px; }
    .modal-dialog { width: 90% !important; }
    #delete-resource { width: 90% !important; }
    .filter-wrapper {
        position: relative;
        left: 2px;
        top: 10px;
    }
    .search-resources { width: 100%; }
    #filter-row-2 {
        position: relative;
        left: 34px;
    }
    .btn-row { display: block; margin: 10px; }
    .private-resource { top: 130px; }
    .table { font-size: 90%; }
    .file-type-icon { width: 25px; }
    #clip-copy-btn {
        position: relative;
        left: 30px;
    }
    .resource-delete-btn {
        position: relative;
        left: 30px;
    }
    td:first-child { padding-right: 15px !important; }
    #dates-about-wrapper { margin-bottom: 50px; }
    .bread-wrapper-bottom { margin-bottom: 0px; }
    /* Categories List Table */
    .category-info-main-mobile { display: initial; }
    .category-item-count {
        position: relative;
        left: 58px;
    }
    /* Resources List Table */
    .mobile-main-info { display: show; }
    thead { display: none; }
    .res-table-title-mobile { font-weight: bold; }
    .res-table-org { display: none; }
    .res-table-type { display: none; }
    .res-table-lang { display: none; }
    .res-table-date { display: none; }

    /* BARE RESOURCES STYLING */
    resources_interface_mobile .search-wrapper { width: 90%; margin-left: 0px; }
    resources_interface_mobile .navbar-toggle { margin-bottom: -25px; }
    resources_interface_mobile .navbar-toggle .icon-bar { background: #999; }
    resources_interface_mobile .filter-toggle {
        top: -44px;
        left: 55px;
        margin-right: 0px;
        margin-top: 0px;
    }
    resources_interface_mobile .modal-header { padding: 30px 30px 0px 30px; }
    resources_interface_mobile .filter-select { top: 0; }
    resources_interface_mobile #interface-wrapper { margin-top: 0px; }
}

/* Small - Mid Screens */
@media screen and (min-width: 100px) and (max-width: 400px) {
    .page-title { font-size: 25px; }
    #filter-row-1 > #year {
        position: relative;
        left: 44px;
    }
}

/* Small phones */
@media screen and (min-width: 100px) and (max-width: 450px) {
    .private-resource { top: 210px; }
    .activity-title {
        font-size: 16px;
    }
}
