/*
========================================================================
This css file will over write bootstarp css
------------------------------------------------------------------------
# Template Name: AVER BASIC
# Template URI: http://aver.by/
# Author:  Aver.by
# Author URI: http://aver.by/
# Description: -----
# Version: 0.1
# License: GPL v2 or later
# License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# Tags: html, template
----------------------------------------------------------------------
========================================================================
*/

/*
========================================================================
Index
------------------------------------------------------------------------
*/

 /* =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;
}

/*
========================================================================
# General styles
------------------------------------------------------------------------
*/

html,
body {font-family: 'Roboto Condensed', sans-serif; font-size: 16px; color:  #1C1C1C; line-height: 1.4;}
a {color: #00a7dd;}
a:hover {color: #017298;}
ul, li {list-style: none; margin:0 0 10px; padding: 0;}

::-moz-selection { background: #A9D0F5; color: #5F5A5A }
     ::selection { background: #A9D0F5; color: #5F5A5A }
  img{
    max-width: 100%;
  }

/*
========================================================================
# Heading styles
------------------------------------------------------------------------
*/
h1, h2, h3, h4 { margin: 10px 0; text-transform: uppercase;}

h1 {font-size: 24px; margin: 0px 0; padding: 15px 0px; color: white; background-color: #066281; text-align: center;}


#fireproof h1 {height: 70px;}

.page-template-default h1 {font-size: 24px;height:  auto; margin: 0px 0; padding: 15px 0px; color: white; background-color: #066281; text-align: center;}

section > div > div > h2 {
font-size: 36px;
color: #066281;
margin-bottom: 30px;
border-bottom: 3px dashed #be1430;
padding-bottom: 10px;
}


h3 {font-size: 24px;}
h4 {font-size: 20px;}
h5 {font-size: 16px;}
h6 {font-size: 12px;}

/*
========================================================================
# Button styles
------------------------------------------------------------------------
*/
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
    padding: 4px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
    width: auto!important;
}
 section{
 background-color: #d2d9d9;;
 }
  section div.container {
  padding: 0px 15px 40px 15px;
  background-color: #FFFFFF;
  }
section#fireproof div.container{
padding: 0px 0px 0px 0px;
}

section#mainsection div.container{
padding: 0px 0px 0px 0px;
}


section#img_inner_s div.container{
padding: 0px 0px 0px 0px;
}

section#img_inner_s div.container > div{
height: 300px;
    background-size: cover!important;
    background-position: center center!important;
    position: relative;
}

/*
========================================================================
# Header styles
------------------------------------------------------------------------
*/

header {
background-color:#066281;
color: #FFFFFF;

}
header .frow {
  display: flex;
   margin: 0px;
}


#home > .container{
  padding: 0px;
}

.tel{
  display: flex;
  flex-direction: column;
  justify-content: center;

    }

.tel > div{  font-size: 22px;}
.order_call{display: flex;flex-direction:column;justify-content:center;}
.order_call a{font-size: 20px;}

.logo img{max-height: 65px;
    margin: 10px 15px;}


.logo2 {
font-size: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header .container .frow > div {
  padding: 0px;
}
/*
========================================================================
# Menu styles
------------------------------------------------------------------------
*/
#fireproof{

}



.slide_wrap{
  height: 560px;
 background-size: cover!important;
   background-position: center center!important;
  position: relative;
}
.slide_wrap{
 display: flex;
}
.slide_wrap2 > a{
   padding-top: 4%
}


.text-sl-wrap{
  min-height: 20%;
  position: absolute;
  bottom: 0px;
  width: 100%;
  color: #FFFFFF;
  font-size: 18px;
      background-color: rgba(102, 102, 102, 0.5);
    padding: 20px;
}


#fireproof a.switcher{
     text-transform: uppercase;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 70px;
    padding-left: 74px;
    background-color: rgba(127, 141, 203, 0.69)!important;
    background-position: left 14px center!important;
    color: #FFFFFF;
    text-decoration: none;

}

#fireproof a.switcher:hover, #fireproof a.switcher.active{background-color:  #066281!important;}

#fireproof .container > div {
  padding: 0px;
}


.owl-carousel .owl-item img {
    display: block;
    width:  auto;
    -webkit-transform-style: preserve-3d;
}

ul#menu-levoe-menyu{
     margin: 0px;
}

#mainsection .container > div.col-md-3 {    padding: 0px;}
#mainsection .container > div.col-md-9 {    padding: 30px 30px 0px 30px;}
#mainsection .menu > .menu-item{
  position: relative;
  overflow: hidden;
  text-align: center;

  background-color: #066281;
  margin: 0 0 0px;
}
#mainsection .menu-item a:hover { text-decoration: none;}

#mainsection .menu-item img{margin: 0px 2% 0px 3%;}




#mainsection .menu-item span{

  position: relative;

  color: #FFFFFF;
  font-size:20px;

      padding: 4px 6px;
    height: 70px;
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;

}
#mainsection .menu-item a{ display: flex; align-items: center; text-decoration: none;}
#mainsection .sub-menu .menu-item a{
 color: #FFFFFF;
 font-size:17px;
 padding-left: 24%;
 text-align: left;
}
#mainsection .menu-item-has-children a{

}
#mainsection .menu-item-has-children a i{
  color: #FFFFFF;
  padding: 10px 10px;
  font-size: 26px;
}

#mainsection ul.sub-menu{
  display: none;
}

#mainsection .menu-item-has-children.current_page_parent ul.sub-menu{
  display: block;
}


#reviev .owl-carousel .owl-item img {
    display: inline-block;
    width: auto;
    -webkit-transform-style: preserve-3d;
}


#owl-prod a {
  text-decoration: none; color: #1C1C1C;
}
#owl-prod h3{
  text-align: center;
}

/*
========================================================================
# Footer styles
------------------------------------------------------------------------
*/



.wpcf7-form input , .wpcf7-form textarea{
  margin-bottom: 10px;
  padding: 10px 20px;
  font-size: 20px;
  width: 100%;
}
.wpcf7-form input.wpcf7-submit{

    border: 0px;
    color: white;
    background-color: #066281;
}

#map{
   padding: 0px;
    border-top: 3px solid #066281;

 }

#footer {

 background-color: #066281;
 color: rgba(255, 255, 255, 1);
}
#footer p{
  margin: 0px;
}

#go-to-top a {
	text-decoration:none;
	display: none;
	position: fixed;
	bottom: 5px;
	right: 5px;
	text-align: center;
	line-height: 60px;
	margin: 0 20px 20px;
	background:url(./images/ui.totop.png) no-repeat left top;
	width: 51px;
	height: 51px;
	transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    -ms-transition: .3s;
}
#go-to-top a:hover {
	background: #00a7dd;
	color: #fff;
	background:url(./images/ui.totop.png) no-repeat left -51px;
}

