/*
Theme Name: BM
Theme URI: http://underscores.me/
Author: Bit&Bits
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bm
Tags:

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.

BM is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
### Theme Specific Styles
--------------------------------------------------------------*/

/****************************************
Color Refrences 

NAV Background    #ece7e1
LOGO Blue         #1668b2
LOGO Orange       #f68121
Body Background   #ece7e1


****************************************/

/****************************************
Font Include
****************************************/
/*@font-face {
  font-family: 'BM-Font';
  font-weight: bold;
  font-weight: 700;
  src: url("assets/fonts/Lovelo-Black.otf") format("opentype");
}
@font-face {
  font-family: 'BM-Font';
  font-weight: lighter;
  font-weight: 300;
  src: url("assets/fonts/SourceSansPro-Light.otf") format("opentype");
}
@font-face {
  font-family: 'BM-Font';
  font-weight: normal;
  font-weight: 400;
  src: url("assets/fonts/SourceSansPro-Regular.otf") format("opentype");
}
*/
@import url(https://fonts.googleapis.com/css?family=Raleway:500,600,700);
 @import url('https://fonts.googleapis.com/css?family=Philosopher');
/****************************************
Main Styles
****************************************/
*{
	font-family: 'Raleway', Helvetica, sans-serif;
}
a{
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all  0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
h1,h2,h3,h4,h5,h6{
	color: #1668b2;
	font-weight: 600;
}
.orange-text{
	color: #f68121;
}
body{
	background: #eee;
	background: url('assets/img/pattern.jpg');
	line-height: 1.7;
}
#content .container{
	padding: 0 25px;
	background: #fff;
}
body.page-template-page-home #content .container{
	padding: 0;
	background: transparent;
}
.inside-page-title{
	background: #dedede;
	margin-top: 30px;
    margin-bottom: 15px;
    height: 20px;
}
.inside-page-title h1,.inside-page-title h2,.inside-page-title h3,.inside-page-title h4,.inside-page-title h5,.inside-page-title h6{
	background: #fff;
	display: inline-block;
	margin:0;
	text-transform: uppercase;
	padding-right: 40px;
	position: relative;
}
.inside-page-title h1:before,.inside-page-title h2:before,.inside-page-title h3:before,.inside-page-title h4:before,.inside-page-title h5:before,.inside-page-title h6:before{
	content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 8px;
    width: 8px;
    height: 20px;
    background: #dedede;
    border-right: 3px solid #fff;
    -webkit-box-shadow: 5px 0px 0px 0px #dedede;
    -moz-box-shadow: 5px 0px 0px 0px #dedede;
    box-shadow: 5px 0px 0px 0px #dedede;
}
.inside-page-title h1:after,.inside-page-title h2:after,.inside-page-title h3:after,.inside-page-title h4:after,.inside-page-title h5:after,.inside-page-title h6:after{
	content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 19px;
    width: 5px;
    height:20px;
    background: #dedede;
}
.inside-page-title h1,.inside-page-title h2{
	font-size: 22px;
}

/****************************************
Header
****************************************/

body header{
	position: relative;
}
body.sticky-header #page > header {
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: #e9e1de;
    padding-bottom: 10px;
    box-shadow: 0 -1px 16px rgba(0, 0, 0, 0.45);
    display:none;
}
#navbar-collapse{
	background: #1a6ab1;
}
#main-nav{
	background: transparent;
	padding: 20px 0 0 0;
	margin-bottom: 0;
	border-bottom: 0;
}
#main-nav .navbar-brand{
	max-width: 220px;
	height: auto;
	padding: 0px 40px 5px 0px;
}
#main-nav .navbar-brand img{
	max-width: 100%;
	max-height: 100%;
}
#main-nav .nav {
	margin: 0;
	text-align: center;
}
#main-nav .nav > li > a{
	text-transform: uppercase;
	font-weight: bold;
	padding: 15px 14px;
	font-size: 16px;
	color: #fff;
	position: relative;
	left: -10px;
}
#main-nav .nav > li > a > span{
    display: block;
    color: #fff;
}
#main-nav .nav > li:first-child > a {
	padding: 15px;
}
#main-nav .nav > li:first-child > a > span{
	display: block;
}
#main-nav .nav > .active > a,#main-nav .nav > li > a:hover,#main-nav .nav > li > a:active,#main-nav .nav > li > a:focus,#main-nav .nav > li.current-menu-item > a{
	background: #f38121; /* Old browsers */
	background: -moz-linear-gradient(top,  #f38121 0%, #d16f14 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #f38121 0%,#d16f14 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #f38121 0%,#d16f14 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f38121', endColorstr='#d16f14',GradientType=0 ); /* IE6-9 */

	color: #fff;
}
.dropdown > a.dropdown-link{
	display: none;
	float: right;
	position: absolute !important;
	right: 0;
	left: initial !important;
	top: 0;
}
#lang_sel{
	float: left;
}
#lang_sel:hover ul ul{
	visibility: visible;
}
#lang_sel a{
	padding-left: 4px;
}
.sidebar-nav {
    padding: 9px 0;
}
.sub-menu{
	display: none;
}
.dropdown-menu{
	left: -20px;
	background-color: #EBE3E0;
	min-width: 250px;
    top: 120%;
    display: block;
    opacity: 0;
    visibility: hidden;
    border-top: 2px solid #F58220;
    z-index: 800;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all  0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}
