/*	Less Framework 4
	http://lessframework.com
	by Joni Korpi
	License: http://opensource.org/licenses/mit-license.php	*/


/*	Resets
	------	*/

html, body, div, span, object, iframe, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figure, figcaption, hgroup, menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}
ul {
	margin-left: 15px;
}
article, aside, canvas, figure, figure img, figcaption, hgroup, footer, header, nav, section, audio, video {
	display: block;
}
a img {
	border: 0;
}
/*	Typography presets
	------------------	*/ 

/* Selection colours (easy to forget) */

/*::selection 	 	{background: rgb(255,255,158);}
::-moz-selection 	{background: rgb(255,255,158);}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}*/
body {
	-webkit-tap-highlight-color: rgb(255,255,158);
}

/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
	line-height: normal;
	width: auto;
	padding:0;
	background: none;
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
}
body p {
	line-height:18px;
	text-align:justify;
}



/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */



@media only screen and (min-width: 319px) and (max-width: 479px) {
	
	#login-form table {
		width:150px !important;	
	}
	
	#menu {
	width:300px !important;	
}

#social-network-container {
	clear:both;	
}

#search-box {
margin-top: 0px !important;
float:right;
}

#search-box {
width: 225px !important;
float:right !important;
}

#social-links {

margin-right: 80px;
}

.helpfullinks {

width: 100% !important;
}
	
}


@media (max-width:400px){

.top-header .form-box input[type="text"], .top-header .form-box input[type="password"] { width: 40%; }

}

@media (max-width:480px){

#login-form .inp {
	width:80%;
	padding:4px;
}
	
.left50, .right50 {
	width:100%;	
}

.courses #course-image {
	width: 100%;
}

#footer-container1, #footer-container2 {
	display:none !important;	
}

#social-network-container {
	clear:both;
	float:left;	
}

#entry-point-container img {
	width:100% !important;	
	height:auto;
}
	
	#login-form table {
		width:290px;	
	}

	#social-network-container {
		margin-top: 0px !important;
		background:none;
	}
	
	#subnav {
display:none;}

#menu {
	width:400px;	
}

#sf-menu7959 .sf-menu {
float: left;
display: none;
}

#social-network-container {
	width:100%;	
}

#homeicon {
	display:none;	
}

#search-box {
margin-top: -28px ;
width:300px;
}
	
}

@media (max-width:640px) {
	#page #central #sidebar {
		margin-left: 0 !important;
		width:95% !important;
	}
	
}

@media (max-width:541px){
	#social-network-container {
		margin-top: -40px;
	}
	
}

@media (max-width:1166px){
#sf-menu8025 .sf-menu {  width: 800px!important; }
.navigation ul li a{font-size:14px;}
}

@media (max-width:991px){
.mean-container .mean-nav ul li:last-child a:hover {
    background: rgba(255, 255, 255, 0.1) none repeat scroll 0 0;
    padding: 10px 1px !important;
}

}

@media (max-width:900px){

	#social-network-container {
		margin-top: -100px;
	}
	
	#page #central #sidebar {
		width: 40% ;

	}

	
	#login-form-bot {
		width: 250px !important;
		margin-top: -195px;
		margin-left: 10px;
	}
	
}

@media (max-width:768px){
.form-box {
    display: block;
    float: left;
    margin: 20px 0 20px auto!important;
    text-align: center;
}
.button {font-size: 15px!important; padding-bottom: 3px !important; padding-top: 0 !important;}

}


@media (min-width:600px) and (max-width:768px) {
	.entry-points {
		width:33% !important;
		margin:0px !important;
	}
	
	#social-network-container {
		margin:0px ;
	}
	
	#subnav {
		clear:both;	
	}
	
	
	#intro {
		display:none;	
	}
}

@media (min-width:481px) and (max-width:768px) {

.feat {
	width:17%;
	float:left;	
	padding:10px;
}

	#login-form-bot {
	display:none !important;
	}
	
}

@media (min-width:480px) and (max-width:768px) {
#page #central.centralva #body {
	width:68%;
}


