﻿/* Overwrite bootstrap for creating new theme  */
/* Ver 1.0 */
.form-group.firstcol-left label {
    text-align:left;
}
.form-data-view .form-group .form-control {
    background-color:#fafafa;
}

input[type="button"], input[type="submit"], button, .btn {
    font-family:"PersianFont" !important;
}
/*.btn-primary {background-color:#3a1b4a !important;border-color:#3a1b4a;}*/

/* overweite table botton margin */
.table {margin-bottom:0 !important}

/* Overwrite table on table td padding: used to reset gridview pager row */
.table table td {padding:0 0.5rem;}

.alert {
    border-radius: var(--av-border-radius-md);
    box-shadow: 0 5px 7px 1px rgba(0,0,0,0.2);
}
.alert > strong {
    font-family: 'HeadingFont';
    font-size: 1.5em;
    clear: both;
    display: block;
}

.alert.alert-warning > strong:before {content:'\f06a';font-family:FontAwesome;}
html[dir=ltr] .alert.alert-warning > strong:before {margin-right:0.5rem;}
html[dir=rtl] .alert.alert-warning > strong:before {margin-left:0.5rem;}

.alert.alert-info > strong:before {content:'\f05a';font-family:FontAwesome;}
html[dir=ltr] .alert.alert-info > strong:before {margin-right:0.5rem;}
html[dir=rtl] .alert.alert-info > strong:before {margin-left:0.5rem;}

.alert.alert-danger > strong:before {content:'\f071';font-family:FontAwesome;}
html[dir=ltr] .alert.alert-danger > strong:before {margin-right:0.5rem;}
html[dir=rtl] .alert.alert-danger > strong:before {margin-left:0.5rem;}

.navbar-brand img {
    height:100px;
}

/* Overwrite bootstrap formcontrol height */
span.form-control, div.form-control {
    height:auto !important;
}

/*.navbar-dark .nav-link {
    color:rgba(255,255,255,0.75) !important;
}
.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .nav-item>.nav-link:hover {
    color:rgba(255,255,255,1) !important;
}*/
/*.form-control {
    border:0;
    border-radius:0;
    border-bottom:3px solid #eee !important;
}*/
.btn-group-toggle > .btn:focus:after, .btn-group-toggle > .btn:active:after, .btn-group-toggle > .btn.active:after, .btn-group-toggle-vertical > .btn:focus:after, .btn-group-toggle-vertical > .btn:active:after, .btn-group-toggle-vertical > .btn.active:after
{
    content: "\f05d";
    font-family:FontAwesome;
    position:absolute;
    top:5px;
    right:5px;
    z-index:100;
}
.btn-group-toggle > .btn:after, .btn-group-toggle > .btn:after, .btn-group-toggle-vertical > .btn:after, .btn-group-toggle-vertical > .btn:after
{
    content: "\f10c";
    font-family:FontAwesome;
    position:absolute;
    top:5px;
    right:5px;
    z-index:100;
}

.btn-group-toggle > .btn
{
    padding-right:25px;
}

.carousel:hover .carousel-control-prev, .carousel:hover .carousel-control-next
{
    background: rgba(0,0,0,0.2) !important;
}

@media (max-width: 575.98px) { .card-columns {column-count:1;} }
@media (min-width: 576px) and (max-width: 767.98px) { .card-columns {column-count:2;} }
@media (min-width: 768px) and (max-width: 991.98px) { .card-columns {column-count:3;} }