* {
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
}
:root {
    --gold: #c4ab5c;
}

.text-gold {color:var(--gold)}
.content {padding-top:0}

input {outline: none}

.content {padding-bottom:0}
.content>.container-fluid>.row {margin-bottom:0}

.navbar-inverse {z-index:10000}



/* -------------------------------------------------------------------------------------------------------------------- SIDEBAR
*/

.schools-dropdown-list {
    position:absolute;
    left:-238px;
    width:238px;

    box-shadow: 2px 0 4px rgb(0 0 0 / 10%);
    z-index:1009;
    background: #f3f3f3;
    transition:left .5s ease-in-out;
    height: 100vh;
    overflow: auto;
}
.schools-dropdown-list.active {
    left:349px;
}
.sdl-item {
    display:block;
    text-decoration:none !important;
    margin:18px 26px 1px 21px;
    border-bottom:solid #d3d4d4 1px;
    line-height:1.2em;
    padding-bottom:12px;
    color:#404040 !important;
}
.sdl-item .sdl-item-title {
    font-size:16px;
    font-weight:bold;
    line-height:1.4em;
    padding-bottom:2px;
}

.sidebar__wrap {
    width:349px;
    padding-top:19px;
    padding-right:22px;
    padding-left:25px;

    box-shadow: 2px 0 4px rgb(0 0 0 / 10%);
    z-index:1010;
    background: white;

    color:#404040;

    min-height:700px;
}
.sidebar__wrap .h2{
    width:166px;
    display:inline-block;
}
.sidebar__wrap .h2 span {
    position:relative;
    top:2px;
    padding-left:2px;
}
.sidebar__wrap .h3{
    margin-bottom:12px;
}
.schools-dropdown {
    display:inline-block;
    width:133px;
    height:31px;
    border:solid #d3d4d4 1px;
    border-radius:2px;
    position:relative;
}
.schools-dropdown-content, .schools-dropdown-content-active {
    margin-left:10px;
    line-height:28px;
    font-size:13px;
}
.schools-dropdown.active .schools-dropdown-content {display: none;}
.schools-dropdown-content-active {
    display: none;
    margin-left:24px;
}
.schools-dropdown.active .schools-dropdown-content-active {display: block;}
.schools-dropdown-btn, .schools-dropdown-btn-active {
    position:absolute;
    right:-1px;
    top:-1px;
    width:31px;
    height:31px;
    line-height:31px;
    background:var(--gold);
    border-radius:2px;
    text-align:center;
    color:white;
    font-size:14px;
    cursor:pointer;
}
.schools-dropdown.active .schools-dropdown-btn {display: none;}
.schools-dropdown-btn-active {
    display: none;
    background:#404040;
    font-size:18px;
}
.schools-dropdown.active .schools-dropdown-btn-active {
    display: block;
}

.schools-search-block {
    width:100%;
    height:31px;
    border-radius:2px;
    border:solid #d3d4d4 1px;
    position:relative;
    margin-top:14px;
    margin-bottom:18px;
}
.schools-search-block input {
    width:214px;
    height:29px;
    line-height:30px;
    border:0;
    padding:0;
    padding-left:11px;
}
.schools-search-block .schools-search-btn {
    position:absolute;
    right:-1px;
    top:-1px;
    width:87px;
    height:31px;
    line-height:31px;
    background:var(--gold);
    border-radius:2px;
    text-align:center;
    color:white;
    font-size:14px;
    cursor:pointer;
}


.school-location-container {
    position:relative;
}

.goldenCheckbox {opacity:0}
.goldenCheckbox+label {
    padding-left:8px;
    font-size:14px;
    line-height: 18px;
    margin-bottom:10px;
    cursor:pointer;
    position:relative;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
}
.goldenCheckbox+label:before {
    content:"";
    display:inline-block;
    position:absolute;
    left:-16px;
    width:16px;
    height:16px;
    border:solid #d3d4d4 1px;
    border-radius:2px;
    font: normal normal normal 12px/1 FontAwesome;
    text-align: center;
    line-height:14px;
    color:white;
}
.goldenCheckbox:checked+label:before {
    content:"\f00c";
    border-color:var(--gold);
    background:var(--gold);
}
.school-location-container .school-location-place {
    font-size:10px;
    line-height: 14px;
}
.school-location-container b {}

