html, body {
	font-size: 18px;
	font-family: 'Open Sans';
    font-weight: 200;
	padding: 0;
	background-color: white;     
	margin: 0;
    height: 100%;
    color: black;
}   
body { 
    position: relative;
}   

mark {
	background-color: transparent;
	color: inherit;
	text-decoration: inherit;	
}

img {
	border: 0;    
}

h1,h2,h3,h4,h5 {
    color: black;
    font-weight: 300;
    text-transform: uppercase;
    margin: 0 0 10px
}
h1,h2 { font-size: 25px }
h3 { font-size: 20px }
a, .red { color: #d4171b }

.rl_class_gray { background-color: #e0e9f3 }

#admin_panel { display: none }
#admin_panel_spacer { display: none !important }

#header_cont { 
    background-color: white;
    padding-bottom: 10px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3); 
}
#header {
    max-width: 1300px;
    margin: auto;
    position: relative;
    height: 110px;
    padding: 0 10px;
    z-index: 1000;
}
#header_logo {
    top: 10px;
    left: 10px;
    position: absolute;    
}
#header_menu { 
    position: absolute;    
    top: 10px;
    left: 130px;
    right: 0;    
}
#header table {
    width: 100%;
    border-spacing: 0;
}
#header table td { 
    padding: 0 10px;
    vertical-align: middle;
    text-align: center;
    font-size: 20px;
    height: 100px;
    color: black;    
    position: relative;
    transition: background-color 300ms;
}
#header table td:hover {
    background-color: #eee;
}
#header table td a { 
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#header_lang {
    background-color: white !important;    
}
#header_lang img { 
    cursor: pointer;
    opacity: 0.4;
}
#header_lang img.active, 
#header_lang img:hover { opacity: 1 }
#header_button {
    position: absolute;
    top: 0;
    right: 0;
    height: 80px;
    width: 80px;
    background-image: url(../img/hamburger.png);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;  
    display: none;  
}

#home h1 {
    font-size: 40px;
}
#home h2 {
}


#home_slideshow { 
    margin-bottom: 50px;    
}

#home_banner {
    background-image: url(../img/home-back.jpg);
    background-size: cover;
    background-position: center;
    height: 690px;
    position: relative;    
    margin-bottom: 20px
}
#home_banner_items {
    list-style: none outside none;
    padding: 0;
    padding-top: 100px;
    padding-bottom: 100px;
    margin: 0;  
    overflow: hidden;  
}
#home_banner_items > li {
    width: 20%;
    float: left;    
}
.home_banner_item {
    width: 181px;
    margin: auto;
    margin-top: 50px;
    height: 220px;
    border-radius: 10px;
    position: relative;
    opacity: 0;
    transition: opacity 1000ms;
}
#home_banner.animate .home_banner_item { opacity: 1 }
.home_banner_item > span {
    display: block;
    height: 90px;
    width: 90px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 30px;
    line-height: 90px;
    text-align: center;
    box-shadow: inset 2px 2px 2px 0px rgba(0,0,0,0.5);
}
.home_banner_item h2 {
    font-weight: normal;
    color: white;    
    position: absolute;
    left: 10px;
    right: 10px;
    top: 79px;
    text-align: center;
    transform: translateY(-50%);
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
    font-size: 20px;
}
.home_banner_item img {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translate(-50%, -50%);    
}
.home_banner_item:after {
    content: "";
    position: absolute;
    display: block;
    top: 100%;
    left: 50%;
    width: 0; 
    height: 0; 
    border-left: 30px solid transparent; 
    border-right: 30px solid transparent; 
    border-top: 60px solid red; 
    transform: translateX(-50%);    
}

#home_banner_item1 { background-image: linear-gradient(to bottom, #f6d756 0%, #f9a23b 100%); transition-delay: 1000ms }
#home_banner_item1 > span { border: 10px solid #f6d756; background-color: #faa83a }
#home_banner_item1:after { border-top-color: #f9a23b }

#home_banner_item2 { background-image: linear-gradient(to bottom, #f99e30 0%, #f05036 100%); transition-delay: 1500ms }
#home_banner_item2 > span { border: 10px solid #f99e30; background-color: #f36e31 }
#home_banner_item2:after { border-top-color: #f05036 }

#home_banner_item3 { background-image: linear-gradient(to bottom, #e66caa 0%, #ad3092 100%); transition-delay: 2000ms }
#home_banner_item3 > span { border: 10px solid #e66caa; background-color: #b72f93 }
#home_banner_item3:after { border-top-color: #ad3092 }

#home_banner_item4 { background-image: linear-gradient(to bottom, #9d75b4 0%, #484ca0 100%); transition-delay: 2500ms }
#home_banner_item4 > span { border: 10px solid #9d75b4; background-color: #565398 }
#home_banner_item4:after { border-top-color: #484ca0 }

#home_banner_item5 { background-image: linear-gradient(to bottom, #85cba2 0%, #12bbcf 100%); transition-delay: 3000ms }
#home_banner_item5 > span { border: 10px solid #85cba2; background-color: #18b78f }
#home_banner_item5:after { border-top-color: #12bbcf }