li .dropdown:hover > .dropdown-menu {
    top: 0;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}
.dropdown-menu>li>a {
    padding: 10px 20px;
    color: #1668b2;
    font-weight: 400;
}
.dropdown-menu>li>a:hover{
	background: #fff;
	color: #f68121;
}
#lang_sel_list{
	float: right;
}
#lang_sel_list ul{
	float: right;
}
#lang_sel_list ul li a{
	background-color: transparent !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    border: 2px solid #ddd;
}
#lang_sel_list img.iclflag{
	min-width: 100% !important;
	min-height: 100% !important;
	top: 0;
}
#lang_sel_list ul{
	border-top: 0 !important
}
/*.lang_sel_sel{
	display: none !important;
}
.lang_sel_other{
	display: block !important;
}*/
#lang_sel_list li {
    padding: 10px !important;
    border-left: 2px solid #1760A1;
}



/****************************************
Extended Nav
****************************************/

#extended-menu{
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 110%;
	left: 0;
	right: 0;
	margin: 0 auto;
	padding: 0;
	min-height: 415px;
	background: #EFEAE5;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
    border-top: 2px solid #F58220;
	-webkit-box-shadow: 0px 7px 19px -4px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 7px 19px -4px rgba(0,0,0,0.75);
	box-shadow: 0px 7px 19px -4px rgba(0,0,0,0.75);
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all  0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
#extended-menu.open{
	opacity: 1;
	visibility: visible;
	top: 100%;
	z-index: 1000;
}
#ext-menu-parent{
	padding: 0;
	border-right: 1px solid #ddd;
}
#ext-menu-parent ul{
	list-style: none;
	margin-left: 0;
	padding: 15px 0;
}
#ext-menu-parent ul li a{
	display: block;
	font-weight: bold;
	padding: 10px 15px;
	text-decoration: none;
	-webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    -o-transition: background  035s ease-in-out;
    transition: background 0.3s ease-in-out;
}
#ext-menu-parent ul li.active a,#ext-menu-parent ul li a:hover{
	background: #eee;
	background: rgba(255,255,255,0.7);
}
#ext-menu-sub{
	padding: 30px 20px;
	background: #eee;
	background: rgba(255,255,255,0.7);
	min-height: 415px;
	border-right: 1px solid #ddd;
}

#ext-menu-sub ul{
	display: none;
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
/*#ext-menu-sub ul:first-child{
	display: block;
}*/
#ext-menu-sub ul li {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    float: left;
}
#ext-menu-sub ul li a{
	display: block;
	margin-bottom: 5px;
	font-weight: 400;
	font-size: 16px;
	color:#646464;
	line-height: 1.2em;
	text-decoration: none;
}
#ext-menu-sub a:hover {
    color: #F58220;
    padding-left: 5px;
}
#ext-menu-img-wrap{
	min-height: 415px;
	background: #eee;
	background: rgba(255,255,255,0.7);
}
.ext-menu-img{
	display: none;
	width: 100%;
}

.ext-menu-img{
	padding-top:50px;
}
.ext-menu-img img{
	max-width: 100%;
	height: auto;
}




/****************************************
Main Slider
****************************************/

