/*
Theme Name: Comments
Author: Portalworks
Version: 1.0.0
Text Domain: comments
*/

/* open-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/open-sans-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* open-sans-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/open-sans-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
/***************************************************************
                         ROOT
***************************************************************/
:root {
    --font-primary: 'Open Sans', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --yellow: #FFFF00;
    --magenta: #FF82FF;
    --grey: #222222;
    --text-color: #000000;
}
#wp-admin-bar-wp-logo{
	display: none;
}
/*************************
        BODY
**************************/


/* #wpadminbar {
	position: fixed;
}
body.admin-bar .navbar {
    margin-top: 46px;
}
@media (min-width: 768px) {
    body.admin-bar .navbar {
        margin-top: 32px;
    }
} */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--text-color) !important;

}

/*************************
    PRE-DEFINED CLASSES
**************************/
.disabled-click {
	pointer-events: none;
}
.container {
    padding-left: 20px;
    padding-right: 20px;
}
.bg-yellow {
    background-color: var(--yellow);
}
.bg-magenta {
    background-color: var(--magenta);
}

.btn {
    border-radius: 0;
    background-color: var(--magenta);
    color: var(--text-color);
}
.w-40 {
    width: 40%;
}
.w-60 {
    width: 60%;
}
.custom-button{
  position:relative;
  display:inline-block;
  margin-top: 15px;
}

.custom-button a,
.custom-button button,
.custom-button input{
  color:white;
  text-align: center;
  text-decoration:none;
  position: absolute;
  background-color:var(--magenta);
  display:block;
  position:relative;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease-in-out;  
  transform: translate(-7px,-7px);
  transform-origin: right bottom;
  z-index: 1;
  color: var(--text-color);
  line-height: 1;
  outline: 0;
  border: 0;
}

.custom-button a:active,
.custom-button button:active,
.custom-button input:active{
    transform: translate(0,0);
  background-color: var(--magenta);
}

.custom-button:after{
  content:"";
  height:100%;
  width:100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index:0;
  background-color:#000;
}
.submit.custom-button button,
.submit.custom-button input
{
    z-index: 0;
}
.submit.custom-button::after {
    z-index: -1;
}
.custom-button a:disabled,
.custom-button button:disabled,
.custom-button input:disabled{
	opacity: 0.7;
}
/*************************
    MAIN PART
**************************/
/*********** CONTACT FORM ********/
.contact-wrap {
    padding-top: 50px;
    padding-bottom: 50px;
}
.contact-title {
    font-weight: 400;
    font-size: 43px;
    line-height: 1.2;
    font-family: var(--font-secondary);
    text-transform: uppercase;
}
.form-check,
.wpcf7-list-item label{
    display: flex;
    gap: 15px;
    align-items: center;
}
.wpcf7-list-item {
	margin-left: 0;
}
.form-control,
.form-control:focus,
.form-control:focus-visible {
    border-radius: 0;
    padding: 10px 7px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-color);
    box-shadow: none;
    outline: 0;
    border: 0;
    min-height: 53px;
}
.form-check-label {
    font-size: 14px;
}
.form-check-input,
.form-check-input[type="checkbox"],
.form-check-input:focus {
    border-radius: 0;
    border: 1px solid #000;
    width: 20px;
    height: 20px;
    box-shadow: none;
    margin-top: 0;
}
.form-check-input:checked[type="checkbox"] {
    background-color: #fff;
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 11 3 3 8-8'/%3e%3c/svg%3e");
}
a {
    color: #fff;
}

.form-control::placeholder {
    opacity: 0.25;
	 color: var(--text-color);
}
textarea.form-control {
    font-size: 16px !important;
}
textarea.form-control::placeholder {
    opacity: 1;
    font-family: var(--font-secondary);
	color: var(--text-color);
}

/*********** COMMENTS ********/
.comments-text {
    margin-top: 45px;
}
.accordion {
    margin-bottom: 45px;
}
.accordion-item {
    border-bottom: 1px solid #000 !important;
}
.accordion-button, 
.accordion-button:focus,
.accordion-button:focus-visible,
.accordion-button:not(.collapsed) {
    border: 0;
    border-top: 1px solid #000;
    outline: 0;
    box-shadow: none;
    background-color: var(--yellow);
    padding: 16px 0;
    font-size: 16px;
    line-height: 1.33;
    font-weight: 700;
    color: var(--text-color);
}
.accordion-button.collapsed::after {
    transform: scaleY(100%) !important;
}
.accordion-button::after {
    background-image: none;
    width: 2px;
    height: 16px;
    background-color: var(--text-color);
    margin-right: 7px;
    transform: scaleY(0%) !important;
}
.accordion-button::before {
    content: '';
    right: 0;
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: var(--text-color);
}
.accordion-body {
    font-size: 14px;
    font-weight: 400;
    padding: 16px 0;
	& a {
		color: var(--text-color);
	}
}
.comment-text p {
    font-size: 16px;
    line-height: 1.33;
    font-family: var(--font-primary);
    margin-bottom: 20px;
}
.comment-text p:last-child {
    margin-bottom: 0;
}
.column-bg,
.column-bg2 {
    left: 50%;
    transform: translateX(-50%);
}
.komentar-grid {
    display: grid;
    gap: 0 20px;
}
.comments-wrap {
    background-color: var(--yellow);
}
.comments-box .column-bg2 {
    background-color: #000;
}
.comments-box {
	padding-bottom: 85px;
  padding-top: 85px;
}
.comments-wrap {
    padding: 25px;
}
.komentar-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
        "info-box"
        "form-box"
        "comments-box";
}

