/* стили главная*/
.tizerbox {
    display: inline-block;
    position: relative;
    width: auto;
    background: none;
    text-align: center;
    margin: 30px;
    /* padding: 20px 0 0; */
    transition: 1s;
    vertical-align: top;
}

.tizerbox:hover {
    /* cursor:pointer; */
    /* background: rgba(255, 186, 1, 0.8); */
    /*transform: scale(1.02);*/
}

.tizerbox a {
     color: #000;
     font-weight: 100;
    font-size: 1.4em;
    font-family: 'Lato', Arial, sans-serif;
     text-decoration: none;
}

.tizerbox a:hover {
    color: #95a5a6;
}

.tizerbox img {
     height: 40px;
     /* box-shadow: #ddd 0px 0px 8px; */
    width: auto;
    margin: auto;
    margin-bottom: 8px;
    /* border-radius: 40px !important; */
}

.tbox_text {
    position: relative;
    width: 100%;
    text-align: left;
    bottom: 0;
    padding: 0 20px;
}

.tbox_text_item {
    background: rgb(43 150 246 / 70%);
    position: absolute;
    text-align: left;
    width: 100%;
    bottom: 0;
    padding: 10px;
}

.p_desc, .p_cap, .p_adr, .p_price {
    text-align: left;
    color: #000;
    font-size: .8rem;
}

.p_title {
    font-size: .9rem;
    font-weight: 600;
    color: #000;
}
.tizerbox .button-zakaz {
    background: #296bc9;
    width: fit-content;
    margin:auto;
    bottom: 0px;
    right: 0px;
    padding: 15px 30px;
    color: #ffffff;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    z-index: 10;
    transition: 0.8s;
}

.tizerbox .button-zakaz:hover {
    background: #95a5a6;
}

.bottom-t {
    border: 2px #0f5d67 solid;
    padding: 10px 20px;
    position: absolute;
    /* bottom: 0%; */
    right: 10px;
    font-size: .8em !important;
    /* border-radius: 8px; */
}

.bottom-t:hover {
    background: #0f5d67;
}

/* стили галерея*/
.tizerbox-g {
    display: inline-block;
    position: relative;
    width: 20%;
    max-width: 300px;
    height: 200px;
    /* background: rgba(255, 255, 255, 0.7); */
    /* border: #008fe6 1px solid; */
    text-align: center;
    margin: 30px;
    padding: 2px 0 2px 4px;
    transition: 2s;
    vertical-align: top;
}

.tizerbox-g:hover {
    cursor:pointer;
    background: rgba(169, 222, 255, 0.8);
    /*transform: scale(1.02);*/
}

.tizerbox-g a {
     color: #242424;
     font-weight: 100;
     font-size: 0.8em;
     text-decoration: none;
}

.tizerbox-g img {
     width:100%;
     border-radius: 0px !important;
}

.tizerbox-g .button-zakaz {
    background: #296bc9;
    width: fit-content;
    margin:auto;
    bottom: 0px;
    right: 0px;
    padding: 15px 10px;
    color: #ffffff;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    z-index: 10;
    transition: 0.8s;
}

.tizerbox-g .button-zakaz:hover {
    background: #ff6b00;
}

/* стили тизеров услуг главная*/
.tizerbox-s {
     display:inline-block;
     width:250px;
     height:220px;     
     background: rgba(0, 143, 230,0.8);
     text-align:center;
     margin:3px;
     padding:1px;
     vertical-align:top;
}

.tizerbox-s a {
     color: #fff;
     font-weight: 100;
     text-decoration: none;
}
.tizerbox-s a:hover {
     color: #ffe900;
     text-decoration: none;
}
.t-a {
    margin: 10px 0 0 0;
}

.tizerbox-s:hover {
     transform: scale(1.02);
}

.tizerbox-s img {
     width:100%;
     border-radius: 0px !important;
}

@media(max-width:1367px) {
     .tizerbox-s{
          width:200px;
          height:200px;
     }
     .tizerbox-s a {
          font-size: 0.8em;
     }
}

@media(max-width:1024px) {
     .tizerbox-s{
          width:160px;
          height:160px;
     }
     .tizerbox-s a {
          font-size: 0.7em;
     }
}

/* стили тизеров услуг дочерние*/
.tizerbox-t {
    display: inline-block;
    width: 280px;
    height: auto;
    background: rgb(14 80 88);
    color: #fff;
    text-align: center;
    margin: 3px;
    padding: 12px 0 12px 0;
    vertical-align: top;
    border-radius: 4px;
    transition: 0.2s;
}

.tizerbox-t:hover {
    cursor:pointer;
    background: rgb(255 196 62);
    color: #474747;
    transform: scale(0.98);
}

.tizerbox-t a {
     color: #242424;
     font-weight: 100;
     font-size: 0.8em;
     text-decoration: none;
}

.tizerbox-t:hover a {
     color: #455b8f;
}

.tizerbox-t img {
     height:70px;
     border-radius: 0px !important;
}

/* -------------------------------------------------------------------------- */
.tizerbox-ico {
    display: inline-block;
    margin: 10px;
    background: #fbf5e6;
    width: 200px;
    border-left: #017190 1px dotted;
    padding: 10px;
}

.tizerbox-ico:hover {
    background: #ffecbc;
}

.tizerbox-ico img {
    width: 100px;
}

.tizerbox-ico p {
    color: #000;
    border-top: 1px dotted #017190;
    font-size: .8rem;
    padding-top: 10px;
}

/* ------------------------------------------------------ */
.tizerbox-firms {
     display:inline-block;
     height: 150px;
     text-align:center;
     margin:10px;
     padding:0;
     vertical-align:top;
}

.tizerbox-firms:hover{
     transform: scale(0.99);
}

.tizerbox-firms a {
     color: rgb(255, 255, 255);
     font-weight: 100;
     font-size:1.6em;
     text-decoration: none;
     text-shadow: 1px 1px 20px #585858;
}

.tizerbox-firms img {
     height:100%;
}


@media(max-width:1800px) {


     .tizerbox-firms a {
          font-size: 1.2em;
     }
}

@media(max-width:1367px) {

     .tizerbox-firms a {
          font-size: 0.8em;
     }
}

@media(max-width:900px) {

     .tizerbox-firms a {
          font-size: 0.8em;
     }
}