@font-face {
	font-family:'Glyphicons Halflings';
	src:url(../Fonts/FontIcon.eot);
	src:url(../Fonts/FontIcon.eot?#iefix) format("embedded-opentype"),
		url(../Fonts/FontIcon.woff) format("woff"),
		url(../Fonts/FontIcon.ttf) format("truetype")
}
@font-face {
	font-family:'SDF';
	src:url(../Fonts/IRANSansUltraLight.eot);
	src:url(../Fonts/IRANSansUltraLight.eot?#iefix) format("embedded-opentype"),
		url(../Fonts/IRANSansUltraLight.woff) format("woff"),
		url(../Fonts/IRANSansUltraLight.ttf) format("truetype");
	font-weight:400
}
@font-face {
	font-family:'SDF';
	src:url('../Fonts/IRANSansLight.eot');
	src:url('../Fonts/IRANSansLight.eot?#iefix') format("embedded-opentype"),
		url('../Fonts/IRANSansLight.woff') format("woff"),
		url('../Fonts/IRANSansLight.ttf') format("truetype");
	font-weight:500
}
@font-face {
	font-family:'SDF';
	src:url('../Fonts/IRANSansMedium.eot');
	src:url('../Fonts/IRANSansMedium.eot?#iefix') format("embedded-opentype"),
		url('../Fonts/IRANSansMedium.woff') format("woff"),
		url('../Fonts/IRANSansMedium.ttf') format("truetype");
	font-weight:700
}

/*@font-face {
    font-family: "SDF";
    src: url('../Fonts/BMitra.eot?#') format('eot'), url('../Fonts/BMitra.woff') format('woff'), url('../Fonts/BMitra.ttf') format('truetype');
}*/

/*@font-face {
    font-family: 'BMitra';
    src: url('../Fonts/BMitra.eot?#') format('eot'), url('../Fonts/BMitra.woff') format('woff'), url('../Fonts/BMitra.ttf') format('truetype');
}*/

@font-face {
    font-family: 'Berlin Sans FB';
    font-family: 'BRLNSB';
    src: url('../Fonts/BRLNSB.TTF') format('truetype');
}
/*body{font-family: "SDF",Tahoma,Helvetica,Arial,sans-serif; direction:rtl;}*/
body {
    font-family: 'SDF' !important;
    direction: rtl;
    /*font-size: 1.3rem;*/
    font-size: .95rem;
}

.PageViewContent *{
    line-height: 1.8rem !important;
}

#header-topbar .topContact {
    text-align: right !important;
}

#header-topbar .topMember {
    text-align: left !important;
}

.navbar .acount {
    float: left;
}

#page {
    direction: rtl
}

.list-inline {
    padding-right: 0;
    padding-left: initial;
    margin-right: 5px;
    margin-left: 0;
}

legend {
    text-align: right !important;
    direction: rtl;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        right: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: left;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 5px 5px 0;
        border-right-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.font-weight-bold {
    /*color: #8fba24 !important;*/
    /*color: #d2efd2 !important;*/
    color: #999 !important;
}

p, h1, h2, h3, h4, h5, h6, span, div {
    text-align: right !important;
}

.mypaddingtop {
    padding-top: 6.25rem !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">" !important;
    /*content: "\f104" !important;*/
    padding-left: 0.5rem;
}

.pull-left {
    float: left !important;
}

.margin-top70 {
    margin-top: 70px;
}

.dropdown-menu {
    margin: 0px;
    padding: 1rem 2.5rem !important;
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 4rem rgba(22,28,45,.15);
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    -webkit-transform: translate(0%, 0px);
    transform: translate(0%, 0px);
}

.dropdown-item {
    /*font-size: 1.2rem;*/
    padding-top: .8rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

a.w-100 {
    text-decoration: none !important;
}

.mr-auto-right {
    margin-right: auto !important;
}

.spanPageAbsIndex {
    min-height: 50px !important;
}

#txtsearch, #txtsEmailKhabarname {
    /*height: 70px !important;
    font-size: 2rem !important;*/
    height: 50px !important;
    font-size: .9rem !important;
}

    #txtsearch::-webkit-input-placeholder, #txtsEmailKhabarname::-webkit-input-placeholder {
        color: #a4b96f;
    }

    #txtsearch:focus, #txtsEmailKhabarname:focus {
        border-color: #7a1840;
    }

#btnsearchPages, #btnsRegisterInKhabarname {
    /*height: 70px;
    font-size: 1.5rem;
    padding: 15px 30px;*/
    height: 50px;
    font-size: .9rem;
    padding: 12px;
}

@media only screen and (min-width: 1200px) {
    .Mega {
        width: 1200px;
        background-image: url('/assets/images/brain-SalmejCore.png');
        background-repeat: no-repeat;
        height: 300px !important;
        right: -310px;
        background-size: contain;
    }

        .Mega > .dropdown-item {
            width: 25% !important;
            display: inline-block;
        }

        .dropdown-item:hover {
            opacity: .8;
        }
}

@media only screen and (max-width: 1200px) {
    .dropdown-menu {
        padding: 0 !important;
    }
    .navbar-nav .dropdown-menu {
         /*position: inherit !important;*/ 
    }
    .GalleryPreview{
        display:none;
    }
}
.imgGalleryPreview{
    width:100%;
}
.PostPicDel {
    position: relative;
    right: -60px;
}
.topicLink {
    text-decoration: none !important;
    font-size: 1rem !important;
    color: black;
}
.topicLink:hover {
    color:grey;
}
.Description {
    color: #888 !important;
    display: inline-block;
    margin-top: 20px;
    font-size: .8rem !important;
    font-family: 'B Yekan';
}
    .Description:hover {
        color: black !important;
        display: inline-block;
        margin-top: 20px;
        font-size: .8rem !important;
        font-family: 'B Yekan';
    }
.TopicStat {
    color: #888 !important;
    display: inline-block;
    font-size: .8rem !important;
    font-family:'B Yekan';
}
.ForumPostPic {
    width: 70% !important;
}
.iPadding {
    padding: 10px !important;
}
.hide{
    display:none !important;
}