#home_banner_rail {
    list-style: none outside none;
    padding: 0;
    margin: 0;
    margin: auto;
    height: 30px;
    background-color: rgba(0,0,0, 0.2);
    border-radius: 15px;
    width: 30px;
    transition: width 1000ms;
}
#home_banner.animate #home_banner_rail {
    width: 100%;
}
#home_banner_rail li {
    float: left;
    width: 20%;    
    height: 30px;
    position: relative;
    opacity: 0;
    transition: opacity 1000ms;
    transition-delay: 1000ms;
}
#home_banner.animate #home_banner_rail li {
    opacity: 1;
}
#home_banner_rail li > span {
    display: block;    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 40px;
    width: 40px;
    border-radius: 50%;
}
#home_banner_rail li > span:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border: 15px solid rgba(0,0,0,0.2);
    border-radius: 50%;
}
#home_banner_rail li:nth-child(1) > span { background-color: #f9a23b }
#home_banner_rail li:nth-child(2) > span { background-color: #f05036 }
#home_banner_rail li:nth-child(3) > span { background-color: #ad3092 }
#home_banner_rail li:nth-child(4) > span { background-color: #484ca0 }
#home_banner_rail li:nth-child(5) > span { background-color: #12bbcf }

#home_boxes {
    list-style: none outside none;
    padding: 0;
    margin: 0;
    background-image: url(../img/home-boxes.jpg);
    background-size: cover;
    overflow: hidden;    
    margin-bottom: 50px;
    font-size: 28px;
}
#home_boxes li {
    width: 33.333333%;
    float: left;
    position: relative;
}
#home_boxes li:after {
    content: "";
    padding-top: 75%;
    display: block;        
}
#home_boxes li > span {
    position: absolute;
    color: white;
    top: 50%;
    left: 5%;
    right: 5%;
    transform: translateY(-50%);    
}
#home_boxes li:nth-child(1) { background-color: rgba(19, 148, 203, 0.9) }
#home_boxes li:nth-child(2) { background-color: rgba(0, 106, 106, 0.9) }
#home_boxes li:nth-child(3) { background-color: rgba(0, 200, 200, 0.9) }
#home_boxes li:nth-child(4) { background-color: rgba(216, 0, 0, 0.9) }
#home_boxes li:nth-child(5) { background-color: rgba(187, 74, 163, 0.9) }
#home_boxes li:nth-child(6) { background-color: rgba(255, 174, 0, 0.9) }

#home_partners {
    margin: auto;
    margin-top: 10px;
    margin-bottom: 50px;
    position: relative; 
}
#home_partners > a {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    background-color: #e8e8e8;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 200ms linear;     
}
#home_partners > a.disabled { display: none }
#home_partners > a:hover {
    background-color: silver;        
}
#home_partners > a.prev {
    left: 0;
    background-image: url("../img/arrow-bl.png"); 
}
#home_partners > a.next {
    right: 0;
    background-image: url("../img/arrow-br.png"); 
}
#home_partners > div {
    margin: 0 30px;    
}
#home_partners li > .thumbnail {
    margin: auto;
}

#footer {
    background-image: url(../img/footer.jpg);
    background-size: cover;    
}
#footer > div {
    max-width: 1300px;
    margin: auto;
    padding: 50px 10px;  
    overflow: hidden;
}

#footer_left { 
    width: 48%;
    float: left;   
}
#footer_right { 
    width: 48%;
    float: right;   
}
#footer_left > img { float: left }
#footer_left > div { 
    margin-left: 150px;
    color: white;
}
#footer .icon > img { 
    vertical-align: middle;
    display: inline-block;
    margin-right: 5px;    
}
#footer a { 
    color: white;    
}
#footer_map {
    padding-top: 50%;
    position: relative;    
}
#footer_map > div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#footer_bottom {
    background-color: black;
    padding: 20px;
    font-size: 14px;
    overflow: hidden;
    color: white;
}
#footer_bottom > div { 
    max-width: 1300px;
    margin: auto;    
}
#footer_bottom_left { float: left }
#footer_bottom_right { float: right }
#footer_bottom a {
    text-decoration: none;
    color: white;
}

#page_banner { 
    text-align: center;
    background-image: url(../img/home-back.jpg);
    padding: 5% 0;    
    font-size: 30px;
    font-weight: 700;
    color: #1093ca;
    min-height: 42px;
}
#static_page h1 {
    padding: 1% 0;
    border-bottom: 2px solid #d5e1eb;
}

@media(max-width: 1000px) {
    #home_boxes { font-size: 20px }     
}
@media(max-width: 900px) {
    #home_banner { display: none }
}

@media(max-width: 800px) {
    #header table td { font-size: 16px } 
    #footer_left, #footer_right { width: auto; float: none; margin-bottom: 20px }   
}

@media(min-width: 700px) {
    #header_menu {
        display: block !important;
    }    
}
@media(max-width: 700px) {
    #home_boxes li { width: 50% } 
    #header { height: auto; padding-top: 80px }
    #header_logo { 
        height: 70px;
        float: left;
    }
    #header_button { height: 80px; display: block }
    #header_menu {
        position: static;
        left: 0;
        top: 80px;
        padding-top: 10px;
        height: auto;
        display: none;
    }   
    #header_menu table, #header_menu tbody, #header_menu tr { display: block }
    #header table td {
        display: block;
        width: auto !important;
        height: auto;    
        padding: 5px 10px;
        font-size: 20px;
        text-align: left;
    }
    #header_logo img { height: 100% }
}

@media(max-width: 500px) {
    #home_boxes li { width: auto; float: none; padding: 20px } 
    #home_boxes li > span { position: static; top: 0; left: 0; transform: none }
    #home_boxes li:after { display: none }   
}