/*
 Theme Name:   iHeERO Divi Child Theme
 Theme URI:    http://veedoo.io
 Description:  iHeERO Divi Child Theme
 Author:       Vladimir Gleba
 Author URI:   http://gleba.com.ua
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         
 Text Domain:  divi-child
*/

body {
overflow:hidden;
}
.footer-bottom {
    position: fixed;
    bottom: 0;
    z-index: 1000;
    background-color: #818280;
    clear: both;
    width: 100%;
    padding: 10px 0px 5px 0px;
}
.ertico-fixed-bar {
    position: relative;
    top: -6px;
    text-align:right; 
    color:#fff; 
    padding-right: 50px;
    
}
.ertico-fixed-bar .ertico__text1 {
    
    margin-right: 12px;
}

.ertico-fixed-bar .ertico__text2 {
    
    margin-left: 9px;
}
.ertico-fixed-bar .ertico__img {
    position: relative;
    top: 7px;
}
.ertico-fixed-bar .ertico__link {
    color: #fff;
}
.ertico-fixed-bar .ertico__link:hover {
    color: #fff;
    text-decoration: underline;
}



.footer-bottom .footer-icon {
    width:10%;
    float:left;
    text-align:center;
}
.footer-bottom .footer-link {
    width:30%;
    float:left;
    text-align:center;
    color:#63a7e2;
    padding-top:5px;
}
.footer-bottom a {
    color:#63a7e2;
}
.footer-bottom a:hover {
    color:#bde0fe;
    text-decoration:none;
}
body{
	padding-bottom: 49px;
}
#main-header{
    box-shadow: none;
}

#main-content .container:before{
    width: 0;
}
#main-content .container {
    padding-top: 0px;
}

#left-area.main .entry-content {
    padding: 10px;
    margin-top: 10px;
    background-color: #418af9;
    color: #fff;
    height: 379px;
    overflow: hidden;
}
#left-area.main .entry-content a{
    color: #fff;
}
#left-area.main .entry-content h3{
    color: #fff;
}

#left-area.main article {
    margin-bottom: 0;
}

#top-menu>li {
    background-color: red;
    width: 115px;
    height: 115px;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    text-align: center;
    position: relative;
    top: -15px;
    float: left;
    margin-left: 5px;
}

#top-menu>li>ul {
    top: 115px;
    left: 0;
    width: 115px !important;
    padding: 0;
}

#top-menu>li>ul>li {
    width: 115px !important;
    padding: 0 0 0 10px;
}

#top-menu-nav #top-menu>li.menu-item>a:after {
    top: 43px;
    right: 48px;
}

#top-menu>li>ul>li>a {
    width: 115px !important;
    padding: 0;
    color: #fff;
}

#top-menu>li>ul>li>a>img {
    width: 18px;
}





#top-menu>li:nth-child(5n+1),
#top-menu>li:nth-child(5n+1) ul {
    background-color: #ea991c;
}

#top-menu>li:nth-child(5n+2),
#top-menu>li:nth-child(5n+2) ul {
    background-color: #b01a43;
}

#top-menu>li:nth-child(5n+3),
#top-menu>li:nth-child(5n+3) ul {
    background-color: #47aa24;
}

#top-menu>li:nth-child(5n+4),
#top-menu>li:nth-child(5n+4) ul {
    background-color: #418af9;
}

#top-menu>li:nth-child(5n+5),
#top-menu>li:nth-child(5n+5) ul {
    background-color: #d24826;
}


