﻿:root {
    --master: #0057d6;
    --slave: #d63131;
    --gray: #808080;
    --lightgray: #f2f2f2;
    --bgLightBlue: #f4f5fe;
    --bgInterior: #ffffff;
    --border: #e8e5e5;
    --radius: 7px;
}

body, th, td, table, h1, h2, h3, h4, h5, h6,
a:link, a:visited, a:hover, p, ul, ol, h1, h2, h3, a, a p, div, li, ul {
    font-size: 18px;
    line-height: 200%;
}

body {
    background-color: var(--bgLightBlue) !important;
}

/*--------------------- tag a, content style---------------------*/
.globalMargin {
    margin-left: 3%;
    margin-right: 3%;
}

.site_title {
    background-color: white !important;
    color: var(--gray);
    width: 100%;
    margin-top: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.contentStyle {
    background-color: var(--bgInterior);
    padding: 3%;
    border-radius: var(--radius);
    margin-top: 2%;
    margin-bottom: 2%;
    font-size: 19px;
    line-height: 210%;
}

.interrior {
    min-height: 400px;
}

.contentStyle a:not(.btnMaster):not(.btnSlave), .contentStyle a:active, a, a:active {
    color: var(--master);
    text-decoration: none !important;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
}

.contentStyle:hover {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.contentStyle a:hover:not(.btnMaster):not(.btnSlave), a:hover {
    color: #000000 !important;
}



.contentStyle ul li, .contentStyle ol li {
    margin-right: 3%;
    margin-left: 3%;
}

.contentStyle p {
    margin: 0;
    text-align: justify;
}

h1 {
    margin: 0 !important;
    font-size: 32px;
}

h2 {
    margin: 0 !important;
    font-size: 24px;
}

h3 {
    margin: 0 !important;
    font-size: 22px;
    font-weight: bold;
}

img {
    max-width: 100% !important;
}







/*--------------------- Youtube Loader ---------------------*/
#progress {
    position: fixed;
    z-index: 999999999;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--slave);
    width: 0;
}

/*--------------------- Smooth to top ---------------------*/
.scrollup i {
    font-size: 40px;
}

.scrollup {
    width: 66px;
    height: 67px;
    opacity: 0.6;
    position: fixed;
    bottom: 70px;
    right: 3%;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    z-index: 1;
}

    .scrollup:hover {
        bottom: 80px;
        opacity: 1;
    }



/* ============================================================
  parallex image
============================================================ */

section.module.parallax {
    height: 300px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-color: var(--master);
}

section.module.parallax-1 {
    background-image: url('../img/parallax_image.png');
}

section.module.parallax .carousel-indicators .active {
    background-color: var(--slave) !important;
}

.carousel-indicators li {
    margin: 1px !important
}


#Activities .carousel-inner .item {
    text-align: center;
    min-height: 150px;
    height: 100%;
}

#NewsCarousel .carousel-inner .item {
    text-align: center;
    min-height: 180px;
    height: 100%;
}

#NewsCarousel .carousel-indicators li {
    border: 1px solid var(--gray);
}

#NewsCarousel .carousel-indicators .active {
    background-color: var(--master) !important;
}



/***********************
********* Footer ******
************************/
.footer_symbol {
    background-image: url('../img/footer_symbol_bg.png');
    text-align: center;
    width: 100%;
    margin-top: 100px;
}

.under_footer_symbol h3 {
    background-color: var(--master);
    color: #ffffff;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left:3%;
    padding-right:3%;
}

.footerBg, .copyrightBg {
    background-color: #2d2d2f;
}

.copyrightBg {
    border-top: 15px solid black;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    color: var(--gray);
    font-size: 90%;
}

.footerParent i {
    color: var(--slave);
    margin-left: 5px;
}

.footerParent {
    display: table;
    min-height: 400px;
    vertical-align: central;
    direction: rtl;
}


.cel1, .cel2, .cel3 {
    width: 33%;
    display: table-cell;
    vertical-align: top;
    padding-top: 50px;
    text-align: right;
}

.cel1, .cel2 {
    padding-left: 50px;
}

.footerTitle, .footerTitle a {
    color: #ffffff;
    font-size: 22px !important;
    font-weight: bold;
    text-align: right;
    width: 100%;
}

