/* *********************************************************************************************************************
	One% CSS Grid - 12 Columns Fluid CSS Grid System

	Why One% ? Let’s count ...
		we have 12 columns (magic number divided by 2, 3, 4, 6)

		for 12 columns we need 11 margins

		so if we count margin 3%, then 3% * 11 margins = 33%

		and if we count width of 1 column 5.5%, than 5.5% * 12 columns = 66%

		in the end we have 33% + 66% = 99% aaand ???

		1% is still here so that's the name - One%

	2 starting options ? Let’s count a bit more ...
		1200px - perfectly fits 1280 screens
			12 columns
			margin 3% / 36px (full-width)
			col1 5.5% / 66px (full-width)

		1000px - perfectly fits 1024 screens
			12 columns
			margin 3% / 30px (full-width)
			col1 5.5% / 55px (full-width)
*/





/* *********************************************************************************************************************
 * Main container for all
 */
.onepcssgrid-1000, .onepcssgrid-1200 {
	margin: 0 auto;
	padding: 0 0 0 1%; /* THAT'S THE NAME ;) */
}

.onepcssgrid-1200 {
	max-width: 1220px;
}

.onepcssgrid-1000 {
	max-width: 1020px;
}

.onerow {
	clear: both;
	padding: 0 10px;
}





/* *********************************************************************************************************************
 * Common columns definitions
 */
.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12 {
	float: left;
	margin: 0 3% 0 0;
}

.col1.last, .col2.last, .col3.last, .col4.last, .col5.last, .col6.last, .col7.last, .col8.last, .col9.last, .col10.last, .col11.last, .col12 {
	margin: 0;
}

.col1 { width: 5.5%; }
.col2 { width: 14%; }
.col3 { width: 22.5%; }
.col4 { width: 31%; }
.col5 { width: 39.5%; }
.col6 { width: 48%; }
.col7 { width: 56.5%; }
.col8 { width: 65%; }
.col9 { width: 73.5%; }
.col10 { width: 82%; }
.col11 { width: 90.5%; }
.col12 { width: 99%; margin: 0; }

.col1 img, .col2 img, .col3 img, .col4 img, .col5 img, .col6 img, .col7 img, .col8 img, .col9 img, .col10 img, .col11 img, .col12 img {
	width: 100%;
	height: auto;
	display: block;
}





/* *********************************************************************************************************************
 * Disable padding left/right 10px if I'm 1024 or gibber - correct percentage math
 */
@media all and (min-width: 1024px) {
	.onepcssgrid-1000 {
		max-width: 1000px;
	}

	.onepcssgrid-1000 .onerow {
		padding: 0;
	}
}





/* *********************************************************************************************************************
 * Small devices
 */
@media all and (max-width: 768px) 

	{
		.header .hd_top .menu_date strong {font-size:22px;}
		.nav li {padding:0;}
		.nav li a {font-size:13px; padding:15px 21px; letter-spacing:0.5px;}
		.nav li ul {top:40px;}
		.header .hd_bottom .venue {padding:19px 0;}
		
		.header .hd_middle .banner_text span {top:70px; width:300px;}
		.content_blk .archive_blk ul li a strong {font-size:12px;}
		.content_blk .contact_blk ul li .cb_inner .cbi_top span {font-size:13px;}
		.content_blk .contact_blk ul li.highlight .cb_inner .cbi_bottom {min-height:95px;}
		.content_blk .contact_blk ul li .cb_inner .cbi_bottom a {word-wrap:break-word; line-height:normal;}
		
		.egb_logo .egb_logo_icon {left:13%;}
		.egb_logo {min-height:150px;}
		.bodycontainer .organiser .org_blk .bottom a {display:block;}
		.bodycontainer .organiser .org_blk .bottom {min-height:175px;}
			
	}

