@import url(https://fonts.googleapis.com/css?family=Play);
@import url(https://fonts.googleapis.com/earlyaccess/droidarabickufi.css);

html {
    height: auto;
}
body,
#header,
table,
ul.links,
.messages__wrapper,
.breadcrumb,
.button,
.tabs ul.primary,
.site-footer,
[dir="rtl"] #block-arpieca-selecteurdelangue .content .en,
.we-mega-menu-ul>.we-mega-menu-li>a,
.we-mega-menu-submenu li.we-mega-menu-li a,
.field--type-entity-reference {
  font-family: 'Play', sans-serif;
  font-size: 1.1em;
}
[dir="rtl"] body,
[dir="rtl"] #header,
[dir="rtl"] table,
[dir="rtl"] ul.links,
[dir="rtl"] .messages__wrapper,
[dir="rtl"] .breadcrumb,
[dir="rtl"] .button,
[dir="rtl"] .tabs ul.primary,
[dir="rtl"] .site-footer,
#block-arpieca-selecteurdelangue .content .ar,
[dir="rtl"] .field--type-entity-reference,
[dir="rtl"] .we-mega-menu-ul>.we-mega-menu-li>a,
[dir="rtl"] .we-mega-menu-submenu li.we-mega-menu-li a,
[dir="rtl"] .toolbar {
	font-family: Droid Arabic Kufi , serif;
	font-size: 1.1em;
}
a,
a.link {
    border-bottom: none;
    color: #077f78;
}
a:hover,
a:active,
a:focus,
.link:hover,
.link:active,
.link:focus {
    border-bottom-style: none;
}
p {
    margin: 0 0 0.8em;
}
b, strong {
    font-weight: 600;
}
table tr th {
    background: #537A2D;
}

#page {
    background: #fff;
}
.highlighted .layout-container,
#main-wrapper,
.breadcrumb {
    background: #fff;
}

/* ----------------------------- Top Menu ---------------- */

#header-top-wrapper {
    min-height: 5px;
    background: #537A2D;
}
#media-sociaux-wrapper {
    background: #537A2D;
    color: #fff;
}
.region-header-top .content,
.region-header-top .content a {
    color: #fff;
}
#block-alwassila-account-menu .content ul li,
#block-arpieca-selecteurdelangue ul.links li {
    display: inline;
}
#block-alwassila-account-menu .content ul li a,
#block-arpieca-selecteurdelangue ul.links li a {
    display: inline-block;
    padding: 0.3em 0.8em;
    font-size: 0.8em;
}
#block-arpieca-selecteurdelangue ul.links a.is-active {
    color: #000;
}

/* ----------------------------- Header ---------------- */

#header {
    background-color: #fff !important;
    background-image: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 100%) !important;
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%) !important;
    border-bottom: 1px solid #2E491F;
}

.region-header,
.region-header a,
.region-header li a.is-active,
.region-header .site-branding__text,
.region-header .site-branding,
.region-header .site-branding__text a,
.region-header .site-branding a,
.region-secondary-menu .menu-item a,
.region-secondary-menu .menu-item a.is-active {
    color: #000;
}
#views-exposed-form-porducts-page-1 .form-select {
    color: #3b3b3b;
}
#block-getaquote {
    margin: 25px 0 0;
}
#block-getaquote .ask-for-quote {
    text-align: center;
}
.ask-for-quote a {
    font-size: 23px;
    background: #ea5b0c;
    color: #fff;
    padding: 14px 30px;
}
[dir="rtl"] .ask-for-quote a {
    font-size: 20px;
    padding: 10px 25px;
}
.ask-for-quote a:hover {
    background: #5b2003;
}

 /* ----------------------- Main Menu --------------- */

.navbar-we-mega-menu {
    background-color: transparent;
 }

 /* ----------------------- Slideshow Area --------------- */

