@font-face {
    font-family: fontawesome;
    src: url(fontawesome-webfont.ttf);
}

@font-face {
    font-family: IranSans;
    src: url(IRANSansMedium.ttf);
}
body,
html {
    padding: 0;
    margin: 0;
    font-family: Iransans, fontawesome;
    color: #6d6d6d;
    overflow-x: hidden;
}
.row {
    display: block !important;
}
.view-temp {
    padding: 0 !important;
}
.list-contractor{
    margin: 0 !important;
}
td,tr{
    border: 0 !important;
}
.rtl {
    direction: rtl;
}

.p-3 {
    padding: 2.5rem;
}

.p-2 {
    padding: 2.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.padding-1 {
    padding: 1.5rem;
}

.view-temp {
    margin-top: 50px;
}
.icons {
    text-align: center;
    margin-top: 40px;
}
/* title cantractor */
.box-title-header {
    background: #274c77;
    color: #fff;
    border-radius: 15px 15px 15px 15px;
}

.title-ct::after {
    content: "";
    border: 1px solid #fff;
    width: 80px;
    position: relative;
    display: inline-block;
    bottom: 5px;
}

.title-ct::before {
    content: "";
    border: 1px solid #fff;
    width: 80px;
    position: relative;
    display: inline-block;
    bottom: 5px;
}

.title-ct-h4 {
    color: #ececec;
}



@media only screen and (max-width:900px) {
    .title-ct {
        font-size: 22px;
    }

    .title-ct::after {
        width: 30px;
    }

    .title-ct::before {
        width: 30px;
    }
}

/*time*/
.box-clock-view{
    padding-right: 30px !important;
    font-size: 17px;
    padding: 20px;
    margin: 0 !important;
    line-height: 3rem;
}
.box-timer-icon {
    background-color: #f9f9f9;
    margin-top: 25px;
    margin-bottom: 10px;
    position: relative;
}
.box-timer-icon i{
    background: #f5faff;
    color: #1187ef;
    padding: 10px 12px;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    right: -23px;
    border: 5px solid #1f8ccc;
}
/* address */
address{
    padding-right: 30px !important;
    line-height: 3rem !important;
}
.box-address {
    background-color: #f9f9f9;
    margin-top: 25px;
    margin-bottom: 10px;
    position: relative;
}
.new-p{
    padding-bottom: 10px;
    padding-right: 25px;
}
.box-border {
    border: 2px solid rgba(31, 140, 204, 0.12);
}
.box-address i {
    background: #f5faff;
    color: #1187ef;
    padding: 10px 13px;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    right: -23px;
    border: 5px solid #1f8ccc;
}


.box-address h4 {
    display: inline;
}
.box-address h4::after {
    content: ":";
}
.box-address h4::after {
    content: ":";
}

.box-address h4 {
    display: inline;

}

address {
    font-size: 17px;
    padding: 20px;
    margin: 0 !important;
}

.overflow-warp-box {
    overflow-wrap: break-word;
    display: grid;
}

.overflow-warp-box p,
.overflow-warp-box address {
    display: block;
    overflow: hidden;
}

/* doctor */
.profile {
    margin: 20px 0;
}

.profile-sidebar {
    padding: 20px 0 25px 0;
    background: #fff;
    border: 1px solid #6d6d6d52;
    border-radius: 15px;
}

.profile-userpic img {
    float: none;
    margin: 0 auto;
    width: 50%;
    height: 50%;
    border: 1px solid #6d6d6d;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;
}

.profile-usertitle {
    text-align: center;
    margin-top: 20px;
}

.profile-usertitle-name {
    color: #5a7391;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 7px;
}

.profile-usertitle-job {
    text-transform: uppercase;
    color: #5b9bd1;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.profile-userbuttons {
    text-align: center;
    margin-top: 10px;
}

.profile-userbuttons .btn {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 15px;
    margin-right: 5px;
}

/* bimeh */
.bimeh {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: 0.2s;
}

.bimeh .profile-userpic img {
    border: 0;
    width: 50px;
    height: 50px;
    border-radius: 0 !important;
}

.bimeh:hover {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    transition: 0.2s;
}

.bimeh .profile-usertitle-name {
    font-size: 14px;
}

/* image header */
.img-head {
    justify-content: center;
    display: flex;
    margin-top: 30px;
}

.img-head .col-1 img {
    padding: 3rem;
}

@media only screen and (max-width:900px) {
    .img-head .col-1 img {
        padding: 1rem;
        width: 110px;
    }
}

@media only screen and (max-width:700px) {
    .img-head .col-1 img {
        padding: .5rem;
        width: 45px;
    }
}

/* table */
table td:first-child {
    width: 110px;
}

/* title box */
.title-temp {
    background-color: white;
    border: 1px solid #8080802e;
    border-radius: 15px;
}

.title-temp h3:first-child {
    position: relative;
    bottom: 15px;
    right: 25px;
    background-color: white;
    display: inline;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 16px;
    font-weight: bold;
}

/* gallery */
.img-wrapper {
    position: relative;
    margin-top: 15px;
    border-radius: 6px;
    overflow: hidden;
    height: 190px;
}

.img-wrapper img {
    width: 100%;
}

.img-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.img-overlay i {
    color: #fff;
    font-size: 3em;
}

#overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#overlay img {
    margin: 0;
    width: 80%;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
    padding: 5%;
}

@media screen and (min-width: 768px) {
    #overlay img {
        width: 60%;
    }
}

@media screen and (min-width: 1200px) {
    #overlay img {
        width: 50%;
    }
}

#nextButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.1s;
}

#nextButton:hover {
    opacity: 0.7;
}

@media screen and (min-width: 768px) {
    #nextButton {
        font-size: 3em;
    }
}

#prevButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.1s;
}

#prevButton:hover {
    opacity: 0.7;
}

@media screen and (min-width: 768px) {
    #prevButton {
        font-size: 3em;
    }
}

#exitButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.1s;
    position: absolute;
    top: 15px;
    right: 15px;
}

#exitButton:hover {
    opacity: 0.7;
}

@media screen and (min-width: 768px) {
    #exitButton {
        font-size: 3em;
    }
}

/* card flip */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 300px;
    perspective: 1000px;

}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 8px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
    transition-delay: 1s;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    text-align: right;
    border-radius: 8px;

}

.flip-card-front {
    background: rgb(41,118,158);
    color: white;
    padding-right: 20px;
    padding-left: 20px;
}

.flip-card-front h1 {
    font-size: 15px;
    line-height: 40px;
    margin-top: 12px;
    font-weight: bold;
    border-bottom: 1px solid #fff;
}

.flip-card-front ul {
    list-style: none;
    padding: 10px;
}

.flip-card-front ul li {
    list-style: none;
    padding: 10px;
}
.flip-card-front ul li i{
    padding-left: 8px;
}
.flip-card-front ul li p {
    display: inline;
}

.flip-card-front ul li span::after {
    content: ":";
}

.flip-card-back {
    background-color: transparent;
    color: #6d6d6d;
    transform: rotateY(180deg);
}