/* ELENGINE (ELEGANT) THEME CUSTOM CSS */

/* Make the first letter of blog posts normal */

.blog-text p:first-child::first-letter {
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

/* Logged-out logo Elengine theme */

.fr_welcome_sign .logo-wrapper img {
    max-width: 200px !important;
    max-height: fit-content !important;
    transform: translateZ(0px);
    width: 100%;
}

/* Logged-in logo Elengine theme */

/*.main-header .logo-wrapper img, .ele_welcome_top .logo-wrapper img {
    max-width: 160px !important;
    height: auto;
    transform: translateZ(0px);
    width: 100%;
}*/

/* Adjust welcome text on homepage Elengine theme */

.fr_welcome_img_innr h5 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

.fr_welcome_img_innr h2 {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

.fr_welcome_img_innr p {
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}
    
@media (max-width: 900px) {
    .fr_welcome_sign_head h5 {
        display: block;
        margin: 5px 0 5px 0 !important;
        font-size: 1.5rem;
    }
}

/* Add CSS to page header search button hover in elengine */

.ele_jobs_search .btn:hover {
    box-shadow: inset 0 0 0 2px #263e56;
    color: #263E56;
    background: transparent;
    transition: background .4s cubic-bezier(.25,.8,.25,1), box-shadow 280ms cubic-bezier(.4,0,.2,1);
}

body.night-mode .ele_jobs_search .btn:hover {
    box-shadow: inset 0 0 0 2px #263e56;
    color: #e5e5e5;
    background: transparent;
    transition: background .4s cubic-bezier(.25,.8,.25,1), box-shadow 280ms cubic-bezier(.4,0,.2,1);
}

/* Adjust the cancel and save buttons when editing a feed post in elengine */

.post-edit .btn-light {
    color: #828282;
    border: 1px solid #828282;
    background-color: transparent;
}

.post-edit .btn-primary {
    color: #743CFD;
    border: 1px solid #743CFD;
    background-color: transparent;
}

.post-edit .btn-light:hover {
    color: #fff;
    border: 1px solid #adb5bd;
    background-color: #adb5bd;
}

.post-edit .btn-primary:hover {
    color: #fff;
    border: 1px solid #743CFD;
    background-color: #743CFD;
}

/* Make the bottom right create menu to 2 columns */

.ele_create_dropup > .dropdown-menu {
    min-width: 355px !important;
    column-count: 2;
}

/* Adjust bottom right create button */

.ele_create_dropup > .btn {
    min-width: 50px !important;
    width: 50px !important;
    line-height: 50px !important;
    height: 50px !important;
}

.ele_create_dropup {
    right: 102px !important;
}

@media screen and (max-width: 668px) {
  .ele_create_dropup {
    bottom: 50px !important;
    right: 5px !important;
  }
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
  .ele_create_dropup {
    bottom: 5px !important;
    right: 5px !important;
  }
}

.ele_create_dropup > .btn svg {
    width: 40px !important;
    height: 40px !important;
}

.ele_create_dropup > .btn:hover {
    color: #fff !important;
    background-color: #999;
    text-decoration: none;
    -webkit-box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    -moz-box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-transition: background-color .5s ease-in-out;
    -moz-transition: background-color .5s ease-in-out;
    -o-transition: background-color .5s ease-in-out;
    transition: background-color .5s ease-in-out;
}

/* Adjust morning, afternoon and evening welcome message */

.daytime_message {
    background-color: #fff !important;
    border-radius: 12px !important;
    padding: 5px 10px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 10%), 0 1px 2px 0 rgb(0 0 0 / 6%);
}

body.night-mode .daytime_message {
    background-color: #212121 !important;
}

.daytime_message.morning {
    border-left: 3px solid #4CAF50 !important;
}

.daytime_message.noon {
    border-left: 3px solid #FF9800 !important;
}

.daytime_message.evening {
    border-left: 3px solid #3F51B5 !important;
}

.daytime_message.morning h3:before {
    content: url('/custom/images/morning-icon-48x48-3.png');
    align-content: center;
    display: block;
    float: left;
    margin: 5px 10px 0 0;
}

@media screen and (max-width: 668px) {
  .daytime_message.morning h3:before {
    display: none;
  }
}

.daytime_message.noon h3:before {
    content: url('/custom/images/afternoon-icon-48x48-6.png');
    align-content: center;
    display: block;
    float: left;
    margin: 5px 10px 0 0;
}

@media screen and (max-width: 668px) {
  .daytime_message.noon h3:before {
    display: none;
  }
}

.daytime_message.evening h3:before {
    content: url('/custom/images/evening-icon-48x48-1.png');
    align-content: center;
    display: block;
    float: left;
    margin: 5px 10px 0 0;
}

@media screen and (max-width: 668px) {
  .daytime_message.evening h3:before {
    display: none;
  }
}

@media screen and (max-width: 668px) {
  .daytime_message h3 {
    margin: 0;
  }
}

.daytime_message .d-none {
    display: block !important;
}




