/*!
 * Main Page CSS
 * Author: Reza SafiYari (m2r2s2@gmail.com),
 * Modified: 2019-04-12
 */
* {
    box-sizing: border-box;
    direction: rtl;
    font-family: Iransans;
    transition: .3s all;
}
html{
    scroll-behavior: smooth;

}

@font-face {
    font-family: 'Iransans';
    src: /*url('fonts/BYekan.eot')format('eot'),
    url('fonts/BYekan.woff') format('woff'),*/ url('../fonts/IRANSansRegular.ttf') format('truetype');
}
a{
    text-decoration: none;
}

li {
    list-style-type: none;

}

body {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7db9e8+0,2d4c4c+100&0+0,0.25+100 */
    background: -moz-linear-gradient(top, rgba(125,185,232,0) 0%, rgba(45,76,76,0.25) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(125,185,232,0) 0%,rgba(45,76,76,0.25) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(125,185,232,0) 0%,rgba(45,76,76,0.25) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007db9e8', endColorstr='#402d4c4c',GradientType=0 ); /* IE6-9 */
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.container1{
    max-width: 1200px;
    position: relative;
    height: 100vh;
    margin: auto;
    background-color: white;

}
.row{
    margin: 0px;
}
#usermenu {
    width: 100%;
    height: 45px;
    background-color: white;
}

#firstmenu {
    width: 100%;
    height: 45px;
    background-color: #00484B;
    overflow: hidden;
}

.secondmenu {
    border-bottom: grey solid 1px;
    width: 100%;
    height: 45px;
    position: relative;
    display: none;
    background-color: white;
}

#rightmenu {
    right: 0px;
    min-height: calc(100vh - 145px);
    border-left-style: solid;
    border-color: darkgrey;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#d8e0de+0,99afab+100 */
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#d8e0de+0,99afab+100&0+0,0.5+100 */
    background: -moz-linear-gradient(top, white 0%, rgb(204,215,213) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, white 0%, rgb(204,215,213) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, white 0%,rgb(204,215,213) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00d8e0de', endColorstr='#8099afab',GradientType=0 ); /* IE6-9 */
    background-color: rgb(204,215,213);
}
.botcontainer{
    position: fixed;
    width: 100%;
    bottom: 0px;
    height: 35px;
}
.botmenu {
    height: 100%;
    max-width: 1200px;
    margin: auto;
    background-color: #00484B;
    color: white;
    text-align: center;
    font-size: smaller;
    position: relative;
}
.botmenu a{
    color: white;
}
.botmenu a:hover{
    color: darkgreen;
    font-size: small;
    text-decoration: none;
    transform: scale(1.2,1.2);
    transition: .7s;
    -webkit-transition: .7s;
}
#scroll {
    left: 0px;
    /*overflow: auto;*/
    background-color: white;
}

#icon1 {
    position: relative;
    float: right;
    right: 50%;
    display: inline-block;
    margin-left: 2%;
    transform: scale(1.2, 1.2);
    margin-top: 1%;
}

#imgicon1 {
    width: 100%;
    height: 100%;
}

#menutop1 {
    float: right;
    width: 10%;
    height: 100%;

    display: inline-block;
    cursor: pointer;
}

#menutop2 {
    float: right;
    width: 10%;
    height: 100%;

    display: inline-block;
    cursor: pointer;
}

#menutop3 {
    float: right;
    width: 10%;
    height: 100%;
    margin-right: 25%;
    display: inline-block;
    cursor: pointer;
}

#menutop4 {
    float: right;
    width: 10%;
    height: 100%;

    display: inline-block;
    cursor: pointer;
}


.menudark {
    float: right;
    width: 11%;
    height: 100%;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    color: white;
    line-height: 45px;
    font-weight: bold;
    font-size: larger;
}

.menudark:hover {
    color: #72C152;
}
.menudark a:hover{
    color: #72C152;
    text-decoration: none;

}

#md1 {
    margin-right: 5px;
}

#md6 {
    margin-right: 25px;
}

.clickmenu {
    background-color: white;
    color: black;
    border-radius: 10px 10px 0px 0px;
    margin-top: 3px;
}

