/*   
Theme Name: IRON Man
Theme URI: https://xit-digital.agency/
Author: xit-digital.agency
Author URI: https://xit-digital.agency/
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
}

body{
    min-width: 480px;
}
a {
    text-decoration: none !important;
}

.quad_dark {
    position: relative;
    background-color: #1B212A;
    border: 1px solid white;
    border-radius: 3px;
    padding-bottom: 100%;
    margin-top: 30px;
    transition: all .3s;
}

.relative {
    position: relative;
}

.quad_dark:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.35);
}

.quad_dark img {
    position: absolute;
    color: white;
    width: 45%;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.quad_dark p {
    position: absolute;
    text-align: center;
    font-weight: 700;
    color: white;
    bottom: 2px;
    left: 50%;
    transform: translate(-50%, 0);
    line-height: 20px;
    width: 90%;
}

.square-gold-menu:before {
    content: '';
    position: absolute;
    top: 26px;
    right: -9px;
    width: 16px;
    height: 16px;
    background-color: #EBC028;
    border 2px solid rgba(27, 33, 42, .7);
    transform: rotate(45deg);
    z-index: 9999;
}

.square-gold:before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    width: 30px;
    height: 30px;
    background-color: #EBC028;
    border: 6px solid white;
    transform: rotate(45deg);
    z-index: 9999;
}

.square-gold:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 30px;
    height: 30px;
    background-color: #EBC028;
    border: 6px solid white;
    transform: rotate(45deg);
    z-index: 9999;
}

.square-dark:before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    width: 30px;
    height: 30px;
    background-color: #1B212A;
    border: 6px solid white;
    transform: rotate(45deg);
    z-index: 9999;
}

.square-dark:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 30px;
    height: 30px;
    background-color: #1B212A;
    border: 6px solid white;
    transform: rotate(45deg);
    z-index: 9999;
}


/*   ----------------------------   */

.block {
    position: relative;
    padding-top: 70px;
    padding-bottom: 70px;
}

.block h1 {
    margin-bottom: 30px;
    text-transform: uppercase;
}


/*   ----------------------------   */

.block-menu {
    min-height: 50px;
    background: linear-gradient(180deg, #F5D650 0%, #EBC028 100%);
    border-bottom: 1px solid #1B212A;
    color: #1B212A;
    position: fixed !important;
    width: 100%;
    z-index: 9999;
    top: 0;
}
.navbar{
    position: fixed !important;
    z-index: 99999;
}
.headtel{
    display: none;
    /*margin-top: 15px;*/
}
.btn-outline-success {
	color: #1B212A !important;
	border-color: #1B212A !important;
}
.btn-outline-success:hover {
	color: #fff !important;
	background-color:  #1B212A !important;
}
.form-control{
    background-color: transparent !important;
    border-color: #1B212A !important;
}

.form-control:focus {
	box-shadow: 0 0 0 .2rem rgba(0,0,0,.25) !important; 
}

.dropdown-menu {
    top: 45px !important;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.35); 

}

.navbar-brand img{
    height: 18px;
    margin-right: 10px;
}

.navbar-brand p{
    display: inline;
}

/*   ----------------------------   */

.block-carusel {
    position: relative;
    top: 50px;
    min-height: 100px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    color: white;
    background: url(img/bg19.jpg);
    background-size: cover;
}
.block-carusel img{
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0);
}

.owl-carousel{
    height: 480px;
}
.owl-item{
    position: absolute;
    top: 31%;
}
.owl-item .item{
    position: absolute;
    height: 100%;
    width: 100%;
}
.owl-stage{
    height: 100%;
}
.carusel-button {
    position: relative;
    display: block;
    height: 70px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999;
    margin-top: -70px;
}

.carusel-button a {
    display: block;
    width: 100%;
    height: 100%;
}

.carusel-button div {
    height: 100%;
}

.carusel-button .col-sm {
    margin-right: 2px;
    background-color: rgba(27, 33, 42, .7);
    height: 100%;
    width: 100%;
}


