﻿@font-face {
    font-family: 'iransansweb';
    src: url('fonts/iransansweb.eot') format('embedded-opentype'), url('fonts/iransansweb.ttf') format('truetype'), url('fonts/iransansweb.woff') format('woff'), url('fonts/iransansweb.woff2') format('woff2');
}

:root {
    --arianam-color: #BC2E31;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'iransansweb','IRANSansWeb(FaNum)','B Yekan';
    padding-top: 50px;
    padding-bottom: 0px;
}

header {
}

    header.fixed-top {
        box-shadow: 0 0 10px rgba(0,0,0,.4);
    }

    header.border-top {
        border-top: 4px solid #BC2E31 !important;
    }

    header .social-media {
        font-size: 14px;
        color: #BC2E31;
    }

        header .social-media a {
            color: #BC2E31;
            padding: 5px;
            transition: .2s;
        }

            header .social-media a:hover {
                background: #BC2E31;
                color: #ffffff;
                transition: .4s;
            }

footer {
    padding-top: 100px;
    padding-bottom: 100px;
}

a {
    text-decoration: none;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.badge-primary {
    color: var(--arianam-color) !important;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

a:hover {
    text-decoration: none;
}

th {
    text-align: right;
}

.mainHeaderWrap {
    background-color: white;
    border-top: 4px solid #BC2E31 !important;
}



.SocialNetwork {
    font-size: 20px;
}

    .SocialNetwork > ul > li > a {
        padding: 6px;
        color: #BC2E31;
    }

        .SocialNetwork > ul > li > a:hover {
            color: white;
            background-color: #BC2E31;
        }



/*.navbar-nav {
    float: right;
}*/

/*.navbar-nav > li {
        float: right;
    }*/

.loginPartial {
    font-size: 11px;
}

    .loginPartial > ul > li > a {
        padding: 6px;
        color: #323232;
    }

        .loginPartial > ul > li > a:hover {
            color: #BC2E31;
        }

        .loginPartial > ul > li > a > span {
            padding-left: 8px;
            padding-right: 8px;
        }

.loginPartialIcon {
    width: 14px;
    color: #BC2E31;
    transition: color .5s;
}

a {
    color: #222;
}

.mainNavImg {
    height: 28px;
    width: 28px;
}

.carouselIcon {
    position: absolute;
    top: 50%;
    color: #BC2E31;
}

.map {
    background: url('../Images/MapBW.jpg') top center;
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    height: 385px;
}

.bg-dark {
    background-color: #333;
    color: #EEE;
}

.bg-contact {
    background-color: #34495e;
    border-top: 4px solid #BC2E31;
    padding-top: 15px;
    padding-bottom: 25px;
}

.well-contact {
    color: #333;
}

.object-inline > * {
    display: inline-block;
    min-width: 15px;
    vertical-align: top;
    white-space: normal;
    margin-left: 10px;
}

.list-footer-contact-info {
    margin-right: -40px;
    list-style: none;
}

.list-footer-contact-img {
    width: 16px;
}

.footer-nav {
    margin-right: -40px;
}

    .footer-nav > li > a {
        color: #fff;
    }

        .footer-nav > li > a:hover {
            background-color: transparent !important;
            color: #BC2E31;
        }

.home-social-img-thumbnail {
    border-color: #fff;
}

.home-social-content {
    color: #BC2E31;
    padding-bottom: 25px;
    padding-top: 40px;
}

.home-social-icon {
    color: #BC2E31;
}

    .home-social-icon > a {
        color: #BC2E31;
        font-size: 22px;
    }

.home-facebook {
    transition: 1s;
}

    .home-facebook:hover {
        background-color: #4867aa !important;
        color: #fff;
    }

.home-linked-in {
    transition: 1s;
}

    .home-linked-in:hover {
        background-color: #0077b5 !important;
        color: #fff;
    }

.home-twitter {
    transition: 1s;
}

    .home-twitter:hover {
        background-color: #1da1f2 !important;
        color: #fff;
    }

.home-youtube {
    transition: 1s;
}

    .home-youtube:hover {
        background-color: #e02927 !important;
        color: #fff;
    }

.home-google-plus {
    transition: 1s;
}

    .home-google-plus:hover {
        background-color: #db4437 !important;
        color: #fff;
    }

.home-instagram {
    transition: 1s;
}

    .home-instagram:hover {
        background-color: #BC2E31 !important;
        color: #fff;
    }

.home-work-whit-us {
    padding-top: 35px;
    padding-bottom: 20px;
}

.home-work-whit-us-content {
    padding-top: 30px;
}

    .home-work-whit-us-content > h3 {
        margin-bottom: 25px;
    }

    .home-work-whit-us-content > h4 {
        margin-bottom: 32px;
    }

.home-work-whit-us-thumbnail {
    background-color: transparent;
    border-color: transparent;
}

.contact-article {
    border-left: 1px solid #ddd;
    margin-top: 2F2px;
    margin-bottom: 8px;
}

.contact-icon {
    width: 48px;
}

.contac-form-control {
    max-width: 100%;
    margin-bottom: 15px;
}

.title {
    padding-bottom: 10px;
    border-bottom: 2px solid #BC2E31;
    margin-bottom: 25px;
}

.teachers {
    padding-top: 20px;
    padding-bottom: 25px;
}

.teacher {
    background-color: #fff;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

    .teacher:hover {
        background-color: #BC2E31;
        color: #fff;
    }

        .teacher:hover > a > img {
            padding: 0px;
        }


.teacher-img {
    padding: 4px;
    border: 0px solid #fff;
    border-radius: 0px;
    transition: .3s;
}

.teacher-title {
    background-color: #fff;
}



.login-panel {
    padding: 40px;
}

.login-panel-header {
    padding-bottom: 25px;
}

.login-form-control {
    margin-top: 10px;
    max-width: 100%;
    border-radius: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: Arial;
    font-size: 16px;
    font-weight: 600;
    color: #777;
}
/*large*/
@media (min-width: 1200px) {
    .login-page {
        padding-top: 140px;
        padding-bottom: 140px;
    }
}

/*medium*/
@media (min-width: 992px) {
    .login-page {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}

/*smal*/
@media (min-width: 768px) {
    .login-page {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .login-panel {
        padding: 20px;
    }
}

.checkbox label {
    padding-left: 0px;
    padding-right: 20px;
}


.nav-admin {
    background-color: #34495e;
    /*padding-top: 4px;*/
}

.nav-admin-content {
    padding: 20px;
}

.nav-admin-content-itm {
}

    .nav-admin-content-itm:hover {
        text-decoration: none;
    }

.nav-admin-itm {
    padding-bottom: 4px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    color: #eee;
    font-size: 10px;
}

    .nav-admin-itm:hover {
        background-color: #eee;
        text-decoration: none;
        color: #BC2E31;
    }

    .nav-admin-itm:focus {
        background-color: #BC2E31;
        text-decoration: none;
        color: white;
    }

    .nav-admin-itm > img {
        width: 20px;
        height: 28px;
    }

.sticky {
    box-shadow: 0 0 10px rgba(0,0,0,.4)
}

.navbar {
    border: 0px solid #fff;
    border-radius: 0px;
    margin-bottom: 0px;
    z-index: 100;
}

.dl-horizontal dt {
    float: right;
}

.form-control {
    padding: 4px 12px;
}

.form-horizontal .control-label {
    text-align: left;
}

.home-exhibit {
    padding-top: 20px;
}

    .home-exhibit > ul {
        padding-top: 20px;
        padding-right: 60px;
        color: #BC2E31;
        margin-bottom: 25px;
    }

.home-exhibit-header {
    padding-bottom: 15px;
    padding-top: 20px;
}

.lab-ind-section {
    padding-top: 100px;
    padding-bottom: 65px;
    background-image: url('../Images/DSC_0409-e01.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*height: 400px;*/
}

.lab-ind-item {
    background-color: rgba(255,255,255,0.85);
    padding-top: 5px;
    padding-bottom: 15px;
    padding-left: 5px;
    padding-right: 5px;
    /*height: 190px;*/
    margin-bottom: 5px;
    transition: .3s;
}

    .lab-ind-item:hover {
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0,0,0,.4)
    }

.form-panel {
    border: 1px solid #AAA;
    box-shadow: 0 0 10px rgba(0,0,0,.4);
    padding: 10px;
    margin-bottom: 15px;
}

.dropdown-menu {
    left: unset;
    right: 0;
    border-radius: unset;
    background-color: #BC2E31;
    color: white;
    border: unset;
    opacity: 0.9;
    text-align: right;
    width: max-content;
}

    .dropdown-menu > li > a {
        color: white !important;
    }

.audit-section {
    background: url('../Images/Fotolia_67761866_Subscription_Monthly_M.jpg') center;
    background-attachment: fixed;
    background-size: cover;
}

.audit-section-content {
    padding-top: 18px;
    padding-bottom: 18px;
    margin-left: -15px;
    margin-right: -15px;
    background: rgba(0,0,0,.5);
    color: white;
    text-shadow: 2px 2px 4px #333;
    /*height: 300px;*/
}

.audit-section-content-text {
    padding-left: 20px;
    padding-right: 20px;
    top: 12%;
    color: white;
    line-height: 45px;
}

.on-image {
    background: rgba(0,0,0,.5);
    color: white;
    text-shadow: 2px 2px 4px #333;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
    margin-left: unset;
    margin-right: -20px;
}

.lab-sub-cat {
    background-color: white;
    border: 1px solid #DDD;
    margin-bottom: 5px;
    transition: 0.5s;
}

    .lab-sub-cat:hover {
        box-shadow: 0 0 10px rgba(0,0,0,.4);
        border: 1px solid #FFF;
    }

.info-car {
    border: 1px solid #DDD;
    transition: 0.5s;
}

@media (min-width: 1200px) {
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        float: right;
    }

    .col-lg-offset-12 {
        margin-right: 100%;
        margin-left: unset;
    }

    .col-lg-offset-11 {
        margin-right: 91.66666667%;
        margin-left: unset;
    }

    .col-lg-offset-10 {
        margin-right: 83.33333333%;
        margin-left: unset;
    }

    .col-lg-offset-9 {
        margin-right: 75%;
        margin-left: unset;
    }

    .col-lg-offset-8 {
        margin-right: 66.66666667%;
        margin-left: unset;
    }

    .col-lg-offset-7 {
        margin-right: 58.33333333%;
        margin-left: unset;
    }

    .col-lg-offset-6 {
        margin-right: 50%;
        margin-left: unset;
    }

    .col-lg-offset-5 {
        margin-left: 41.66666667%;
        margin-left: unset;
    }

    .col-lg-offset-4 {
        margin-right: 33.33333333%;
        margin-left: unset;
    }

    .col-lg-offset-3 {
        margin-right: 25%;
        margin-left: unset;
    }

    .col-lg-offset-2 {
        margin-right: 16.66666667%;
        margin-left: unset;
    }

    .col-lg-offset-1 {
        margin-right: 8.33333333%;
        margin-left: unset;
    }

    .col-lg-offset-0 {
        margin-right: 0;
        margin-left: unset;
    }
}

.popover {
    max-width: unset !important;
    font-family: inherit;
}

.input-group .form-control {
    float: right !important;
}

.input-group-addon, .input-group-btn {
    width: unset !important;
}

    .input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .input-group-addon:last-child {
        border-left: 1px solid #ccc;
        border-right: 0;
    }

    .input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

.home-about {
    background: url('../Images/about-s03.jpg') center;
    background-attachment: fixed;
    background-size: cover;
    padding-top: 35px;
    padding-bottom: 35px;
}

.home-news-item {
    border: 1px solid #eee;
}

.home-news-text {
    height: 2.75em;
    overflow: hidden;
    margin-bottom: 5px;
    text-align: justify;
}

.event {
    border: 1px solid #AAA;
    box-shadow: 0 0 10px rgba(0,0,0,.4);
    padding: 0px;
    opacity: 1;
    margin: 32px;
    margin-bottom: 15px;
    transition: 0.3s;
}

    .event:hover {
        margin: 0;
        margin-bottom: 15px;
        border: 1px solid #BC2E31 !important;
    }

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.lab-test {
    padding-top: 10px;
    padding-bottom: 12px;
}

.lab-test-header {
    border-top: 1px solid #AAA;
    border-bottom: 1px solid #AAA;
    border-left: 1px solid #AAA;
    background: #EEE;
    font-family: IRANSans;
}

.lab-test-header-right {
    border-right: 1px solid #AAA;
}

.lab-test-item {
    /*border-top: 1px solid #AAA;*/
    border-bottom: 1px solid #AAA;
    border-left: 1px solid #AAA;
    background: #C8E6F5;
    font-family: IRANSans;
}

.lab-test-item-right {
    border-right: 1px solid #AAA;
}

/*Gallery Modal*/
/* The Modal (background) */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 101;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */
.gallery-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

/* The Close Button */
.gallery-close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

    .gallery-close:hover,
    .galleryclose:focus {
        color: #999;
        text-decoration: none;
        cursor: pointer;
    }

.gallery-mySlides {
    display: none;
}

.gallery-cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.gallery-prev,
.gallery-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.gallery-next {
    left: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .gallery-prev:hover,
    .gallery-next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

/* Number text (1/3 etc) */
.gallery-numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

gallery-img {
    margin-bottom: -4px;
}

.gallery-caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

.gallery-demo {
    opacity: 0.6;
}

    .gallery-active,
    .gallery-demo:hover {
        opacity: 1;
    }

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.bg-customer {
    background-image: url('../Images/45degreee_fabric.png');
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-customer {
    width: 100px;
    height: 120px;
    padding-bottom: 20px;
    float: right;
    padding-left: 5px;
}

/*Main Style*/



ul {
    padding-right: 0px;
}


/*Class*/
.bg-light {
    background-color: #ececef !important;
}

.bg-primary {
    background-color: var(--arianam-color) !important;
}

.btn-primary {
    background-color: var(--arianam-color) !important;
    border-color: var(--arianam-color) !important;
    opacity: 0.75;
    transition: opacity .5s ease;
}

    .btn-primary:hover {
        border-color: var(--arianam-color) !important;
        opacity: 1;
    }

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand h1 {
    color: #BC2E31;
    font-size: 16px;
    display: inline;
}

.navbar-nav {
    flex-direction: row;
}

    .navbar-nav.main > li {
        transition: 0.35s;
    }

        .navbar-nav.main > li:hover {
            box-shadow: inset 0 -4px 0 #BC2E31;
            background-color: #ececef;
        }

    .navbar-nav.main .active {
        box-shadow: inset 0 -4px 0 #BC2E31;
        background-color: #ececef;
    }

@media (min-width: 576px) {
}

.navbar-toggler {
    color: #BC2E31 !important;
    border: 0;
}

    .navbar-toggler:focus {
        outline: 0 !important;
        box-shadow: unset !important;
    }


.inner {
    overflow: hidden;
}

    .inner img {
        transition: all .5s ease;
    }

.card:hover .inner img {
    transform: scale(1.01);
}

.page-item.active .page-link {
    background-color: var(--arianam-color);
    border-color: var(--arianam-color);
}

.page-link {
    color: var(--arianam-color);
}

.search-form .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.search-form input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    font-size: 10px;
}

    .search-form input:focus {
        box-shadow: unset;
    }

.search-form button {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    font-size: 12px;
    margin-right: -5px !important;
    height: 29px;
}

.tooltip {
    font-family: 'iransansweb','IRANSansWeb(FaNum)','B Yekan' !important;
}

.img-social-network-public {
}

.social-networks-wrapper {
    text-align: right;
}

    .social-networks-wrapper a {
        width: 56px;
        height: 56px;
        border-radius: 25px;
        display: inline-block;
        background-color: var(--arianam-color);
        padding: 13px;
    }

        .social-networks-wrapper a:hover {
            background-color: #BCAE2E;
            transition: all;
            transition-duration: .5s;
        }

.contact-map {
    width: 100%;
    height: 380px;
    border: 0;
    margin-bottom: -7px;
}

.customers-container {
    padding-top: 150px;
    padding-bottom: 150px;
    /*background-image: url('../images/undraw_customer_survey_re_v9cj.svg');*/
}

.customers-container-image {
}

.customer-logo {
    width: 90px;
}

.card-img-right {
    border-radius: 0 0.25rem 0.25rem 0;
}

.inner {
    overflow: hidden;
}

    .inner img {
        transition: all .7s ease;
    }

.card:hover .inner img {
    transform: scale(1.2);
    opacity: 0.8;
}

.show-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.card {
    border-radius: 0.5rem;
}

.post-card-body {
    height: 10rem;
}

.home-post-card-body {
    height: 12rem;
}

.card-img, .card-img-top {
    border-top-left-radius: calc(.5rem - 1px);
    border-top-right-radius: calc(.5rem - 1px);
}

.card-title {
    margin-bottom: 1.25rem;
}

.card-text {
    text-align: justify;
}

.post-caption {
    font-size: smaller;
    color: gray;
    margin-top: 10px;
}


.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .error-page h1 {
        color: #BC2E31;
        font-size: 8rem;
        line-height: 1;
    }

    .error-page h2 {
        color: #333;
    }

.back-home-btn {
    background-color: #BC2E31;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease-in-out;
}

    .back-home-btn:hover {
        background-color: #a02729;
        color: #fff;
    }

.gallery-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .gallery-card img {
        transition: transform 0.4s ease;
        object-fit: contain;
        height: 250px;
        width: 100%;
    }

    .gallery-card:hover img {
        transform: scale(1.05);
    }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 15px;
    text-align: center;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

textarea {
    max-width: 100%;
}