#homeicon {
	display:none !important;	
}

.sf-menu {
	width: 82%;
}
	#menu {
	width: 100%;
	margin: 0 auto;
	}
	
	.entry-points img {
		width: 100%;
	}
	
	#header #logo {
		float: left;

	}
	
	#login-form {
		width: 43%;
	}

 body {
 width:auto;
 padding:0;
}
 #header {
width:auto;
padding-top:18px;
}
 #header #logo {
 background: url(./images/tng_logo.jpg) no-repeat;
 width: 150px;
 height: 97px;
 cursor:pointer;

 margin: 0 auto;
}
 #header #header-area {
 width: auto;
 float: none;
}
 #header-area-inside h2 {
 width: auto;
 color: #FFFFFF;
 font-style: oblique;
 font-weight: normal;
 margin:0 auto;
 padding:10px 15px;
}
#login-form h4, #login-form p {
 margin:5px 0;
 padding: 0;
}
 #login-form {
 float: right;
 border: 1px solid #777;
 background: #ccc;
 text-align: center;

 font-size: .9em;

}
 #login-form form table tr td {
padding:4px 0;
}
 #menu-sitemap-inner {
 width: auto;
 margin:0px auto;
 padding:5px 0;
}
#search-box {
 display:inline-block;
 margin: 2px 10px;
}
 #search-box input {
 border: 1px solid #999999;
 width:80px;
}
 .sitemap-toggle {
 display: block;
 color: #666;
 font-size: .9em;
 border: 1px solid #999;
 padding: 1px;
 margin: 10px 20px;
 background: white;
 text-align:center;
}
 #page {
 width: auto;
 margin:auto;
 text-align:left;
}
 #page #central #sidebar {
 float:none;
 width: auto;
 overflow: hidden;
 background: #F7F7F7;
 padding: 10px;
 margin-top:15px;
 text-align: center;
}
 #page #central #body {
 float:none;
 width: auto;
 overflow:hidden;
 padding: 10px 25px;
 clear:both;
}
 #footer {
 padding-top:15px;
 clear:both;
 padding-bottom:16px;
 color:#999;
 font-size:10px;
 margin: 0 auto;
 width: auto;
}
 #helpful-links .columns {
 float: none;
 margin-right:0px;
}
 #paid-newsletter {
 border-bottom: 1px solid #bbb;
 margin-bottom: 10px;
 padding-bottom: 10px;
 
}

/*#paid-newsletter a img{ width:250px;}*/


#menu-container {

}
 #intro h1 {
 font-size: 17px;
}
 #intro h2 {
 font-size:14px;
}
 #page #central #body {
 float: none;
 width: auto;
 overflow:hidden;
 padding: 10px 10px;
}
 #page #central #body p {
 text-align: justify;
}
 #entry-point-container {
 margin-top:15px;
}
 .entry-points {
 float:left;
 width: auto;
 text-align:center;
 display:block;
 margin:0px auto;
 margin-right:53px;
}
 .home-articles {
 float: none;
 width: auto;
 margin:0px auto;
}
 #helpful-links {
 margin-bottom: 25px;
 font-size: 12px;
 padding-left:10px;
}
 #footer span.powered-by {
 float: none;
}
 #page #central {
 clear:both;
 padding:0px 0;
}
 #page #central #sidebar {
 margin-top:0px;
}
 #newsletter-signup {
 font-size:16px;
}
 #newsletter-signup form input {
width:80%;
font-size:16px;
margin:8px 0;
padding:4px;
}
 #sidebar h4 {
 margin:15px 5px;
 font-size:22px;
}



/*--inner page styles------*/

#page #central.central-left #body {
 float: none;
 width: auto;
 overflow:hidden;
 padding:5px;
}
 #page #central.central-left div#sidebar {
 float: none !important;
 margin-top:0px;
 text-align: center;
}
 #advertisements {
 float: none;
 width: auto;
 clear:both;
 padding:10px 5px;
}

/*-------blog styles-----*/

