/*
 Theme Name:   Ultra Child
 Theme URI:    http://www.seergreenceschool.co.uk/ultra-child/
 Description:  Ultra Child Theme
 Author:       Chris James
 Author URI:   http://www.chrisjames.co.uk
 Template:     ultra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, right-sidebar, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, e-commerce
 Text Domain:  ultra-child
*/

/* I replaced all #0896fe in the original style document with the Didac yellow #ffc320 purple is #5a24ae*/


* {

	margin: 0;
	padding: 0;

}

.container-secondary-menu {
  box-sizing: border-box;
  display: block;
  padding: 0 1.78571em;
  position: relative;
  margin: 0 auto;
  max-width: 85.7143rem;
}

body,
button,
input,
select,
textarea  {
  color: #5a5d60;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-size: 1.1em;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  font-weight: 400;
  line-height: 1.7857; }
  
 
/*--------------------------------------------------------------
2.1 - Headings
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  color: #313539;
  font-weight: 700;
  hyphens: auto;
  margin: 0.89286em 0; }
  @media (max-width: 480px) {
    .resp h1, .resp
    h2, .resp
    h3, .resp
    h4, .resp
    h5, .resp
    h6 {
      line-height: normal; } }
  h1 {
  font-size: 24.99994px;
  font-size: 1.78571rem;
  line-height: 2em; }

h2 {
  font-size: 22.00002px;
  font-size: 1.57143rem;
  line-height: 2.27273em; 
  margin: 0em;}
  

h3 {
  font-size: 19.99998px;
  font-size: 1.42857rem;
  line-height: 1.25em; }
  
h3, h3.topmargin {
  border-bottom: 1px solid #cc1133;
}

h4 {
  font-size: 17.99994px;
  font-size: 1.28571rem;
  line-height: 1.38889em; }

h5 {
  font-size: 16.00004px;
  font-size: 1.4rem;
  line-height: 1.5625em; 
  color: #FF6600;
  font-style: italic;
  }
  



h6 {
  font-size: 14px;
  font-size: 1rem;
  line-height: 1.78571em; }
  
    
  /*--------------------------------------------------------------
5.2.1 - Top Bar Colour
--------------------------------------------------------------*/
  
  #top-bar {
  background: #fdc824;
  }
  
  
  /*--------------------------------------------------------------
5.2.1 - Top Bar Left Menu
--------------------------------------------------------------*/
.top-bar-menu {
  display: inline-block;
  line-height: normal;
  vertical-align: middle; }
  .top-bar-menu .menu {
    list-style: none;
    margin: 0;
    padding: 0; }
    .top-bar-menu .menu li {
      color: #000;
      display: inline-block;
      line-height: 38px;
      margin-right: 0.89286em;
      position: relative;
      vertical-align: middle; }
      .top-bar-menu .menu li a {
        color: #000;
        display: block;
        font-size: 11.99996px;
        font-size: 0.85714rem;
        height: 38px;
        line-height: 38px;
        text-decoration: none;
        white-space: nowrap; }
        .top-bar-menu .menu li a:before {
          color: #000; }
        .top-bar-menu .menu li a:hover:before {
          color: #fff; }
      .top-bar-menu .menu li:hover > a {
        color: #fff; }
      .top-bar-menu .menu li:last-of-type {
        margin-right: 0; }

/*--------------------------------------------------------------
5.2.2 - Top Bar Right Menu
--------------------------------------------------------------*/
.top-bar-navigation {
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  text-align: right;
  width: 50%; }
  @media (max-width: 768px) {
    .top-bar-navigation {
      text-align: center;
      width: 100%; } }
  .top-bar-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0; }
    .top-bar-navigation ul li {
      color: #000;
      display: inline-block;
      margin-right: 1.33929em;
      position: relative;
      vertical-align: middle; }
      .top-bar-navigation ul li a {
        color: #000;
        display: block;
        font-size: 11.99996px;
        font-size: .95rem;
        line-height: 2.08333em;
        text-decoration: none;
        white-space: nowrap; }
        .top-bar-navigation ul li a:before {
          color: #000; }
        .top-bar-navigation ul li a:hover:before {
          color: #fff; }
      .top-bar-navigation ul li:hover > a {
        color: #fff; }
      .top-bar-navigation ul li:last-of-type {
        margin-right: 0; }
    .top-bar-navigation ul ul {
      background: #fff;
      box-shadow: rgba(0, 0, 0, 0.1) 0 0.5714rem 1.0714rem;
      border-top: 3px solid #ffc320ffc320;
      display: none;
      left: 0;
      padding: 0;
      position: absolute;
      text-align: left;
      top: 35px;
      z-index: 400; }
      .top-bar-navigation ul ul li {
        min-width: 10em;
        padding: 0;
        width: 100%; }
        .top-bar-navigation ul ul li a {
          color: #5a5d60;
          padding: 0.4em 0.8em; }
        .top-bar-navigation ul ul li:hover > a {
          background: #ffc320;
          color: #fff; }
      .top-bar-navigation ul ul ul {
        left: 100%;
        top: -3px; }
    .top-bar-navigation ul .menu-item-has-children a:after,
    .top-bar-navigation ul .page_item_has_children a:after {
      content: "\f107";
      font-family: "FontAwesome";
      line-height: normal;
      position: relative;
      padding: 0 0 0 0.5785em;
      top: 0.2435em; }
    .top-bar-navigation ul .sub-menu .menu-item-has-children > a:after,
    .top-bar-navigation ul .sub-menu .page_item_has_children > a:after,
    .top-bar-navigation ul .children .menu-item-has-children > a:after,
    .top-bar-navigation ul .children .page_item_has_children > a:after {
      content: "\f105";
      font-family: "FontAwesome";
      position: absolute;
      right: 1em;
      top: 0.9167em; }
    .top-bar-navigation ul .sub-menu a:after,
    .top-bar-navigation ul .children a:after {
      content: none; }
  .top-bar-navigation div > ul > li > a {
    display: block;
    height: 38px;
    line-height: 38px; }
    .top-bar-navigation div > ul > li > a:hover {
      border-bottom: 3px solid #ffc320; }
      @media (max-width: 1024px) {
        .resp .top-bar-navigation div > ul > li > a:hover {
          border-bottom: none; } }
  .top-bar-navigation div > ul > li.menu-item-has-children > a:hover, .top-bar-navigation div > ul > li.page_item_has_children > a:hover {
    border-bottom: none; }
    @media (max-width: 1024px) {
      .resp .top-bar-navigation div > ul > li.menu-item-has-children > a:hover, .resp .top-bar-navigation div > ul > li.page_item_has_children > a:hover {
        border-bottom: none; } }
        
        

/*--------------------------------------------------------------
FAQ
--------------------------------------------------------------*/

dl.faq dt {
	font-family: Georgia, Times, Times New Roman, serif;
	margin: 1.5em 0 0 0;
	font-size: 20px;
	padding-left: 2em;
	font-weight: normal;
	color: #444444;
}

dl.faq dt:before {
	content: "Q.";
	float: left;
	display: block;
	text-indent: -2em;
}

dl.faq dd {
	padding-left: 2.75em;
}

table, td, tr, th {
	border: 0;
	}


/*--------------------------------------------------------------
Course awarding body 
--------------------------------------------------------------*/

.course-award-bodies {
	margin: 0;
}

.course-award-bodies, .course-award-bodies-logos, .course-award-bodies-logos-one-body {
	width: 100%;
	border-spacing: 2px 0;
    	border-collapse: separate;
}

.course-award-bodies a {
	font-size: 0.9em;
}

.course-award-bodies tr th {
	padding: 4px 6px;
	border-bottom: 1px solid #ccc;
	font-size: 1.3em;
	font-family: Futura, Trebuchet MS, Arial, sans-serif;
	text-align: left;
	padding-top: 1.5em;
}

course-award-bodies.thead tr td {
	font-size: 1.3em;
	font-family: Futura, Trebuchet MS, Arial, sans-serif;
}

.course-award-bodies tr td {
	padding: 4px 6px 4px 6px;
	font-size: 1em;
	line-height: 1.2em;
}

.course-award-bodies tr th {
	background: none;
}

.course-award-bodies tr:first-child td:nth-last-child(3) a {
	font-weight: normal;
	font-size: 24px;	
	margin: 1.5em 0 0 0;
}

.course-award-bodies tr:first-child td:last-child, .course-award-bodies tr:first-child td:nth-last-child(2) {
	-moz-border-top-left-radius: 10px;
	border-top-left-radius: 10px;
	-moz-border-top-right-radius: 10px;
	border-top-right-radius: 10px;
	font-weight: bold;
	font-size: 1.3em;
	font-family: Futura, Trebuchet MS, Arial, sans-serif;
	padding: 14px 0 0 0;
}

.course-award-bodies tr th:nth-last-child(2), .course-award-bodies tr td:nth-last-child(2) {
	background: #f2f6ff;
	text-align: center;
	max-width: 150px;

}

.course-award-bodies tr th:last-child, .course-award-bodies tr td:last-child {
	background: #d9e3ff;
	text-align: center;
	max-width: 150px;
}

/*--------------------------------------------------------------
Course awarding body logos
--------------------------------------------------------------*/

.course-award-bodies-logos {
	margin: 0;
}

.course-award-bodies-logos p {
	font-weight: normal;
	margin: 0 0 0.5em 0;
}

.course-award-bodies-logos h5 {
	font-weight: normal;
	margin: 0 ;
}

.course-award-bodies-logos tr td:first-child {
	vertical-align: top;
	font-size: 1.1em;
	/* max-width: 879px; */
	width: 65.87%;
}

.course-award-bodies-logos tr td:last-child, .course-award-bodies-logos tr td:nth-last-child(2) {	
	text-align: center;
	vertical-align: bottom;
	padding-top: 0em;
	margin: auto;
}

.course-award-bodies-logos img {
    margin: 0 0 0 0;
    max-height: 100%;
    max-width: 100%;
}

/* Columns */

ul.columns {
	width:60%;
	overflow:hidden;
	margin: 0 0 2em 0;

}

ul#triple.columns li {
	line-height:1.5em;
	float:left;
	display:inline;
	width:33%;
	border-bottom:1px solid #ccc;
	margin: 0.5em 0 0 0;
}

/* Get-A-Quote */


div#getaquote {

/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7d7d7d+8,9c9c9c+100 */
background: rgb(125,125,125); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(125,125,125,1) 8%, rgba(156,156,156,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(125,125,125,1) 8%,rgba(156,156,156,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(125,125,125,1) 8%,rgba(156,156,156,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7d7d', endColorstr='#9c9c9c',GradientType=0 ); /* IE6-9 */

	margin: 0 0 1em 0;
	/* font-size: 12px; 
	background: #827a77; */
	color: #fff;
	padding: 1em 0.6em 1.2em 0.6em;
	-moz-border-top-left-radius: 8px;
	border-top-left-radius: 8px;
	-moz-border-top-right-radius: 8px;
	border-top-right-radius: 8px;
	-moz-border-bottom-left-radius: 8px;
	border-bottom-left-radius: 8px;
	-moz-border-bottom-right-radius: 8px;
	border-bottom-right-radius: 8px;
}


div#getaquote h2 {
	/* background: #827a77 url(images/didacicon.jpg) 2px 2px no-repeat; */
	font-family: 'Yanone Kaffeesatz',sans-serif;
	font-size: 24px;
	height: 1em;
	line-height: 1em;
	color: #fff;
	padding: 0 0 1.5em 0;
	margin: 0;
	border: 0;
}

div#getaquote select {

	width: 100%;

}

div.wpcf7 {

	font-size: 0.9em;

}

div.wpcf7 p {

	margin: 0 0 0.5em 0;
}
*/

/* Equipment Table */


.equipment {
	border-spacing: 5px;
    	border-collapse: separate;
}

.equipment tr th {
	padding: 12px 0px 0px 0px;
	font-family: Arial,Helmet,Freesans,sans-serif;
	font-size: 16px;
	color: #000;
	margin: 0.5em 0 1.5em 0;
	border-bottom: 1px solid #cc1133;
	width: 175px;
	font-weight: normal;
	text-align: left;
}

.equipment tr td {
	padding: 4px 6px 0px 0px;
	line-height: 1.3em;
	vertical-align: top;
}


.equipment tr th {
	background: none;
}

/* About Didac Ltd - Column 1 */



div#about-didac-container {
	width: 1000PX;
	float: left;
	clear: both;
}



div#about-didac-first-col {



	width: 270px;



	float: left;



	margin: 0 15px 0 0;



}



div#about-didac-second-col {



	width: 455px;



	float: left;



}



div.about-didac-first-col, div.about-didac-second-col, div.about-bmf, div.about-ofsted {



	-moz-border-top-right-radius: 5px;



	border-top-right-radius: 5px;



	-moz-border-bottom-right-radius: 5px;



	border-bottom-right-radius: 5px;



	-moz-border-top-left-radius: 5px;



	border-top-left-radius: 5px;



	-moz-border-bottom-left-radius: 5px;



	border-bottom-left-radius: 5px;



}





div.about-didac-first-col {



	float: left;



	background: #E3E8F0;



	padding: 15px;



	margin: 0 0 1em 0;



}



div.about-didac-second-col {



	float: left;



	background: #E3E8F0;



	padding: 15px;



	margin: 0 0 1em 0;



	width: 425px;



}





div.about-bmf {



	background: #FFF;



	padding: 7px;



}



div.about-ofsted {



	background: #FFF;



	padding: 12px;



	float: right;



	margin: 0 0 0 15px;



}



div.about-ofsted img {



	margin: 0 0 0 0;



}

/* ------ wordpress.org/plugins/tabby-responsive-tabs/ ------ */

.responsive-tabs .responsive-tabs__heading {
	display: none;
}

.responsive-tabs .responsive-tabs__list__item {
	display: inline;
	cursor: pointer;
}

.responsive-tabs-wrapper {
	clear: both;
	margin-bottom: 20px;
	zoom: 1;
}

.responsive-tabs-wrapper:before,
.responsive-tabs-wrapper:after {
	content: "";
	display: table;
}

.responsive-tabs-wrapper:after {
	clear: both;
}

.responsive-tabs .responsive-tabs__heading:focus,
.responsive-tabs .responsive-tabs__list__item:focus {
	outline: 1px solid transparent;
}

.responsive-tabs .responsive-tabs__heading--active:focus,
.responsive-tabs .responsive-tabs__list__item--active:focus {
	outline: none;
}

.responsive-tabs ul.responsive-tabs__list {
	font-size: 18px;
	line-height: 18px;
	margin: 20px 0 0 12px;
	padding: 0;
}

.responsive-tabs .responsive-tabs__list__item {
	background: #d9e3ff;
	border: 1px solid transparent;
	border-bottom: none;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	color: #000;
	font-size: 18px;
	line-height: 19px;
	text-transform: inherit;
	margin: 1px 12px 0 0;
	padding: 10px 12px 10px;
	white-space: nowrap;
	float: left;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.responsive-tabs .responsive-tabs__list__item .fa {
	margin-right: 8px;
	line-height: 0.8;
}

.responsive-tabs .responsive-tabs__list__item:hover {
	color: #333;
	background: #d9e3ff;
}

.responsive-tabs .responsive-tabs__list__item--active,
.responsive-tabs .responsive-tabs__list__item--active:hover {
	background: #f2f6ff;
	border-color: #ddd;
	color: #666;
	padding-bottom: 11px;
	margin-top: 0;
	position: relative;
	top: 1px;
}

.responsive-tabs .responsive-tabs__panel {
	background: #f2f6ff;
	border: 1px solid #ddd;
	border-top: 1px solid #ddd;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-topleft: 0px;
	border-top-left-radius: 0px;
	clear: left;
	margin-bottom: 0;
	padding: 20px 20px 0;
	word-wrap: break-word;
}

.responsive-tabs .responsive-tabs__panel:after {
	content: "";
	display: block;
	height: 0;
	clear: both;
}

@media (min-width: 768px) {

	.responsive-tabs .responsive-tabs__panel--closed-accordion-only {
		display: block;
	}
}

@media (max-width: 767px) {

	.responsive-tabs .responsive-tabs__list {
		display: none;
	}

	.responsive-tabs .responsive-tabs__heading {
		display: block;
		cursor: pointer;
	}

	.responsive-tabs-wrapper {
		border-top: 1px solid #ccc;
	}

	.responsive-tabs .responsive-tabs__heading {
		background: #fff;
		border: 1px solid #ccc;
		border-top: none;
		color: #777;
		font-size: 18px;
		font-weight: normal;
		text-transform: inherit;
		margin: 0;
		padding: 10px 0;
		padding-left: 20px;
		position: relative;
	}

	.responsive-tabs .responsive-tabs__heading .fa {
		margin-right: 8px;
		display:none;
		}

	.responsive-tabs .responsive-tabs__heading:after {
		border-left: 6px solid transparent;
		border-right: 6px solid transparent;
		border-top: 6px solid #777;
		content:"";
		display: block;
		position: absolute;
		right: 20px;
		top: 20px;
		height: 0;
		width: 0;
	}

	.responsive-tabs .responsive-tabs__heading:hover {
		background: #eee;
		color: #777;
	}

	.responsive-tabs .responsive-tabs__heading:hover:after {
		border-top: 6px solid #777;
	}

	.responsive-tabs .responsive-tabs__heading--active,
	.responsive-tabs .responsive-tabs__heading--active:hover {
		background: #ccc;
		color: #fbffb9;
	}

	.responsive-tabs .responsive-tabs__heading--active:after,
	.responsive-tabs .responsive-tabs__heading--active:hover:after {
		border-bottom: 6px solid #fbffb9;
		border-top: 0;
		top: 18px;
	}

	.responsive-tabs .responsive-tabs__panel {
		background: #fbffb9;
		border: 1px solid #ccc;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		border-top: none;
		margin: 0;
		padding: 0 20px;
		padding-top: 20px;
	}
}


/* Health and Safety Services Spec Table */

.spec {
	margin: 0;
}

.spec td {
	padding: 1;
}

.spec td:first-child {
	width: 20%;
	vertical-align: top;
}



.spec td a, div.gallery-content td a {
	color: #993300;
	text-decoration: none;
	border-bottom: 6px dashed #993300;
}



.spec tr:last-child td {
	border-bottom: 1px dotted #aaa;
}

/* Browse Courses by Category */

div#browse-course-by-category {
	width: 100%;
	float: left;
	clear: both;
	margin: 15px;
}

div.browse-course-by-category {
	float: left;
	background: #E3E8F0;
	padding: 15px;
	border-spacing: 0;
    	border-collapse: separate;
    	border: 1px solid #e0e0e0;
    	width: 300px;
}


/* Browse Courses */

.browse {
	margin: 1em 0 0 0;
	width: 100%;
    	border-collapse: separate;
    	border: 1px solid #e0e0e0;
    	float: left;
}


.browse img {
	margin: 0 1em 0 0;
	padding: 0;
	max-width: 200px;
	float: left;
	}
	
.browse h1 {
	color: #ffc320;
	font-size: 20px;
}

.browse:hover{
   background-color:#f2f6ff;
}

.left {
	float:left;
	}
	
.right {
	float:left;
	margin:0 0 0 5px;
	}
	
	
	
	
/* Staff */

.staff {
	margin:0;
	width: 100%;
    	border-collapse: separate;
    	float: left;
}

.staff th {

	margin:0;

	width: 100%;

    	border-collapse: separate;

    	float: left;
    	
    	text-align: left;

}

.staff img {
	margin: 0 1em 0 0;
	padding: 0;
	max-width: 350px;
	float: left;
	}
	
.staff h1 {
	color: #ffc320;
	font-size: 20px;
}

.staff:hover{
   	background-color:#f2f6ff;
}

.staff h5 {
	font-weight: normal;
	margin-bottom: 0.2em;
	margin-left: 4%;
}

.staff h6 {
	margin-left: 8%;
}

.staff hr { 
	height: 1px;
    	width: 100%;
    	background-color: #cc1133;
    	margin-bottom: 0;
}