/*#top-menu>li ul li:nth-child(10n+1){
    background-color: rgba(255, 255, 255, 0.03);
}
#top-menu>li ul li:nth-child(10n+2){
    background-color: rgba(255, 255, 255, 0.06);
}
#top-menu>li ul li:nth-child(10n+3){
    background-color: rgba(255, 255, 255, 0.09);
}
#top-menu>li ul li:nth-child(10n+4){
    background-color: rgba(255, 255, 255, 0.12);
}
#top-menu>li ul li:nth-child(10n+5){
    background-color: rgba(255, 255, 255, 0.15);
}
#top-menu>li ul li:nth-child(10n+6){
    background-color: rgba(255, 255, 255, 0.18);
}
#top-menu>li ul li:nth-child(10n+7){
    background-color: rgba(255, 255, 255, 0.21);
}
#top-menu>li ul li:nth-child(10n+8){
    background-color: rgba(255, 255, 255, 0.24);
}
#top-menu>li ul li:nth-child(10n+9){
    background-color: rgba(255, 255, 255, 0.27);
}
#top-menu>li ul li:nth-child(10n+10){
    background-color: rgba(255, 255, 255, 0.30);
}
#top-menu>li ul li:nth-child(10n+11){
    background-color: rgba(255, 255, 255, 0.33);
}
#top-menu>li ul li:nth-child(10n+12){
    background-color: rgba(255, 255, 255, 0.36);
}
#top-menu>li ul li:nth-child(10n+13){
    background-color: rgba(255, 255, 255, 0.39);
}
#top-menu>li ul li:nth-child(10n+14){
    background-color: rgba(255, 255, 255, 0.42);
}
#top-menu>li ul li:nth-child(10n+15){
    background-color: rgba(255, 255, 255, 0.45);
}*/


#top-menu>li ul li{
    background-color: rgba(255, 255, 255, 0.21);
}
#top-menu>li ul li:hover{
    background-color: rgba(0, 0, 0, 0.05);
}

#top-menu li.current-menu-item > a{
    color: rgba(255, 255, 255, 0.75);
}



#top-menu>li>a {
    width: 115px;
    color: #fff !important;
    padding: 0 !important;
}









.content{
    width: 650px;
    padding-left: 1px;
    position: absolute;
    top: 0;
    left: 50%;
}



.content .brick{
    display: block;
    background-color: orange;
    margin: 0 10px 10px 0;
    float: left;
    position: relative;
    overflow: hidden;
}


.content .brick .title{
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    position: absolute;
    bottom: 15px;
    left: 0px;
    padding: 10px;
}
.content .brick.icon .title{
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    position: absolute;
    top: 25px;
    padding: 0;
    text-align: center;
    width: 100%;
}

.content .events .title,
.content .news .title {
    top: -30px;
}

.content .events .title img,
.content .news .title img{
    width: 58px;
    position: relative;
    top: 30px;
}



.content .brick.small{
    width: 293px;
    height: 233px;
}

.content .brick.medium{
    width: 586px;
    height: 233px;
}

.content .brick.medium_vertical{
    width: 293px;
    height: 476px;
}

.content .brick.big{
    width: 586px;
    height: 476px;
}


article>.main_title, .blue-title{
    position: relative;
    background: #4797ff;
    width: 100%;
    padding: 10px;
    color: #fff;
}

#events_posts{
    color: white;
    margin-top: 60px;
    margin-left: 23px;
}
#events_posts a{
    color: white;
    font-size: 14px;
}
#events_posts p{
    padding: 0;
    font-size: 11px;
}
#events_posts .post{
    margin-top: 5px;
    height: 45px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

#news_posts{
    color: #5F5151;
    margin-top: 65px;
    margin-left: 16px;
}
#news_posts a{
    color: #5F5151;
    font-size: 14px;
}
#news_posts p{
    padding: 0;
    font-size: 11px;
}
#news_posts .post{
    margin-top: 5px;
    height: 45px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.events-single #sidebar{
    display: none;
}



.container{
    width: 95%;
}




#iwm_map_canvas {
    overflow:hidden;
    height: 410px;
}
#map_canvas_1 {
    margin-left: -740px;
    margin-top: -230px;
}

.et_pb_widget .textwidget a{
    text-decoration: underline;
}



@media (min-width: 981px){

    #left-area.main {
        width: 50%;
        padding-bottom: 10px;
        padding-right: 10px;
    }

    #sidebar {
        position: relative;
        top: 20px;
        left: -40px;
        background-color: #fee600;
        margin-bottom: 20px;
        padding: 20px;
    }
}

