/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/*search results page*/

.pagination{
    display:none;
   }

.search-results article .search-entry-inner {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    /* -webkit-align-items: center; */
    /* align-items: center; */
    align-items: flex-start;
}

.search-results article .search-entry-pdf a {
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    font-size: 0;
    height: 29px;
    width: 50px;
    border: unset;
    fill: #156F62;
}

svg.folder { fill: #f7d674; }

.search-results article .search-entry-pdf a:hover{
	/*
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    font-size: 0;
    height: 29px;
    width: 50px;
    border: unset;
    fill: #fff;
    */
}
.search-results article .search-entry-pdf .icon {
    fill: #156F62;
}



.search-results h2.search-entry-title a {
    text-decoration: underline;
}

.search-results article .thumbnail-search {
    min-width: 50px;
    /*margin-right: 20px;*/
    /* padding-top: 10px; */
}

@media (min-width: 601px){
    .search-results .search-entry-content .search-entry-summary, .search-results .search-entry-content .search-entry-header {
        padding-right: 65px;
    }
}
@media (min-width: 1001px){
    .search-results .search-entry-content .search-entry-summary, .search-results .search-entry-content .search-entry-header {
        padding-right: 145px;
    }
}

@media (max-width: 600px){
    .search-results article .thumbnail-search {
        padding-bottom: 5%;
    }
}
@media only screen and (max-width: 480px){
    .search-results article .thumbnail-search {
        display: none;
    }    
}

@media(min-width:601px){
    .search-results .search-entry-pdf{
        /* position: absolute; */
        /* right: 66px; */
        /* top: 56%; */
        /* transform: translate(0%,-50%); */
    }
}

@media (min-width: 601px){
    .search-results .search-entry-readmore {
        /* position: absolute; */
        /* right: 30px; */
        /* top: 48%; */
        /* transform: translate(0%,-50%); */
    }
}

.search-results article .search-entry-readmore a {

	width: 40px;
	height: 40px;
	border: solid #fff 2px;
	display: block;
	border-radius: 3px;
	background-image: url(https://themfsa.ca/wp-content/uploads/2022/05/white-arrow.png);
	background-position: center;
	background-size: 20px;
	background-repeat: no-repeat;
	margin-top: auto;


    /* background-image: url(/wp-content/uploads/2022/05/teal-arrow.png); */

    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
    height: 20px;
    width: 50px;
    border: unset;
}
.search-results article .search-entry-readmore a {
    display: inline-block;
    /* font-size: 12px; */
    font-weight: 600;
    line-height: 1;
    padding-bottom: 3px;
    /* border-bottom: 1px solid; */
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.search-results article .thumbnail {
    margin-right: 0;
    padding-left: 2%;
    padding-top: 2.2%;
    padding-bottom: 2.2%;
}
    @media (max-width: 600px) {
        .search-results article .thumbnail {
            align-self: self-start;
            padding-top: 0;
            padding-bottom: 2%;
        }
    }
.search-results article .thumbnail a img {
    border-radius: 5px !important;
}
    @media (min-width: 601px) {
        .search-results article .thumbnail a img {
            max-width: 130px;
        }   
    }
.search-results article .search-entry-title {
    font-size: 24px;
    margin: 0 0 6px;
    display: inline;
    line-height: 1.2em;
}
.search-entry-summary.clr {
    margin-top: 10px;
}
.search-entry-header .search-entry-citations {
    font-size: 14px;
    margin: 0 0 6px;
    display: inline;
}
.search-entry-header .search-entry-date {
    font-size: 14px;
    margin: 0 0 6px;
    display: inline;
}


/*search form section*/
/* form.section-searchform input{
    padding: 26px 45px 26px 90px !important;
    font-size:20px;
    border:unset;
    background-color:#fff;
    box-shadow: 0px 1px 4px #00000029;

    border-radius:0;
    color:#156F62;
} */
form.section-searchform{
    display:inherit;
    position:relative;
}
form.section-searchform .searchform-submit{
    font-size:20px;
    left:20px;
    top:20px;
    position:absolute;
    /* background-color:blue;; */
    color:#156F62;
}
form.section-searchform .searchform-submit:hover{
    background-color:unset;
}
form.section-searchform .searchform-submit:focus{
    background-color:unset;
}
/* form.section-searchform input::placeholder{
    color:#156F62;
} */

.section-filters{
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
}
.section-filters .txt-teal2{
    display: inline-block;
    color: #156f62;
}

@media (min-width: 1091px){
    /* @media (min-width: 601px){ */
    .section-filters .search-link{
        display: inline-block;
        /* text-align:right; */
        padding:0 0 12px 0;
        position: absolute;
        right: 0px; 
        margin-left: -105px;
        /* display: inline; */
        padding-left: 30px;
    }
}
/* .section-filters .search-link{
    text-align:center;
    padding:20px 0;
} */
.section-filters .search-link a{
    color:#757575;
    padding:0 10px;
    font-size:16px;
    line-height:22px;

    cursor: pointer;
    text-underline-offset: 3px;
    text-decoration: underline;
}
.section-filters .search-link a:hover{
    text-decoration: underline;
    text-decoration-style: dotted;
}

.section-filters .search-link a.section-filtersActive {
    color:#1f3345;
    padding:0 10px;
    font-size:16px;
    line-height:22px;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.section-filters label {
    font: 1rem 'Fira Sans', sans-serif;
}

.section-filters input {
    margin:  2rem;
    padding: 26px 45px 26px 90px !important;
    font-size:20px;
    border:unset;
    background-color: blue;
    box-shadow: 0px 1px 4px #00000029;

    border-radius:0;
    color:#156F62;
}

.section{
    padding:1.5% 0;
}

/* 
.section-filters{
    text-align:center;
    padding:20px 0;
}
.section-filters a{
    color:#757575;
    padding:0 10px;
    font-size:16px;
    line-height:22px;
}
.section-filters a:hover{
    color: #156f62;
    font-weight: bold;
}

.section-filters a.section-filtersActive {
    color: #156f62;
    font-weight: bold;
} */

/* @media(max-width:600px){
    .section-filters a{
        font-size:14px;
    }
    .new-search:after {
        margin-left: unset;
        margin-top: 5px;
    }
} */
a:focus-visible,a:focus{
    outline:none!important;
}

.search-sorting {
    text-align: right;
    margin-bottom: 12px;
}
.search-sorting a.search-sortingActive {
    border-bottom: 1px solid #156f62;;
    /* color: #156f62; */
    /* font-weight: bold; */
}

#mobile-dropdown #mobile-menu-search form button {
    display: block;
    position: absolute;
    right: 10px;
    height: 30px;
    line-height: 30px;
    width: 30px;
    padding: 0;
    text-align: center;
    top: 35%;
    margin-top: -15px;
    background-color: transparent !important;
    color: #555;
    border: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* @media (min-width: 600px){
    span.search-form-span {
        align-items: center;
        width: 100%;
    }
    span.search-form-span #searchKeyDelete {
        height: 25px;
        color: #fff;
        font: 17px monospace;
        text-align: center;
        line-height: 1em;
    }
    span.search-form-span #searchKeyDelete a{
        display: block;
        right: 0px;
        width: 350px;
        height: 25px;
        color: #fff;
        font: 17px monospace;
        text-align: center;
        line-height: 1em;
        cursor: pointer; 
    }
} */
@media (min-width: 200px){
    span.search-form-span #searchKeyDelete {
        width: 250px;
        height: 25px;
        color: #fff;
        font: 14px monospace;
        text-align: center;
        line-height: 1em;
        cursor: pointer; 
    }
    span.search-form-span #searchKeyDelete a{
        width: 300px;
        height: 20px;
        color: #fff;
        font: 14px monospace;
        text-align: center;
        line-height: 1em;
        cursor: pointer; 
    }
}
@media (min-width: 700px){
    span.search-form-span {
        position: relative;
        display: inline-flex;
        align-items: center;
        width: 100%;
    }
    span.search-form-span #searchKeyDelete {
        position: absolute;
        display: block;
        right: 10px;
        width: 250px;
        height: 20px;
        /* border-radius: 50%; */
        color: #fff;
        /* background-color: #bf5313;  */
    
        /* ccc */
        font: 15px monospace;
        text-align: center;
        line-height: 1em;
        cursor: pointer; 
    }
    span.search-form-span #searchKeyDelete a{
        position: absolute;
        display: block;
        right: 0px;
        width: 300px;
        height: 25px;
        /* border-radius: 50%; */
        color: #fff;
        /* background-color: #bf5313;  */
    
        /* ccc */
        font: 15px monospace;
        text-align: center;
        line-height: 1em;
        cursor: pointer; 
    }
}
@media (min-width: 1401px){
    span.search-form-span {
        position: relative;
        display: inline-flex;
        align-items: center;
        width: 100%;
    }
    span.search-form-span #searchKeyDelete {
        position: absolute;
        display: block;
        right: 10px;
        width: 350px;
        height: 25px;
        /* border-radius: 50%; */
        color: #fff;
        /* background-color: #bf5313;  */
    
        /* ccc */
        font: 17px monospace;
        text-align: center;
        line-height: 1em;
        cursor: pointer; 
    }

    span.search-form-span #searchKeyDelete a{
        position: absolute;
        display: block;
        right: 0px;

        /* border-radius: 50%; */
        color: #fff;
        /* background-color: #bf5313;  */
    
        /* ccc */
        font: 17px monospace;
        text-align: center;
        line-height: 1em;
        cursor: pointer; 
    }

    /* span.search-form-span .searchCheckBoxeClass {
        right: 90px;
        width: 80px;
        height: 25px;
        cursor: pointer; 
    } */
    /* span.search-form-span input {
        padding-right: 18px;
        box-sizing: border-box; 
    } */


    /* #searchKeyDelete {
        display: none;
    } */

    /* .searchKCheckBoxClass {
        display: inline;
        width: 200px;
        padding-left: 30px;
    } */

}
span.search-form-span #searchKeyDelete a:hover, a:active{
    /* text-decoration: underline; 
    text-decoration-style: dotted; */
    /* background-color: yellow; */
    /* font-size: 104%; */
    color: #f1eeee;
    /* background-color: red; */
    opacity: 0.8;
}

