/*
Theme Name: Siyazama
Theme URI:
Author: Siyazama
Author URI: https://wordpress.org/
Description: Siyazama theme is clean, blog-focused, and designed for clarity. Siyazama's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer.
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, blue, gray, pink, purple, white, yellow, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: Siyazama

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css');

.thumb-preview.col-md-3 a span {
    line-height: 2;
    margin-left: 10px;
    /* margin: auto auto; */
}

.thumbnail-text {
    display: inline-block;
    transform: translateY(-17%);
    margin-left: 20px;
}


/*
  FONTS
------------------------------------------------ */

@font-face {
  font-family: 'texgyreadventorregular';
	src: url('font/texgyreadventor-regular-webfont.eot');
   	 src: url('font/texgyreadventor-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/texgyreadventor-regular-webfont.woff') format('woff'),
         url('font/texgyreadventor-regular-webfont.ttf') format('truetype'),
         url('font/texgyreadventor-regular-webfont.svg#texgyreadventorregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'texgyreadventorregularbold';
	src: url('font/texgyreadventor-bold-webfont.eot');
   	 src: url('font/texgyreadventor-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/texgyreadventor-bold-webfont.woff') format('woff'),
         url('font/texgyreadventor-bold-webfont.ttf') format('truetype'),
         url('font/texgyreadventor-bold-webfont.svg#texgyreadventorregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


/*
  GLOBAL
------------------------------------------------ */
.mtop10, .mt10 { margin-top: 10px; }
.mtop20, .mt20 { margin-top: 20px; }
.mtop40, .mt40 { margin-top: 40px; }
.mbot40, .mb40 { margin-bottom: 40px; }
.mbot60, .mb60 { margin-bottom: 60px; }
.mbot80, .mb80 { margin-bottom: 80px; }
.mr10 { margin-right: 10px; }


.mt30 { margin-top: 30px; }
.mt60 { margin-top: 60px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }

.ac { text-align: center; }
.ar { text-align: right; }
.h400 { height: 400px; }
.h500 { height: 500px; }
.h600 { height: 600px; }

.title {
  margin-bottom: 0px;
}


.section {
  padding-top: 60px;
  padding-bottom: 60px;
}


/* :: THEMING */
.color-white { color: white; }
.background-dark { background-color: #464646; } /* Dark Background color to be used on containers */

/* Dark Background color that covers full width (wrap container with this) */
.background-dark-width {
  background-color: #464646;
  width: 100%;
  }


/* Smaller than [ 1024px ] - TABLET. */
@media only screen and (max-width: 1024px) {}

/* Smaller than [ 480px ] - PHONE. */
@media only screen and (max-width: 480px) {}



/*
  NAV TABS
------------------------------------------------ */
.nav-tabs {
  margin-bottom: 3rem;
  border-bottom: 1px solid #e0e0e0;
}

.nav-tabs .tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav-tabs .tabs li {
  background: none;
  color: #222;
  display: inline-block;
  cursor: pointer;
  padding: 20px 15px;
  margin-bottom: 0;
}

.nav-tabs .tabs li.current {
  color: #000;
  font-weight: 600;
}

.tab-content {
  display: none;
  padding: 0 40px;
}

.tab-content.current {
  display: inherit;
}


/*
  NAV FILTER
------------------------------------------------ */
.nav-filter {
  display: block;
  margin-bottom: 20px;
  text-align: center;
  /* border: 1px solid red; */
}

.nav-filter label {
  padding: 0 10px 0 30px;
  height: 29px;
  line-height: 29px;
  vertical-align: top;
  margin: 0;
  font-size: 15px;
}

.nav-filter label:first-child {
  padding-left: 0;
}



/*
  YOUTUBE WRAPPER
------------------------------------------------ */
.youtube-wrapper {
  position: relative;
  padding-bottom: 51.1%;
  padding-top: 25px;
  height: 0;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



/*
  GOOGLE MAPS WRAPPER
------------------------------------------------ */
.google-maps-wrapper {
    margin-bottom: 40px;
}

.google-maps-wrapper iframe {
  width: 100%;
  height: 400px;
}



/*
  TYPOGRAPHY
------------------------------------------------ */
body,h1,h2,h3,p,li {
  font-family: texgyreadventorregular;
}


p {
  line-height: 29px;
  font-size: 14px;
  margin-bottom: 15px;
}

li {
  font-size: 14px;
  line-height: 29px;
}

hr {
  margin-top: 0px;
  margin-bottom: 0px;
}

.txt-link{
  text-decoration: none;
  font-weight: 400;
  color: #3a3a3a;
  text-transform: none;
}


/*
  BREADCRUMBS
------------------------------------------------ */
.breadcrumb {
  display: block;
  margin-bottom: 30px;
  margin-top: 30px;
  padding: 0px;
}

.breadcrumb-wrap + .section {
  padding-top: 0px;
}

.breadcrumb > .active {
	color: #000;
}

/* Smaller than [ 480px ] - PHONE. */
/*@media only screen and (max-width: 480px) {
  .breadcrumb {
    margin-left: 15px;
    margin-right: 15px;
  }
}*/


/*
  NAV
------------------------------------------------ */

/*fixed nav settings*/
.navbar-fixed-top{
  background-color: #fff;
  height: 80px;
  box-shadow: 0 0 8px #ccc;
}

.navbar-inverse li > a:hover,
.navbar-inverse .navbar-nav > .current-menu-item > a { 
	color: #000 !important; 
}


.stickylogo { display: block }

.flogo { display: none; height:50px }

.navbar-brand { height: auto; padding: 14px 0;}

#cssmenu ul li > ul {
  border-top: 1px solid #000;
  top: 80px
}

/*End fixed nav settings*/
@media only screen and (max-width: 1235px) and (min-width: 768px) {
  /*fit nav li's in header*/
  .nav.navbar-nav.navbar-right li a { font-size: 9px; }
}


/* Hamburger Icon - Mobile */
.navbar-toggle {
  border-radius: 0;
}

/*Over-write Bootstraps nav focus color */
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    color: #9d9d9d;
}



/*
  FOOTER
------------------------------------------------ */
/*Kill list style on footer*/
footer .footer-link .menu li { list-style-type: none; }

footer .footer-link .menu { padding-left: 0px }

/* Smaller than [ 480px ] - This is where the grid changes. */
@media only screen and (max-width: 480px) {

  footer {
    text-align: center !important;
  }

  .widget-title {
    text-align: center !important;
    margin-top: 15px;
  }

  .widget-title .first {
    margin-top: 0;
  }

}




/*
  SLIDE SHOW && BANNERS - ALL PAGES
------------------------------------------------ */

/*Hide the page title (in banner)*/
.breadcrumb-wrap h1 {
    display: none;
}

.title {
  text-align: left;
}

.title .sub-title {
  font-size: 14px;
  color: #262626;
  width:100%;
  line-height: 29px;
}

.col-lg-6.tablet-sabout-content h2 {
  font-size: 33px;
}

.col-lg-6.tablet-sabout-content p {
  font-size: 14px;
}

.carousel-caption h4 {
  color: #b21e38;
}

.about-slider .owl-theme .owl-controls .owl-page span {
  color: #a6a6a6;
  line-height: 1;
  text-transform: uppercase;
  width: 100%;
  top: 6em;
  position: relative;
  margin: 0;
  font-size: 17px;
  font-weight: 400;
}

.about-slider .owl-pagination .owl-page span strong {
  color:  #a6a6a6;
  font-weight: 400;
}

.breadcrumb-wrap .breadcrumb-title {
  background-size: cover;
  height: 320px;
  margin-top: 80px;
}


 @media only screen and (max-width: 1235px) and (min-width: 768px){
    /*about page slider*/
   .about-slider .owl-theme .owl-controls .owl-page span { font-size: 16px; }
 }

/* Smaller than [ 480px ] - PHONE. */
@media only screen and (max-width: 480px) {
  /*Kill space white space on mobile*/
  .owl-theme .owl-controls {
   margin-top: 0px;
  }
}



/*
  :: EXPAND = Hide "Page Title" - Elementor (See Blog/News Page)
------------------------------------------------ */
.page-news .entry-header,
.page-people .entry-header,
.page-media .entry-header,
.page-transformation .entry-header {
  display: none;
}


/*
  :: EXPAND = YOAST BREADCRUMBS - Elementor (See Blog/News Page)
------------------------------------------------ */
#breadcrumbs span {
  color: #ccc;
}

#breadcrumbs a {
  font-weight: normal;
}

#breadcrumbs .breadcrumb_last {
  text-transform: uppercase;
  font-weight: bold;
  color: #000;
  letter-spacing: 1px;
}