.info-box {
    grid-area: info-box;
}

.form-box {
    grid-area: form-box;
    overflow: hidden;
}

.comments-box {
    grid-area: comments-box;
}
footer {
	padding-left: 20px;
	padding-right: 20px;
}
/*********** COMMENTS FILTER ********/
.filters-wrap {
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
}
.filter-title {
    font-size: 16px;
    line-height: 1.33;
}
.filter-img {
    width: 24px;
    flex-shrink: 0;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.filter-img img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.filter-type {
    gap: 10px;
	text-decoration: none;
	color: #000;
	opacity: 1;

}

.filter-type:hover,
.filter-type.active{
	color: var(--magenta);
	& .filter-img path,
	.filter-img svg{
		fill: var(--magenta);
		stroke: var(--magenta);
	}
}

.like-icon {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    & svg {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
.likes {
	cursor: pointer;
}
.likes:hover path {
    fill: rgba(255, 0, 0, 0.25);
    stroke: red;
    stroke-width: 1.5;
}
.liked .like-icon path {
    fill: red;
    stroke: red;
}
.form-confirmed {
    right: 0px;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
    transform-origin: right;
}
.form-confirmed .contact-title,
.form-confirmed .contact-text {
    max-width: 590px;
}
.form-confirmed.confirmed {
    transform: translateX(0%);
}
.comment-box {
    padding: 10px 16px 5px 16px;
    margin-top: 12px;
    border-bottom: 1px solid #000;
    & .name {
        font-weight: 700;
        font-size: 14px;
        line-height: 1.33;
        min-height: 20px;
    }
    & .date {
        font-size: 12px;
        line-height: 1.33;
    }
    & .comment-text {
        font-size: 14px;
        line-height: 1.33;
        & span {
            color: var(--magenta);
            font-family: var(--font-secondary);
        }
    }
    & .likes {
        gap: 8px;
        align-items: center;
    }
    & .comment-footer {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    & .likes-text {
        font-size: 12px;
        line-height: 1.33;
        color: red;
    }
}
@media (min-width: 992px){
	.form-control,
.form-control:focus,
	.form-control:focus-visible {
		padding: 10px;
	}
    .custom-button a,
    .custom-button button,
	.custom-button input{
        font-size: 24px;
        padding: 13px 29px;
    }
    .form-check-label {
        font-size: 16px;
    }
    .form-check,
	.wpcf7-list-item label{
        align-items: start;   
    }
    .comments-text {
        margin-bottom: 45px;
        margin-top: 20px;
    }
    .comments-text p {
        font-size: 24px;
    }
    .accordion-button, .accordion-button:focus, .accordion-button:focus-visible, .accordion-button:not(.collapsed) {
        font-size: 24px;
    }
    .accordion-body {
        font-size: 18px;
    }

}
@media (min-width: 1200px){
	.comments-box {
		padding-top: 0;
		padding-bottom: 0;
	}
    .disturber {
        width: 243px;
        height: 243px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding:
        10px;
            text-align: center;
            font-size: 20px;
            transform: rotate(17deg);
    }
    .contact-title {
        font-size: 64px;
    }
    .comments {
        padding-top: 14px;

    }
    .info-box,
    .comments-box {
        padding-left: 60px;
    }
    .comments-wrap {
        padding: 60px 0;
    }
    .form-box {
        padding-right: 60px;
        overflow: visible;
    }
    .column-bg,
    .column-bg2 {
        left: 0;
        right: auto;
        transform: none;
    }
    .komentar-grid {
        grid-template-columns: 40% 60%;  /* leva i desna kolona */
        grid-template-rows: auto auto;
        grid-template-areas:
          "form-box info-box"
          "form-box comments-box";
        gap: 0;
      }
      .comments-box .column-bg2 {
          background-color: var(--yellow);
      }
      .form-box {
        grid-area: form-box;
      }
    
      .info-box {
        grid-area: info-box;
      }
    
      .comments-box {
        grid-area: comments-box;
      }
    .comment-box {
        padding: 16px 53px 12px 53px;
        margin-top: 16px;
        & .name {
            font-size: 16px;
        }
        & .date {
            font-size: 16px;
        }
        & .comment-text p{
            font-size: 24px;
        }
        & .comment-head {
            padding-bottom: 10px;
        }
        & .comment-footer {
            padding-top: 12px;
            padding-bottom: 12px;
        }
        & .likes-text {
            font-size: 16px;
        }
    }
}
@media (min-width: 1400px){
    .contact-title {
        font-size: 84px;
    }
    .container {
        max-width: 1629px;
    }
    .komentar-grid {
        grid-template-columns: 40% 60%; 
    }
}