/*
  Running Squiz Matrix
  Developed by Squiz - http://www.squiz.net
  Squiz, Squiz Matrix, MySource, MySource Matrix and Squiz.net are registered Trademarks of Squiz Pty Ltd
  Page generated: 23 March 2019 11:38:12
*/


/* for all devices - additional changes*/
/*div.landing-media {
    display:block;
    z-index:1;
    width:49%;
    max-width:470px;
    margin-right: 2.5%;
}
div.landing-media object{
    display: block;
    height: 0;
    padding-bottom: 62.34%;
    position: relative;
    width:100%;
}
.landing-media embed{
    display: block;
    height: 100%;
    left: 0;
    margin: 0;
    position: absolute;
    top: 0;
    width: 100%;
}*/

div.landing-media{
    width:49%;
    max-width:470px;
    margin-right: 2.5%;
    display:block;
}
div.landing-media-wrap {
    display: block;
    height: 0;
    padding-bottom: 62.34%;
    position: relative;
    z-index:1;
    width:100%;
}

.landing-media iframe{
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

#newMobileMedia {
    display:none;
    width:97%;
    clear:both;
    float:left;
    max-width:470px;
    margin-top:20px;
    height:0;
    padding-bottom: 62.34%;
    position: relative;
}
#newMobileMedia iframe{
   width:100%;
   height:100%;
   position:absolute;
   top:0;
   left:0;
}


/* iPhone (portrait and landscape) ----------- */

@media only screen
and (min-device-width : 320px)
and (max-device-width : 569px),
only screen and (min-width : 320px)
and (max-width : 715px) {

   #header .contents #searchbox-container .top-row,
   #mobile-menu-main,
   div#menu-main,
   .twtr-reference-tweet,
   div#utilitybar-main,
   #footer .f-logos,
   div.landing-media,
   div.landing-media.small-screen-view,
   #google_ads_div_student-life-external_ad_wrapper,
   #content-section-1.international_new,
   #slideshow-main-redline {
       display:none;
   }

   #header .contents {position:static;}
   
   #header .contents #logo-container {height: auto;width: 50%;}
   #header .contents #logo-container img {width:88%;height:auto;max-width:220px;}

   #header .contents #searchbox-container {margin-right:0;width:50%;clear:none;margin-top:4px;}
   #header .contents #searchbox-container .bottom-row {width:100%;}
   #header .contents #searchbox-container .bottom-row .box-one { display: none; }
  #header .contents #searchbox-container .bottom-row .box-one .middle-area{
    width:92%;
    background-color: #FFFFFF;
    border-bottom: 4px solid #CF022A;
    border-top: 4px solid #CF022A;
    height: 29px;
  }
  #header .contents #searchbox-container .bottom-row .box-two {
    border: 4px solid #CF022A;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0 0 0 5px;
    width: 87%;

  }
  #header .contents #searchbox-container .bottom-row .box-two input {
    background: #FFFFFF;
    width: 60%;
padding: 0px;
  }
  #header .contents #searchbox-container .bottom-row .box-two button,
  #header .contents #searchbox-container .bottom-row .box-two button:hover {
     background:url(https://www.beds.ac.uk/__data/assets/image/0005/242582/mobileSearch.png?v=0.1.1) no-repeat;
     text-indent:-9999px;
     width:31px;
     height:29px;
     float: right;
  }

   #header {height:auto !important;margin-bottom:0;}

   #mobileDropdown {
       clear: both;
       display: block;
       float: left;
       margin: 15px 8px 20px 8px;
       width: 95%;
   }
   #mobileDropdown span {
       border:3px solid #cfcfcf;
       -moz-border-radius: 3px;
       border-radius: 3px;
       background:url(https://www.beds.ac.uk/__data/assets/image/0003/242571/droparrow.png?v=0.1.1) no-repeat 98% 8px;
       padding: 7px;
       display:block;
   }
   #mobileDropdown ul {
       display:none;
        background:#FFFFFF;
        border: 1px solid #CFCFCF;
        padding: 10px 0 7px 0;
       margin-top:1px;
      position:relative;
      z-index:100;
   }
   #mobileDropdown ul li {padding:0 9px 10px 9px;}

   div#content-area {margin-top:0px;padding:0 0 0 10px;width:97%;}
   .col-1 .container.with-bg,
   .col-1 {padding-top:0;background:none;}
   .col-1 .container.with-bg {margin-bottom:20px;}

   .landing-nav {width:100%;}
   div#content-area .container .article a {padding:0;border:0;}
   .landing-nav ul li {padding-bottom:10px;font-size:14px;}

