/*   
Theme Name: TEO AUDIT
Description: Уникальная адаптивная тема для компании TEO AUDIT.
Author: ONLYWEBCODING
Author URI: http://onlywebcoding.com.ua/
Version: 1.0
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
body {
   font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    line-height: 1.3;
}

h1, h2,h3,h4,h5,h6 {
    font-weight: bold;
    text-transform: uppercase;
}

.wrapp-index-page {
    width: 100%;
    height: 100vh;
   /* background-image: url(images/main.jpg); */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; 

}

header {
    width: 100%;
    margin:0 auto;
    overflow: hidden;
}
.wrapp-top-menu {
    max-width: 1200px;
    widows: 100%;
    margin: 0 auto;
    padding: 20px 10px;
    box-sizing: border-box;
      border-bottom: 1px solid rgba(255,255,255, 0.2);
}
.contacts-top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:flex-end;
    padding-bottom: 10px;
    align-items: center;
}
.contacts-top div  {
    font-size: 18px;
    color: #fff;
}
#slide-phone {
    cursor: pointer;
    position: relative;
}
#list-phone {
    position: absolute;
    top: 22px;
    left: 0;
    background-color: #999; /*#f98201;*/
    padding: 5px 10px 5px 5px;
    display: none;
}

.lang {
    display: flex;
    flex-direction: row;
    margin-left: 20px;
    border-left: 1px solid rgba(255,255,255, 0.2);
}
.lang  li a {
    display: inline-block;
    margin-left: 10px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
     transition: all;
    transition-duration: 0.5s;
}
   

.lang  li a:hover {
    color: #f98201;
}
.logo-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
}
.logo a img {
    max-width: 215px;
    height: auto;
    width: 100%;
}
.logo p {
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 3px;
    
}
.menu {
    overflow: hidden;
}
#menu ul li{
    float: left;
    margin-left: 15px;
}

#menu ul li a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    transition: all;
    transition-duration: 0.5s;
}
#menu ul li a:hover {
    color: #f98201;
}
.wrapp-text-index {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 10px;
    box-sizing: border-box; 
    margin-top: 100px;
}
.wrapp-text-index > div {
    max-width: 800px;
}
.wrapp-text-index h1 {
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 20px;

}



.wrapp-text-index p {
    color: #fff;
    font-size:18px; 
    margin-bottom: 20px;

}

.wrapp-text-index > div a {
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 2px;
    background-color: #f98201;
    text-decoration: none;
    font-size: 18px;
    transition: all;
    transition-duration: 0.5s;
}
.wrapp-text-index > div a:hover {
    background-color: #999;
}
#openmenu {
    font-size: 25px;
    color: #fff;
    transition: all;
    transition-duration: 0.5s;
    display: none;
}
#openmenu:hover {
    color: #f98201;
}
#closemenu {
    font-size: 25px;
    color: #fff;
    transition: all;
    transition-duration: 0.5s;
    float: right;
    display: none;
}
#closemenu:hover {
    color: #f98201;
}
.wrapp-cat-page {
    width: 100%;
    margin: 0 auto;
    background-image: url(images/3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    height: 300px;
    overflow: hidden;

}

#service-img {
    background-image: url(images/services.jpg);
}

.wrapp-cat-page header {
    position: absolute;
}
#imgbgpage {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
#imgbgpage img {
    width: 100%;
}
.wrapp-title-page {
    max-width: 1200px;
    widows: 100%;
    margin: 0 auto;
    padding: 50px 10px;
    box-sizing: border-box;
}
.wrapp-title-page h1 {
    color: #fff;
    font-size: 35px;
    font-weight: bold;
}

.wrapper-category {
    max-width: 1200px;
    widows: 100%;
    margin: 0 auto;
    padding: 40px 10px;
    box-sizing: border-box;
}
.wrapper-category > p {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}
.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:flex-start;
    margin-top: 20px;
}
.container > article {
    width: 31%;
    padding: 15px 15px 25px 15px;
    box-sizing: border-box;
    background-color:#f7f7f7;
    margin: 10px;
    text-align: center;
}
.container > article > div {
    text-align: center;
}
.container > article img {
    max-width: 100%;
    margin-bottom: 10px;
}
.container > article h2 {
    margin-bottom: 10px;
}
.container > article p {
    margin-bottom: 20px;
}
.container > article .readmore {
    color: #fff;
    display: inline-block;
    padding: 10px 10px;
    border-radius: 2px;
    background-color: #f98201;
    text-decoration: none;
    font-size: 16px;
    transition: all;
    transition-duration: 0.5s;
}

.container > article .readmore:hover {
    background-color: #999;
}