.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
  z-index: 2;
}
.carousel-fade .item.active .carousel-caption {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.carousel-fade  .item.active .carousel-caption.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.carousel-fade  .item.active .carousel-caption.hinge {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}

.carousel-fade .item.active .carousel-caption.flipOutX,
.carousel-fade .item.active .carousel-caption.flipOutY,
.carousel-fade .item.active .carousel-caption.bounceIn,
.carousel-fade .item.active .carousel-caption.bounceOut {
  -webkit-animation-duration: .75s;
  animation-duration: .75s;
}
.carousel-fade .item .carousel-caption.fadeIn,
.carousel-fade .item .carousel-caption.fadeInDown,
.carousel-fade .item .carousel-caption.fadeInDownBig,
.carousel-fade .item .carousel-caption.fadeInLeft,
.carousel-fade .item .carousel-caption.fadeInLeftBig,
.carousel-fade .item .carousel-caption.fadeInRight,
.carousel-fade .item .carousel-caption.fadeInRightBig,
.carousel-fade .item .carousel-caption.fadeInUp,
.carousel-fade .item .carousel-caption.fadeInUpBig{
  opacity:0;
}
#main-slider{
	margin-bottom: 25px;
}
#main-carousel{
	padding: 0;
}
#main-carousel .item{
	height: 610px;
	background-color: #bfbfbf;
}
#main-carousel .item img{
	width: 100%;
    /*min-height: 100%;*/
    max-width: 100%;
}
#main-carousel .carousel-caption {
    right: 1%;
    left: initial;
    bottom: 5px;
    padding-bottom: 30px;
    text-align: left;
    padding: 15px;
}
#main-carousel .carousel-caption h1{
    margin-top: 0;
    color: #fff;
    font-size: 16px;
    background: #1668b2;
    display: inline-block;
    padding: 15px;
    -ms-transform: skewX(-20deg); /* IE 9 */
    -webkit-transform: skewX(-20deg); /* Safari */
    transform: skewX(-20deg);
    float: left;
}
#main-carousel .carousel-caption h1 span{
	display: block;
	-ms-transform: skewX(20deg); /* IE 9 */
    -webkit-transform: skewX(20deg); /* Safari */
    transform: skewX(20deg);
}
#main-carousel .carousel-caption p{
	font-size: 16px;
	background: #1668b2;
    display: inline-block;
    padding: 15px;
    -ms-transform: skewX(-20deg); /* IE 9 */
    -webkit-transform: skewX(-20deg); /* Safari */
    transform: skewX(-20deg);
    float: right;
}
#main-carousel .carousel-caption p span{
	display: block;
	-ms-transform: skewX(20deg); /* IE 9 */
    -webkit-transform: skewX(20deg); /* Safari */
    transform: skewX(20deg);
}
#main-carousel .carousel-control{
	background: transparent;
	opacity: 1;
}
#main-carousel .carousel-control div{
	position: absolute;
	top: 40%;
	top: calc(50% - 61px);
	left: -15px;
	display: inline-block;
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all  0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#main-carousel .right.carousel-control div{
	left: initial;
    right: -13px;
}
#main-carousel .carousel-control img{
	top: 45%;
}
#main-carousel .right.carousel-control img{
	 -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}
#main-carousel .carousel-control i{
	left: 30px;
    position: relative;
    font-size: 30px;
    color: #F58220;
    background: #fff;
    background: rgba(255,255,255,0.8);
    padding: 1px 5px;
    border-radius: 4px;
}
#main-carousel .carousel-control i.fa-caret-right{
	right: 30px;
	left: initial;
}
#main-carousel:before{
	content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    display: block;
    width: 80%;
    margin: 0 auto;
    -webkit-box-shadow:  0px -8px 70px 22px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px -8px 70px 22px rgba(0,0,0,0.75);
    box-shadow: 0px -8px 70px 22px rgba(0,0,0,0.75);
}

/****************************************
Main Content
****************************************/
.main-header{
	margin: 40px 0;
}
#main-content{
	min-height: 1000px;
}

/****************************************
Footer
****************************************/


