/*--- Reset -----------------------------------*/
:focus
{
    outline: 0 !Important;
}

button,
input,
optgroup,
select,
textarea,
iframe
{
    outline: none !Important;
}






/*--- Base ------------------------------------------------------------------------------------*/

html,
body
{

}

body
{
    font-family: 'Source Sans Pro', Arial, serif;
    font-weight: 300;
    font-size: 21px;
    line-height: 1.57;
}

a,
a:active,
a:focus,
a:visited,
.a-like
{
    color: #333;
    text-decoration: none;
    border-color: #333;
    transition: .1s ease;
    transition-property: color, border-color, background-color, opacity;
}

a:hover,
.a-like:hover
{
    color: #333;
    text-decoration: none;
    cursor: pointer;
    border-color: #333;
}

a.dotted,
a.dotted:hover,
a.dotted:active,
a.dotted:focus,
a.dotted:visited
{
    text-decoration: none;
    border-bottom: 1px dotted;
}



h1, .h1
{
    font-family: 'Roboto', 'Source Sans Pro', Arial, serif;
    font-size: 64px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -1px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 60px;
}

h2, .h2
{
    font-family: 'Roboto', 'Source Sans Pro', Arial, serif;
    font-size: 50px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -1px;
    margin-bottom: 36px;
}

h3, .h3
{
    font-family: 'Source Sans Pro', Arial, serif;
    font-size: 35px;
    font-weight: inherit;
    line-height: 1.3;
    margin-bottom: 30px;
}

h1:first-child, .h1:first-child,
h2:first-child, .h2:first-child,
h3:first-child, .h3:first-child,
h4:first-child, .h4:first-child
{
    margin-top: 0;
}

.h-with-description
{
    margin-bottom: .14em;
}



p
{
    margin-bottom: 1.6em;
}

p.p-half
{
    margin-bottom: .6em;
}

p:last-child
{
    margin-bottom: 0;
}



ul
{
    padding-left: 0;
    list-style: none;
    margin-bottom: 2em;
}

ul:last-child
{
    padding-bottom: 0;
    margin-bottom: 0;
}

li > ul
{
    padding-top: 1.2em;
}

ul li
{
    padding-bottom: 1.2em;
}

ul li:last-child
{
    padding-bottom: 0;
}

ul.list-style-text,
ul.list-style-shift
{
    list-style: none;
    padding-left: 1.5em;
}

ul.list-style-text li
{
    text-indent: -1.5em;
}

ul.list-style-text li:before
{
    content: '\2014\a0\a0';
}



blockquote
{
    padding: 5px 20px 7px 20px;
    margin-top: 35px;
    margin-bottom: 40px;
    font-size: 21px;
    border-left: 4px solid #333;
}



label
{
    font-weight: normal;
    margin-bottom: 7px;
}


input, textarea, select, option
{
    font-family: 'Source Sans Pro', Verdana, Arial, sans-serif;
}






/*--- Helpers ---------------------------------*/

.text-noselect
{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}






/*--- Bootstrap Restyling ---------------------------------------------------------------------*/

table.table tr:first-child td,
table.table tr:first-child th
{
    border-top: none;
}






.btn
{
    box-sizing: border-box;
    cursor: pointer;
    font-size: 16px;
    font-weight: unset;
    line-height: 1.42857143;
    letter-spacing: normal;
    text-decoration: none;
    transition: .2s ease;
    transition-property: color, border-color, background-color, opacity;
}

.btn:active,
.btn.active,
.btn:focus
{
    outline: 0 !Important;
    background-color: #e7ff00;
    -webkit-box-shadow: none;
    box-shadow: none;
    transition: .3s linear;
    transition-property: color, border-color, background-color, opacity;
}

.btn__fa-ico-left
{
    margin-right: 10px;
}

.btn-default, a.btn-default,
.btn-classic, a.btn-classic
{
    padding: 6px 18px 8px 18px;
    border: none;
    border-radius: 4px;
    color: #ff00ff;
    background-color: #00ff00;
}

.btn-default, a.btn-default
{
    /**
    * Уменьшенный padding компенсирует толщину border,
    * чтобы btn-default и btn-classic были одинаковыми по размерам
    */
    padding: 5px 17px 7px 17px;
    color: inherit;
    background-color: #fff;
    border: 1px solid #999;
}

.btn-default:hover, a.btn-default:hover,
.btn-default:focus, a.btn-default:focus
{
    background-color: #efefef;
    box-shadow: none;
}

.btn-default:active, a.btn-default:active
{
    background-color: #e7e7e7;
    box-shadow: inset rgba(33, 33, 0, .2) 0 3px 5px;
}

