/**
 * Theme Name: 		Great Trading Empires of Africa
 * Theme URI: 		https://www.dreamabstract.com
 * Description: 	Great Trading Empires of Africa by Dreamabstract
 * Author: 			Dreamabstract
 * Author URI: 		https://www.dreamabstract.com
 * Version: 		4.7
 */

html,
body {
  overflow-x: hidden;
}
/* WordPress Core Styles */
.alignnone {
  margin: 0 0 10px 0;
}
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}t
.alignright {
  float: right;
  margin: 5px 0 10px 10px;
}
.alignleft {
  float: left;
  margin: 5px 10px 10px 0;
}
.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
a img.alignright {
  float: right;
  margin: 5px 0 10px 10px;
}
a img.alignnone {
  margin: 5px 10px 10px 0;
}
a img.alignleft {
  float: left;
  margin: 5px 10px 10px 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  background: #fff;
  border: 0px;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 0 10px 0;
}
.wp-caption.alignleft {
  margin: 5px 10px 10px 0;
}
.wp-caption.alignright {
  margin: 5px 0 10px 10px;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}
.wp-caption p.wp-caption-text {
  font-size: 16px;
  line-height: 25px;
  margin: 10px 0px;
  padding: 0 4px 5px;
}
.sticky {
  background: white;
  border: 2px solid black;
}
.entry-content img {
  margin: 0 0 1.5em 0;
}
.wp-smiley {
  margin: 0 !important;
  max-height: 1em;
}
blockquote.left {
  margin-left: 0;
  margin-right: 20px;
  text-align: right;
  width: 33%;
  float: left;
}
blockquote.right {
  margin-left: 20px;
  margin-right: 0;
  text-align: left;
  width: 33%;
  float: right;
}
/* Comments style */
.comment-form input[type=text],
.comment-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
}
ol.comments-list {
  padding-left: 0;
}
ol.comments-list li {
  list-style: none;
}
ol.comments-list .comment-author {
  border-bottom: 1px solid #ccc;
  padding-top: 5px;
  padding-bottom: 5px;
}
ol.comments-list .comment-meta {
  float: right;
}
ol.comments-list .children {
  border-left: 1px solid #ccc;
}
.comment-form-comment label {
  display: block;
}
/* Other General Styles */
img {
  max-width: 100%;
  height: auto;
}
/* Prevent banner from downsizing too much */
#banner {
  overflow: hidden;
}
#banner #banner-container-holder {
  width: 100%;
  min-width: 900px;
  display: inline-block;
  position: relative;
  right: -50%;
}
#banner #banner-container-row {
  position: relative;
  left: -50%;
}
.ms-slide-layers .caption {width:60% !important;margin:0 auto !important;}
.caption > p > span {font-size:2.5vw !important;line-height:2.3vw !important;}
.slide2 .msp-cn-1-22, .slide3 .msp-cn-1-22 {
	color: #ffffff !important;
}
/* Prevent banner from resizing and allows images to fade into each other  */
/*
.flexslider .slides > li {
    display: inline !important
}
*/
/******* Theme Styles *******/

header {padding:15px 0px;background-color:#3a3a3a;background-image:url(images/unesco-s.png);background-repeat:no-repeat;background-position: 5% 75%;}
#header-top img {max-width:360px;height:auto;}
#header-top {text-align:center;margin-bottom:15px;}
#home-top-title {text-align:center;margin:30px 0px 0px 0px;}
#home-bottom-title {text-align:center;margin:0px 0px 30px 0px;}
#home-top-right {margin-bottom:30px;}
#home-top-right .btn {margin-top:20px;}
#home-top-left {text-align:left;}
#home-top-left .trailer {width:100%;height:auto;}
#home-top-left img:hover, .custom_gallery_grid img:hover, .gallery-content img:hover  {
    opacity: 0.7;
    filter: alpha(opacity=70); /* For IE8 and earlier */
} 


#home-supported {background-color:#000000;padding-top:30px;padding-bottom:30px;color:#fff;text-align:center;}
#home-supported h2 {color:#fff;font-size:45px;}
#home-supported img {margin:15px 30px;}
#home-news {background-image:url(images/news-bg.jpg);background-repeat:no-repeat;background-size:cover;height:610px;text-align:center;}
#home-news h2 {font-size:45px;width:100%;text-align:center;margin-bottom:20px; }
#home-news {color:#fff;padding:30px;}
#home-news h3 {color:#fff;font-size:26px;}
#home-news .btn {margin-top:15px;}
.news-btn {width:100%;text-align:center;display:block;clear:both;}

#home-news img:hover {
    opacity: 0.7;
    filter: alpha(opacity=70); /* For IE8 and earlier */
} 

#main {padding-top:50px;padding-bottom:50px;}


