/* Box-sizing border-box */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 0; margin: 0; direction: rtl;}


html {
    font-family: iranyekan !important;
    font-weight: 500;
    font-size: .7em;
}

a {
    text-decoration: none;
}
body {
    margin: 0;
   background: #fff9df url(/images/bar.jpg) right top repeat-x;
}

button:focus {outline:0;}

/*aboutcontent*/

.content
{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: row;

}
.content .maincontent
{
   width: 503px;
   display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    margin-top: 50px;

}
.content .maincontent .maincontent__header
{
    color: #3a2013;
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
}
.content .maincontent .maincontent__header2
{
    color: #3a2013;
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 20px;
}

.content .maincontent .maincontentall
{
    flex-basis: 577px;
}

.content .maincontent .maincontentall p
{
    line-height: 1.7em;
    font-size: 1.1em;
}
.content .maincontent span
{
    line-height: 1.8em;
    font-size: 1.1em;
    font-weight: 500;

}

.content .maincontent .imagecontainer2
{
    display: flex;
    width: 200px;

}
.img4
{
    width: 315px;
    margin: 4px;
    height: 160px;

}
.img1
{
    width: 250px;
    margin: 10px;
    height: 150px;
    transform: rotate(5deg);
    margin: 16px;
    box-shadow: 6px 2px 20px 2px rgba(61, 35, 20, 0.58);
    border: 10px solid #ecebe7;

}
.img2
{
    width: 250px;
    margin: 10px;
    height: 150px;
    transform: rotate(-8deg);
    margin: 16px;
    box-shadow: 6px 2px 20px 2px rgba(61, 35, 20, 0.58);
    border: 10px solid #ecebe7;

}

.img3
{
    width: 302px;
    margin: 10px;
    height: 215px;
    box-shadow: 6px 2px 20px 2px rgba(61, 35, 20, 0.58);
    border: 10px solid #ecebe7;
}

.content .maincontent .imagecontainer
{
    display: flex;
    flex-wrap: wrap;

}

.content .sidebar
{
    width: 237px;
    height: 400px;
    display: flex;
    /*margin-top: 170px;*/
    margin-right: 50px;
}

.content .sidebar .sidebar__moving
{
    display: flex;
   
    justify-content: center;
    align-items: center;
    flex-direction: column;

    position: fixed;
    margin-top: -121px;
    background: #ccdb2936;
    border-radius: 5px;
    padding: 2px;
    border: 1px;
    border-style: solid;
    border-color: #05683929;


}
.content .maincontent .imagecontainer .img1
{
    width: 205px;
    margin: 10px;
    height: 100px;
    box-shadow: 6px 2px 20px 2px rgba(61, 35, 20, 0.58);
    border: 3px solid #ecebe7;
    border-style: solid;
    transform: rotate(4deg);
    margin-top: 25px;
}

.content .maincontent .imagecontainer .img2 {
    width: 205px;
    margin: 10px;
    height: 100px;
    box-shadow: 6px 2px 20px 2px rgba(61, 35, 20, 0.58);
    border: 3px solid #ecebe7;
    border-style: solid;
    transform: rotate(-4deg);
    margin-top: 25px;
}


.content .sidebar .sidebar__afkhamproduct
{
    width: 100%;
    height: 95px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    border-bottom: none;
    color: white;
    border-bottom: 1px solid;

}


.content .sidebar .sidebar__afkhamproduct:hover
{
    opacity: .8;

}

.content .sidebar .sidebar__afkhamproduct i
{
   font-size: 4em;
    color: #a5c337;
    padding: 10px;
    padding-bottom: 0;
}

.content .sidebar .sidebar__afkhamproduct span
{
    color: #032f1a;
    font-size: 1.1em;
    padding: 5px;
}
.content .sidebar .sidebar__socialmedia
{
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /*border:1px solid rgb(166,124,82);*/
    border-radius: 2px;
    /*box-shadow: -8px 6px 20px 2px rgba(61, 35, 20, 0.58);*/
}

.content .sidebar .sidebar__socialmedia   a:hover
{
    opacity: .8;
}


.content .sidebar .sidebar__socialmedia i
{
    color: #a5c337;
    font-size: 1.2em;
    padding: 7px;
}


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

    .img1
    {
        width: 202px;

        height: 114px;
    }
    .img2
    {
        width: 198px;

        height: 139px;
    }
}

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

}
@media only screen and (max-width : 522px )
{
    .content .sidebar
    {
        display: none;
    }
}
@media only screen and (max-width : 645px )
{
   
}


@media only screen and (max-width : 941px )
{
    .content .maincontent
    {
       width: 95%;
       /*margin-top: 180px;*/
       margin:0 20px;

    }

    .content .sidebar {
       margin-top: 100px;
    }

    .content .maincontent .maincontentall
    {
        flex-basis: 20%;

        padding-left: 10px;
    }

    .content .maincontent .imagecontainer2
    {
        flex-wrap: wrap;
        height: auto;
    }

    .content .sidebar
    {
        margin-right: 10px;
        align-items: center;
        justify-content: flex-start;

        width: 237px;
    }
    .content .sidebar .sidebar__moving
    {
        width: 109px;
    }

}

@media only screen and (max-width :690px ) 
{
      .content .maincontent
     {
        margin-top:115px;
     }
}

@media only screen and (max-width : 813px )
{
    .content .sidebar
    {
        display:none;
    }
}