/* .search-links {
    display:inline-break;
} */

.search-links{
    text-align:center;
    padding:20px 0;
}
.search-links a{
    color:#757575;
    padding:0 10px;
    font-size:16px;
    line-height:22px;

    cursor: pointer;
    text-underline-offset: 3px;
    text-decoration: underline;
}
.search-links a:hover{
    text-decoration: underline;
    text-decoration-style: dotted;
}

.search-links a.section-filtersActive {
    color:#1f3345;
    padding:0 10px;
    font-size:16px;
    line-height:22px;
    text-decoration: underline;
    text-decoration-style: dotted;
}

@media(max-width:600px){
    .search-links a{
        font-size:14px;
    }
    .new-search:after {
        margin-left: unset;
        margin-top: 5px;
    }
}

form.section-searchform .field{
    padding: 26px 45px 26px 90px !important;
    font-size:20px;
    border:unset;
    background-color:#fff;
    box-shadow: 0px 1px 4px #00000029;

    border-radius:0;
    color:#156F62;
}
form.section-searchform .checkField {
    padding: 6px 3px 17px 9px !important;
    font-size: 15px;
    border: unset;
    background-color: #a3404029;
    box-shadow: 0px 1px 4px #a3404029;
    border-radius: 0;
    color: #156F62;
}

