/************************MEDIA QUERIES************************/

@media only screen and (max-width: 1020px) {

	.block {
		height: 500px;
	}

}

@media only screen and (max-width: 994px) {

	.wrap, body {
		width: 100% !important;
		overflow-x: hidden;
		position: static;
	}
	.nivo-wrap,
	.album-wrap {
		width: 650px;
	}
	
	.nivo-gallery li:nth-child(2n + 2),
	#albums li:nth-child(2n + 2) {
	margin-right: 0;
	}
	.nivo-gallery li:nth-child(3),
	#albums li:nth-child(3){
	margin-right: 30px;
	}
	.nivo-gallery,
	#albums {
		margin-top: 40px;
	}
	
	.nivo-wrap p a,
	.album-wrap p a{
		top: 30px;
	}
	.wrap,
	.nivo-wrap,
	.album-wrap {
		padding: 0 15px;
	}
	
	.wrap.main {
		padding: 40px 15px;
	}
	
	.extend:before, .extend:after {
		display: none;
	}
	
	.submenu {
		width: 100%;
		top: 85px;
	}	
	
	.banner {
		background-size: cover;
	}
	
	h3.caption {
		padding: 10px 20px;
	}
	
	/*SCHOLORSHIP SUPPORT / STAFF*/
	
	#scholarship-pg .main,
	#staff-pg .main {
		padding: 10px 20px;
	}
	
	#scholarship-pg aside,
	#staff-pg aside {
		width: 44.479166%; 
	}
	
	#scholarship-pg .col,
	#staff-pg .col {
		width: 23.75%;
	}
	
	#scholarship-pg .main img,
	#staff-pg ,main img {
		width: 100%;
		height: auto;
	}
	
	/*REGIONS | ISSUE | */
	
	.regions .main,
	.issue .main,
	#tejo-reports-pg .main {
		padding: 20px 20px 0 20px;
		width: 100%;
	}
	.regions .col,
	.issue .col,
	#tejo-reports-pg .col,
	.working-papers .col {
		width: 50%;
		float: none;
		margin: 0 auto;
	}
	
	.regions .col img,
	.issue .col img,
	#tejo-reports-pg img,
	.working-papers img {
		width: 100%;
		height: auto;
	}
	
	.regions .col:last-child
	.issue .col:last-child,
	#tejo-reports-pg .col:last-child {
		margin: 0 auto;
	}
	
	/*EVENTS DIARY | SCHOLARSHIPS* | ASSOCIATES*/
	
	.events {
		width: 90%;
		padding: 20px 20px 0 20px;
		margin: 0 auto; 
	} 
	
	.events li,
	#scholarship-award-pg .col,
	#assoc-list li {
		width: 30%;
	}
	
	/*SYMPOSIA SERIES / MALTA /TEJO / MUNWALK / EPPC REPORTS / MALTA REPORTS*/
	
	#symposia-left,
	#malta-conf-main,
	#tejo-content,
	#munwalk-left,
	.eppc-col,
	.malta-col,
	#event-left,
	#pub-left {
		width: 64.375%;
	}
	
	#symposia-left img,
	#malta-conf-main img,
	#tejo-content img,
	#munwalk-left img,
	.eppc-col img,
	.malta-col img,
	#event-left img {
		width: 100%;
		height: auto;
	}
	
	#event-right,
	#pub-right {
		width: 31.666666%;
	}
	
	#symposia-right,
	#malta-conf-pg aside,
	#tejo-conf-pg aside,
	#munwalk aside,
	#pub-sidebar {
		width: 27.8125%;
	}
	
	#malta-conf-pg .main,
	#tejo-conf-pg .main,
	#munwalk-pg .main,
	#eppc-repot-wrap .main,
	#malta-report-wrap .main,
	#eppc-report-wrap .main {
		background-image: none;
		
	}
	
	#tejo-conf-pg .main,
	#eppc-repot-pg .main,
	#malta-report-wrap .main,
	#pub-pg .main,
	#scholarship-award-pg .main,
	#event-pg .main,
	#eppc-report-wrap .main {
		padding: 20px;
	}
	
	#event-pg .main {
		position: relative;
	}
	
	#malta-conf-pg aside,
	#tejo-conf-pg aside {
		margin-left: 20px;
	}
	
	
	/*EPPC | CONF | TURKISH*/
	#eppc-conf-left {
		width: 22.8125%;
	}
	
	#eppc-conf-center {
		width: 47.7083%;
	}
	
	#eppc-conf-right {
		width: 21.875%;
	}
	
	#eppc-conf-left img,
	#eppc-conf-center img,
	#pub-pg .col img,
	#scholarship-award-pg .col img{
		width: 100%;
		height: auto;
	}
	
	.has-nav .content {
		width: 64.479166%;
	}
	
	.has-nav aside {
		width: 33.333333%;
		margin-right: 2.083333%;
	}
	
}

@media only screen and (max-width: 979px) {
/*EPPC*/
	#eppc-conf-pg .gray-sm {
		background-image: none;
	}

}

