
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: iranyekan, Sans-Serif;
    direction: rtl;
}
body {
    font-size: 14px;
    text-align: right;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: inherit;
    text-decoration: none;
}
input:read-only{
    background-color: #fff !important;
}
/* font-Iran-Yekan */
@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/eot/iranyekanwebbold.eot');
    src: url('../fonts/eot/iranyekanwebbold.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */ url('../fonts/woff/iranyekanwebbold.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/iranyekanwebbold.ttf')
    format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/eot/iranyekanwebthin.eot');
    src: url('../fonts/eot/iranyekanwebthin.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */ url('../fonts/woff/iranyekanwebthin.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/iranyekanwebthin.ttf')
    format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/eot/iranyekanweblight.eot');
    src: url('../fonts/eot/iranyekanweblight.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */ url('../fonts/woff/iranyekanweblight.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/iranyekanweblight.ttf')
    format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/eot/iranyekanwebregular.eot');
    src: url('../fonts/eot/iranyekanwebregular.eot?#iefix')
    format('embedded-opentype'),
        /* IE6-8 */ url('../fonts/woff/iranyekanwebregular.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/iranyekanwebregular.ttf')
    format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/eot/iranyekanwebmedium.eot');
    src: url('../fonts/eot/iranyekanwebmedium.eot?#iefix')
    format('embedded-opentype'),
        /* IE6-8 */ url('../fonts/woff/iranyekanwebmedium.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/iranyekanwebmedium.ttf')
    format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/eot/iranyekanwebextrabold.eot');
    src: url('../fonts/eot/iranyekanwebextrabold.eot?#iefix')
    format('embedded-opentype'),
        /* IE6-8 */ url('../fonts/woff/iranyekanwebextrabold.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanwebextrabold.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/eot/iranyekanwebblack.eot');
    src: url('../fonts/eot/iranyekanwebblack.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */ url('../fonts/woff/iranyekanwebblack.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/iranyekanwebblack.ttf')
    format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 950;
    src: url('../fonts/eot/iranyekanwebextrablack.eot');
    src: url('../fonts/eot/iranyekanwebextrablack.eot?#iefix')
    format('embedded-opentype'),
        /* IE6-8 */ url('../fonts/woff/iranyekanwebextrablack.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/iranyekanwebextrablack.ttf') format('truetype');
}

section .div-header-buy{
    color: #50a8b1;
}
section  .div-header-buy .h-header-buy{
    position: absolute;
    padding: 0px 15px;
    background-color: #fff;
    right: 50%;
    transform: translateX(50%);
    font-size: 32px;
    top: 25px;
}
section  .div-header-buy .line{
    background-color: #50a8b1;
    margin: 50px 270px 70px 270px;
}

section .new-book-img .new-book-pic{
    height: 377px;
    width: 300px;
    border-radius: 10px;
    border: 1px solid #000000;
}
section .info-div .catShow-book {
    background-color: #ACD6DA;
    display: inline-block;
    width: 90px;
    height: 20px;
    text-align: center;
    border-radius: 23px;
    font-weight: lighter;
    font-size: 12px;
    margin-right: 10px;
}
section .info-div .addFavourite{
    background-color: #ffffff;
    border: 1px solid #50A8B1;
    color: #50A8B1;
    height: 50px;
    transition: all .3s ease-in-out;
}
section .info-div .addFavourite:hover{
    color: #ffffff;
    border: 1px solid #50A8B1;
    background-color: #50A8B1;
}
section .info-div .addOrder {
    border: none;
    outline: none;
    background-color: #eaa236;
    border-radius: 5px;
    color: white;
    transition: all 0.3s ease;
    height: 50px;

}
section .info-div .addOrder:hover {
    cursor: pointer;
    background-color:#ffffff;
    color: #eaa236;
    border: 1px solid #eaa236;
}
section .info-div .i-newBook{
    position: absolute;
    right: 10px;
}
section .tab-pane{
    background-color: #ACD6DA;
}
section .tab-pane .form-div{
    margin-left: 51%;
    margin-top: -1px;
}
section .tab-pane .input-1{
    display: inline-block;
    border: 1px solid #a1a1a1;
    margin-top: 100px;
}
section .tab-pane .input-3{
    display: inline-block;
    border: 1px solid #a1a1a1;
    margin-top: 100px;
}
section .tab-pane .input-4{
    display: inline-block;
    border: 1px solid #a1a1a1;
    margin-top: 100px;
}
section .tab-pane .input-2{
    display: inline-block;
    border: 1px solid #a1a1a1;
}

section .tab-pane .form-div .h-tab-content{
    position: absolute;
    top: 50px;
    right: 64px;
    font-size: 20px;
    font-weight: bold;
}
section .tab-pane .form-div .h-tab-content-2{
    position: absolute;
    top: 410px;
    right: 64px;
    font-size: 20px;
    font-weight: bold;
}
section nav .nav-a{
    margin-right: 134px;
    color: #000000;
    font-size: 17px;
    font-weight: bold;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    background-color:#ACD6DA ;
}
section nav .nav-a-2{
    color: #404040;
    font-size: 17px;
    font-weight: bold;
    background-color: #EDF6F7;
}
section nav{
    margin-right: -75px;
    margin-top: 50px;
}
@media (max-width: 950px){
    section .info-div .addFavourite{
        font-size: 12px;
    }
    section .info-div .addOrder{
        font-size: 12px;
    }
    section .info-div  .i-newBook{
        transform:translateY(-15%);
    }
}
@media (max-width: 773px){
    section .new-book-img .new-book-pic{
        height: 230px;
    }
    section .tab-pane .input-3{
        margin-top: 25px;
    }
    section .tab-pane .input-4{
        margin-top: 4px;
    }
    section .tab-pane .form-div .h-tab-content-2{
        top: 660px;
        font-size: 16px;
    }
    section .tab-pane .form-div .h-tab-content{
        font-size: 16px;
    }
    p{
        font-size: 13px;
    }
    section nav .nav-a{
        font-size: 12px;
    }
    section nav .nav-a-2{
        font-size: 12px;
    }
    section nav{
        margin-top: 50px;
    }
    section .info-div  .i-newBook{
        transform:translateY(-23%);
    }
}
@media (max-width: 600px){
    section .info-div .addFavourite{
        font-size: 10px;
    }
    section .info-div .addOrder{
        font-size: 10px;
    }
    section .tab-pane .form-div{
        margin-left: 30%
    }
    h4{
        font-size: 20px;
    }
}