/*
  :: HOME
------------------------------------------------ */


/*
  :: HOME PAGE - FEATURED PROJECTS (4 IMAGES)
------------------------------------------------ */

[class*="featured-project"] {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: 50% 50%;
  border: 15px solid #464646;
  /**/
  /*border: 1px solid red;*/
}

[class*="featured-project"]:before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
}

.featured-project.p1 {
  background-image: url("http://www.siyazama.co.za/wp-content/uploads/2015/12/For-web-2-825x510.jpg");
}

.featured-project.p2 {
  background-image: url("http://www.siyazama.co.za/wp-content/uploads/2016/10/SHP_9909-825x510.jpg");
}

.featured-project.p3 {
  background-image: url("http://www.siyazama.co.za/wp-content/uploads/2016/10/Helicam_GVK_0283-825x510.jpg");
}

.featured-project.p4 {
  background-image: url("http://www.siyazama.co.za/wp-content/uploads/2016/11/Mediclinic-Artist-Impression-825x510.jpg");
}




.project-details {
  display: block;
  position: absolute;
  bottom: 0;
  padding: 40px;
}

.project-details h1,
.project-details p {
  color: white;
}

/* Smaller than [ 480px ] - This is where the grid changes. */
@media only screen and (max-width: 480px) {
  .project-details {
    padding: 20px;
  }
  .about-slider{
    margin-bottom: 0px;
  }
}