#page > footer{
	background: #1361A9;
}
#page > footer h3{
	color: #f68121;
}
#page > footer  .col-md-3{
	padding-left: 0;
}
.footer-header{
	font-size: 1.3em;
	margin-bottom: 20px;
	margin-top: 30px;
}
.footer-menu,#page > footer .menu {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}
.footer-menu li,#page > footer .menu li{
	position: relative;
	padding-left: 20px;
	margin-bottom: 20px;
}
.footer-menu li:before,#page > footer .menu li:before{
	content: '';
	position: absolute;
	display: block;
	width: 10px;
	height: 10px;
	top: 5px;
	left: 0px;
	background: #f68121;
}
.footer-menu li a,#page > footer .menu li a{
	font-size: 16px;
	text-decoration: none;
	color: #fff;
	font-weight: 400;
}
.footer-menu li a:hover,#page > footer .menu li a:hover{
	color: #f68121;
}
.footer-social{
	margin-left: 0;
	padding-left: 0;
}
.footer-social li{
	display: inline-block;
	padding-right: 5px;
}
.footer-social li a{
	display: block;
	width: 35px;
	height: 35px;
	font-size: 18px;
	line-height: 35px;
	border-radius: 50%;
	color: #fff;
	background: #3b5a9a;
	text-align: center;
}
.footer-social li a:hover{
	-ms-transform: scale(1.2,1.2); /* IE 9 */
    -webkit-transform: scale(1.2,1.2); f/* Safari */
    transform: scale(1.2,1.2);
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all  0.3s ease-in;
    transition: all 0.3s ease-in;
}
.footer-social li:nth-child(2) a{
	background: #de4b39;
}
.footer-social li:nth-child(3) a{
	background: #46b0e2;
}
.footer-social li:nth-child(4) a{
	background: #0176b9;
}
.footer-social li:nth-child(5) a{
	background: #d32323;
}
.two-col-list{
	width: 50%;
	float: left;
}
.footer-contact-list{
	width: 100%;
	
}
.footer-contact-list h4,.footer-contact-list a{
	color: #fff;
}
.footer-contact-list h4{
	margin-top: 20px;
}
.footer-contact-list h4:first-child{
	margin-top: 0;
}
.footer-contact-list ul{
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
.footer-contact-list ul li{
	margin-bottom: 20px;
}
.footer-contact-list ul li a{
	text-decoration: none;
}
.copyrights{
	margin-top: 50px;
	margin-bottom: 25px;
}
.copyrights div{
	padding-right: 0;
}
.copyrights p{
	font-size: 16px;
	color: #fff;
}
.copyrights a{
	color: #f68121;
}
.separator{
	display: inline-block;
	margin:0 10px;
	color: #6f6f6f;
}




/****************************************
Home Page
****************************************/
#home-about p{
	font-size: 18px;
}
.home-about-img-wrap{
	overflow: hidden;
}
.home-about-img{
	height: 250px;
	width: auto;
}
#home-cat {
	margin-top: 10px;
	margin-bottom: 50px;
}
.page-template-page-home .inside-page-title h1, .page-template-page-home .inside-page-title h2, .page-template-page-home .inside-page-title h3, .page-template-page-home .inside-page-title h4, .page-template-page-home .inside-page-title h5, .page-template-page-home .inside-page-title h6 {
    background: #EBE3E0;
}
.page-template-page-home .inside-page-title h1:before, .page-template-page-home .inside-page-title h2:before, .page-template-page-home .inside-page-title h3:before, .page-template-page-home .inside-page-title h4:before, .page-template-page-home .inside-page-title h5:before, .page-template-page-home .inside-page-title h6:before {
    border-right: 3px solid #EBE3E0;
}
#home-cat .cat-img{
	height: auto;
}
#home-cat .cat-img img{
	max-height: 100%;
	max-width: 100%;
	width: 100%;
	transform: none;
}
#home-cat a:hover .cat-overlay{
	top: 5%;
	left: 2.5%;
	width: 95%;
	height: 90%;
	display: none;
}
#home-cat .prod-cat-title h3{
	font-size: 20px;
}
.autocad{
	
}
.autocad .autocad-wrap{
	position: relative;
	height: 430px;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	display: block;
	background: #EAA05F;
	padding: 20px;
	text-decoration: none;
	overflow: hidden;
}
.autocad .autocad-wrap p{
	display: block;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	font-weight: bold;
	color: #fff;
	font-size: 26px;
	margin-left: 15px;
	margin-right: 15px;
}
.autocad .autocad-wrap .cat-overlay{
	position: absolute;
	top: -1%;
	left: -1%;
	width: 102%;
	height: 102%;
	border: 2px solid #fff;
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all  0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: none;
}
.autocad .autocad-wrap:hover .cat-overlay{
	top: 5%;
	left: 2.5%;
	width: 95%;
	height: 90%;
}
.autocad a p{
	
}