@media screen and (max-width: 1295px){
    .page-template-page-template-home .container{
        width: 910px;
    }
    .page-template-page-template-home #left-area.main {
        width: 315px;
    }
    .page-template-page-template-home .content{
        left: 313px;
    }
    .page-template-page-template-home #left-area.main .entry-content {
        height: 538px;
    }
}

@media screen and (max-width: 980px){
    .page-template-page-template-home .container{
        width: 596px;
    }
    .page-template-page-template-home .content{
        position: inherit;
        margin-top: 10px;
        padding: 0;
    }
}

@media screen and (max-width: 630px){
    .page-template-page-template-home .container{
        width: 95%;
    }
    .page-template-page-template-home .content{
        width: 294px;
        margin: 10px auto;
    }
}


@media screen and (max-width: 600px) {
    .footer-bottom .footer-icon {
        width:100%;
    }
    .footer-bottom .footer-link {
        width:100%;
    }
    body{
		padding-bottom: 133px;
	}
}




@media all and (min-width: 320px) and (max-width: 980px) { 
    #announce__header {
	width : 300px !important;
        margin-left: 12.3% !important
}
#announce__list { 
margin-left: 15.3% !important

}
 
}
@media all and (min-width: 1000px) and (max-width: 1268px) { 
    #announce__header {
	width : 300px !important;
}
}

@media all and (min-width: 981px) and (max-width: 1257px) { 
.map__overlay { 
left: 45px !important;
    top: 211px !important;

}    

#announce__list {
position: relative !important;
    z-index: 999 !important;
}

#announce__header {
    width: 300px !important;
}

}

.svg__map {

    width:587px;
    height: 330px;
    background: url("img/ihero__thefinal.png") no-repeat center center;
    background-size: cover;
    

}

.map__circlelink--pink1, .map__circlelink--pink2, .map__circlelink--pink3 {
    color: red;
    background-color: #f48181;
    position: absolute;

    display: block;

    border-radius: 50%;
    width: 17px;
    height: 17px;
    border: 1px solid white;

}
.map__circlelink--pink1 {
    z-index: 999;
    left: 204px;
    top: 136px;
background-color: #e91414;
}

.map__circlelink--pink2 {

    left: 50px;
    top: 265px;
    z-index: 999;
}
.map__circlelink--pink3 {
 left: 289px;
  top: 121px;
  z-index: 999;
background-color: #e91414;
}

.map__circlelink--red1,  .map__circlelink--red2  {
    color: red;
    background-color: #e91414;
     
    position: absolute;

    display: block;

    z-index: 999;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    border: 1px solid white;

}
.map__circlelink--red1 {
      left: 413px;
  top: 266px;
    z-index: 999;
}

.map__circlelink--red2 {
   left: 332px;
  top: 35px;
    z-index: 999;
}

