body::after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
    content:url('/images/corner.png') url('/images/corner-rtl.png') url('/images/home-background.jpg') url('/images/about-banner.jpg') url('/images/products-banner-top.jpg') url('/images/products-banner.jpg');
 }
body, h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}
/* nav bar settings */

nav ul li.active {
    background-color: rgba(0,0,0,0.2);
}

nav a {
    height: 90px;
    line-height: 90px
}

nav .nav-wrapper i {
    height: 90px;
    line-height: 90px
}

nav.ar ul {
    padding-right: 0;
}

/*nav > div > a {
    color: grey;
}*/

nav.home-nav > div > a {
    color: #000; /*#eceff1;*/
}

nav > div > ul > li > a {
    color: white;
}

nav.home-nav > div > ul > li > a {
    color: #000; /*#eceff1;*/
}

nav > div > ul > li > a.active {
    color: grey;
    background-color: #eceff1;
}

/*nav.home-nav ul li.active a:not(.dropdown-content) > li > a {
    color: #eceff1;
}*/

nav ul a:hover {
    background-color: rgba(0,0,0,0);
    /*color: #b0bec5;*/
}

nav {
    background-color: white;
    height: 90px;
}

    /*nav.home-nav {
       background-color: #transparent;
    }*/

nav i.material-icons.drop {
    font-size: 1rem;
    margin-left: 10px;
}

nav.nav-center ul {
    text-align: center;
}

nav.nav-center ul li {
    display: inline;
    float: none;
}

nav.nav-center ul li a {
    display: inline-block;
}

    nav .sidenav-trigger {
        float: none;
        height: 90px;
        line-height: 90px
    }
@media only screen and (min-width: 601px) {
    nav, nav .nav-wrapper i, nav a.sidenav-trigger, nav a.sidenav-trigger i {
        height: 90px;
        line-height: 90px
    }
}
    /************/
    /* dropdown */
    nav.ar .dropdown-content li {
        text-align: right;
    }
.dropdown-content {
    overflow-y: visible;
}
ul.dropdown-content {
    line-height: 64px;
    top: 70px !important;
    border-radius: 5px;
}
ul.dropdown-content li{
    padding: 0;
    line-height: 64px;
    height: 64px;
}

ul.dropdown-content a {
    line-height: 64px;
    height: 64px;
    padding-top: 0;
    color: #000;
}
nav.nav-center ul.dropdown-content li {
    display: block;
}
nav.nav-center ul.dropdown-content li a {
    display: block;
}
/****************/
/* Fotter settings */
footer ul.social li {
    padding: 3px;
    display:inline;
}
footer ul.social a {
    color: #cfd8dc;
}
footer ul.social img {
    height: 50px;
}
.footer-logo {
    width: 200px;
}
footer.page-footer {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
    background-color: #da0909;
    color: #eceff1;
    z-index: 200;
}

footer.home-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: transparent;
    color: #eceff1;
}

footer /*.home-footer*/ a {
    color: black;
}

    footer.home-footer a:hover {
        color: #eceff1;
    }
footer .row {
    margin-bottom: 0;
}
footer li.active a::after {
    font-family: 'Material Icons';
    content: "chevron_left";
}

.page-footer .footer-copyright {
    background-color: #eceff1;
    color: black;
}

.home-footer .footer-copyright {
    background-color: transparent;
    color: #eceff1;
}

/*********************************/

@media only screen and (max-width: 1100px) {
    .hide-on-custome-small {
        display: none !important;
    }
}

@media only screen and (min-width: 1101px) {
    .hide-on-custome-large {
        display: none !important;
    }
}

/*Sticky Footer*/
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background-color: #fafafa;
}

body[dir=rtl] ul {
    padding-right: 0;
}

main {
    flex: 1 0 auto;
    margin-top: 26px;
}

    main.stick-top {
        margin-top: -64px;
    }
/************/

/* Sidenav*/
.sidenav li > a {
    font-weight: bold;
    height: 100%;
}

.sidenav .header {
    background-color: white; /*#8a8172;*/
}

.sidenav .header img {
    width: 100%;
}

body[dir=rtl] .sidenav li > a > i, body[dir=rtl] .sidenav li > a > [class^="mdi-"],
body[dir=rtl] .sidenav li > a li > a > [class*="mdi-"], body[dir=rtl] .sidenav li > a > i.material-icons {
    margin: 0 0 0 32px;
}
/***********/ 
/*****************/
p {
    line-height: 2rem;
}

main.family img.circle {
    width: 150px;
    height: 150px;
}

/* Parallax settings */
.parallax-container {
    height: 550px;
    
}

@media only screen and (max-width : 992px) {
    .parallax img {
      max-height: 150%; /* or a little bit higher */
    }
  }
  
  @media only screen and (min-width: 993px) {
    .parallax img {
      max-height: 200%; /* or higher percentages. It's up to your taste */
    }
  }

/*************************/

/******* Banner ***********/

.afmaco-container {
    min-height: 600px;
    line-height: 0;
    height: auto;
    color: #fff;
    background-color: #546e7a;
    position: relative;
}
    .afmaco-container .section {
        width: 100%;
        position: absolute;
        top: 200px;
    }

#afmaco-banner {
    background-image: url('../images/home-background.jpg'); /*no-repeat center center fixed;*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#afmaco-banner.about {
    background-image: url('../images/about-banner.jpg');
}

#afmaco-banner.products {
    background-image: url('../images/products-banner-top.jpg');
}

#afmaco-banner img {
    height: 300px;
}

.banner-text {
    text-shadow: 2px 2px 4px #000;
}

.corner {
    flex: 1;
    background-image: url('/images/corner.png');
    background-position: left bottom;
    background-size: auto 100%;
    background-repeat: no-repeat;
    z-index: 100;
    position: relative;
}
body[dir=rtl] .corner{
    background-image: url('/images/corner-rtl.png');
    background-position: right bottom;
}

@media only screen and (max-width: 600px) {
    .corner, body[dir=rtl] .corner {
        background-image: none;
    }
}

.corner.inner-page {
    min-height: 600px;
}

.strip {
    height: 45px;
    width: 100%;
    background-color: #dc2a1b;
    position: absolute;
    bottom: 0;
    z-index: 99;
}

.home-main .strip {
    height: 56px;
}
/*************************/