.carusel-button .col-sm p {
    font-size: 22px;
    font-weight: 700;
    color: #EBC028;
    text-align: center;
    margin-top: 15px;
}

.carusel-button .active {
    background-color: #EBC028;
}
.carusel-button .active p{
    color: #1B212A;
}
.item-text{
    position: absolute;
    width: 100%;
    /*top: 45%;
    left: 50%;
    display: block;
    transform: translate(-50%, -50%)*/
}
.item-text img{
    position: absolute;
    top: 0;
    z-index: -1;
    opacity: .3;
}

.item p.thetitle{
    font-size: 70px;
    text-align: center;
	color: gold;
    font-weight: 700;
    line-height: 5vw;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);

}

.item p.thecontent{
    text-align: center;
	font-size: 40px;
	color: white;
    font-weight: 100;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);

}

#wpcf7-f219-o1{
    z-index: 100;
    position: relative;
    bottom: -400px;
    width: 100%;
}


#wpcf7-f219-o1 input{
    padding: 15px;
    color: black;
    background-color: white;
    border: 1px solid #1B212A;
    border-radius: 5px;
    margin-right: 20px;
    width: 100%;
}
#wpcf7-f219-o1 input[type="submit"]{
    background-color: #EBC028;

}
#wpcf7-f219-o1 input[type="submit"]:hover{
    color: #EBC028;
    background-color: #1B212A;
    border: 1px solid #EBC028;
    
}

#wpcf7-f219-o2{
    position: relative;
    margin-bottom: 40px;
}

#wpcf7-f219-o2 input{
    padding: 15px;
    color: black;
    background-color: white;
    border: 1px solid #1B212A;
    border-radius: 5px;
    margin-right: 20px;
    width: 100%;
}
#wpcf7-f219-o2 input[type="submit"]{
    background-color: #EBC028;

}
#wpcf7-f219-o2 input[type="submit"]:hover{
    color: #EBC028;
    background-color: #1B212A;
    border: 1px solid #EBC028;
    
}



.wpcf7-response-output{
    display: none;
}
/*   ----------------------------   */

.block-catalog {
    min-height: 300px;
    color: #1B212A;
    margin-top: 70px;
    margin-bottom: -70px;
}


/*   ----------------------------   */

.block-dont-find {
    margin-top: 50px;
    min-height: 10px;
    background-color: #EBC028;
    background: url(img/bg22.jpg);
    overflow: visible;
}

.block-dont-find h1{
    margin-bottom: 0;
}


/*   ----------------------------   */

.block-service {
    position: relative;
    min-height: 300px;
    color: #1B212A;
}

.service {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-top: 100%;
    border: #1B212A 1px solid;
    margin-bottom: 30px;
}

.service p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: 999;
    transition: all .3s;
    font-size: 15px;
    font-weight: 700;
    line-height: 30px;
    text-transform: uppercase;
    color: #fff;
    opacity: 1;
}

.service:hover p {
    opacity: 1;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);

}

.service::after {
    content: '';
    background-color: #1B212A;
    opacity: .7;
    position: absolute;
    top: 0;
    bottom: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    transition: all .3s;
    
}

.service:hover::after {
    bottom: 99%;
}

.service::before {
    content: '';
    background-color: #1B212A;
    opacity: .7;
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    transition: all .3s;
}

.service:hover::before {
    top: 99%;
}

.service img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    width: 10px;
    height: 10px;
    background-color: #fff;
    transition: all .3s;
}


/*   ----------------------------   */

.block-portfolio {
    min-height: 300px;
    color: white;
    background-color: #1B212A;
    background: url(img/bg03.jpg);
}

.portfolio {
    background-color: #bbb;
	width: 100%;
	padding-top: 75%;
	position: relative;
	overflow: hidden;
    border: #1B212A 5px solid;
}

.portfolio p {
    position: absolute;
}

.portfolio img {
    position: absolute;
	top: 0;
	left: 0;
	min-width: 100%;
	min-height: 100%;
	width: 10px;
    height: auto;
    margin: auto;
	background-color: #bbb;
	margin-bottom: 10px;
    transition: all .3s;
}