@media only screen and (max-width: 973px) {
	
	#main-home section, #main-home section:last-child{
		width: 90%;
		float: none;
		margin: 50px auto;
	}
	
	#main-home section:first-child {
		margin-top: 0;
	}
	
	#main-home.group.main {
		padding-bottom: 0 !important;
	}
}

@media only screen and (max-width: 965px) {

	/*SYMPOSIA SERIES* / MUNWALK*/
	#symposia-pg .gray,
	#munwalk-pg .main{
		background-image: none;
		padding: 20px;
	}
	
	#symposia-pg .main {
		padding: 20px;
	}
	
	#munwalk-logo {
		margin: -45px 0 -30px -41px;
	}

}

@media only screen and (max-width: 960px) {

	.bannertxt {
		background: #000;
		border-bottom: 2px solid #fff;
	}
	
	.bannertxt h2 {
		font-size: 2em;
	}
	
	.bannertxt p {
		line-height: 1.5em;
	}

}

@media only screen and (max-width: 946px) {
	/*CONF*/
	
	#paix-conf-pg .main{
		padding-left: 15%;
	}
	.conf {
		width: 40%;
	}
	
	/*ASSOCIATES*/
	
	#assoc-list li {
		width: 100%;
	}
	
	#assoc-list li img {
		width: 20%;
	}
	
	#associates-pg .main {
		padding: 20px;
	}
	
}

@media only screen and (max-width: 940px) {
	/*GUIDING/UNITING*/
		
		#guiding-pg .main img,
		#uniting-pg .main img {
			margin-left: 10px;
		}
		
		#guiding-pg .main section,
		#uniting-pg .main section
		 {
			width: 61.458333%;
			padding-right: 20px;
		}
}

@media only screen and (max-width: 922px) {

/*EPPC*/

	#eppc-conf-left {
		width: 30%;
	}
	
	#eppc-conf-center {
		width: 60%;
	}
	
	#eppc-conf-right {
		width: 90%;
		float: left;
		padding: 20px;
		
	}
	
	#eppc-conf-right h4 {
		margin-top: 50px;
	}
}

@media only screen and (max-width: 880px) {
	
	header {
		position: relative;
		background-color: rgba(0,0,0, 1);
		border-bottom: 1px solid #555;
	}
	/*STAFF*/

	 #staff-pg aside {
		float: none;
		margin-right: 0;
		margin: 0 auto;
		width: 100%;
		clear: both;
		padding-top: 50px;
	}
	
	#cruz.col,
	#pirotta.col {
		width: 47%;
	}
	
	#cruz.col img,
	#pirotta.col img {
		width: 100%;
		height: auto;
	}
	
	#pirotta.col {
		margin-right: 0;
	}
	
	#staff-pg #main-wrap {
		margin: 0 auto;
		width: 90%
	}
}

@media only screen and (max-width: 815px) {

	#footer-left {
		float: none;
	}
	
	#footer-left h6 {
		text-align: center;
	}
	
	small{
		text-align: center;
		width: auto;
		float: none;
		display: block;
		
	}
	
/*GUIDING/UNITING*/
		
		#guiding-pg .main section,
		#uniting-pg .main section {
			width: 55%;
		}
		
		/*EVENTS DIARY*/
	
	.event .main {
		width: 100%; 
	} 
	
	.events li {
		width: 100%;
		float: none;
	}
	
}

@media only screen and (max-width: 784px) {

	/*SYMPOSIA SERIES / EPPC REPORT / MALTA REPORT*/
	
	#symposia-left,
	.eppc-col,
	#symposia-right,
	.malta-col,
	#pub-sidebar
	 {
		width: 100%;
		float: none;
		margin: 0 auto;
	}
	
	#symposia-right h4,
	#eppc-repot-pg h4,
	#malta-report-pg h4 {
		margin-top: 50px;
	}
	
	#assoc-list li img {
		width: 30%;
	}
	
}

@media only screen and (max-width: 755px) {
	
	#social {
		display: none;
		float: none;
		margin-top: 10px;
		width: 100%;
	}
	
	nav {
		position: absolute;
		top: 0;
		right: 0;
		margin-top: 0;
	}
	
	#page-nav {
		position: absolute;
		right: -246px;
		padding: 20px;
		background: #000;
		top: 87px;
		transition: all .175s;
		border-left: 1px solid #555;
		border-bottom: 1px solid #555;
		width: 246px;
		display: none;
		
	}
	
	#page-nav.open-menu {
		right: 0;
		display: block;
	}
	
	#page-nav li {
		float: none;
	}
	
	.wrap {
		position: static;
	}
	
	#mobile-nav {
		background: url(/img/mobile-nav-icon.png) right center no-repeat;
		width: 26px;
		height: 6px;
		text-indent: -999em;
		float: right;
		cursor: pointer;
		display: block;
	}
	
	h1 a {
		background-size: cover;
		width: 155px;
		height: 56px;
	}
	
	#what-dd {
		top: 65px;
	}
	
	.submenu {
		padding: 10px;
		top: 40px;
	}
	
	.submenu a {
		height: auto;
	}
	
	#main-nav img {
		display: none;
	}
	
	#main-nav li ul li {
		float: none;
		margin-bottom: 10px;
		width: 100%;
	}
	
	#main-nav li ul li:last-child {
		margin-bottom: 0;
	}
	
	#main-nav li ul a {
		padding: 0;
		display: block;
		width: 100%;
	}
	
	#newsletter {
	    bottom: 0;
	    position: fixed;
	    width: 100%;
	    background: black;
	}
	
	#newsletter input {
		width: 100%;
		margin-bottom: 10px;
	}
	
	#newsletter #subscribe {
		float: right;
	}
	
	.bannertxt {
		position: relative;
	}

}