.narrowcolumn {
 float: none;
 padding:0px 5px;
 width: auto;
}
 #subscribeButs a {
 display: block;
 float: none;
 height: 81px;
 margin:0 auto;
 text-align:center;
 text-indent:-32000px;
 width: 205px;
}
 .post {
 margin: 0 0 0px;
 text-align: left;
}




}



/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 480px) {

.tng-event-details {
	width: 90% !important;
}

 body {
 width:auto;
 padding:0;
}
 #header {
width:auto;
padding-top:18px;
}
 #header #logo {
 background: url(./images/tng_logo.jpg) no-repeat;
 width: 150px;
 height: 97px;
 cursor:pointer;
 float:none;
 margin: 0 auto;
}
 #header #header-area {
 width: auto;
 float: none;
}
 #header-area-inside h2 {
 width: auto;
 color: #FFFFFF;
 font-style: oblique;
 font-weight: normal;
 margin:0 auto;
 padding:10px 15px;
}
#login-form h4, #login-form p {
 margin:5px 0;
 padding: 0;
}
 #login-form {
 width: auto;
 float: none;
 border: 1px solid #777;
 background: #ccc;
 text-align: center;
 padding: 5px;
 margin: 5px;
 font-size: .9em;
 clear:both;
}

 #login-form form table tr td {
padding:4px 0;
}
 #menu-sitemap-inner {
 width: auto;
 margin:0px auto;
 padding:5px 0;
}
 #search-box {
display:inline-block;
}
 #search-box input {
 border: 1px solid #999999;
 width:80px;
}

 #page {
 width: auto;
 margin:auto;
 text-align:left;
}
 #page #central #sidebar {
 float:none;
 width: auto;
 overflow: hidden;
 background: #F7F7F7;
 padding: 10px;
 margin-top:15px;
 text-align: center;
}
 #page #central #body {
 float:none;
 width: auto;
 overflow:hidden;
 padding: 10px 25px;
 clear:both;
}
 #footer {
 padding-top:15px;
 clear:both;
 padding-bottom:16px;
 color:#999;
 font-size:10px;
 margin: 0 auto;
 width: auto;
}
 #helpful-links .columns {
 float: none;
 margin-right:0px;
}
 #paid-newsletter {
 border-bottom: 1px solid #bbb;
 margin-bottom: 10px;
 padding-bottom: 10px;
}

/*#paid-newsletter a img{ width:250px;}*/



 #intro h1 {
 font-size: 17px;
}
 #intro h2 {
 font-size:14px;
}
 #page #central #body {
 float: none;
 width: auto;
 overflow:hidden;
 padding: 10px 10px;
}
 #page #central #body p {
 text-align: justify;
}
 #entry-point-container {
 margin-top:15px;
}
 .entry-points {
 float: none;
 width: auto;
 text-align:center;
 display:block;
 margin:0px auto;
}
 .home-articles {
 float: none;
 width: auto;
 margin:0px auto;
}
 #helpful-links {
 margin-bottom: 25px;
 font-size: 12px;
 padding-left:10px;
}
 #footer span.powered-by {
 float: none;
}
 #page #central {
 clear:both;
 padding:0px 0;
}
 #page #central #sidebar {
 margin-top:0px;
}
#newsletter-signup {
 font-size:16px;
}
 #newsletter-signup form input {
width:80%;
font-size:16px;
margin:8px 0;
padding:4px;
}
 #sidebar h4 {
 margin:15px 5px;
 font-size:22px;
}




/*--inner page styles------*/

#page #central.central-left #body {
 float: none;
 width: auto;
 overflow:hidden;
 padding:5px;
}
 #page #central.central-left div#sidebar {
 float: none !important;
 margin-top:0px;
 text-align: center;
}
 #advertisements {
 float: none;
 width: auto;
 clear:both;
 padding:10px 5px;
}
 .left {
 float: none;
}

/*-------blog styles-----*/

.narrowcolumn {
 float: none;
 padding:0px 5px;
 width: auto;
}
 #subscribeButs a {
 display: block;
 float: none;
 height: 81px;
 margin:0 auto;
 text-align:center;
 text-indent:-32000px;
 width: 205px;
}
 .post {
 margin: 0 0 0px;
 text-align: left;
}

