/*
 Theme Name:     NTP - Cosmos Child Theme
 Theme URI:      https://logicinternet.com/
 Description:    NTP - Cosmos Child Theme for Divi Theme.
 Author:         NP&Co
 Author URI:     https://npco.noahpinehurst.com
 Template:       Divi
 Version:        1.0.0
*/


/* Theme customization starts here
------------------------------------------------------- */

/* Section Blurb Zoom on MouseOver - NTP */


.ntpFeatureBox {
-webkit-transition: all 600ms cubic-bezier(0.170, 0.690, 0.470, 0.995);
 -moz-transition: all 600ms cubic-bezier(0.170, 0.690, 0.470, 0.995);
 -o-transition: all 600ms cubic-bezier(0.170, 0.690, 0.470, 0.995);
 transition: all 600ms cubic-bezier(0.170, 0.690, 0.470, 0.995); /* custom */
}
.ntpFeatureBox:hover {
-webkit-transition: all 600ms cubic-bezier(0.170, 0.690, 0.470, 0.995);
 -moz-transition: all 600ms cubic-bezier(0.170, 0.690, 0.470, 0.995);
 -o-transition: all 600ms cubic-bezier(0.170, 0.690, 0.470, 0.995);
 transition: all 600ms cubic-bezier(0.170, 0.690, 0.470, 0.995); /* custom */
 transform: scale(1.1);
 box-shadow: 0 20px 100px rgba(0,0,0,0.2);
}


/* Blog Module to show in list view - NTP */

/*add media query so changes only affect tablet and desktop*/

@media (min-width: 767px) {

/*set the image width*/

.ntp-solarsystem .entry-featured-image-url  {
  display: flex;
  justify-content: center;
  align-items: center;
width: 30%;
top: 30px!important;
/*float: left;*/
/*margin-bottom: 0!important;*/
}

/*set the details width*/

.ntp-solarsystem  .entry-title,
.ntp-solarsystem  .post-meta,
.ntp-solarsystem .post-content {
width: 70%;
float: left;
padding-left: 30px;
}
}

/*style the individual posts*/

.ntp-solarsystem  .et_pb_post {
box-shadow: 0px 2px 80px 0px rgba(160,190,212,0.22);
border-radius: 6px;
padding: 60px;
}

/* styleing blogModule Grid to transparent - nTp */
.ntp-solarsystem .et_pb_blog_grid .et_pb_post {
    border: 1px solid #D8D8D8;
    padding: 19px;
    background-color: #00000073!important;
    word-wrap: break-word;
}



/*** START - BLOG STYLE CSS ***/
/*Post slider*/


/*Add the image outline*/

.ds-advent-24-slider .et_pb_slide_overlay_container {
 outline: 1px solid #c3ab5c;
 outline-offset: -4px;
}


/*Style the arrows*/

.ds-advent-24-slider .et-pb-arrow-prev,
.ds-advent-24-slider .et_mobile_device .et-pb-arrow-prev {
 left: 22px;
 opacity: 1;
 font-size: 22px;
 background: #c0c0c0;
}

.ds-advent-24-slider .et-pb-arrow-next,
.ds-advent-24-slider .et_mobile_device .et-pb-arrow-next {
 right: 22px;
 opacity: 1;
 font-size: 22px;
 background: #c0c0c0;
}

.ds-advent-24-slider .et-pb-arrow-prev:before,
.ds-advent-24-slider .et-pb-arrow-next:before {
 font-size: 25px;
}


/*Add the button outline*/

.ds-advent-24-slider.et_pb_slider .et_pb_button {
 outline: 1px solid #c3ab5c;
 outline-offset: -4px;
}

.ds-advent-24-slider.et_pb_slider .et_pb_button:hover {
 outline: 1px solid #c0c0c0;
}


/*Category CTAs*/


/*Add the button outline*/

.ds-advent-24-cat-cta .et_pb_button {
 width: 100%;
 outline: 1px solid #c3ab5c;
 outline-offset: -4px;
}

.ds-advent-24-cat-cta .et_pb_button:hover {
 outline: 1px solid #c0c0c0;
}


/*Section Headers*/


/*Style the section headers*/

.ds-advent-24-header-grey {
 outline: 1px solid #c3ab5c;
 outline-offset: -4px;
 z-index: 1;
 position: relative;
}


/*Blog*/


/*Position the posts and add padding*/