/****************************************
Category Page
****************************************/

/*.site-content > .container,.site-main > .container{
	min-height: 1000px;
}*/
#content .category-page{
	padding-top: 25px;
	min-height: 1000px;
}
.cat-title{
	margin-top: 40px;
}
.cat-desc{
	margin: 5px 0 25px 0;
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all  0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.cat-desc.long:after,.long-slider:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0px;
    opacity: 1;
    width: 100%;
    height: 100px;
    z-index: 3;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 75%, rgba(255,255,255,1) 76%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 75%,rgba(255,255,255,1) 76%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 75%,rgba(255,255,255,1) 76%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all  0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.cat-desc.long{
	max-height: 150px;
}
.cat-desc.long-slider{
	max-height: 800px;
}
.cat-desc.long.cat-read-more{
	max-height: 3000px;
    padding-bottom: 40px;
}
.cat-desc.long-slider.cat-read-more{
	max-height: 4500px;
    padding-bottom: 40px;
}
.cat-desc.cat-read-more:after{
	opacity: 0;
}
.cat-read-more-link{
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	max-width: 150px;
	margin: 0 auto;
	text-align: center;
	z-index: 10;
}
.cat-read-less-link{
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	max-width: 150px;
	margin: 0 auto;
	text-align: center;
	z-index: 10;
}
.prod-cat{
	margin-bottom: 30px;
}
.prod-cat a{
	display: block;
	position: relative;

}
.prod-cat a .cat-overlay{
	display: block;
	position: absolute;
	top: -1%;
	left: -1%;
	width: 102%;
	height: 102%;
	border: 2px solid #fff;
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all  0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: none;
}
.prod-cat a:hover .cat-overlay{
	top: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
}
.cat-img{
	width: 100%;
	height: 162px;
	text-align: center;
	overflow: hidden;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}
.cat-img img{
	max-width: 100%;
	width: auto;
	max-height: 100%;
	position: relative;
	top: 50%;
	margin:0 auto;
	transform: translateY(-50%);
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all  0.3s ease-in;
    transition: all 0.3s ease-in;
}
.cat-img:hover img{
	
}
.prod-cat-title{
	display: block;
	color: #f68121;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
}
.prod-cat-title:hover{
	text-decoration: none;
}
.prod-cat-title h3{
	color: #f68121;
	font-size: 16px;
}
.prod-desc{
	float: left;
	clear: both;
	margin-top: 20px;
}


/****************************************
Sidebar
****************************************/
.side-prod-cat{
	margin-bottom: 50px;
	min-height: 700px;
}
.side-prod-cat > ul{
	list-style: none;
	padding-left: 0;
}
.side-prod-cat > ul > li > a{
	display: block;
	text-decoration: none;
	padding-left: 10px;
	position: relative;
	margin-bottom: 5px;
	font-weight: 400;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.side-prod-cat > ul > li > a:hover {
    color: #F58220;
    padding-left: 15px;
}
.rtl .side-prod-cat > ul > li > a:hover {
    padding-right: 15px;
    padding-left: 0;
}
.side-prod-cat > ul > li >a:before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 5px;
    left: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #171717;
    border-right: 5px solid transparent;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.side-prod-cat > ul > li.open >a:before {
    -ms-transform: rotate(45deg); /* IE 9 */
    -ms-transform-origin: 20% 40%; /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    -webkit-transform-origin: 20% 40%; /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    transform-origin: 20% 40%;
}
.side-prod-cat > ul > li > ul{
	max-height: 0;
	overflow: hidden;
	margin-bottom: 10px;
	list-style: none;
	padding-left: 15px;
	-webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all  0.5s ease-out;
    transition: all 0.5s ease-out;
}
.side-prod-cat > ul > li:nth-child(4) > ul{
	-webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -o-transition: all  1s ease-out;
    transition: all 1s ease-out;
}
.side-prod-cat > ul > li.open > ul{
	max-height: 1000px;
	
}
.side-prod-cat > ul > li > ul a{
	text-decoration: none;
}
.side-prod-cat > ul > li > ul li a:hover{
	color: #f68121;
}
#side-news{
	padding-left: 0;
	list-style: none;
}
#side-news li{
	display: block;
	margin-bottom: 15px;
}
#side-news li .news-img{
	display: inline-block;
	float: left;
	width: 25%;
}
#side-news li > a{
	float: left;
	display: block;
	width:70%;
	text-decoration: none;

}
#side-news li > a >h4{
	margin-top: 0;
	margin-bottom: 0px;
	font-size: 14px;
	color: #343434;
	font-weight: 400;
}
#side-news li .news-img{
	height: 60px;
	overflow: hidden;
}
#side-news li .news-img img{
	height: 100%;
}
#side-news li a div{
	color:#BBB;
}
.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 70%;
  margin: 20px auto;
}
.white-popup img {
    padding-bottom: 20px;
}
.rtl .white-popup {
  direction: rtl;
  text-align: right;
}
.white-popup img{
	margin:0 auto;
}
.mfp-close,.mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    color: #525252;
}
#lang_sel{
	margin-top: 10px;
	margin-right: 10px;
}
#lang_sel ul ul,#lang_sel li{
    width: 80px;
    z-index: 999;
}
#lang_sel a.lang_sel_sel {
    background-position: right !important;
}
#head-searchform{
    position: relative;
    float: left;
}
#head-searchform > div {
    position: absolute;
    top: 0;
    z-index: 999;
    right: 100%;
	width: 240px;
    background: #1662A5;
    max-width: 0;
    overflow: hidden;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all  0.5s ease-out;
    transition: all 0.5s ease-out;
}
#head-searchform > div > div{
	width: 240px;
}
#head-searchform > div input{
    margin: 10px 15px 10px 25px;
    display: inline-block;
    float: left;
}
#head-searchform > div.show{
	max-width: 240px;
}
#head-searchform > div > div > button{
	padding: 7px 15px;
    font-size: 24px;
    display: block;
    float: left;
}
#head-searchform > a{
	padding: 7px 15px;
    font-size: 24px;
    display: block;
}
.metaslider{
	margin-bottom: 25px;
}
#home-cat .row:last-child .prod-cat {
    display: none;
}

