/* Additional Media Queries */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
/* default */
	#curWidth {background: blue !important;}

	/* utility nav */
	#zone-utility a.close-button {background:#F9F9F9 url(../img/btn_close_grey_x2.gif) no-repeat center center; background-size:contain;}
	
	/*!* logo / buttons tab/mob *!	*/
	/*#region-buttons-devices .menu a#expand-search {background:#F9F9F9 url(../img/btn_showsearch_x2.gif) no-repeat center center; background-size:contain;}	*/
	/*#region-buttons-devices .menu a#expand-utility {background:#F9F9F9 url(../img/btn_showutility_x2.gif) no-repeat center center; background-size:contain;}*/

	/* site search */
	#zone-header a.close-button {background:#F9F9F9 url(../img/btn_close_white_x2.gif) no-repeat center center; background-size:contain;}
	#region-search .form-actions input {background:#F9F9F9 url(../img/btn_search_x2.gif) no-repeat 0 0; background-size:contain;}
	
	/* back to top/site credit */
	#credit-b2t #bottom-b2t a{background:url(../img/btn_close_darkgrey_x2.gif) no-repeat right center; background-size:35px 35px;}

	/* events  */
	.news-events-block h2 {background:#FFF url(../img/icon_calendar_x2.png) no-repeat 95% center; background-size:17px 20px;}

	/* rotating banner */ 
	ul.flex-direction-nav li a.flex-prev {background:url(../img/arrow_previous_x2.png) no-repeat 0 0; background-size:18px 27px;}
	ul.flex-direction-nav li a.flex-next {background:url(../img/arrow_next_x2.png) no-repeat 0 0; background-size:18px 27px;}
	
	/* section title */
	#zone-titling a#print {background:url(../img/icon_print_x2.png) no-repeat top center; background-size:21px 16px;}
	
	/* content title */
	a#extra-nav-anchor {background:#FFF url(../img/btn_showfourth_x2.gif) no-repeat 97% center; background-size:47px 47px;}

	/* second/third level nav */
	#region-sidebar-first .nav a.close-button {background:#F9F9F9 url(../img/btn_close_white_x2.gif) no-repeat center center; background-size:35px 35px;}

	/* extrs second/third level nav */
	#subnav a.close-button {background:#F9F9F9 url(../img/btn_close_grey_x2.gif) no-repeat center center; background-size:35px 35px;}	

	/* share/back 2 top links */
	#share-back-top a#user-share {background:url(../img/icon_share_x2.gif) no-repeat left center; background-size:31px 30px;}
	#share-back-top a#user-b2t {background:url(../img/icon_b2t_x2.gif) no-repeat right center; background-size:31px 30px;}
	
	/* maynooth/social media icons */
	#region-social {background:transparent url(../img/bg_campus_x2.png) no-repeat left bottom;}
	#region-social li.icon_fb a {background:#C7C7C7 url(../img/social_icons/fb_x2.png) no-repeat center center; background-size:63px 63px;}
	#region-social li.icon_tw a {background:#C7C7C7 url(../img/social_icons/tt_x2.png) no-repeat center center; background-size:63px 63px;}
	#region-social li.icon_in a {background:#C7C7C7 url(../img/social_icons/in_x2.png) no-repeat center center; background-size:63px 63px;}
	#region-social li.icon_yt a {background:#C7C7C7 url(../img/social_icons/yt_x2.png) no-repeat center center; background-size:63px 63px;} 

	/* content accordion */
	.field-name-field-sections h3.plus {background:#007e8c url(../img/arrow_plus_x2.gif) no-repeat 5px 7px; background-size:26px 26px;}
	.field-name-field-sections h3.minus {background:#666 url(../img/arrow_minus_x2.gif) no-repeat 5px 7px; background-size:26px 26px;}

	/* perfect location */
	.front .aside .the-perfect-location ul.menu li.n1 a {background:#FFF url(../img/icon_map_x2.png) no-repeat 10px center; background-size:21px 20px;}
	.front .aside .the-perfect-location ul.menu li.n2 a {background:#FFF url(../img/icon_car_x2.png) no-repeat 10px center; background-size:21px 20px;}
	.front .aside .the-perfect-location ul.menu li.n3 a {background:#FFF url(../img/icon_bus_x2.png) no-repeat 10px center; background-size:21px 20px;}
	.front .aside .the-perfect-location ul.menu li.n4 a {background:#FFF url(../img/icon_rail_x2.png) no-repeat 10px center; background-size:21px 20px;}
	.front .aside .the-perfect-location ul.menu li.n5 a {background:#FFF url(../img/icon_plane_x2.png) no-repeat 10px center; background-size:21px 20px;}
	
	/* download prospectus */
	.download-a-prospectus a {background:url(../img/icon_download-prospectus_x2.png) no-repeat right center; background-size:20px 21px;}
	
	/* course listing - search */
	.course-quickfind form input.form-submit {background:#F9F9F9 url(../img/btn_search_x2.gif) no-repeat 0 0; background-size:contain;}

	/* study at NUIM panels */
	#region-content-bottom .simple-panel h2 {background:#92342F url(../img/bg_simplepanel_red_x2.png) no-repeat top right;}
	#region-content-bottom .b1.simple-panel h2, #region-content-bottom .b6.simple-panel h2 {background:#004684 url(../img/bg_simplepanel_blue_x2.png) no-repeat top right;}
	#region-content-bottom .b2.simple-panel h2, #region-content-bottom .b7.simple-panel h2 {background:#F0AF11 url(../img/bg_simplepanel_yellow_x2.png) no-repeat top right;}
	#region-content-bottom .b3.simple-panel h2, #region-content-bottom .b5.simple-panel h2, #region-content-bottom .b9.simple-panel h2 {background:#00818F url(../img/bg_simplepanel_green_x2.png) no-repeat top right;}			

/* mobile */
	/* section title */
	#zone-titling a#mobile-subnav-toggle {background:url(../img/btn_showsecondary_x2.gif) no-repeat center center; background-size:47px 47px;}

/* desktop */
	/* perfect location */
	.front .aside .the-perfect-location ul.menu li.n1 a {background:#FFF url(../img/icon_map_x2.png) no-repeat center 8px; background-size:21px 20px;}
	.front .aside .the-perfect-location ul.menu li.n2 a {background:#FFF url(../img/icon_car_x2.png) no-repeat center 8px; background-size:21px 20px;}
	.front .aside .the-perfect-location ul.menu li.n3 a {background:#FFF url(../img/icon_bus_x2.png) no-repeat center 8px; background-size:21px 20px;}
	.front .aside .the-perfect-location ul.menu li.n4 a {background:#FFF url(../img/icon_rail_x2.png) no-repeat center 8px; background-size:21px 20px;}
	.front .aside .the-perfect-location ul.menu li.n5 a {background:#FFF url(../img/icon_plane_x2.png) no-repeat center 8px; background-size:21px 20px;}
	
}	

@media screen and (max-width:920px) and (min-width:320px) and (orientation:landscape) {

#curWidth {background:pink !important;}
 
/* primary nav */
/*#region-primary .nav ul.menu li ul {display:none; visibility:hidden;}*/

/* course details - tabs  */
.node-course .field-group-tabs ul.vertical-tabs-list li a {padding:15px 10px;}
}

/* 320 */
@media screen and (max-width:320px) {

/* logo / buttons tab/mob */
#logo-devices img {padding-top:5px;}

/* maynooth/social media icons */
#region-social {background:transparent url(../img/bg_campus_sml.gif) no-repeat left bottom;}

/* Research Theme Cluster blocks. */
.cluster-listing .row, .cluster-listing  .field-item{float:left; width:100%; clear:right; margin-bottom:20px;}
.cluster-listing .m3_3 .row-inner, .cluster-listing .m3_1 .row-inner, .cluster-listing .row-inner, .cluster-listing .field-item .node-teaser {margin:0; background:#f1f1f1;}

}

/* 320-390 */
@media screen and (max-width:390px) {

/* download prospectus */
.download-a-prospectus a {font-size:20px; font-size:2rem; line-height:30px;}

}

/* 391-480 */
@media screen and (max-width:480px) and (min-width:391px) {

/* page structure */
body .paired {width:50%;float:left;}
body .paired.odd {clear:left;}
body .paired.odd .block-inner {margin-right:10px;}
body .paired.even .block-inner {margin-left:10px;clear:left;}

}


/* 481 - 595 */
@media screen and (max-width:595px) and (min-width:481px) {

#curWidth {background:purple;}

/* primary nav */
#region-primary {border-top:none; padding:0;}
#region-primary .region-inner{padding:0 5px;}
	/*#region-primary .nav ul.menu li.first {display:none;}*/
	#region-primary .nav ul.menu li {list-style:none; margin:0; padding:0; float:left; display:inline; position:relative; width:50%; text-align:center;}
	#region-primary .nav ul.menu li a {border-top:1px solid #E8E8E8; padding:10px 0; margin:0 5px; font-size:16px; font-size:1.6rem; line-height:20px;}
	#region-primary .nav ul.menu li ul {display:none; visibility:hidden;}
	#region-primary .nav ul.menu li ul li {float:none; display:block; width:100%;}

/* news/events listing */
#region-sidebar-first .news-events .view-header form {position: relative; top:0; right:0; padding:10px 20px 0 20px;}
#region-sidebar-first .news-events .view-header form select {width:200px !important; padding:6px 0 6px 10px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; border:2px solid #E8E8E8; background:#FFF; font-size:14px; font-size:1.4rem; font-family:Arial; color:#211003;}
#region-sidebar-second .news-events .view-header form {position: relative; top:0; right:0; padding:10px 20px 0 20px;}
#region-sidebar-second .news-events .view-header form select {width:200px !important; padding:6px 0 6px 10px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; border:2px solid #E8E8E8; background:#FFF; font-size:14px; font-size:1.4rem; font-family:Arial; color:#211003;}

/* news/events detail */
.more-news-events h2.block-title {margin-bottom:0; border-bottom:1px solid #DCDCDC;}
.more-news-events .view-header form {position: relative; top:0; right:0; padding:10px 20px;}
.more-news-events .view-header form select {width:200px !important; padding:6px 0 6px 3px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; border:2px solid #E8E8E8; background:#FFF; font-size:14px; font-size:1.4rem; font-family:Arial; color:#211003;}

/* back to link */
a.back {clear:both; position: relative; top:0; right:0; padding:10px 20px 10px 35px; display:block; background:#f6f6f6 url(../img/arrow_back_green.png) no-repeat 20px center;}

/* lecturer profile */
.node-type-lecturer.page-node .field-name-field-image {float:none; width:100%;}	
.node-type-lecturer.page-node .group_details {float:none; width:100%;}
	.node-type-lecturer.page-node .group-video .field-name-field-video {display:none;}
	.node-type-lecturer.page-node .group-video .field-name-field-text {float:none; width:100%;}
	.node-type-lecturer.page-node .group-video .field-name-field-basic-html {float:none; width:100%;}

/* Cluster Node Page. */
.three-columns #region-content-bottom .profiles-listing .cluster-row { width: 100%; margin: 0 0 20px 0; }
.three-columns #region-content-bottom .profiles-listing .cluster-row.odd .row-inner, .three-columns #region-content-bottom .profiles-listing .cluster-row.even .row-inner { margin: 0; }

/* Commercialisation Landing. */
.page-node-70 #region-four-panels-embedded .bean-e { float: left; width: 100%; }
.page-node-70 .news-events .views-field-field-image { float: none; width: 100%; margin-bottom: 10px; }
.page-node-70 .news-events .views-field { float: none; width: 100%; }

/* Research Development */
.context-research #region-content .bean-e.research-development---research- .block-inner img { float: none; width: auto; max-width: 100%; margin-right: 0; }
.context-research #region-content .bean-e.research-development---research- h2.block-title { background: 0; width: auto; float: none; background-color: #F6F6F6; color: #000; border-bottom: 0; }
.context-research #region-content .bean-e.research-development---research- p { width: auto; float: none; background-color: #F6F6F6; }

}

/* 550 - 619 */
@media screen and (max-width:619px) and (min-width:550px) {

    /* primary nav */
    #region-primary {border-top:none; padding:0;}
    #region-primary .region-inner{padding:0 5px;}
    /*#region-primary .nav ul.menu li.first {display:none;}*/
    #region-primary .nav ul.menu li {list-style:none; margin:0; padding:0; float:left; display:inline; position:relative; width:50%; text-align:center;}
    #region-primary .nav ul.menu li a {border-top:1px solid #E8E8E8; padding:10px 0; padding-top: 15px!important; margin:0 5px; font-size:16px; font-size:1.6rem; line-height:20px;}
    #region-primary .nav ul.menu li ul {display:none; visibility:hidden;}
    #region-primary .nav ul.menu li ul li {float:none; display:block; width:100%;}

    .container-12 #region-buttons-devices .region-inner { margin-right: 5px; width: auto; }
    /* primary nav */
    #region-primary .nav .content > ul.menu > li.menu-mlid-363 > a:before { content:""; margin-left: 0; }
    #region-primary .nav .content > ul.menu > li.menu-mlid-364 > a:before { content:""; margin-left: 0; }
    #region-primary .nav .content > ul.menu > li.menu-mlid-366 > a:before { content:""; margin-left: 0; }

}


/* 591 - 680 */
@media screen and (max-width:680px) and (min-width:596px) {

/* primary nav */
#region-primary .nav ul.menu li a {font-size:16px; font-size:1.6rem; line-height:20px; margin:0;}

}


/* 580 - 768 */ 
@media screen and (max-width:768px) and (min-width:580px) {

/* page structure */
body .paired {width:50%;float:left;}
body .paired.odd .block-inner {margin-right:10px;}
body .paired.odd {clear:left;}
body .paired.even .block-inner {margin-left:10px;}

/* Research Landing Page */
.page-node-3 #region-content-bottom .news-items.block, #region-content-bottom .news-items.block-1 { width:50%;float:left; }
.page-node-3 #region-content-bottom .news-items.block .block-inner { margin-right:10px; }
.page-node-3 #region-content-bottom .news-items.block-1 .block-inner { margin-left:10px; }

  /* Course listing remove duplicate tables. */
  body.page-study-maynooth-undergraduate-studies-courses #region-content .block.main-content .block-inner div.content table.cols-2 { display: none; }
  body.page-study-maynooth-undergraduate-studies-courses #region-content .block.main-content .block-inner div.content table tbody td { border-bottom: none; }
  body.page-study-maynooth-postgraduate-studies-taught-programmes #region-content .block.main-content .block-inner div.content table.cols-2 { display: none; }
  body.page-study-maynooth-postgraduate-studies-taught-programmes #region-content .block.main-content .block-inner div.content table tbody td { border-bottom: none; }
  body.page-study-maynooth-postgraduate-studies-phd-research-programmes #region-content .block.main-content .block-inner div.content table.cols-2 { display: none; }
  body.page-study-maynooth-postgraduate-studies-phd-research-programmes #region-content .block.main-content .block-inner div.content table tbody td { border-bottom: none; }
  body.page-study-maynooth-certificates-short-courses-certificates #region-content .block.main-content .block-inner div.content table.cols-2 { display: none; }
  body.page-study-maynooth-certificates-short-courses-certificates #region-content .block.main-content .block-inner div.content table tbody td { border-bottom: none; }
  body.page-study-maynooth-certificates-short-courses-diplomas #region-content .block.main-content .block-inner div.content table.cols-2 { display: none; }
  body.page-study-maynooth-certificates-short-courses-diplomas #region-content .block.main-content .block-inner div.content table tbody td { border-bottom: none; }

}

/*  769 - 875 */
/*@media screen and (max-width:875px) and (min-width:769px) {*/
    /*#region-primary { border-top: none; top: -20px; padding: 15px 0; float: none; }*/
    /*#region-primary .nav .content > ul.menu > li { display: table-cell; text-align: center; vertical-align: middle; padding: 10px 0; }*/
    /*#region-primary .nav .content > ul.menu > li > a { padding: 0; font-size: 18px; font-size: 1.8rem; width: 95%; line-height: 22px; margin: auto;  }*/
    /*#region-primary .nav .content > ul.menu { margin-top: 30px; }*/
    /*#region-logo-devices img { max-width: 300px; max-height: 100px; }*/
    /*#region-logo-devices .region-inner { padding-bottom: 20px; }*/

    /*.container-12 #region-primary .region-inner { margin-right: -20px; }*/

/*}*/

/*  769 - 900 */
@media screen and (max-width:900px) and (min-width:769px) {

  /*.page-library-exam-papers form#views-exposed-form-exam-papers-page .views-exposed-widget { min-width: 45% }*/
    /*Course Images*/
    .node-course .field-name-field-image { width: 100%; }
    .node-course .field-name-field-image img { max-height: 200px; }
    .node-course .extra-header-left { width: 100%; }
}

/*  769 - 850 */
@media screen and (max-width:850px) and (min-width:769px) {

    /*#zone-utility .nav ul.menu { width: 100% !important; float: none; }*/

}

/*  840 - 1100 */
@media screen and (max-width:1100px) and (min-width:840px) {

	/*Departments Page*/
	body.page-node-3944 #region-page-lower h2#page-title a { padding: 0 1%;}
	body.page-node-3944 #region-page-lower h2#page-title a.last { padding-left: none; }

}

/*  550 - 839 */
@media screen and (max-width:839px) and (min-width:550px) {

	/*Departments Page*/
	body.page-node-3944 #region-page-lower h2#page-title a { width: 95%; margin: 10px 5px;}
	body.page-node-3944 #region-page-lower h2#page-title a.last { padding-left: 5%; width: 95%; }

}

/*  481 - 950 */
@media screen and (max-width:950px) and (min-width:481px) {
	
/* news/events listing */
#region-sidebar-first .news-events .view-header form {position: relative; top:0; right:0; padding:10px 20px 0 20px;}
#region-sidebar-first .news-events .view-header form select {width:250px; padding:6px 0 6px 10px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; border:2px solid #E8E8E8; background:#FFF; font-size:14px; font-size:1.4rem; font-family:Arial; color:#211003;}
#region-sidebar-second .news-events .view-header form {position: relative; top:0; right:0; padding:10px 20px 0 20px;}
#region-sidebar-second .news-events .view-header form select {width:250px; padding:6px 0 6px 10px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; border:2px solid #E8E8E8; background:#FFF; font-size:14px; font-size:1.4rem; font-family:Arial; color:#211003;}

#zone-utility .nav .menu li { float: none; padding: 0; }

}

/*  769 - 875 */ 
@media screen and (max-width:875px) and (min-width:769px) {
	
/* course listing - search */
.undergratuate-courses-search .course-panel1, .undergratuate-courses-search .course-panel2, .postgraduate-courses-search .course-panel1, .postgraduate-courses-search .course-panel2 {width:100% !important; padding:10px 0 !important;}

}

/*  769 - 980 */ 
@media screen and (max-width:980px) and (min-width:769px) {

/* primary nav */
#region-primary .nav ul.menu li a { font-size:15px; font-size:1.5rem; line-height:22px; }
#region-primary .nav ul.menu li ul { top:54px; }

/* section hp 4 panels */
.beans-block h2 {padding:10px 20px;}

/* Careers Jobs */
h2.jobs-header div.jobs-header {float: none; margin-top: 10px;}

/* International Partners node */
.node-type-partner #region-content-embedded {width: 100%; float: left; position: relative; right: 0px; margin-right: 0;}
.node-type-partner .gmap-gmap {width: 80% !important; margin: 0 10%;}

/* Careers - Employers */
.employer_logo {float: none; }
/*.block.main-content .block-inner .employer_logo img {max-width: 180px; max-height: 65px;}*/
.employer_data {float: none;}
div.job-entry {min-height: 100px;}

/*#zone-utility .nav ul.menu { width: 100% !important; float: none; }*/

}

/*  981 - 1095 */
@media screen and (max-width:1095px) and (min-width:981px) {

/* primary nav */
#region-primary .nav ul.menu li a { font-size:15px; font-size:1.5rem; line-height:22px; }
#region-primary .nav ul.menu li ul { top:54px; }

}

/*  769 - 1010 */
@media screen and (max-width:1010px) and (min-width:769px) {

/* course details - tabs  */
.node-course .field-group-tabs ul.vertical-tabs-list li a {padding:15px 5px; overflow:hidden;}
	
}

/*  981 - 1010 */ 
@media screen and (max-width:1010px) and (min-width:981px) {
	
/* section hp 4 panels */
.beans-block h2 {padding:10px 20px;}		
	
}

/*  769 - 1140 */
@media screen and (max-width:880px) and (min-width:769px) {

 /*Library Searchbox */
  body.library #region-page-upper div.content form div.searchform-left span.searchform-text { font-size: 11px; font-size: 1.1rem; color: #F1F1F1; font-weight: bold; }

}

/*  769 - 1140 */
@media screen and (max-width:985px) and (min-width:880px) {

/* Library Searchbox */
  body.library #region-page-upper div.content form div.searchform-left span.searchform-text { font-size: 13px; font-size: 1.3rem; color: #F1F1F1; font-weight: bold; }

}

/*  769 - 1140 */
@media screen and (max-width:1140px) and (min-width:985px) {

/* Library Searchbox */
  body.library #region-page-upper div.content form div.searchform-left span.searchform-text { font-size: 15px; font-size: 1.5rem; color: #F1F1F1; font-weight: bold; }

}

/* footer amends */
@media all and (max-width:860px) {
	/* footer amends */
	#region-footer-right img{width:186px;height:auto;}	
	#region-footer-right p{font-size:0.85em;}
}

@media all and (max-width:690px) {
	/* footer amends */
	#region-footer-left {display:none}	
	#region-footer-right {width:100%;}
	#region-footer-right .block{float:none!important;}

}

/*  981 - 1010 */
@media screen and (max-width:720px) and (min-width:480px) {

    /* Video */
    /*div.field-name-body iframe {width: 100%;}*/
}

/*  769 - 980 */
@media screen and (max-width:980px) and (min-width:769px) {
	#region-footer-right img { width: 145px; height: auto; }
}

/*  691 - 768 */
@media screen and (max-width:768px) and (min-width:691px) {
	#region-footer-right img { width: 115px; height: auto; }
}
