.filter-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    position: relative;
    z-index: 10;
}

.dc-filters-block {
    padding: 30px 0;
}

.dc-top-level-filter {
    width: 100%;
    margin-bottom: 20px;
}

@media only screen and (min-width: 425px) {
    .dc-top-level-filter {
        width: 45%;
    }
}

@media only screen and (min-width: 1280px) {
    .dc-top-level-filter {
        width: 16%;
        margin-bottom: 0;
    }
}

.dc__filters-main {
    display: none;
}

.dc__filters-main.visible {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.dc__filters-more-button {
    position: relative;
    margin-right: 40px;
    cursor: pointer;
}

.dc__filters-extra {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

@media only screen and (min-width: 1280px) {
    .dc__filters-extra {
        justify-content: left;
    }
    .dc__filters-extra .dc-top-level-filter {
        margin-right: 9px;
    }
}

.dc__filters-more-button:after {
    content: '';
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: -15px;
    width: 8px;
    height: 10px;
    background-image: url(../images/more-filters-arrow-down.png);
    background-size: cover;
}

.dc__filters-extra.visible-filters {
    height: 100%;
    max-height: 500px;
}

@media only screen and (min-width: 1280px) {
    .dc__filters-extra.visible-filters {
        margin-top: 30px;
        max-height: 200px;
    }
}

.dc__filters-extra.visible-filters + .dc__filters-button-wrapper .dc__filters-more-button:after {
    transform: rotate(180deg);
}

.dc__filters-button-wrapper {
    width: 100%;
    text-align: right;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.dc__filters-submit {
    display: inline-block;
}

.dc-filters-heading-wrap {
    margin-bottom: 20px;
}

.dc__filters-block-heading {
    color: #000000;
    font-family: "Open Sans";
    font-size: 22px;
    font-weight: 600;
    line-height: 22px;
    margin: 0;
}

.dc__filters-block-description {
    font-weight: 600;
    font-size: 14px;
    
}

.dc__filter-heading {
    color: #444444;
    font-family: "Open Sans";
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.dc__filters-submit {
    background-color: #5ba1e3;
    font-size: 14px;
    font-weight: 400;
    line-height: 36px;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    width: 85px;
}

.select2-selection--multiple .select2-search--inline .select2-search__field { 
    width: 100% !important; 
    padding: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0;
}

.select2-has-selections {
    padding-right: 25px !important;
    padding-bottom: 44px !important;
}

.select2-has-selections .select2-search {
    position: absolute;
    bottom: 7px;
    right: 0;
    left: 0;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #707070 !important;
}

.select2-container{
    z-index: 1000 !important;
}

.select2-search.select2-search--inline {
    width: 100%;
    padding: 0 5px;
}

.select2-container--default .select2-selection--multiple {
    border-radius: 0;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 100% !important;
}

.search-has-selections {
    padding: 0 5px !important;
}

.search-has-selections {
    border: 1px solid #707070 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    border-radius: 0 !important;
    padding: 0 5px;
}

.select2-search.search-with-selected-choice {
    border-top: 1px solid #707070;
    padding-top: 5px;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: #fff;
}

.select2-results__option:hover  {
    background: #e7e7e7;
}

.select2-results__option {
    position: relative;
    padding-left: 30px;
    color: #444444;
    font-size: 14px;
    font-weight: 400;
}

.select2-results__option:before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 15px;
    height: 15px;
    border: 1px solid #444444;
    background-color: #ffffff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #e7e7e7;
    color: #444;
}

.select2-selection--multiple:before {
    content: "";
    position: absolute;
    right: 7px;
    top: 13px;
    background-image: url('../images/arrow-down.png');
    background-size: cover;
    width: 12px;
    height: 7px;
    cursor: pointer;
}

.select2-container--open .select2-selection--multiple:before {
    background-image: url('../images/arrow-up.png');
}

.select2-container--open .select2-selection {
    border-bottom: none;
}

.select2-dropdown {
    border: 1px solid #707070;
    margin-top: -3px;
}

.select2-selection__choice {
    line-height: 20px;
    margin-left: 3px;
    margin-right: 0 !important;
    background-color: #e8e8e8 !important;
    font-size: 12px;
    color: #444444;
    border-radius: 2px !important;
    border: none !important;
}

.select2-selection__rendered li:nth-last-child(2){
    margin-right: 3px !important;
}

.select2-container .select2-search__field::placeholder {
    color: #c0c0c0;
}

.select2-container--default .select2-results__option[aria-selected=true]:after {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 9px;
    height: 9px;
    background-color: #0897ec;
}

.select2-selection__choice__remove {
    color: transparent !important;
    position: relative;
    margin-right: 6px !important;
}

.select2-selection__choice__remove:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 10px;
    width: 10px;
    margin: auto;
    background-image: url('../images/remove-selection.png');
}


.dc-filter-search {
    margin-bottom: 30px;
    margin-top: 30px;
}

.dc-filter-search-icon {
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    .dc-filter-search {
        margin-top: 0;
        margin-bottom: 58px;
    }
}

@media only screen and (min-width: 1200px) {
    .dc-filter-search {
        margin-bottom: 30px;
    }
}

.dc-tutorials-output {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.dc-tutorial-box-wrap {
    display: block;
}

.dc-filter-search-close {
    cursor: pointer;
    width: 20px;
    height: 20px;
    border: 2px solid #0897ec;
    padding: 2px;
    border-radius: 100%;
    position: absolute;
    right: 15px;
    bottom: 0;
    top: 0;
    margin: auto;
}

.dc-filter-search-close path {
    fill: none;
    stroke: #0897ec;
    stroke-width: 4px;
}

/* .dc-filter-search-input + .dc-filter-search-icon {
    visibility: hidden;
} */

.dc-filter-search-input ~ .dc-filter-search-close {
    visibility: hidden;
}

.dc-filter-search-input:placeholder-shown + .dc-filter-search-icon {
    visibility: visible;
}
/* 
.dc-filter-search-input:not(:placeholder-shown) ~ .dc-filter-search-close {
    visibility: visible;
} */


/* .dc-filter-search-input::-webkit-search-cancel-button{
    position:relative;
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius:10px;
    background: red;
} */

/* .dc-filter-search-input:hover::-webkit-search-cancel-button{
    display:none;
} */

@media only screen and (min-width: 768px) {
    .dc-tutorial-box-wrap {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
}

.dc-tutorial-featured-image-wrap {
    background-size: cover;
    background-position: center;
    background-image: none;
    background-color: rgb(204, 204, 204);
}

.dc-tutorial-featured-image {
    min-height: 175px;
    display: block;
    width: 100%;
    visibility: hidden;
}

@media only screen and (min-width: 768px) {
    .dc-tutorial-featured-image {
        max-height: 176px;
    }  
}

.dc-tutorial-box-wrap {
    transition: background-color 0.5s ease;
}

.dc-tutorial-box-wrap:hover {
    text-decoration: none;
    background-color: #f3f3f3;
}

.dc-tutorial-title h5 {
    margin-top: 10px;
    font-size: 16px;
    margin-bottom: 5px;
    color: #009fe0;
    font-weight: 700;
    line-height: 22px;
}

@media only screen and (min-width: 768px) {
    .dc-tutorial-title h5 {
        font-size: 14px;
        margin-top: 15px;
    }
}

.dc-tutorial-excerpt {
    color: #777777;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
}

.dc-tutorial-excerpt p {
    margin: 0;
}

.dc-tutorials-pagination {
    width: 100%;
    display: flex;
    justify-content: center;
}

.dc-filters-main-wrap {
    min-height: 700px;
}

.dc-tutorials-output-row {
    width: 100%;
}

.dc-results-response {
    text-align: center;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    @-moz-keyframes spin {
        from {
          -moz-transform: rotate(0deg);
          -o-transform: rotate(0deg);
          -webkit-transform: rotate(0deg);
          -ms-transform: rotate(0deg);
          transform: rotate(0deg);
        }
        to {
          -moz-transform: rotate(360deg);
          -o-transform: rotate(360deg);
          -webkit-transform: rotate(360deg);
          -ms-transform: rotate(0deg);
          transform: rotate(360deg);
        }
      }
      @-o-keyframes spin {
        from {
          -moz-transform: rotate(0deg);
          -o-transform: rotate(0deg);
          -webkit-transform: rotate(0deg);
          -ms-transform: rotate(0deg);
          transform: rotate(0deg);
        }
        to {
          -moz-transform: rotate(360deg);
          -o-transform: rotate(360deg);
          -webkit-transform: rotate(360deg);
          -ms-transform: rotate(0deg);
          transform: rotate(360deg);
        }
      }
      @-webkit-keyframes spin {
        from {
          -moz-transform: rotate(0deg);
          -o-transform: rotate(0deg);
          -webkit-transform: rotate(0deg);
          -ms-transform: rotate(0deg);
          transform: rotate(0deg);
        }
        to {
          -moz-transform: rotate(360deg);
          -o-transform: rotate(360deg);
          -webkit-transform: rotate(360deg);
          -ms-transform: rotate(0deg);
          transform: rotate(360deg);
        }
      }
    .dc-tutorials-output-loader:after {
        content: '';
        background: url('../images/dc-tutorials-output-loader.svg');
        background-size: 100px 100px;
        background-repeat: no-repeat;
        background-position: center;
        height: 100%;
        min-height: 450px;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        animation: spin 1s infinite;
    }

    .dc-tutorials-output-loader {
        background-image: none !important;
    }
}

.dc-tutorials-output-loader {
    background-image: url('../images/dc-tutorials-output-loader.svg');
    background-size: 100px 100px;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    min-height: 450px;
    width: 100%;
    display: block;
    background-color: #f3f3f5;
    display: block;
}

@media only screen and (min-width: 768px) {
    .dc-tutorials-output-loader {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

@media only screen and (min-width: 1200px) {
    .dc-tutorials-output-loader {
        height: 559px;
    }
}

.dc-tutorials-box-main {
    display: none;
    margin: 0;
}
.dc-tutorial-box {
    overflow: hidden;
    -webkit-transition: max-height .4s ease;
    -o-transition: max-height .4s ease;
    transition: max-height .4s ease;
}

.box-margin {
    margin-bottom: 40px;
    position: relative;
    padding: 0;
}

.box-margin:after {
    content: '';
    position: absolute;
    bottom: -18px;
    width: 100%;
    height: 1px;
    background-color: #009fe0;
}

@media only screen and (min-width: 768px) {
    .dc-tutorials-box-main {
        margin-right: -15px;
        margin-left: -15px;
    }
    .box-margin:after {
        display: none;
    }
    .box-margin {
        margin-bottom: 0;
        padding-right: 15px;
        padding-left: 15px;
    }
    .open-tutorial-box-button {
        display: none;
    }
    .dc-tutorial-box {
        max-height: 100%;
    }
}
