/*
    Theme Name: RippleZ DesigN
    Author: Zdenko Zec
    Author URI: http://ripplezdesign.com/
    Description: The official theme for RippleZ DesigN
    Version: 1.0.0
*/

body {
    font-family: "Roboto", sans-serif;
    margin: 0;
  }
  
  h1 {
    padding: 16px;
    background: rgba(2, 132, 168, 0.8);
    background-image: linear-gradient(to bottom, rgba(2, 84, 125, 0.6), rgba(1, 51, 75, 0.6));
    border-radius: 8px;
    margin: 0;
    font-size: 64px;
    font-family: "Roboto Slab", serif;
  }
  
  p {
    line-height: 1.5;
  }
  
  main {
    margin: 0 auto;
  }
  
  a {
    text-decoration: none;
    color: rgb(1, 51, 75);
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* Inputs */
  
  input,
  textarea {
    height: 32px;
    padding: 8px 16px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
    border: none;
    box-shadow: inset 8px 3px 18px -4px rgba(0, 0, 0, 0.4);
  }
  
  input:focus,
  textarea:focus {
    outline: none;
  }
  
  /* Banner */
  
  #banner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2) url("img/double-exposer-color-effect.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: overlay;
    color: rgb(225, 247, 231);
  }
  
  #banner h3 {
    background: rgba(1, 51, 75, 0.95);
    border-radius: 8px;
    padding: 0 24px;
    font-size: 24px;
  }
  
  /* Search Box */
  
  #searchbox {
    position: fixed;
    right: 0;
    top: 24px;
    width: 500px;
    pointer-events: none;
    z-index: 50;
    transition: 0.4s;
  }
  
  #searchbox input {
    height: 48px;
    width: 100%;
    background: rgb(225, 247, 231);
    color: rgb(1, 51, 75);
  }

  #searchbox #search-btn,
  #slideout-menu #search-btn {
    height: 48px;
    width: 48px;
    background: rgb(2, 190, 196) url('img/search-icon.png');
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 0;
    box-shadow: initial;
    transition: 0.4s;
    cursor: pointer;
    border: 1px solid #ddd;
    color: rgb(225, 247, 231);
  }

  #searchbox #search-btn:hover,
  #slideout-menu #search-btn:hover {
    background: #f783ae url('img/search-icon.png');
    background-position: center;
    background-repeat: no-repeat; 
  }
  
  /* Navigation */
  
  nav {
    height: 72px;
    background: rgb(1, 51, 75);
    width: 100%;
    margin: 0;
    position: fixed;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    padding: 0 16px 0 0;
    box-sizing: border-box;
    z-index: 100;
  }
  
  nav a {
    padding: 0 32px;
    color: rgb(225, 247, 231);
    transition: 0.4s;
  }
  
  nav a:hover {
    text-decoration: none;
    color: #da4b7f;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    margin: 0;
  }
  
  .active {
    color: #f783ae;
  }
  
  #logo-img {
    display: flex;
    height: 100%;
    background: rgb(1, 51, 75);
    padding: 0 32px;
    align-items: center;
    color: white;
    transition: 0.4s;
  }
  
  #logo-img img {
    height: 65px;

  }
  
  #logo-img:hover {
    background: rgba(0, 0, 0, 0.279);
  }
  
  #menu-icon {
    height: 100%;
    font-size: 28px;
    padding: 0 4px;
    color: rgb(225, 247, 231);
    display: none;
    align-items: center;
  }
  
  /* Search Icon */
  
  #search-icon {
    color: rgb(225, 247, 231);
    padding: 0 32px;
    cursor: pointer;
    transition: 0.4s;
  }
  
  #search-icon:hover {
    color:#da4b7f;
  }
  
  /* Slideout Menu */
  
  #slideout-menu {
    display: none;
    background: #01334b;
    z-index: 100;
    position: fixed;
    transition: 0.4s;
    margin-top: 72px;
    width: 100%;
    text-align: center;
    opacity: 0;
    pointer-events:none;
  }
  
  #slideout-menu ul {
    list-style: none;
    padding: 0 32px;
  }
  
  #slideout-menu ul li {
    padding: 8px;
  }
  
  #slideout-menu a {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
    color: rgb(225, 247, 231);
  }

  #slideout-menu form {
    position: relative;
  }
  
  #slideout-menu input {
    width: 100%;
    height: 48px;
    padding: 8px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
    text-align: center;
    background: rgb(225, 247, 231);
    color: rgb(1, 51, 75);
  }
  
  /* Sections */
  
  section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  .section-heading {
    font-size: 32px;
    font-family: "Roboto Condensed", sans-serif;
    border-left: 3px solid rgb(1, 51, 75);
    border-right: 3px solid rgb(1, 51, 75);
    transition: all 0.4s;
    display: inline-block;
    padding: 4px 32px;
  }
  
  .section-heading:hover {
    padding: 4px 48px;
    background: #f783ae;
  }
  
  /* Section Source */
  
  #section-source p {
    padding: 8px;
    text-align: center;
  }
  
  #section-source a {
    margin: 8px;
    text-align: center;
  }

  #section-source .btn-readmore {
    padding: 8px 24px;
    border: 3px solid #333;
    transition: 0.4s;
    display: inline-block;
    margin-bottom: 24px;
    margin-left: 24px;
    font-weight: bold;
    cursor: pointer;
    background-color: #f783ae;
    color: #333;
  }
  
  #section-source .btn-readmore:hover {
    background: rgb(218,75,127);
    text-decoration: none;
    padding: 8px 64px 8px 24px;
    color: white;
  }
  
  /* Card */
  
  .card-image {
    transition: 0.4s;
  }
  
  .card-image:hover {
    box-shadow: 0 10px 6px -6px #777;
  }
  
  .card .card-description {
    padding: 0 8px;
  }
  
  .card-meta-blogpost{
    color:#333;
    font-size:14px;
    padding: 16px;
    font-family:'Roboto Slab', serif;
  }
  
  .card-meta-blogpost a{
    color:#333;
  }
  
  /* Button Read more */
  
  .btn-readmore {
    padding: 8px 24px;
    border: 3px solid rgb(1, 51, 75);
    transition: 0.4s;
    display: inline-block;
    margin-bottom: 24px;
    margin-left: 24px;
    font-weight: bold;
    cursor: pointer;
    background: white;
  }
  
  .btn-readmore:hover {
    background: rgb(2, 132, 168);
    text-decoration: none;
    padding: 8px 64px 8px 24px;
    color: rgb(225, 247, 231);
  }
  
  /* Footer */
  
  footer {
    background: #555;
    padding: 8px;
    color: rgb(169, 232, 220);
    display: flex;
    box-shadow: inset 27px 0 51px -18px rgba(0,0,0,0.75);
  }
  
  footer a {
    color: rgb(169, 232, 220);
  }

  footer a:hover {
    color: rgb(247, 131, 174);
    text-decoration: none;
  }
  
  footer #left-footer {
    flex: 1;
    border-right: 1px solid rgb(2, 190, 196);
    padding-left: 32px;
  }
  
  footer #left-footer ul {
    padding: 0;
    list-style: none;
    line-height: 1.5;
  }
  
  footer #right-footer {
    flex: 2;
    padding: 8px;
    text-align: center;
  }
  
  footer #social-media-footer a .fa-facebook,
  footer #social-media-footer a .fa-youtube,
  footer #social-media-footer a .fa-linkedin {
    color: rgb(225, 247, 231);
    transition: 0.4s;
  }
  
  footer #social-media-footer ul {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
  }
  
  footer #social-media-footer ul li {
    font-size: 48px;
    padding: 16px;
    transition: 0.4s;
  }
  
  footer #social-media-footer ul li:hover a .fa-youtube {
    color: red;
  }
  
  footer #social-media-footer ul li:hover a .fa-facebook {
    color: #3b5998;
  }
  
  footer #social-media-footer ul li:hover a .fa-linkedin {
    color:  #0e76a8 ;
  }
  
  /* Blog List page */
  
  .page-heading{
    font-size:32px;
    font-family:'Roboto Condensed', sans-serif;
    border-left:3px solid rgb(1, 51, 75);
    border-right:3px solid rgb(1, 51, 75);
    transition: all 0.4s;
    display:inline-block;
    padding:4px 32px;
    margin-top: 120px;
  }
  
  .page-heading:hover{
    padding:4px 48px;
    background: #f783ae;
  }
  
  .card-meta{
    color:#333;
    font-size: 14px;
    padding-left:8px;
    font-family:'Roboto Slab', serif;
  }
  
  .card-meta a{
    color:#333;
  }
  
  /* Pagination */
  
  .pagination{
    padding:8px;
    text-align:center;
    font-weight:bold;
  }
  
  .pagination a{
    border-top: 3px solid white;
    display: inline-block;
    padding:8px 16px;
    transition:0.4s;
  }
  
  .pagination a:hover{
    text-decoration: none;
    border-top:3px solid rgb(1, 51, 75);
  }
  
  /* Single Blogpost */
  
  #post-container{
    display: flex;
  }
  
  #blogpost{
    display: flex;
    flex-direction:column;
    width:70%;
    border-left:1px solid #999;
  }
  
  #blogpost .card{
    width:100%;
  }
  
  #blogpost .card-image:hover{
    box-shadow: none;
  }

  /* Prev and Next */

  .post-pag-wrap {
    padding: 14px 0px;
    box-sizing: border-box;
    border-top: 1px solid #bbbbbb;
    border-bottom: 1px solid #bbbbbb;
    width: 100%;
    max-width: 600px;
    margin: 20px auto 50px;
  }
  
  .post-pag-container {
    width: 49%;
    padding: 0px 8px;
    box-sizing: border-box;
    display: inline-block;
    overflow-wrap: break-word;
    word-wrap: break-word;
    vertical-align: top;
    min-height: 50px;
  }
  
  .post-pag-container h3 {
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    padding: 0px;
    margin: auto;
    margin-top: 7px;
    margin-bottom: 0px;
  }
  
  .post-pag-container.prev {
    text-align: left;
    border-right: 1px solid #bbbbbb;
    margin-right: -1px;
  }
  
  .post-pag-container.next {
    text-align: right;
    margin-left: -2px;
  }
  
  .post-pag-container.prev h3 {
    text-align: left;
  }
  
  .post-pag-container.next h3 {
    text-align: right;
  }
  
  /* Sidebar */
  
  #sidebar{
    background: rgb(2, 132, 168);
    flex:1;
    padding: 8px 16px;
    color: rgb(225, 247, 231);
    box-shadow: inset 27px 0 51px -18px rgba(0,0,0,0.75);
  }

  #sidebar a {
    color: #ddd;
  }

  #sidebar li {
    margin: 8px 0;
    list-style: none;
  }

  #sidebar li li {
    margin-left: -16px;
  }

  #sidebar input {
    width: 100%;
    height: 42px;
    background: rgb(169, 232, 220);
    color: rgb(2, 132, 168);
  }

  #sidebar form {
    position: relative;
  }

  #sidebar #search-btn {
    background: rgb(2, 190, 196) url('img/search-icon.png');
    background-position: center;
    background-repeat: no-repeat;
    width: 48px;
    height: 100%;
    position: absolute;
    right: 0; top: 0;
    box-shadow: initial;
    cursor: pointer;
    border-left: 1px solid #ddd;
    transition: 0.4s;
  }
  
  #sidebar #search-btn:hover {
    background: rgb(247, 131, 174) url('img/search-icon.png');
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Comments section */
  
  #comments-section{
    border-top: 2px solid #eee;
    padding:8px;
  }

  .comment-form {
    display: flex;
    flex-direction: column;
  }

  .comment-form input,
  .comment-form textarea {
    margin-bottom: 16px;
  }
  
  .comment-note {
    text-align: center;
    color: red;
  }

  #comments-section textarea {
    height: 160px;
  }
  
  .form-submit .submit,
  .wpcf7 .wpcf7-submit {
    background: white;
    font-weight: bold;
    width: 60%;
    padding: 8px;
    border: 2px solid rgb(1, 51, 75);
    height: 48px;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: initial;
    color: rgb(1, 51, 75);
    display: block;
    margin: 0 auto;
  }

  .form-submit .submit:hover,
  .wpcf7 .wpcf7-submit:hover {
    background: rgb(2, 190, 196);
    color: white;
    width: 70%;
  }

  .comment-reply-title {
    text-align: center;
  }

  /* Comments List */
