/*
Theme Name: Prague (Child Theme)
Theme URI: https://themeforest.net/user/fox-themes
Author: Fox-Themes
Author URI: https://themeforest.net/user/fox-themes
Version: 1.1.1
Description: A stunning visual experience for minimal loving creative. This template is a responsive and retina-ready WordPress theme with grid system layout. It is optimized for mobile touch and swipe.
Tags: one-column, two-columns, right-sidebar, custom-menu, post-formats, sticky-post, translation-ready
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prague-child
Template: prague
*/

/* = Add your own modification from here
-------------------------------------------------------------- */
/* office page */
.prague_team_grid .portfolio-item-wrapp {
    display: inline-block;
	float: left;
}
.prague-team-wrapper {
    background-color: #fff;
    padding: 46px 53px 50px 53px;
    text-align: center;
    -webkit-box-shadow: 0 30px 50px rgba(0,0,0,.2);
    box-shadow: 0 30px 50px rgba(0,0,0,.2);
}
.prague-team-wrapper .team-description {margin-bottom: 20px;}

/* list project page && press review page (template: projects grid) */
body.page-template-page-projects-grid {background-color: #f2f2f2;}
body.page-template-page-projects-grid header.prague-header {background-color: #ffffff;}
body.page-template-page-projects-grid .custom_filters {text-align: center;}
body.page-template-page-projects-grid .custom_filters button,
body.page-template-page-projects-grid .custom_filters select {
	height: 35px;
	width: 100%;
	margin-bottom: 20px;
	padding: 6px 12px;
	border: 0;
	border-radius: 0px;
	vertical-align: top;
	background-color: #ffffff;
	color: #111111;
	font-family: 'Roboto',sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
}
body.page-template-page-projects-grid .custom_filters select {
	padding: 0 12px;
	-moz-appearance: none;
	-webkit-appearance: none;
	vertical-align: middle;
	background: #ffffff url('img/select_arrow.png') no-repeat right 12px center;
	-webkit-background-size: 10px 12px;
	background-size: 10px 12px;

}
body.page-template-page-projects-grid .custom_filters button:hover,
body.page-template-page-projects-grid .custom_filters button.filter_active {
	background-color: #111111;
	color: #ffffff;
}
body.page-template-page-projects-grid .prague_exhibition_grid .portfolio-item-wrapp {
	position: relative !important;
	display: inline-block;
	float: left;
	left: 0 !important;
	top: 0 !important;
	/*margin-bottom: 30px;*/
	-webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

body.page-id-105 a.prague-services-link { display:none; }
body.page-id-105 .services-item-description { min-height:64px; }

/* single project */
/* layout */
.container.project-detail-splitted-wrapper {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
/* text */
.project-detail-splitted-info .project-detail-splitted-content .project-detail-splitted-content-description.is_hidden {
    height: 19vh;
    overflow: hidden;
}
.project-detail-splitted-info .project-detail-splitted-content .readmore_btn {
    padding: 8px 36px;
    margin: 15px 0 20px;
}
.project-detail-splitted-info .project-detail-splitted-content .project-detail-splitted-content-description p {margin-bottom: 15px;}
.project-detail-splitted-info .project-detail-block-outer {margin-top: 15px;}
/* grey boxes */
.project-detail-block-outer .project-detail-block-wrapper .project-detail-block-item {padding: 10px 15px 10px 40px !important;}
.project-detail-block-outer .project-detail-block-wrapper .project-detail-block-title,
.project-detail-block-outer .project-detail-block-wrapper .project-detail-block-descr {
    display: inline-block;
    margin-bottom: 0;
}
.project-detail-splitted-content-links a {
    display: block;
    margin-bottom: 7px;
    color: #7e7d7d;
}
.project-detail-splitted-info .project-detail-splitted-content .project-detail-splitted-content-description p,
.project-detail-splitted-info .project-detail-splitted-content .project-detail-splitted-content-description p *,
.project-detail-splitted-content-links strong,
.project-detail-splitted-content-links a,
.project-detail-block-outer .project-detail-block-wrapper .project-detail-block-descr p {
    font-size: 14px;
    line-height: 20px;
}
/* video */
.project-detail-splitted-video {
    height: 0;
    width: ~"calc(100% - 10px)";
    margin: 0 5px 10px;
    padding: 0 0 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
    position: relative;
}
.project-detail-splitted-video > iframe {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
/* gallery */
.project-detail-splitted-medias a.img_big,
.project-detail-splitted-medias a.img_small {
    padding: 0 5px;
    margin-bottom: 10px;
    text-align: center;
}
.project-detail-splitted-medias a.img_small {
    width: 25%;
    display: inline-block;
    float: left;
}

@media only screen and (min-width: 752px) {
    .prague_count_col4 .prague-services-wrapper, .prague_count_col5 .prague-services-wrapper, .prague_count_col6 .prague-services-wrapper {min-height: 326px;}
}
@media only screen and (min-width: 768px) {
    /* single project */
    /* layout */
    .project-detail-splitted-columns .project-detail-splitted-column1,
    .project-detail-splitted-columns .project-detail-splitted-column2 {
        width: 50%;
    }
}
@media all and (max-width: 1024px) {
    /* list project page && press review page (template: projects grid) */
    body.page-template-page-projects-grid .prague-exhib-grid-wrapper .exhib-grid-item-content {
        bottom: 0;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    body.page-template-page-projects-grid .prague-exhib-grid-wrapper .exhib-grid-item-link:hover .exhib-grid-item-content {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}}