
@font-face {
    font-family: 'B Nazanin';
    src: url('../fonts/bnazanin.eot');
    src: url('../fonts/bnazanin.eot?#iefix') format('embedded-opentype'),
         url('../fonts/bnazanin.woff') format('woff'),
         url('../fonts/bnazanin.ttf') format('truetype'),
         url('../fonts/bnazanin.svg#b_nazaninregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
body
{
    font-family: 'B Nazanin',Arial;
}
a:link
{
    color: #86cb21;
}
    a:link:hover
    {
        color: #000;
        text-decoration: none;
    }
::selection
{
    background: #86cb21;
    color: #fff;
}

::-moz-selection
{
    background: #86cb21;
    color: #fff;
}
::-webkit-selection
{
    background: #86cb21;
    color: #fff;
}


img.grayscale
{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
    -webkit-transition: all .5s;
    transition: all .5s;
}

    img.grayscale:hover
    {
        filter: none;
        -webkit-filter: grayscale(0%);
    }

.sectionimage
{
    background-image: url(../images/moshavereh.Png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y:bottom;
    height: 360px;
}
    .sectionimage.moshavereh
    {
        background-image: url(../images/moshavereh.Png);
        float: left;
        background-position: right center;
    }
    .sectionimage .sectiontitle
    {
        position: absolute;
        bottom: 20px;
        right: 80px;
        z-index: 1000;
    }
    .sectionimage .sectiontitle h2
    {
        color: #fff;
        font-weight: bold;
        font-size: 25px;
    }
        .sectionimage .sectiontitle span
        {
            color: #86c323;
            display: block;
            font-size: 30px;
        }
    .sectionimage.sakhtosaz
    {
        height: 180px;
        background-image: url(../images/sakhtosaz.Png);
        float: right;
        background-position: left center;
    }


.sectionicon
{
    /*float: left;*/
}
@media (max-width: 992px)
{
    .sectionimage.moshavereh
    {
        float: none;
    }

    .sectionimage.sakhtosaz
    {
        float: none;
    }
}
.iconsrow
{
}

    .iconsrow img
    {
        width: 100%;
        max-width: 100px;
    }
    .iconsrow div:hover img
    {
        filter: none;
        -webkit-filter: grayscale(0%);
    }
    .iconsrow h3
    {
        font-size: 18px;
        font-weight: bold;
    }

.subs
{
    padding: 0;
    background-image: url(../images/subs1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 25px 10px;
    margin: 0 0 10px 0;
}
    .subs:before
    {
        content: '';
        position:relative;
        margin-right: -12px;
        margin-top: -25px;
        width: 0;
        height: 0;
        top: 0;
        right: 0;
        border-top: 40px solid #fff;
        border-left: 20px solid transparent;
    }

    .subs p
    {
        font-size: 18px;
        font-weight: bold;
        color: #86c323;
        padding: 0px 50px;
    }


.ContainerHeader
{
    display: block;
    text-align: left;
    height: 40px;
    margin: 0;
    margin-left:20px;
    padding: 10px 80px 0 0;
    background-color: #86cb21;
}
    .ContainerHeader h2
    {
        display: inline;
        background-repeat: no-repeat;
        background-position: right center;
        padding-left: 20px;
        font-weight: bold;
        color: #000;
        font-size: 18px;
    }


.ContainerHeader:after
{
    content: '';
    float: left;
    margin-left: -20px;
    margin-top: -10px;
    width: 0;
    height: 0;
    border-bottom: 40px solid #86cb21;
    border-left: 20px solid transparent;
}
.all
{
    position: absolute;
    left: 0px;
    bottom:0
}


    .footerlogo
{
     text-align:center;
}
    .footerlogo a p
    {
        padding:10px;
         color:#fff; font-weight:bold; 
         font-size:15px;
    }   
        .footerlogo:hover img
{
          filter: none;
  -webkit-filter: grayscale(0%);
} 
    .footerlogo:hover a p
    {
        color:#666;
        text-decoration:none !important;
    }
        .footerlogo a p span
        {
            display:block;
            color:#000;
        }

        .footerlogo:hover a p span
        {
            color:#86cb21;
            text-decoration:none !important;
        }



#MazeGroup {
    position:relative; width:50px; height:50px; right:50%; margin:10px -25px 10px 0; border:none;
    background-image:url(../images/mazegroup.png);
    background-position:0px 0px;
}
#MazeGroup:hover 
{
        background-position:0px -50px;
}



.Contact {
    width:38px;
    height:24px;
    background-image:url(../images/contact2.png);
    z-index:9999;
}
.Contact.RSS {
    left:20px;
    background-position:-44px 0px;
}

.Contact.RSS:hover {
            background-position:-44px -48px;
}
.Contact.Twiter {
        left:200px;
    background-position:-92px 0px;
}

.Contact.Twiter:hover {
    background-position:-92px -48px;
}
.Contact.FB {
   float:right; display:block;
   margin:0 5px;
    background-position:0px 0px;
}

.Contact.FB:hover {
    background-position:0px -24px;
}
.Contact.Google {
    display:block;
    margin-right:50px;
    background-position:-38px 0px;
}

.Contact.Google:hover {
    background-position:-38px -24px;
}

.Contact.instagram {
    left:140px;
    background-position:-284px 0px;
}

.Contact.instagram:hover {
    background-position:-284px -48px;
}
.Contact.Share {
   
   top:-70px;
    background-position:-235px 0px;
}

.Contact.Share:hover {
    background-position:-235px -48px;
}



@media (min-width: 768px) {
    .mainmenu {
        margin-right: 200px;
        margin-top: 10px;
    }

}
@media (min-width: 1000px) {
    .mainmenu {
        margin-right: 170px;
        margin-top: 35px;
    }

}

.livox
{
    padding:20px;
}
.livox a
{
    text-decoration:none !important;

}
.livox a
 {
/*background-image: url("../images/logof.png");*/
display: block;
margin: 10px auto;
background-repeat: no-repeat;
text-align: center;
 }
.livox a:hover
 {
/*background-image: url("../images/logofhv.png");*/

display: block;
margin: 10px auto;
background-repeat: no-repeat;
text-align: center;
 }
.livox a>span:first-child
{
    
    font-size: 14px;
line-height: 1.42857143;
   display:block;
    text-align: center;
    color: #FFF;
}
    .livox a:hover > span:first-child {
        color:#86cb21
    }
.livox a>span:nth-child(2n)
{
line-height: 100%;
   font-size: 18px;
color: #aaa;
}
.livox a:hover>span:nth-child(2n)
{
color:#86cb21
}

