/* 
Theme Name: CES Hello
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Marissa Lockwood
Author URI: mailto:dsaweb@colostate.edu
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* h1 highlight effect */
h1 {
  padding: 5px 20px!important;
  background: linear-gradient(#ccfc00 0 0) 0/100% 1.4em repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline;
}



/* Button styles */ 

.elementor-button-icon .cls-1 {
    fill: white; 
    color: white;
}

.elementor-button-icon .cls-2 {
    fill: #E56A54; 
    color: #E56A54; 
}

.elementor-button-content-wrapper {
    align-items: center;
}

/* hover effect */
.elementor-button-icon, .gform_button {
    transition: .3s ease;
}
.button-active {
    transform: scale(1.2);
}

/* Info card styles - hover effect */
.card-active .cls-1 {
    fill: #008FB3!important;
}

.card-active {
    transform: translateY(-20px);
}

.card-more .elementor-icon, .card-more .cls-1 {
    transition: .5s ease;
}

/* Gravity Forms Buttons */
.gform_button {
    background-color: #E56A54!important;
    font-weight: bold!important;
    font-family: 'Poppins', sans-serif!important;
    color: white!important;
    border-radius: 0!important;
}

.gform_button:hover {
    background-color: #d9604b!important;
}

/* Add padding to the bottom of lists */
.elementor-widget-text-editor ol, .elementor-widget-text-editor ul, .bdt-modal-body ol, .bdt-modal-body ul {
    margin-bottom: 20px; 
}

.bdt-modal-body ul ul {
    margin-bottom: 0px;
}


/* Add a class to remove defualt padding at the bottom of Elementor text containers */
.no-margin p:last-child, .no-margin ul:last-child, .no-margin a:last-child, .no-margin ol:last-child {
    margin-bottom: 0px!important;
}

/* Responsive styling for sections with a left rule line */
@media screen and (max-width: 1350px) and (min-width: 767px) {
    .rule-section {
        padding-left: 95px; 
    }
}

/* Decrease heading text size to fit on small screens */
@media screen and (max-width: 767px) {
    h1.elementor-heading-title {
        font-size: 35px;
    }
}

/* Prevent horizontal page scroll */
#content {
    overflow-x: hidden!important; 
    max-width: 100%!important;
}

/* Ensure info cards change cursor into pointer on mouse over */ 
.info-card:hover {
    cursor: pointer; 
}

/* Hide popups from the "Edit with Elementor" dropdown menu */
#wp-admin-bar-elementor_edit_doc_1010, #wp-admin-bar-elementor_edit_doc_1026, #wp-admin-bar-elementor_edit_doc_1029, #wp-admin-bar-elementor_edit_doc_1032, #wp-admin-bar-elementor_edit_doc_1036, #wp-admin-bar-elementor_edit_doc_1039, #wp-admin-bar-elementor_edit_doc_1043, #wp-admin-bar-elementor_edit_doc_1046, #wp-admin-bar-elementor_edit_doc_1049, #wp-admin-bar-elementor_edit_doc_1052, #wp-admin-bar-elementor_edit_doc_1055, #wp-admin-bar-elementor_site_settings {
    display: none!important; 
}

/* tweak close button in popups */
.dialog-lightbox-close-button { 
    background-color: #E56A54; 
    padding: 5px; 
    border: none!important;
}

.dialog-lightbox-close-button svg {
    fill: white!important; 
}

.dialog-lightbox-close-button:hover {
    background-color: #008FB3;
}

.dialog-lightbox-widget-content, .dialog-lightbox-widget-content .elementor {
    max-height: 90vh!important;
    max-width: 90vw!important;
}

/* Hide top "Who We Are" link on desktop (needed for slinky mobile menu) */
@media screen and (min-width: 1406px) {
    .menu-item-1928 {
        display: none!important;
    }
}
