input:focus {outline:0;}
.alert-success {
    width:100%;
}
form .has-error
{
    border: 1px solid #f53154 !important;
}
input
{
    font-family: iranyekan;
}
.alert-danger {
    color: #f51e32 ;
    font-size: 1.1em;
    width: 100%;
    /*font-weight: bold;*/
    background-color: transparent;
     border-color: transparent;
}
.hidden
{
    display: none;
}
.content
{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: flex-start;

}

.content .maincontent {
    width: 32%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    margin-top: 50px;
    align-items: flex-start;


}

.maincontent .maincontent__main
{
    display: flex;
    flex-direction: row-reverse;
    /* padding-top: 50px; */
    width: 100%;
    align-items: center;
    justify-content: space-around;
    padding-left: 58px;
    flex-wrap: wrap;

}
.maincontent .maincontent__main .contactform,
.maincontent .maincontent__main .agencyform
{
    width: 100%;
    margin:10px 0;
    margin-bottom: 22px;
    background-color: #fff;
    border: 1px solid #d8cfc6;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    direction: rtl;
    background: #fcf9e3;
    padding: 15px;
}
.chooseform
{
    width: 100%;
    margin:46px 0 0 0;
    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;
}
.chooseform span
{
    color: #1b1e1f;
    font-size: 1.5em;
    font-weight: bold;
}
.maincontent .maincontent__main .contactform form
{
    display: flex;
    flex-direction: column;
}
.maincontent .maincontent__main .contactform form input
,
.maincontent .maincontent__main .agencyform form input
,
.maincontent .maincontent__main .contactform form select,
.maincontent .maincontent__main .agencyform form select
    , select
{
    line-height: 1.6;
    color: #555;
    display: block;
    border: 0px;
    border-bottom: 1px solid #a79e9e;
    margin: 5px;
    font-family:iranyekan;
    font-size: 1.1em;
    width: 98%;
    padding: 6px 12px;
    background: #ffffff;
    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;

}
.maincontent .maincontent__main .contactform form label

{
    line-height: 1.6;
    color: #555;
    display: block;
    border: 0px;
    margin: 5px 5px 0 5px;
    font-family: iranyekan;
    font-size: 1.1em;
    width: 98%;
    padding: 6px 12px 0 12px
}
/*.maincontent .maincontent__main .contactform form span*/
/*{*/
/*    line-height: 1.6;*/
/*    color: #555;*/
/*    display: block;*/
/*    border: 0px;*/
   
/*    font-family: iransans;*/
/*    font-size: 1em;*/
/*    width: 98%;*/
/*    padding: 6px 12px 0 12px*/
/*}*/
.maincontent .maincontent__main .agencyform 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
}
.maincontent .maincontent__main .contactform form input[type="radio"] {
    width: auto;
    height: auto;
    /* margin-left: -20px; */
    position: absolute;
    /* margin-right: -20px; */
    margin: 4px 0 0;
    position: absolute;
    /* width: 98%; */
    /* padding: 6px 12px; */
    margin-top: 4px \9;
    margin-right: 20px;
    line-height: 1.6;
}
.english
{
    direction: ltr;
}
.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;
}
.maincontent .maincontent__main .contactform form button
    ,
.maincontent .maincontent__main .agencyform form button
{
    margin-top: 20px;
    height: 35px;
    width: 123px;
    font-family: iransans;
}
.contactform h3,
.agencyform h3
{
    padding: 10px;
    font-size: 1.4em;
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background: #a5c33780;
    border-radius: 5px;
    margin-bottom: 10px;
}

.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: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: #f6efe9;
    border-radius: 5px;
    height: 402px;
    align-items: center;
}

.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;
}

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

.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
{
    width: 237px;
    height: 400px;
    display: flex;
    margin-top: 260px;
    margin-right: 50px;
    margin-bottom: 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 .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 : 922px )
{
    .content .sidebar
    {
        display: none;
    }

    .content .maincontent
    {
        width:68%;
        margin-left: 220px;
        margin-top:66px !important;
    }
}
@media only screen and (max-width : 810px )
{

    .content .maincontent
    {

        margin-left:100px;

    }

    .maincontent .maincontent__main
    {
        padding-left: 0px;
    }
}

@media only screen and (max-width : 505px )
{
   .content .maincontent
    {
        width:95%;
        margin-top: 174px !important;
        margin-left: 0px;
      
    }
}

@media only screen   and  (max-width : 645px ) and (min-width: 506px)
{
    .content .maincontent
    {
        width:95%;
        margin-top: 100px !important;
        margin-left: 0px;


    }
    .maincontent .maincontent__main
    {
        margin-left: 0px;
        padding-left: 0px;
    }
    .chooseform
    {
        margin-top:20px;
    }

}

@media only screen and (max-width : 500px )
{
    .maincontent h2
    {
        text-align: center;
        width: 100%;
    }
}
@media only screen and (max-width : 813px )
{
    .content .sidebar
    {
        display:none;
    }
}