.btn-classic, a.btn-classic
{
    color: #fff;
    border-top: 1px solid #5bc4ff;
    background: linear-gradient(to bottom, #009FF8 0%, #0080D5 100%);
}

.btn-classic:hover, a.btn-classic:hover,
.btn-classic:focus, a.btn-classic:focus
{
    color: #fff !Important;
    border-top: 1px solid #5bc4ff;
    background: linear-gradient(to bottom, #009FF8 0%, #0080D5 100%);
}

.btn-classic:active, a.btn-classic:active
{
    background: linear-gradient(to bottom, #0080D5 0%, #0066b5 100%);
    box-shadow: inset rgba(0, 0, 10, .2) 0 3px 5px;
}






.btn-lg
{
    height: 46px;
    padding: 9px 16px 11px 16px;
    font-size: 21px;
    line-height: 1.33;
    border-radius: 4px;
}

a.btn-lg
{
    line-height: 42px;
    padding-top: 0;
    padding-bottom: 0;
}

.input-lg,
select.input-lg
{
    height: 50px;
    padding: 0 16px;
    font-size: 21px;
    line-height: 1;
    border-radius: 4px;
}






.btn-extra-lg
{
    height: 56px;
    padding: 12px 36px 18px 36px;
    font-size: 21px;
    line-height: 1.33;
    border-radius: 4px;
}

a.btn-extra-lg
{
    line-height: 52px;
    padding-top: 0;
    padding-bottom: 0;
}






.btn-wide
{
    width: 100%;
}






.btn-group .btn-default
{
    border-color: #ddd;
    transition: .1s ease;
    z-index: 1;
}

.btn-group .btn-default.active
{
    color: #fff;
    background: linear-gradient(to bottom, #009FF8 0%, #0080D5 100%);
    border-color: #0080D5;
    border-top-color: #5bc4ff;
}

.btn-group .btn-default:active
{
    color: #fff;
    background-color: #0080D5;
    border-color: #0080D5;
    box-shadow: inset rgba(0, 0, 10, .2) 0 3px 5px;
}

.btn-group .btn-default:not(.active):hover
{
    z-index: 0;
}





.btn-group-vertical .btn
{
    text-align: left;
    padding: 12px 22px;
    line-height: 1.33;
    border: 1px solid #e7e7e7;
}

.btn-group-vertical a,
.btn-group-vertical a:hover,
.btn-group-vertical a:focus
{
    color: #444;
}

.btn-group-vertical .disabled
{
    color: #ccc;
}





.expand-toggle-button
{
    line-height: 1em;
    cursor: pointer;
    padding: .42em 1.8em .54em .9em;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 4px;
    transition: .2s ease;
}

.expand-toggle-button:hover
{
    border-color: rgba(0, 0, 0, .6);
}

.expand-toggle-button__text
{
    position: relative;
}

.expand-toggle-button__text:after
{
    content: '';

    width: .4em;
    height: .4em;
    border: solid #444;
    border-width: 0 .07em .07em 0;
    transform: rotate(45deg);
    position: absolute;
    top: .44em;
    right: -.9em;
}

.expand-toggle-button.toggle-open .expand-toggle-button__text:after
{
    transform: rotate(225deg);
    top: .64em;
}






.form-group
{
    margin-bottom: 25px;
}

.form-control
{
    border: 1px solid #cccccc;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-control:focus
{
    border-color: #5c95b5;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(103, 160, 190, 0.6);
}

.form-group-description
{
    margin-top: 7px;
}

.form-submit
{
    padding-top: 10px;
}





.c-checkbox
{
    display: block;
    padding-left: 1.2em;
    line-height: .85em;
    font-weight: unset;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.c-checkbox input
{
    width: 0;
    height: 0;
    cursor: pointer;
    position: absolute;
    opacity: 0;
}

.c-checkbox__mark
{
    width: .9em;
    height: .9em;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #bbb;
    border-radius: 3px;
    background-color: #fff;
}

.c-checkbox input:checked ~ .c-checkbox__mark
{

}

.c-checkbox__mark:after
{
    content: '';
    width: .3em;
    height: .48em;
    border: solid #444;
    border-width: 0 .1em .1em 0;
    transform: rotate(45deg);
    position: absolute;
    top: .1em;
    left: .28em;

    display: none;
}

.c-checkbox input:checked ~ .c-checkbox__mark:after
{
    display: block;
}






.nav-pills
{
    
}

.nav-pills > li
{
    float: left;
    padding: 0;
}

.nav-pills > li.nav-pills__title
{
    padding: 5px 0;
    margin-right: 15px;
}

.nav-pills > li > a
{
    border-radius: 20px;
    padding: 5px 0;
    margin-left: 15px;
    margin-right: 15px;
}

.nav-pills > li > a:hover,
.nav-pills > li > a:focus
{
    color: #444;
    background-color: transparent;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus
{
    color: #444;
    padding-left: 20px;
    padding-right: 20px;
    background-color: transparent;
    border: 1px solid #e7e7e7;
}

.nav-pills > li.disabled > a
{
    color: #ccc;
    text-decoration: none;
    cursor: default;
}






.cnavbar
{
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;

    vertical-align: top;
    margin-bottom: 0;
    border-radius: 0;
}

.cnavbar__item
{
    padding: 0;
}

.cnavbar__item__link,
.cnavbar__item__link:visited,
.cnavbar__item__link:active
{
    display: inline-block;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
    padding: 7px 25px 9px 25px;
}

.cnavbar__item:first-child > .cnavbar__item__link
{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.cnavbar__item:last-child > .cnavbar__item__link
{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cnavbar__item__link:hover,
.active > .cnavbar__item__link
{
    color: #444;
    background-color: inherit;
    text-decoration: underline;
}





.scroll-to-page-top
{
    display: none;
    position:fixed;
    cursor: pointer;
    bottom: 20px;
    right: 20px;
    font-size: 35px;
    line-height: 36px;
    color: #aaa;
    z-index: 1000;
}






/*--- Magnific Popup --------------------------------------------------------------------------*/

.mfp-bg
{

}

.mfp-dialog-small
{
    max-width: 420px;
    color: #444;
    text-align: left;
    padding: 60px 50px 40px 60px;
    margin: 0 auto;
    position: relative;
    background-color: #fff;
}

.mfp-content a
{
    color: #444;
}

.mfp-ajax-holder .mfp-content
{
    max-width: 700px;
    color: #444;
    text-align: left;
    padding: 60px;
    margin: 40px auto;
    position: relative;
    background-color: #fff;
}

/**
 * Fade-zoom animation for dialog
 */

/* start state */
.my-mfp-zoom-in .mfp-popup-animated-zoom
{
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;

    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

/* animate in */
.my-mfp-zoom-in.mfp-ready .mfp-popup-animated-zoom
{
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

/* animate out */
.my-mfp-zoom-in.mfp-removing .mfp-popup-animated-zoom
{
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
}

/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg
{
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg
{
    opacity: 0.8;
}

/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg
{
    opacity: 0;
}






/*--- last chain modifiers --------------------------------------------------------------------*/

.js-hidden
{
    display: none;
}

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






/*--- Navigation --------------------------------------------------------------------------------*/

.app-navigation .main-menu,
.app-navigation .sub-menu
{

}

.app-navigation .main-menu
{

}

.app-navigation .sub-menu
{
    margin-top: 1em;
    padding: .2em 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

.current-menu-item > a,
.sub-menu .current-menu-item > a
{
    text-decoration-line: underline;
    text-decoration-color: inherit;
}

.current-menu-parent > a,
.current-menu-parent > a:active,
.current-menu-parent > a:focus,
.current-menu-parent > a:visited,
.current-page-ancestor > a,
.current-page-ancestor > a:active,
.current-page-ancestor > a:focus,
.current-page-ancestor > a:visited
{
    text-decoration-line: underline;
    text-decoration-color: #ccc;
}

.current-menu-parent > a:hover
{
    text-decoration-color: inherit;
}






/*--- Tooltip -----------------------------------------------------------------------------------*/

/**
 * dfn example:
 * <dfn data-info="JavaScript is the programming language of HTML and the Web.">Javascript</dfn>
 */

dfn
{
    cursor: pointer;
    position: relative;
}

dfn::after
{
    width: 230px;
    content: attr(data-info);
    display: inline;
    opacity: 0;
    padding: 20px;
    font-size: 16px;
    font-weight: normal;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    /* This prevents the box from when hovered */
    pointer-events: none;
    transition: opacity 250ms, top 250ms;
    position: absolute;
    top: 22px;
    right: 0;
    z-index: 2;
}

dfn::before
{
    width: 0;
    height: 0;
    content: '';
    position: absolute;
    top: 12px; left: 20px;
    opacity: 0;
    border: solid transparent 5px;
    border-bottom-color: rgba(0, 0, 0, 0.8);
    transition: opacity 250ms, top 250ms;
}

dfn:hover
{
    z-index: 2;
}

dfn:hover::after,
dfn:hover::before
{
    opacity: 1;
}

dfn:hover::after
{
    top: 30px;
}

dfn:hover::before
{
    top: 20px;
}