/* --- YTJ Custom styles --- */

body {
    background: #f5f9f9;
}



/* --- Webfonts --- */

h1 {
    font-family: 'RopaSoftPTT-ExtraLight', Tahoma, Arial, sans-serif;
    font-weight: normal;
    letter-spacing: -0.035em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    -webkit-font-smoothing: antialiased;
}

h2,
article h3,
aside h3,
h4,
article h4,
.share .share-label {
    font-family: 'RopaSoftPTT-ExtraLight', Tahoma, Arial, sans-serif;
    font-weight: normal;
    letter-spacing: -0.025em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    -webkit-font-smoothing: antialiased;
}

h3,
article h2,
h2.menu-title,
#navigation ul li,
.collapsible-menu,
.menu-toggle-text,
.lang-selection,
.btn,
.nav-tabs li,
.news-item h3,
.liftup-box .content,
#main label,
.footer-bottom,
.back-to-top {
    font-family: 'RopaSoftPro', Tahoma, Arial, sans-serif;
    font-weight: normal;
    letter-spacing: -0.020em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    -webkit-font-smoothing: antialiased;
}



/* --- Headings --- */

h1 {
    color: #106477;
    border-bottom: 2px solid #85b0b9;
    margin: 0 0 18px;
    padding: 0 0 14px;
}

h2 {
    color: #106477;
    font-size: 40px;
    line-height: 48px;
}

article h2 {
    color: #106477;
    font-size: 25px;
    line-height: 28px;
    margin-bottom: 13px;
}

footer h2 {
    color: #cfe0e3;
    font-size: 30px;
    line-height: 36px;
}

h3 {
    font-size: 23px;
    line-height: 25px;
}

article h3,
aside h3 {
    color: #106477;
    font-size: 25px;
    line-height: 28px;
}

h4,
article h4,
aside h4 {
    color: #106477;
    font-size: 22px;
    line-height: 25px;
}

footer h3 {
    color: #cfe0e3;
    font-size: 20px;
    line-height: 22px;
}

h1 + h2 {
    margin-top: 0;
}

h2 + h3 {
    margin-top: 0;
}

h3 + h4 {
    margin-top: 0;
}



/* --- Links --- */

a {
    color: #106477;
}

a:hover,
a:focus {
    color: #00a69c;
    text-decoration: underline;
}

a:focus,
a:active {
    outline: none;
}

footer a {
    color: #fff;
    font-weight: bold;
}

footer a:hover,
footer a:focus {
    color: #00a69c;
}

a.ext:after {
    background: url(/images/ytj/icon_ext.png) no-repeat 100% 0;
    content: "";
    display: inline-block;
    height: 14px;
    width: 20px;
}

footer a.ext:after {
    content: none;
    display: none;
}



/* --- Lists --- */

article ul {
    list-style-type: none;
    padding: 0 0 0 25px;
}

article ol {
    padding: 0 0 0 25px;
}

article .content ul li {
    margin: 0.40em 0;
    position: relative;
}

article .content ul li:before {
    background: url(/images/ytj/bullet_turquoise.png) no-repeat 0 0;
    content: "";
    display: block;
    height: 5px;
    left: -10px;
    position: absolute;
    top: 0.45em;
    width: 10px;
}



/* --- Pagination --- */

.pagination {
    margin: 0 auto 20px;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    margin-left: 0;
}

.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

ul.pagination li:before,
article .content ul.pagination li:before {
    background: none;
    content: none;
    display: none;
}

.pagination > li > a,
.pagination > li > span {
    /*background: #d2e2e5;
    background: rgba(76, 139, 153, 0.25);*/
    border: 1px solid #cedfe2;
    color: #106477;
}

.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    background: #e4edef;
    background: rgba(76, 139, 153, 0.15);
    color: #00a69c;
    text-decoration: none;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #3f828f;
    border-color: #3f828f;
    color: #faf6b4;
    font-weight: bold;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
    background-color: #fff;
    border-color: #cedfe2;
    color: #777;
    cursor: default;
}



/* --- Form elements --- */

article .content form {
    margin-bottom: 20px;
    margin-top: 20px;
}

form fieldset {
    border-bottom: 1px solid #cedfe2;
    margin-bottom: 20px;
}

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

#main label {
    color: #106477;
    font-size: 16px;
    letter-spacing: normal;
    line-height: 19px;
}