.whitetruck {
   
    z-index: 999;
  position: relative;
   top: 24px;
  left: 322px;
  display: flex;
  width: 40px;
  height: 40px;
  background-color: #e91414;
 /*background-color: #f48181; */
  border: 1px solid #ffffff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.triangle-border--1, .triangle-border--2,
.triangle-border--3, .triangle-border--4,
.triangle-border--5
{
    text-align: center;
    width:105px;
    height: 35px;
    position: relative;
    font-size: 16px;
    font-weight: 400;
    margin: 1em 0 3em;
    border: 5px solid #e91414;
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    color: #e91414;
    line-height: 30px;
}

.triangle-border--1 {
    top: 1px;
    left: 222px;
    line-height: 30px;

}

.triangle-border--2 {
    top: 0  ;
    left:  400px ;
}
.triangle-border--3 {
    top: 100px  ;
    left:  200px ;
}
.triangle-border--4 {
    top: 100px  ;
    left:  200px ;
}
.triangle-border--5 {
    top: 100px  ;
    left:  200px ;
}

.triangle-border--1:before,
.triangle-border--2:before,
.triangle-border--3:before,
.triangle-border--4:before,
.triangle-border--5:before
{
    content: "";
    position: absolute;
    bottom: -20px;
    left: 43px;
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #e91414 transparent;
    display: block;
    width: 0;

}
.triangle-border--1:after,
.triangle-border--2:after,
.triangle-border--3:after,
.triangle-border--4:after,
.triangle-border--5:after{
    content: "";
    position: absolute;
    bottom: -13px;
    left: 32px;
    border-width: 13px 13px 0;
    border-style: solid;
    border-color: #fff transparent;
    display: block;
    width: 0;}


.dash-1 {
    transform-origin: right;
    transform: rotate(47deg);
    position: absolute;
    left: 314px;
    top: 286px;
    width: 195px;
    height: 4px;
    background-image: linear-gradient(to right, #db836e 50%, transparent 50%), linear-gradient(to right, blue 50%, transparent 50%), linear-gradient(to bottom, blue 50%, transparent 50%), linear-gradient(to bottom, blue 50%, transparent 50%);
    background-position: left top;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 20px 3px, 20px 3px, 3px 20px, 3px 20px;
}


.dash-2 {
    transform-origin: right;
    transform: rotate(68deg);
    position: absolute;
    left: 274px;
    top: 299px;
    width: 239px;
    height: 4px;
    background-image: linear-gradient(to right, #db836e 50%, transparent 50%), linear-gradient(to right, blue 50%, transparent 50%), linear-gradient(to bottom, blue 50%, transparent 50%), linear-gradient(to bottom, blue 50%, transparent 50%);
    background-position: left top;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 20px 3px, 20px 3px, 3px 20px, 3px 20px;

}

.dash-3 {
    transform-origin: right;
    transform: rotate(169deg);
    position: absolute;
    left: 210px;
    top: 163px;
    width: 79px;
    height: 4px;
    background-image: linear-gradient(to right, #b4b6b3 50%, transparent 50%), linear-gradient(to right, blue 50%, transparent 50%), linear-gradient(to bottom, blue 50%, transparent 50%), linear-gradient(to bottom, blue 50%, transparent 50%);
    background-position: left top;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 20px 3px, 20px 3px, 3px 20px, 3px 20px;

}


.dash-4 {
    transform-origin: right;
    transform: rotate(153deg);
    position: absolute;
    left: -235px;
    top: 285px;
    width: 280px;
    height: 4px;
    background-image: linear-gradient(to right, #b4b6b3 50%, transparent 50%), linear-gradient(to right, blue 50%, transparent 50%), linear-gradient(to bottom, blue 50%, transparent 50%), linear-gradient(to bottom, blue 50%, transparent 50%);
    background-position: left top;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 20px 3px, 20px 3px, 3px 20px, 3px 20px;

}




.map__overlay{
   position: absolute;
  left: 0;
  top: 200px;
  text-decoration: none;
  display: block;
  width: 315px;
  height: 114px;
  background-color: #ea991c;
  opacity: 0.9;

}
.map__overlay--textwrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-family: "Open Sans", sans-serif;
}
.overlay__text1 {
    font-size: 20px;
    font-weight: 600;
    color: #47aa24;
    margin-bottom: 2px;
    text-align: center;

}
.overlay__text2 {
    color: #b01a43;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;

    text-align: center;
    display: block;
}
.overlay__text3 {

    margin-bottom: 2px;

    text-align: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}
.overlay__text4 {
    margin-bottom: 2px;

    text-align: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.balloon-1, .balloon-2, .balloon-3, .balloon-4, .balloon-5  {
  line-height: 14px;
  text-align: center;
  width: 65px;
  height: 15px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
  border: 1px solid #e91414;
  color: #e91414;
  font-family: "Open Sans", sans-serif;
  font-size: 10px;
}

.balloon-1 {

 top: 112px;
  left: 181px
}
.balloon-2 {
   top: 93px;
  left: 267px

}
.balloon-3 {
   top: 6px;
  left: 309px;

}
.balloon-4 {
     top: 242px;
  left: 389px;
}
.balloon-5 {
    top: 240px;
    left: 15px;

}


/* ostrava */


#ostrava .header__image {
    float: left;
 margin-right: 10px;
margin-top: 7px;
}

#ostrava .header__text {
    text-align: justify;
}



#ostrava__slider1 .et_pb_gallery_pagination ul {
float : none;
  padding-left: 40%;
color : #333333;


}
#ostrava__slider1 .et_pb_gallery_pagination ul a {
 
color : #333333;
font-size : 20px;

}

#ostrava__slider1 .et_pb_gallery_pagination ul a.active {
 
color : #4797ff;
font-size : 20px;
 
}