.featured-top {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #fff;
    background: #fff;
    text-shadow: none;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 1.4;
}
.featured-top .content {
	margin-top: 0;
}
.flexslider {
    margin: 0 0 60px;
    background: #fff;
	border: none;
	border-radius: 0;
}
.flex-control-paging li a {
    background: #2a3c56;
    width: 15px;
    height: 15px;
}
.flex-control-paging li a.flex-active {
    background: #e89d21;
}
.flexslider .slides li {
    padding: 0;
}
.flexslider .slides li {
    position: relative;
}
.flex-prev,
.flex-next {
    width: 50px;
    height: 50px;
    background: #e89d21;
    text-align: center;
}
.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next {
  text-align: center;
}
.flex-direction-nav a:before {
    font-size: 30px;
}

/* ---------------------- Frontpage Content -------------------- */

#frontpage-content {
    min-height: 500px;
}
#block-introduction h2,
#frontpage-content .views-element-container h2,
.region-content-bottom h2 {
    font-size: 35px;
    font-weight: bold;
    margin-top: 1.3em;
    color: #537A2D;
    padding: 10px 0;
}

.frontpage-activite-display .views-field-title {
    font-size: 20px;
    text-align: center;
    padding: 5px 0;
    background: #537A2D;
}
.frontpage-activite-display .views-field-title a {
    color: #fff;
}
.frontpage-items .views-col,
.frontpage-donation .views-col {
    text-align: center;
    margin-top: 30px;
}
.frontpage-donation .views-field-field-image img {
    width: 120px;
    margin-bottom: 15px;
}
.frontpage-donation .views-field-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.frontpage-donation .views-field-field-donation-link .field-content a {
    color: #fff;
    background: #ea5b0c;
    padding: 1px 20px;
    border-radius: 15px;
    font-size: 13px;
}

/* ---------------------- Main Content Area -------------------- */

.page-title {
    font-weight: bold;
    color: #537A2D;
    font-size: 1.8em;
}
.block .content {
    margin-top: 0;
}
.realisation-table caption {
    font-size: 28px;
    font-weight: bold;
    color: #000;
}
[dir="rtl"] .realisation-table caption {
    text-align: right;
}

/* --------- Sumbit button --------------- */

.button {
    color: #fff;
    border: 1px solid #537A2D;
    border-right-color: #537A2D;
    border-bottom-color: #537A2D;
    border-left-color: #537A2D;
    background-color: #537A2D;
    background-image: -webkit-linear-gradient(top, #537A2D, #537A2D);
    background-image: linear-gradient(to bottom, #537A2D, #537A2D);
}
.button:hover {
    color: #fff;
    border: 1px solid #2E491F;
    border-right-color: #2E491F;
    border-bottom-color: #2E491F;
    border-left-color: #2E491F;
    background-color: #2E491F;
    background-image: -webkit-linear-gradient(top, #2E491F, #2E491F);
    background-image: linear-gradient(to bottom, #2E491F, #2E491F);
}
input.form-submit:hover,
input.form-submit:focus {
    background: #2E491F;
}

/* ---------------------- Sidebar -------------------- */


/* ---------------------- Footer -------------------- */

.site-footer {
    background: #537A2D !important;
    padding: 15px 0 0;
    margin-top: 30px;
}
.site-footer h2 {
    color: #fff;
    padding-bottom: 0.8em;
    font-weight: bold;
    border-bottom: 1px solid #fff;
}
.site-footer .block {
    margin: 0;
    padding: 10px;
    border: none;
}
.site-footer .content {
    color: #fff;
    font-size: 1em;
}
.site-footer .content a,
.site-footer .content a.is-active {
    color: #fff;
}
.site-footer .content a:hover,
.site-footer .content a:focus {
    color: #fff;
}
.site-footer__top h2 {
    font-size: 1.1em;
}
.site-footer__top p {
    margin-top: 0.5em;
}
.site-footer__top .content li a {
    display: table-cell;
    padding: 0.4em 2px 0.4em 20px;
    border-bottom: none;
}
[dir="rtl"] .site-footer__top .content li a {
    padding: 0.4em 20px 0.4em 2px;
}
.site-footer__top .content li a:hover,
.site-footer__top .content li a:focus {
    text-decoration: underline;
    background-color: transparent;
}

.site-footer__bottom {
    background: #537A2D;
    border-top: 1px solid #fff;
}
.site-footer__bottom .content {
    font-size: 0.80em;
}

#block-reseauxsociaux .content ul li {
    display: inline;
    list-style: none;
}
#facebook-icon a {
	background: url(/themes/alwassila/images/facebook-icon1.png) no-repeat center center;
	color: transparent;
	padding: 10px 5px;
}
#facebook-icon a:hover {
	background: url(/themes/alwassila/images/facebook-icon-hover1.png) no-repeat center center;
	color: transparent;
}
#twitter-icon a {
	background: url(/themes/alwassila/images/twitter-icon1.png) no-repeat center center;
	color: transparent;
	padding: 10px 5px;
}
#twitter-icon a:hover {
	background: url(/themes/alwassila/images/twitter-icon-hover1.png) no-repeat center center;
	color: transparent;
}
#linkedin-icon a {
	background: url(/themes/alwassila/images/linkedin-icon1.png) no-repeat center center;
	color: transparent;
	padding: 10px 5px;
}
#linkedin-icon a:hover {
	background: url(/themes/alwassila/images/linkedin-icon-hover1.png) no-repeat center center;
	color: transparent;
}
#youtube-icon a {
	background: url(/themes/alwassila/images/youtube-icon1.png) no-repeat center center;
	color: transparent;
	padding: 10px 5px;
}
#youtube-icon a:hover {
	background: url(/themes/alwassila/images/youtube-icon-hover1.png) no-repeat center center;
	color: transparent;
}
#instagram-icon a {
	background: url(/themes/alwassila/images/instagram-icon1.png) no-repeat center center;
	color: transparent;
	padding: 10px 5px;
}
#instagram-icon a:hover {
	background: url(/themes/alwassila/images/instagram-icon-hover1.png) no-repeat center center;
	color: transparent;
}
#phone-icon {
	background: url(/themes/alwassila/images/phone-icon.png) no-repeat center center;
	color: transparent;
	padding: 10px 5px;
}
#block-reseauxsociaux {
    margin-top: 20px;
}
#block-reseauxsociaux ul {
    margin: 0.5em 0;
}
#block-reseauxsociaux .content li a {
    display: inline;
}
#block-telephonenumber .content p {
    padding: 0 0 0 40px;
    margin: 10px 0 0;
}


