input:focus {outline:0;}
.alert-danger {
    color: #f51e32 ;
    font-size: 1.1em;
    width: 100%;
    
    background-color: transparent;
     border-color: transparent;
}
.content
{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
}
input
{
    font-family: iranyekan;
}
.content .maincontent {
    width: 900px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    margin-top:24px;
    align-items: flex-start;
}

.maincontent .maincontent__main
{
    display: flex;
    flex-direction: row-reverse;
    /* padding-top: 50px; */
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    padding-left: 58px;
    align-items: flex-end;
    flex-wrap: wrap-reverse;
}
.maincontent .maincontent__main .contactform
{
    width: 68%;
    margin: 10px 0 0 10px;
    margin-bottom: 22px;
   
    border: 1px solid #d8cfc6;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    direction: rtl;
    background: #fcf9e3;
    padding: 15px;
    height: 629px;
    min-width: 572px;
}
.maincontent .maincontent__main .contactform form
{
    display: flex;
    flex-direction: column;
}
.maincontent .maincontent__main .contactform form input
{
    line-height: 1.6;
    color: #555;
    display: block;
    border: 0px;
    border-bottom: 1px solid #a79e9e;
    margin: 5px;
    
    font-size: 1.1em;
    width: 98%;
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ccd0d2;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    /* width: 100%; */
    height: 36px;
    margin: 5px;

}
.english
{
    direction: ltr;
    font-family: arial;
    font-weight: 700;
    line-height: 1em;

}
.maincontent .maincontent__main .contactform form textarea
{

    border: 1px solid #a79e9e;
    /*margin-top: 30px;*/
    margin-left: 5px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    display: block;
    font-family: iransans;
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ccd0d2;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    margin: 5px;
    width:98%;
}
.maincontent .maincontent__main .contactform form button
{
    margin-top: 20px;
    height: 35px;
    width: 123px;
    font-family: iransans;
}
.btn
{
    display: inline-block;
    margin-bottom: 0;
    height: 35px;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    color: #fff;
    background-color: #3097D1;
    border-color: #2a88bd;
    user-select: none;
}

.maincontent .maincontent__main .contactdetails
{
    width: 25%;
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #fffdf4;
    border-radius: 5px;
    align-items: center;
    margin: 10px 0 0 0;
    line-height: 1.8em;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    border: 1px solid #d8cfc6;
    min-width: 210px;
    height:629px;
}

.maincontent .maincontent__main .contactdetails .barcode
{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.maincontent .maincontent__main .contactdetails .barcode img
{
    width: 150px;
    height: 150px;
    margin: 10px;
    margin-top: 42px;
}

.maincontent .maincontent__main .contactdetails h4
{
    color: #cc0d1d;
    margin-bottom: 27px;
    font-size: 1.3em;
}

.maincontent .maincontent__main .contactdetails span
{
    color: #7c6150;
    margin: 4px 0px 5px 0px;
    font-size: 1em;
    width: 100%;

}
.maincontent .maincontent__main .contactdetails email
{
    margin-top: 20px;
}
.content .sidebar
{

    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    margin-top: 220px;
}

.content .sidebar .sidebar__moving
{
    /*position: fixed;*/
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 180px;
    /*box-shadow: -8px 6px 20px 2px rgba(61, 35, 20, 0.58);*/
}
.content .sidebar .sidebar__afkhamproduct
{
    width: 100%;
    height: 95px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(166,124,82);
    border-radius: 2px;
    border-bottom: none;
    /*box-shadow: -8px 6px 20px 2px rgba(61, 35, 20, 0.58);*/
}

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

}

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

.content .sidebar .sidebar__afkhamproduct span
{
    color: #382111;
    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: #a58a78;
    font-size: 1.2em;
    padding: 7px;
}
.headerwithpic
{
    display:  flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
}
.headerchef
{
    width: 170px;
    height: 182px;
    margin-bottom: -51px;
    margin-right: 100px;
    z-index:-1;
}
span.email.english
{
    padding-top:15px;
}
@media only screen and (max-width : 1004px ) {
.navigation .menupart .menu li a {
    color: #050505;
    font-size: .8em;
}
.logo {
    height: 92px;
    width: 100px;
}
}

@media only screen and (max-width : 417px ) {
    .maincontent .maincontent__main .contactdetails
    {
        min-width: 300px!important;
        margin:10px 0;
    }
    .maincontent .maincontent__main .contactform
    {
        min-width: 300px!important;
        margin:10px 0;
    }
}

.address
{
    word-spacing: -.2em;
}

.maincontent .maincontent__main .contactform form label

{
    line-height: 1.6;
    color: #555;
    display: block;
    border: 0px;
    margin: 5px 5px 0 5px;
    font-family: iransans;
    font-size: 1.1em;
    width: 98%;
    padding: 6px 12px 0 12px
}
form .has-error
{
    border: 1px solid #f53154;
}
@media only screen and (max-width : 922px )
{
    .content .sidebar
    {
        display: none;
    }

    .content .maincontent
    {
        /*width: 74%;*/
        margin: 0px 150px;
        margin-top: 8px !important;
    }
    .maincontent .maincontent__main .contactdetails
    {
        min-width: 570px;
    }
}
@media only screen and (max-width : 810px )
{

    .content .maincontent
    {

        /*margin-left:100px;*/

    }

    .maincontent .maincontent__main
    {
        padding-left: 0px;
    }
}
@media only screen and (max-width : 700px )
{
 .content .maincontent
    {
        /*width:95%;*/
        /*margin-top: 175px !important;*/
        /*margin-left: 0px;*/
        /*margin-top: 175px!important;*/

       margin-top: 117px!important;
    }
}
@media only screen and (max-width : 644px )
{
   
    .maincontent .maincontent__main
    {
        margin-left: 0px;
        padding-left: 0px;

    }

}

@media only screen and (max-width : 598px )
{
    .maincontent .maincontent__main .contactdetails
    {
        min-width: 400px;
    }
    .maincontent .maincontent__main .contactform
    {
        min-width: 400px;
    }
    .headerchef
    {
        margin-right: 10px;
    }
}
@media only screen and (max-width : 500px )
{
    .maincontent h2
    {
        text-align: center;
        width: 100%;
    }
}