/*******************************************************************************/
/* Global Styles */
html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
}

#root {
    display: flex;
    flex: 1;
}

* {
    font-family: 'Roboto' !important;
}

.text-through-container {
    width: 100%; 
    text-align: center; 
    border-bottom: 1px solid #ccc; 
    line-height: 0.1em;
    margin: 20px 0 40px; 
 } 
 
.text-through-text { 
    background:#fff; 
    padding:0 10px; 
    color: #888;
    font-weight: 700;

 }

/*******************************************************************************/
/* flex style */
.center-flex {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    
}

.full-height {
    height: 100%;
}

/*******************************************************************************/
/*inputs */
.light-input-outlined {
    border: none !important;
}

.light-input {
    background-color: #f2f2f2;
    border-radius: 4px !important;
    
}

.light-input-container {
    margin-bottom: 16px !important;
    width: 100%;
}

.input-bg-disabled {
    background-color: #f2f2f2;
}

/****************************************************************************************
* Auth styles
****************************************************************************************/

 .auth-bg {
    background-image: url('../images/bg.png');
 }

.auth-form-container {
    margin: auto;
    max-width: 500px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;   
    flex: 1;
}

.auth-logo-container {
    width: 150px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.auth-logo-container h2 {
    font-family: "Roboto";
    color: #333;
    margin: 0px;
    padding: 0px;
    margin-top: 8px;
}

.auth-logo-container img {
    object-fit: cover;
    width: 70%;
    height: 70%;
}

.auth-inputs-container {
    width: 100%;
}

.auth-btns-container {
    display: flex;
    justify-content: space-between;
}

.auth-single-btn {
    display: flex;
    justify-content: flex-end;
}

/****************************************************************************************
* Appbar styles
****************************************************************************************/

.appbar-logo {
    font-family: Arial, sans-serif; 
    color: #444; 
    font-size: 18px;
}

.app-bar-light {
    background-color: #f9f9f9 !important;
    -webkit-box-shadow: 0px 1px 4px 0px rgba(150,150,150,0.2) !important;
    box-shadow: 0px 1px 4px 0px rgba(150,150,150,0.2) !important;
}

.appbar-action-btns-wrapper {
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.appbar-user-img {
    background-color: #fff;
    margin-right: 8px;
    cursor: pointer;
 }
 
 .appbar-user-img:hover {
     opacity: .7;
 }

/****************************************************************************************
* Drawer styles
****************************************************************************************/
.pr-drawer {
    z-index: 999 !important;
}
.pr-drawer-paper {
    width: 220px !important;
    background-color: #f8f8f8 !important;
    border: none !important;
    z-index: unset !important;
    box-shadow: 0px 1px 4px 1px rgba(150,150,150,0.2) !important;
}
.pr-drawer-item-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 72px;
}

/****************************************************************************************
* Content styles
****************************************************************************************/
.content-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 220px;
    margin-top: 72px;
    padding: 8px 16px;
    min-height: calc(100% - 88px);
}

.fixed-content-width {
    max-width: 1330px;
    margin: auto;
    padding: 16px;
}

@media all and (max-width: 600px){
    .content-wrapper {
        margin-left: 0px;
    }
}

.content-title-container {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin: 8px;
    min-height: 36px;
}

.content-title-text {
    color: #cc0000;
    font-weight: bold;
}

/****************************************************************************************
* Profile styles
****************************************************************************************/
.profile-add-img-btn {
    background-color: #d9d9d9 !important;
}

.profile-add-img-btn:hover {
    background-color: #f2f2f2 !important;
}

.pr-input-wrapper {
    max-width: 500px; 
    margin: auto;
    margin-bottom: 15px
}

.image-container {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    position: relative;
    background-color: #fff;
}

.user-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-img:hover {
    opacity: 0.8;
}

.img-btn {
    z-index: 100;
    position: absolute;
    right: -10px;
    bottom: -5px;
    z-index: 0;
}

