﻿/* All pages */

/* UNIVERSAL STYLES ========== */

/* Main settings ========== */

*, *::before, *::after 
{
    box-sizing: border-box;
}

body 
{
    background-color: white;
    color: black;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 16px;

    margin: 0;
    padding: 0;
}

a
{
    cursor: pointer;
}

input,
select
{
    font-family: inherit;
    font-size: inherit;
}

input
{
    padding: 2px 4px;
}

input[type="submit"],
input[type="reset"],
input[type="button"]
{
    padding: 4px 10px;
}

select
{
    background-color: inherit;
}

article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section
{
    display: block;
}

figure
{
    margin-left: 0px;
    margin-right: 0px;
}

figure img
{
    display: table;

    margin-left: auto;
    margin-right: auto;
}

figcaption
{
    margin-top: 10px;

    text-align: center;
}

.clear_float
{
    clear: both;
}

.nowrap
{
    white-space: nowrap;
}

.overflow_auto
{
    overflow: auto;
}

/* Icons ========== */

.icon svg
{
    display: inline-block;
}

.icon_before,
.icon_after,
.icon_add_span
{}

.icon_svg_download,
.icon_svg_facebook,
.icon_svg_menu,
.icon_svg_message,
.icon_svg_move_left,
.icon_svg_move_right,
.icon_svg_move_up,
.icon_svg_play,
.icon_svg_sitemap,
.icon_svg_vk
{}

/* Buttons ========== */

.btn
{
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    border-radius: 4px;
    padding: 6px 16px;
    margin-left: 6px;
    margin-right: 6px;
    margin-top: 2px;
    margin-bottom: 2px;
    box-shadow: 1px 2px 4px 1px rgba(0, 0, 0, 0.25);
}

.btn svg
{
    vertical-align: middle;

    width: 24px;
    height: 24px;
}

.btn.icon_before svg
{
    margin-right: 8px;
}

.btn.icon_after svg
{
    margin-left: 8px;
}

.btn:hover
{
    text-decoration: none;
}

.btn:active
{
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
}

/* Carousel ========== */

.carousel
{
    position: relative;
}

.carousel_item 
{
    display: none;
}

.carousel_item.active 
{
    display: block;
    overflow: hidden;
}

.carousel_prev,
.carousel_next 
{
    position: absolute;
    z-index: 1;

    top: 0;
    bottom: 0;
    width: 10%;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    opacity: 0.5;

    color: white;
    text-decoration: none;

    background-color: rgba(0,0,0,0);
}

.carousel_prev 
{
    left: 0;
}

.carousel_next 
{
    right: 0;
}

.carousel_prev:hover, 
.carousel_next:hover
{
    opacity: 0.9;

    color: white;
    text-decoration: none;
}

.carousel_prev svg,
.carousel_next svg 
{
    display: inline-block;

    width: 24px;
    height: 24px;

    fill: white;
}

.carousel_indicators
{
    position: absolute;
    z-index: 2;

    right: 0;
    bottom: 0;
    left: 0;

    padding-left: 20px;
    padding-right: 20px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.carousel_indicators a
{
    display: block;

    padding-left: 3px;
    padding-right: 3px;
    padding-top: 10px;
    padding-bottom: 15px;

    opacity: 0.5;

    color: white;
    text-decoration: none;

    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;

    min-width: 0px;
    overflow: hidden;

    background-color: rgba(0,0,0,0);
}

@media (max-width: 499.99px)
{
    .carousel_indicators a
    {
        padding-bottom: 10px;
    }
}

.carousel_indicators .active,
.carousel_indicators a:hover
{
    opacity: 0.9;

    color: white;
    text-decoration: none;
}

.carousel_indicators svg 
{
    display: block;

    width: 24px;
    height: 24px;

    fill: white;
}

/* Tabs ========== */

.tab_header
{}

.tab_header.active
{
    cursor: default;
}

.tab_content
{
    display: none;
}

.tab_content.active
{
    display: block;
    overflow: hidden;
}

/* Modal ========== */

.modal_backdrop
{
    position: fixed;
    
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: 0;

    background-color: black;

    opacity: 0.2;

    z-index: 1000;
}

/* WAB STYLES ========== */

/* Footer ========== */

footer
{
    background-color: #0C3595;
    color: white;

    margin-top: 20px;

    padding-top: 10px;
    padding-bottom: 10px;

    box-shadow: 0px 1000px 0px 1000px #0C3595;
}

.footer_flex
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.footer_flex > * 
{
    min-width: 0px;
    overflow: hidden;
}

.footer_up
{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.footer_links
{
    -webkit-box-flex: 1;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;

    padding-left: 20px;
}

.footer_links a
{
    display: table;

    margin-top: 4px;
    margin-bottom: 4px;

    text-decoration: none;

    color: white;
    opacity: 0.75;
}

.footer_links a:hover
{
    text-decoration: underline;

    opacity: 1;
}

.footer_links a span
{
    display: inline-block;

    width: 36px;

    text-align: center;
}

.footer_links a svg
{
    vertical-align: bottom;

    height: 20px;

    fill: white;
}

.footer_copyright
{
    -webkit-box-flex: 1;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;

    text-align: right;

    padding-top: 16px;
    padding-bottom: 16px;
}

@media (max-width: 499.99px)
{
    .footer_flex
    {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .footer_copyright
    {
        text-align: left;
    }
}

/* btn_footer --- */

.btn_footer
{
    color: white;
    border-color: white;
    background-color: rgba(0,0,0,0);

    opacity: 0.75;
}

.btn_footer svg
{
    fill: white;
}

.btn_footer:hover
{
    opacity: 1;
}

/* Green buttons ========== */

/* btn_green --- */

.btn_green
{
    color: #28A745;
    border-color: #28A745;
    background-color: rgba(0,0,0,0);
}

.btn_green svg
{
    fill: #28A745;
}

.btn_green:hover
{
    color: white;
    background-color: #28A745;
}

.btn_green:hover svg
{
    fill: white;
}

/* btn_green_solid --- */

.btn_green_solid
{
    color: white;
    border-color: #28A745;
    background-color: #28A745;
}

.btn_green_solid svg
{
    fill: white;
}
