.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}

.ui-autocomplete > li > div {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
}

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
    cursor: pointer;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}


/*********************************************************************/

.courses_search_block .form-control {
    padding: 5px;
}

.f-element-row {
    padding-left: 0 !important;
}

.l-element-row {
    padding-right: 0 !important;
}

.m-element-row {
    padding: 0 !important;
}

.courses_search_block.side_place .form-group.row.fitem > div {
    max-width: 100% !important;
    width: 100%;
    flex: unset !important;;
    display: block;
}

.courses_search_block.side_place .form-group.row.fitem div .form-control {
    width: 100%;
}

.courses_search_block.side_place .form-group.row.fitem div .form-autocomplete-selection {
    margin-bottom: unset;
    min-height: unset;
}

.courses_search_block.side_place .position-relative {
    width: 100%;
}

.search_box {
    background: url(pix/search.jpg) !important;
    background-repeat: no-repeat !important;
    background-position-x: 4px !important;
    background-position-y: 7px !important;
    padding-left: 29px !important;
    padding-right: 10px !important;
}

.submit-row {
    text-align: right;
}

.submit-row .btn-style {
    margin: 0px !important;
    padding: 4px;
}

.courses_search_block .form-control {
    border-radius: 0 !important;
    height: 35px;
    font-size: 14px;
    background-color: unset !important;
}

.courses_search_block .fdescription.required {
    display: none;
}

.courses_search_block .btn {
    max-height: 34px !important;
    /*width: 100%;*/
    padding: 9px !important;
}

a.btn.btn-default.btn-style {
    max-width: 30px;
    max-height: 24px !important;
}

.main-area-bg:not(.pagelayout-login) div[role="main"] {
    background: none;
    padding: 0;
}

a.item-box button {
    width: 100% !important;
    margin-top: 10px;
}

a.item-box {
    display: block;
    width: 100%;
    padding: 10px;
    background: #ffff;
    height: 371px;
    text-decoration: none;
    margin-bottom: 100px;
    height: 93%;
}

.item-image {
    width: 100%;
    height: 200px;
}

.item-fullname {
    display: block;
    color: #0051f9;
    margin: 10px 0 5px 0;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none !important;;
    height: 44px;
    overflow: hidden;
}

.item-shortname,
.item-catname,
.item-teachers {
    display: block;
    color: #000;
    margin: 8px 0;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none !important;

}

.page-item {
    width: 50px !important;
}

.page-item {
    width: 50px !important;
    max-width: 43px;
    background: #CCE;
    margin: 0 1px;
    padding: 12px 8px;
    border-radius: 2px;
    height: 64px !important;
}

.page-item:hover {
    background: green;
    color: #fff !important;
}

.page-item.pgactive {
    background: green;
    color: #fff !important;
}


.dir-ltr .side_place .form-check-input {
    position: absolute;
    left: 23px;
}

.dir-ltr .side_place .form-check label {
    margin-left: 32px;
    margin-top: 11px;
}


.block-controls .dropdown-item {
    padding: 0.5rem 1.5rem !important;
}

.left-side_place .row {
    margin-left: 0;
    margin-right: 0;
}
.left-side_place.courses_search_block .btn{
    width: unset!important;
    padding: 10px!important;
    max-height: 40px!important;
}
.searchpage #page-content {
    /*width: 77%;
    float: right;*/
}

.searchpage #page-content .items {
    padding: 0 10px;
}

.searchpage #region-top-blocks {
    width: 23%;
    max-width: 30%;
    float: left;
}

.searchpage .seachcountresults {
    position: absolute;
    right: 34px;
    top: 0px;
}

.searchpage .items {
    width: 100%;
    margin-top: 43px;
    padding-right: 0;
}

.searchpage .items .col-md-3 {
    padding: 0;
    padding-left: 10px;
}

.searchpage او#page-header {
    display: none;
}