.portfolio img:hover {
    transform: scale(1.2);
}


/*   ----------------------------   */

.block-message {
    min-height: 100px;
    color: #1B212A;
}

.block-message input,
.block-message textarea {
    width: 100%;
    background-color: white;
    border: 1px solid #1B212A;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
}

.block-message input[type="submit"] {
    width: 25% !important;
    margin: 0 auto;
    color: white;
    background-color: #1B212A;
    transition: all .3s;
    font-weight: 700;
}

.block-message input[type="submit"]:hover {
    background-color: #EBC028;
    color: #1B212A;
}

label {
    width: 100%;
}

p input {
    display: block;
    text-align: center;
}


/*   ----------------------------   */

.block-footer {
    min-height: 300px;
    color: white;
    background-color: #1B212A;
    background: url(img/bg26.jpg);
    margin-bottom: 0;
}

.block-footer::after{
    content: none;
}

.adress-block p{
    margin-left: 40px;
    font-size: .9rem;
}
.footerlogo h6{
    text-align: center;

}
.footerlogo h1{
    text-align: center;
    font-weight: 700;
    margin-bottom: 3px;
    padding-bottom: 5px;
}
.adress-block p img{
    margin-right: 20px;
    margin-left: -40px;
    width: 20px;
    height: 20px;
}
.footerlogo img{
    margin: auto;
    display: block;
    max-width: 100%;
}
#map{
    height: 200px;
}

/*  OSM  ----------------------------   */

.ol-attribution.ol-logo-only,
.ol-attribution.ol-uncollapsible {
    max-width: calc(100% - 3em) !important;
    height: 1.5em !important;
}

.ol-control button,
.ol-attribution,
.ol-scale-line-inner {
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif !important;
}

.ol-popup {
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif !important;
    font-size: 12px;
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 300px;
    /* !!! */
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "✖";
    color: #c3c3c3;
}

#popup-content {
    color: black; 
}


/*  ----------------------------   */
.thesingle{
    margin: 50px;
}
.thesingle h2, .thesingle h3{
    margin: 50px;
    padding-top: 40px;
    text-align: center;
}
.thesingle p{
    margin-bottom: 2rem;
}
.align-self-center{
    margin: auto;
}
/*  ----------------------------   */

.thesingle table{
    width: 100% !important;
    overflow: hidden;
}

.thesingle tr {
    
}
.thesingle tr:hover {
    background-color: #eee;
    
}
.thesingle table td{
    padding: 20px 10px;
    width: auto;
    border: 1px solid #ddd;
    user-select: none;   
}
.thesingle table td:hover{
    background-color: #ddd;
    cursor: all-scroll;
    
}
.thesingle table{
    
}

.thetable{
    overflow: auto;
    height: auto;
    max-width: 100%;
}

/**/

td {
    position: relative; /* Относительное позиционирование */
   } 
   td:hover::before {
    content: ''; /* Добавляем псевдоколонку */
    background: #eee; /* Цвет фона */
    position: absolute; /* Абсолютное позиционирование */
    height: 2000px; /* Высота колонки */
    width: 100%; /* Ширина колонки */
    left: 0; /* Положение от левого края */
    top: -1000px; /* Положение от верхнего края */
    z-index: -1; /* Располагаем ниже текста ячейки */
   } 

/**/
#wpcf7-f219-o1{
    bottom: -420px;
}
.wpcf7-response-output{
    position: absolute !important;
    top: 18px !important;
    z-index: 999999 !important;
    border: 0 !important;
}
.wpcf7-not-valid-tip{
    display: none !important;
}
/* ***************************************************************************** */
/* ***************************************************************************** */
/* ***************************************************************************** */

/* Малые девайсы («ландшафтные телефоны», >= 576px)*/
@media (min-width:  576px) { 
        #wpcf7-f219-o1{
        bottom: -400px;
    }
    .form-search{
        display: none !important; 
    }
    .headtel{
        display: none;
    }
    
}



