/*
Theme Name: InformedTraining
Theme URI: http://informedtraining.co.uk/
Description: InformedTraining Theme
Author: Wow-Zone
Author URI: http://www.wow-zone.com/
Version: 10.0
License: GNU General Public License
License URI: licence/GPL.txt

CSS changes can be made in files in the /css/ folder. This is a placeholder file required by WordPress, so do not delete it.

*/

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

    .header_top .left{height: auto !important;}
        
    .header_top .right {height: auto !important;}
        
    .css-style {width: auto !important;}
            
    .ctab-button {padding: 15px 0px !important;}
            
}
.header_top .right{height: inherit !important;}
.header_top .left{height: inherit !important;}

.mob-hide{visibility:visible;}
.mob-show{visibility:hidden;}
/*
	Max width before this PARTICULAR table gets nasty. This query will take effect for any screen smaller than 760px and also iPads specifically.
	*/
	
#myTable_filter{color: #f1f8fe !important;}
		
	@media
	  only screen 
    and (max-width: 760px), (min-device-width: 768px) 
    and (max-device-width: 1024px)  {


		.header_top .right .inner>div{
			width: 100%;
			margin: 0 auto;
			display: block;
		}
		.header_top .right .inner>span{
		margin: 0 auto;
		
		text-align: center;
		}

		p.menu-top-num{padding: 0px !important;margin: 0px !important;}

		.css-style label {
			display: block;
		}
		/* Force table to not be like tables anymore */
		table, thead, tbody, th, td, tr {
			display: block;
		}

		/* Hide table headers (but not display: none;, for accessibility) */
		thead tr {
			position: initial !important;
			/*position: absolute;
			top: -9999px;
			left: -9999px;*/
		}
		.dataTables_length, .dataTables_filter{text-align: left;color: #f1f8fe !important;}
		.dataTables_filter{margin-top: -36px;}
		.dataTables_length{padding: 5px 15px;}
		
		.th-click {
			text-align: left !important;
			cursor: pointer;
			background: #01618b;
			width: 92% !important;
			color: #fff;
			margin: 4px auto;
		}

    tr {
      margin: 0 0 1rem 0;
    }
      
    tr:nth-child(odd) {
      /*background: #ccc;*/
    }
    
		td {
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee;
			position: relative;
			padding-left: 50%;
		}
		#myTable tr{}

		td:before {
			/* Now like a table header */
			/*position: absolute;*/
			/* Top/left values mimic padding */
            color: #000000;
			top: 0;
			left: 6px;
			width: 45%;
			padding-right: 10px;
			white-space: nowrap;
		}
		.tooltip .tooltiptext{
			width: 200px !important;
			left: -132px !important;
			top: 19px !important;
		}

		#ispayee .tooltip .tooltiptext{
			left: -112px !important;
		}
		
		.h2classblue{font-size:18px;}
		b.text-center{display: block;
text-align: center;
margin: 3px auto;}

.mob-hide{visibility:hidden;}
.mob-show{visibility:visible;
        top: -50px;
    right: 20px;
}

.mob-show .tooltiptext{
    
    left: -203px !important;
    top: -77px !important;
}
.btt1, .btt2{width:75% !important;float:initial !important;}

		/*
		Label the data
    You could also use a data-* attribute and content for this. That way "bloats" the HTML, this way means you need to keep HTML and CSS in sync. Lea Verou has a clever way to handle with text-shadow.
		*/
		.sortby-mob-text{background: transparent !important;}
     .sortby-mob-text:before{content: "Sort By";font-weight: 600;}
		.dataTables_length label:before{content: "Show Entries";color:#000000;font-weight: 600;}
		.tb-l td:nth-of-type(1):before { content: "Price (£)"; font-weight: 600;}
		.tb-l td:nth-of-type(2):before { content: "Date"; font-weight: 600;}
		.tb-l td:nth-of-type(3):before { content: "Time (24Hrs.)"; font-weight: 600;}
		.tb-l td:nth-of-type(4):before { content: "Title" !important;  font-weight: 600;  text-align: center;
			display: block;
			margin: 5px auto; }
		.tb-l td:nth-of-type(5):before { content: ""; }


		.tb-d .header{display: none;}
		.tb-d td:nth-of-type(1):before { content: "No.";font-weight: 600;
			display: block;
			margin: 5px auto;
			text-align: center; }
		.tb-d td:nth-of-type(2):before { content: "Start Date"; font-weight: 600;
			display: block;
			margin: 5px auto;
			text-align: center;}
		.tb-d td:nth-of-type(3):before { content: "End Date"; font-weight: 600;
			display: block;
			margin: 5px auto;
			text-align: center;}

			.tb-d3 .header{display: none;}
			.tb-d3 td:nth-of-type(1):before { content: "Start Date"; font-weight: 600;
				display: block;
				margin: 5px auto;
				text-align: center;}
			.tb-d3 td:nth-of-type(2):before { content: "End Date"; font-weight: 600;
				display: block;
				margin: 5px auto;
				text-align: center;}


				.tb-d2 .header{display: none;}
			.tb-d2 td:nth-of-type(1):before { content: "Start Date"; font-weight: 600;
				display: block;
				margin: 5px auto;
				text-align: center;}
			.tb-d2 td:nth-of-type(2):before { content: "End Date"; font-weight: 600;
				display: block;
				margin: 5px auto;
				text-align: center;}
	}
	