.lightmenu {
    color: black;
    float: right;
    display: inline-block;
    width: 10%;
    height: 100%;
    margin-right: 2%;
    line-height: 45px;
    text-align: center;
}

.lightmenu:hover {
    color: green;
    transform: scale(1.02, 1.02);
    transition: .15s;
    cursor: pointer;

}
.lightmenu a{
    color: black;
}
.lightmenu a:hover{
    color: green;
    text-decoration: none;
}

.clickmenu2 {
    color: black;
    border-bottom: #0b3b29 solid 3px;
    transform: scale(1.1, 1.1);
}

.nav {
    font-size: larger;
}

.dnone {
    display: none;
}

.dselect {
    display: inline-block;
}

.nav-item a {
    color: black;
    font-size: medium;
    text-align: right;
}
.nav-item ul{
    transition: 1s;
}

.nav-item > a {
    font-size: large;
    line-height: normal;
    font-weight: bold;
}

.nav-link:hover {
    color: #72C152;
}
.nav-item > a:not([href]):not([tabindex]):hover {
    color: #72C152;
    cursor: pointer;
}

.rightmenu ul a li {
    float: right;
}

.fa-chevron-circle-left .fa-chevron-circle-down {
    transform: scale(.8, .8);
}

.endmenu {
    text-align: right;
    direction: rtl;
}
.endmenu a:hover {
    text-decoration: none;
    color: #72C152;
}
end a{
    text-decoration: none;
    color:#72C152 ;
}



.svg-inline--fa {
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 5px;
}

.dropdown-menu {
    transition: 0ms;
    cursor: pointer;
}

#topScroll {
    padding: 0px;
    margin-top: 10px;
}

.mainpage {
    text-align: right;

}

.mainpage h2 {
    font-size: larger;
    margin-top: 5%;
    font-weight: bold;
}

.mainpage select option {
    color: black;
    background-color: white;
    cursor: pointer;
}

.mainpage select {
    border-radius: 5px;
    padding: 5px;
    border-color: #222;
    color: #222;
}

.mainpage select:hover {
    color: white;
    background-color: #666;
    cursor: pointer;
}

.mainpage select.select-valid-option {
    border-color: #72C152;
    color: white;
    background-color: #72C152;
}

.mainpage select.select-valid-option:hover {
    font-weight:bold;
    color: white;
    background-color: #529041;
    cursor: pointer;
}

ul.thumbnails.image_picker_selector li .thumbnail img {
    background-color: white;
}
ul.thumbnails.image_picker_selector li .thumbnail p {
    text-align: center;
    font-size: medium;
    margin-bottom: 0px;
}

ul.thumbnails.image_picker_selector li .thumbnail.selected {
    background: #72C152;
    color: white;
    font-weight: bold;
}
ul.thumbnails.image_picker_selector li{
    padding: 0px;
    margin: 5px;

}
ul.thumbnails.image_picker_selector img{
   width: 100%;
    height: 100%;
}
.mainpage input[type=text]{
    width: 100%;
    border: 2px grey solid;
    border-radius: 5px;
    height: 35px;
}
.mainpage input[type=text]:focus{
    border-color: #72C152;
    transition: 0.7s;
    -webkit-transition: .7s;
    outline: none;
}

.mainpage  label{
    margin-right: 10px;
}

.mainpage textarea{
    width: 100%;
    height: 200px;
    resize: vertical;
    border: 2px grey solid;
    border-radius: 5px;
}
.mainpage textarea:focus{
    border-color: #72C152;
    transition: 0.7s;
    -webkit-transition: .7s;
    outline: none;

}

.spacer{
    background: transparent;
    width: 100%;
    height: 45px;
}

::placeholder{
    color: darkgrey;
    opacity: 0.7;
}

@media screen and (max-width: 992px){
    .clickmenu {
        width: 25%;
        overflow: hidden;
    }
    .lightmenu{
        width: 15%;
    }
    .clickmenu2 {
        width: 25%;
        overflow: hidden;
    }
    ul.thumbnails.image_picker_selector li .thumbnail p {
        font-size: medium;
    }


}
@media screen and (max-width: 768px){

    .menuresp{
        display: none;
    }
    .menudark{
        width: 20%;
    }
    .clickmenu {
        width: 30%;
        overflow: hidden;
        display: block;
    }

    .lightmenu{
        width: 18%;
    }
    .clickmenu2 {
        width: 30%;
        overflow: hidden;
        display: block;
    }
    ul.thumbnails.image_picker_selector li .thumbnail p {
        font-size: small;
    }

    #rightmenu {
        height: 100%;
    }


}
       