.all-schools-btn, .schools-submit-btn {
    display:inline-block;
    width:159px;
    height:31px;
    line-height:31px;
    background:var(--gold);
    border-radius:2px;
    text-align:center;
    color:white;
    font-size:14px;
    cursor:pointer;
    border:none;
    margin-top:7px;
    margin-bottom:38px;
}

.schools-submit-btn {
    margin-top: 0;
}


/* -------------------------------------------------------------------------------------------------------------------- CONTENT
*/

.content__wrap {margin-left:353px}

.content__wrap>div:first-child {margin-bottom:4px;}

.catalog-view {
    margin-top:12px;
    margin-bottom:12px;
}
.catalog-view__menu {float:right}

.catalog-view__menu i {color:#8c8c8c}
.catalog-view__menu .fa-stack .fa-map {
    position:relative;
    top:6px;
}

.content__wrap h2 {margin-top:2px;}
.catalog-view__menu {
    position:relative;
    right:13px;
}
.catalog-view__menu>li+li {margin-left:9px;}
.school-tbl-btn, .school-map-btn {
    height:31px;
    padding:0 20px;
    border-radius:2px;
    border:solid #d3d4d4 1px;
    line-height:31px;
}
.school-tbl-btn.active, .school-map-btn.active {
    background:var(--gold);
    border-color:var(--gold);
}
.school-tbl-btn a, .school-map-btn a {
    background:none !important;
    color:#404040 !important;
    padding:0 !important;
}
.school-tbl-btn.active a, .school-map-btn.active a {
    color:#fefefd !important;
    font-size:14px;
    font-weight:400;
}
.school-tbl-btn a:before, .school-map-btn a:before {
    content: "";
    display: inline-block;
    position: relative;
    width: 17px;
    height: 15px;
    margin-right:5px;
    top:2px;
}
.school-tbl-btn a:before {background:url('/assets/i/school_tbl.jpg')}
.school-map-btn a:before {background:url('/assets/i/school_map.jpg')}
.school-tbl-btn.active a:before {background:url('/assets/i/school_tbl_active.jpg')}
.school-map-btn.active a:before {background:url('/assets/i/school_map_active.jpg')}

#schoolmap {border:none;margin-right:7px;}


/* -------------------------------------------------------------------------------------------------------------------- TABLE
*/

.table-scroll {
    position:relative;
    height:725px;
    opacity:0;
    transition:opacity .5s;
}
.table-scroll.initialized {
    opacity:1;
}
.table-scroll-corner {
    position:absolute;
    left:0;
    top:0;
    background: #e9e9e9;
    z-index:3;
    border-bottom:solid var(--gold) 1px;
    border-right:solid var(--gold) 4px;
}
.table-scroll-corner:after {
    content:"";
    position:absolute;
    width:4px;
    height:1px;
    right:-4px;
    top:0;
    background: #e9e9e9;
}
.table-scroll-container {
    height:725px;
    overflow:auto;
}
.table-scroll .table-top {
    position:absolute;
    left:0;
    top:0;
    z-index:1;

    overflow:auto;
    padding-right:100px;
}
.table-scroll .table-left {
    position:absolute;
    left:0;
    top:0;
    z-index:2;

    overflow-y:auto;
    overflow-x:visible;
    padding-bottom:0px;

    padding-right:calc(152px + 211px);
    margin-right:-211px;

    width:152px;
}
.table-scroll .table-left::-webkit-scrollbar, .table-scroll .table-top::-webkit-scrollbar {
    width: 0px;
    height:0px;
}
.table-scroll .table-main::-webkit-scrollbar {
    width: 17px;
    height:17px;
}
.table-scroll .table-top, .table-scroll .table-main thead {
    border-bottom:solid var(--gold) 1px;
}

.table-scroll .table-main td a {
    z-index:999;
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
}
.table-scroll .table-top th:after {
    content:"";
    display:block;
    position:absolute;
    right:0;
    top:5px;
    width:1px;
    height:calc(100% - 5px);
    background:#d3d4d4;
}

.table-scroll .table-main td {
    border-right:solid #d3d4d4 1px;
    border-bottom:solid #d3d4d4 1px;
    text-align:center;
}
.table-scroll .table-top th, .table-scroll .table-main thead th {
    padding:7px 17px 5px 9px;
}

.table-scroll .table-top th {background: #e9e9e9;}
.table-scroll .table-left th, .table-scroll .table-main tbody th {
    background: #ffffff;
    padding:10px 40px 8px 11px;
    border-right:solid var(--gold) 4px;
    width:152px;
}
.table-scroll .table-left th:after {
    content:"";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width:100%;
    height:1px;
    background:#d3d4d4;
}

.table-scroll td, .table-scroll th {
    vertical-align:middle;
    position:relative;
}
td.boolean {
    color:white;
    text-align:center;
    vertical-align:middle;
    min-height:43px;
    height:43px;
    min-width:100px;
    width:100px;
}
td.boolean-0 {background: #f3a9a5}
td.boolean-1 {background: #a9db8d}

.table-scroll .table-left th a, .school-tbl th a {
    display:block;
    position:absolute;
    right:9px;
    top:50%;
    margin-top:-8px;
    color:var(--gold);
    font-size:18px;
    width:16px;
    height:16px;
    line-height:16px;
}
.table-scroll .table-left th a:hover:before, .school-tbl th a:hover:before {
    content:"";
    display:block;
    position:absolute;
    left: 17px;
    top: 5px;
    width: 0;
    height: 0;
    border-left: solid transparent 0px;
    border-right: solid #c4c4c4 8px;
    border-top: solid transparent 5px;
    border-bottom: solid transparent 5px;
}
.table-scroll .table-left th a:hover:after, .school-tbl th a:hover:after {
    content:attr(data-title);
    display:block;
    position:absolute;
    left:25px;
    top:-4px;
    width:211px;
    height:auto;
    border:solid #d3d4d4 1px;
    border-radius:2px;
    padding:13px 16px;
    font-size:13px;
    font-weight:400;
    color:#404040;
    background:white;
    box-shadow: 1px 1px 6px rgb(0 0 0 / 20%);
    z-index:10;
}


.school-tbl td {
    border-right:solid #d3d4d4 1px;
    border-bottom:solid #d3d4d4 1px;
    text-align:center;
}
.school-tbl th {
    position:relative;
    border-bottom:solid #d3d4d4 1px;
    padding:10px 40px 8px 11px;
    border-right:solid var(--gold) 4px;
}


/* -------------------------------------------------------------------------------------------------------------------- MEDIA
*/

.schoolWrapper .catalog-tile-settlements .object {width:25%}
@media only screen and (max-width: 1600px) {
    .schoolWrapper .catalog-tile-settlements .object {width:30%}
}
@media only screen and (max-width: 1400px) {
    .schoolWrapper .catalog-tile-settlements .object {width:50%}
}
@media only screen and (max-width: 1200px) {
    .schoolWrapper .catalog-tile-settlements .object {width:100%}
}
@media only screen and (max-width: 992px) {
    .schoolWrapper .catalog-tile-settlements .object {width: 25%}
}
@media only screen and (max-width: 850px) {
    .schoolWrapper .catalog-tile-settlements .object {width: 30%; flex-grow: 1;}
}
@media only screen and (max-width: 540px) {
    .schoolWrapper .catalog-tile-settlements .object {width: 50%}
}


@media only screen and (max-width: 992px) {

    h1 {margin-top:20px}
    .content__wrap {padding-top:40px;margin-left:0}
    .sidebar__wrap {
        position: absolute;
        height: auto !important;
        left: -350px;
        transition:left .5s ease-out;
        z-index:1000;
    }
    .sidebar-active .sidebar__wrap {
        left:0;
    }
    .sidebar-active:before {
        content:"";
        display:block;
        position:fixed;
        left:0;
        top:0;
        right:0;
        bottom:0;
        z-index:1;
        background:black;
        opacity:.5;
    }
    .sidebar__wrap .close {
        display:none;
        position:fixed;
        right:10px;
        top:110px;
        background:white;
        color: #e45050;
        border: solid #e45050 1px;
        border-radius: 3px;
        opacity: 1;
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size:18px;
    }
    .sidebar__wrap .close:before {display:none}

    .sidebar-active .sidebar__wrap .close {display: block}

    .schools-dropdown-list {left:-240px;}
    .schools-dropdown-list.active {left:50px}
    .catalog-map .map {
        position:relative;
        left:0;
        top:0;
        right:auto;
        bottom:auto;
        width:100%;
        height: 500px !important;
        z-index:auto;
    }


}