.footerTitle {
    border-bottom: 1px solid #ffffff;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.footerContent, .footerContent a {
    color: var(--gray) !important;
    margin-right: 10px;
}

    .footerContent a:hover, .footerTitle a:hover {
        color: var(--slave) !important;
    }



@media all and (max-width: 500px) {
    .cel1, .cel2, .cel3 {
        display: block;
        width: 100%;
    }
}


.boxsuppliers {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: var(--radius);
    padding: 10px;
    max-width: 100%;
}

    .boxsuppliers img {
        max-width: 150px;
        max-height: 150px;
        padding-bottom: 10px;
    }

@media all and (max-width: 500px) {
    .boxsuppliers {
        width: 100%;
        margin-right: 0 !important;
    }
}

.modalheader {
    background-color: var(--master);
    color: #FFF !important;
}

    .modalheader h4 {
        color: #FFF !important;
    }

.modal-body {
    max-height: 80vh;
    overflow-y: auto;
}






/* YOUR CSS simplified */
.carousel-inner > .item > img, .carousel-inner > .item > a > img {
    display: block;
    height: auto;
    width: 100%;
    line-height: 1;
}

/*Bootstrap Carousel Fade Transition (for Bootstrap 3.3.x)*/
.carousel-fade .carousel-inner .item {
    opacity: 0;
    transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
}

    .carousel-fade .carousel-inner .active.left,
    .carousel-fade .carousel-inner .active.right {
        left: 0;
        opacity: 0;
        z-index: 1;
    }

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-control {
    z-index: 2;
}

/*WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

        .carousel-fade .carousel-inner > .item.next.left,
        .carousel-fade .carousel-inner > .item.prev.right,
        .carousel-fade .carousel-inner > .item.active {
            opacity: 1;
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }
}





/*------------- ADV register Login-----------------------*/
.loginbox {
    display: block;
    width:40%;
    text-align: center;
    background-color: white;
    background-color: var(--bgInterior);
    padding: 2%;
    border-radius: var(--radius);
    margin-top: 2%;
    margin-bottom: 2%;
    font-size: 19px;
    line-height: 210%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}




@media all and (max-width: 800px) {
    .loginbox {
        width: auto;
    }


}


/*--------------------- login pulse ---------------------*/
.pulse {
    border-radius: 50%;
    animation: pulse 1s infinite;
}

    .pulse:hover {
        animation: none;
    }


