body, h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}
body[dir=rtl] {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
/* nav bar settings */

nav ul li.active {
    background-color: rgba(0,0,0,0.2);
}

nav.ar ul {
    padding-right: 0;
}

nav.home-nav > div > a{
    color: #eceff1;
}

nav.home-nav > div > ul > li > a {
    color: #eceff1;
}

nav > div > ul > li > a {
    color: #eceff1;
}

nav ul a:hover {
    background-color: rgba(0,0,0,0);
}

nav {
    background-color: transparent; /*#8a8172;*/
    background-image: url('/images/effect.jpg');
    background-size: cover;
    height: 100px;
}
   nav.home-nav {
        background-color: transparent;
        background-image: none;
        height: 100px;
    }

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;
    }
nav a, nav i, nav i.material-icons {
    line-height: 100px;
}
nav a.sidenav-trigger, nav a.sidenav-trigger i {
    height: 100px;
    line-height: 100px
}
    /************/
    /* dropdown */
    nav.ar .dropdown-content li {
        text-align: right;
    }
.dropdown-content {
    overflow-y: visible;
}
/*.dropdown-content .dropdown-content {
    margin-left: 100%;
}*/
/****************/
/* Fotter settings */
ul.social li {
    padding: 3px;
    display:inline;
}
ul.social a {
    color: #cfd8dc;
}
footer ul.social img {
    height: 50px;
}
.footer-logo {
    width: 200px;
}
footer.page-footer {
    padding-top: 0px;
    margin: 0;
    background-color: #546e7a;
    background-image: url('/images/effect.jpg');
    background-size: contain;
    background-repeat: repeat;
    color: #eceff1;
}

@media only screen and (min-width: 660px) {
    footer.home-footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: transparent;
        background-image: none;
    }
}

@media only screen and (max-width: 660px){
    footer.home-footer {
        width: 100%;
        background-color: transparent;
        margin-top: -127px;
        background-image: none;
    }
}

footer a {
    color: #eceff1;
}
    footer a:hover {
        color: #039be5;
    }

    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: transparent;
    color: #eceff1;
}

.home-footer .footer-copyright {
    background-color: transparent;
}

/*********************************/

@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: 36px;
}

        main.stick-top {
            margin-top: -64px;
        }

.factory-links {
    padding-bottom: 127px;
}
/************/

/* Sidenav*/
.sidenav li > a {
    color: #000;
    height: 100%;
}

.sidenav .header {
    background-image: url('/images/effect.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/***********/

/* Collapsible */
.sidenav .collapsible-header {
    font-weight: 500;
    color: #607d8b;
    padding-left: 32px;
}

.sidenav.ar .collapsible-header {
    padding-right: 32px;
    padding-left: initial;
}

.sidenav .collapsible-body li a {
    color: #607d8b;
    padding-left: 48px;
}

.sidenav.ar .collapsible-body li a {
    padding-right: 48px;
    padding-left: unset;
}

li.active .collapsible-header:after {
    content: "keyboard_arrow_down";
}

.sidenav .collapsible-body > ul:not(.collapsible) > li.active {
    background-color: rgba(0,0,0,0.05);
}

    .sidenav .collapsible-body > ul:not(.collapsible) > li.active a {
        color: #607d8b;
    }

.collapsible-header:after {
    font-family: 'Material Icons';
    font-size: 18px;
    position: absolute;
    content: "keyboard_arrow_right";
    right: 35px;
}

.sidenav.ar .collapsible-header:after {
    content: "keyboard_arrow_left";
    left: 35px;
    right:initial;
}

.collapsible-body li:before {
    font-family: 'Material Icons';
    content: "keyboard_arrow_right";
    position: absolute;
    left: 20px;
}

.sidenav.ar .collapsible-body li:before {
    content: "keyboard_arrow_left";
    right: 20px;
    left: initial;
}

ul.sidenav .collapsible-header:after {
    right: 16px;
}

ul.sidenav.ar .collapsible-header:after {
    left: 16px;
    right: initial;
}

ul.sidenav.ar {
    padding-right: 0;
}

ul.sidenav.ar ul {
    padding-right: 0;
}

.sidenav.ar .collapsible {
    padding-right: 0;
}

.sidenav.ar li>a>i.material-icons {
    margin-right: 0;
    margin-left: 32px;
}
/*****************/
p {
    line-height: 2rem;
}

main.family img.circle {
    width: 150px;
    height: 150px;
}

/* Parallax settings */
.parallax-container {
    height: 650px;
}
.banner-container {
    min-height: 600px;
    line-height: 0;
    height: auto;
    color: #fff;
    background-color: #263238;
}
.afmaco-container {
    min-height: 600px;
    line-height: 0;
    height: auto;
    color: rgba(255,255,255,.9);
    background-color: #546e7a;
}
    .banner-container .section {
        width: 100%;
        position: absolute;
        top: 200px;
    }
    .afmaco-container .section {
        width: 100%;
        position: absolute;
        top: 200px;
    }

#index-banner {
    background: url('../images/building-factory.jpg'); /*no-repeat center center fixed;*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
#plastic-banner {
    background: url('../images/plastic/plastic-banner.jpg'); /*no-repeat center center fixed;*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/*************************/

/******** 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 ***********/
.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: 75px;
}

.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;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.contacts .card {
    min-height: 245px;
    max-height: 245px;
}

/******************************/

/* 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 page *********/
.home-main img[src='/images/plastic.png'], .home-main img[src='/images/plastic-ar.png'] {
    max-width: 90%;
}

.home-main {
    background: url('../images/building-factory.jpg'); /*no-repeat center center fixed;*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /*min-height: 750px;*/
    padding-top: 430px;
}

@media only screen and (min-width: 601px) and (min-height: 600px) {
    .home-main {
        padding-top: 430px;
    }
}

@media only screen and (min-width: 601px) and (min-height: 700px) {
    .home-main {
        padding-top: 530px;
    }
}

@media only screen and (min-width: 601px) and (min-height: 800px) {
    .home-main {
        padding-top: 580px;
    }
}

@media only screen and (min-width: 601px) and (min-height: 900px) {
    .home-main {
        padding-top: 630px;
    }
}

@media only screen and (min-width: 601px) and (min-height: 1000px) {
    .home-main {
        padding-top: 680px;
    }
}

@media only screen and (min-width: 601px) and (min-height: 1100px) {
    .home-main {
        padding-top: 730px;
    }
}

@media only screen and (min-width: 601px) and (min-height: 1200px) {
    .home-main {
        padding-top: 800px;
    }
}

@media only screen and (max-width: 601px) {
    .home-main {
        padding-top: 150px
    }
}
    .home-main .btn-floating.logo {
        background-color: #00000094;
        width: 150px;
        height: 150px;
        margin-bottom: 10px;
    }
.home-main .btn-floating.logo img{
    margin-top: 50px;
}

.copyright {
    margin-top: 10px;
}

/****** Logo ********/
.brand-logo img {
    height: 100px;
}
.brand-logo.right {
    position: absolute;
    top: 0;
    right: 0;
}
body[dir=rtl] .brand-logo.left {
    left: 0;
}
@media only screen and (max-width: 600px) {
    .brand-logo img {
        margin-top: 10px;
        height: unset;
        width: 150px;
    }
}
.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: #000; /*#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;
    margin: 30px;
}

.social-section {
    background-color: #273349;
}

/*************** 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;
}