body.search-results .swiper {
    padding: 5px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
  }
  
  .switch input {display:none;}
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ca2222;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2ab934;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(55px);
    -ms-transform: translateX(55px);
    transform: translateX(55px);
  }
  
  /*------ ADDED CSS ---------*/
  .on
  {
    display: none;
  }
  
  .on, .off
  {
    color: white;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
  }
  
  input:checked+ .slider .on
  {display: block;}
  
  input:checked + .slider .off
  {display: none;}
  
  /*--------- END --------*/
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;}


ul.page-numbers {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0 0 0;
    list-style: none;
    text-align: right;
    clear: both;
}


@media(min-width:601px){
    .search-results .search-entry-pdf{
        /* position: absolute; */
        right: 66px;
        top: 56%;
        transform: translate(0%,-50%);
    }
    .search-results .search-entry-pdf:hover{
    	right:66px;
        right:26px;
    }
    .search-results .search-entry-content .search-entry-summary,
    .search-results .search-entry-content .search-entry-header{
        padding-right: 65px;
    }
}

.search-results article {
	padding: 0px;
}

.search-results .search-entry-pdf,
.search-results .search-entry-readmore {
    top: unset;
    transform: unset;
    color:#fff;
    height: 100%;
    /* position: absolute; */
    right: 0px;
    vertical-align: middle;

    padding-top:2%;
    padding-bottom:2%;
}