#project-top, #project-bottom {padding:15px 0px;}
#gallery-content {margin-top:30px;padding:0px;}
#gallery-content .post_container {text-align:center;}
#gallery-content .post_container img {margin-bottom:15px;}

#gallery-content .post_container img:hover {
    opacity: 0.7;
    filter: alpha(opacity=40); /* For IE8 and earlier */
} 
#project-testimonial {margin:30px 0px;width:100%;display:block;padding:15px 0px;border-top:1px solid #3a3a3a;border-bottom:1px solid #3a3a3a;}
.testimonial-owner {width:100%;display:block;text-align:right;}
blockquote {
	padding: 10px 20px;
	margin: 0 0 20px;
	font-size: 22px;
	border-left: 0px;
	font-style:italic;
	color:#3a3a3a;
}
.client-content {text-align:center;border-top:1px solid #3a3a3a;padding-top:20px;padding-bottom:50px;}
.client-content h2 {margin-bottom:30px;}
.sidepic {width:100%;height:auto;margin-top:30px;}
.wpls-logo-showcase .wpls-logo-cnt.slick-slide img {
	border: 0px !important;
}
.backto {width:100%;text-align:center;}
.single-custom_project #banner {border-bottom:3px solid #3a3a3a;}
.table-container {padding:15px 0px;border-top:1px solid #3a3a3a;border-bottom:1px solid #3a3a3a;}
.tabpad td {padding:5px !important;}
.tabpad tr {border-bottom:1px solid #fff;}
.team-row .col-md-3 {padding-left:0px;}
.team-row {border-bottom:1px solid #3a3a3a;padding-bottom:15px;margin-bottom:15px;height:auto;display:block;float:left;width:100%;}
.team-row h2 {margin-top:0px;}
.team-row .alignright {
  float: right !important;
  margin: 5px 0 10px 10px !important;
}
.breadcrumb {
  background-color: transparent;
  border-radius: 0px;
  margin-bottom: 20px;
  padding: 0px;
  font-size:14px;
}
.home .breadcrumb {display:none;}
.blog .post-thumbnail a {text-decoration:none !important;}
.blog #full {padding:0px;}
footer {background-color:#3a3a3a; color:#fff;padding:30px 0px;text-align:center;}
footer a {color:#fff;text-decoration:none;}
footer a:hover {color:#ff9600;text-decoration:none;}
footer h2 {color:#fff;font-size:48px;}
footer .textwidget {margin-top:15px;}
footer .custom-html-widget {margin-bottom:30px;}
#footer-text img {width:100%;height:auto;}
#footer-menu ul {margin:30px 0px;padding:0px;list-style:none;}
#footer-menu li {display:inline-block;padding:0px 5px;height:15px;line-height:15px;}
#footer-menu a {color:#fff;text-decoration:none;}
#footer-menu a:hover {color:#ff9600;text-decoration:none;}

#footer-content h2 {font-size:30px;}

.page-id-22 #main li {margin-bottom:15px;}

/* Blog Styles */
.blog .blog-entry,
.archive .blog-entry {
  padding: 30px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.blog .blog-entry:first-child,
.archive .blog-entry:first-child {
  padding-top: 0;
}
.single .post-content {
  padding: 0 20px 0px 0px;
}
.blog .loop-single,
.archive .loop-single {
  margin-bottom: 30px;
  padding-bottom: 30px;
}
@media only screen and (min-width: 992px) {
  .blog .loop-single,
  .archive .loop-single {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
}
.blog .table .loop-single,
.archive .table .loop-single,
.blog .full-content .loop-single,
.archive .full-content .loop-single {
  clear: both;
}

.blog .post-thumbnail,
.archive .post-thumbnail,
.single .post-thumbnail {
  text-align: center;
  padding-bottom: 20px;
  margin-top: 20px;
}
.blog .post-thumbnail img,
.archive .post-thumbnail img,
.single .post-thumbnail img {
  max-width: 100%;
}
.blog .video .post-thumbnail a:before,
.archive .video .post-thumbnail a:before,
.single .video .post-thumbnail a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: all 0.8s;
  opacity: 1;
  background: url('images/youtube-tile.png');
  background-size: 100% 100%;
  cursor: pointer;
}
.blog #main h2,
.archive #main h2,
.single #main h2 {
  font-size: 36px;
  line-height: 41px;
  padding-bottom: 10px;
}

.blog .post-date,
.archive .post-date,
.single .post-date,
.blog .post-author,
.archive .post-author,
.single .post-author {
  color: #999;
  font-size: 20px;
  margin-top: 5px;
  margin-right: 30px;
}
.blog .post-excerpt,
.archive .post-excerpt,
.single .post-excerpt {
  margin: 20px 0;
}
.blog #right,
.archive #right,
.single #right {
  padding-left: 20px;
  margin-top: 20px;
}
.blog #right .form-search,
.archive #right .form-search,
.single #right .form-search {
  margin-bottom: 10px;
}
.blog .post-link,
.archive .post-link,
.single .post-link {
  text-decoration: none;
  padding: 15px 30px;
  color: #ffffff;
  background-color: #ff0000;
  display: inline-block;
  text-transform: uppercase;
  margin: 30px 0;
  font-weight: 300;
  cursor: pointer;
  font-size:18px;
}

.blog .post-link:hover,
.archive .post-link:hover,
.single .post-link:hover {
    color: #ffffff;
    background-color: #ffba01;
}
.prev-next-link {
  clear: both;
  padding-top: 50px;
}
.prev-link,
.next-link {
  display: inline-block;
}
.prev-link {
  float: left;
}
.next-link {
  float: right;
}
ul.pagination {
  clear: both;
  display: block;
}
.next-link a, .prev-link a, .backto a, .btn a {text-decoration:none !important;}
.single #right h2 {margin-top:0px;}
.single #right li a {text-decoration:none !important;}
.backto {padding-top:60px;}
/* Menu Styles */
.navbar {
  background-color: transparent;
  border: none;
  min-height: inherit;
  margin-top: 0px;
  margin-bottom: 0;
}
.navbar .container {width:100%;}
.navbar-collapse {
	padding-right: 0px;
	padding-left: 0px;
}
.navbar .main-menu {
  text-align:center;
	width:100%;
}
.navbar .main-menu > li {
  border-left: none;
	float:none;
	display:inline-block;
}
.navbar .main-menu > li:first-child {
  border-left: none;
}
.navbar .main-menu li a {
  color: #fff;
}
.navbar .main-menu li a:hover {
  color: #fff;
  background-color:#8f8e8e;
}
.navbar .main-menu > li > a {
  z-index: 1000;
  padding: 15px;
}

.navbar .main-menu > li {text-transform:uppercase;font-size:18px;}


@media only screen and (min-width: 768px) {
  .navbar .main-menu {
    /* second level positioning */
  }
  .navbar .main-menu > li:hover > ul {
    top: auto;
    width: auto;
    margin-left: -1px;
    display: block;
	  background-color: #8f8e8e;
  }
}
.navbar .main-menu > li > ul > li > a {
  background-color: #8f8e8e;
  padding: 5px 15px;
  z-index: 2000;
	color:#fff;
}
.navbar .main-menu > li > ul > li > a:hover {
  background-color: #3d3d3d;
  padding: 5px 15px;
  z-index: 2000;
	color:#fff;
}
@media only screen and (min-width: 768px) {
  .navbar .main-menu {
    /* third level positioning */
  }
  .navbar .main-menu > li ul > li:hover > ul {
    top: 0;
    width: auto;
    margin-left: 99%;
    display: block;
    z-index: 10000;
  }
}
.navbar .main-menu > li > ul > li > ul > li a {
  background-color: #fafafa;
  padding: 5px 15px;
  z-index: 3000;
}
.navbar .caret {
  display: none;
}


/* Gallery Styles */
.custom-gallery-grid,
.custom-gallery-grid ul,
.custom-gallery-grid li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
.custom_gallery_grid ul {margin:0px !important;padding:0px !important;}
.custom_gallery_grid ul,
.custom_gallery_grid li {
	list-style: none;
}

.custom_gallery_grid li {
	float: left;
}

.custom_gallery_grid li {
	padding: 1%;
	width: 23%;
}

.custom_gallery_grid li img {
	width: 100% !important;
	height: auto !important;
}

.custom_gallery_grid {
	margin-bottom: 20px;
}

/* Accordion Style */
.panel-group .panel-heading .panel-title a:after {
  /* symbol for "opening" panels */
  font-family: 'Glyphicons Halflings';
  /* essential for enabling glyphicon */
  content: "\e113";
  /* adjust as needed, taken from bootstrap.css */
  float: right;
  /* adjust as needed */
}
.panel-group .panel-heading .panel-title a.collapsed:after {
  /* symbol for "collapsed" panels */
  content: "\e114";
  /* adjust as needed, taken from bootstrap.css */
}
/* Masonry Styles */
.masonry-content .loop-single-sizer,
.masonry-content .loop-single {
  width: 33%;
}
/* Font Styles */

body {font-family: 'Roboto', sans-serif;font-size:16px;color:#606162;/* background-color:#faedd7;*/}

a {color:#3a3a3a;}
a:hover {color:#ff0000;}
#main a {text-decoration:underline;}

h1 {color:#3a3a3a;margin-top:0px;font-size:40px;}
h2 {color:#3a3a3a;font-size:26px;}
#right h2 {background-color:#3a3a3a;color:#fff;font-size:24px !important;width:100%;line-height:40px;margin-top:30px;text-transform:uppercase;padding-left:15px;padding-bottom:0px !important;}
#right ul {margin:0px;padding:0px;list-style:none;}
#right li {padding:10px 0px;border-bottom:1px solid #e6e2e2;}

.btn, .prev-next-link a {
    padding: 15px 30px;
    color: #ffffff;
    background-color: #ff0000;
    border-radius: 0px;
	font-size:18px;
	margin-top:5px;
}

.btn:hover, .prev-next-link a:hover {
    color: #ffffff;
    background-color: #ffba01;
}
.ms-btn {padding:0px !important;width:70px !important;height:70px !important;line-height:35px !important;}
.ms-btn:hover {text-decoration:none !important;}

.chevron:hover {
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
} 

.error {
  color: red;
}

.wpcf7 {margin-top:20px !important;}
.wpcf7-text {height:35px;margin-bottom:5px;border:1px solid #cccccc;width:100%;padding:5px;}
.wpcf7-captchar {height:35px;margin-bottom:5px;border:1px solid #cccccc;width:100%;padding:5px;}
.wpcf7-textarea {height:100px;margin-bottom:5px;border:1px solid #cccccc;width:100%;padding:5px;}
.wpcf7-submit {
	padding: 15px 30px;
    color: #ffffff;
    background-color: #ff0000;
    border-radius: 0px;
	font-size:18px;
	margin-top:5px;
	box-shadow:none;
	border:none;
}
.wpcf7-submit:hover {
	color: #ffffff;
    background-color: #ffba01;
}
div.wpcf7-mail-sent-ok {
    border: 2px solid #398F14;
}
div.wpcf7-response-output {
    margin: 20px 0px;
    padding: 0.2em 1em;
}
span.wpcf7-list-item {
	display: inline-block;
	margin: 0px;
}
#mc_embed_signup input.email {
	font-family: 'Roboto', sans-serif !important;
	font-size: 16px !important;
	border: 1px solid #fff !important;
	-webkit-border-radius: 0px !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
	color: #fff !important;
	background-color: transparent !important;
	width: 250px !important;
}
#mc_embed_signup .button {

    color: #3a3a3a !important;
    background-color: #fff !important;
    border-radius: 0px !important;
	font-size:18px !important;
	margin-top:0px !important;
	box-shadow:none !important;
	border:none !important;
}
#mc_embed_signup .button:hover {
	color: #ffffff;
    background-color: #ffba01 !important;
}
ol {font-size:26px;margin-left:40px;font-weight:bold;padding-left:0px;}

.page-template-page-contact .addtoany_share_save_container, .page-template-page-album .addtoany_share_save_container, .home .addtoany_share_save_container {
	display:none !important;
}
.single-custom_album .addtoany_share_save_container {text-align:center !important; }
@media only screen and (min-width: 768px) {
  a[href^="tel"] {
    text-decoration: none;
    pointer-events: none;
    cursor: default;
  }
}

@media only screen and (min-width: 1200px) {

}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	
	#header-left img {width:100%;height:auto;}
	
	.navbar .main-menu > li {font-size:15px;}
	.navbar .main-menu > li > a {
  z-index: 1000;
  padding: 15px 10px;
}
	.navbar .container {padding-left:0px;padding-right:0px;}
	#home-news {height:560px;}
	#home-news h3 {
	font-size: 22px;
}

}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	
#home-news {height:540px;}
	#home-news h3 {
	font-size: 18px;
}	
#home-supported img {
	width:23%;height:auto;
	margin: 0px 2%;
}	
}

@media only screen and (max-width: 991px) {
	
	#header-bottom {display:none;}
	#header-top {width:100%;text-align:center;}
		footer {text-align:center; }

	#home-top-left {
	text-align: center;
}
		header {background-image:none;}
	#wprmenu_bar, #mg-wprm-wrap {background-image:url(images/unesco-m.png);background-position: 50% 50%;background-repeat:no-repeat;}
}

@media only screen and (max-width: 767px) {
	
	#home-projects-intro, #home-testimonials {
	padding: 30px;
}
	#gallery-content .post_container {margin-bottom:15px;}
	.custom_gallery_grid ul{
	padding:0px 15px !important;
}
#home-news {background-image:url(images/news-bg.jpg);background-repeat:no-repeat;background-size:cover;height:auto;text-align:center;}
	#home-news img {margin-top:15px;}
	#home-supported img {
	width:23%;height:auto;
	margin: 0px 2%;
}

}


@media only screen and (max-width: 450px) {
	
	#header-left img {width:90%;height:auto;}
	#tel {
	font-size: 20px;
		line-height: 20px;}
}
@media only screen and (max-width: 360px) {
	
	#header-top img {width:90%;height:auto;}
	
}