/* --------------------- Desktop ------------------- */

@media (min-width: 851px) {

.layout-container {
    max-width: 1290px;
	margin: 0 auto;
}
}

@media (min-width: 901px) {

#header {
    border-bottom: 1px solid #077f78;
}
#header.fixed {
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
    padding-top: 0;
    border-top: 1px solid #077f78;
}
#block-alwassila-account-menu {
    float: left;
}
#block-telephonenumber {
    float: left;
    width: 50%;
}
#block-telephonenumber .content {
    text-align: center;
}
#block-arpieca-selecteurdelangue {
    float: right;
}
.region-header {
    padding: 0;
}
[dir="rtl"] .region-header .block:not(.site-branding) {
    clear: none;
}
.site-branding__logo {
    width: 200px;
}
.site-branding__text {
    padding: 0;
    margin: 0;
}
.region-header .block:not(.site-branding) {
    clear: none;
}
#block-arpieca-navigationprincipale {
    float: left;
    margin: 20px 0 0 60px;
}
[dir="rtl"] #block-arpieca-navigationprincipale {
    float: right;
    margin: 20px 60px 0 0;
}

#block-exposedformporductspage-1 {
    margin: 5px 0 0;
    float: left;
    border: 1px solid #ea5b0c;
    border-radius: 5px;
}
[dir="rtl"] #block-exposedformporductspage-1 {
    float: right;
}
[dir="rtl"] #block-exposedformporductspage-1 .form--inline .form-item {
    float: right;
}
#block-exposedformporductspage-1 .form--inline .form-item {
    float: left;
    margin: 0;
}
#block-exposedformporductspage-1 .js-form-type-select {
    width: 100px;
}
#block-exposedformporductspage-1 .js-form-type-textfield {
    width: 550px;
}
#block-exposedformporductspage-1 .form--inline .form-actions {
    clear: none;
    float: left;
    padding: 0;
    margin: 0;
}
#block-exposedformporductspage-1 .js-form-type-select select {
    font-size: 1em;
    border-radius: 5px 0 0 5px;
    border-width: 0;
    height: 45px;
    width: 100%;
    padding-left: 15px;
    background: #fff;
    background: rgba(255, 255, 255, 0.8);
}
[dir="rtl"] #block-exposedformporductspage-1 .js-form-type-select select {
    border-radius: 0 5px 5px 0;
}
.region-header .form-text {
    width: 100%;
    height: 45px;
    margin: 0;
    border-color: #ccc;
    border-color: rgba(255, 255, 255, 0.3);
    background: #fff;
    background: rgba(255, 255, 255, 1);
}
#block-exposedformporductspage-1 .button {
    padding: 12px 1.063em;
    margin: 0;
    color: #fff;
    border: 1px solid #ea5b0c;
    border-right-color: #ea5b0c;
    border-bottom-color: #ea5b0c;
    border-left-color: #ea5b0c;
    border-radius: 0 5px 5px 0;
    background-color: #ea5b0c;
    background-image: -webkit-linear-gradient(top, #ea5b0c, #ea5b0c);
    background-image: linear-gradient(to bottom, #ea5b0c, #ea5b0c);
    font-size: 1.2em;
    font-weight: normal;
    line-height: normal;
}
[dir="rtl"] #block-exposedformporductspage-1 .button {
    margin-left: 0;
    border-radius: 5px 0 0 5px;
    padding: 4px 1.063em;
    font-size: 1.3em;
}
#block-cart {
    float: left;
    margin: 1em 0 0 2em;
}
.region-we-mega-menu .navbar {
    margin-bottom: 0;
}
.navbar-we-mega-menu {
    margin-bottom: 0;
 }