/* page 211 */
#selectostan select{
    margin:5px ;
}

/* auto-calulate-table */
.auto-calculate-table th,td {
    border: gray solid 2px;
    padding: 10px;
    overflow: auto;
    text-align: center;
}
.auto-calculate-table th {
    background-color: #00484B;
    color: white;
}
.auto-calculate-table tr:hover {
    background-color: #dfdfdf;
}


#zamin_input_x{
    width: 70px;
    margin-right: 8px;
}
.mainpage #zamin input{
    text-align: center;
    width: 70px;
    border:1.5px black solid;
}
.zamin-result-price ,.zamin-result-unit{
    text-align: right;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #00484B;
}
.image {
    display: block;
    width: 100%;
    height: auto;
}
.imgoverlay{
    max-width: 300px;
    max-height: 300px;
    position: relative;
    margin: 50px;


}
.imgoverlay:hover .overlay{
    opacity: 1;
}
.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}
#anidivs{
    width:100% ;
    position: relative;
    min-height: 300px;
}
.animated{

    color: white;
    background-color: #00484B;
    border-radius: 5px;
    margin: 5px;
    width: 30vh;
    text-align: center;
    height: 15vh;
    float: right;
    line-height: 15vh;
    font-size: large;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.animated:hover{
    opacity: .5;
    font-size: larger;
    border: #F2B233 solid 2px ;

}

@keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}
.one {
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.two {
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

.three {
    -webkit-animation-delay: 2.5s;
    -moz-animation-delay: 2.5s;
    animation-delay: 2.5s;
}

.four {
    -webkit-animation-delay: 3.5s;
    -moz-animation-delay: 3.5s;
    animation-delay: 3.5s;
}

.five {
    -webkit-animation-delay: 4.5s;
    -moz-animation-delay: 4.5s;
    animation-delay: 4.5s;
}
/*@keyframes hoveranimation {*/
    /*0% {*/
        /*transform: rotate(10deg);*/

    /*}*/

    /*50% {*/
        /*transform: rotate(-10deg);*/

    /*}*/
/*}*/
#aboutme{
    width: 100%;
}
#aboutme h2{
    width: 100%;
    font-size: larger;
    text-align: center;

}
#cardimg {
    width: 200px;
    height: 200px;
    align-items: center;

    overflow: hidden;
    padding: 2px;
}
#cardimg img {
    position:absolute;
    width: 97%;
    height: 100%;
    max-height: 200px;
    max-width: 300px;
    /*border:solid #0b2e13 1px;*/
    padding: 5px;
    background-color: #0b2e13;
    margin: 2%;
    left:0;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}
img.top{
    z-index: 10;
}

#cardimg img.top:hover {
    opacity:0;
}
img.hidden{
    display: none;
}
span.inja{
    font-weight: bold;
    cursor: pointer;
    font-size: larger;
    margin-right: 5px;
    margin-left: 5px;
    color: #0b3b29;
}
span.inja2{
    font-weight: bold;

    cursor: pointer;
    font-size: larger;
    margin-right: 5px;
    margin-left: 5px;
    color: #0b3b29;
}
span.inja:hover img{
    display: block;
}
span.inja2:hover img{
    display: block;
}
#contact{
    width: 100%;
}
#contact h2{
    width: 100%;
    font-size: larger;
    text-align: center;
}
#contact a{
    text-decoration: none;
    color: #0b2e13;
    font-size: medium;
}
#contact div{
    width: 100%;
    text-align: center;
}
.fundiv{
    position: relative;
    width: 100%;
    margin-bottom: 60px;
}
.fundiv button{
    width: 50px;
    height: 50px;
    border: black solid 1px;
    margin: 2px;
    position: absolute;


}
.fundiv .yes{
    background-color: green;
    top: 50px;
    left: 80%;
}
.fundiv .no{
    background-color: crimson;
    top: 50px;
    left: 70%;
}