@import url(fontiran.css);

html {
    font-family: IRANSans !important
}

body {
    font-family: IRANSans !important;
    font-weight: 300;
    direction: rtl;
    margin: 0
}

button, div, h1, h2, h3, h4, h5, h6, input, p, textarea, th, tr {
    font-family: IRANSans !important
}

a {
    font-family: IRANSans !important
}

span {
    font-family: IRANSans
}

h1 {
    font-weight: 700
}

.wrapper {
    max-width: 900px;
    margin: 0 auto
}

.ltr {
    direction: ltr
}

.text-right {
    text-align: right
}

.text-center {
    text-align: center
}

.text-left {
    text-align: left
}

.text-small {
    font-size: .8em
}

.text-xsmall {
    font-size: .6em
}

.text-large {
    font-size: 1.2em
}

.text-xlarge {
    font-size: 1.4em
}

.text-underline {
    text-decoration: underline
}

.text-ultralight {
    font-weight: 200
}

.text-light {
    font-weight: 300
}

.text-regular {
    font-weight: 400
}

.text-medium {
    font-weight: 500
}

.text-bold {
    font-weight: 700
}

.text-black {
    font-weight: 900
}

blockquote {
    font-weight: 500;
    padding: 10px;
    border: 1px dashed #666
}

.mainbox {
    width: 100%;
    background-color: #efefef;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #ff3
}

.mainboxnegativ {
    width: 100%;
    background-color: #000;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #ff3;
    color: #f9f9f9
}

.mainbox2 {
    font-size: 1em;
    width: 90%;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px
}

.mainbox3 {
    width: 100%;
    background-color: #b8b8b8;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #bd70ff
}

.mainbox2negativ {
    font-size: 1em;
    color: #f9f9f9;
    background-color: #000;
    padding-right: 20px
}

.farsiparagraph {
    font-size: 1em;
    width: 47%;
    float: right;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px
}

.englishparagraph {
    font-size: 1em;
    width: 47%;
    float: left;
    direction: ltr;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px
}

.rightbox {
    width: 60%;
    padding-right: 20px;
    padding-left: 5px;
    float: right;
    margin-left: 10px;
    margin-bottom: 0;
    min-width: 0;
    background-color: #f7f7f7
}

.titelbox {
    width: 60%;
    padding-right: 25px;
    padding-left: 0;
    float: right;
    margin-left: 10px;
    margin-bottom: 0;
    min-width: 0;
    background-color: #f2f2f2;
    color: #4b4b4b
}

.lefttbox {
    padding-right: 20px;
    padding-left: 4px;
    float: right;
    margin-bottom: 10px;
    min-width: 0
}

.alphabet {
    width: 35%;
    float: left;
    font-size: 21em;
    text-align: center;
    font-weight: 500;
    color: #999
}

.alphabet2 {
    width: 35%;
    float: left;
    direction: ltr;
    font-size: 1.6em;
    text-align: left;
    font-weight: 500;
    color: #333;
    margin-top: 100px
}

.footer {
    font-weight: 300;
    font-size: .7em;
    text-align: center;
    direction: ltr;
    margin-bottom: 0;
    padding-bottom: 0
}

.woocommerce div.product .images {
    direction: ltr;
}

.matn-header span {
    font-family: IranNastaliq !important;
    font-weight: 300;
    font-size: 22px;
}


/*-------------------------------------------*/
.l-canvas {
    background-color: #f2f2f2 !important;
}
.title_center {
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    justify-items: center;
}
.title_center > span:nth-child(2) {
    font-family: 'BYekan', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size:1.5em;
}
.title_center > div:nth-child(1), .title_center > div:nth-child(3){
    height:6px;
    width: 39%;
    border-bottom: 1px solid #0A1F4A;
    border-top: 1px solid #0A1F4A;
    margin-top: 16px;
}

.title_center > div:nth-child(1) {
    margin-left: 0.5em;
}

.title_center > div:nth-child(3) {
    margin-right: 0.5em;
}

#exTab1 .nav-pills {
    margin-top: 1em;
    display: flex;
    justify-content: flex-start;
}
#exTab1 .tab-content {
    color : white;
    padding : 5px 15px;

}

#exTab2 h3 {
    color : white;
}

/* remove border radius for the tab */
#exTab1 .nav-pills > li {
    background:#ebeaea ;
}

li{
    margin: 0 !important;
}

#exTab1 .nav-pills > li > a {
    border-radius: 0;
    font-weight: bold;
    padding: 10px 68px !important;
}

#exTab1 .nav-pills > li > a:hover {
    /*background-color: #ebeaea;*/
}

#exTab1 .nav-pills > li {
    margin-left: 1px !important;
    direction: rtl;
}

#exTab1 .nav-pills > li > a > i {
    color: red;
    margin-left: 0.3em;
}
#exTab1 .nav-pills > li.active > a {
    border-top: 3px solid red;
    background-color: #0D2B67 !important;
}
#exTab3 .nav-pills > li > a {
    border-radius: 4px 4px 0 0 ;
}

