/* Smartphones (portrait) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 667px)
and (orientation : portrait) {

  h3 {
      font-size: 2rem;
      font-weight: 700;
  }



  h2 {
    font-size: 2.5rem;
    font-weight: 700;
}
  #block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info .feature-title h3, #block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info .feature-body h3 {
      font-size: 2rem;
      font-weight: bold;
      line-height: 3.4rem;
      text-transform: uppercase;
       text-shadow: 0px 0px 0px #000;
       margin-top:-48px;
  }

#block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info {
    background-color: transparent;
    height: 130px;
    left: 0%;
    padding: 0px 30px;
    position: absolute;
    right: auto;
    width: 100%;
    text-align: center;
}


#block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info .feature-body {
    font-size: 1.5rem;
    line-height: 2.8rem;
    width: 100%;
    text-align: center;
    text-shadow: 0px 0px 0px #000;
}

#block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info .feature-body p {
    margin-left: 0%;
    margin-right: 0%;
}

.above_header_inside  #block-search-form {display:none;}

#primary-links {display:block; clear:none;}

#block-views-feature-image-story-block-1 {max-height:300px;}

#block-views-feature-image-story-block-2 .thedepartment p {
    font-size: 1.5rem;
    margin-top: 40px;
}

#block-views-feature-image-story-block-2 .thedepartment {
    color: #1c2957;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}
#block-views-slider-block {
    display: block!important;
    margin: 0 0 30px;
    overflow: visible !important;}

#block-views-slider-block .overallcontent .nonhiddenconten h3 {display:none;}

#block-views-slider-block .overallcontent .hiddencontent {
    color: #ffffff;
    font-weight: 300;
    height: 100%;
    left: 0;
    margin-top: -309px;
    opacity: 1;
    padding: 37px 30px 79px 15px;
    position: relative;
    right: 0;
    text-align: center;
    top: 24px;
    transform: scale(1);
    transition: all 0.3s ease 0s;
    width: 100%;
}


  #block-views-slider-block .overallcontent img {transform: rotate(5deg) scale(1.25); transition: all 0.25s ease 0s; opacity:0.40}

  .view-home-page-news-and-events.two-column > .view-content > .group > .views-row > .views-field {
    float: none;
    margin-right: 0;
    width: 100%;
}


.view-home-page-news-and-events.two-column > .view-content > .group > .views-row > .views-field:nth-of-type(2n) {
    float: none;
    margin-right: 0;
    width: 100%;}

.field-news-preview p {
    margin-left: 0;
}

.news_content img {
    display: block;
    float: none;
    height: auto;
    margin-right: 0;
    max-width: 100%;
    position: relative;
    width: 100%; padding-bottom: 15px;}



.view-home-page-news-and-events.two-column, .view-home-page-news-and-events.stacked {
    margin: 0 0px;}


    .front .main-bottom .container {width:400px; margin-left:auto; margin-right:auto;}


    .flexslider .flex-direction-nav a {
      display: none !important;
    }

    .flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
    margin:20px;

    }

    .main-bottom .region-main-bottom {
        margin: 20px 0px 5px;
    }

    .main-bottom {padding-left:0px; padding-right:0px;}



        .front .main-bottom .container {
    margin-left: auto;
    margin-right: auto;
    max-width: 380px;
    width: 100%;
}

.flexslider .slides > li {
    display: none;
    margin-left: 25px;
    margin-right: 25px;
    width: 276px !important;
}

#block-nodesinblock-1 #nodesinblock-196 {
    float: left;
    margin-right: -20px;
    width: 100%;
}


#block-views-news-story-block-1 .news_content img {
    display: block;
    float: none;
    height: auto;
    margin-right: 0;
    max-width: 100%;
    position: relative;
    width: 100%;}

    #block-views-news-story-block-1 .field-news-preview p {
    margin-left: 0;
}

.front .col-sm-8, .page-people .col-sm-8 {
    width: auto;
}

.above_header_inside .logo {z-index:9;}


.node-landing-page .has-image .group-text {
    margin-left: 0;
}

.node-landing-page .has-image .field-section-image {
    width: 100%;
}

.view-people .people-filter {
    -moz-appearance: none;
    background-color: #e8e9ee;
    background-image: url("/sites/all/themes/pitt_bootstrap/img/select-arrow.png");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    border: medium none;
    border-radius: 0;
    color: #1c2957;
    display: block;
    float: left;
    font-size: 1.3rem;
    height: 27px;
    line-height: 1.3rem;
	margin-top:30px;
    margin-bottom: 30px;
    margin-right: 0;
    outline: medium none;
    padding: 5px 9px;
    position: relative;
    text-shadow: 0 0 0 #000;
    width: 195px;
}

.page-people-faculty .view-people .form-item-field-faculty-fields-of-study-tid .form-control {
    -moz-appearance: none;
    background-color: #e8e9ee;
    background-image: url("/sites/all/themes/pitt_bootstrap/img/select-arrow.png");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    border: medium none;
    border-radius: 0;
    color: transparent;
    display: block;
    float: right;
    font-size: 1.3rem;
    height: 27px;
    line-height: 1.3rem;
    margin-bottom: 30px;
    margin-right: 178px;
    margin-top: 0;
    outline: medium none;
    padding: 5px 9px;
    position: relative;
    text-shadow: 0 0 0 #000;
    width: 240px;
}

.newsdes {
    margin-left: 0%;}
	
	
	#block-views-feature-image-story-block-1 .carousel .views-field-nothing {
    top: -297px;
}
}



/* Smartphones (Landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 667px)
and (orientation : landscape) { #block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info .feature-title h3, #block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info .feature-body h3 {
    font-size: 3.25rem;
    font-weight: bold;
    line-height: 3.4rem;
    text-transform: uppercase;
  text-shadow: 0px 0px 0px #000;
    margin-top:50px;
}

#block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info {
    background-color: transparent;
    height: 130px;
    left: 0%;
    padding: 0px 30px;
    position: absolute;
    right: auto;
    width: 100%;
    text-align: center;
}

#block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info .feature-body {
    font-size: 1.5rem;
    line-height: 2.8rem;
    width: 100%;
    text-align: center;
    text-shadow: 0px 0px 0px #000;
}

.view-home-page-news-and-events.two-column > .view-content > .group > .views-row > .views-field {
  float: none;
  margin-right: 0;
  width: 100%;
}


.view-home-page-news-and-events.two-column > .view-content > .group > .views-row > .views-field:nth-of-type(2n) {
  float: none;
  margin-right: 0;
  width: 100%;}

  .field-news-preview p, .field-news-preview p a{
    margin-left: 0%;
}

.newsdes {
    margin-left: 34%;
}

.view-home-page-news-and-events.two-column .view .view-footer a {
    font-size: 1.2rem;
    background: #0066cc none repeat scroll 0 0;
    color: #fff;
    margin-top: 15px;
    padding: 12px;
    margin-left: 34%;
    display: inline-block;
}

#block-nodesinblock-1 #nodesinblock-196 {
    float: left;
    margin-right: -20px;
    width: 100%;
}
.above_header_inside #block-search-form {
    float: right;
    margin-bottom: -27px;
    margin-top: -49px;
    margin-right: -20px;
    /* display: inline-block; */
    width: 249px;
}