.we-mega-menu-ul>.we-mega-menu-li {
    border-left: none;
}
.we-mega-menu-ul>.we-mega-menu-li>a {
    padding: 10px 15px;
    text-transform: none;
    background-color: transparent;
    color: #077f78;
    font-size: 1em;
    font-weight: bold;
}
[dir="rtl"] .we-mega-menu-ul>.we-mega-menu-li>a {
    font-size: 1em;
}
.we-mega-menu-ul>.dropdown-menu>a,
.we-mega-menu-ul>.dropdown-menu>span {
    padding-right: 2.375rem;
}
[dir="rtl"] .we-mega-menu-ul>.dropdown-menu>a,
[dir="rtl"] .we-mega-menu-ul>.dropdown-menu>span {
    padding-left: 2.375rem;
}
[dir="rtl"] .we-mega-menu-ul .dropdown-menu>a:before,
[dir="rtl"] .we-mega-menu-ul .dropdown-menu>a:after,
[dir="rtl"] .we-mega-menu-ul .dropdown-menu>span:before,
[dir="rtl"] .we-mega-menu-ul .dropdown-menu>span:after {
	right: auto !important;
    left: .9375rem !important;
}

.we-mega-menu-ul>.we-mega-menu-li.active>a,
.we-mega-menu-ul>.we-mega-menu-li.active-trail>a {
    background-color: transparent;
    color: #077f78;
}
.we-mega-menu-ul>.dropdown-menu:hover>a,
.we-mega-menu-ul>.dropdown-menu:hover>span,
.we-mega-menu-ul>.dropdown-menu:focus>a,
.we-mega-menu-ul>.dropdown-menu:focus>span {
    background: #077f78;
    color: #fff;
}
.we-mega-menu-ul>.we-mega-menu-li.active-trail>a:hover,
.we-mega-menu-ul>.we-mega-menu-li.active-trail>a:focus,
.we-mega-menu-ul>.we-mega-menu-li.active>a:hover,
.we-mega-menu-ul>.we-mega-menu-li.active>a:focus,
.we-mega-menu-ul>.we-mega-menu-li>a:hover,
.we-mega-menu-ul>.we-mega-menu-li>a:focus {
    background: #077f78;
    color: #fff;
}
.we-mega-menu-submenu {
    padding: 0;
	margin: 0;
	border: none;
    background-color: #fff;
}
.navbar-we-mega-menu .we-mega-menu-row>* {
    margin-left: 0;
    margin-right: 0;
	flex: 0 0 100%;
	max-width: 100%;
}
.navbar-we-mega-menu .we-mega-menu-row {
    margin-left: 0;
    margin-right: 0;
}
.we-mega-menu-col {
    margin: 0;
}
.we-mega-menu-submenu li.we-mega-menu-li a {
    background: #077f78;
    color: #fff;
    border-top: 1px solid rgb(0,0,0,0.1);
    border-bottom: 1px solid rgb(0,0,0,0.1);
    padding-left: 5px;
    padding-right: 5px;
    font-weight: 500;
}
[dir="rtl"] .we-mega-menu-submenu li.we-mega-menu-li a {
	text-align: right ;
}
.we-mega-menu-submenu li.we-mega-menu-li a:hover,
.we-mega-menu-submenu li.we-mega-menu-li a:focus {
    background-color: #2f5077;
    color: #fff;
}
.we-mega-menu-submenu>.we-mega-menu-submenu-inner {
    min-height: 0;
}
.we-mega-menu-submenu li.we-mega-menu-li:first-child>a,
.we-mega-menu-submenu li.we-mega-menu-li:first-child>span {
    padding-top: .5rem;
	padding-left: 5px;
	padding-right: 5px;
}
.nav-tabs>li>a {
    margin-right: 0;
}
#block-introduction .content p {
    width: 58%;
    font-size: 20px;
}
.views-view-grid.horizontal .views-row {
    border-bottom: none;
}
.views-view-grid .views-col {
    padding: 0 15px;
}
[dir="rtl"] .views-view-grid .views-col {
    float: right;
}
.views-view-grid.horizontal .views-col:first-child {
    padding-left: 15px;
}
.views-view-grid.horizontal .views-col:last-child {
    padding-left: 15px;
}
}

