@media only screen and (max-width: 1180px){
h2 {
    font-size: 23px;
    margin-bottom: 1vh;
}
p {
    font-size: 14px;
    margin-bottom: 1vh;
}

a,
span {
   font-size: 14px;
}

h5 {
    font-size: 16px;
    margin: 1% 0;
}
ul {
    padding: 5% 0 0 10%;
    margin-left: 0;
}
li {
    font-size: 14px;
    margin-bottom: 0;
}
/*.node--type-resources .main-content .main-section .block-system-main-block .page-area .col-sm-12 {
        width: 98%;
  }*/
/* homepage banner image*/
.bg-image {
    height: 320px;
}

.banner-content h2,
.banner-content h4{
  font-size: 35px;
}

.box-5, .col-lg-5, .box-3, .col-lg-4, .col-lg-3 {
    flex: initial;
}

button.navbar-toggler.collapsed {
    display: none;
}
nav#navbar-main {
    width: 50%;
}
.banner-section {
    margin-top: 45px;
}
.banner-content {
    left: 6%;
    width: 49%;
}
.banner-content p {
    font-size: 20px;
}
.banner-content h4 {
    font-size: 40px;
}
.flex-wrap {
  padding: 2% 0 2% 5.5%;
}
.view-content.row {
    padding: 2% 5%;
}
/* filters */
.js-form-item {
    width: 45%;
    margin: 5px;
}
.search-wrapper {
    margin-left: 6%;
}
/* technology */
.technology {
    display: inline-block;
    margin-top: 1vw;
}
.technology h2 {
    font-size: 18px;
}
/* box */
.highlighted {
  font-size: 18px;
}
.redbox {
  min-height: auto;
}

/* home page */

.page-node-7 .banner-content p {
  color: #000;
  font-size: 25px;
}

label,
.form-select,
.button#edit-submit-resources, button#edit-reset,
input#edit-title {
  font-size: 14px;
}

.views-view-responsive-grid__item .views-field-title span {
   font-size: 18px;
}

.views-field-body p {
   font-size: 14px;
}

/*.page-node-7 .views-view-responsive-grid.views-view-responsive-grid--horizontal {
   --views-responsive-grid--column-count: 2 !important;
}
*/
.card-footer-left,
.card-footer-right {
  width: 50%;
}

.card-footer-right {
  float: left;
  width: 100%;
  text-align: left;
  padding-right: 0;
  font-size: 14px;
  margin-left: 5%;
}
/* filters */
input.form-control {
 margin-top: 0;
 font-size: 14px;
}
button#edit-submit-resources, button#edit-reset, button.form-submit{
 font-size: 14px;
}
/* card-footer */
.card-footer-bottom{
  font-size: 14px;
}

/* serach keyword */
.path-search main#content {
  padding: 100px 35px 50px;
}

.path-search label,
.path-search a {
  font-size: 16px;
}

.path-search input#edit-keys {
  height: 35px;
  font-size: 16px;
}

#user-login-form button,
.path-search button#edit-submit {
  font-size: 16px;
}

.path-search em {
  font-size: 20px;
}
.card-footer{
  position: relative;
}
#resourcearea .card-footer {
        position: absolute !important;
        bottom: 0px !important;
        padding-bottom: 15px !important;
    }
#resourcearea .view-content.row .views-view-responsive-grid__item {
    position: relative;
    padding-bottom: 35%;
}
}

@media only screen and (max-width: 767px){
/*bluesteam*/

.page-node-47 .banner-content {
    width: 90%;
}
.page-node-47 .banner-content h4 {
    font-size: 34px;
}
.page-node-47 .banner-content p {
        font-size: 23px;
}


/* home page banner */

/*.bg-image {
    background-image: url("/storybank/sites/default/files/banner-mb.webp");
    width: 100%;
    height: 500px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}*/

.dt-image{
  display: none;
}
.mb-image{
  display: block;
}

 #resourcearea .block-search .js-form-item {
        width: 85%;
    }
#resourcearea .view-id-resources .view-filters {
    width: 92%;
}
#resourcearea .search-wrapper .search-block-form {
    display: block;
}
/* image */

nav#navbar-main {
    width: 70%;
}

header#header {
  background: rgba(0,0,0,0.9);
}

/* banner content */

.banner-content {
    left: 6%;
    width: 90%;
    margin-top: -45%;
}
.page-node-7 .banner-content {
    margin-top: 0;
    display: block;
    top: 5%;
}
.banner-content p {
    font-size: 25px;
}
.banner-content h4 {
    font-size: 50px;
}

.banner-section img{
  width: 100%;
}

/* box */
.box-5, .col-lg-5, .box-3, .col-lg-4, .col-lg-3 {
   width: 100%;
   display: flex;
   padding: 0;
   flex-direction: column;
}

.js-form-type-textfield input#edit-title {
   margin-top: 0;
}

/* home page */

.page-node-7 .js-form-item {
   width: 100%;
}

.page-node-7 .banner-content h4 {
  font-size: 30px;
}

.page-node-7 .views-view-responsive-grid.views-view-responsive-grid--horizontal {
   --views-responsive-grid--column-count: 1 !important;
}

/* client-overview */

.client-overview .box {
  padding-left: 0;
}

/* search */

.page-node-7 .block-search .js-form-item {
  width: 65%;
}

.page-node-7 #search-block-form,
.page-node-7 .container-inline div {
  width: 100%;
  display: block;
}

.search-wrapper {
  width: 100%;
  margin-left: 6%;
}

/* footer */

.site-footer .site-footer__top.clearfix {
    display: block;
}
.site-footer .nav>li {
    position: relative;
    display: inline-block;
}
.site-footer .nav>li {
    position: relative;
    display: inline-block;
}
.site-footer section.row.region.region-footer-fourth,
.site-footer section.row.region.region-footer-first {
    width: 100%;
}
.site-footer ul.clearfix.nav {
    padding: 0;
}
.site-footer .site-footer__bottom .region {
    margin-top: 0;
}
section.row.region.region-footer-fourth ul.clearfix.nav {
    float: left;
}
section.row.region.region-footer-fifth li.nav-item:last-child {
    float: left;
    margin: 15px 0 0;
}
}
@media (min-device-width:768px) and (max-device-width:1024px){
.site-footer .region-footer-first ul.clearfix.nav.navbar-nav {
    display: inline;
    position: relative;
    top: -15px;
}

    .card-footer {
        position: absolute;
        bottom: 0px;
        padding-bottom: 15px;
    }
	.view-content.row .views-view-responsive-grid__item {
    position: relative;
    padding-bottom: 40%;
    width: 100%;
}
    .card-footer-left, .card-footer-right {
        width: 100%;
    }
	 .search-wrapper {
        margin-left: 5%;
    }
	form .form-actions {
    align-self: flex-end;
    margin-left: 9px;
}

#search-block-form {
    display: block;
}

.js-form-item {
    width: 18%;
    margin: 7px 10px !important;
}

}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
.view-id-resources .view-filters {
        width: 72%;
        float: left;
        margin-left: 2%;
    }
.view-id-resources .view-filters {
        width: 97%;
        float: left;
        margin-left: 0%;
    }	
#resourcearea .js-form-item {
        width: 45%;
    }
}
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
.view-id-resources .view-filters {
    width: 100%;
    float: left;
    margin-left: 0%;
}

}



@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
#search-block-form {
    display: flex;
}
}
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: portrait) {
    .view-id-resources .view-filters {
        width: 100%;
        float: left;
        margin-left: 0%;
    }
}