.user-img-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0px;
    flex: 1;
}

.uploader {
    z-index: 100;
    position: absolute;
    right: 0px;
    bottom: 0px;
    left: 0;
    top: 0;
    background-color: #fff;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.update-btn-container {
    display: flex;
    justify-content: flex-end;
}


/****************************************************************************************
* Data table
****************************************************************************************/
.tb-head {
    font-weight: bold !important;
}

.tb-left-head-btn {
    display: flex; 
    justify-content: flex-end; 
    margin-top: 16px;
}
.tb-right-head-btn {
    display: flex; 
    justify-content: flex-start; 
    margin-top: 16px;
}

.single-elm-container {
    display: flex; 
    flex: 1;
    justify-content: center; 
    align-items: center; 
    padding: 16px;
}

.red-table-data {
    font-weight: bold !important;
    color: #cc0000 !important;
}

.tb-center-data {
    text-align: center !important; 
}

/****************************************************************************************
* Dialog view
****************************************************************************************/
.dialog-action-container {
    display: flex;
    flex: 1;
}

/****************************************************************************************
* Request View
****************************************************************************************/
.sidebar-widget-container {
    border: 1px solid #eee; 
    margin: 16px 0px;
}

.sidebar-widget-title {
    font-weight: bold; 
    color: #333; 
    background-color: #e2e2e2; 
    font-size: 18px; 
    padding: 8px 16px;
}

/****************************************************************************************
* Dashboard View
****************************************************************************************/

.top-box-container {
    min-height:80px;
    margin-bottom: 16px;
    display: flex; 
    flex: 1;
    -webkit-box-shadow: 0px 1px 4px 0px rgba(150,150,150,0.2) !important;
    box-shadow: 0px 1px 4px 0px rgba(150,150,150,0.2) !important;
    cursor: pointer;
}

.box-left-container {
    display: flex; 
    flex: 1; 
    justify-content: center; 
    align-items: center; 
    padding: 8px;
}

.box-right-container {
    background-color: #f4f4f4; 
    display: flex; 
    flex-direction: column; 
    flex: 3;
    justify-content: center; 
    align-items: center;
    transition: .5s;
}

.box-right-container:hover {
    background-color: #ddd; 
}

.large-box {
    display: flex; 
    flex: 1; 
    justify-content: center; 
    align-items: center; 
    flex-direction: column; 
    height: calc(100% - 16px);
}

.large-box-anim {
    transition: .5s;
}
.large-box-anim:hover {
    background-color: #f4f4f4; 
}

.heart-beat-anim {
	font-size: 56px;
    margin-bottom: 16px;
	animation: beat .5s infinite alternate;
	transform-origin: center;
}

/* Heart beat animation */
@keyframes beat {
	to { transform: scale(1.4); }
}


/****************************************************************************************
* New Resource View
****************************************************************************************/

.resource-container {
    display: flex; 
    flex-direction: column; 
    width: 500px;
    margin: 0px auto;
}

.heading-container {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    height: 140px; 
}

.heading-first {
    color: #cc0000; 
    padding: 0px; 
    margin: 0px;
}

.heading-second {
    color: #444; 
    padding: 0;
    margin: 0; 
    margin-top: 8px; 
    text-align: center;
}

.resource-card-container {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    background-color: #f2f2f2; 
    padding: 16px; 
    width: 125px;
    height: 125px;
    cursor: pointer;
    -webkit-box-shadow: 0px 4px 4px 0px rgba(150,150,150,0.2) !important;
    box-shadow: 0px 4px 4px 0px rgba(150,150,150,0.2) !important;
    -webkit-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
}

.resource-card-container:hover {
    background-color: #e2e2e2; 
}

.success-msg-container {
    height: 150px; 
    text-align: center; 
    font-weight: bold; 
    font-size: 18px; 
    color: #222; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}