@media all and (max-width:640px) 

	{

		.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11 {
			float: none;
			width: 99%;
		}
		
		.header .hd_top .social_links ul {text-align:center;}
		.header .hd_bottom .logo {text-align:center;}
		.header .hd_bottom .logo img {display:inline-block;}
		.header .hd_bottom .venue {text-align:center;}
		.programme_list .pl_bottom {min-height:inherit;}
		.bodycontainer .com_blk .cb_bottom p {height:auto;}
		
		.content_blk .archive_blk ul li a {padding:10px 20px;}
		.content_blk .archive_blk ul li a strong {height:40px; line-height:normal;}
		
		.content_blk .contact_blk {padding:0 0 15px 0;}
		.content_blk .contact_blk ul li {width:100%; padding:5px 0;}
		.content_blk .contact_blk ul li.highlight {margin-top:0;}
		.content_blk .contact_blk ul li .cb_inner .cbi_top span {font-size:16px;}
		.content_blk .contact_blk ul li.highlight .cb_inner .cbi_bottom {min-height:inherit; height:auto; 
		background:#fff; padding-top:15px;}
		
		.form_blk {padding:10px 30px;}
		.form_blk .fb_inner span {line-height:normal; padding:5px 0 10px 170px;}
		
		.navigation .abstract_btn {top:0;}
		.egb_logo {min-height:inherit; margin:60px 0;}
		.egb_logo .egb_logo_icon {left:44%;}
		.onerow .col2.last .egb_logo {margin-bottom:30px;}
		.bodycontainer .organiser .org_blk .top span {font-size:13px;}
		.bodycontainer .organiser .org_blk .bottom {min-height:190px;}
		
		.bodycontainer h1.heading b {display:block; text-align:center; float:none; width:inherit;}
		.bodycontainer h1.heading span {display:block; text-align:center; float:none; width:inherit;}
		
	}
	
@media all and (max-width:480px) 

	{

		.header .hd_bottom .venue {padding-top:0;}
		.bodycontainer .organiser .org_blk {width:100%;}
		
		.header .hd_middle .banner_text span {top:50px; width:250px;}
		
		.form_blk {padding:10px 50px;}
		.form_blk .fb_inner {padding:0 0 15px 0;}
		.form_blk .fb_inner label {display:block; float:none; line-height:normal; padding:0 0 5px 0; width:100%;}
		.form_blk .fb_inner input[type="text"] {margin:0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
		 box-sizing: border-box; width:100%; height:32px}
		 .form_blk .fb_inner input[type="password"] {margin:0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
		 box-sizing: border-box; width:100%; height:32px}
		.form_blk .fb_inner span {width:100%; text-align:right; padding:5px 0;}
		.form_blk .fb_inner select {margin:0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
		 box-sizing: border-box; width:100%;}
		 .form_blk .payment_blk input[type="radio"] {margin-top:2px;}
		 .form_blk .fb_inner.submit_links {padding-top:0; margin:-10px 0 0 0;}
		 .form_blk .fb_inner.submit_links input {margin:0 20px 0 0;}
		 
		 .form_blk .fb_inner textarea {margin:0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
		 box-sizing: border-box; width:100%;}
		 
		 .form_blk .payment_blk .fb_inner input[type="text"] {width:100%;}
		 .bodycontainer .organiser .org_blk .bottom {min-height:inherit;}
		 .egb_logo .egb_logo_icon {left:42%;} 
		 .advisory_blk ul {width:100%; padding:0;}
	}
	
@media all and (max-width:360px) 

	{

		.header .hd_bottom .venue strong {font-size:17px;}
		
		.header .hd_middle .banner_text span {top:20px; width:250px;}
		.content_blk .archive_blk ul {height:auto; overflow:hidden; margin:0;}
		.content_blk .archive_blk ul li {width:100%;}
		.content_blk .archive_blk ul li a {padding:20px; margin:0;}
		.content_blk .archive_blk ul li a strong {height:auto;}
		.content_blk .archive_blk ul li a:hover {margin:0;}
		
		.form_blk {padding:10px;}
		
		.egb_logo .egb_logo_icon {left:40%;} 
		
	}
	
	