/*featured-news*/
.featured-news h2 {
    line-height: 30px;
}


/*
  Media
------------------------------------------------ */
/* .gallery {
  height: 315px;
  background-size: cover;
} */

.featured-1{
  background-image: url('http://www.siyazama.co.za/wp-content/uploads/2016/01/MG_5757-940x626_c.jpg');
  background-color: red;
}
.featured-2{
  background-image: url('http://www.siyazama.co.za/wp-content/uploads/2016/01/GVK-53.jpg');
  background-color: red;
}
.print {
  height: 370px;
  background-size: cover;
}

.print-1 {
  margin-top: 47px;
  background-image: url('http://www.siyazama.co.za/wp-content/uploads/2016/11/building-strength.jpg');
}
.print-2 {
  background-image: url('http://www.siyazama.co.za/wp-content/uploads/2016/11/10th-edition.jpg');
}
.print-3 {
  background-image: url('http://www.siyazama.co.za/wp-content/uploads/2016/11/9th-edition.jpg');
}


/*
  NEWS
------------------------------------------------ */
.news .read-more {
  display: block;
  margin-bottom: 40px;
}

/* Smaller than [ 480px ] - This is where the grid changes. */
@media only screen and (max-width: 480px) {

}



/*
  QUOTES
  Quotes need to be contained in a grid - see homepage
------------------------------------------------ */
.quotes {
  display: block;
  background-size: cover;
  background-position: center !important;
}

.quotes .row {
  padding-top: 150px;
  padding-bottom: 150px;
}

.quotes blockquote p {
  color: white;
  line-height: 1;
  font-size: 42px;
  line-height: 1.2;
  font-size: 40px;
  text-align: center;
}


/* Smaller than [ 480px ] - This is where the grid changes. */
@media only screen and (max-width: 480px) {

  .quotes blockquote p {
    font-size: 24px !important;
  }


}



/*
  :: ABOUT PAGE
------------------------------------------------ */

/*change color of bullet dots*/
.why-vision-block .description ul li:before {
  color:#5e5f61;
  top: 1px;
}

/* hide time-line 'line'*/
.about-slider .owl-pagination:before {
  display: none;
}

.customNavigation .prev {
  left: -80px;
}

.customNavigation .next {
  right: -80px;
}


.about-slider .owl-pagination .owl-page span strong {
  font-weight: 400;
}

/* Smaller than [ 480px ] - PHONE. */
@media only screen and (max-width: 480px) {
  .customNavigation .prev {
      left: 20px;
      top: 135px;
    }

  .mobile-mt30 {
  margin-top: 30px;
  }


/*Building people and building success images*/
  img[alt*="Vision"] {
    margin-bottom: 30px;
  }

  .customNavigation .next {
      right: 20px;
      top: 135px;
  }
}



/*
  :: PAGE - PROJECTS - LIST
------------------------------------------------ */

.sector-info {
  color: #5e5f61;
}

/*Collapse prjects nav on mobile*/
/* Smaller than [ 480px ] - PHONE. */
@media only screen and (max-width: 480px) {
  .proback .nav-tabs > li {
    display: block;
  }
}




/*
  :: PAGE - PROJECTS - DETAIL
------------------------------------------------ */
.same_cat_project {
  float:none;
}