#block-views-feature-image-story-block-1 {
    height: auto;
    margin: 0 0 0px;
}

#block-views-feature-image-story-block-2 {
    background-color: transparent;
    height: auto;
    margin: -36px 20px 25px;
    max-width: 100%;
    min-height: 119px;
}

#block-views-slider-block {
    display: block;
    margin: 0 0 30px;
    overflow: visible;
}
#block-views-slider-block .col-lg-3 {
    padding-left: 0;
    padding-right: 0;
    width: 50%;
    float:left;
}

#block-views-slider-block {
    display: block!important;
    margin: 0 0 30px;
    overflow: visible !important;}

#block-views-slider-block .overallcontent .nonhiddenconten h3 {display:none;}

#block-views-slider-block .overallcontent .hiddencontent {
    color: #ffffff;
    font-weight: 300;
    height: 100%;
    left: 0;
    margin-top: -309px;
    opacity: 1;
    padding: 37px 30px 79px 15px;
    position: relative;
    right: 0;
    text-align: center;
    top: 24px;
    transform: scale(1);
    transition: all 0.3s ease 0s;
    width: 100%;
	font-size:16px;
}


  #block-views-slider-block .overallcontent img {transform: rotate(5deg) scale(1.25); transition: all 0.25s ease 0s; opacity:0.40}

  .view-home-page-news-and-events.two-column > .view-content > .group > .views-row > .views-field {
    float: none;
    margin-right: 0;
    width: 100%;
}
  #block-views-slider-block .overallcontent:hover img {transform: none; transition: all 0.25s ease 0s; opacity:0.40}
  
  
  
  .view-people .people-filter {
    -moz-appearance: none;
    background-color: #e8e9ee;
    background-image: url("/sites/all/themes/pitt_bootstrap/img/select-arrow.png");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    border: medium none;
    border-radius: 0;
    color: #1c2957;
    display: block;
    float: left;
    font-size: 1.3rem;
    height: 27px;
    line-height: 1.3rem;
	margin-top:30px;
    margin-bottom: 30px;
    margin-right: 0;
    outline: medium none;
    padding: 5px 9px;
    position: relative;
    text-shadow: 0 0 0 #000;
    width: 195px;
}