/* --------------------- Tablet ------------------- */

@media (min-width: 560px) and (max-width: 850px) {

#frontpage-content {
    padding: 0 15px;
}

.region-we-mega-menu {
    background-color: #2a3c56;
}
.navbar-we-mega-menu.navbar {
    background: #2a3c56;
}

}

/* --------------------- Mobile ------------------- */

@media screen and (max-width: 460px) {

[dir="rtl"] .btn-close {
    position: absolute;
    top: 15px;
    right: 270px;
}
[dir="rtl"] .dropdown-menu {
    text-align: right;
}
#block-topsocialmedia .content {
    text-align: center;
}
#block-telephonenumber .content {
    text-align: center;
}
#block-telephonenumber .content p {
    padding: 0;
}
#block-arpieca-selecteurdelangue .content {
    text-align: center;
}
#frontpage-content {
    padding: 0 15px;
    margin-top: 25px;
}
.centered {
    padding: 0 15px;
}
.region-content-bottom {
    padding: 0 15px;
}
.site-branding__logo {
	margin: 0 0 25px
}
.site-branding__text {
    display: block;
}
.site-branding__name {
    width: 90%;
    text-align: center;
    margin: 0 auto 15px;
}
.region-header {
    padding: 0.357em 0 0;
}
#block-arpieca-navigationprincipale {
	margin-bottom: 0;
}
.site-branding__logo {
	width: 100%;
	text-align: center;
}
[dir="rtl"] .site-branding__logo {
    margin-left: 0;
}
.site-branding__logo img {
	width: 60%;
	height: auto;
}
.region-we-mega-menu {
	background: #077f78;
	margin-bottom: 0;
	border-radius: 0;
}
.navbar-we-mega-menu.navbar {
    background: #077f78;
}
.navbar-we-mega-menu.navbar .nav-tabs>li.active>a,
.navbar-we-mega-menu.navbar .nav-tabs>li.active>a:focus,
.navbar-we-mega-menu.navbar .nav-tabs>li.active>a:hover {
    background-color: #077f78;
    border-top: 1px solid rgba(0,0,0,0.3);
}
.navbar-we-mega-menu.navbar .nav .open>a,
.navbar-we-mega-menu.navbar .nav .open>a:focus,
.navbar-we-mega-menu.navbar .nav .open>a:hover {
    background-color: #077f78;
}
.navbar-we-mega-menu.navbar ul a,
.navbar-we-mega-menu.navbar ul .we-megamenu-nolink {
    color: #fff;
}
.views-view-grid.horizontal .views-col:first-child,
.views-view-grid.horizontal .views-col:last-child {
    padding-left: 0;
}

}