/*   
 Theme Name: CouchBot
 Theme URL: http://sergey-kuzmin.com/design
 Description: CouchBot
 Author: Sergey Kuzmin
 Author URL: http://sergey-kuzmin.com/design
 Template: kuzmin
 Version: 1.0
 Text Domain: kuzmin
*/
/* ---------------- portfolio sorting ----- */
.tile {
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease;

}

.scale-anm {
    transform: scale(1);
}

.knopka {
    font-size: 1.4rem;
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    line-height: normal;
    padding: 8px 20px 5px 20px;
    border-radius: 20px;
    margin: .3rem 1.2rem;
    height: auto;
    border: 0;
    vertical-align: middle;
    -webkit-appearance: none;
    color: #555;
/*	
    background-color: rgba(0, 0, 0, 0);

    border-bottom: 4px dotted transparent;
*/
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.knopka:hover {
    color: red;
	cursor:pointer;
}

.knopka-active {
 /*   border-bottom: 4px dotted red; */
     background-color: #ffb86e;
	cursor: default!important;
}
.knopka-active:hover {    color: #555;}

button.knopka,
button.knopka:active,
button.knopka:focus {
    outline: none;
}

.portfolio-menu {
    padding-bottom: 30px;
}

.has-error .form-control {
    transition: all 0.7s;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
}

.bottons-container {margin-bottom: 20px;}
.hidden {font-style:italic; color:#bbb;} 

.user_review.comment_mne {    margin-right: 60px;}
.user_review.comment_moy {    margin-left: 60px; background-color:#e2ffe1;}

.profile_pin {vertical-align: text-bottom; margin-right:10px;}
.profile_reply {vertical-align: text-bottom; margin-right:10px; opacity:.5;}


/* ------------------- спойлер -------------*/
.spoiler-zagolovok .spoiler-strelka img {
    width: 18px;
    height: auto;
}
.spoiler-strelka {
    display: inline-block;
    padding: 0 10px 0 5px;
    -webkit-transition: all .8s ease;
    -moz-transition: all .8s ease;
    -o-transition: all .8s ease;
    transition: all .8s ease;
}

.spoiler-strelka-rotate {
    -moz-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    transform: rotate(-180deg);
}
.spoiler-zagolovok {
    font-size: 1.2em;
    color: #f33;
    text-decoration: none;
    cursor: pointer;
    padding: 5px 20px 10px 20px;
    margin: 25px 0px 0px 0px;
}   
.spoiler-zagolovok .zag1 {
    border-bottom: #ff9999 dashed 2px;
}
/* --------------------------------------*/

body {
    font-family: Roboto, sans-serif;
    font-size: 1.3rem;
}

a {
    color: #ff901e;
}

a:hover {
    color: #ff421f;
}

.nav-container {
    float: right;
}
.container-inner, .site-main { max-width:900px; }

.nav-wrapper {
    padding: 10px 20px 10px 20px;
    max-width: 1200px;
    transition: all 0.3s;
}	

.user .site-main  {
    padding-top: 50px; 
}
.site-main  { 
	position:unset;
}
	
.footer-inner a,
.footer-inner a:hover,
.footer-inner a:active {
    text-decoration: underline;
}

.menu-logo img {
    max-width: 100%; /* Уменьшит логотип пропорционально */
    height: auto; /* Сохранит пропорции */
    max-height: 70px; /* Ограничит высоту */
    display: block;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .menu-logo img {
        max-width: 90%; /* Уменьшенный размер */
        max-height: 70px; /* Еще меньше на мобильных */
    }
}

.nav-container li a {
    font-weight: bold;
}

.content img {
    border: 1px solid gray;
}

.user_pic {
    max-width: 500px;
    max-width: 100%;
    height: auto;
}

.block-col2-r {
    padding-left: 30px;
}

h1 {
    font-size: 3rem;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    margin: .8rem 0 1.3rem 0;
}

h2 {
    font-size: 3rem;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: left;
    margin: .8rem 0 .8rem 0;
    text-align: center;
}

h3 {
    font-size: 2.5rem;
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0.8rem 0 1.3rem 0;
}

h4 {    font-weight: bold;
    font-size: 1.7rem;
    font-family: 'Roboto Condensed', sans-serif;}

.meta {display:none;}
.category-blog h2 {text-align:left;  
    margin-bottom: 0;
    font-size: 2rem;}

h3.user_name {
    font-size: 2.5rem;
    font-family: 'Roboto', sans-serif;
    margin: 0rem 0 1.3rem 0;
    border-bottom: 7px solid #ff901e;
    display: inline-block;
    font-weight: bold;
    color: #9e9e9e;
}

.user_country {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.user_city {
    font-size: 120%;
}

img.user_icon {
    border: 0px !important;
    margin-right: 20px;
	    transition: .5s; /* Время эффекта */
}

img.user_icon:hover {
    cursor: pointer;
    transform: scale(1.2); /* Увеличиваем масштаб */
   }

.user_review {
    margin-bottom: 5px;
    padding: 5px 15px;
    background: #fff5e1;

}

.review_a {
    margin-bottom: 10px;
	font-size: 1.3rem;
	float:none;
}


.review_date {
    float: right;
    display: inline-block;
    color: #999;
    font-size: 80%;
	white-space: nowrap;	
    margin-top: 4px;
}

.review_text  {
    font-size: 1.1rem;
    color: #333;
	position: relative;
    overflow: hidden;  /* предотвращает выход изображения за пределы блока */
}

.review_text img {
    display: block; /* Для применения margin */
    margin: 0 auto; /* Автоматические отступы слева и справа для центрирования */
    max-width: 100%; /* Масштабирование в пределах контейнера */
    height: auto; /* Сохранение пропорций */
}

.review_author {
    margin: 0 0 10px 0;
    float: left;
    display: inline-block;
    font-weight: bold;
	white-space: nowrap;
}

.review_city {
    color: #999;
    font-size: 100%;
    margin-left: 20px;
    font-weight: normal;
	white-space: nowrap;
	}


.container-full {
    padding: 3rem 0 1rem;
}


.block-name-chto-budet,
.block-name-map, 
.block-name-kauch-bot

 {
    background-color: #fff7ee;
}
.block-193 {padding-top: 0.5rem;}
/*
.block-32 .containercontent h2,
.block-36 .containercontent h2 {
    font-size: 3rem;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center!important;
    margin: 0.8rem 0 1.3rem 0;
}
*/
h2 {
    font-size: 3rem;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    margin: 0.8rem 0 1.3rem 0;
}



.block-name-seychas-v-bote {
    border-top: 3px solid #ffd09b;
    border-bottom: 3px solid #ffd09b;
}

.block-name-svyaz-s-avtorom {
    border-top: 3px solid #ffd09b;
}
.center-botton {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sidebar-bottom {
    background-color: #363636;
    padding-bottom: 30px;
    color: white;
}

.textwidget {
    color: white;
}

.textwidget a {
    color: #ff901e;
}

.textwidget a:hover {
    color: #ff421f;
}


.sidebar-bottom .widget h3 {
    border-bottom: 7px solid #ff901e;
    color: white;
/*    display: inline-block;   */
    margin-bottom: 30px;
}


/* отсюда https://copy-paste-css.com/ */
a.big-botton {
    display: inline-block;
    outline: 0;
    cursor: pointer;
    border: none;
    padding: 0 56px;
    height: 45px;
    line-height: 45px;
    border-radius: 7px;
    font-weight: 400;
    font-size: 16px;
    background-color: rgb(0, 112, 243);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgb(0 0 0 / 10%);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    margin-right: 10px;
    margin-left: 10px;
}
a.big-botton-i {
    display: inline-block;
    outline: 0;
    cursor: pointer;
    border: none;
    padding: 0 56px;
    height: 45px;
    line-height: 45px;
    border-radius: 7px;
    font-weight: 400;
    font-size: 16px;
    background-color: #A600A6;
    color: #fff;
    box-shadow: 0 4px 14px 0 rgb(0 0 0 / 10%);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    margin-right: 10px;
    margin-left: 10px;
}

a.big-botton:hover {
    background: rgba(0, 118, 255, 0.9);
    box-shadow: rgba(0, 118, 255, 0.23) 0px 6px 20px;
}
a.big-botton-i:hover {
    background: #D235D2;
    box-shadow: rgba(0, 118, 255, 0.23) 0px 6px 20px;
}


a.big-botton2 {
    display: inline-block;
    outline: 0;
    cursor: pointer;
    border: none;
    padding: 0 56px;
    height: 45px;
    line-height: 45px;
    border-radius: 7px;
    font-weight: 400;
    font-size: 16px;
    background-color: #f37d00;
    color: #fff;
    box-shadow: 0 4px 14px 0 rgb(0 0 0 / 10%);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    margin-right: 10px;
    margin-left: 10px;
}

a.big-botton2:hover {
    background: #ff8f18;
    box-shadow: rgba(0, 118, 255, 0.23) 0px 6px 20px;
}

@media (max-width: 1280px) {
    .sidebar-bottom .widget h3 {
        font-size: 2rem;
    }

    h1,
    h2 {
        font-size: 2.5rem;
    }

}


@media (max-width: 1024px) {}

@media (max-width: 767px) {
	
    html {
        font-size: 14px;
    }

    .navbar,
    .sticky-wrapper {
        display: block;

    }

    .big-botton,
.big-botton-i	{
        margin-bottom: 10px;
    }
	
	.user_review.comment_mne {    margin-right: 0;}
.user_review.comment_moy {    margin-left: 0;}
}


@media (max-width: 540px) {

    h1,
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 2rem
    }

    h3.user_name {
        font-size: 2rem;
    }

    .block-32 .containercontent h2,
    .block-36 .containercontent h2 {
        font-size: 2rem;
    }


    .content {
        padding: 20px 0;
		font-size: 1.3rem;
    }

    .block-col2-r {
        padding-left: 0;
    }

    .sidebar-bottom .sidebar-bottom-inner .widget {

        padding: 0;

    }

    .sidebar-bottom .widget h3 {
        font-size: 1.8rem;
        line-height: 1.2;
		margin-bottom: 10px;
    }
	

.review_author::after {
    content: "";
    display: table;
    clear: both;
}
.review_author {
    display: block;
    float:none!important;
	margin: 0;
}
.review_city {
    margin-left: 0;
    display: inline-block;
    float: left;
}

.review_text {
    font-size: 1.1rem;
}

.category-blog h2 {
    line-height: 1.1;
    margin-bottom: 0.8rem;

}
	#fb-login-btn {
  padding: 10px 20px;
  background: #1877F2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer; /* Важно! */
  font-size: 16px;
}

#fb-login-btn:hover {
  background: #166FE5;
}

#fb-login-btn:disabled {
  background: #CCCCCC;
  cursor: not-allowed;
}
.language-switcher {
    display: inline-flex;
    gap: 10px;
    margin: 20px 0;
    padding: 10px;
    border-radius: 5px;
    background: #f5f5f5;
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: #e0e0e0;
}

.lang-btn.active {
    background: #2271b1;
    color: white;
}
}