/* Nav in single projects view */
.pro_navigation {
  margin: 0;
  margin: auto auto;
  display: block;
}


/*collapse nav on mobile*/
/* Smaller than [ 480px ] - PHONE. */
@media only screen and (max-width: 480px) {
  .project-detail-nav {
    text-align: left;
    padding-left: 14px;
  }
  /*separate prev & next links and collapse on mobile*/
  .mobile-center {
    text-align: center;
    padding-bottom: 20px;
  }
  /*Center & set width to buttons*/
  .btn-mobile {
    display: block;
    margin: auto auto;
    width: 100%;
  }

  /* Share & Download Buttons */
  .project-detail-wrap .btn-mobile {
    margin-bottom: 15px;
  }
  /* 100% width on buttons!*/
   .btn {
    width: 100%;
   }

}




/*
  :: PAGE - SHEQ
------------------------------------------------ */
.sheqdescriptiongreen {
  width: 100%;
}

.safety p, .safety h1  { color: white; }
/*Environmental procedures lead*/
.iso-section .sheqsector-info {
  color: #5e5f61;
  font-size: 23px;
  font-weight: 400;
}

.policy-link {
 padding-top: 30px;
}

/* Smaller than [ 480px ] - PHONE. */
@media only screen and (max-width: 480px) {
  /*align images on mobile*/
  .page-template-sheq-template .text-right {
    text-align: center;
  }
}



/*
  :: PEOPLE
------------------------------------------------ */
.culture-info {
  text-align: left;
}
.print-list {
  list-style: none;
  padding-left: 0px;
}

.media-text {
  margin-left: 20px;
}


/*
  :: RECRUITMENT
------------------------------------------------ */
.table>tbody>tr>td {
  font-size: 12px;
  line-height: 24px;
}
.recruitment-description {
  width: 45%;
}
.apply-cta {
  cursor: pointer;
}


/*
  :: BLOG
------------------------------------------------ */
.single-media-list .description {
  font-size: 15px;
}

.media-list-padding { padding-left: 0px; }

.widget-title {
    font-size: 1em;
    font-weight: 400;
    color: white;
    /*margin: 0 0 10px;*/
    text-align: left;
}

/*over-ride blog title*/
.big-media-list .big-media-title h4{
  font-weight: 400;
 }

 /* Smaller than [ 480px ] - PHONE. */
 @media only screen and (max-width: 480px) {
.big-media-title {
  text-align: center;
}
 .big-media-list .big-media-title h4{
    font-size: 1.250em;
    text-transform: none;
    line-height: 26px;
    font-weight: 700;
 }
 .right-block aside h2 {
   margin-top: 30px;
   text-align: center;
 }

 }

/* Space between posts */
.media-list-img {
  margin-top: 30px;
}

/* Smaller than [ 480px ] - PHONE. */
@media only screen and (max-width: 480px) {

  .big-media-image{ height:200px; }
  .media-list-img{ height:200px; }

}

/*
  :: CONTACT
------------------------------------------------ */

.media > .section,
.contact-us > .section,
.gauteng > .section,
.kwazulu-natal > .section,
.eastern-cape-port-elizabeth > .section,
.western-cape > .section {
  padding-top: 0;
}
.placeholer {
  height: 262px;
}

/* :: REGION NAV */
/*contact regions nav*/
.regional-nav {
  display: inline-block;
  padding-right: 60px;
}

.regional-nav a {
  font-weight: bold;
  padding-right: 40px;
}

.regional-nav .active {
  color: #b20637;
}

/*Telephone Number*/
p.profile-details { font-size: 12px; }


/* collapse links on mobile  */
 @media only screen and (max-width : 992px) {
   .regional-nav a {
     display: block;
     text-align: center;
     padding-right: 0px;
     padding-bottom: 20px;
 }
   .regional-nav {
     display: block;
     padding-right: 0px;
   }
 }
 /* Smaller than [ 480px ] - PHONE. */
 @media only screen and (max-width: 480px) {
   .mc {
     text-align: center;
     margin: 30px auto;
     display: block;
   }
 }



/* :: PROFILE BLOCKS */
.department {
  text-align: left;
}

.profile-block {
  padding-top: 40px;
}

.profile-block img {
  width: 100%;
}

.profile-block p {
  line-height: 16px;
  margin-bottom: 5px;
}

.profile-name {
  font-weight: bold;
  font-size: 16px;
  margin-top: 10px !important;
}


