/*
 	Theme Name: Anwar Al-Kalaed
 	Theme URI: https://ak.com.iq
 	Author: Zee Media
 	Author URI: https://zeemedia.co
	Description: Anwar Al-Kalaed is a dedecated theme for ak.com.iq
	Version: 1.0
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: aktheme
	Template: generatepress
*/

/* =================================
 Common Styling
================================= */

table, td, th {
    border: 0;
}

::-moz-placeholder {
  color: dimgray;
}

:-ms-input-placeholder {
  color: dimgray;
}

::placeholder {
  color: dimgray;
}

.main-navigation.has-sticky-branding.navigation-stick .inside-navigation {
  padding: 0 30px;
}

.main-navigation .main-nav ul ul li a {
  font-size: 15px;
}

.main-navigation ul ul {
  background-color: #fff;
}

.page-heading h2 {
  margin-bottom: 0;
}

.site-logo {
  float: left;
}

.menu-toggle {
  line-height: normal;
  margin: 0;
}

.has-no-arrows.coblocks-gallery.is-selected .flickity-prev-next-button {
  display: none;
}

.widget_search .search-submit {
  display: block;
  font-family: 'GeneratePress';
}

.search-form {
  display: flex;
}

.entry-header .entry-meta{
  display: flex;
  justify-content: start;
  padding: 15px;
  background: #f6f6f6;
}

.ak-meta-terms {
  display: flex;
  justify-content: center;
}

.ak-meta-terms a{
  color: #239ecc;
}

.type-meta-terms{
  margin: 0 0 0 30px;
}

.rtl .type-meta-terms{
  margin: 0 30px 0 0;
}

.project-signle-page .ak-meta-terms{
  justify-content: start;
}

.ak-meta-terms.type-meta-terms .ak-term-item{
  margin: 0 8px 0 0;
}

.rtl .ak-meta-terms.type-meta-terms .ak-term-item{
  margin: 0 0 0 8px;
}

#footer-widgets .uagb-post__inner-wrap {
  display: flex;
  justify-content: start;
  align-items: center;
}

#footer-widgets .uagb-post__inner-wrap .uagb-post__image {
  width: 80px;
  margin: 0 20px 0 0;
}

.about-widget {
  text-align: left !important;
}

.rtl .about-widget {
  text-align: right !important;
}

.rtl #footer-widgets .uagb-post__inner-wrap .uagb-post__image {

  margin: 0 0 0 20px;
}

.ltr-text{
  direction: ltr;
}

/* .ak-project-terms .ak-project-term-label {
  padding-left: 5px;
} */

.post-type-archive-projects article.type-projects .inside-article {
  display: flex;
  flex-direction: column;
  background: #f6f6f6;
    box-shadow: 0 50px 50px -30px rgb(0 0 0 / 15%);
  text-align: center;
}

.post-type-archive-projects
  article.type-projects
  .inside-article
  .entry-header {
  padding: 0 20px;
}

.post-type-archive-projects article.type-projects .inside-article .entry-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.post-type-archive-projects
  article.type-projects
  .inside-article
  .entry-summary,
.post-type-archive-projects
  article.type-projects
  .inside-article
  footer.entry-meta {
  margin: 0;
}

.ak-page-heading {
  background-image: linear-gradient(
    90deg,
    rgb(23, 92, 125) 0%,
    rgb(35, 158, 204) 92%
  );
}

.ak-page-heading h1{color: white;}