.comments {
  margin-top: 24px;
  border-top: 2px solid #eee;
}

.all-comments li {
  list-style: none;
  margin-bottom: 16px;
}

.all-comments .comment-meta {
  background: #555;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.all-comments .vcard {
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.all-comments .photo {
  border-right: 8px solid transparent;
  border-bottom: 4px solid transparent;
}

.all-comments .says {
  display: none;
}

.all-comments .reply {
  font-weight: bold;
}

.all-comments .children {
  margin-top: 16px;
}

/* No Result page */

.no-results {
  text-align: center;
}

.no-results ul {
  list-style: none;
}

.no-results h2 {
  color: rgb(247, 131, 174);
}

/* Contact Form */

.wpcf7 input,
.wpcf7 textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 16px;
  height: 42px;
}

.wpcf7 textarea {
  height: 100px;
}

/* 404 */

.container-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
}

.container-404 img {
  width: 480px;
}

.container-404 li {
  list-style: none;
}

/* Media Queries */

@media (max-width: 900px) {
  nav ul {
    display: none;
  }

  #menu-icon {
    display: flex;
  }

  #slideout-menu {
    display: block;
  }

  #searchbox {
    display: none;
  }

  #blogpost{
    width:100%;
    border-left:0;
  }

  #sidebar{
    display: none;
  }
}

@media (max-width: 719px) {
  main {
    width: 95%;
  }

  section {
    flex-direction: column;
  }

  .card,
  .card .card-image img {
    width: 100%;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  footer #left-footer {
    flex: 1;
    border-right: 0;
    padding-left: 0;
  }

  footer #right-footer {
    background: rgb(169, 232, 220);
    color: #333;
  }

  footer #right-footer a {
    color: #333;
  }

  footer #social-media-footer a .fa-facebook,
  footer #social-media-footer a .fa-youtube,
  footer #social-media-footer a .fa-linkedin {
    color: #333;
    transition: 0.4s;
  }
}

@media (max-width: 600px) {
  main {
    width: 100%;
  }

  h1 {
    font-size: 48px;
  }

  #banner h3 {
    font-size: 20px;
  }

  .card {
    text-align: center;
  }

  #logo-img {
    padding: 0;
  }
}

@media (min-width: 720px) {
  main {
    width: 95%;
  }
  .card {
    width: 45%;
  }
  .card .card-image img {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  main {
    width: 85%;
  }
}