/* : Social media icons - footer*/
.copy-write {
  line-height: 60px;
}
.socialbtns {
  text-align: center;
}
.socialbtns a, .socialbtns a:hover {
	text-decoration: none;
}
.socialbtns li {
    list-style: none outside none;
    display: inline-block;
    line-height: 60px;
    height: 60px;
}

.socialbtns .fa {
    width: 50px;
    height: 30px;
    color: #fff;
    /*padding-top: 12px;*/
    font-size: 26px!important;
    line-height: 1;
}

.socialbtns .fa:hover {
	color: #FFF;
}

em {
    font-style: normal;
}

em {
    font-style: normal;
}

.project-sector {
     margin-bottom: 0px!important;
}

.ProjectRegionNav {
    padding: 20px 15px;
    position: relative;
    display: block;
	text-align: center;
}

.ProjectRegionNav a {
    /* color: red; */
    margin-right: 15px;
}

.nomargin {
margin-top: 0px;
}

.region-active {
    color: #B11E3A!important;
}
.ProjectRegionNav a{
	text-decoration: none;
}

.ProjectRegionNav a:only-child {
color: #B11E3A!important;
}

@media only screen and (max-width : 992px) {
	.ProjectRegionNav a{
   	 display: block;
   	 padding-bottom: 5px;
	}
}
.dropdownSection {
  display: block; width: 100%;
}

.test-class {color:orange;}







/*
  :: PROJECT ARCHIVE
------------------------------------------------ */

.page-template-project-archive-template label {
  margin-top: 10px
}
.page-template-project-archive-template td {
  /*width: 300px;*/
  /*text-transform: lowercase;*/
}
/*.page-template-project-archive-template td.filter-cat:first-letter {
  text-transform: capitalize;
}
.page-template-project-archive-template td.filter-region:first-letter {
  text-transform: capitalize;
}
.page-template-project-archive-template td.filter-title:first-letter {
  text-transform: capitalize;
}*/


.page-template-project-archive-template table {
  width: 100%;
  border-collapse: collapse;
}
/* Zebra striping */
.page-template-project-archive-template tr:nth-of-type(odd) {
  background: #eee;
}
.page-template-project-archive-template th {
  background: #404040;
  color: white;
  font-weight: bold;
}
.page-template-project-archive-template td, .page-template-project-archive-template th {
  padding: 6px;
  border: 1px solid #ccc;
  text-align: left;
}

.filters label {display: block;}

.filters input, .filters select {width: 100%;}

.filters div:first-child {display: block;}

.filters [class*="col-"] {padding-left: 0px; padding-right:0px}

.filters .pr15 {padding-right: 15px}

.filters .pl15 {padding-left: 15px}

.filter-thumbnail {
    padding: 0px;
    width: 150px;
}

.filter-thumbnail img {
  width: 150px;
  display: block;
  margin: auto;
}
/*
.page-template-project-archive-template td a {
  color: #b21e38;
  font-size: 16px;
  padding: 3px;
}*/

@media only screen and (max-width: 1024px) {
  .filters .pr15 {padding-right: 0px}

  .filters .pl15 {padding-left: 0px}
}



@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {



	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr {
		display: block;
	}
  /*td a {
    border: 1px solid #cccccc;
  }*/

	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	tr { border: 1px solid #ccc; margin-bottom:15px}

	.page-template-project-archive-template td {
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 50%;
	}

	.page-template-project-archive-template td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
	}
  .filter-thumbnail {width: 100%;}
  .filter-thumbnail img {
      width: 100%;
      display: block;
      /*margin-left: 50%;*/
  }


	/*
	Label the data
	*/
	.page-template-project-archive-template td:nth-of-type(1):before { content: "Date"; text-transform: capitalize;}
	.page-template-project-archive-template td:nth-of-type(2):before { content: "Category"; text-transform: capitalize;}
	.page-template-project-archive-template td:nth-of-type(3):before { content: "Region";text-transform: capitalize; }
	.page-template-project-archive-template td:nth-of-type(4):before { content: "Name";text-transform: capitalize; }
  .page-template-project-archive-template td:nth-of-type(5):before { content: "Amount";text-transform: none; }
  .page-template-project-archive-template td:nth-of-type(6):before { content: "Thumbnail";text-transform: none; }
	.page-template-project-archive-template td:nth-of-type(7):before { content: "PDF";text-transform: capitalize; }

  .page-template-project-archive-template td:nth-of-type(6) { margin-top: 5px; margin-bottom: 5px;}

}