.checkbox label,
.radio label {
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.checkbox label {
    clear: both;
    display: block;
    width: auto;
}

.checkbox-inline label {
    display: inline-block;
}

form .required label:after {
    content: "*";
    margin: 0 0 0 2px;
}

.radio,
.checkbox {
    margin-top: 0;
}

input {
    border-radius: 0;
}

input[type="email"],
input[type="number"],
input[type="text"],
select,
select.form-control,
textarea,
textarea.form-control {
    background: #ececed;
    background: -moz-linear-gradient(top,  #ececed 0%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ececed), color-stop(100%,#ffffff));
    background: -webkit-linear-gradient(top,  #ececed 0%,#ffffff 100%);
    background: -o-linear-gradient(top,  #ececed 0%,#ffffff 100%);
    background: -ms-linear-gradient(top,  #ececed 0%,#ffffff 100%);
    background: linear-gradient(to bottom,  #ececed 0%,#ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ececed', endColorstr='#ffffff',GradientType=0 );
    border: 1px solid #cedfe3;
    max-width: 100%;
}

#header input[type="text"],
.custom-search input[type="text"] {
    background: none;
    filter: none;
}

input[type="checkbox"] {
    border: 1px solid #cedfe3;
}

.form-control {
    box-shadow: none;
}

.form-control:focus {
    border-color: #106477;
    border-color: rgba(16, 100, 119, 0.6);
    box-shadow: 0 0 4px rgba(16, 100, 119, 0.3);
}

.form-group button,
.form-group input[type="submit"] {
    min-width: 200px;
    text-transform: uppercase;
}

.custom-search .form-group button,
.custom-search .form-group input[type="submit"] {
    min-width: 0;
}



/* --- Tables --- */

table {
    margin: 0 0 20px;
}

table th,
table td {
    vertical-align: top;
    padding-bottom: 4px;
}

table th.phone,
table td.phone, footer table th {
    box-sizing: border-box;
    padding: 0 1.00em 4px 0;
    width: 8.00em !important;
    white-space: nowrap;
}



/* --- Images --- */

img {
    height: auto;
    max-width: 100%;
}



/* --- Grid system modification --- */

.container-fluid {
    margin: 0 auto;
    max-width: 960px;
}

.row {
}

.col-border {
    padding-left: 20px;
    padding-right: 20px;
}



/* --- Buttons --- */

.btn {
    border: none;
    border-radius: 0;
    box-shadow: inset 0px 0px 3px rgba(0,0,0,0.10);
    font-size: 20px;
    line-height: 24px;
    padding: 10px 15px;
    text-shadow: none;
    white-space: normal;
    word-wrap: break-word;
}

.btn-lg {
    font-size: 22px;
    line-height: 26px;
    padding: 15px 15px;
}

.btn-default,
.form-btn {
    background: #00909c;
    background: -moz-linear-gradient(170deg,  #00909c 0%, #106477 75%, #106477 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#00909c), color-stop(75%,#106477), color-stop(100%,#106477));
    background: -webkit-linear-gradient(170deg,  #00909c 0%,#106477 75%,#106477 100%);
    background: -o-linear-gradient(170deg,  #00909c 0%,#106477 75%,#106477 100%);
    background: -ms-linear-gradient(170deg,  #00909c 0%,#106477 75%,#106477 100%);
    background: linear-gradient(170deg,  #00909c 0%,#106477 75%,#106477 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00909c', endColorstr='#106477',GradientType=1 );
    border: none;
}

.btn-default:hover,
.form-btn {
    background: #106477;
    background: -moz-linear-gradient(170deg,  #106477 0%, #00909c 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#106477), color-stop(100%,#00909c));
    background: -webkit-linear-gradient(170deg,  #106477 0%,#00909c 100%);
    background: -o-linear-gradient(170deg,  #106477 0%,#00909c 100%);
    background: -ms-linear-gradient(170deg,  #106477 0%,#00909c 100%);
    background: linear-gradient(170deg,  #106477 0%,#00909c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#106477', endColorstr='#00909c',GradientType=1 );
    box-shadow: none;
    box-shadow: inset 0px 0px 3px rgba(0,0,0,0.10);
    border: none;
    color: #80d2cd;
}

.btn-link {
    background: #d2e2e5;
    background: rgba(76, 139, 153, 0.25);
    box-shadow: none;
    color: #106477;
}

.btn-link:hover,
.btn-link:focus {
    background: #e4edef;
    background: rgba(76, 139, 153, 0.15);
    color: #00a69c;
    text-decoration: none;
}

.btn-blue {
    background: #86b1ba;
    background: -moz-linear-gradient(170deg,  #86b1ba 0%, #327b8a 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#86b1ba), color-stop(100%,#327b8a));
    background: -webkit-linear-gradient(170deg,  #86b1ba 0%,#327b8a 100%);
    background: -o-linear-gradient(170deg,  #86b1ba 0%,#327b8a 100%);
    background: -ms-linear-gradient(170deg,  #86b1ba 0%,#327b8a 100%);
    background: linear-gradient(170deg,  #86b1ba 0%,#327b8a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#86b1ba', endColorstr='#327b8a',GradientType=1 );
    color: #fff;
}

.btn-blue:hover {
    background: #00a69c;
    background: -moz-linear-gradient(170deg,  #00a69c 0%, #97c9c5 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#00a69c), color-stop(100%,#97c9c5));
    background: -webkit-linear-gradient(170deg,  #00a69c 0%,#97c9c5 100%);
    background: -o-linear-gradient(170deg,  #00a69c 0%,#97c9c5 100%);
    background: -ms-linear-gradient(170deg,  #00a69c 0%,#97c9c5 100%);
    background: linear-gradient(170deg,  #00a69c 0%,#97c9c5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00a69c', endColorstr='#97c9c5',GradientType=1 );
    color: #fff;
}

.arrow:after {
    content: "»";
    display: inline-block;
    padding: 0 0 0 5px;
}

.arrow:hover:after,
.arrow:focus:after {
    text-decoration: none !important;
}

.fullwidth {
    width: 100%;
}



/* --- Header --- */

#header {
    padding: 10px 0;
}



/* --- Language selection --- */

.lang-selection {
    display: inline-block;
    padding: 10px 0 0;
    vertical-align: middle;
}

.mobile-header .lang-selection {
    font-size: 16px;
    line-height: 19px;
    padding: 0;
}

.lang-selection ul {
    font-size: 15px;
    margin-bottom: 0;
}

.lang-selection ul li {
    margin: 0 0 0 7px;
    padding: 0;
}

.lang-selection ul li:before {
    color: #106477;
    content: "|";
    margin: 0 10px 0 0;
    padding: 0;
}

.lang-selection ul > li:first-of-type:before {
    content: none;
}



/* --- Site search --- */

.site-search {
    display: inline-block;
    padding: 10px 0 0 30px;
    vertical-align: middle;
}

.mobile-header .site-search {
    padding: 0 0 0 10px;
}

.sidebar .site-search {
    padding: 0;
}

.site-search .input-group,
.site-search-mobile .input-group {
    background: #ececed;
    background: -moz-linear-gradient(top,  #ececed 0%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ececed), color-stop(100%,#ffffff));
    background: -webkit-linear-gradient(top,  #ececed 0%,#ffffff 100%);
    background: -o-linear-gradient(top,  #ececed 0%,#ffffff 100%);
    background: -ms-linear-gradient(top,  #ececed 0%,#ffffff 100%);
    background: linear-gradient(to bottom,  #ececed 0%,#ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ececed', endColorstr='#ffffff',GradientType=0 );
    border: 1px solid #106376;
    max-width: 100%;
    width: 170px;
}

.site-search-mobile .input-group {
    border: none;
}

.site-search input,
.site-search-mobile input,
.site-search button,
.site-search-mobile button {
    background: none;
    background-image: none;
    filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.site-search input:focus,
.site-search-mobile input:focus,
.site-search button:focus,
.site-search-mobile button:focus {
    box-shadow: none;
}

.site-search button,
.site-search-mobile button {
    background: url(/images/ytj/icon_magnifier.png) no-repeat center center;
    overflow: hidden;
    padding: 0;
    text-indent: -22000px;
    width: 30px;
}



/* --- Mobile search --- */

#mobile-search {
    background: #106477;
    display: none;
    padding: 10px 20px;
}

.search-toggle {
    background: #00909c;
    background: -moz-linear-gradient(170deg,  #00909c 0%, #106477 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#00909c), color-stop(100%,#106477));
    background: -webkit-linear-gradient(170deg,  #00909c 0%,#106477 100%);
    background: -o-linear-gradient(170deg,  #00909c 0%,#106477 100%);
    background: -ms-linear-gradient(170deg,  #00909c 0%,#106477 100%);
    background: linear-gradient(100deg,  #00909c 0%,#106477 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00909c', endColorstr='#106477',GradientType=1 );
    cursor: pointer;
    padding: 14px;
}

.search-toggle .search-toggle-text {
    background: url(/images/ytj/icon_search_toggle.png) no-repeat 0 -100px;
    display: block;
    height: 16px;
    overflow: hidden;
    text-align: left;
    text-indent: -22000px;
    width: 16px;
}

.site-search-mobile .input-group {
    max-width: 100%;
    width: 100%;
}



/* --- Sidebar search box --- */

.sidebar .search-box {
    background: #106477;
    color: #fff;
    padding: 20px;
}

.sidebar .search-box > *:first-child {
    margin-top: 0;
}

.sidebar .search-box .site-search {
    display: block;
}

.sidebar .search-box .site-search .input-group {
    width: 100%;
}



/* --- Main navigation --- */

#navigation {
    background: #0d6375;
    color: #fff;
    padding: 0;
}

#navigation nav ul {
    display: block;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

#navigation nav ul li {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
}

#navigation nav ul li a {
    color: #fff;
    display: block;
    font-size: 15px;
    line-height: 18px;
    padding: 15px 15px;
    text-transform: uppercase;
}

#navigation nav ul li:before {
    background: #337a8a;
    content: "";
    display: inline-block;
    float: left;
    height: 30px;
    margin-top: 8px;
    width: 1px;
}

#navigation nav ul li.active a,
#navigation nav ul li a:hover,
#navigation nav ul li a:focus {
    background: #00a69c;
}

#navigation nav ul li a:hover,
#navigation nav ul li a:focus {
    text-decoration: none;
}

#navigation nav ul li.active:before,
#navigation nav ul li:hover:before,
#navigation nav ul li:focus:before {
    content: none;
}

#navigation nav ul li:first-child:before {
    background: none;
    content: none;
}

#navigation nav ul li.active-trail a,
#navigation nav ul li.active-trail a:hover,
#navigation nav ul li.active-trail a:focus {
    text-decoration: underline;
}



/* --- Mobile navigation --- */

#mobile-navigation {
    display: none;
}

.menu-toggle {
    cursor: pointer;
    position: relative;
}

.menu-toggle.hidden-sm {
    height: 26px;
    margin: 8px 0 0;
    width: 36px;
}

.menu-toggle.hidden-xs {
    margin: 13px 0 16px;
}

.menu-toggle .toggle-icon {
    height: 36px;
    left: 0;
    position: absolute;
    top: 0;
    width: 36px;
}

.menu-toggle .menu-toggle-line {
    background: #fff;
    border-radius: 3px;
    display: inline-block;
    height: 3px;
    left: 0;
    position: absolute;
    top: 0;
    width: 36px;
}

.menu-toggle .menu-toggle-line:before {
    background: #fff;
    border-radius: 3px;
    content: "";
    display: inline-block;
    height: 3px;
    left: 0;
    position: absolute;
    top: 9px;
    width: 36px;
}

.menu-toggle .menu-toggle-line:after {
    background: #fff;
    border-radius: 3px;
    content: "";
    display: inline-block;
    height: 3px;
    left: 0;
    position: absolute;
    top: 18px;
    width: 36px;
}

.menu-toggle-text {
    color: #fff;
    padding: 0 0 0 46px;
    text-transform: uppercase;
}

.menu-toggle.hidden-sm .menu-toggle-line,
.menu-toggle.hidden-sm .menu-toggle-line:after,
.menu-toggle.hidden-sm .menu-toggle-line:before {
    background: #106376;
}

.menu-toggle.hidden-sm .menu-toggle-text {
    color: #106376;
}

.menu-toggle.opened .menu-toggle-line {
    background: none;
}

.menu-toggle.opened .menu-toggle-line:before {
    left: 0%;
    position: absolute;
    top: 9px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu-toggle.opened .menu-toggle-line:after {
    left: 0%;
    position: absolute;
    top: 9px;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}



/* --- Collapsible menu --- */

.sidebar h2.menu-title {
    background: #106477;
    color: #fff;
    font-size: 20px;
    line-height: 24px;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.sidebar h2.menu-title a {
    color: #fff;
    display: block;
    padding: 10px;
}

ul.collapsible-menu {
    background: #106477;
    margin-bottom: 0;
}

.collapsible-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.collapsible-menu li {
    position: relative;
}

.collapsible-menu li a {
    border-top: 1px solid #91b8c0;
    border-top: 1px solid rgba(145,184,192,0.50);
    color: #fff;
    display: block;
    font-size: 18px;
    line-height: 21px;
    padding: 10px 50px 10px 20px;
    position: relative;
    transition: 0.2s background-color;
}

ul.collapsible-menu > li > a {
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
}

.sidebar ul.collapsible-menu > li > a {
    text-transform: none;
}

.collapsible-menu li li a {
    padding-left: 30px;
}

.collapsible-menu li li li a {
    padding-left: 40px;
}

.collapsible-menu li li li li a {
    padding-left: 50px;
}

.collapsible-menu li li li li li a {
    padding-left: 60px;
}

.collapsible-menu li li li li li li a {
    padding-left: 70px;
}

.collapsible-menu li li li li li li li a {
    padding-left: 80px;
}

.collapsible-menu li.active-trail > a {
    color: #faf6b4;
    font-weight: bold;
    letter-spacing: normal;
}

.collapsible-menu li.active > a {
    background: #3f828f;
    color: #faf6b4;
    font-weight: bold;
    letter-spacing: normal;
}

.collapsible-menu li.active > a:before {
    background: url(/images/ytj/arrow_yellow_right.png) no-repeat 0 0;
    content: "";
    display: inline-block;
    margin: 0 4px 0 -10px;
    top: 0.90em;
    width: 6px;
    height: 10px;
    position: absolute;
}

.sidebar h2.menu-title a:hover,
.sidebar h2.menu-title a:focus,
.collapsible-menu li a:hover,
.collapsible-menu li a:focus {
    background: #3f828f;
    text-decoration: none;
}

.collapsible-menu li a.submenu-toggle {
    background: url(/images/ytj/plus_minus.png) no-repeat center 15px;
    border: none;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 20px;
    line-height: 24px;
    overflow: hidden;
    padding: 10px;
    position: absolute;
    right: 0;
    text-align: left;
    text-indent: -22000px;
    top: 0;
    width: 40px;
}

.collapsible-menu li a.submenu-toggle.opened {
    background: url(/images/ytj/plus_minus.png) no-repeat center -135px;
}

.collapsible-menu li a.submenu-toggle:focus {
    /* outline: #fff dotted 1px; */ /* Uncomment this if needed for better accessibility */
}

.collapsible-menu li a.submenu-toggle:before {
    background: #fff;
    border-radius: 1px;
    content: "";
    display: block;
    height: 24px;
    left: 0px;
    margin: 0;
    position: absolute;
    top: 11px;
    width: 2px;
    vertical-align: middle;
}



/* --- Site notification area --- */

.notification {
    background: #fbf8d0;
    border-bottom: 1px solid #cedfe2;
    padding: 20px 0;
}

.notification .notification-wrapper {
    position: relative;
}

.notification .content {
    color: #106477;
    font-size: 12px;
    margin: 0 auto;
    max-width: 620px;
    padding: 0 40px;
}

.notification .content > *:first-child {
    margin-top: 0;
}

.notification .content > *:last-child {
    margin-bottom: 0;
}

.notification .content h3 {
    text-transform: uppercase;
}

.notification .content h3:before {
    background: url(/images/ytj/icon_warning.png) no-repeat 0 3px;
    content: "";
    display: inline-block;
    height: 20px;
    margin: 0 4px 0 0;
    width: 20px;
}

.notification .content a {
    text-decoration: underline;
}

.notification .content a:hover,
.notification .content a:focus {
}

.notification .close-btn {
    cursor: pointer;
    display: block;
    height: 25px;
    overflow: hidden;
    position: absolute;
    right: 0;
    text-align: left;
    text-indent: -22000px;
    top: 0;
    width: 25px;
}

.notification .close-btn:before {
    background: #106477;
    border-radius: 3px;
    content: "";
    display: block;
    height: 3px;
    left: 0;
    position: absolute;
    top: 50%;
    width: 25px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.notification .close-btn:after {
    background: #106477;
    border-radius: 3px;
    content: "";
    display: block;
    height: 3px;
    left: 0;
    position: absolute;
    top: 50%;
    width: 25px;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.notification .close-btn:hover:before,
.notification .close-btn:hover:after {
    background: #378195;
}



/* --- Frontpage custom search --- */

.custom-search {
    background: url(/images/ytj/bg_pattern.png) #0d6375 repeat center 0;
    margin: 0 0 20px;
    padding: 50px 0 40px;
}

.custom-search h3 {
    color: #fff;
    margin-bottom: 10px;
    margin-top: 0;
    text-transform: uppercase;
}

.custom-search form {
    display: inline-block;
    width: 60%;
}

.custom-search .multi-input {
    background: #ececed;
    background: -moz-linear-gradient(top,  #ececed 0%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ececed), color-stop(100%,#ffffff));
    background: -webkit-linear-gradient(top,  #ececed 0%,#ffffff 100%);
    background: -o-linear-gradient(top,  #ececed 0%,#ffffff 100%);
    background: -ms-linear-gradient(top,  #ececed 0%,#ffffff 100%);
    background: linear-gradient(to bottom,  #ececed 0%,#ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ececed', endColorstr='#ffffff',GradientType=0 );
    border: 1px solid #106376;
    box-sizing: border-box;
    display: inline-block;
    height: 52px;
    padding: 0 50px 0 0;
    position: relative;
    width: 100%;
}

.custom-search .multi-input .form-group {
    float: left;
    width: 25%;
}

.custom-search .multi-input .form-group:first-of-type {
    width: 100%;
}

.custom-search .multi-input .form-group.form-btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
}

.custom-search input,
.custom-search select,
.custom-search button {
    background: none;
    background-image: none;
    filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #106477;
}

.custom-search .multi-input .form-group:first-of-type {
    position: relative;
}

.custom-search .multi-input .form-group:first-of-type:after {
    /*background: #106376;*/
    content: "";
    display: block;
    height: 42px;
    right: 0;
    position: absolute;
    top: 4px;
    width: 1px;
}

.custom-search select option {
    background: #fff;
}

.custom-search input:focus,
.custom-search select:focus,
.custom-search button:focus {
    box-shadow: none;
}

.custom-search button {
    background: url(/images/ytj/icon_magnifier_white.png) no-repeat center center;
    height: 50px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    text-indent: -22000px;
    width: 50px;
}

.custom-search .multi-input .form-group,
.custom-search .multi-input .form-control {
    display: block;
    height: 50px;
    margin-bottom: 0;
}

.custom-search .multi-input .form-control {
    width: 100%;
}

.input-lg,
.form-group-lg .form-control {
    font-size: 16px;
    line-height: 19px;
}

.form-group-lg .btn-lg {
    font-size: 16px;
    line-height: 19px;
}

.custom-search .advanced-search {
    margin: 10px 0 0;
}

.custom-search .advanced-search a {
    color: #fff;
    font-weight: bold;
}



/* --- Breadcrumb --- */

.breadcrumb {
    background: none;
    border-bottom: 1px solid #cedfe2;
    font-size: 12px;
    line-height: 15px;
    margin: 0 0 20px;
    padding: 0 0 15px;
}

.breadcrumb ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.breadcrumb ol li {
    display: inline-block;
}

.breadcrumb ol li:before {
    background: url(/images/ytj/arrow_turquoise_right.png) no-repeat 0 0;
    content: "";
    display: inline-block;
    height: 11px;
    margin: 0 5px 0 4px;
    width: 7px;
}

.breadcrumb ol li.first:before {
    content: none;
    display: none;
}



/* --- Main content area --- */

#main {
    margin: 15px 0 30px;
}

.front #main {
    margin: 20px 0 30px;
}

.border-bottom {
    border-bottom: 1px solid #106376;
    margin-bottom: 20px;
    padding: 0 0 20px; 
}

article header {
    padding: 0;
}

article > *:first-child,
article .content > *:first-child {
    margin-top: 0;
}

article .content img {
    margin: 15px 0;
}



/* --- Article: Attachments --- */

.attachments {
    border-top: 1px solid #cedfe2;
    margin-top: 20px;
    padding: 20px 0 0;
}

.attachments > *:first-child {
    margin-top: 0;
}

.attachments ul {
    overflow: hidden;
}

.attachments ul li {
    box-sizing: border-box;
    margin: 0 0 10px;
    padding: 0;
}

.sidebar .attachments ul li {
    float: none;
    width: 100%;
}

.attachments .btn {
    display: block;
    min-height: 60px;
    padding: 10px 45px 10px 15px;
    position: relative;
    text-align: left;
}

.attachments .btn .name {
    display: block;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: normal;
    line-height: 17px;
    margin: 0 0 3px;
}

.attachments .btn .description {
    color: #f9f4a1;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-style: italic;
    letter-spacing: normal;
    line-height: 14px;
}

.attachments .btn .filetype {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    letter-spacing: normal;
    line-height: 10px;
    position: absolute;
    top: 43px;
    right: 10px;
    text-align: center;
    text-transform: uppercase;
    width: 25px;
}

.attachments .btn:after {
    background: url(/images/ytj/icon_file.png) no-repeat 0 0;
    content: "";
    height: 30px;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 25px;
}



/* --- Article: Useful links --- */

.useful-links {
    border-top: 1px solid #cedfe2;
    margin-top: 20px;
    padding: 20px 0 0;
}

.useful-links > *:first-child {
    margin-top: 0;
}

.useful-links ul li {
    margin: 0 0 4px;
}

.useful-links ul li a {
    background: url(/images/ytj/arrow_blue_right.png) no-repeat 0 0.2em;
    font-weight: bold;
    padding: 0 0 0 17px;
}



/* --- Liftup boxes --- */

.liftup-wrapper {
    margin-bottom: 30px;
}

.liftup-box {
    background: #ffffff;
    background: -moz-linear-gradient(-45deg,  #ffffff 0%, #ffffff 26%, #e3eced 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(26%,#ffffff), color-stop(100%,#e3eced));
    background: -webkit-linear-gradient(-45deg,  #ffffff 0%,#ffffff 26%,#e3eced 100%);
    background: -o-linear-gradient(-45deg,  #ffffff 0%,#ffffff 26%,#e3eced 100%);
    background: -ms-linear-gradient(-45deg,  #ffffff 0%,#ffffff 26%,#e3eced 100%);
    background: linear-gradient(135deg,  #ffffff 0%,#ffffff 26%,#e3eced 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e3eced',GradientType=1 );
    padding: 1px;
}

.liftup-box  .inner {
    background: #e5eef0;
    background: -moz-linear-gradient(-45deg,  #e5eef0 0%, #ffffff 25%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#e5eef0), color-stop(25%,#ffffff));
    background: -webkit-linear-gradient(-45deg,  #e5eef0 0%,#ffffff 25%);
    background: -o-linear-gradient(-45deg,  #e5eef0 0%,#ffffff 25%);
    background: -ms-linear-gradient(-45deg,  #e5eef0 0%,#ffffff 25%);
    background: linear-gradient(135deg,  #e5eef0 0%,#ffffff 25%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5eef0', endColorstr='#ffffff',GradientType=1 );
}

.liftup-box .inner {
    box-sizing: border-box;
    height: 340px;
    overflow: hidden;
    padding: 20px;
    position: relative;
    text-align: center;
}

.liftup-box .image {
    margin-bottom: 13px;
    margin-left: -10px;
    margin-right: -10px;
    margin-top: -10px;
}

.liftup-box .image img {
    display: block;
    margin: 0 auto;
}

.liftup-box .title {
    font-size: 40px;
    line-height: 42px;
    margin-bottom: 15px;
    margin-top: 0;
}

.liftup-box .content {
    color: #106477;
    font-size: 18px;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    letter-spacing: -0.025em;
    line-height: 21px;
    min-height: 7.50em;
}

.liftup-box .content p {
    margin-bottom: 15px;
}

.liftup-box .content a {
    text-decoration: underline;
}

.liftup-box .content a:hover,
.liftup-box .content a:focus {
}

.liftup-box .button {
    box-sizing: border-box;
    margin: 15px 0 0;
    width: 100%;
}

.liftup-box .btn {
    margin: 0 auto;
    min-width: 220px;
    max-width: 100%;
    text-transform: uppercase;
}



/* --- Banners --- */

.banner { /* Default background color is green */
    background: #abd55d;
    background: -moz-linear-gradient(-60deg,  #abd55d 0%, #00a69c 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#abd55d), color-stop(100%,#00a69c));
    background: -webkit-linear-gradient(-60deg,  #abd55d 0%,#00a69c 100%);
    background: -o-linear-gradient(-60deg,  #abd55d 0%,#00a69c 100%);
    background: -ms-linear-gradient(-60deg,  #abd55d 0%,#00a69c 100%);
    background: linear-gradient(120deg,  #abd55d 0%,#00a69c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#abd55d', endColorstr='#00a69c',GradientType=1 );
    color: #fff;
    box-sizing: border-box;
    display: block;
    padding: 10px;
    text-align: center;
}

.banner .inner {
    border: 1px solid #fff;
    box-sizing: border-box;
    display: block;
    height: 320px;
    margin: 0;
    overflow: hidden;
    padding: 10px;
    text-align: center;
}

.banner .content {
    align-items: center;
    box-sizing: border-box;
    color: #fff;
    display: block;
    display: flex;
    height: 100%;
    overflow: hidden;
    padding: 0;
}

.banner .content > *:first-child {
    margin-top: 0;
}

.banner h2.title {
    color: #fff;
    font-size: 34px;
    letter-spacing: -0.035em;
    line-height: 56px;
    width: 100%;
}

.banner h2.title:after {
    color: #fff;
    content: "»";
    display: inline;
}

a.banner-link:hover,
a.banner-link:focus {
    text-decoration: none;
}

.banner a,
.banner img {
    color: #fff;
    display: inline-block;
}

.banner.blue {
    background: #00a69c;
    background: -moz-linear-gradient(-60deg,  #00a69c 14%, #106477 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(14%,#00a69c), color-stop(100%,#106477));
    background: -webkit-linear-gradient(-60deg,  #00a69c 14%,#106477 100%);
    background: -o-linear-gradient(-60deg,  #00a69c 14%,#106477 100%);
    background: -ms-linear-gradient(-60deg,  #00a69c 14%,#106477 100%);
    background: linear-gradient(120deg,  #00a69c 14%,#106477 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00a69c', endColorstr='#106477',GradientType=1 );
    color: #fff;
}

.banner.green {
    background: #abd55d;
    background: -moz-linear-gradient(-60deg,  #abd55d 0%, #00a69c 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#abd55d), color-stop(100%,#00a69c));
    background: -webkit-linear-gradient(-60deg,  #abd55d 0%,#00a69c 100%);
    background: -o-linear-gradient(-60deg,  #abd55d 0%,#00a69c 100%);
    background: -ms-linear-gradient(-60deg,  #abd55d 0%,#00a69c 100%);
    background: linear-gradient(120deg,  #abd55d 0%,#00a69c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#abd55d', endColorstr='#00a69c',GradientType=1 );
    color: #fff;
}

.banner.red {
    background: #f27c3f;
    background: -moz-linear-gradient(-60deg,  #f27c3f 0%, #ae3f89 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f27c3f), color-stop(100%,#ae3f89));
    background: -webkit-linear-gradient(-60deg,  #f27c3f 0%,#ae3f89 100%);
    background: -o-linear-gradient(-60deg,  #f27c3f 0%,#ae3f89 100%);
    background: -ms-linear-gradient(-60deg,  #f27c3f 0%,#ae3f89 100%);
    background: linear-gradient(120deg,  #f27c3f 0%,#ae3f89 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f27c3f', endColorstr='#ae3f89',GradientType=1 );
    color: #fff;
}

.banner.yellow {
    background: #f2d142;
    background: -moz-linear-gradient(-60deg,  #f2d142 0%, #f27c3f 97%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f2d142), color-stop(97%,#f27c3f));
    background: -webkit-linear-gradient(-60deg,  #f2d142 0%,#f27c3f 97%);
    background: -o-linear-gradient(-60deg,  #f2d142 0%,#f27c3f 97%);
    background: -ms-linear-gradient(-60deg,  #f2d142 0%,#f27c3f 97%);
    background: linear-gradient(120deg,  #f2d142 0%,#f27c3f 97%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2d142', endColorstr='#f27c3f',GradientType=1 );
    color: #fff;
}

a:hover .banner .inner {
    border: 1px solid #f9f4a1;
    color: #f9f4a1;
}

a.banner:hover {
    color: #f9f4a1;
}

a:hover .banner .content,
a:hover .banner h2.title,
a:hover .banner h2.title:after {
    color: #f9f4a1;
}



/* --- Tabs --- */

.front .tabpanel {
    margin: 0 auto;
    max-width: 620px;
}

.nav-tabs {
    border-bottom: 1px solid #85b0b9;
    border-top: 1px solid #106376;
    font-size: 18px;
    line-height: 22px;
    margin: 0 0 30px;
}

.nav-tabs li a {
    background: none;
    background-color: none;
    border: none;
    color: #86b1ba;
}

.nav-tabs li:before {
    content: "|";
    color: #86b1ba;
    float: left;
    padding: 10px 0;
}

.nav-tabs li:first-child:before {
    content: none;
}

.nav > li > a:hover,
.nav > li > a:focus {
    background-color: transparent;
    color: #106376;
    text-decoration: underline;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background-color: transparent;
    border-color: transparent;
    border-image: none;
    border-style: solid;
    border-width: 0px;
    color: #106376;
    cursor: default;
    text-decoration: none;
}

.tab-content {
    padding: 0 10px;
}



/* --- Frontpage news listing --- */

.border-gradient {
    background: #ffffff;
    background: -moz-linear-gradient(-45deg,  #ffffff 0%, #ffffff 26%, #e3eced 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(26%,#ffffff), color-stop(100%,#e3eced));
    background: -webkit-linear-gradient(-45deg,  #ffffff 0%,#ffffff 26%,#e3eced 100%);
    background: -o-linear-gradient(-45deg,  #ffffff 0%,#ffffff 26%,#e3eced 100%);
    background: -ms-linear-gradient(-45deg,  #ffffff 0%,#ffffff 26%,#e3eced 100%);
    background: linear-gradient(135deg,  #ffffff 0%,#ffffff 26%,#e3eced 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e3eced',GradientType=1 );
    padding: 1px;
}

.bg-gradient {
    background: #e5eef0;
    background: -moz-linear-gradient(-45deg,  #e5eef0 0%, #ffffff 25%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#e5eef0), color-stop(25%,#ffffff));
    background: -webkit-linear-gradient(-45deg,  #e5eef0 0%,#ffffff 25%);
    background: -o-linear-gradient(-45deg,  #e5eef0 0%,#ffffff 25%);
    background: -ms-linear-gradient(-45deg,  #e5eef0 0%,#ffffff 25%);
    background: linear-gradient(135deg,  #e5eef0 0%,#ffffff 25%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5eef0', endColorstr='#ffffff',GradientType=1 );
    padding: 20px;
}

.bg-gradient > *:first-child {
    margin-top: 0;
}

.bg-gradient > *:last-child {
    margin-bottom: 0;
}

.news-item {
    margin: 0 0 30px;
}

.news-item .date {
    color: #00a69c;
    font-size: 12px;
    line-height: 14px;
    margin: 0 0 4px;
}

.news-item h3 {
    margin-bottom: 4px;
    margin-top: 0;
}

.more-link {
    background: url(/images/ytj/arrow_turquoise_right.png) no-repeat 0 0.20em;
    padding: 0 0 0 17px;
}



/* --- Share links --- */

.share {
    border-bottom: 1px solid #cedfe2;
    border-top: 1px solid #cedfe2;
    overflow: hidden;
    padding: 19px 0 20px;
}

.addthis-wrapper {
    float: left;
    overflow: hidden;
}

.share .print-page {
    float: right;
    overflow: hidden;
}

.share .share-label {
    color: #106477;
    display: block;
    float: left;
    font-size: 16px;
    line-height: 32px;
    padding: 0 6px 0 0;
    vertical-align: middle;
}

.share .addthis_toolbox,
.share .print-link {
    display: block;
    float: left;
}

.share .addthis_toolbox a,
.share .print-page a {
    background: rgba(76,139,153,0.75);
    display: block;
    height: 32px;
    margin: 0 4px 0 0;
    padding: 0;
    transition: 0.3s all;
    width: 32px;
}

.share .addthis_toolbox a:hover,
.share .print-page a:hover {
    background: rgba(76,139,153,0.90);
}

#_atssh { /* Element generated to the end of body by AddThis. */
    display: none;
}



/* --- Search results --- */

.search-results {
    border-top: 1px solid #cedfe2;
    margin: 0 0 20px;
}

h2.search-results-title {
    margin-bottom: 20px;
}

.search-results .search-result {
    border-bottom: 1px solid #cedfe2;
    margin: 0;
    padding: 16px 0 20px;
}

.search-results .search-result > *:first-child {
    margin-top: 0;
}



/* --- Footer --- */

.footer-top {
    background: url(/images/ytj/bg_footer.png) repeat-x center center;
    height: 20px;
    margin: 0 0 1px;
}

footer {
    background: #0a7080;
    color: #fff;
    padding: 20px 0;
}

footer a {
    color: #fff;
}

footer img {
    margin: 0 0 5px;
}

footer .row {
    overflow: hidden;
}

footer .col-lg-4 > *:first-child {
    margin-top: 0;
}

footer .col-lg-4.col-border {
    border-left: 1px solid #85b0b9;
    margin-bottom: -30em;
    padding-bottom: 30em;
}

footer .row > .col-lg-4.col-border:last-of-type {
    border-right: 1px solid #85b0b9;
}

footer ul li {
    margin: 0 0 4px;
}

footer a.linkelement,
a.arrow.white {
    background: url(/images/ytj/arrow_white_right.png) no-repeat 0 0.20em;
    padding: 0 0 0 17px;
}

footer a.linkelement{
    margin: 0 0 4px;
}

footer ul li.active a {
    text-decoration: underline;
}

.footer-bottom {
    background: #003d48;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    padding: 15px 0;
    text-transform: uppercase;
}

.footer-bottom img {
    margin: 0 20px 0 0;
}

.display_block{
    display: block;
}


/* --- Back to top link --- */

.back-to-top {
}

.back-to-top.affix-top {
    position: absolute; /* allows it to "slide" up into view */
    bottom: -200px; /* negative of the offset - height of link element */
    right: 10px; /* padding from the left side of the window */
}

.back-to-top.affix {
    position: fixed; /* keeps it on the bottom once in view */
    bottom: 10px; /* height of link element */
    right: 10px; /* padding from the left side of the window */
}

.back-to-top a {
    background: #003d48;
    color: #fff;
    display: inline-block;
    opacity: 0.90;
    padding: 11px 18px;
    transition: 0.3s all;
}

.back-to-top a:hover {
    opacity: 1;
}

.cms_floatlayer_innerlayer_content .cms_toolbar_element input.maxchar{
	width:50%;
}

.liftup-box .inner {
    height: 338px;
}

article .content .list_line li::before {
    background: url("/ElementImages/hyphen2.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

.radio label, .checkbox label{
	padding:0;
}

.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"]{
	margin-left:0;
	position:relative;
}

#common_errormessage .form_error_message,
.form_contents .form_row.error .errormessage {
	display: block;
	clear:both;
	color: #d31313;
	background: url(/ElementImages/huom.png) top left no-repeat;
	line-height: 13px;
    margin: 0 0 4px 0px;
    padding-left: 18px;
    }
	
.form_contents .form_row .errormessage {
	display: none;
	}
	
.media_border {
	border: 1px solid #c1c1c1;
}

nav li.home span{
	background: rgba(0, 0, 0, 0) url("/images/ytj/icons-fixed_2.png") no-repeat scroll -67px 0;
    display: block;
    text-indent: -9999em;
    width: 17px;
}

footer h3.neuvonta{
	margin-bottom: 0;
}