.wrapp-footer {
    background-color: #282828;
    width: 100%;
    margin: 0 auto;
}
.wrapp-footer footer {
    max-width: 1200px;
    widows: 100%;
    margin: 0 auto;
    padding: 20px 10px;
    box-sizing: border-box;
    color: #8B8B8B;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.wrapp-footer footer img {
    max-width: 110px;
    margin-bottom: 10px;
}
.wrapp-footer footer i {
    margin-right: 10px;
}

.copyright {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    background-color: #8B8B8B;
}
#up i {
    display: inline-block;
    color: #fff;
    margin-right: 0px !important;
    padding: 0;
    padding: 15px;
    background-color:#f98201;
    transition: all;
    transition-duration: 0.5s;
}
#up i:hover {
   background-color: #999;
}
.page-and-single {
    max-width: 1200px;
    widows: 100%;
    margin: 0 auto;
    padding: 20px 10px 50px 20px;
    box-sizing: border-box;
    overflow: hidden;
}
.page-and-single h2 {
    font-size: 28px;
    margin-bottom: 10px;
}
.page-and-single h3 {
    font-size: 25px;
    margin-bottom: 10px;
}
.page-and-single h4 {
    font-size: 22px;
    margin-bottom: 10px;
}
.page-and-single h5 {
    font-size: 19px;
    margin-bottom: 10px;
}
.page-and-single h6 {
    font-size: 16px;
    margin-bottom: 10px;
}
.page-and-single p {
    margin-bottom: 10px;
    font-size: 18px;
    color: #666;
    text-indent: 15px;
}
.page-and-single p em {
    font-style: italic;
}
.page-and-single p strong {
    font-weight: bold;
}
.page-and-single  ul, .page-and-single  ol  {
    margin: 15px;
}
.page-and-single  ul li, .page-and-single  ol li {
    margin-left: 15px;
    list-style: disc;
    font-size: 18px;
    color: #666;
}
.page-and-single  ol li {
    list-style: decimal;
}
.page-and-single b {
    font-weight: bold;
}
/*.cont-contacts  {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.cont-contacts > div {
    width: 50%;
}*/
.cont-contacts > div {
    margin: 40px 0px;
} 
.wrapp-cat-news {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.wrapp-cat-news article {
    width: 50%;
    padding: 15px;
    box-sizing: border-box;
    
}
.wrapp-cat-news article img {
    max-width: 100%;
    margin-bottom: 20px;
    
}
.wrapp-cat-news article h2 {
    margin-bottom: 10px;   
}
.wrapp-cat-news article span {
    display: inline-block;
    margin-bottom: 10px;
}
.wrapp-cat-news article p {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.wrapp-cat-news article .readmore {
    color: #fff;
    display: inline-block;
    padding: 10px 10px;
    border-radius: 2px;
    background-color: #f98201;
    text-decoration: none;
    font-size: 16px;
    transition: all;
    transition-duration: 0.5s;
}

.wrapp-cat-news article .readmore:hover {
    background-color: #999;
}

@media all and (max-width:995px) {
#menu {
    display: inline-block;
    width: 300px;
    height: 100vh;
    background-color: #282828;
    position: fixed;
    top: 0;
    left: -300px;
    padding: 30px;
    box-sizing: border-box;
    }
    #menu .menu {
        clear: both;
    }
#menu .menu li {
        float: none;
        margin-bottom:20px;
    }
 #menu .menu li a {
        display: inline-block;
        
    }   
.contacts-top {
    display: none;
}

#openmenu {
     display: inline-block;
    }
.wrapp-text-index h1 {
    font-size: 20px;
}
#closemenu {
    display: inline-block;
    }
}

@media all and (max-width:768px) {
.container {
    justify-content:space-between;
}
.container > article {
    width: 44%;
}
}
@media all and (max-width:490px) {

.container > article {
    width: 99%;
}
}
@media all and (max-width:650px) {

.wrapp-cat-news article {
    width: 100%;
}
}





.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Затемненный цвет */
    display: none; /* Скрыть по умолчанию */
    justify-content: center;
    align-items: center;
}

/* Стили для модального окна */
.modal {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#latest-news {
	display: flex;
        max-width: 1260px;
    width: 100%;
   
    
    justify-content: space-between;
	margin-top: 60px;
}


/* New block about us */

.about-us {
    display: flex;
    justify-content: center;
    margin-top: 80px;
	margin-bottom: 60px;
}

.container-new {
    max-width: 1260px;
    width: 100%;
}

.about-us__block {
    display: flex;
    gap: 50px;
}

.about-us__block-text {
    max-width: 800px;
    width: 100%;
	display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: space-between;
}

.about-us__block-text a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 2px;
    background-color: #f98201;
    text-decoration: none;
    font-size: 18px;
    transition: all;
    transition-duration: 0.5s;
    color: #ffffff;
    cursor: pointer;
}

.about-us__block-text a:hover {
    background-color: #999;
}

.about-us__block img {
    max-width: 400px;
    width: 100%;
}