.page-people-faculty .view-people .form-item-field-faculty-fields-of-study-tid .form-control {
    -moz-appearance: none;
    background-color: #e8e9ee;
    background-image: url("/sites/all/themes/pitt_bootstrap/img/select-arrow.png");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    border: medium none;
    border-radius: 0;
    color: transparent;
    display: block;
    float: right;
    font-size: 1.3rem;
    height: 27px;
    line-height: 1.3rem;
    margin-bottom: 30px;
    margin-right: 178px;
    margin-top: 0;
    outline: medium none;
    padding: 5px 9px;
    position: relative;
    text-shadow: 0 0 0 #000;
    width: 240px;
}


#block-views-feature-image-story-block-1 .carousel .views-field-php .feature-image-overlay {
    background-color: transparent;
}

}



@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) { 

#block-views-slider-block {
    display: block;
    margin: 0 0 30px;
    overflow: visible;
}
#block-views-slider-block .col-lg-3 {
    padding-left: 0;
    padding-right: 0;
    width: 50%;
    float:left;
}

#block-views-slider-block {
    display: block!important;
    margin: 0 0 30px;
    overflow: visible !important;}

#block-views-slider-block .overallcontent .nonhiddenconten h3 {display:none;}

#block-views-slider-block .overallcontent .hiddencontent {
    color: #ffffff;
    font-weight: 300;
    height: 100%;
    left: 0;
    margin-top: -309px;
    opacity: 1;
    padding: 37px 30px 79px 15px;
    position: relative;
    right: 0;
    text-align: center;
    top: 24px;
    transform: scale(1);
    transition: all 0.3s ease 0s;
    width: 100%;
	
}


  #block-views-slider-block .overallcontent img {transform: rotate(5deg) scale(1.25); transition: all 0.25s ease 0s; opacity:0.40}

  .view-home-page-news-and-events.two-column > .view-content > .group > .views-row > .views-field {
    float: none;
    margin-right: 0;
    width: 100%;
}
  #block-views-slider-block .overallcontent:hover img {transform: none; transition: all 0.25s ease 0s; opacity:0.40}
  
  .newsdes {
    margin-left: 28%;
}


 .view-home-page-news-and-events.two-column > .view-content > .group > .views-row > .views-field:nth-of-type(2n){
    float: none;
    margin-right: 0;
    width: 100%;
}

.newseventslines, .eventslines {
    background: #cdb87c none repeat scroll 0 0;
    display: inline-block;
    height: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 619px;
    padding-bottom: 3px;
    position: relative;
    text-align: center;
    width: 100%;
}

#block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info .feature-title h3, #block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info .feature-body h3 {
    font-size: 3.25rem;
    font-weight: bold;
    line-height: 6.4rem;
    text-transform: uppercase;
    text-shadow: 6px 6px 4px #000;
}


#block-views-feature-image-story-block-1 .carousel .views-field-nothing {
    top: -415px;
    display: block;
    height: 130px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

#block-views-feature-image-story-block-1 {
    height: 495px;
    margin-bottom: -169px;
}

#block-views-feature-image-story-block-1 .carousel .views-field-php .feature-image-overlay {
    background-color: transparent;
}
#block-views-feature-image-story-block-1 .carousel .carousel-indicators {display:none;}

#block-views-news-story-block-1 .news_content img {
    float: left;
    display: block;
    position: relative;
    width: 100%;
    max-width: 432px;
    height: auto;
    margin-right: 3%;
	margin-bottom:15px;}
	
	#block-views-news-story-block-1 .field-news-preview p {
    margin-left: 0%;
}

#block-views-news-story-block-1 .view-footer a {
    font-size: 1.2rem;
    background: #0066cc none repeat scroll 0 0;
    color: #fff;
    margin-top: 15px;
    padding: 12px;
    margin-left: -3%;
}

.node-landing-page .has-image .field-section-image {
    width: 100%; margin-bottom:15px;
}

.node-landing-page .has-image .field-section-image img {
    width: 431px;
}
 .node-landing-page .has-image .group-text {
    margin-left: 0; 
  
   }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) { 

#block-views-slider-block .overallcontent {
    float: left;
    overflow: hidden;
    position: relative;
    width: 490px;
}
}




/* Desktops and laptops ----------- */
@media screen 
  and (min-device-width: 980px) 
  and (max-device-width: 1279px) 
  and (-webkit-min-device-pixel-ratio: 1) { 


    body {
        font-size: 1em;
    }
	
	#block-views-feature-image-story-block-2 .thedepartment {
    color: #1c2957;
    margin-left: 15%;
    margin-right: 15%;
    text-align: center;
	margin-top:55px;
}
	
	#block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info .feature-title h3, 
	#block-views-feature-image-story-block-1 .carousel .views-field-nothing .feature-info .feature-body h3 {
    font-size: 6.25rem;
    font-weight: bold;
    line-height: 5.4rem;
    text-transform: uppercase;
    text-shadow: 6px 6px 4px #000;}

}