#exTab3 .tab-content {
    color : white;
    padding : 5px 15px;
}

/*----------------------------------------*/
.tab-pane.active {
    display: flex !important;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.tab-pane > .box-news{
    width:25%;
    cursor: pointer;
    height: 350px;
    background-color: #fff;
    margin-left: 2em;
    margin-top: 2em;
    position: relative !important;
    border-radius: 0.5em;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.tab-pane > .box-news:hover {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.tab-pane > .box-news > .title {
    font-size: 1em;
    font-weight: bold;
    padding-right: 1em;
    margin-top: 1.5em;
}

.tab-pane > .box-news > .title > a {
    color: #0A1F4A;
    text-decoration: none;
}
.tab-pane > .box-news > .title > a:hover {
    color: red;
}
.tab-pane > .box-news > img {
    height: 258px;
    width: 100%;
}
.tab-pane > div:nth-child(3) {
    width:43%;
    margin-left: 0;
}
.tab-pane > div:nth-child(3) > img, .tab-pane > div:nth-child(4) > img {
    width: 100%;
    height: 100%;
}
.tab-pane > div:nth-child(3) > .title, .tab-pane > div:nth-child(4) > .title {
    width: 80%;
    padding: 1em 2em;
    background-color: #fff;
    position: absolute;
    bottom: 3em;
    right: -13px;
    z-index: 1;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.tab-pane > div:nth-child(3) > .title:after, .tab-pane > div:nth-child(4) > .title:after {
    content: "";
    position: absolute;
    display: inline-block;
    z-index: 1;
    bottom: -8px;
    right: 4px;
    width: 0;
    border-width: 9px;
    border-style: solid;
    transform: rotate(45deg);
    border-color: transparent #9d9d9d transparent transparent !important;
}

.tab-pane > div:nth-child(3) > .date, .tab-pane > div:nth-child(4) > .date {
    display: none;
}
.tab-pane > div:nth-child(4) {
    width:43%;
}

.tab-pane > div:nth-child(6) {
    margin-left: 0;
}
/*-----------------------------------------*/
.tab-pane > .box-news > .date , .box-event > .event > .date {
    background-color: #0A1F4A;
    color: #fff;
    padding: 0.4em;
    position: absolute;
    bottom:89px;
    right: -12px;
}

.tab-pane > .box-news > .date:after, .box-event > .event > .date:after{
    content: "";
    position: absolute;
    display: inline-block;
    z-index: 1;
    bottom: -9px;
    right: 4px;
    width: 0;
    border-width: 9px;
    border-style: solid;
    transform: rotate(45deg);
    border-color: transparent #337ab7 transparent transparent !important;
}

.move-content {
    width: 100%;
    margin-top: 2em;
    display: flex;
    justify-content: center;
}

.move-content > a {
    width: 200px;
    padding: 1em;
    background-color: #0A1F4A;
    color:#fff;
    text-align: center;
    cursor: pointer;
    border-radius: 0.5em;

}

.move-content > a:hover {
    background-color: #337ab7;
    transition: ease-out 2s ;
    text-decoration: none;
}


/*----------------------------------------------------------*/

.container-event {
    background-color: #ebeaea;
}

.box-event {
    display: flex;
    flex-wrap: wrap;
}

.box-event > .event {
    width: 280px;
    height: 400px;
    background-color: #fff;
    margin-left: 1em;
    margin-bottom: 1em;
    border-radius: 0.5em;
    cursor: pointer;
    position: relative;

}
.box-event > .event:hover {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: ease-out 2ms ;
}
.box-event > .event > .title {
    padding-right: 1em;
    font-weight: bold;
    font-size: 1em;
    margin-top: 4em;
}

/*-------------------------------------------------*/

.widget {
    display: flex;
}

.widget > .item {
    width: 380px;
    padding: 1em;
    margin-left: 1em;
    border-radius: 0.5em;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.widget > .item > .title:after {
    content: "";
    position: absolute;
    display: inline-block;
    z-index: 1;
    bottom: -8px;
    right: 4px;
    width: 0;
    border-width: 9px;
    border-style: solid;
    transform: rotate(45deg);
    border-color: transparent #337ab7 transparent transparent !important;
}

.widget > .item > .title{
    background-color: #0A1F4A;
    color: #fff;
    padding: 0.5em;
    position: absolute;
    top:10px;
    right: -12px;
}

.widget > .item > ul {
    margin-top:3em;
    /*display: flex;*/
    /*flex-wrap: wrap;*/
}

.widget > .item > ul > li {
    padding: 0.3em;
    list-style: inside;
}
.widget > .item > ul > li > a {
    color: #0A1F4A;
    font-size: 1em;
    font-weight: bold;
}

.widget > .item > ul > li > a:hover {
    color: red;
}

/*---------------------------------------------------*/

.w-grid-item-h {
    position: relative;
    height: 100%;
    background-color: #fff;
    border-radius: 0.5em;
}

.usg_hwrapper_2 > .date {
    margin-top: 15px;
    position: absolute;
    left: -116px;
}