/* Panther CMS Common CSS */
@charset "utf-8";

/* Fonts */
@font-face {
	font-family: 'CandaraWeb';
	src: url('/fonts/candara/candara.eot');
	src: url('/fonts/candara/candara.eot?#iefix') format('embedded-opentype'), url('candara.svg#Candara') format('svg'), url('/fonts/candara/candara.woff') format('woff'), url('/fonts/candara/candara.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

.fa { font-family: 'FontAwesome'; }

/* Global */
* { font-family: 'Candara', 'CandaraWeb', Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif; }

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, blockquote, pre, abbr, address, cite, code, del, dfn, ins, kbd, q, samp, small, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, details, figure, figcaption, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    font-weight: normal;
    vertical-align: baseline;
    background: transparent;
}

body, html { height: 100%; margin: 0; padding: 0; background: #fff; }
body { position: relative; }
td { vertical-align: top; padding: 0px; }
img { border: none; }
hr { width: 100%; height: 1px; color: #d7d7d7; line-height: 1px; margin: 35px 0; padding: 0; border: none; background: #d7d7d7; }
form { margin: 0; padding: 0; }
input::-moz-focus-inner { border: 0; padding: 0; }
button::-moz-focus-inner { margin: -1px; padding: 0; }
input:invalid, textarea:invalid, select:invalid { box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
td, div, span, p, li { white-space: normal; }

/* Content */
.h1, .h2, .h3 { color: #000; margin: 15px 0 15px 0; text-transform: none; font-weight: bold; }

article h1 { font-size: 22px; line-height: 27px; }
article h2 { font-size: 20px; line-height: 25px; }
article h3 { font-size: 18px; line-height: 23px; }
article h4, article h5, article h6 { font-size: 16px; line-height: 21px; }

a { color: #2e3192; text-decoration: none; }
a:hover { color: #ed1c24; }
a[name] { text-decoration: none; }
a.interactive { text-decoration: none; border-bottom: 1px dotted #2e3192; }

article p { margin: 20px 0; }
article p:first-child, article:first-child h2:first-child, article h3:first-child, .content-text p:first-child, .content-text h2:first-child, .content-text h3:first-child { padding-top: 0; margin-top: 0; }
article p:last-child, .content-text p:last-child  { margin-bottom: 0; }
article p, article li, .content-text, .content-text * { font-size: 16px; line-height: 22px; }
article p, article li, .content-text, .content-text p, .content-text li, article p a { color: #363636; }
article p:first-child, article:first-child h2:first-child, article h3:first-child, .content-text p:first-child, .content-text h2:first-child, .content-text h3:first-child { padding-top: 0; margin-top: 0; }
article ul, .content-text ul { padding: 0; margin: 25px 0 25px 15px; list-style: none; }
article ul li, .content-text ul li { padding: 0 0 0 15px; position: relative; }
article ul li:after, .content-text ul li:after { content: "\f105"; position: absolute; left: 0; top: 0px; display: block; font-size: 18px; color: #9c9c9c; font-family: 'FontAwesome'; }
article ol { padding: 0; margin: 25px 0 25px 25px; }
article ol li, .content-text ol li { padding: 0 0 0 10px; }
article ul li:last-child, article ol li:last-child { margin-bottom: 0; }
article li, .content-text li { margin-bottom: 7px; }
article img { max-width: 100%; height: auto; }
article td img { max-width: none; }
article table td { box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }

article .content-title { margin: 15px 0; }
article .content-date { margin-bottom: 20px; }
article .content-file { }
article .content-author { float: left; margin-top: 15px; } 
article .content-print { float: right; margin-top: 15px; }
article .content-icon { float: left; margin: 0 15px 15px 0; }

article p a { text-decoration: underline; }
article p a:hover { color: #ed1c24; }

.content-list-item { padding: 0 0 30px 0; margin-bottom: 30px; border-bottom: 1px solid #dddddd; }
.content-list-item.last-child, .content-wrap .content-list-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; background: none; }
.content-list-item .content-title { margin: 0 0 20px 0; }
.content-list-item .content-description { margin-bottom: 25px; }
.content-list-item .content-date { margin-bottom: 0px; }
.content-list-item .content-file { }
.content-list-item .content-author { margin-top: 5px; }
.content-list-item .content-icon { text-align: center; float: left; outline: 1px solid #d7d7d7; border: 4px solid transparent; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
.content-list-item.with-icon .text { } 

.preset-content_icon .content-icon { width: 265px; }
.preset-content_icon .text { margin-left: 305px; }

.content-title, .content-title a, .content-list-item .title { font-size: 18px; line-height: 23px; }
.content-description, .content-list-item .description { font-size: 16px; line-height: 22px; color: #363636; }
.content-date, .content-list-item .date { font-size: 16px; line-height: 16px; color: #9aa2a9; }

a:hover .content-icon img, a.content-icon:hover img, .content-icon a:hover img{ -moz-transform: scale(1.1); -webkit-transform: scale(1.1); -o-transform: scale(1.1); -ms-transform: scale(1.1); transform: scale(1.1); }

.content-icon, .content-icon img { display: inline-block; vertical-align: middle; }

.content-icon { text-align: center; font-size: 0; }
.content-icon img { display: inline-block; line-height: inherit; vertical-align: middle; }
.content-icon a { display: block; height: inherit; line-height: inherit; }

.content-icon { outline: 1px solid #d6d6d6; vertical-align: middle; font-size: 0; overflow: hidden; }
.content-icon:hover { outline-color: #666bff; }
.content-author, .content-print { font-size: 12px; line-height: 16px; color: #898989; }
.content-print { background: url(/includes/img/print.png) no-repeat left center; padding-left: 25px; display: inline-block; }

.content-phone { text-decoration: none; color: inherit; }

.content-file { display: inline-block; font-size: 14px; line-height: 19px; padding: 5px 15px; background-color: #f6f6f5; color: #888888; text-decoration: none; }

.content-menu { clear: both; margin-bottom: 30px; }
.content-menu a { display: inline-block; padding: 0 25px; margin: 0 20px 20px 0; font-size: 14px; line-height: 30px; text-decoration: none; text-align: center; outline: none; color: #363636; background: #f2f2f2; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
.content-menu a:hover { background-color: #ed1c24; color: #fff; }
.content-menu a.selected { color: #fff; background-color: #2e3192; }
.content-menu a:first-child { margin-left: 0; }
.content-menu a:last-child { margin-right: 0; }

.content-share { min-height: 24px; padding-top: 30px; }

.content-gallery { font-size: 0; vertical-align: top; text-align: left; margin-top: 30px; }
.content-gallery a { display: inline-block; text-decoration: none; outline: none; width: 33%; height: 235px; line-height: 235px; text-align: center; vertical-align: middle; overflow: hidden; margin: 0 1px 1px 0; position: relative; background-color: #ebebeb; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
.content-gallery a:after { content: ""; display: block; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: #2e3192; opacity: 0; z-index: 1; }
.content-gallery a:before { content: "\f002"; display: block; position: absolute; width: 46px; height: 46px; left: 50%; top: 50%; margin: 0; color: #fff; font-size: 46px; line-height: 46px; font-family: 'FontAwesome'; text-align: center; vertical-align: middle; opacity: 0; z-index: 2; }
.content-gallery a:hover:after { opacity: 0.6; }
.content-gallery a:hover:before { opacity: 1; margin: -23px 0 0 -23px; }
.content-gallery img { display: inline-block; line-height: inherit; vertical-align: middle; }

.content-other-list { margin-top: 30px; padding-top: 30px; border-top: 2px solid #dddddd; }
.content-other-list .title { font-size: 18px; line-height: 18px; color: #2e2f3e; margin-bottom: 15px; }
.content-other-list ul { padding: 0; margin: 0; list-style: none; }
.content-other-list li { padding: 0 0 30px 0; margin: 0 0 30px 0; font-size: 0; display: block; border-bottom: 1px solid #dddddd; }
.content-other-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.content-other-list li a { font-size: 18px; line-height: 23px; display: inline-block; }
.content-other-list .content-title { margin: 0 0 10px 0; }
.content-other-list .content-date { margin: 0; }
.content-other-list .content-description { margin: 0 0 15px 0; }

.content-navigation { font-size: 0; padding-top: 15px; }
.content-navigation a { font-size: 14px; line-height: 19px; display: inline-block; }
.content-navigation a.prev { float: left; }
.content-navigation a.next { float: right; }

/* Forms */
.form-field { margin-bottom: 10px; font-size: 0; }
.form-field.last-child { margin-bottom: 0; }

.form-title { font-size: 24px; line-height: 24px; color: #2e3192; margin: 0 0 30px 0; }
.form-description { font-size: 16px; line-height: 22px; color: #363636; margin-bottom: 15px; }
.form-footer { clear: both; padding-top: 10px; font-size: 0; }
.form-footer .link { margin-bottom: 17px; font-size: 16px; line-height: 16px; }
.form-required { font-size: 12px; line-height: 12px; color: red; }

.form-field label { display: block; margin: 0 0 5px 0; font-size: 16px; line-height: 22px; color: #363636; }
span.required, .form-field label span, .form-required span { font-size: 14px; line-height: 14px; font-weight: bold; color: red; }

.overlay { position: absolute; background: #fff url(/images/loading.gif) no-repeat center center; z-index: 5000; display: none; padding: 5px; margin: -5px 0 0 -5px; }
.ui-overlay { position: fixed; z-index: 5000; background-color: rgba(0, 0, 0, 0.5); top: 0; right: 0; bottom: 0; left: 0; display: none; }

.textbox, .textarea { width: 100%; font-size: 16px; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; border: 0; color: #363636; margin: 0; padding: 8px 15px; vertical-align: top; background-color: #fff; outline: none; border-radius: 0; -webkit-border-radius: 0; }
.textbox:focus, .textarea:focus { -webkit-box-shadow: inset 0px 0px 2px 1px rgba(54, 54, 54, 0.2); box-shadow: inset 0px 0px 2px 1px rgba(54, 54, 54, 0.2); }
.textarea { height: 120px; resize: none; overflow: auto; }
.textbox.error, .textarea.error, .select.error { background-color: #fffcd3 !important; }

.button { display: inline-block; font-size: 18px; line-height: 40px; text-align: center; color: #fff; cursor: pointer; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; padding: 0 25px; }
.button:active { -webkit-box-shadow: inset 0 0 2px 1px rgba(0,0,0,0.30); box-shadow: inset 0 0 2px 1px rgba(0,0,0,0.30); }

input.button { border: 0; display: inline-block; }
a.button { text-decoration: none; }

.button .fa { margin-right: 11px; }

.button.red { background-color: #ed1c24; color: #fff; }
.button.red.outline { background-color: transparent; border: 1px solid #ed1c24; color: #ed1c24; }
.button.red:hover { background-color: #f23e45; }

.button.blue { background-color: #2e3192; color: #fff; }
.button.blue.outline { background-color: transparent; border: 1px solid #2e3192; color: #2e3192; }
.button.blue:hover { background-color: #ed1c24; }

.button.white { background-color: transparent; border: 1px solid rgba(255, 255, 255, 0.2); }

.button { border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; -khtml-border-radius: 3px; outline: none; }

input, textarea, button, .textbox, .textarea, .button {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    /*-webkit-border-radius: 0;*/
}

::-webkit-input-placeholder { color: #363636; opacity: 1; }
::-moz-placeholder          { color: #363636; opacity: 1; }
:-moz-placeholder           { color: #363636; opacity: 1; }
:-ms-input-placeholder      { color: #363636; opacity: 1; }

button::-moz-focus-inner {
  border: 0;
  outline: none;
}

.select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
	outline: none;
}

.select::-ms-expand { display: none; }

/* Messages */
.result-message { padding: 15px; font-size: 16px; line-height: 22px; color: #fff; text-align: left; margin-bottom: 15px; }
.result-message.success { background-color: #2bb600; }
.result-message.error { background-color: #e3000f; }

.content-empty { padding: 15px; background-color: #f2f2f2; }
.content-empty, .content-empty * { font-size: 16px; line-height: 22px; color: #363636; }

/* Pagination */
.pagination { clear: both; text-align: left; margin-top: 45px; padding-top: 40px; border-top: 2px solid #dddddd; }
.pagination, .pagination * { font-size: 22px; line-height: 32px; }
.pagination:before { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.pagination .title { display: none; }
.pagination .current { background: #2e3192; color: #fff; }
.pagination a, .pagination .current { margin-right: 1px; padding: 0px 12px 0px 12px; display: inline-block; vertical-align: middle; font-family: Arial, Helvetica, Tahoma; }
.pagination .pagination-prev { margin: 0 10px 0 0; font-weight: bold; }
.pagination .pagination-next { margin: 0 0 0 10px; font-weight: bold; }

.content-list-pagination { text-align: center; }
.content-list-pagination a { font-size: 14px; line-height: 14px; padding: 10px 35px 10px 35px; display: inline-block; text-decoration: none; outline: none; background: #ccc; background-position: center center; }
.content-list-pagination a:hover { }
.content-list-pagination a:active { background-color: #ebebeb; }
.content-list-pagination a:active span { border: 0; }
.content-list-pagination a span { border-bottom: 1px dotted #000; }
.content-list-pagination a.loading { padding: 10px 20px; border-radius: 20px; background-image: url(/images/loading1.gif); background-repeat: no-repeat; }
.content-list-pagination a.loading span { border: 0; font-size: 0; }

/* Page Title */
.page-title { margin: 0 0 47px 0; }
.page-title h1 { font-size: 24px; line-height: 30px; color: #363636; margin: 0 0 10px 0; padding: 0; font-weight: normal; }
.page-title i { color: inherite; display: inline-block; padding: 0 10px; }
.page-crumbs { color: #9aa2a9; font-size: 14px; line-height: 14px; }
.page-crumbs a { color: inherit; font-size: inherit; line-height: inherit; font-family: inherit; display: inline-block; }
.page-crumbs a:hover { color: #ed1c24; }
.page-crumbs a.last-child { background: none; padding: 0; margin: 0; }

/* Effects */
.fx-border-2px { border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px; -khtml-border-radius: 2px; }
.fx-border-3px { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; }
.fx-border-4px { border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; }
.fx-border-5px { border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; }
.fx-border-6px { border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; }

.fx-trans-5s, .fx-trans-5s > a, .fx-trans-5s > a:hover { -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -khtml-transition: all 0.5s ease; -o-transition: all 0.5s ease; -ms-transition: all 0.5s ease; }

.blur { filter: url(/css/blur.svg#blur); -webkit-filter: blur(3px); filter: blur(3px); filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='3'); }

/* Animation */
.fx-delay-1ms { -moz-animation-delay: 0.1s; -webkit-animation-delay: 0.1s; animation-delay: 0.1s; -ms-animation-delay: 0.1s; }
.fx-delay-2ms { -moz-animation-delay: 0.2s; -webkit-animation-delay: 0.2s; animation-delay: 0.2s; -ms-animation-delay: 0.2s; }
.fx-delay-3ms { -moz-animation-delay: 0.3s; -webkit-animation-delay: 0.3s; animation-delay: 0.3s; -ms-animation-delay: 0.3s; }
.fx-delay-4ms { -moz-animation-delay: 0.4s; -webkit-animation-delay: 0.4s; animation-delay: 0.4s; -ms-animation-delay: 0.4s; }
.fx-delay-5ms { -moz-animation-delay: 0.5s; -webkit-animation-delay: 0.5s; animation-delay: 0.5s; -ms-animation-delay: 0.5s; }
.fx-delay-6ms { -moz-animation-delay: 0.6s; -webkit-animation-delay: 0.6s; animation-delay: 0.6s; -ms-animation-delay: 0.6s; }
.fx-delay-7ms { -moz-animation-delay: 0.7s; -webkit-animation-delay: 0.7s; animation-delay: 0.7s; -ms-animation-delay: 0.7s; }
.fx-delay-8ms { -moz-animation-delay: 0.8s; -webkit-animation-delay: 0.8s; animation-delay: 0.8s; -ms-animation-delay: 0.8s; }
.fx-delay-9ms { -moz-animation-delay: 0.9s; -webkit-animation-delay: 0.9s; animation-delay: 0.9s; -ms-animation-delay: 0.9s; }
.fx-delay-1s { -moz-animation-delay: 1s; -webkit-animation-delay: 1s; animation-delay: 1s; -ms-animation-delay: 1s; }

/* Misc */
.line-solid { margin: 35px 0; clear: both; font-size: 1px; height: 1px; line-height: 0; background: #d7d7d7; }
.line-dotted { margin: 35px 0; clear: both; font-size: 1px; height: 1px; line-height: 0; background: url(/images/bg/dot1.png) repeat-x; }

img.border { border: 1px solid #f2f2f2; }
img.align-left { margin-right: 30px; margin-bottom: 10px; margin-left: 0; }
img.align-right { margin-left: 30px; margin-bottom: 10px; margin-right: 0; }
img.align-center { margin-top: 10px; margin-bottom: 10px; }

.float-left { float: left; }
.float-right { float: right; }

.ul-justify ul, .js-justify { text-align: justify; }
.ul-justify ul li, .js-justify li { display: inline-block; text-align: left; }
.ul-justify ul li.helper, .js-justify .helper { width: 100% !important; display: inline-block; font-size: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; }

.ui-scroll-up { position: fixed; z-index: 3000; width: 48px; height: 48px; bottom: -48px; right: 30px; opacity: 0; background-color: rgba(200, 154, 68, 0.7); background-image: url(/images/icons/scroll-up.png); background-position: center center; background-repeat: no-repeat; background-size: 32px 32px; cursor: pointer; }
.ui-scroll-up:hover { background-color: rgba(200, 154, 68, 1); }
.ui-scroll-up:active { bottom: 29px; }

.scroll-down .ui-scroll-up { bottom: 30px; opacity: 1; }

.no-desktop { display: none; }
.no-scroll { overflow: hidden; }

/* Reset */
.clear { clear: both; }
.clearfix:before, .clearfix:after { content: ""; display: block; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

.reset-margin, .reset-margin p { margin: 0; }

.ul-reset { margin: 0; padding: 0; list-style: none; }
.ul-reset li { margin: 0; padding: 0; background-image: none; }

.prevent-text-breakouts { -ms-word-break: break-all; word-break: break-all; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }

.js-phone a, .fck_content-phone a, a.content-phone { text-decoration: none !important; color: inherit; cursor: default; }

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

/* Embed Objects */
.embed-video { margin: 15px 0 15px 0; }
.embed-video iframe { padding: 5px; background: url(/images/loading.gif) no-repeat center center; }

.FCK_Video { margin: 15px 0 15px 0; }
.FCK_Video embed { background: #fff; }

/* Snippets */
.fck_content-snippet { font-size: 16px; line-height: 22px; color: #363636; background: #f2f2f2; padding: 15px; }
.fck_content-snippet * { padding: 0; margin: 0; font-size: inherit; line-height: inherit; color: inherit; }

.fck_content-title { font-size: 24px; line-height: 30px; margin-bottom: 39px; }
.fck_content-title2 { font-size: 20px; line-height: 25px; }
.fck_content-title3 { font-size: 18px; line-height: 23px; }

.fck_content-lead { font-size: 24px; line-height: normal; }
.fck_content-description { }
.fck_content-text {}
.fck_content-citate { font-size: 14px; line-height: 19px; font-style: italic; }
.fck_content-note {}
.fck_content-highlight { color: red; }

.fck_content-date { font-size: 14px; line-height: 14px; color: #6a7782; }
.fck_content-address {}
.fck_content-phone {}

.fck_content-email {}
.fck_content-cover { margin: 0 0 30px 0; padding: 0; font-size: 0; line-height: 0; display: block; text-align: center; }
.fck_content-cover img { display: inline-block; margin: 0; max-width: 100%; height: auto; }
.fck_content-icon { padding: 0; font-size: 0; line-height: 0; }
.fck_content-icon img { display: inline-block; margin: 0; }
.fck_content-image { background: #231f20; font-size: 16px; line-height: 22px; color: #fff; text-align: center; margin: 15px 0; padding: 0 0 10px 0; }
.fck_content-image img { display: inline-block; margin-bottom: 5px; position: relative; }

.fck_content-hidden { display: none; }
.fck_content-collapse {}
.fck_content-split { font-size: 1px; line-height: 1px; height: 1px; background: #d7d7d7; display: block; clear: both; float: none; margin: 44px 0; }
.fck_content-button {}

/* Debug */
.debug { background: #fff568; border: 1px solid red; }
.debug-message { position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; border: 1px solid #50a848; }
.debug-message * { font-size: 12px; line-height: 17px; color: #000; font-family: Tahoma; }
.debug-message .title { font-weight: bold; background: #7cc576; padding: 5px; position: relative; }
.debug-item { padding: 2px;  background: #fffbc6; }
.debug-item .var-title { font-size: 11px; font-weight: bold; color: #50a848; background: #fff799; padding: 3px; border: 1px solid #f7c12e; }
.debug-item .var-value { padding: 7px 5px 5px 5px; }
.debug-message .close { width: 10px; height: 10px; background: url(/includes/img/close.gif); cursor: pointer; position: absolute; right: 6px; top: 8px; }

.helper-highlight { font-weight: bold; background: red !important; color: white !important; outline: 2px solid #ffb80c; }

/* UI Radio List */
.ui-radio-list .ui-radio-label { display: block; margin: 0 0 8px 0; padding-left: 30px; position: relative; overflow: hidden; cursor: pointer; }
.ui-radio-list .ui-radio-label:after { content: ""; display: block; position: absolute; width: 12px; height: 12px; left: 0px; top: 2px; border: 2px solid #4f2b24; border-radius: 12px; -webkit-border-radius: 12px; -moz-border-radius: 12px; }
.ui-radio-list .ui-radio-label.checked:after { background-color: #fec24d; }
.ui-radio-list .ui-radio-label:hover { color: #8f2e1f; }
.ui-radio-list .ui-radio-label:hover:after { border-color: #8f2e1f; }

/* UI Checkbox */
.ui-checkbox { position: relative; cursor: pointer; padding-left: 26px; display: inline-block; }
.ui-checkbox span { font-size: 16px; line-height: 16px; color: #4f5f5f; }
.ui-checkbox:after { content: ""; display: block; position: absolute; left: 0; top: 0px; width: 14px; height: 14px; border: 1px solid #607373; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -khtml-border-radius: 2px; overflow: hidden; }
.ui-checkbox:hover:after { border-color: #697e7e; }
.ui-checkbox.checked:after { background: url(/images/icons/check.svg) no-repeat center center; background-size: 12px 12px; }

/* UI Upload */
.ui-imagelist {}
.ui-imagelist a { display: block; width: 90px; height: 70px; font-size: 14px; line-height: 70px; text-align: center; color: #838383; font-weight: bold; text-decoration: none; outline: none; position: relative; float: left; margin: 0 10px 10px 0; background-color: #d7d7d7; background-repeat: no-repeat; background-position: center center; border: 1px solid #d7d7d7; box-sizing: border-box; -moz-box-sizing: border-box; }
.ui-imagelist a:after { content: ""; display: none; }
.ui-imagelist a:hover { border-color: #d01244; }
.ui-imagelist .selected { border: 5px solid #d7d7d7; -webkit-box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.5); box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.5); }
.ui-imagelist .selected .ui-imagelist-delete { right: -5px; top: -5px; }
.ui-imagelist .selected:after { content: ""; display: block; width: inherit; height: inherit; position: absolute; background: url(/images/icons/checked.png) no-repeat center 16px; }

.ui-imagelist-delete { display: block; font-size: 0; position: absolute; right: -1px; top: -1px; width: 15px; height: 15px; background: #d01244 url(/images/icons/delete2.png) no-repeat center center; z-index: 2; }
.ui-imagelist-delete:hover { background-color: #d01244; }

.upload-filelist { width: 300px; }
.upload-filelist-item { position: relative; height: 16px; margin: 0 0 10px 0; border: 1px solid #d2d2d2; background: #dfdfdf; cursor: pointer; overflow: hidden; -webkit-box-shadow: inset 0 0px 2px 0 rgba(0,0,0,0.15); box-shadow: inset 0 0px 2px 0 rgba(0,0,0,0.15);}
.upload-filelist-item:after { content: ""; display: block; top: 0; right: 0; width: 16px; height: 16px; position: absolute; background: url(/images/icons/delete2.png) no-repeat center center; z-index: 3; }
.upload-filelist-item .progress { position: absolute; left: 0; top: 0; width: 0; height: inherit; z-index: 1; background-color: #7e9cb7; }
.upload-filelist-item.complete .progress { background-color: #0ec477; }
.upload-filelist-item .filename { position: absolute; width: 92%; left: 5px; font-size: 12px; line-height: 15px; color: #fff; z-index: 2; }

/* UI Selectbox */
.ui-selectbox { display: inline-block; position: relative; }
.ui-selectbox, .ui-selectbox-text { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } 
.ui-selectbox a, .ui-selectbox-text { font-size: 14px; color: #fff; }
.ui-selectbox-text { display: block; line-height: 14px; background: #27563d url(/images/arrow-down-white.png) no-repeat 80px center; padding: 4px 15px 7px 15px; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; cursor: pointer; }
.ui-selectbox-text:hover { background-color: #2b5e43; }
.ui-selectbox-list { padding: 0; margin: 0; list-style: none; position: absolute; left: 0; top: 25px; width: inherit; z-index: 500; display: none; background: #537d66; -webkit-border-radius: 0 0 3px 3px; -moz-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.3); box-shadow: 0 1px 2px 0 rgba(0,0,0,0.3); overflow: hidden; }
.ui-selectbox.opened .ui-selectbox-list { display: block; }
.ui-selectbox-list li { padding: 0; margin: 0; display: block; font-size: 0; }
.ui-selectbox-list li.selected a { color: #baf2b2; font-weight: bold; }
.ui-selectbox-list li a { display: block; text-decoration: none; line-height: 14px; padding: 5px 15px; color: #fff; }
.ui-selectbox-list li a:hover { color: #baf2b2; background: #58856d; }

/* UI Tabs */
.ui-tabs { }
.ui-tabs .ui-tabs-buttons { margin-bottom: 25px; font-size: 0; }
.ui-tabs .ui-tabs-buttons a { display: inline-block; text-decoration: none; outline: none; font-size: 16px; line-height: 35px; padding: 0 20px; min-width: 73px; margin-right: 3px; border: 1px solid #d6d6d6; color: #252c34; text-align: center; }
.ui-tabs .ui-tabs-buttons a:hover { border-color: #a6b0bb; }
.ui-tabs .ui-tabs-buttons .selected { color: #fff; background: #a6b0bb; border-color: #a6b0bb !important; cursor: default; }
.ui-tabs .ui-tabs-items {}
.ui-tabs .ui-tabs-panel { display: none; }
.ui-tabs .ui-tabs-panel.opened { display: block; }

/* UI Before After */
.ui-before-after { font-size: 0; margin: 0 auto; }
.ui-before-after-label { font-size: 14px; color: #fff; position: absolute; top: 0; padding: 5px; background-color: rgba(0, 0, 0, 0.5); z-index: 100; }
.ui-before-after-item { position: relative; }
.ui-before-after-item.nth-1 .ui_before-after-label { left: 0; }
.ui-before-after-item.nth-2 .ui_before-after-label { right: 0; }

/* Maps */
.contacts-map { border: 1px solid #d7d7d7; width: 100%; height: 400px; background: url(/images/loading.gif) no-repeat center center; font-size: 0; }
.ymaps-b-balloon, .map-baloon, .ymaps-b-balloon__content-head { font-size: 14px !important; line-height: 19px !important; }
.ymaps-b-balloon__content-head { font-weight: bold; }
.map-baloon { font-size: 14px; line-height: 21px; }
.map-baloon p { margin: 0; padding: 0; }
.dg-popup__container { min-width: 200px; }

/* Fancybox */
.js-fancybox { outline: none; }

.fancybox-slide .form { width: 400px; text-align: center; background: #f2f2f2; padding: 30px 40px 40px 40px; position: relative; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
.fancybox-slide .form-title { font-size: 24px; line-height: 24px; color: #2e3192; margin-bottom: 15px; }
.fancybox-slide .form-description { font-size: 16px; line-height: 22px; color: #363636; }
.fancybox-slide .form .textbox, .fancybox-slide .form div { text-align: center; }
.fancybox-slide .form .button { min-width: 160px; }
.fancybox-slide .form .result-message { padding: 10px; display: none; }

.fancybox-slide .fancybox-alert { max-width: 500px; padding: 50px; margin: 0; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
.fancybox-slide .fancybox-alert h1 { margin: 0 0 15px 0; font-size: 18px; line-height: 26px; color: #2e3192; font-weight: normal; text-transform: none; text-align: center; }
.fancybox-slide .fancybox-alert p { font-size: 16px; line-height: 24px; color: #363636; text-align: center; padding: 0; margin: 0; }

.fancybox-slide .fancybox-close-small { outline: none; background: none; }
.fancybox-slide .fancybox-close-small:after { background: none; border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; font-family: 'FontAwesome'; font-size: 18px; color: #363636; content: "\f00d"; display: block; }
.fancybox-slide .fancybox-close-small:hover:after { color: #ed1c24; background: #e5e5e5; }