.search-results .search-entry-readmore {
    background: #156F62;
    padding-top:0;
    padding-bottom:0;
}
.search-results .search-entry-readmore:hover {
	right:0px;
}


.search-results .search-entry-content {
padding-left:2%;
padding-top:2%;
padding-bottom:2%;
}

.search-results .search-entry-readmore  {
}

.search-results .search-entry-pdf {
	right:50px;
    display: flex;
    align-items: center;
}

.search-results article .search-entry-readmore a {
display: block;
height: 100%;
}

.search-results .thumbnail-search {
	padding-left:2%;
	padding-top:2.2%;
	padding-bottom:2%;
}

.search-results  .search-entry-content {
	width:70%;
	}


	.search-results .search-entry-pdf:hover {

		right:50px;
	}


.search-results article .search-entry-pdf a {
	background-image:unset;

	/* background-image:url(/wp-content/uploads/pdf-teal.svg); */
	background-size:40px;
	background-position:top center;
	display:block;
	/*height:100%;*/
    height: auto;
	min-width:80px;
	margin-right:50px;
	font-size:12px;
	text-align:center;
	vertical-align:middle;
	margin-top:10%;
}

@media (max-width: 768px) {
    .search-results article .search-entry-pdf a {
        margin: 0 20px;
    }
}
@media (max-width: 600px) {
    .search-results article .search-entry-pdf a {
        margin: 0 0 0 -3px;
    }
}

.search-results article .search-entry-pdf a img {
	width:40px;
}


@media (min-width: 601px){
.search-results .section-search-results .thumbnail img {
	box-shadow:unset;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
}

@media (max-width: 600px){



	.search-results  .search-entry-content {
		width:80%;
		}
	.search-results article .search-entry-pdf  {
        margin-left:2%;
	 }
	.search-results article .search-entry-pdf a {
		margin-top:0px;
	}

	.search-results article .search-entry-readmore {
		position: absolute;
		top: 0px;
		right: 0px;
	}




	/*
	.search-results .search-entry-readmore {
		background-color:unset;
	}
	.search-results article .search-entry-readmore-wrapper {
		width:100%;
	}

	.search-results article .search-entry-readmore {
        margin-left:0px;
    }
	.search-results article .search-entry-readmore a {
		  margin-left:2%;
        width: 40px;
        height: 40px;
        border: solid #156F62 2px;
        display: block;
        border-radius: 3px;
        background-image: url(/wp-content/uploads/2022/05/teal-arrow.png);
        background-position: center;
        background-size: 20px;
        background-repeat: no-repeat;
        background-color:#ffffff;
        margin-top: auto;
     }
     */
}