.ds-advent-24-blog-fw .et_pb_post,
.ds-advent-24-blog-grid .et_pb_post {
 padding-bottom: 30px;
 position: relative;
}


/*Add the post shadow*/

.ds-advent-24-blog-grid .et_pb_post {
 -webkit-box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
 box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
}


/*Image padding*/

.ds-advent-24-blog-fw .et_pb_post .entry-featured-image-url,
.ds-advent-24-blog-grid .et_pb_post .entry-featured-image-url {
 margin-bottom: 0;
 padding: 30px 30px 0 30px;
}


/*Category alignment*/

.ds-advent-24-blog-fw .et_pb_post .ds-advent-24-blog-cat,
.ds-advent-24-blog-grid .et_pb_post .ds-advent-24-blog-cat {
 text-align: center;
 margin-bottom: 20px;
 margin-top: -20px;
}

.ds-advent-24-blog-grid .et_pb_post .ds-advent-24-blog-cat {
 margin-top: -40px;
}


/*Category link styling*/

.ds-advent-24-blog-fw .et_pb_post .ds-advent-24-blog-cat a,
.ds-advent-24-blog-grid .et_pb_post .ds-advent-24-blog-cat a {
 text-align: center;
 background: #c0c0c0;
 padding: 8px 30px;
 color: #fff;
 font-size: 12px;
 outline: 1px solid #fff;
 outline-offset: -4px;
 position: relative;
 letter-spacing: 5px;
 text-transform: uppercase;
 font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif !important;
 font-weight: 500 !important;
}

.ds-advent-24-blog-grid .et_pb_post .ds-advent-24-blog-cat a {
 padding: 8px 15px;
}


/*Add the trapezoid*/

.ds-advent-24-blog-fw .et_pb_post .ds-advent-24-blog-cat:before,
.ds-advent-24-blog-grid .et_pb_post .ds-advent-24-blog-cat:before {
 content: '';
 border-bottom: 50px solid #fff;
 border-left: 10px solid transparent;
 border-right: 10px solid transparent;
 left: 0;
 right: 0;
 width: 80%;
 margin: -20px auto 20px;
 position: absolute;
}

.ds-advent-24-blog-grid .et_pb_post .ds-advent-24-blog-cat:before {
 border-bottom: 50px solid #fff;
 width: 60%;
 margin: -20px auto 20px;
}


/*Position the title*/

.ds-advent-24-blog-fw .et_pb_post .entry-title {
 padding: 30px;
 position: relative;
}

.ds-advent-24-blog-grid .et_pb_post .entry-title {
 padding: 20px 11px 30px;
 position: relative;
}


/*Add the divider*/

.ds-advent-24-blog-fw .et_pb_post .entry-title:after,
.ds-advent-24-blog-grid .et_pb_post .entry-title:after {
 content: '';
 position: absolute;
 width: 100px;
 height: 3px;
 left: 0;
 right: 0;
 bottom: 0;
 margin: 0 auto;
 background: #c0c0c0;
}


/*Add meta padding*/

.ds-advent-24-blog-fw .et_pb_post .post-meta,
.ds-advent-24-blog-grid .et_pb_post .post-meta {
 padding-left: 30px;
 padding-right: 30px;
}


/*Add excerpt padding*/

.ds-advent-24-blog-fw .et_pb_post .post-content {
 padding: 30px;
}

.ds-advent-24-blog-grid .et_pb_post .post-content {
 padding: 20px 11px;
 margin-bottom: 30px;
}

.ds-advent-24-blog-fw .et_pb_post .post-content,
.ds-advent-24-blog-grid .et_pb_post .post-content {
 padding-bottom: 30px;
}


/*Style the meta data & read more*/

.ds-advent-24-blog-fw .author,
.ds-advent-24-blog-fw .published,
.ds-advent-24-blog-fw a.more-link,
.ds-advent-24-blog-grid a.more-link {
 display: block;
 width: 28%;
 color: #c0c0c0;
 letter-spacing: 3px;
 font-weight: 600;
 font-size: 12px;
 text-align: center;
 background: #fff;
 z-index: 2;
 position: relative;
 text-transform: uppercase;
}

.ds-advent-24-blog-fw .author {
 float: left;
 border: 1px solid #c0c0c0;
 margin: 0 30px;
 padding: 10px;
 outline: 1px solid #c0c0c0;
 outline-offset: -4px;
}