@media only screen and (max-width: 749px) {

	.block {
		width: 100%;
		height: 45px;
		border-right: none;
		
	}
	
	.block ul {
		display: none;
	}
	
	#social-icons {
		display: block;
		z-index: 10;
	}
	
	.block ul.show-block {
		display: block;
	}
	
	.block h3 {
		border-bottom: 2px solid #fff;
	}
	
	.block h3 {
		cursor: pointer;
		top: 0;
		bottom: auto;
	}
	
	.block.block-height {
		height: 100%;
		padding-top: 80px;
	}
	
	#whatwedo{
		background: #333;
	}
	
	.fotorama__html .bannertxt {
		display: none;
	}
	
	#banner-mobile-html {
		display: block;
	}

}

@media only screen and (max-width: 730px) {

	.bx-wrapper .bx-pager,
	.bx-controls-direction {
		display: none !important;
	}
	
	.slide-text {
		min-height: 120px;
	}
	
	#main-home.group.main {
		padding-top: 0;
	}
	
	/*SCHOLOARSHIP_SUPPORT*/
	
	#scholarship-pg aside{
	float: none;
	margin-right: 0;
	margin: 0 auto;
	width: 90%;
	}
	
	#research.col, 
	#conference.col {
		width: 43%;
	}
	
	#research.col {
		margin-left: 30px;
	}
	
	/*REGIONS*/
	
	.regions .col,
	.issue .col
	#tejo-reports-pg .col,
	.working-papers .col {
		width: 70%;
	}
	
	/*EPPC / MALTA* /MUNWALK*/
	
	#eppc-conf-left,
	#eppc-conf-center,
	#malta-conf-main,
	#malta-conf-pg aside,
	#tejo-conf-pg aside,
	#tejo-content,
	#munwalk-left,
	#munwalk-pg  aside  {
		width: 90%;
		margin: 0 auto;
		float: none;
	}
	
	#malta-conf-pg aside h4,
	#munwalk-pg h4 {
		margin-top: 50px;
	}
	
	#munwalk-logo {
		margin-top: -20px;
	}
	
	
	#pub-pg .turkish .col {
		width: 100% !important;
		margin: 0 	auto !important;
	}
	
	
	#event-left,
	#pub-left {
		width: 100%;
		margin: 0 auto;
	}
	
	#event-left .excerpt,
	#pub-left .excerpt {
		display: block;
	}
	
	#event-right,
	#pub-right {
	display: none;
}
}

@media only screen and (max-width: 700px) {
/*GUIDING/UNITING*/
	#guiding-pg .main section,
	#uniting-pg .main section {
		width: 100%;
	}
		
	.mainbg {
		background: none;
		padding: 20px;
	}
	
	.mainbg img {
		width: 100%;
		height: auto;
	}
	
	#guiding-pg .main img,
	#uniting-pg .main img {
		margin-left: 0;
	}
	
	.banner {
		padding: 0;
		background: none !important;
		background: #000 !important;
		font-size: 1.4em;
	}
	
	.banner h2 {
		padding: 10px 20px;
		font-size: 1.4em;
	}
	
	/*CONF*/
	
	#paix-conf-pg .main{
		padding:20px;
	}
	.conf {
		width: 100%;
		margin-top: 30px;
		
	}
	
	.conf a {
		display: block;
		min-height: 0;
	}
	
	.conf img {
		width: 100%;
		height: auto;
	}
	
	#scholarship-award-pg .col {
		width: 100%;
		margin: 0 auto;
	}
	
	.has-nav aside {
		margin-bottom: 40px;
	}
	
	.has-nav aside,
	.has-nav .content {
		width: 100%;
		float: none;
		padding-right: 0;
		
	}

}

@media only screen and (max-width: 665px) {

	.nivo-wrap,
	.album-wrap {
		width: 297px;
	}
	.nivo-gallery li,
	albums li {
		margin-right: 0;
	}	

}

@media only screen and (max-width: 630px) {

	
	.slide-text {
		min-height: 190px;
	}
	
	#main-home section, #main-home section:last-child{
		width: 100%
	}
	
	/*SCHOLOARSHIP_SUPPORT / STAFF*/
	
	#research.col, 
	#conference.col,
	#cruz.col,
	#pirotta.col {
	float: none;
	margin-right: 0;
	margin: 0 auto;
	width: 100%;
	}
	
	/*REGIONS*/
	
	.regions .col,
	.issue .col,
	#tejo-reports-pg .col,
	.working-papers .col {
		width: 100%;
	
}

}