@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(214,49,49, 0.4);
    }

    70% {
        -webkit-box-shadow: 0 0 0 12px rgba(214,49,49, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(214,49,49, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(214,49,49, 0.4);
        box-shadow: 0 0 0 0 rgba(214,49,49, 0.4);
    }

    70% {
        -moz-box-shadow: 0 0 0 16px rgba(214,49,49, 0);
        box-shadow: 0 0 0 16px rgba(214,49,49, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(214,49,49, 0);
        box-shadow: 0 0 0 0 rgba(214,49,49, 0);
    }
}




/*============================================= persian form label ==========================================*/

/*--------------------- textbox|drp|checkbox ---------------------*/
.required::after {
    color: red;
    font-size: 14pt;
    font-weight: bold;
    content: ' *';
}

.field input[type='text'], .field input[type='number'], .field input[type='date'], .field input[type='password'], .field textarea {
    border: 0;
    border: 1px solid var(--gray);
    border-radius: 5px;
    padding: 10px;
    color: #000000;
    background-color: white;
    -webkit-transition: all .55s ease-in;
    -moz-transition: all .55s ease-in;
    -o-transition: all .55s ease-in;
    transition: all .55s ease-in;
    width: auto;
    outline: none;
    line-height: 100%;
}

.field input[type='text']:focus, .field input[type='number']:focus, .field input[type='date']:focus, .field input[type='password']:focus, .field textarea:focus {
    outline: none;
    border: 1px solid var(--master);
}

.field textarea {
    border: 1px solid var(--gray);
}

.ddl {
    line-height: 100% !important;
    outline: none;
    border: 0;
    border: 1px solid var(--gray);
    border-radius: 5px;
    padding: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
    background-color: #ffffff;
}



    .ddl * {
    }

.field input[type=radio], input[type=checkbox] {
    display: none;
}


.field input[type=radio] + label:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
    margin-left: 8px;
    background-color: #fff;
    box-shadow: inset 0px 0px 4px rgba(0, 0, 0, .2);
    border: 1px solid var(--gray);
    border-radius: 50%;
    cursor: pointer;
}

.field input[type=checkbox] + label:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
    margin-left: 8px;
    background-color: #fff;
    box-shadow: inset 0px 0px 4px rgba(0, 0, 0, .2);
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

    .field input[type=checkbox] + label, input[type=radio] + label {
        font-size: 12pt;
    }

.field input[type=radio]:checked + label:before {
    background-color: var(--master);
    text-shadow: 0px 0px 3px #000000;
}

.field input[type=checkbox]:checked + label:before {
    content: " \2714"; /* Tick */
    color: var(--master);
    background-color: #000;
    text-align: center;
    font-size: 22pt !important;
    line-height: 20px;
    text-indent: -3px;
    text-shadow: 0px 0px 2px #000000;
}




/*--------------------- alignment ---------------------*/
.left {
    text-align: left;
}

.right {
    text-align: right;
}

.leftLTR {
    text-align: left;
    direction: ltr;
}

.rightRTL {
    text-align: right;
    direction: rtl;
}

.field {
    padding-bottom: 10px; /* space between textbox*/
    margin-right: .5%;
    margin-left: .5%;
    margin-top: 10px;
    display: flex;
    flex-direction: column-reverse;
    direction: rtl; /*------------------------- Language */
}

    .field span {
        padding-left: 5px;
        padding-right: 5px;
        transition: all 0.2s ease-in;
        pointer-events: none;
        font-weight: bold;
    }

.textover span {
    transform: translate(-5px,45px); /* label over textbox position*/
    text-align: right; /*------------------------- Language */
}

.textoverIconRight span {
    transform: translate(-53px,45px); /* label over textbox position*/
    text-align: right; /*------------------------- Language */
    font-weight: bold;
}

.textoverIconLeft span {
    transform: translate(58px,45px); /* label over textbox position*/
    text-align: left; /*------------------------- Language */
    font-weight: bold;
}

.textupper span {
    transform: translate(-5px,-4px); /* label over dropdown position*/
    text-align: right; /*------------------------- Language */
}

.textupperLeft span {
    transform: translate(-2px,-4px); /* label over dropdown position*/
    text-align: left; /*------------------------- Language */
}

.fieldContainer {
    display: flex;
    flex-wrap: wrap;
}

.loginbox .field {
    direction: ltr;
}



@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width:0\0), \0screen\,screen\9, screen\9 {
    .textover span {
        transform: translate(-5px,4px); /* label position in IE always in top*/
        padding-top: 15px;
    }
}

@media all and (max-width: 500px) {
    .fieldContainer {
        display: block;
    }

        .fieldContainer .field {
            width: auto !important;
        }
}


.field input:focus + span, .field textarea:focus + span {
    color: #000000; /* label color when focus */
}
/* Move up label when typing or when textbox has value*/
.field input:not(:placeholder-shown) + span,
.field input:focus + span {
    transform: translate(-5px, -4px) scale(1);
    cursor: pointer;
}
/* Placeholder color */
::-webkit-input-placeholder {
    color: transparent !important;
    transition: inherit;
}

:-moz-placeholder {
    color: transparent !important;
    transition: inherit;
}

::-moz-placeholder {
    color: transparent !important;
    transition: inherit;
}

:-ms-input-placeholder {
    color: #cccccc !important;
    transition: inherit;
}

input:focus::-webkit-input-placeholder {
    color: #cccccc !important;
}

input:focus:-moz-placeholder {
    color: #cccccc !important;
}

input:focus::-moz-placeholder {
    color: #cccccc !important;
}

textarea::-webkit-input-placeholder {
    color: #cccccc !important;
}

textarea:-moz-placeholder {
    color: #cccccc !important;
}

textarea::-moz-placeholder {
    color: #cccccc !important;
}

textarea:-ms-input-placeholder {
    color: #cccccc !important;
}
