/*   
Theme Name: your-clean-template-3_ANPARS
*/
@font-face {
  font-family: 'Ruberoid';
  src: local('Ruberoid-Regular'),local('Ruberoid Regular'),local('Ruberoid'),
	   url('fonts/Ruberoid-Regular.woff2') format('woff2'), 
	   url('fonts/Ruberoid-Regular.woff') format('woff'),
	   url('fonts/Ruberoid-Regular.ttf') format('ttf'),
	   url('fonts/Ruberoid-Regular.eot') format('eot');
}

:root {
  --font-family: "Onest", sans-serif;
  --second-family: "Roboto", sans-serif;
  --third-family: "Ruberoid", sans-serif;
  --font3: "DM Sans", sans-serif;
  --font4: "TornadoC", sans-serif;
  --font5: "Neue Montreal", sans-serif;
  --font6: "Igra Sans", sans-serif;
  --font7: "Arial", sans-serif;
  --font8: "Inter", sans-serif;
}

@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. */
}

.our_works_image a {
    height: 255px;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}
.our_works_title {
    line-height: normal;
    width: 100%;
    min-height: 80px;
    margin: 0;
}
/* ************************** */
.tabs {
    min-width: 320px;
    padding: 0px;
    margin: 0 auto;
}
/* Стили секций с содержанием */
.tabs>.content-tab {
    display: none;
    /*padding: 15px;*/
    background: #fff;
    /*border: 1px solid #ddd;*/
}
.tabs>.content-tab>p {
    margin: 0 0 5px;
    line-height: 1.5;
    color: #383838;
    /* прикрутим анимацию */
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}
/* Описываем анимацию свойства opacity */

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Прячем чекбоксы */
.tabs>input {
    display: none;
    position: absolute;
}
/* Стили переключателей вкладок (табов) */
.tabs>label {
    display: inline-block;
    margin: 0 0 -1px;
    padding: 15px 25px;
    font-weight: 600;
    text-align: center;
    color: #aaa;
    border: 0px solid #ddd;
    /*border-width: 1px 1px 1px 1px;*/
    /*background: #f1f1f1;*/
    border-radius: 3px 3px 0 0;
}

/* Изменения стиля переключателей вкладок при наведении */

.tabs>label:hover {
    color: #888;
    cursor: pointer;
}
/* Стили для активной вкладки */
.tabs>input:checked+label {
    color: #555;
    position: relative;
    /*border-bottom: 1px solid #fff;*/
    background: #fff;
}
.tabs>input:checked+label:before {
    content: '';
    /*background-color: #3ca8e6;*/
    height: 4px;
    border-radius: 3px 3px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
/* Активация секций с помощью псевдокласса :checked */
#tab1:checked~#content-tab1,
#tab2:checked~#content-tab2,
#tab3:checked~#content-tab3,
#tab4:checked~#content-tab4,
#tab5:checked~#content-tab5,
#tab6:checked~#content-tab6,
#tab7:checked~#content-tab7,
#tab8:checked~#content-tab8,
#tab9:checked~#content-tab9,
#tab10:checked~#content-tab10 {
    display: block;
}
/* Убираем текст с переключателей
* и оставляем иконки на малых экранах
*/

@media screen and (max-width: 680px) {
    .tabs>label {
        font-size: 0;
    }
    .tabs>label:before {
        margin: 0;
        font-size: 18px;
    }
}
/* Изменяем внутренние отступы
*  переключателей для малых экранов
*/
@media screen and (max-width: 400px) {
    .tabs>label {
        padding: 15px;
    }
}