table.responsive-tbl{}
table.responsive-tbl tr td img{ width:100%;height:auto; }
table.responsive-tbl tr td{ font-size:0.80em;}
table.responsive-tbl tr td span{ font-size:0.80em;}
table.responsive-tbl tr td a{ font-size:0.80em;}
table.responsive-tbl tr td strong{ font-size:0.80em;}
table.responsive-tbl tr td div strong{ font-size:0.80em;}
table.responsive-tbl tr td a img{ width:100%; height:auto;}
table.responsive-tbl tr td a img.big{ width:auto; height:auto;}
}



/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 481px) and (max-width: 767px) {

	#search-box {
	 display:inline-block;
	 margin: 2px 10px;
	}

}

@media (max-width: 640px) {
 body {
 width: auto;
 padding:0;
}

h1, h2, h3, h4, h5, h6, p {
	margin-top:5px;
}
h3, h4, h5, h6, p {
	text-align:justify;
}
.rssItem {
	margin-top:5px;
}

#login-form-bot {
	display:block;
	text-align:center;
	float: none;
	width: 95%;
}

/*-- MARKCHECK -- */

.helpfullinks {
	float: left;
	width: 50%;
}

.hometitle {
	text-align:center;	
}

#sf-menu {
	display:none !important;	
}

#page #central #body {
	padding:0px 10px!important;
	width: 93%!important;
	overflow:hidden;
	float:none;
}


#page #central.centralva #body {
	padding:10px!important;
	width: 90%!important;
	float:none;
}
#course-info table {
	width: 90%!important;
}
#course-info {
	width: 90%!important;
	float: left;
}
#login-form-bot .inp {
	width: 70%;
}
#body embed {
	width: 95% !important;
	height:95%!important;
}
.tng-date-badge {
	width: 100%;
}
.tng-event-details {
	width: 100%;
}

}

@media (max-width:768px) {	
	#login-form-bot {
		display:none;	
	}

	/*.sf-menu {
		display:none !important;	
	} */
	
	 .sitemap-toggle {
		display: block;
		color: #666;
		font-size: 18px;
		border: 1px solid #999;
		padding: 5px;
		margin: 10px 20px;
		background: white;
		text-align:center;
		float:none !Important;
	}
	
	#social-links {
		margin:0px;
	}
	
	#social-network-container {
		float: right;
	}
	
	.left70 {
		width:100%;	
	}
	
	.right30 {
		width:100%;	
	}
	
	#course-info {
		width:70%;
	}
	
	.courses #course-image {
		width: 20%;
	}
	
	#intro {
		display:none !important;	
	}
}

@media only screen and (max-width: 200px) {
.youtubeBlock{width:150px!important; height:140px!important; text-align:center!important;}
}


@media only screen and (min-width: 201px) and (max-width: 250px) {
.youtubeBlock{width:150px!important; height:140px!important; text-align:center!important;}
}

@media only screen and (min-width: 251px) and (max-width: 300px) {
.youtubeBlock{width:200px!important; height:180px!important; text-align:center!important;}
}

@media only screen and (min-width: 301px) and (max-width: 350px) {
.youtubeBlock{width:250px!important; height:225px!important; text-align:center!important;}
}


@media only screen and (min-width: 351px) and (max-width: 400px) {
.youtubeBlock{width:300px!important; height:270px!important; text-align:center!important;}
}



@media only screen and (min-width: 401px) and (max-width: 450px) {
.youtubeBlock{width:350px!important; height:315px!important; text-align:center!important;}
}


@media only screen and (min-width: 451px) and (max-width: 500px) {
.youtubeBlock{width:400px!important; height:360px!important; text-align:center!important;}
}




@media only screen and (min-width: 501px) and (max-width: 550px) {
.youtubeBlock{width:450px!important; height:405px!important; text-align:center!important;}
}


@media only screen and (min-width: 551px) {
.youtubeBlock{width:500px!important; height:420px!important; text-align:center!important;}
}