@media (min-width: 992px) and (max-width: 1199px){
	#main-carousel .item {
	    height: 506px;
	}
	#main-nav .nav > li > a {
	    padding: 15px 10px;
	    font-size: 12px;
	}
}
@media (min-width: 992px) {
	/*#home-cat .row:last-child .prod-cat {
	    left: 25%;
	    right: 25%;
	    margin: 0;
	}*/
}
@media (max-width: 991px) {

	#main-carousel .item{
		height: 400px;
	}
	#main-carousel img{
		width: auto;
		min-height: 100%;
		max-width: initial;
	}
	#main-carousel .carousel-caption{
		bottom: 50px;
		top: initial;
	}
	#main-carousel .carousel-caption h1{
		font-size: 18px;
	}
	#main-carousel .carousel-caption p{
		font-size: 12px;
	}
	#main-carousel .item {
	    height: 506px;
	}
	.copyrights > div:last-child{
		text-align: left;
	}
	body.page-template-page-home #content .container {
	    padding: 0 25px;
	    background: transparent;
	}
	body.page-template-page-home #content #main-carousel{
		padding: 0;
	}
}

@media (min-width: 768px){
	.navbar-header{
		width: 20%;
	}
	#navbar-collapse{
		width: 80%;
		margin-right: -15px;
		float: right;
		background: #1a6ab1;
	    padding-left: 0;
	    position: relative;
	}
	#main-nav{
		padding: 20px 0 0 0;
		margin-bottom: 0;
		border-bottom: 0;
	}
	#main-nav .navbar-brand{
		max-width: 220px;
		height: auto;
		padding: 0px 40px 5px 0px;
	}
	#main-nav .navbar-brand img{
		max-width: 100%;
		max-height: 100%;
	}
	#main-nav .nav {
		float: left;
	}

	#main-nav .nav > li > a {
		background: #1A6AB1;
		-webkit-transition: none;
	    -moz-transition: none;
	    -o-transition: none;
	    transition: none;
		-ms-transform: skewX(-20deg); /* IE 9 */
	    -webkit-transform: skewX(-20deg); /* Safari */
	    transform: skewX(-20deg);
	}
	#main-nav .nav > li > a > span{
		-ms-transform: skewX(20deg); /* IE 9 */
	    -webkit-transform: skewX(20deg); /* Safari */
	    transform: skewX(20deg);
	    display: block;
	}
	#main-nav .nav > li:first-child > a {
		padding: 11.3px 25px;
		min-height: 50px;
	}
	#main-nav .nav > li:first-child > a > span{
		display: none;

	}
	#main-nav .nav > li:first-child > a:after{
		content: "\f015";
	    display: inline-block;
	    font: normal normal normal 14px/1 FontAwesome;
	    font-size: inherit;
	    text-rendering: auto;
	    -webkit-font-smoothing: antialiased;
	    -moz-osx-font-smoothing: grayscale;
	    -ms-transform: skewX(20deg);
	    -webkit-transform: skewX(20deg);
	    transform: skewX(20deg);
	    color: #fff;
	    font-size: 26px;
	}
	#main-nav .nav > .active > a,#main-nav .nav > li > a:hover,#main-nav .nav > li.current-menu-item > a{
		background: #f38121; /* Old browsers */
		background: -moz-linear-gradient(top,  #f38121 0%, #d16f14 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(top,  #f38121 0%,#d16f14 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom,  #f38121 0%,#d16f14 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f38121', endColorstr='#d16f14',GradientType=0 ); /* IE6-9 */

		color: #fff;
	}

}
@media (min-width: 768px) and (max-width: 992px){
	#main-nav .nav > li > a {
	    padding: 16px 7px;
 	   font-size: 11px;
	    left: -10px;
	}
	#main-nav .nav > li:first-child > a {
	    padding: 11.3px 10px;
	}
	#main-nav .navbar-brand{
		padding: 8px 10px 5px 0px;
	}
	#lang_sel_list ul li a {
	    width: 25px;
	    height: 25px;
	}
	#lang_sel_list li {
    	padding: 13px 5px !important;
    }
}