.link-highlight {
  font-style: normal;
  background: rgb(23, 92, 125);
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.post-image .wp-post-image {
  width: 100%;
}

.post-image {
  position: relative;
  overflow: hidden;
}
.post-image img {
  max-width: 100%;

  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.post-image:hover img {
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.ak-related-post-container{
    margin:60px 0 0 0;
}

.ak-related-post-container .ak-city-name{
    padding: 0 6px;
}

.ak-related-post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.ak-related-post-list .ak-related-post{
    display: flex;
    flex-direction: column;
    background: #f6f6f6;
    box-shadow: 0 50px 50px -30px rgb(0 0 0 / 15%);
    text-align: center;
}

.ak-related-post-list .ak-related-post img{
    max-width: 100%;
    width:100%;
}

.ak-related-post-list .ak-related-post h3{
    margin-top: 10px;
}

.ak-terms-list-container{
  display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.ak-terms-list {
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.ak-terms-list a {
  display: flex;
  flex-direction: column;
  background: #f6f6f6;
  box-shadow: 0 50px 50px -30px rgb(0 0 0 / 15%);
  padding: 15px;
}

.ak-terms-list a h3{
    margin-bottom: 5px;
    font-weight: 600;
    font-size:inherit;
    background: linear-gradient(90deg, rgb(155, 81, 224) 0%, rgb(6, 147, 227) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-title strong{
  background: linear-gradient(90deg, rgb(155, 81, 224) 0%, rgb(6, 147, 227) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ak-terms-list .count-number{
    padding: 0 5px;
}

.ak-terms-list .count-container{
    color: #777777;
    font-size: 14px;
}

.term-title-text {
  padding: 0 5px;
}

.generate-back-to-top {
  bottom: 85px;
}

/* Post Navigation */

.post-navigation {
	display: flex;
}

.post-navigation .nav-next {
	width: 50%;
	text-align: right;
	display: flex;
	flex-direction: row-reverse;
}

.post-navigation .nav-previous {
	width: 50%;
}

.nav-next .gp-icon {
	margin-left: .6em;
	margin-right: 0;
}

.post-navigation {
	display: flex;
}

.post-navigation .nav-next {
	width: 50%;
	text-align: right;
	display: flex;
	flex-direction: row-reverse;
}

.post-navigation .nav-previous {
	width: 50%;
}

.nav-next .gp-icon {
	margin-left: .6em;
	margin-right: 0;
}

.post-navigation :not(.nav-previous) + .nav-next {
    width: 100%;
}

/* .one-container .site-content {
    padding-top: 0;
    padding-bottom:0;
} */

figcaption.coblocks-gallery--primary-caption:not(.has-caption-color) {
  color: #239ecc;
  font-size: 36px;
}

.entry-content > [class*="wp-block-"]:not(:last-child) {
  margin-bottom: 0em;
}

.leaflet-popup-content-wrapper {
  text-align: center;
}

/* Page Title Unserline*/

/* b,
strong {
  position: relative;
}

strong:after {
  content: " ";
  display: block;
  background: #1b89b2;
  height: 6px;
  width: 50%;
  position: absolute;
  top: 55px;
  left: 25%;
} */

.title-projects {
  padding-top: 70px;
}

.map-padding {
  padding-top: 70px;
}

.wp-block-gallery .blocks-gallery-item figcaption {
  font-size: 18px;
}

.wp-block-coblocks-social__icon + .wp-block-coblocks-social__text {
  margin-left: 8px;
  margin-right: 0;
}

/*
 .menu-toggle::before,
 .search-item a::before,
 .dropdown-menu-toggle::before,
 .cat-links::before,
 .tags-links::before,
 .comments-link::before,
 .nav-previous .prev::before,
 .nav-next .next::before,
 .generate-back-to-top::before {
     display: none;
}
*/

/* =================================
 Contact Form 7
================================= */

.site-main .wp-block-group__inner-container {
  padding: 30px;
}

.screen-reader-response p[role="status"],
.screen-reader-response ul li,
.wpcf7 .wpcf7-not-valid-tip,
.wpcf7 .input-required {
  color: tomato;
}

.wpcf7 input[type="text"].wpcf7-not-valid,
.wpcf7 input[type="email"].wpcf7-not-valid,
.wpcf7 input[type="url"].wpcf7-not-valid,
.wpcf7 input[type="password"].wpcf7-not-valid,
.wpcf7 input[type="search"].wpcf7-not-valid,
.wpcf7 input[type="tel"].wpcf7-not-valid,
.wpcf7 input[type="number"].wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid {
  border-color: tomato;
}

.wpcf7 input:not([type="submit"]) {
  width: 100% !important;
}

input:not([type="submit"]),
select,
textarea {
  background-color: whitesmoke;
}

.wpcf7 input.wpcf7-form-control.wpcf7-submit {
  /* background: linear-gradient(-135deg, #0693e3, #9b51e0) !important; */

  box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.25);
  padding: 10px 24px !important;
  /* font-size: 22px !important; */
  -webkit-border-radius: 6px !important;
  -moz-border-radius: 6px !important;
  -ms-border-radius: 6px !important;
  -o-border-radius: 6px !important;
  border-radius: 6px !important;
}

.wpcf7 .control-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2em;
}

.wpcf7 .submit-container.control-group {
  display: block;
}

.wpcf7-form-control.wpcf7-radio {
  display: flex;
  align-content: center;
  align-items: start;
  justify-content: start;
  flex-wrap: wrap;
  flex-direction: row;
  margin: 0.5rem 0.5rem 1.2rem;
}

.wpcf7 .control-group > label {
  margin-bottom: 0.1rem;
  font-size: 14px;
  color: #555555;
  font-weight: 400;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
  border: 2px solid LightGray;
  color: dimgray;
  width: 100%;
  padding: 10px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="password"]:focus,
.wpcf7 input[type="search"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #1b89b2;
}

.wpcf7-list-item {
  margin: 0 0 0.5rem 0.5rem;
}

.wpcf7-list-item:last-of-type {
  margin-right: 0;
}

.wpcf7 input[type="radio"] {
  opacity: 0;
  width: 0;
  height: 0;
  display: none;
}

.wpcf7 .wpcf7-list-item-label {
  display: flex;
  flex: auto;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  background-color: lightgray;
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-right: 8px;
  -webkit-transition: all 0.3s cubic-bezier(0.07, 0.49, 1, 0.08);
  -moz-transition: all 0.3s cubic-bezier(0.07, 0.49, 1, 0.08);
  -o-transition: all 0.3s cubic-bezier(0.07, 0.49, 1, 0.08);
  transition: all 0.3s cubic-bezier(0.07, 0.49, 1, 0.08);
}

/* This is for extending the radio options width */

.wpcf7 .radio-buttons.three-options .wpcf7-list-item {
  width: calc(100% / 3 - 0.5rem);
}

.wpcf7 .radio-buttons.two-options .wpcf7-list-item {
  width: calc(100% / 2 - 0.5rem);
}

/* CHECKED STYLES */

.wpcf7 input[type="radio"],
.wpcf7-list-item-label {
  cursor: pointer;
}

input[type="radio"]:checked + .wpcf7-list-item-label {
  background-color: #1b89b2;
  color: white;
}

/*
======= Footer ========
*/

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-content a {
  color: #9a9999;
}

.footer-copyright .year {
  padding-left: 5px;
}

.footer-seperator {
  height: 25px;
  width: 1px;
  background: #8e8e8e;
  display: flex;
  margin: 0 15px;
}

.footer-credit {
  padding-right: 20px;
}

.footer-credit {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-credit img {
  padding: 0 5px;
}

/* Resonsive mode */

@media only screen and (max-width: 1024px) {
}

@media only screen and (min-width: 769px) and (max-width: 1116px) {
  .navigation-branding {
    margin: 15px 0 0 !important;
    justify-content: center;
    width: 100%;
  }
  .navigation-branding img {
    margin: 0;
  }
  .main-navigation:not(.slideout-navigation) .main-nav {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .separate-containers .inside-article,
  .separate-containers .comments-area,
  .separate-containers .page-header,
  .separate-containers .paging-navigation,
  .one-container .site-content,
  .inside-page-header,
  .wp-block-group__inner-container {
    padding-top: 0;
  }
  .inside-header > :not(:last-child):not(.main-navigation) {
    margin-bottom: 0px;
  }
  .inside-header {
    padding: 10px;
  }
  /*.site-header .header-image {*/
  /*    width: 200px;*/
  /*}*/
  .site-logo {
    float: left !important;
  }
  .nav-float-right .inside-header .main-navigation {
    float: right !important;
    clear: right !important;
  }
  .mobile-bar-items .search-item {
    display: none !important;
  }
  .menu-toggle {
    font-size: 18px;
    padding: 0 10px;
  }
  .menu-toggle .gp-icon + .mobile-menu {
    padding-right: 9px;
  }
  .menu-toggle .mobile-menu {
    padding-right: 3px;
  }
  .entry-content .alignwide,
  body:not(.no-sidebar) .entry-content .alignfull {
    margin-left: 0;
    width: 100%;
  }
  .projects-btn a {
    margin-bottom: 15px;
  }
  .projects-btn a,
  .home-contact-btn a {
    width: 75vw;
  }
  .wp-block-gallery .blocks-gallery-item figcaption {
    font-size: 12px;
    display: none;
  }
  .wp-block-media-text__media,
  .wp-block-media-text__content {
    margin-bottom: 15px !important;
  }
  .footer-widgets {
    padding: 25px;
  }
  .wp-block-coblocks-row__inner
    .wp-block-coblocks-column
    .wp-block-coblocks-column__inner {
    flex: 1;
  }
  .has-huge-font-size,
  .has-larger-font-size {
    font-size: 1.8em;
  }
  .site-main .wp-block-group__inner-container {
    padding: 20px;
  }
  .contact-and-image-cols {
    display: flex !important;
    flex-direction: column;
  }
  .contact-and-image-cols:nth-child(1) {
    order: 2;
  }
  .contact-and-image-cols:nth-child(2) {
    order: 1;
  }
  .page-title:after {
    height: 4px;
    top: 40px;
  }
  .coblocks-row-726141142187 > div,
  .coblocks-row-726135526410 > div,
  .coblocks-row-726143926425 > div,
  .coblocks-row-726142530890 > div {
    padding: 20px 0;
  }
  .coblocks-row-726142530890 strong {
    font-size: 12px;
  }
  /* p {
        font-size: 12px !important;
    }
    .has-medium-font-size {
        font-size: 11px !important;
    }
    .wpcf7-list-item-label {
        font-size: 10px;
    }
    .wpcf7 input.wpcf7-form-control.wpcf7-submit {
        font-size: 12px !important;
        width: 100%;
    }
    .wpcf7 input[type="radio"]:before {
        top: -1.7rem;
        left: -0.45rem;
        width: 0.5rem;
        height: 0.5rem;
    }
    .wpcf7 input[type="radio"]:after {
        top: -1.9rem;
        left: -0.5rem;
    }
    .wpcf7 .wpcf7-list-item-label {
        font-size: 14px;
    }
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        padding: 4px !important;
        font-size: 11px !important;
    } */
  .site-main .wp-block-group__inner-container {
    padding-top: 0px !important;
  }
}

@media only screen and (max-width: 480px) {
  .wpcf7-list-item,
  .wpcf7 .radio-buttons.threee-options .wpcf7-list-item,
  .wpcf7 .radio-buttons.two-options .wpcf7-list-item {
    width: 100%;
  }
}

@media only screen and (max-width: 320px) {
}