table.ostrava__table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}
.ostrava__table th {
background-color: #ebebeb;
position: relative;
}


.ostrava__table th:before  {
content: "";
  width: 1px;
  height: 30px;
  background-color: #fff;
  position: absolute;
 left: 93%;
  top: 15%;

}
.ostrava__table th:nth-last-of-type(1):before { 
	background-color: transparent;
}
.ostrava__table td, .ostrava__table th {
    
    text-align: center;
    padding: 8px;
}

.ostrava__table tr:nth-child(odd) {
    background-color: #ebebeb;
}

.ostrava__table-header {
  background-color: #4797ff;
  height: 98px;
  line-height: 98px;
  text-align: center;
  font-size: 48px;
  color: #fff;
}




.ostrava__2__image-first {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.ostrava__2__image-second {
    float: right;
    margin-top: 10px;
    margin-left: 20px;
    margin-bottom: 10px;
}
.ostrava__2__text {
    text-align: justify;
}



/* Slick Slider */


.slider-nav .img-item {
    width: 50px;
    height: 150px;

    margin-right: 10px;
    overflow: hidden;
}
.slider-for .img{
     padding-bottom : 34px; 
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
}

.slick-dots {
position: absolute;
  top: 162px;

}


.slick-dots li.slick-active button:before {


color: #4797ff;


}


.slick-dots li button:before {
  font-size: 10px;

}


.slick-prev { 
left: -65px;
  width: 40px;
  height: 40px;
 top: 70px;
 
}
.slick-prev:before, .slick-next:before {

font-size: 30px;
   
  color: #4797ff;
}

div.slider-for.slick-initialized.slick-slider .slick-prev.slick-arrow {
	display :none !important;


}

div.slider-for.slick-initialized.slick-slider .slick-next.slick-arrow {
	display :none !important;


}

.slick-next {
 top: 65px;
  right: -45px;
  z-index: 999;
}


.button-inline {
display : inline-block;
}


a.small-button.smallblue {
background-color: #4797FF !important;
background-image: none;
color: #ffffff !important;
border: none;
box-shadow : none !important;
text-shadow : none !important;
}
a.small-button.smallgreen {
background-color:#47AA24 !important;
background-image: none;
color: #ffffff !important; 
width : 162px !important;
border: none;
box-shadow : none !important;
 text-shadow : none !important;
}

a.small-button.smallgreen.comeback {
 width: 450px!important;
  margin-top: 58px;
  box-shadow : none !important;
  color: #fff !important;
text-shadow : none !important;
}
 
#comeback-button span.et-pb-icon.et-waypoint.et_pb_animation_top.et-animated
{
font-size: 20px !important;
position: relative !important;
  color: #fff !important;
  top: -61px !important;
  left: -42px !important;
box-shadow : none !important;
text-shadow : none !important;
}

a.small-button.smallgreen.comeback-turin { 
width: 450px!important;
   
  box-shadow : none !important;
  color: #fff !important;
text-shadow : none !important;
}

#comeback-button-turin span.et-pb-icon.et-waypoint.et_pb_animation_top.et-animated
{
font-size: 20px !important;
position: relative !important;
  color: #fff !important;
  top: -37px !important;
  left: -42px !important;
box-shadow : none !important;
text-shadow : none !important;
}
