/*!
Theme Name: Cyprus Profile
Theme URI: https://bitbucket.org/filamentlab/cyprus-wp
Author: Filament Lab
Author URI: https://filamentlab.com
Description: This is a custom theme for Cyprus based on a migration from Expression Engine.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cyprusprofile

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.

cyprusprofile is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

@import 'jquery.css';
@import 'rtl.css';
@import 'screen.css';
@import 'widgets.css';

footer .logo-group h5 {
    height: 37px;
}

.yt-meta-views{
    display: none;
}


#backToTop {
    display: inline-block;
    background-color: #3e61c5;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s,
    opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

#backToTop::before {

    color: #fff;
    font-size: 13px;
    top: 17px;
    position: relative;
}

#backToTop:hover {
    cursor: pointer;
    background-color: #334fad;
}

#backToTop:active {
    background-color: #555;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* Styles for the content section */

.content {
    /*width: 77%;*/
    margin: 50px auto;
    /*font-family: 'Merriweather', serif;*/
    font-size: 17px;
    color: #6c767a;
    line-height: 1.9;
}

.result.article.interview.content {
    margin: 25px auto;
}

#content .results-list.priority > div.priority.result.profile .content, #sidebar > div.directory-filters > div.content, #page > div.primary.company-info > div > section.content, #content > div > div:nth-child(2) > a > div.content, .secondary .content, #contact-form .content, .result.article .content, .publications .publication .content, .related-interviews.related-content .content, .event-title.feature .content, .interview-feature .content, #home-content #interviews .content, #country-report .report-download-form .content, #home-content .content, .article-feature.feature .content, .result.article.interview.content:first-child {
    margin: unset;
}

#home-content #country-report .report-download-form #newsletter-form .input {
    padding: 10px 0 10px;
}

.customForm .form-group label:after, .gform_wrapper .form-group label:after {
    content: ' *';
    color: #790000;
}

.grecaptcha-badge {
    display: none;
}

.grecaptcha-badge.show {
    display: block !important;
    visibility: visible !important;
    bottom: 105px !important;
}

.allfieldsarerequiredmessage:after {
    content: 'All fields are required.';
}

.w-50 {
    width: 50%;
}

.half {
    float: left;
    width: 50%;
    padding-right: 20px
}

.half:nth-of-type(2) {
    padding-right: 0;
}

.gform_button {
    font-weight: 600;
}

.directory-filters .filter-group a:not(.clear-filters) {
    margin-bottom: 14px;
}

@media (min-width: 1024px) {
    .directory-filters .filter-group a:not(.clear-filters) {
        padding-top: 1px;
        padding-bottom: 0px;
    }
}

@media (min-width: 700px) {
    #home-content #interviews .people .info img {
        width: 190px;
    }
}

.interview-feature .interviews .people .info img {
    width: 190px;
}

header.global nav ul li .drop-down ul li.current-menu-item.active a:before {
    position: absolute;
    top: 9px;
    left: 0;
    display: block;
    width: 5px;
    height: 5px;
    content: '';
    border-radius: 50%;
    background: #58c2b4;
}

.profile .content h4 {
    margin-bottom: unset !important;
}

#sidebar > div.directory-filters > div.content {
    width: auto;
}

@media (max-width: 500px) {
    .content {
        /*width: 43%;*/
    }

    .profile .content {
        width: auto;
    }

    #backToTop {
        margin: 30px;
        right: -15px;
    }
}

.related-content .result .img {
    margin-right: 30px;
}

.content h1 {
    margin-bottom: -10px;
    color: #03a9f4;
    line-height: 1.5;
}

.content h3 {
    /*font-style: italic;*/
    /*color: #96a2a7;*/
}

.directory-filters {
    overflow: auto;
}


footer .icon-twitter, .mobile .icon-twitter {
    background-image: url(../images/icons/x.svg);
    width: 25px;
    height: 25px;
    display: block;
    background-size: contain !important;
    background-repeat: no-repeat;
    position: relative;
    top: 3px;
    left: unset;
    filter: brightness(0) invert(1);
}

.icon-twitter {
    background-image: url(../images/icons/x.svg);
    width: 25px;
    height: 25px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    top: 3px;
    left: unset;
}


.icon-twitter:hover, .icon-wechat:hover {
    opacity: 0.8;
}

.icon-twitter:before, .icon-wechat:before {
    content: none;
}

.icon-wechat {
    background-image: url(../images/icons/wechat.svg);

}

.icon-instagram {
    background-image: url(../images/icons/instagram.svg);

}

.icon-whatsapp {
    background-image: url(../images/icons/whatsapp.svg);

}

.icon-spotify {
    background-image: url(../images/icons/spotify.svg);

}

.icon-socials {
    width: 25px;
    height: 25px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    top: 3px;
    left: unset;
}

.directory-filters .button.small {
    font-size: 13px;
    word-break: keep-all;
    width: fit-content;
    display: inline-grid;
    margin-bottom: 14px;
    line-height: 1.2;
    padding: 7px;
}

.directory-filters .filter-group a:not(.clear-filters) {
    padding: 7px;
}

#sidebar .company-info .social-links li a:hover {
    opacity: 0.8;
}


#sidebar .company-info .social-links {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#sidebar .company-info .social-links li {
    max-height: 25px;
    padding: 0;
}

#sidebar .company-info .social-links li .icon-youtube:hover {
    background-position: unset;
}


#sidebar .company-info .social-links li a {
    top: unset !important;
    bottom: unset !important;
    right: unset !important;
    left: unset !important;
}

#sidebar .company-info .social-links li .icon-youtube {
    top:2px!important;
}

#sidebar .company-info .social-links li .icon-instagram {
    width: 22px;
    height: 22px;
}

#sidebar .company-info .social-links li .icon-twitter {
    width: 22px;
    height: 22px;
}