.about-us h2 {
    text-align: center;
    font-weight: bold;
    font-size: 28px;
	margin-bottom: 60px;
}

@media (max-width: 900px) {
	.about-us {
		padding: 0px 20px;
	}
	
    .about-us__block {
        flex-direction: column;
    }

    .about-us__block img {
        max-width: 900px;
    }

    .about-us__block-text {
        max-width: 900px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/*  End block about us */

/* block news */
.news-block {
	margin-bottom: 80px;
	    margin-bottom: 80px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.news-block h2 {
	text-align: center;
	font-weight: bold;
    font-size: 28px;
}

.latest-news-a {
	color: black;
	text-decoration: none;
}

.latest-news-a:hover {
	color: #f98201;
}

.latest-news-item {
	max-width: 350px;
	width: 100%;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-thumbnail img {
	max-width: 350px;
	width: 100%;
	height: 180px;
}

.latest-news-readmore {
	display: inline-block;
    padding: 10px 20px;
    border-radius: 2px;
    background-color: #f98201;
    text-decoration: none;
    font-size: 18px;
    transition: all;
    transition-duration: 0.5s;
    color: #ffffff;
    cursor: pointer;
	text-decoration: none;
	max-width: 95px;
	width: 100%;
}

.latest-news-readmore:hover {
	background-color: #999;
}

@media (max-width: 900px) {
	.news-block {
		padding: 0px 20px;
	}
	
	#latest-news {
		flex-direction: column;
		gap: 30px;
	}
	
	.latest-news-item {
		max-width: 900px;
		gap: 15px;
	}
	
	.post-thumbnail img {
		max-width: 900px;
		height: 300px;
	}
	
	.latest-news-h {
		text-align: center;
	}
	
	.latest-news-readmore {
		margin: 0 auto;
	}
}
/* End block news */


/*  Company block */
.leftimg {
    float:left; /* Выравнивание по левому краю */
    margin: 7px 7px 7px 0; /* Отступы вокруг картинки */
	max-width: 400px;
	width: 100%;
}

.company-text p {
	font-size: 20px;
	line-height: 44px;
	padding-top: 10px;
}   

.company-text p b {
	font-weight: 600;
}

.company-info {
	padding: 30px;
}

.company-text {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

.advantages {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.advantages h2 {
    text-align: center;
    font-weight: bold;
    font-size: 28px;
	margin-bottom: 60px;
}

.advantages__block-img1 {
    max-width: 370px;
    width: 100%;
    height: 235px;
}

.advantages__blocks {
    display: flex;
    gap: 30px;
	justify-content: space-between;
}

.advantages__block {
    display: flex;
    flex-direction: column;
}

.advantages__block-text {
    background-color: #9999;
    display: flex;
    padding: 10px;
    align-items: center;
    gap: 5px;
}

.advantages__block-img2 {
    max-width: 30px;
    height: 34px;
}




@media (max-width: 750px) {
    .advantages__blocks {
        flex-direction: column;
    }
	
	.advantages {
		padding: 20px;
	}
	
	.advantages__block-img1 {
		max-width: 700px;
		height: 335px;
	}
}

@media (max-width: 450px) {
	
	.advantages__block-img1 {
		height: 255px;
	}
}

.cont-contacts > div  {
	max-width: 500px;
    width: 100%;
}

.cont-contacts {
	display: flex;
    max-width: 1200px;
    justify-content: space-between;
	width: 100%;
	
}

@media (max-width: 1150px) {
	.cont-contacts {
		flex-direction: column;
		align-items: center;
	}
}
	
	
#wpforms-submit-545 {
	display: inline-block;
    padding: 10px 20px;
    border-radius: 2px;
    background-color: #f98201;
    text-decoration: none;
    font-size: 18px;
    transition: all;
    transition-duration: 0.5s;
    color: #ffffff;
    cursor: pointer;
	text-decoration: none;
	max-width: 195px;
	width: 100%;
}

#wpforms-submit-545:hover {
	background-color: #9999;
}

.modal {
	max-width: 600px;
	width: 100%;
}

.team-member img {
	max-width: 336px;
    width: 100%;
    height: 450px;
}

.team-member h3 {
	font-size: 26px;
}

.team-member p {
	font-size: 20px;
    line-height: 28px;
}

.team-member {
	max-width: 450px;
	width: 100%;
}

.team-row {
	display: flex;
    max-width: 1260px;
    margin: 0 auto;
    justify-content: space-between;
    gap: 30px;
	margin-top: 50px;
	padding: 20px;
}

@media (max-width: 800px) {
	.team-row {
		flex-direction: column;
		align-items: center;
	}
}

.page-and-single {
	min-height: 430px;
	height: 100%;
}

.link-lang-new {
	display: none;
}

@media (max-width: 990px) {
	.link-lang-new {
		display: block;
	}
}
