/*---------------------------------------------------------------------------------

 Theme Name:   HRA
 Theme URI:    https://hrassured.com.au
 Description:  HRA is a custom child theme for holding all the design elements for our website
 Author:       Richard Whyte
 Author URI:   https://hrassured.com.au
 Template:     Divi
 Version:      1.1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

.et_pb_blog_grid .et_pb_image_container img {
  object-fit: cover;       /* Scale the image so it covers whole area, thus will likely crop */
  object-position: center; /* Center the image within the element */
  height: 180px !important;
  width: 100%;
}

/* Blog Grid Read More Buttons */
a.more-link {
    border: 2px solid #5e3c8a;
    color: #ffffff;
    background-color: #5e3c8a;
    padding: 10px !important;
    margin-left: 10px;
    text-transform: uppercase;
}

a.more-link:hover {
    border: 2px solid #2359a0;
    background-color: #2359a0;
    color: #ffffff;
    padding: 10px !important;
    margin-left: 10px;
    text-transform: uppercase;
}

.et_pb_blog_grid article {
    margin-bottom: 50px !important;
}





.col-2-3 {
    width: 66.66%;
}
.col-1-3 {
    width: 33.33%;
}
.col-1-2 {
    width: 50%;
}
.col-1-4 {
    width: 25%;
}
.col-1-5 {
    width: 20%;
}
.col-1-8 {
    width: 12.5%;
}

/* ------------------------------ */
/* Menu Styles */
/* ------------------------------ */


/*** remove shadow on main header***/
#main-header {
    box-shadow: none;
}

/*** add shadow to fixed header ***/
@media (min-width: 981px) {
    #main-header.et-fixed-header {
        box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
        -webkit-box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
        -moz-box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
    }
}


/*** adjust padding on menu ***/
.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a {
    padding-bottom: 23px;
}

.et_header_style_left #et-top-navigation {
    padding-top: 20px;
}

.et_header_style_left .et-fixed-header #et-top-navigation {
    padding-top: 10px;
}



 
/*** style the menu button ***/
.btn_login-hra-cloud a {
    color: #5e3c8a !important;
    line-height: 9px;
    font-weight: 600;
    padding: 13px 16px !important;
    text-transform: uppercase;
    font-size: 12px !important;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    display: block;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    border: 2px solid #5e3c8a;
}
 
.btn_login-hra-cloud a:hover {
    opacity: 1 !important;
    color: #fff !important;
    background-color: #5e3c8a;
}
 
.et-fixed-header #top-menu .btn_login-hra-cloud a:hover {
    background-color: #5e3c8a;
    border: 2px solid #5e3c8a;
    box-shadow: 0 5px 20px #aab9c3;
    -moz-box-shadow: 0 5px 20px #aab9c3;
    -webkit-box-shadow: 0 5px 20px #aab9c3;
}
 
.et-fixed-header #top-menu .btn_login-hra-cloud a {
    color: #fff !important;
    background-color: #5e3c8a;
    box-shadow: 0 5px 20px #d6dee4;
    -moz-box-shadow: 0 5px 20px #d6dee4;
    -webkit-box-shadow: 0 5px 20px #d6dee4;
    border: 2px solid #5e3c8a;
}

.et-fixed-header.et_highlight_nav #top-menu .btn_login-hra-cloud a {
    background-color: #2cc2e6;
    border: 2px solid #2cc2e6;
    animation: highlight-nav .8s ease;
    -webkit-animation: highlight-nav .8s ease;
}
 
#main-header.et-fixed-header.et_highlight_nav #top-menu .btn_login-hra-cloud a:hover {
    background-color: #f92c8b;
    border: 2px solid #f92c8b;
    box-shadow: 0 5px 20px #aab9c3;
    -moz-box-shadow: 0 5px 20px #aab9c3;
    -webkit-box-shadow: 0 5px 20px #aab9c3;
}
 
@-webkit-keyframes highlight-nav {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2)
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}
@keyframes highlight-nav {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2)
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}
 
/*** style the mobile menu links and button ***/
@media (max-width: 980px) {
    .et_mobile_menu li {
        text-align: center;
    }

    .et_mobile_menu li a {
        border-bottom: none;
    }
    .et_mobile_menu li a:hover {
        background-color: transparent;}

    .btn_login-hra-cloud a {
        border-bottom: 2px solid #f92c8b !important;
    }
}