/*
 Theme Name:   Glass Plast Maroc
 Theme URI:    https://glassplastmaroc.com
 Description:  Glass Plast Maroc Theme
 Author:       Cap Connect
 Author URI:   https://www.capconnect.com/
 Template:     the100
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  glass-plast-maroc
*/
body, button, input, select, textarea {
	color: #7b797a;
}
h1, h2, h3, h4, h5, h6{
	color: #366079;
}
/*--------------- Top header ------------*/
.top-header{
	background: #366079;
}
.lay-one .header-text-wrap, .lay-one .header-text-wrap .fa, .top-header .social-icons a{
	color: #dddddd;
}
.lay-one .top-header .ed-container {
    border-bottom: none;
}

/*    Top Menu    */

@media screen and (max-width: 980px){
	.site-header.lay-one button.menu-toggle {
		border-radius: 0 !important; 
		border-top: none !important;
		background: transparent !important;
	}	
}

.main-navigation ul li > a:hover, .main-navigation ul li.current-menu-item > a, .main-navigation ul li.current_page_item > a, .main-navigation ul li.menu-item-has-children:hover > a {
    color: #366079;
}

.main-navigation ul li {
    display: inline-block;
    position: relative;
    font-size: 15px;
    font-weight: normal;
    text-transform: uppercase;
}

.main-navigation ul li ul {
    position: absolute;
    top: 100%;
    left: 0 !important;
    background: #97a0af;
	color: #fff;
    width: 240px;
    opacity: 0;
    visibility: hidden;
    text-align: left !important;
    transition: all ease 0.35s !important;
    -webkit-transition: all ease 0.35s !important;
    -moz-transition: all ease 0.35s !important;
	font-size: 14px;
}

/*------------------------- Sub Menu -----------------------*/
.main-navigation ul li ul{
	background: #ffffff;
	border-top: 2px solid #dddddd;
}

.main-navigation ul li ul li{
	border-bottom: 1px solid #dddddd;
}

.main-navigation ul li ul li a {
	color: initial;
	font-size: 15px;
}

.main-navigation ul li ul li a:hover {
	background: #335e77;
	color: #fff;
}
/*------------------------ Pages -----------------------------*/
header.page-header {
    background: url(https://glassplastmaroc.com/wp-content/uploads/2019/10/societe-de-flaconnage-pour-la-parfumerie-et-la-cosmetique-glassplastmaroc.jpg);
	background-size: cover;
	position: relative;
	z-index: 1;
}
header.page-header::before{
    content: "";
    background: rgba(0,0,0,0.2);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.page-title{
	color: #ffffff;
}
/*----------------------- Posts ---------------------------*/
.div-single-page .post-content-wrap{
	float: left;
	width: 45%;
}

#myImg{
	float: left;
	width: 50%;
	margin-right: 4%;
}


#myImg, .div-grid-page{
	box-shadow: 0px 0px 8px #dddddd;
}

.div-grid-page h2{
	text-align: center;
	color: #7b797a;
	padding-top: 10px;
}

.div-grid-page .post-img-wrap {
    line-height: 0;
    margin-bottom: 0;
	position: relative;
}

.add-to-cart {
	 top:0;
	 left:0;
	 height:100%;
	 width:100%;
	 color:#fff;
	 padding:50% 0 0 0;
	 margin-top:0;
	 font-size:18px;
	 text-align:center;
	 position:absolute;
	 visibility:hidden;
	 text-transform:uppercase;
	 background: rgba(148,166,176,0.8);
}

.div-grid-page:hover .add-to-cart {
	 color:#fff;
	 text-decoration:none;
	 background:rgba(148,166,176,0.8);
	 -webkit-transition:none;
	 -moz-transition:none;
	 -o-transition:none;
	 transition:none;
	 visibility: visible;
}

	/*------------- Post Image ---------------*/
#myImg {
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 600px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}
/*----------------------- Slider --------------------------*/
#main-slider{
	height: auto;
}
#main-slider .slider-caption h2{
	color: #fff;
}

#main-slider .slider-caption .slider-content p{
	color: #fff;
}

#main-slider .overlay{
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: #000000;
  opacity: 0.2;
}

.owl-theme .owl-nav {
    margin-top: 0 !important;
}

.owl-theme .owl-nav [class*="owl-"] {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

/*------------------ featured category widget --------------*/

section.below-slider-section {
    background: none;
    padding: 0;
    margin: 80px 0;
	color: #7b797a;
}

section.below-slider-section h2 {
    color: #366079;
    font-size: 28px;
    text-transform: uppercase;
	text-align: center;
}

section.below-slider-section p{
    font-size: 18px;
	text-align: justify;
}

/*--------------------- -------------------------*/
.home-counter-section.has-image {
    background-size: cover;
    padding: 40px 0 10px 0;
    background-attachment: fixed;
	margin-bottom: 0;
}
/*------------------- Process --------------------*/
.process-section{
	padding-top: 40px;
	background: #366079;
}
.process-section h2{
	text-align: center;
	color: #eeeeee;
}
.process-section .widget-title{
	position: relative;
}
.process-section .widget-title::after {
    left: 50%;
    z-index: 1;
    width: 30px;
    height: 2px;
    content: " ";
    bottom: -5px;
    margin-left: -15px;
    text-align: center;
    position: absolute;
    background: #eeeeee;
}
.cool-process-steps.process-steps-4 ul::before {
    top: 18px !important;
	border-top: 2px solid #eeeeee !important;
}
.cool-process-steps.process-steps-4 .cool-process-icon{
	width: 26px !important;
	height: 26px !important;
	color: #366079;
}
.cool-process-steps ul::before {
    position: absolute;
    left: 159px !important;
    display: block;
    width: 73% !important;
    height: 0;
    border-top: 1px dashed #bbb;
    content: "";
}
.process-description{
	display: none;
}
.cool-process-detail{
	margin-top: 20px;
}
.cool-process-icon {
    background-color: #eeeeee !important;
	transition: background .3s,color .3s,box-shadow .3s;
	box-shadow: 0 0 0 2px #eeeeee;
}
/*------------------- Footer --------------------*/
footer.site-footer{
	color: #dddddd;
	position: relative;
	background-color: #000000;
    background-image: url(https://glassplastmaroc.com/wp-content/uploads/2017/06/accessoires.jpg);
	background-size: cover;
	z-index: 1;
}

footer.site-footer::before{
    content: "";
    background: rgba(0,0,0,0.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.top-footer .ed-container {
    border-bottom: none;
    padding: 30px 0 0 0;
}
.pull-left{
	float: left;
}
.pull-right{
	float: right;
}

.main-footer {
    padding: 10px 0;
    background: rgba(0,0,0,0.3);
}

.main-footer .widget {
	float: left;
}
.main-footer .widget ul li::before{
	content: none;
	border: none;
	display: inline;
}
.capconnect-logo{
	margin-bottom: -5px;
	width: 110px;
}
.site-header.lay-one .main-navigation ul.nav-menu > li:nth-last-of-type(3) ul li.menu-item-has-children > a{
	 padding: 10px 15px;
}

.main-navigation ul li ul li ul {
    left: 100% !important;
	margin-top: -2px;
}
.main-navigation ul li ul li a{
	text-transform: capitalize;
}