.ds-advent-24-blog-fw .author a {
 color: #c0c0c0;
}

.ds-advent-24-blog-fw .published {
 float: right;
 border: 1px solid #c0c0c0;
 margin: 0 30px;
 padding: 10px;
 outline: 1px solid #c0c0c0;
 outline-offset: -4px;
}

.ds-advent-24-blog-fw a.more-link,
.ds-advent-24-blog-grid a.more-link {
 margin: 0 auto;
 border: 1px solid #c3ab5c;
 background: #061F51;
 color: #fff;
 padding: 10px;
 position: absolute;
 bottom: 30px;
 left: 0;
 right: 0;
 text-transform: uppercase;
 outline: 1px solid #c3ab5c;
 outline-offset: -4px;
 -webkit-transition: all .3s ease;
 transition: all .3s ease;
}

.ds-advent-24-blog-grid a.more-link {
 width: calc(100% - 60px);
}

.ds-advent-24-blog-fw a.more-link:hover,
.ds-advent-24-blog-grid a.more-link:hover {
 background: #fff;
 color: #c0c0c0;
 outline: 1px solid #c0c0c0;
}


/*Add the line behind the meta*/

.ds-advent-24-blog-fw .et_pb_post:before,
.ds-advent-24-blog-grid .et_pb_post:before {
 content: '';
 width: 100%;
 height: 1px;
 background: #c0c0c0;
 position: absolute;
 left: 0;
 right: 0;
 bottom: 52px;
}


/*Pagination*/


/*Style the pagination*/

.ds-advent-24-blog-grid .pagination a {
 background: #c0c0c0;
 color: #fff;
 border: 1px solid #c0c0c0;
 outline: 1px solid #fff;
 outline-offset: -4px;
 padding: .5em 1em;
 text-transform: uppercase;
 letter-spacing: 3px;
 font-weight: 600;
 -webkit-transition: all .3s ease;
 transition: all .3s ease;
}

.ds-advent-24-blog-grid .pagination a:hover {
 background: #fff;
 color: #c0c0c0;
 outline: 1px solid #c0c0c0;
}


/*Adjust for tablets*/

@media all and (max-width: 980px) {
 .ds-advent-24-blog-grid .pagination {
 margin-top: -30px;
 margin-bottom: 50px
 }
 .et_pb_column .ds-advent-24-blog-grid .column.size-1of2 .et_pb_post:last-child {
 margin-bottom: 0;
 }
}


/*Adjust for mobile*/

@media all and (max-width: 767px) {
 .ds-advent-24-blog-fw .author,
 .ds-advent-24-blog-fw .published {
 display: none;
 }
 .ds-advent-24-blog-fw a.more-link {
 width: calc(100% - 60px);
 }
 .ds-advent-24-blog-fw .et_pb_post .post-content {
 padding-bottom: 60px;
 }
 .ds-advent-24-blog-grid .et_pb_post .ds-advent-24-blog-cat:before {
 width: 80%;
 }
}


/*Adjust for small mobiles*/

@media all and (max-width: 479px) {
 .ds-advent-24-blog-fw .et_pb_post .ds-advent-24-blog-cat:before,
 .ds-advent-24-blog-grid .et_pb_post .ds-advent-24-blog-cat:before {
 width: 60%;
 }
}


/*Sidebar*/


/*About Me*/


/*Make the image fullwidth*/

.ds-advent-24-sidebar img {
 width: 100%;
}


/*Signature padding*/

.ds-advent-24-sidebar h6 {
 padding-bottom: 0;
 padding-top: 20px;
}


/*Social Networks*/


/*Add the shadow*/

.ds-advent-24-sidebar .et_pb_social_media_follow {
 -webkit-box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
 box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
}


/*Style the icons*/

.ds-advent-24-sidebar ul.et_pb_social_media_follow a.icon {
 outline: 1px solid #fff;
 outline-offset: -4px;
 -webkit-transition: all .3s ease;
 transition: all .3s ease;
}

.ds-advent-24-sidebar ul.et_pb_social_media_follow a.icon:hover {
 outline: 1px solid #c0c0c0;
 background: #fff !important;
 border-color: #c0c0c0;
}

.ds-advent-24-sidebar .et_pb_social_media_follow li a.icon:hover::before {
 color: rgba(124,22,18,0.93);
}


/*Optin*/


/*Add the field outline*/