@media (max-width: 767px){
	#main-nav .navbar-brand{
		padding: 8px 10px;
	}
	.dropdown > a{
		float: left;
	}
	.dropdown-menu{
		position: static;
		width: 100%;
		visibility: visible;
		opacity: 1;
		float: none;
		display:none;
		clear: both;
		min-width: 90%;
		max-width: 90%;
	}
	.dropdown.opened .dropdown-menu{
		display: block;
	}
	#main-nav .nav > li > a{
		left: 0;
	}
	.dropdown > a:first-child{
		width: 100%;
	}
	.dropdown > a.dropdown-link{
		width: 10%;
		display: block;
		z-index: 999;
	}
	.inside-page-title {
	    height: auto;
	    background: none;
	}
	#page > footer .col-md-3 {
	    padding-left: 15px;
	}
}

/****************************************
inner page gallery by M. Abou Hussien
****************************************/

.ngg-gallery-thumbnail-box {
    margin: 19px !important;
}
select {
    height: 40px;
    width: 80%;
	border: 1px solid #e9e9e9;
	padding-left:6px;
	padding-right:6px;
}



/****************************************
Menu News display by M. Abou Hussien
****************************************/

.cat-item.cat-item-611 {
    display: none;
}



.category-news img {
    margin: 10px;
}


/****************************************
accordion by M. Abou Hussien
****************************************/
.accordion {
    margin-bottom: 20px;
}
.accordion-group {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 2px;
}
.accordion-heading {
    border-bottom: 0 none;
}
.accordion-heading .accordion-toggle {
    color: #fff;
    display: block;
    font-weight: 700;
    padding: 10px 7px 10px 20px;
    text-decoration: none;
	font-size:17px;
	text-transform:uppercase;
}
.accordion-toggle {
    cursor: pointer;
}
.accordion-inner {
    border-top: 1px solid #e5e5e5;
    padding: 9px 15px;
}

.accordion-heading {
    background: #1a6ab1 none repeat scroll 0 0;
    border-radius: 5px;
}

.accordion-toggle:hover {
    background: #f68121 none repeat scroll 0 0;
}


.accordion-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    float: right;        /* adjust as needed */
    color: #eee;         /* adjust as needed */
	font: normal normal normal 14px/1 FontAwesome;
	content: "\f062";
	margin: 5px 10px;
}
.accordion-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
	font: normal normal normal 14px/1 FontAwesome;
	content: "\f063";
}

.rtl .accordion-heading .accordion-toggle::after {
    float: left !important;
}
	
	
.rtl .accordion-heading .accordion-toggle {
    padding-right: 14px;
}    