/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
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
*/


/****************************
    GENERAL
****************************/

.disabled{
  opacity:0.5;
  pointer-events:none;
}

/* BUTTON STYLES */
body button,
body [type=button],
body [type=submit]{
  border-color:#FDCD40;
  background-color:#FDCD40;
  color:#08447C;
}
body button:hover,
body [type=button]:hover,
body [type=submit]:hover{
  border-color:#08447C;
  background-color:#08447C;
  color:#F8F3F3;
}




/****************************
    GLOBAL HEADER
****************************/
form.elementor-search-form {
  display: none
    /* HIDE ELEMENTOR SEARCH */
}

.customSearchWrap>div {
  display: flex;
  height: 28px;
  margin: 5px 0;
}

#cdsSearch_header_submit {
  height: 28px;
  padding: 0;
  background: none;
  border: none;
  margin-left: 5px;
}

#cdsSearch_header_submit i {
  color: #ffffff;
}


/****************************
    SPLIT SEARCH RESULTS
****************************/
.template--cds{
  padding:20px 0 75px;
}

.cdsCatalog > .elementor-container{
  padding-left:1.5%;
  padding-right:1.5%;
}
.resultsHeader {
  text-align: center;
  padding: 40px 0 80px 0;
}
.resultsFound{
  font-size: 16px;
  font-weight: bold;
}
.vertBorder{    
  border-right: 1px solid;
  margin: 0 40px;
}
.results__heading{
  margin:0 0 40px;
  font-weight:bold;
  font-size:28px;
}

/***** Split screen - CDS side *****/
#cds-content{
  width:100%;
  overflow-x:scroll;
}

/* result filters */
.page--search #cds-search-left-container{
  float: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-bottom: solid 1px;
  margin-bottom: 20px;
}
/* cds results */
.page--search #cds-search-right-container{
  float:none;
  width:100%;
}

.cdsCatalog .customContainer {
  max-width: 50%;
}


/* Allow section to go full width for CDS products */
.cdsCatalog .customContainer.cdsOnly{
  max-width: 100%;
  width: 100%;
}

body .cds-product-grid > li{
  width:100%
}


/***** WORDPRESS RESULTS *****/
.wp_results_wrapper{
  padding:0 10px 10px 10px;
}
.num_wp_posts{
  font-size: 16px;
  font-weight: bold;
}
#minco_search_results .result__item{
  padding: 25px 0;
  border-top: 1px solid;
}
#minco_search_results .result__item:nth-child(1){
  border: none;
}
#minco_search_results .result__item .result__media{
  display: none;
}
#minco_search_results .fa-spinner {
  font-size: 30px;
  color: #08447C;
}
#load_more_btn{
  margin-top:10px;
}

/* TABLET / MOBILE */
@media(max-width:1024px){
  .cdsCatalog > .elementor-container{
    padding:0;
  }
  .resultsHeader {
    padding-bottom:50px;
  }
  .vertBorder{
    border:none;
    border-bottom:solid 2px;
    width:100%;
    margin:30px 5%;
  }

  .cdsCatalog .customContainer{
    display:block;
    max-width:100%;
  }

  #cds-content{
    margin: 0 auto;
    padding: 0;
    max-width: 90%;
  }

  .wp_results_wrapper{
    width:100%;
    padding:15px 5%;
  }
}

@media(max-width:768px){
  .elementor-posts .elementor-post {
    display: flex;
    flex-wrap: wrap !important;
  }
}

/****************************
   CDS SEARCH PAGE MODULE
****************************/
/* EXAMPLE: found on /store/ page */
.cdsSearch__module .cdsSearch__module--inner{
  max-width:800px;
  margin:0 auto;
}
.cdsSearch__module .cdsSearch__input{
  max-width:calc(100% - 75px);
}



/****************************
    AJAX STYLES
****************************/
.ajax__overlay{
	position:fixed;
	z-index:99999999;
	top:0;
	right:0;
	bottom:0;
	left:0;
	width:100%;
	height:100vh;
	background-color:rgba(255,255,255, 0.65);
	cursor:progress;
  opacity:0;
  visibility:none;
  pointer-events:none;
  -webkit-transition:all 0.35s;
  -moz-transition:all 0.35s;
  -ms-transition:all 0.35s;
  -o-transition:all 0.35s;
  transition:all 0.35s;
}
.ajax__overlay .ajax__overlay--icon{
  display: inline-block;
  width: 80px;
  height: 80px;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
}
.ajax__overlay .ajax__overlay--icon:before{
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #000;
  border-color: #000 transparent #000 transparent;
  animation: ajax-dual-ring 1.2s linear infinite;
}
@keyframes ajax-dual-ring {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* AJAX ACTIVE */
.ajax--active .ajax__overlay{
  opacity:1;
  visibility:visible;
  pointer-events:all;
}