.ds-advent-24-sidebar .et_pb_newsletter_form p input {
 outline: 1px solid rgba(124,22,18,0.93);
 outline-offset: -4px;
 text-align: center;
}


/*Add the button outline*/

.ds-advent-24-sidebar .et_pb_subscribe .et_pb_button {
 line-height: 2.3em !important;
 outline: 1px solid #fff;
 outline-offset: -4px;
}

.ds-advent-24-sidebar .et_pb_subscribe .et_pb_button:hover {
 outline: 1px solid #c0c0c0;
}


/*Adjust for tablets*/

@media all and (max-width: 980px) {
 .ds-advent-24-sidebar .et_pb_newsletter_description {
 width: 100%;
 }
 .ds-advent-24-sidebar .et_pb_newsletter_form {
 padding-left: 0;
 width: 100%;
 }
}


/*Advert*/


/*Add the image & button outline*/

.ds-advent-24-sidebar .et_pb_promo,
.ds-advent-24-sidebar .et_pb_promo_button.et_pb_button {
 outline: 1px solid #fff;
 outline-offset: -4px;
}

.ds-advent-24-sidebar .et_pb_promo_button.et_pb_button:hover {
 outline: 1px solid #c0c0c0;
}


/*Search*/


/*Add background and padding*/

.ds-advent-24-sidebar .widget_search {
 background: #fff;
 padding: 30px;
}


/*Add the form outline*/

.ds-advent-24-sidebar #searchform {
 outline: 1px solid #c0c0c0;
 outline-offset: 4px;
}

.ds-advent-24-sidebar .widget_search input#s {
 border: 1px solid #c0c0c0;
 border-radius: 0;
 padding-right: 110px;
}

.ds-advent-24-sidebar .widget_search #searchsubmit {
 width: 100px;
}

.ds-advent-24-sidebar .widget_search input#searchsubmit {
 border-radius: 0;
 color: #fff;
 background: rgba(124,22,18,0.93);
 text-transform: uppercase;
 letter-spacing: 3px;
 font-size: 14px;
 font-weight: 600;
 border: 1px solid #c0c0c0;
}


/*Widgets*/


/*Add the background, padding and shadow*/

.ds-advent-24-sidebar .et_pb_widget {
 background: #fff;
 padding: 30px;
 -webkit-box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
 box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
}


/*Style the titles*/

.ds-advent-24-sidebar h4.widgettitle {
 background-color: #061F51;
 outline: 1px solid #c3ab5c;
 outline-offset: -4px;
 line-height: 1.2em;
 margin-top: -55px;
 margin-bottom: 20px;
 padding-top: 10px;
 -webkit-box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
 box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
}


/*Add bottom border to links*/

.ds-advent-24-sidebar .et_pb_widget_area li {
 border-bottom: 1px solid #c0c0c0;
}

.ds-advent-24-sidebar .et_pb_widget_area li {
 display: block;
 padding-bottom: .5em !important;
}


/*Remove border from last item*/

.ds-advent-24-sidebar .et_pb_widget_area li:last-child {
 border-bottom: none;
}


/*Remove spacing from last item*/

.ds-advent-24-sidebar .et_pb_widget_area li:last-child {
 padding-bottom: 0 !important;
 margin-bottom: -.5em;
}


/*Add transition to links*/

.ds-advent-24-sidebar .et_pb_widget_area li a {
 display: block;
 -webkit-transition: all .3s ease;
 transition: all .3s ease;
}


/*Add margin on hover*/

.ds-advent-24-sidebar .et_pb_widget_area li a:hover {
 margin-left: 30px;
}


/*Add icon on hover*/

.ds-advent-24-sidebar .et_pb_widget_area li a:hover:before {
 content: '\39';
 font-family: 'ETModules';
 position: absolute;
 left: 30px;
}


/*Set widgets to single column tablets*/

@media all and (max-width: 980px) {
 .et_pb_column.ds-advent-24-sidebar .et_pb_widget:nth-child(n) {
 width: 100% !important;
 margin: 0 0 55px 0 !important;
 }
}



/* Search Bar in DiviFilter Plugin */

.dp-dfg-skin-default .dp-dfg-search-input {
    font-size: 1.4em;
    line-height: 2em;
    width: 100%!important;
    padding: .5em 1em;
    background-color: #f9f9f9;
    border: 1px solid #f9f9f9;
    margin: 0;
    overflow: hidden;
}