/******** icon blocks ********/
.icon-block {
    padding: 0 15px;
}

    .icon-block .fas {
        font-size: inherit;
    }

i.fas.circle {
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0px 0px 2px #888;
    padding: 0.5em 0.6em;
}

/********* cards ***********/
main > .container .card {
    padding-top: 20px;
    padding-bottom: 20px;
}

.card .fab {
    margin-right: 16px;
}

body[dir=rtl] .card .fab {
    margin-right: initial;
    margin-left: 16px;
}
.contact-icon {
    vertical-align: middle;
    margin-right: 15px;
    margin-bottom: 3px;
}

body[dir=rtl] .contact-icon {
    margin-right:unset;
    margin-left: 15px;
}

body[dir=rtl] .card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating) {
    margin-right: 0;
}

body .fixed-action-btn {
    bottom: 5px;
    right: 5px;
}

.custome-card-title {
    padding: 15px 24px 15px 24px;
    background-color: #37474f;
    color: white;
}

.row.flex .valign-wrapper {
    height: 100%;
}

.products .row.flex .valign-wrapper.product-name {
    padding: 0 10px 0 10px;
}

.products img {
    border: 1px solid grey;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

/******************************/

/* Container settings */
.container {
    margin: 0 auto;
    max-width: 1280px;
    width: 90%;
}

@media only screen and (min-width: 601px) {
    .container {
        width: 85%;
    }
}

@media only screen and (min-width: 993px) {
    .container {
        width: 85%;
    }
}
/************************/

.home-main {
    background-image: url('../images/home-background.jpg'); /*no-repeat center center fixed;*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
    /*min-height: 750px;*/
}

.home-main .container{
    margin-top: 300px;
}

.copyright {
    margin-top: 10px;
}

/****** Logo ********/
.brand-logo img {
    height: 90px;
}
.brand-logo.right {
    position: absolute;
    top: 0;
    right: 0;
}
body[dir=rtl] .brand-logo.left {
    left: 0;
}
.text-block-header {
    font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
    color: #000 !important;
}
.text-block {
    font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
    font-size: 16px;
    padding-left: 10px;
    padding-right: 10px;
    color: #34495e;
    font-weight: bold;
    /*text-align: justify;*/
}

    .text-block.contacts {
        margin: 0;
        line-height: 28px;
    }
    body[dir=rtl] .text-block-header, body[dir=rtl] .text-block {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
/******* map ********/
iframe {
    width: 100%;
    min-height: 450px;
}
/******* carousel ******/
.carousel {
    height: 700px;
}
.carousel .carousel-item > img {
    height: auto;
    width: 100%;
}
@media only screen and (min-width: 1000px) {
    .carousel .carousel-item > img {
        height: 100%;
        width: auto;
    }
}
.carousel .indicators .indicator-item {
    background-color: lightskyblue;
}
.carousel .indicators .indicator-item.active {
    background-color: midnightblue;
}
.middle-indicator {
    position: absolute;
    top: 50%;
}

.middle-indicator-text {
    font-size: 4.2rem;
}

a.middle-indicator-text {
    color: lightskyblue !important;
}

.content-indicator {
    width: 64px;
    height: 64px;
    background: none;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
}
.download-button {
    position: absolute;
    bottom: 0;
    right: 0;
}
/******** Brochure button *********/
.btn-floating.btn-xl {
    width: 90px;
    height: 90px;
    line-height: 90px;
    text-align: center;
}
.tap-target-origin .btn-floating {
    position: absolute;
    bottom: -10px;
}
.tap-target{
    background-image: url('/images/brochure/tap-bg.jpg');
    background-position-x: 100px;
    background-position-y: 100px;
    background-repeat: no-repeat;
}

/*************** whatsapp *****************/
.whatsapp-bubble {
    position: absolute;
    right: 0;
    bottom: 90px;
	width: 200px;
    height: 250px;
    padding: 10px;
	background-color: #fff; /*lightyellow;*/
}
.border{
    border: 6px solid #666;
  }
  .round{
    border-radius: 30px;
      -webkit-border-radius: 30px;
      -moz-border-radius: 30px;
  
  }

  .tri-right.border.btm-right-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: 30px;
	bottom: -40px;
	border: 20px solid;
	border-color: #666 #666 transparent transparent;
}
.tri-right.btm-right-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: 38px;
	bottom: -20px;
	border: 12px solid;
	border-color: #fff #fff transparent transparent;
}
.tri-right.border.btm-left-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 30px;
  right: auto;
  top: auto;
	bottom: -40px;
	border: 20px solid;
	border-color: #666 transparent transparent #666;
}
.tri-right.btm-left-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 38px;
  right: auto;
  top: auto;
	bottom: -20px;
	border: 12px solid;
	border-color: #666 transparent transparent #666;
}
.whatsapp.fixed-action-btn {
    bottom: 100px;
    right: 24px;
}
.whatsapp.fixed-action-btn.brochure {
    bottom: 25px;
    right: 24px;
}
.whatsapp-section{
    background-color: #393939;
    margin-bottom: 20px;
    color: #fff;
    padding: 20px;
}
.whatsapp-section img {
    margin: 20px;
}
.whatsapp-section .qr-code {
    height: 200px;
}