/* Большие девайсы (десктопы, >= 992px)*/
@media (max-width: 992px) {  
    .block h1 {
        margin-bottom: 30px;
        text-transform: uppercase;
        text-align: center;
    }
    h2,h3,h4,h5,h6{
        text-align: center;
    }
    .form-search{
        display: none !important; 
    }
    .owl-item{
        top: 34%;
    }
    .item p.thetitle{
        font-size: 60px;
        line-height: 50px;
    }
    
    .item p.thecontent{
        font-size: 30px;
    }
}


/* Средние девайсы («таблетки», >= 768px)*/
@media (max-width: 767px) {  
    .square-gold-menu::before {
        top: 29px;
        right: -6px;
        width: 10px;
        height: 10px;
    }
    .headtel{
        display: inline;
    }
    .navbar-brand p{
        display: none;
    }
    #wpcf7-f219-o1 {
        /*bottom: -400px;*/
    }
    .item-text{
        transform: translate(0, -140%);
    }
    .form-search{
        display: none !important; 
    }
    .dropdown-menu {
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    .owl-item{
        top: 42%;
    }
    .item p.thetitle{
        font-size: 50px;
        line-height: 40px;
    }
    
    .item p.thecontent{
        font-size: 30px;
    }
}


@media (max-width: 576px) { 
    .quad_dark p {
        margin-bottom: 6vw;
        font-size: 9vw;
        line-height: 10vw !important;
    }
    .service p {
        font-size: 6vw;
        line-height: 12vw !important;
    }
    .adress-block p{
        font-size: 6vw;
    }
    .square-gold-menu::before {
        content: none;
    }
    .block-menu {
        /*position: relative !important;*/
    }
    .carusel-button {
        opacity: 0;
    }
    #wpcf7-f219-o1{
        bottom: -480px;
    }
    .form-search{
        display: none !important; 
    }
    .headtel{
        display: inline;
    }
    .owl-item{
        top: 50%;
    }
    .item p.thetitle{
        font-size: 32px;
        line-height: 38px;
    }
    
    .item p.thecontent{
        font-size: 23px;
    }
}


/* Экстрабольшие девайсы (большие десктопы, >= 1200px)*/
@media (min-width: 992px) { 
    
    .footerlogo h1{
        font-size: 2rem !important;
    }
    .form-search{
        display: inline !important; 
    }
    .owl-item{
        top: 31%;
    }
}
 


/*  ----------------------------   */

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/*  ----------------------------   */

#before-load {
    position: fixed; /*фиксированное положение блока*/
    left: 0; /*положение элемента слева*/
    top: 0; /*положение элемента сверху*/
    right: 0; /*положение элемента справа*/
    bottom: 0; /*положение элемента снизу*/
    background: #1B212A; /*цвет заднего фона блока*/
    z-index: 999999; /*располагаем его над всеми элементами на странице*/
    opacity: .99;
  }
  #before-load img {
    position: absolute; /*положение абсолютное, позиционируется относительно его ближайшего предка*/
    left: 50%; /*слева 50% от ширины родительского блока*/
    top: 50%; /*сверху 50% от высоты родительского блока*/
    transform: translate(-50%, -50%);
  }

/*  ----------------------------   */

.single-block ol{
    list-style-position: inside;
}
.single-block ol li{
    display:list-item;
    margin-bottom: 5px;
}
/*  ----------------------------   */
/*  ----------------------------   */
/*  ----------------------------   */
/*  ----------------------------   */
/*  ----------------------------   */
/*  ----------------------------   */
/*  ----------------------------   */
@media (max-width: 576px) {
  .block-carusel .item p.thetitle {
    font-size: 28px !important;
    line-height: 34px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }

  .block-carusel .item p.thecontent {
    margin-top: 0 !important;
    padding-top: 0 !important;
    line-height: 28px !important;
  }

  .block-carusel .item-text {
    overflow: visible !important;
  }
}