/*
 Theme Name:   MantaWatch 2017
 Theme URI:    http://mantawatch.com/
 Description:  MantaWatch Wordpress theme for 2017, based on Divi
 Author:       Andrew Harvey
 Author URI:   http://mantawatch.com
 Template:     Divi
 Version:      1.0.0
 Tags:         mantawatch, responsive-layout, modern
 Text Domain:  mw17
*/


/* for theme support pallete */

.has-light-blue-color { color: #4d90fe; }
.has-light-blue-background-color { background-color: #4d90fe; }

.has-dark-blue-color { color: #0A4388; }
.has-dark-blue-background-color { background-color: #0A4388; }

.has-slate-color { color: #f2f4f8; }
.has-slate-background-color { background-color: #f2f4f8; }

.has-white-color { color: #ffffff; }
.has-white-background-color { background-color: #ffffff; }

.has-black-color { color: #333333; }
.has-black-background-color { background-color: #333333; }

.has-red-color { color: #7A1D16; }
.has-red-background-color { background-color: #7A1D16; }





#main-content {
  background-color: #f2f4f8 !important;
}

img.desaturate {
	filter: grayscale(100%);
}

.hidden {
  display: none !important;
}

.ajax-response.ajax-error {
  color: #9d261d;
  text-align: center;
}

.remote_leaderboard_container {
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles Large Desktop And Above */
@media all and (min-width: 1405px) {
  .mapbox.fullscreen { height: 400px; }
}
/* Responsive Styles Smartphone Portrait */
@media all and (max-width: 479px) {
  .mapbox.fullscreen { height: 150px; }
}
/* Responsive Styles Smartphone Only */
@media all and (max-width: 767px) {
  .mapbox.fullscreen { height: 250px; }
}
/* Responsive Styles Tablet Only */
@media all and (min-width: 768px) and (max-width: 980px) {
  .mapbox.fullscreen { height: 350px; }
}
/* Responsive Styles Tablet And Below */
@media all and (max-width: 980px) {
  .mapbox.fullscreen { height: 350px; }
}
/* Responsive Styles 981px – 1100px */
@media all and (min-width: 981px) and (max-width: 1100px) {
  .mapbox.fullscreen { height: 400px; }
}
/* Responsive Styles Desktop Only */
@media all and (min-width: 981px) {
  .mapbox.fullscreen { height: 400px; }
}
/* Responsive Styles Standard Desktop Only */
@media all and (min-width: 981px) and (max-width: 1405px) {
  .mapbox.fullscreen { height: 400px; }
}







/*
* Remove sidebar on all archive pages
*/
.search #main-content .container::before,
.archive #main-content .container::before {
    display: none;
}
.search #left-area,
.archive #left-area {
    width: 100%;
    float: none;
    padding-right: 0;
}
.search #sidebar,
.archive #sidebar {
    display: none;
}

/*
* Create Mansonory styles for archive pages
*/
.search #left-area,
.archive #left-area {
    -moz-column-count: 3;
         column-count: 3;
    -moz-column-gap: 60px;
         column-gap: 60px;
}

.archive .et_pb_post > a,
.search .et_pb_post > a {
    margin: -20px -20px 10px;
    display: block;
}

.search #left-area .et_pb_post,
.archive #left-area .et_pb_post {
    overflow: hidden; /* fix for Firefox */
    page-break-inside: avoid;
    break-inside: avoid-column;
    width: 100%;
    padding: 19px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
    word-wrap: break-word;
    display: inline-block;
}

.search #left-area .et_pb_post h2,
.archive #left-area .et_pb_post h2 {
    font-size: 18px;
}

.search #left-area .et_pb_post.format-link,
.search #left-area .et_pb_post.format-quote,
.search #left-area .et_pb_post.format-audio,
.archive #left-area .et_pb_post.format-link,
.archive #left-area .et_pb_post.format-quote,
.archive #left-area .et_pb_post.format-audio{
    padding: 0;
}

.archive .et_pb_post .et_pb_image_container,
.archive .et_pb_post .et_main_video_container,
.archive .et_pb_post .et_audio_content,
.archive .et_pb_post .et_pb_slider,
.search .et_pb_post .et_pb_image_container,
.search .et_pb_post .et_main_video_container,
.search .et_pb_post .et_audio_content,
.search .et_pb_post .et_pb_slider {
    margin: -20px -20px 10px;
}

.archive .et_pb_post.format-audio .et_audio_content{
    margin: 0px -38px 0px;
}

.archive .et_pb_post .et_pb_slider .et_pb_slide,
.search .et_pb_post .et_pb_slider .et_pb_slide {
    min-height: 180px;
}

.archive .pagination,
.search .pagination {
    padding: 20px 0;
}

/*
* Media Queries
*/
@media screen and (max-width: 980px) {
    .search #left-area,
    .archive #left-area {
        -moz-column-count: 2;
            column-count: 2;
        -moz-column-gap: 60px;
            column-gap: 60px;
    }
}
@media screen and (max-width: 767px) {
    .search #left-area,
    .archive #left-area {
        -moz-column-count: 1;
            column-count: 1;
    }
    .search .et_pb_post.format-audio .et_audio_content,
    .archive .et_pb_post.format-audio .et_audio_content{
        margin: 0;
    }
    .search #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
    .archive #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
    .search #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total,
    .archive #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total{
        min-width: 300px!important;
        width: 300px!important;
    }
}


/* resise avatar on author page */
.author .author-shortcodes .author-image {
  width: 150px;
  height: 150px;

  border-radius: 200px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,.1);
  border: 2px solid #666;

}
.author .author-shortcodes .author-inner {
  padding-left: 200px;
  min-height: 210px;
}