/* important is needed to overwrite important from media_queries.css - .landing-nav div.column, .landing-nav, .category-box {width:100% !important;}*/

   .landing-nav div.column {width:50% !important;} 
   .landing-nav div.column:nth-child(2) {width:47% !important;padding-left:3%;}

   .col-1 .category-box {margin:0 3% 0 0;width:47% !important;}
   .col-1 .category-box img {height:auto;}
   .category-box p,
   div#content-area .article #study-here blockquote span.quote{font-size:12px;line-height: 1.285em;}
   .category-box h2 {font-size:1.3em;}

   
   .col-1 .column .category-box:nth-child(odd),
   .col-1 .column .category-box:last-child {
        clear:both;
    }
   .col-1 .column #id1866,
   .col-1 .column #id1371,
   .col-1 .column #id203645,
   .col-1 .column #id1718 {clear:none;}

    .twtr-widget .twtr-tweet-wrap {padding:0 5px;margin-bottom:0;}
    #twtr-widget-1 .twtr-tweet-text {margin-bottom:0;}
    .twitter-feed.element {padding-bottom:0;}

     div#content-area #newMobileMedia,
     div#content-area #newMobileMedia iframe  {display:block;}

     .landing-nav .buttons p {width:50%;margin:0;background:none;}
     .landing-nav .buttons p:nth-child(2) {}
     div#content-area .container .article .landing-nav .buttons p a,
     div#content-area .container .article .landing-nav .buttons p a:hover {
            border-bottom: 0 none;
            border-left: 3px solid #DADADA;
            border-right: 3px solid #DADADA;
            font-size: 14px;
            padding: 9px 0 5px;
            width: 90%;
            background-position:center 0;
            border-radius:3px;
            -moz-border-radius:3px;
     }

     .landing-nav.student {background:none;padding:0;}

     .new_international_bottom {float:left;height:auto;width:97%;}
     .new_international_wrapper {padding:0;}
     .new_international_wrapper #world_map {margin:0 10px 20px 10px;width:96%;height:auto;padding-bottom:20px;}
     .new_international_wrapper #world_map img {width:100%;height:auto;}
     .new_international_wrapper #world_map p {left:12px;right:auto;}
     div#content-area .container .article .new_international_wrapper .nim_menu a {padding-top:6px;}
     .new_international_wrapper .nim_menu li {margin-bottom:3px;}
     .new_international_wrapper .nim_menu {margin:0 0 20px 21px;}
     #header .contents #logo-container img {margin-left:7px;}
 


}/* end iPhone and desktop */

/* iPhone only */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 569px) {
    #header .contents #searchbox-container .bottom-row .box-two input {width:72.5%;}
}

@media only screen and (min-width:500px) and (max-width:716px) {
    div#content-area .container .article .landing-nav .buttons p a, 
    div#content-area .container .article .landing-nav .buttons p a:hover {
       border-left:0;
       border-right:0;
    }

    #header .contents #searchbox-container .bottom-row .box-two input {width:81%;}
}

@media only screen and (min-width:716px) and (max-width:960px) {

    div.landing-media {background:none;margin-bottom:0px;}
    .landing-nav {width:48.45%;}
    .col-1 .category-box {margin:0 3% 20px 0;width:47% !important;}
    .col-1 .category-box img {height:auto;}

    .col-1 .column .category-box:nth-child(odd),
   .col-1 .column .category-box:last-child {
        clear:both;
    }
   .col-1 .column #id1866 {clear:none;}


} /* end max-width:960 */
