/*
Theme Name: Toolkit Theme
Author: Blair Ramsay
Author URI: https://www.blairramsay.co.uk ### CHANGE THIS
Description: A theme for the Web Development Toolkit
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Font imports */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none !important;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
}

ul {
  list-style: disc;
  margin: 20px 0 20px 30px;
}

ul li {
  margin-bottom: 5px;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Fix layout - 1200px wide */
.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

@media (max-width: 1200px) {
  .container {
    width: 100%;
  }
}

/* Helpers*/
.clearfix {
  clear: both;
}

.centered {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.alignright {
  float: right;
  margin-left: 20px;
}

.alignleft {
  float: left;
  margin-right: 20px;
}

a.button {
  display: inline-block;
  padding: 15px 40px;
  background-color: white;
  color: #5850ec;
  margin-right: 20px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 20px;
  border: 2px solid white;
  min-width: 170px;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

a.button:hover {
  background-color: #5850ec;
  color: white;
  border-color: white;
  transition: all 0.2s ease-in-out;
}

a.button.purple {
  color: white;
  background-color: #5850ec;
  border-color: #5850ec;
}

a.button.purple:hover {
  color: #5850ec;
  background-color: white;
  border-color: #5850ec;
}

.button:hover {
}

/* Default style for lists in text content - UL, OL */
ul {
}

ol {
}

/* Default style for tables in text content */
table {
}

table th {
}

table td {
}

/* Default style for form elements */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
textarea,
select {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #333;
  background: #fff;
  border: 2px solid #333;
  display: inline-block;
  padding: 6px 10px;
  margin: 5px 0;
  outline: none;
}

label {
  cursor: pointer;
}

p {
  line-height: 1.2;
  margin-bottom: 20px;
}

/*=======================================
              Menu Button
========================================*/

.menu-button {
  position: absolute;
  top: 30px;
  left: 50px;
  z-index: 15;
}

.btn-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  background-color: transparent;
  color: inherit;
  padding-left: 0;
  padding-right: 0;
  cursor: pointer;
  transition: 0.3s ease;
  border: none;
}
.btn-menu:focus {
  outline: none;
}
.btn-menu__text {
  margin-left: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
}
.btn-menu__bars {
  display: block;
  position: relative;
  width: 30px;
  height: 4px;
  background-color: white;
  transition: 0.3s;
}
.btn-menu__bars:before,
.btn-menu__bars:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  transition: 0.3s;
}
.btn-menu__bars:before {
  transform: translate(0, -10px);
}
.btn-menu__bars:after {
  transform: translate(0, 10px);
}
.menu-open .btn-menu .btn-menu__bars {
  background-color: transparent;
}
.menu-open .btn-menu .btn-menu__bars:before {
  transform: rotate(45deg);
}
.menu-open .btn-menu .btn-menu__bars:after {
  transform: rotate(-45deg);
}

/*=======================================
              Homepage Header
========================================*/

header {
  height: 500px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

header .left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 50px;
  background-color: rgb(88, 80, 236);
  color: white;
}

header .right {
  width: 50%;
  background-image: url("./img/banner-image.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  overflow: hidden;
}

header .right:before {
  content: "";
  background-color: #5850ec;
  height: 200%;
  width: 100%;
  position: absolute;
  left: -85%;
  top: -60%;
  transform: rotate(15deg);
}

header .page-title {
  font-size: 50px;
  font-weight: 900;
  padding-bottom: 30px;
  margin-bottom: 30px;
  position: relative;
}

header .page-title:after {
  content: "";
  width: 100px;
  height: 4px;
  background-color: white;
  position: absolute;
  left: 0;
  bottom: 0;
}

header .text-container {
  margin-bottom: 10px;
  font-size: 24px;
}

@media (max-width: 1000px) {
  header .right:before {
    left: -75%;
  }

  header .links a {
    margin-right: 15px;
    width: 155px;
  }
}

@media (max-width: 900px) {
  header {
    height: auto;
    background-color: #5850ec;
  }

  header .left {
    width: 100%;
    padding: 100px 30px;
    text-align: center;
  }

  header .right {
    display: none;
  }

  header .page-title:after {
    left: calc(50% - 50px);
  }

  header .links a:last-child {
    margin-right: 0;
  }
}

@media (max-width: 700px) {
  header .page-title {
    line-height: 1.2;
  }
}

@media (max-width: 500px) {
  header .page-title {
    font-size: 40px;
  }

  header .text-container {
    font-size: 20px;
  }

  header .links a,
  header .links a:last-child {
    display: block;
    margin: 0 auto 15px auto;
  }

  header .links a:last-child {
    margin: 0 auto 0 auto;
  }
}

/*======================================
            Search Section
======================================*/

section.search {
  padding: 75px 30px;
}

section.search .container {
  text-align: center;
}

/* section.search label {
  display: none;
} */

section.search input[type="search"] {
  width: 800px;
  border: none;
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 22px;
  display: inline-block;
  margin: 0 auto;
  color: #5850ec;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.19), 0 0px 2px rgba(0, 0, 0, 0.23);
}

.search-form .search-submit {
  background-color: inherit;
  border: none;
  position: relative;
  left: -60px;
  top: 2px;
  font-size: 25px;
  color: #5850ec;
  cursor: pointer;
}

section.search input::placeholder,
section.search input:-ms-input-placeholder,
section.search input::-webkit-input-placeholder {
  color: white;
}

/* clears the 'X' from Internet Explorer */
input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}
input[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

/* clears the 'X' from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

@media (max-width: 850px) {
  section.search input {
    width: 100%;
  }
}

/*======================================
            Featured Section
======================================*/

section.featured {
  padding: 0 0 50px 0;
}

section .section-title {
  margin-bottom: 30px;
}

section .section-title .title {
  font-size: 50px;
  color: #5850ec;
  font-weight: 600;
  text-align: center;
}

.items-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.items-grid .item {
  width: calc(100% / 3 - 20px);
  border-radius: 5px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.19), 0 0px 2px rgba(0, 0, 0, 0.23);
  cursor: pointer;
  margin: 20px;
  position: relative;
}

.items-grid .item a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.items-grid .item .image-container img {
  width: 100%;
  height: auto;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.items-grid .item .details {
  padding: 20px;
}

.items-grid .item .details .title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: rgb(74, 85, 104);
}

.items-grid .item .details .description {
  color: rgb(145, 153, 167);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
}

.items-grid .item .details .description p {
  margin-bottom: 15px;
}

.items-grid .item .details .rating .rmp-icon--full-highlight {
  color: #5850ec;
}

.items-grid .item .details .rating .rmp-icon--half-highlight {
  background: linear-gradient(to right, #5850ec 50%, #ccc 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.items-grid .item .details .rating .vote-count {
  font-size: 14px;
  display: inline-block;
  position: relative;
  top: -2px;
  color: #5850ec;
}

.items-grid .slick-prev {
  left: 0;
}

.items-grid .slick-next {
  right: 10px;
}

.items-grid .slick-prev:before,
.items-grid .slick-next:before {
  color: #5850ec;
  font-size: 30px;
}

.items-grid .slick-list {
  margin: 0 30px;
}

.items-grid .slick-track {
  display: flex;
}

.items-grid .slick-slide {
  height: inherit;
  outline: none !important;
}

.items-grid .slick-slide:focus {
  border: none !important;
  outline: none !important;
}

.featured .navigation {
  margin-top: 30px;
}

@media (max-width: 400px) {
  .items-grid .slick-list {
    margin: 0;
  }

  .items-grid .slick-prev {
    left: -20px;
  }

  .items-grid .slick-next {
    right: -10px;
  }
}

/*=======================================
              Join Section
========================================*/

section.join {
  background-color: #5850ec;
  color: white;
  padding: 100px 0;
}

section.join .title {
  font-size: 50px;
  text-align: center;
  font-weight: 700;
}

section.join .text-container {
  margin: 30px 0;
  text-align: center;
  font-size: 24px;
}

section.join .features {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 50px auto 0 auto;
  width: 800px;
}

section.join .features .feature {
  width: calc(100% / 3 - 30px);
  text-align: center;
}

section.join .features .feature .title {
  font-size: 20px;
  margin-top: 20px;
  width: 200px;
  margin: 20px auto;
  line-height: 1.2;
}

section.join .features .feature .icon {
  width: 150px;
  height: 150px;
  border: 5px solid white;
  border-radius: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  background-color: white;
}

section.join .features .feature .icon i {
  font-size: 60px;
  color: #5850ec;
}

section.join .links {
  text-align: center;
  margin-top: 30px;
}

section.join .links a:last-child {
  margin-right: 0;
}

@media (max-width: 1000px) {
  section.join .features {
    width: 100%;
  }
}

@media (max-width: 850px) {
  section.join .features {
    justify-content: space-around;
  }

  section.join .features .feature {
    width: calc(100% / 2 - 30px);
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  section.join .features {
    flex-direction: column;
  }

  section.join .features .feature {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  section.join .features .feature:nth-child(2) {
    flex-direction: row-reverse;
  }
}

@media (max-width: 500px) {
  section.join .features .feature {
    display: block;
  }

  section.join .features .feature .title {
    width: 100%;
  }
}

/*=======================================
            Single Page Banners
========================================*/

section.banner {
  background-color: #5850ec;
  color: white;
  padding: 150px 30px;
}

section.banner .title {
  font-size: 60px;
  text-align: center;
}

section.banner .download-button {
  margin-top: 30px;
  text-align: center;
}

section.banner .download-button a.download {
  width: 200px;
  padding: 15px 25px;
  margin: 0;
}

section.banner .download-button a.download i {
  margin-left: 5px;
}

/*=======================================
            Single Resource
========================================*/

.single-resource .menu-button {
  left: 30px;
}

/* Meta Section */

.single-resource section.meta {
  padding: 50px 30px;
}

.single-resource section.meta .row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.single-resource section.meta .row .item {
  width: calc(100% / 3);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.single-resource section.meta .row .item.author img {
  width: 75px;
  height: 75px;
  border: 3px solid #5850ec;
  border-radius: 100%;
  float: left;
}

.single-resource section.meta .row .item.author .details {
  float: left;
  margin: 0 0 0 15px;
}

.single-resource section.meta .row .item.author .details .name {
  margin-bottom: 5px;
  color: #5850ec;
  font-weight: 600;
}

.single-resource section.meta .row .item.author .details a {
  font-size: 16px;
  text-decoration: none;
  color: #908989;
}

.single-resource section.meta .row .item.author .details a:hover {
  text-decoration: underline;
}

.single-resource section.meta .row .item.version {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.single-resource section.meta .row .item.version p {
  font-size: 30px;
  font-weight: 900;
  color: #5850ec;
  display: block;
  margin-bottom: 5px;
}

.single-resource section.meta .row .item.version a {
  font-size: 16px;
  text-decoration: none;
  color: #908989;
}

.single-resource section.meta .row .item.version a:hover {
  text-decoration: underline;
}

.single-resource section.meta .row .item.rating {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.single-resource section.meta .row .item.rating p.details {
  margin: 0;
  font-size: 16px;
  color: #5850ec;
}

.single-resource .rmp-widgets-container.rmp-wp-plugin.rmp-main-container {
  margin: 0;
}

.single-resource
  .rmp-widgets-container.rmp-wp-plugin.rmp-main-container
  .rmp-rating-widget__results {
  font-size: 16px;
  color: #5850ec;
}

.single-resource .rmp-rating-widget .rmp-icon--full-highlight {
  color: #5850ec;
}

.single-resource .rmp-rating-widget .rmp-icon--half-highlight {
  background: linear-gradient(to right, #5850ec 50%, #ccc 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.single-resource .rmp-rating-widget__results.js-rmp-results {
  display: none;
}

/* Description */

.single-resource section.description {
  padding: 50px 0;
}

h2.title.underline {
  font-size: 32px;
  color: #5850ec;
  font-weight: 600;
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

h2.title.underline:after {
  content: "";
  width: 75px;
  height: 4px;
  background-color: #5850ec;
  position: absolute;
  bottom: 0;
  left: 0;
}

.single-resource section.description .text-container {
  color: #565252;
}

/* Screenshots */

.single-resource section.screenshots {
  padding: 0 0 50px 0;
}

.single-resource section.screenshots .slick-initialized .slick-slide {
  margin: 0 30px;
}

.single-resource section.screenshots .slick-prev {
  left: 0;
}

.single-resource section.screenshots .slick-next {
  right: 10px;
}

.single-resource section.screenshots .slick-prev:before,
.single-resource section.screenshots .slick-next:before {
  color: #5850ec;
  font-size: 30px;
}

.single-resource section.screenshots .slick-list {
  margin: 0 40px;
}

.single-resource section.screenshots .slick-track {
  display: flex;
}

.single-resource section.screenshots .slick-slide {
  height: inherit;
  opacity: 0.7;
  transition: all 0.3s ease-in-out;
}

.single-resource section.screenshots .slick-slide.slick-current {
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 400px) {
  .single-resource section.screenshots .slick-list {
    margin: 0;
  }

  .single-resource section.screenshots .slick-prev {
    left: -20px;
  }

  .single-resource section.screenshots .slick-next {
    right: -10px;
  }
}

/* Versions */

.single-resource .versions .versions-container .version {
  width: 100%;
  margin-bottom: 20px;
}

.single-resource .versions .text-container {
  color: #565252;
}

.single-resource .versions .versions-container .version .top {
  padding: 15px 20px;
  background-color: #5850ec;
  position: relative;
  cursor: pointer;
}

.single-resource .versions .versions-container .version .top i {
  position: absolute;
  right: 20px;
  top: 15px;
  color: white;
  font-size: 24px;
}

.single-resource .versions .versions-container .version .title {
  font-size: 24px;
  color: white;
}

.single-resource .versions .versions-container .version .details {
  display: none;
  padding: 20px;
  background-color: #eae7e7;
  color: black;
}

.single-resource .versions .versions-container .version .details .title {
  color: #5850ec;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.single-resource
  .versions
  .versions-container
  .version
  .details
  .text-container {
  color: black;
  font-size: 18px;
}

.single-resource .versions .versions-container .version a.download {
  background-color: #5850ec;
  border-color: #5850ec;
  color: white;
  width: auto;
  padding: 10px 20px;
  font-size: 16px;
}

.single-resource .versions .versions-container .version a.download:hover {
  background-color: white;
  color: #5850ec;
}

.single-resource .versions .versions-container .version a.download i {
  margin-left: 5px;
}

/* Comments */

.single-resource .comments {
  padding: 50px 0;
}

.single-resource .comments #reply-title,
.single-resource .comments .logged-in-as {
  display: none;
}

.single-resource .comments .comment-form-comment {
  margin-bottom: 0;
}

.single-resource .comments .comment-form-comment label {
  display: none;
}

.single-resource .comments .comment-form-comment textarea {
  border-color: #5850ec;
  padding: 10px;
  width: 100%;
  height: 80px;
  resize: none;
}

.single-resource .comments .form-submit {
  text-align: right;
  margin-bottom: 40px;
}

.single-resource .comments .form-submit input[type="submit"] {
  display: inline-block;
  padding: 10px 30px;
  background-color: #5850ec;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid #5850ec;
  width: auto;
  text-align: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.single-resource .comments .form-submit input[type="submit"]:hover {
  background-color: white;
  color: #5850ec;
  transition: all 0.2s ease-in-out;
}

.single-resource .comments .comment {
  display: block;
  overflow: hidden;
  margin-bottom: 25px;
  padding: 15px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.19), 0 0px 2px rgba(0, 0, 0, 0.23);
  border-radius: 10px;
}

.single-resource .comments .comment .image {
  float: left;
  margin-right: 20px;
}

.single-resource .comments .comment .image img {
  width: 50px;
  height: 50px;
  border: 3px solid #5850ec;
  border-radius: 100%;
}

.single-resource .comments .comment .details {
  float: left;
  width: calc(100% - 70px);
  position: relative;
}

.single-resource .comments .comment .details p.username {
  margin: 10px 0 15px 0px;
  font-weight: bold;
}

.single-resource .comments .comment .details p.username a {
  color: black;
  text-decoration: none;
}

.single-resource .comments .comment .details p.username a:hover {
  color: #5850ec;
}

.single-resource .comments .comment .details p.username .role {
  font-size: 14px;
  background-color: #5850ec;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 5px;
}

.single-resource .comments .comment .details .date {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 14px;
  font-style: italic;
  color: #565252;
}

.single-resource .comments .comment .details .comment-text {
  font-size: 18px;
  color: #565252;
  padding: 5px 0px;
}

.single-resource .comments .comment .details .comment-text p {
  margin: 0;
  line-height: 1.3;
}

.single-resource .banner .simplefavorite-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: white;
  color: #5850ec;
  margin-right: 20px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 20px;
  border: 2px solid white;
  min-width: 170px;
  text-align: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  margin-left: 20px;
}

.single-resource .banner .simplefavorite-button:hover {
  background-color: #5850ec;
  color: white;
  border-color: white;
  transition: all 0.2s ease-in-out;
}

.single-resource .banner .simplefavorite-button.active {
  opacity: 1;
  background-color: #5850ec;
  color: white;
}

.single-resource .banner .simplefavorite-button.active:hover {
  background-color: white;
  color: #5850ec;
}

/* Tags */

.single-resource .tags-container .tag {
  color: rgb(74, 85, 104);
  background-color: rgb(237, 242, 247);
  padding: 5px 12px;
  border-radius: 15px;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  text-decoration: none;
}

/*=======================================
            Contact Section
========================================*/

section.contact {
  padding: 100px 0;
}

section.contact .title {
  font-size: 50px;
  text-align: center;
  font-weight: 700;
  color: #5850ec;
}

section.contact .contents {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 50px;
  width: 75%;
  margin: 50px auto 0 auto;
}

section.contact .contents .item {
  width: calc(100% / 3 - 30px);
  text-align: center;
  position: relative;
}

section.contact .contents .item .title {
  font-size: 24px;
}

section.contact .contents .item .icon-container {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 4px solid #5850ec;
  border-radius: 100%;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

section.contact .contents .item .icon-container i {
  font-size: 35px;
  color: #5850ec;
  transition: all 0.3s ease-in-out;
}

section.contact .contents .item a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

section.contact .contents .item:hover .icon-container {
  background-color: #5850ec;
  transition: all 0.3s ease-in-out;
}

section.contact .contents .item:hover .icon-container i {
  color: white;
  transition: all 0.3s ease-in-out;
}

/*=======================================
                Footer
========================================*/

footer {
  padding: 100px 30px;
  margin-top: 50px;
  background-color: #5850ec;
}

.page-home footer {
  margin-top: 0;
}

/*=======================================
              Resources Grid
========================================*/

.items-grid.resources-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.items-grid.resources-grid .item {
  width: calc(100% / 3 - 20px);
  margin: 0 0 40px 0;
}

.items-grid.resources-grid:after {
  content: "";
  flex: 0 0 32%;
}

/*=======================================
              Author Page
========================================*/

.author section.posts {
  padding: 50px 0;
}

/*=======================================
                  Menu
========================================*/

.menu-container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #5850ec;
  display: none;
  z-index: 10;
}

.menu-container .contents {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.menu-container .contents .menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

.menu-container .contents .menu .menu-item {
  width: calc(100% / 3);
  text-align: center;
  margin-bottom: 50px;
  cursor: pointer;
  position: relative;
}

.menu-container .contents .menu .menu-item a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.menu-container .contents .menu .menu-item .icon-container {
  background-color: white;
  border: 3px solid white;
  border-radius: 100%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
}

.menu-container .contents .menu .menu-item .icon-container i {
  color: #5850ec;
  font-size: 50px;
}

.menu-container .contents .menu .menu-item .title {
  color: white;
  font-size: 30px;
  font-weight: 600;
  margin-top: 20px;
}

.menu-container .contents .menu .menu-item:hover .icon-container {
  background-color: #5850ec;
}

.menu-container .contents .menu .menu-item:hover .icon-container i {
  color: white;
}

/*=======================================
              Favourites Page
========================================*/

section.favourites {
  padding: 50px 0;
}

section.favourites .resources-grid {
  margin-top: 50px;
}

/*=======================================
              User Profile
========================================*/

.page-user-profile .banner {
  text-align: center;
}

.page-user-profile .banner .title {
  margin-bottom: 50px;
}

.page-user-profile .banner a:last-child {
  margin: 0;
}

.page-user-profile .resources {
  padding: 50px 0;
}

.page-user-profile .resources .item .image-container {
  position: relative;
}

.page-user-profile .resources .item .image-container .edit-link {
  position: absolute;
  top: 10px;
  right: 45px;
  background-color: white;
  width: 30px;
  border-radius: 100%;
  height: 30px;
  z-index: 5;
}

.page-user-profile .resources .item .image-container .edit-link a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  right: 0;
}

.page-user-profile .resources .item .image-container .edit-link a i {
  font-size: 18px;
  position: relative;
  top: 4px;
  left: 5px;
}

.page-user-profile .resources .item .image-container .delete-link {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: white;
  width: 30px;
  border-radius: 100%;
  height: 30px;
  z-index: 5;
}

.page-user-profile .resources .item .image-container .delete-link a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  right: 0;
}

.page-user-profile .resources .item .image-container .delete-link a i {
  font-size: 18px;
  position: relative;
  top: 5px;
  left: 6.5px;
  color: #cc3636;
}

/*=======================================
              Resources Page
========================================*/

.page-resources .resources {
  padding: 50px 0;
}

/*=======================================
              Search Results
========================================*/

.search-results .results {
  padding: 50px 0;
}

.search-results .title .searchterm {
  font-style: italic;
}

/*=======================================
              Login Page
========================================*/

.page-template-login .login {
  padding: 50px 0;
}

.page-template-login #loginform {
  text-align: center;
  width: 400px;
  margin: 0 auto;
}

.page-template-login #loginform label {
  display: block;
  text-align: left;
  font-size: 24px;
  font-weight: 600;
  color: #5850ec;
  margin-bottom: 20px;
}

.page-template-login #loginform input[type="text"],
.page-template-login #loginform input[type="password"] {
  width: 100%;
  border: none;
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 22px;
  display: inline-block;
  margin: 0 auto;
  color: #5850ec;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.19), 0 0px 2px rgba(0, 0, 0, 0.23);
}

.page-template-login #loginform input[type="submit"] {
  display: inline-block;
  padding: 15px 40px;
  background-color: #5850ec;
  color: white;
  margin-right: 20px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 20px;
  border: 2px solid #5850ec;
  min-width: 170px;
  text-align: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  margin-left: 20px;
  margin-top: 20px;
}

.page-template-login #loginform input[type="submit"]:hover {
  background-color: white;
  color: #5850ec;
  transition: all 0.2s ease-in-out;
}

.page-template-login #loginform .login-remember {
  display: none;
}

/*=======================================
              Stats Section
========================================*/

section.stats {
  background-color: #5850ec;
  color: white;
  padding: 100px 0;
}

section.stats .title {
  font-size: 50px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 50px;
}

section.stats .stat {
  width: 50%;
  margin: 0 auto;
  overflow: hidden;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* section.stats .stat:nth-child(2) {
  flex-direction: row-reverse;
} */

section.stats .stat .icon {
  width: 100px;
  height: 100px;
  background-color: white;
  border-radius: 100%;
  float: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

section.stats .stat .icon i {
  color: #5850ec;
  font-size: 40px;
}

section.stats .stat .text-container {
  width: calc(100% - 100px);
  padding-left: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section.stats .stat .text-container .title {
  font-size: 24px;
  text-align: left;
  margin-bottom: 15px;
}

section.stats .stat .text-container p {
  margin: 0;
  font-size: 18px;
}

section.stats .stat .text-container p a {
  color: white;
}

/*=======================================
              Single Tag Page
========================================*/

.tag section.resources {
  padding: 50px 0;
}

/*=======================================
                FAQ Page
========================================*/

.page-faq section.faq {
  padding: 50px 0;
}

.page-faq section.faq .faq-container {
  overflow: hidden;
  padding: 0 15px;
}

.page-faq section.faq .faq-container .question,
.page-faq section.faq .faq-container .answer {
  width: 60%;
  padding: 30px;
  border-radius: 30px;
  margin-bottom: 30px;
}

.page-faq section.faq .faq-container .question {
  background-color: #dad7d7;
  color: black;
  float: left;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.19), 0 0px 2px rgba(0, 0, 0, 0.23);
}

.page-faq section.faq .faq-container .answer {
  background-color: #5850ec;
  color: white;
  float: right;
  box-shadow: 0 2px 15px rgba(88, 80, 236, 0.19), 0 0px 2px rgba(88, 80, 236, 0.23);
}

.page-faq section.faq .faq-container .question p,
.page-faq section.faq .faq-container .answer p {
  margin: 0;
}
