/*   
Theme Name: your-clean-template-3 (uncommented)
Theme URI: https://github.com/saxap/clean-wp-template
Version: 3.0
Tags: clean, development, html5, bootstrap
Description: Clean wordpress theme with minimal bootstrap3 markup for fast development starting
Author: saxa:p
Author URI: http://dontforget.pro
*/

.page-content .page-content {
    margin-top: 0px;
    padding-top: 30px;
}

.grecaptcha-badge {
    visibility: hidden;
  }  

.wpcf7-spinner,
.form-block__row span.wpcf7-spinner {
  position: absolute;
  margin: 0 0px;
  right: -30px;
  width: 24px;
}
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0em 0;
    color: #fff;
    font-size: 14px;
}
.wpcf7-not-valid-tip {
    font-size: 13px;
}
.wpcf7-file {
    color: #fff;
}
@media (min-width: 979px) { 
	ul.nav li.dropdown.show-on-hover:hover > ul.dropdown-menu {
		display: block;
	}
	.comment-list .children {
		padding: 0; 
		margin-left: 74px;
		padding-bottom: 15px;
	}
	.comment-list .media {
		margin-top: 0;
	}
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.work h2 {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 50px;
    line-height: 1.4;
    margin-top: 30px;
    color: #fff;
}

.work .work__subtitle {
    font-size: 20px;
    color: #fff;
}

.work {
    margin: 20px 0;
    background: -webkit-gradient(linear,left top,right top,from(#10af93),color-stop(50%,#41bfdf));
    background: -o-linear-gradient(left,#10af93 0,#41bfdf 50%);
    background: linear-gradient(90deg,#10af93 0,#41bfdf 50%);
    padding-left: 40px;
    padding-right: 40px;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 100px
}

.work__subtitle {
    max-width: 300px
}

.work-list {
    counter-reset: properties
}

.work-item {
    position: relative;
    counter-increment: properties;
    margin-top: 20px
}


.work-item::before {
    content: "0" counters(properties, "0");
    position: absolute;
    display: inline-block;
    width: auto;
    top: 30px;
    left: 30px;
    z-index: 1;
    color: #fff;
    font-weight: 700;
    font-size: 100px;
    line-height: 100px;
    text-transform: uppercase;
}

.work-item__wrap {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 40px;
    border: 1px solid #fff;
    padding: 160px 30px 30px;
    height: 100%
}

.work-item__title {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 9px;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #fff
}

.work-item__text {
    position: relative;
    display: block;
    width: 100%;
    color: #fff;
    font-size: 16px;
    line-height: 22px
}

@media (max-width: 1399px) {
    .work {
        padding-top: 106px;
        padding-bottom: 60px
    }

    .work__subtitle {
        max-width: 349px
    }

    .work-item::before {
        font-size: 80px;
        line-height: 80px
    }

    .work-item__wrap {
        padding: 140px 20px 30px
    }
}

@media (max-width: 991px) {
    .work {
        padding-left: 30px;
        padding-right: 30px;
        border-radius: 40px
    }

    .work {
        padding-top: 80px;
        padding-bottom: 40px
    }
}

@media (max-width: 575px) {
    .work {
        padding-left: 10px;
        padding-right: 10px
    }

    .work {
        padding-top: 60px;
        padding-bottom: 40px
    }

    .work-item::before {
        font-size: 70px;
        line-height: 70px
    }

    .work-item__wrap {
        padding: 120px 20px 20px;
        border-radius: 30px
    }

    .work-item__title {
        font-size: 18px;
        line-height: 22px
    }

    .work-item__text {
        font-size: 14px;
        line-height: 20px
    }
}


@media (max-width: 400px) {
    .work {
        border-radius: 30px;
        padding-left: 0;
        padding-right: 0
    }

    .work {
        padding-top: 50px;
        padding-bottom: 15px
    }

    .work-item_mt:nth-child(2) {
        margin-top: 30px
    }

    .work-item_mt:nth-child(3) {
        margin-top: 0
    }

    .work-item::before {
        font-size: 60px;
        line-height: 60px;
        top: 15px
    }

    .work-item__wrap {
        padding: 75px 20px 15px
    }
}

@media (max-width: 575px) and (min-width:401px) {
    .work-item {
        max-width:50%
    }
}

.reviews-item.dizajn .reviews-item__pic {
    height: 132px;
}

.reviews-item.dizajn:hover {
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.1);
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
}

.reviews-item.dizajn:hover::after {
content: none;
}


.reviews-item.dizajn .reviews-item__title {
    text-align: center;
}

.gallery {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: space-between
}

.gallery-columns-2 .gallery-item {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: calc(50% - 6px);
    overflow: hidden;
    margin-bottom: 15px
}

.gallery-columns-3 .gallery-item {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: calc(33.33% - 6px);
    overflow: hidden;
    margin-bottom: 15px
}

.gallery-columns-4 .gallery-item {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: calc(25% - 6px);
    overflow: hidden;
    margin-bottom: 15px
}

.gallery br {
    display: none
}
.gallery .gallery-item::after {
    content: none;
}

.gallery .gallery-item a::after {content: "";position: absolute;display: block;width: 100%;top: 0;left: 0;height: 100%;z-index: 2;-webkit-transition: all .3s;-o-transition: all .3s;transition: all .3s;background-color: rgba(249, 249, 249, .4);background-size: 32px;background-repeat: no-repeat;background-position: center;background-image: url(img/loop-icon.svg);opacity: 0 }
.gallery-item a:hover::after {opacity: 1 }
.gallery-item a:hover>img {-webkit-transform: scale(.9);-ms-transform: scale(.9);transform: scale(.9) }

@media(max-width:767px) {
    .gallery-columns-3 .gallery-item {
        max-width: calc(50% - 6px);
    }
    
    .gallery-columns-4 .gallery-item {
        max-width: calc(50% - 6px);
    }
}